Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] sysctl: fix improper indication of integer sysctl parameter | Date | Tue, 31 Jul 2012 15:02:05 +0100 |
| |
Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com> wrote:
> When we read the sysctl parameter, they are always treated > as signed integer, and are casted into unsigned long type > in the current kernel. If we set a value equivalent to > (the maximum value in signed integer + 1)
Wouldn't it be better to return EINVAL or EDOM?
David
| |