Re: [PATCH 3/3] sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec

From: Linus Torvalds
Date: Sat Apr 08 2017 - 13:22:08 EST


On Fri, Apr 7, 2017 at 2:01 PM, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
>
> Except that doesn't help in this case. The function do_uintvec_conv
> rules already rejects all negative values on write. So -1 is already
> rejected.

Oh, I should have noticed that.

So yes, that patch looks good too. Will apply.

Linus