diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-01-22 14:40:00 +0000 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-06-18 17:28:08 +0200 |
commit | 649066ce296368e2733ce1d4005f10dc673a9e8f (patch) | |
tree | f93204ceeb263837e36cbcaa9b158540901af9db /arch | |
parent | d0f30eb91a4beef22aa86c89a21d2492832f33c9 (diff) | |
download | lwn-649066ce296368e2733ce1d4005f10dc673a9e8f.tar.gz lwn-649066ce296368e2733ce1d4005f10dc673a9e8f.zip |
MIPS: asm: thread_info: Add _TIF_SECCOMP flag
commit 137f7df8cead00688524c82360930845396b8a21 upstream.
Add _TIF_SECCOMP flag to _TIF_WORK_SYSCALL_ENTRY to indicate
that the system call needs to be checked against a seccomp filter.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6405/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/thread_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h index 61215a34acc6..897cd58407c8 100644 --- a/arch/mips/include/asm/thread_info.h +++ b/arch/mips/include/asm/thread_info.h @@ -134,7 +134,7 @@ static inline struct thread_info *current_thread_info(void) #define _TIF_LOAD_WATCH (1<<TIF_LOAD_WATCH) #define _TIF_WORK_SYSCALL_ENTRY (_TIF_NOHZ | _TIF_SYSCALL_TRACE | \ - _TIF_SYSCALL_AUDIT) + _TIF_SYSCALL_AUDIT | _TIF_SECCOMP) /* work to do in syscall_trace_leave() */ #define _TIF_WORK_SYSCALL_EXIT (_TIF_NOHZ | _TIF_SYSCALL_TRACE | \ |