aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-02-07 23:18:51 +0000
committerJames Morris <[email protected]>2017-02-22 22:42:35 +0000
commitd7276e321ff8a53106a59c85ca46d03e34288893 (patch)
treee3b752b1b1a94ff0794e29e5658dfd48dd9b7d4d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre... (diff)
downloadkernel-d7276e321ff8a53106a59c85ca46d03e34288893.tar.gz
kernel-d7276e321ff8a53106a59c85ca46d03e34288893.zip
seccomp: Only dump core when single-threaded
The SECCOMP_RET_KILL filter return code has always killed the current thread, not the entire process. Changing this as a side-effect of dumping core isn't a safe thing to do (a few test suites have already flagged this behavioral change). Instead, restore the RET_KILL semantics, but still dump core when a RET_KILL delivers SIGSYS to a single-threaded process. Fixes: b25e67161c29 ("seccomp: dump core when using SECCOMP_RET_KILL") Signed-off-by: Kees Cook <[email protected]> Acked-by: Andrei Vagin <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions