Re: [PATCH v6 3/6] asm-generic: add generic seccomp.h for secure computing mode 1

2014-08-21 Thread AKASHI Takahiro
On 08/22/2014 02:51 AM, Kees Cook wrote: On Thu, Aug 21, 2014 at 3:56 AM, AKASHI Takahiro wrote: Those values (__NR_seccomp_*) are used solely in secure_computing() to identify mode 1 system calls. If compat system calls have different syscall numbers, asm/seccomp.h may override them. Acked-by

Re: [PATCH v6 3/6] asm-generic: add generic seccomp.h for secure computing mode 1

2014-08-21 Thread Kees Cook
On Thu, Aug 21, 2014 at 3:56 AM, AKASHI Takahiro wrote: > Those values (__NR_seccomp_*) are used solely in secure_computing() > to identify mode 1 system calls. If compat system calls have different > syscall numbers, asm/seccomp.h may override them. > > Acked-by: Arnd Bergmann > Signed-off-by: A

[PATCH v6 3/6] asm-generic: add generic seccomp.h for secure computing mode 1

2014-08-21 Thread AKASHI Takahiro
Those values (__NR_seccomp_*) are used solely in secure_computing() to identify mode 1 system calls. If compat system calls have different syscall numbers, asm/seccomp.h may override them. Acked-by: Arnd Bergmann Signed-off-by: AKASHI Takahiro --- include/asm-generic/seccomp.h | 28 ++