Re: [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-07-02 Thread Kees Cook
Hi Kamal, On Mon, Jul 2, 2018 at 1:14 PM, Kamal Mostafa wrote: > On Fri, Jun 29, 2018 at 01:27:08PM -0700, Kees Cook wrote: >> Do the lkdtm tests for usercopy correctly halt the kernel thread if >> CONFIG_BUG is removed? > > Yes, they do... Perfect, thanks for double-checking! I'll apply this

Re: [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-07-02 Thread Kees Cook
Hi Kamal, On Mon, Jul 2, 2018 at 1:14 PM, Kamal Mostafa wrote: > On Fri, Jun 29, 2018 at 01:27:08PM -0700, Kees Cook wrote: >> Do the lkdtm tests for usercopy correctly halt the kernel thread if >> CONFIG_BUG is removed? > > Yes, they do... Perfect, thanks for double-checking! I'll apply this

Re: [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-07-02 Thread Kamal Mostafa
On Fri, Jun 29, 2018 at 01:27:08PM -0700, Kees Cook wrote: > On Fri, Jun 29, 2018 at 1:04 PM, Kamal Mostafa wrote: > > Allows for CONFIG_HARDENED_USERCOPY without CONFIG_BUG. > > > > Signed-off-by: Kamal Mostafa > > --- > > security/Kconfig | 1 - > > 1 file changed, 1 deletion(-) > > > > diff

Re: [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-07-02 Thread Kamal Mostafa
On Fri, Jun 29, 2018 at 01:27:08PM -0700, Kees Cook wrote: > On Fri, Jun 29, 2018 at 1:04 PM, Kamal Mostafa wrote: > > Allows for CONFIG_HARDENED_USERCOPY without CONFIG_BUG. > > > > Signed-off-by: Kamal Mostafa > > --- > > security/Kconfig | 1 - > > 1 file changed, 1 deletion(-) > > > > diff

Re: [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-06-29 Thread Kees Cook
On Fri, Jun 29, 2018 at 1:04 PM, Kamal Mostafa wrote: > Allows for CONFIG_HARDENED_USERCOPY without CONFIG_BUG. > > Signed-off-by: Kamal Mostafa > --- > security/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/security/Kconfig b/security/Kconfig > index c430206..7667774 100644 >

Re: [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-06-29 Thread Kees Cook
On Fri, Jun 29, 2018 at 1:04 PM, Kamal Mostafa wrote: > Allows for CONFIG_HARDENED_USERCOPY without CONFIG_BUG. > > Signed-off-by: Kamal Mostafa > --- > security/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/security/Kconfig b/security/Kconfig > index c430206..7667774 100644 >

[PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-06-29 Thread Kamal Mostafa
Allows for CONFIG_HARDENED_USERCOPY without CONFIG_BUG. Signed-off-by: Kamal Mostafa --- security/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/security/Kconfig b/security/Kconfig index c430206..7667774 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -153,7 +153,6 @@ config

[PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG

2018-06-29 Thread Kamal Mostafa
Allows for CONFIG_HARDENED_USERCOPY without CONFIG_BUG. Signed-off-by: Kamal Mostafa --- security/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/security/Kconfig b/security/Kconfig index c430206..7667774 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -153,7 +153,6 @@ config