Re: [PATCH v2 9/9] test_sysctl: test against int proc_dointvec() array support

2017-05-16 Thread Luis R. Rodriguez
On Mon, Feb 13, 2017 at 02:07:53PM -0800, Kees Cook wrote: > On Fri, Feb 10, 2017 at 4:36 PM, Luis R. Rodriguez wrote: > > diff --git a/tools/testing/selftests/sysctl/sysctl.sh > > b/tools/testing/selftests/sysctl/sysctl.sh > > index eedfba6f0a57..963d572155b1 100755 > > ---

Re: [PATCH v2 9/9] test_sysctl: test against int proc_dointvec() array support

2017-05-16 Thread Luis R. Rodriguez
On Mon, Feb 13, 2017 at 02:07:53PM -0800, Kees Cook wrote: > On Fri, Feb 10, 2017 at 4:36 PM, Luis R. Rodriguez wrote: > > diff --git a/tools/testing/selftests/sysctl/sysctl.sh > > b/tools/testing/selftests/sysctl/sysctl.sh > > index eedfba6f0a57..963d572155b1 100755 > > ---

Re: [PATCH v2 9/9] test_sysctl: test against int proc_dointvec() array support

2017-02-13 Thread Kees Cook
On Fri, Feb 10, 2017 at 4:36 PM, Luis R. Rodriguez wrote: > Add a few initial respective tests for an array: > > o Echoing values separated by spaces works > o Echoing only first elements will set first elements > o Confirm PAGE_SIZE limit still applies even if an array

Re: [PATCH v2 9/9] test_sysctl: test against int proc_dointvec() array support

2017-02-13 Thread Kees Cook
On Fri, Feb 10, 2017 at 4:36 PM, Luis R. Rodriguez wrote: > Add a few initial respective tests for an array: > > o Echoing values separated by spaces works > o Echoing only first elements will set first elements > o Confirm PAGE_SIZE limit still applies even if an array is used > >

[PATCH v2 9/9] test_sysctl: test against int proc_dointvec() array support

2017-02-10 Thread Luis R. Rodriguez
Add a few initial respective tests for an array: o Echoing values separated by spaces works o Echoing only first elements will set first elements o Confirm PAGE_SIZE limit still applies even if an array is used Signed-off-by: Luis R. Rodriguez --- lib/test_sysctl.c

[PATCH v2 9/9] test_sysctl: test against int proc_dointvec() array support

2017-02-10 Thread Luis R. Rodriguez
Add a few initial respective tests for an array: o Echoing values separated by spaces works o Echoing only first elements will set first elements o Confirm PAGE_SIZE limit still applies even if an array is used Signed-off-by: Luis R. Rodriguez --- lib/test_sysctl.c