diff options
| author | Jann Horn <jann@thejh.net> | 2015-12-26 06:00:48 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:34:37 +0200 |
| commit | d01d5036e5f84f36c83054ec6a8195f6bc2d1991 (patch) | |
| tree | a312779d5ba24d5a901b789d0c0ea0eed1f1bd27 /block | |
| parent | cab875d3686181dd296aaf1701598beb1d807d00 (diff) | |
UPSTREAM: 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>
Bug: 36656103
(cherry-picked from commit 103502a35cfce0710909da874f092cb44823ca03)
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: I5abd7daab9172f1dfd53e11706b7c7f331f2f4f1
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
