android_kernel_motorola_sm6375/security
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Roberto Sassu cec55e30e3 smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()
[ Upstream commit 9c82169208dde516510aaba6bbd8b13976690c5d ]

Since the SMACK64TRANSMUTE xattr makes sense only for directories, enforce
this restriction in smack_inode_setxattr().

Cc: stable@vger.kernel.org
Fixes: 5c6d1125f8 ("Smack: Transmute labels on specified directories") # v2.6.38.x
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 12:51:22 +02:00
..
apparmor apparmor: avoid crash when parsed profile name is empty 2024-01-25 14:34:31 -08:00
integrity ima: detect changes to the backing overlay file 2023-12-08 08:44:27 +01:00
keys security: keys: perform capable check only on privileged operations 2023-09-23 10:59:39 +02:00
loadpin
lockdown
safesetid
selinux lsm: new security_file_ioctl_compat() hook 2024-02-23 08:25:15 +01:00
smack smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr() 2024-04-13 12:51:22 +02:00
tomoyo lsm: new security_file_ioctl_compat() hook 2024-02-23 08:25:15 +01:00
yama
commoncap.c
device_cgroup.c device_cgroup: Roll back to original exceptions after copy failure 2023-01-18 11:41:50 +01:00
inode.c
Kconfig
Kconfig.hardening
lsm_audit.c
Makefile
min_addr.c
security.c lsm: new security_file_ioctl_compat() hook 2024-02-23 08:25:15 +01:00