Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1619346
| From | Linus Torvalds <torvalds@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/3] sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec |
| Date | 2017-04-08 19:30 +0200 |
| Message-ID | <tu2ls-8cD-19@gated-at.bofh.it> (permalink) |
| References | <ttEsN-K9-5@gated-at.bofh.it> <ttEsN-K9-3@gated-at.bofh.it> <ttFoT-1r2-45@gated-at.bofh.it> <ttJiN-4zq-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 3/3] sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec Liping Zhang <zlpnobody@163.com> - 2017-04-07 18:00 +0200
Re: [PATCH 3/3] sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec Linus Torvalds <torvalds@linux-foundation.org> - 2017-04-07 19:00 +0200
Re: [PATCH 3/3] sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec ebiederm@xmission.com (Eric W. Biederman) - 2017-04-07 23:10 +0200
Re: [PATCH 3/3] sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec Linus Torvalds <torvalds@linux-foundation.org> - 2017-04-08 19:30 +0200
csiph-web