Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-28 Thread Arnd Bergmann
On Tue, Mar 28, 2017 at 9:03 PM, Kees Cook wrote: > On Tue, Mar 28, 2017 at 12:49 AM, Arnd Bergmann wrote: >> On Mon, Mar 27, 2017 at 6:14 PM, Kees Cook wrote: >>> On Mon, Mar 27, 2017 at 12:38 AM, Andrew Donnellan >>> wrote: On 01/02/17 07:24, Kees Cook wrote: > > From: Emese Revf

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-28 Thread Kees Cook
On Tue, Mar 28, 2017 at 12:49 AM, Arnd Bergmann wrote: > On Mon, Mar 27, 2017 at 6:14 PM, Kees Cook wrote: >> On Mon, Mar 27, 2017 at 12:38 AM, Andrew Donnellan >> wrote: >>> On 01/02/17 07:24, Kees Cook wrote: From: Emese Revfy The kernel already has a mechanism to free up

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-28 Thread Kees Cook
On Mon, Mar 27, 2017 at 8:03 PM, Andrew Donnellan wrote: > On 27/03/17 18:38, Andrew Donnellan wrote: >> >> On 01/02/17 07:24, Kees Cook wrote: >>> >>> From: Emese Revfy >>> >>> The kernel already has a mechanism to free up code and data memory that >>> is only used during kernel or module initia

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-28 Thread Arnd Bergmann
On Mon, Mar 27, 2017 at 6:14 PM, Kees Cook wrote: > On Mon, Mar 27, 2017 at 12:38 AM, Andrew Donnellan > wrote: >> On 01/02/17 07:24, Kees Cook wrote: >>> >>> From: Emese Revfy >>> >>> The kernel already has a mechanism to free up code and data memory that >>> is only used during kernel or modul

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-27 Thread Andrew Donnellan
On 27/03/17 18:38, Andrew Donnellan wrote: On 01/02/17 07:24, Kees Cook wrote: From: Emese Revfy The kernel already has a mechanism to free up code and data memory that is only used during kernel or module initialization. This plugin will teach the compiler to find more such code and data tha

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-27 Thread Kees Cook
On Mon, Mar 27, 2017 at 12:38 AM, Andrew Donnellan wrote: > On 01/02/17 07:24, Kees Cook wrote: >> >> From: Emese Revfy >> >> The kernel already has a mechanism to free up code and data memory that >> is only used during kernel or module initialization. This plugin will >> teach the compiler to

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-27 Thread Andrew Donnellan
On 01/02/17 07:24, Kees Cook wrote: From: Emese Revfy The kernel already has a mechanism to free up code and data memory that is only used during kernel or module initialization. This plugin will teach the compiler to find more such code and data that can be freed after initialization. Curre