Re: [kernel-hardening] Re: [PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-12 Thread Kees Cook
On Tue, Jul 12, 2016 at 3:23 PM, Daniel Micay wrote: > On Tue, 2016-07-12 at 15:08 -0400, Kees Cook wrote: >> On Mon, Jul 4, 2016 at 7:42 PM, Emese Revfy >> wrote: >> > >> > The nocapture gcc attribute can be on functions only. >> > The attribute takes

Re: [kernel-hardening] Re: [PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-12 Thread Kees Cook
On Tue, Jul 12, 2016 at 3:23 PM, Daniel Micay wrote: > On Tue, 2016-07-12 at 15:08 -0400, Kees Cook wrote: >> On Mon, Jul 4, 2016 at 7:42 PM, Emese Revfy >> wrote: >> > >> > The nocapture gcc attribute can be on functions only. >> > The attribute takes one or more unsigned integer constants as

Re: [kernel-hardening] Re: [PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-12 Thread Daniel Micay
On Tue, 2016-07-12 at 15:08 -0400, Kees Cook wrote: > On Mon, Jul 4, 2016 at 7:42 PM, Emese Revfy > wrote: > > > > The nocapture gcc attribute can be on functions only. > > The attribute takes one or more unsigned integer constants as > > parameters > > that specify the

Re: [kernel-hardening] Re: [PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-12 Thread Daniel Micay
On Tue, 2016-07-12 at 15:08 -0400, Kees Cook wrote: > On Mon, Jul 4, 2016 at 7:42 PM, Emese Revfy > wrote: > > > > The nocapture gcc attribute can be on functions only. > > The attribute takes one or more unsigned integer constants as > > parameters > > that specify the function argument(s) of

Re: [PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-12 Thread Kees Cook
On Mon, Jul 4, 2016 at 7:42 PM, Emese Revfy wrote: > The nocapture gcc attribute can be on functions only. > The attribute takes one or more unsigned integer constants as parameters > that specify the function argument(s) of const char* type to initify. > If the marked

Re: [PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-12 Thread Kees Cook
On Mon, Jul 4, 2016 at 7:42 PM, Emese Revfy wrote: > The nocapture gcc attribute can be on functions only. > The attribute takes one or more unsigned integer constants as parameters > that specify the function argument(s) of const char* type to initify. > If the marked argument is a vararg then

[PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-04 Thread Emese Revfy
The nocapture gcc attribute can be on functions only. The attribute takes one or more unsigned integer constants as parameters that specify the function argument(s) of const char* type to initify. If the marked argument is a vararg then the plugin initifies all vararg arguments. I couldn't test

[PATCH v2 2/3] Mark functions with the __nocapture attribute

2016-07-04 Thread Emese Revfy
The nocapture gcc attribute can be on functions only. The attribute takes one or more unsigned integer constants as parameters that specify the function argument(s) of const char* type to initify. If the marked argument is a vararg then the plugin initifies all vararg arguments. I couldn't test