Re: [PATCH] samples/seccomp: Add standalone config option

2016-07-07 Thread Kees Cook
On Wed, Jul 6, 2016 at 2:53 AM, Olof Johansson wrote: > Add a separate Kconfig option for SAMPLES_SECCOMP. > > Main reason for this is that, just like other samples, it's forced to be a > module. > > Without this, since the sample is a target only controlled by > CONFIG_SECCOMP_FILTER, the sample

Re: [PATCH] samples/seccomp: Add standalone config option

2016-07-07 Thread Olof Johansson
Hi, On Wed, Jul 6, 2016 at 10:55 AM, Kees Cook wrote: > On Wed, Jul 6, 2016 at 2:53 AM, Olof Johansson wrote: >> Add a separate Kconfig option for SAMPLES_SECCOMP. >> >> Main reason for this is that, just like other samples, it's forced to be a >> module. >> >> Without this, since the sample is

Re: [PATCH] samples/seccomp: Add standalone config option

2016-07-06 Thread Kees Cook
On Wed, Jul 6, 2016 at 2:53 AM, Olof Johansson wrote: > Add a separate Kconfig option for SAMPLES_SECCOMP. > > Main reason for this is that, just like other samples, it's forced to be a > module. > > Without this, since the sample is a target only controlled by > CONFIG_SECCOMP_FILTER, the sample

[PATCH] samples/seccomp: Add standalone config option

2016-07-05 Thread Olof Johansson
Add a separate Kconfig option for SAMPLES_SECCOMP. Main reason for this is that, just like other samples, it's forced to be a module. Without this, since the sample is a target only controlled by CONFIG_SECCOMP_FILTER, the samples will be built before include files are put in place properly. For