diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2016-04-08 20:55:03 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-04-26 22:47:57 +0300 |
commit | c2316dbf124257ae19fd2e29cb5ec51060649d38 (patch) | |
tree | a17220dace4ef3946ee7185a344fa9e735472a56 /crypto/asymmetric_keys | |
parent | 8e4ff6f228e4722cac74db716e308d1da33d744f (diff) | |
download | linux-c2316dbf124257ae19fd2e29cb5ec51060649d38.tar.xz |
selinux: apply execstack check on thread stacks
The execstack check was only being applied on the main
process stack. Thread stacks allocated via mmap were
only subject to the execmem permission check. Augment
the check to apply to the current thread stack as well.
Note that this does NOT prevent making a different thread's
stack executable.
Suggested-by: Nick Kralevich <nnk@google.com>
Acked-by: Nick Kralevich <nnk@google.com>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions