lkml.org 
[lkml]   [2017]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 3/3] sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec
On Fri, Apr 7, 2017 at 2:01 PM, Eric W. Biederman <ebiederm@xmission.com> 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

\
 
 \ /
  Last update: 2017-04-08 19:22    [W:0.048 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site