summaryrefslogtreecommitdiffstats
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorJann Horn <jann@thejh.net>2015-12-26 06:00:48 +0100
committerKees Cook <keescook@chromium.org>2016-01-27 07:38:25 -0800
commit103502a35cfce0710909da874f092cb44823ca03 (patch)
tree81f6474629fba8af0fc696d5944711f312e04fa0 /kernel/resource.c
parent607259e17b37017e9ec0249a8b0a7d8b76b572aa (diff)
downloadblackbird-obmc-linux-103502a35cfce0710909da874f092cb44823ca03.tar.gz
blackbird-obmc-linux-103502a35cfce0710909da874f092cb44823ca03.zip
seccomp: always propagate NO_NEW_PRIVS on tsync
Before this patch, a process with some permissive seccomp filter that was applied by root without NO_NEW_PRIVS was able to add more filters to itself without setting NO_NEW_PRIVS by setting the new filter from a throwaway thread with NO_NEW_PRIVS. Signed-off-by: Jann Horn <jann@thejh.net> Cc: stable@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud