summaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2014-06-28 00:01:35 +0200
committerKees Cook <keescook@chromium.org>2014-07-18 21:13:40 +0200
commit3ba2530cc06eb4aee4f1f754f43d781e8a12ee09 (patch)
tree29a898621ce07eabf881ef40123f2882d7dccc1a /fs/exec.c
parentseccomp: introduce writer locking (diff)
downloadlinux-3ba2530cc06eb4aee4f1f754f43d781e8a12ee09.tar.xz
linux-3ba2530cc06eb4aee4f1f754f43d781e8a12ee09.zip
seccomp: allow mode setting across threads
This changes the mode setting helper to allow threads to change the seccomp mode from another thread. We must maintain barriers to keep TIF_SECCOMP synchronized with the rest of the seccomp state. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Andy Lutomirski <luto@amacapital.net>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions