On Fri, Feb 10, 2017 at 4:36 PM, Luis R. Rodriguez <mcg...@kernel.org> wrote: > To keep parity with regular int interfaces provide the an unsigned > int proc_douintvec_minmax() which allows you to specify a range of > allowed valid numbers. > > Adding proc_douintvec_minmax_sysadmin() is easy but we can wait for > an actual user for that. > > Cc: Subash Abhinov Kasiviswanathan <subas...@codeaurora.org> > Cc: Heinrich Schuchardt <xypron.g...@gmx.de> > Cc: Kees Cook <keesc...@chromium.org> > Cc: "David S. Miller" <da...@davemloft.net> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: Andrew Morton <a...@linux-foundation.org> > Cc: Linus Torvalds <torva...@linux-foundation.org> > Signed-off-by: Luis R. Rodriguez <mcg...@kernel.org>
Acked-by: Kees Cook <keesc...@chromium.org> This looks sensible. :) -Kees -- Kees Cook Pixel Security