android_kernel_sony_sdm845/security
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tetsuo Handa 90ae2f7b81 BACKPORT: LSM: Initialize security_hook_heads upon registration.
"struct security_hook_heads" is an array of "struct list_head"
where elements can be initialized just before registration.

There is no need to waste 350+ lines for initialization. Let's
initialize "struct security_hook_heads" just before registration.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: John Johansen <john.johansen@canonical.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Cc: James Morris <james.l.morris@oracle.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:05 +07:00
..
apparmor UPSTREAM: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +07:00
integrity ima: Fix misuse of dereference of pointer in template_desc_init_fields() 2023-01-07 12:07:16 +01: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: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +07:00
smack UPSTREAM: LSM: Add /sys/kernel/security/lsm 2026-05-15 17:59:05 +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 dump_common_audit_data(): fix racy accesses to ->d_name 2021-01-23 15:38:17 +01: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 BACKPORT: LSM: Initialize security_hook_heads upon registration. 2026-05-15 17:59:05 +07:00