Re: [PATCH] lkdtm: fix maybe-uninitialized warning

2016-07-26 Thread Arnd Bergmann
On Tuesday, July 26, 2016 8:21:37 AM CEST Kees Cook wrote: > On Tue, Jul 26, 2016 at 5:28 AM, Arnd Bergmann wrote: > > The do_usercopy_stack() function uses uninitialized stack data to initialize > > more of the stack, which causes a warning in some configurations (ARM > >

Re: [PATCH] lkdtm: fix maybe-uninitialized warning

2016-07-26 Thread Arnd Bergmann
On Tuesday, July 26, 2016 8:21:37 AM CEST Kees Cook wrote: > On Tue, Jul 26, 2016 at 5:28 AM, Arnd Bergmann wrote: > > The do_usercopy_stack() function uses uninitialized stack data to initialize > > more of the stack, which causes a warning in some configurations (ARM > > allmodconfig): > > > >

Re: [PATCH] lkdtm: fix maybe-uninitialized warning

2016-07-26 Thread Kees Cook
On Tue, Jul 26, 2016 at 5:28 AM, Arnd Bergmann wrote: > The do_usercopy_stack() function uses uninitialized stack data to initialize > more of the stack, which causes a warning in some configurations (ARM > allmodconfig): > > drivers/misc/lkdtm_usercopy.c:52:15: warning:

Re: [PATCH] lkdtm: fix maybe-uninitialized warning

2016-07-26 Thread Kees Cook
On Tue, Jul 26, 2016 at 5:28 AM, Arnd Bergmann wrote: > The do_usercopy_stack() function uses uninitialized stack data to initialize > more of the stack, which causes a warning in some configurations (ARM > allmodconfig): > > drivers/misc/lkdtm_usercopy.c:52:15: warning: 'bad_stack' may be used

[PATCH] lkdtm: fix maybe-uninitialized warning

2016-07-26 Thread Arnd Bergmann
The do_usercopy_stack() function uses uninitialized stack data to initialize more of the stack, which causes a warning in some configurations (ARM allmodconfig): drivers/misc/lkdtm_usercopy.c:52:15: warning: 'bad_stack' may be used uninitialized in this function [-Wmaybe-uninitialized] The

[PATCH] lkdtm: fix maybe-uninitialized warning

2016-07-26 Thread Arnd Bergmann
The do_usercopy_stack() function uses uninitialized stack data to initialize more of the stack, which causes a warning in some configurations (ARM allmodconfig): drivers/misc/lkdtm_usercopy.c:52:15: warning: 'bad_stack' may be used uninitialized in this function [-Wmaybe-uninitialized] The