android_kernel_sony_sdm845/security
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Smalley ab730bd03a UPSTREAM: security,selinux,smack: kill security_task_wait hook
As reported by yangshukui, a permission denial from security_task_wait()
can lead to a soft lockup in zap_pid_ns_processes() since it only expects
sys_wait4() to return 0 or -ECHILD. Further, security_task_wait() can
in general lead to zombies; in the absence of some way to automatically
reparent a child process upon a denial, the hook is not useful.  Remove
the security hook and its implementations in SELinux and Smack.  Smack
already removed its check from its hook.

Reported-by: yangshukui <yangshukui@huawei.com>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>

(cherry picked from commit 3a2f5a59a695a73e0cde9a61e0feae5fa730e936)
Change-Id: Ie52e96a1158fcb5769a8bdca16fb4d316d4b20dc
Bug: 140252993
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Signed-off-by: Rapherion Rollerscaperers <rapherion@raphielgang.org>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 18:06:58 +07:00
..
apparmor UPSTREAM: proc,security: move restriction on writing /proc/pid/attr nodes to proc 2026-05-15 18:02:34 +07:00
integrity BACKPORT: audit: use inline function to get audit context 2026-05-15 17:59:18 +07:00
keys This is the 4.9.259 stable release 2021-03-03 18:08:08 +01:00
loadpin UPSTREAM: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +07:00
pfe ICE, pfk: fix to set dio_inode precisely 2022-11-30 02:21:44 +02:00
selinux UPSTREAM: security,selinux,smack: kill security_task_wait hook 2026-05-15 18:06:58 +07:00
smack UPSTREAM: proc,security: move restriction on writing /proc/pid/attr nodes to proc 2026-05-15 18:02:34 +07:00
tomoyo UPSTREAM: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +07:00
yama UPSTREAM: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +07:00
commoncap.c UPSTREAM: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +07:00
device_cgroup.c device_cgroup: prepare code for bpf-based device controller 2026-05-15 17:55:40 +07:00
inode.c UPSTREAM: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +07:00
Kconfig Resolve merge conflict and enable HW FBE for ext4 fs 2018-05-22 12:58:05 +05:30
lsm_audit.c BACKPORT: audit: use inline function to get audit context 2026-05-15 17:59:18 +07:00
Makefile Resolve merge conflict and enable HW FBE for ext4 fs 2018-05-22 12:58:05 +05:30
min_addr.c
security.c UPSTREAM: proc,security: move restriction on writing /proc/pid/attr nodes to proc 2026-05-15 18:02:34 +07:00