Ubuntu-focal-kernel/security
Roberto Sassu 1fbdc8dadb smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()
BugLink: https://bugs.launchpad.net/bugs/2067857

[ Upstream commit ac02f007d64eb2769d0bde742aac4d7a5fc6e8a5 ]

If the SMACK64TRANSMUTE xattr is provided, and the inode is a directory,
update the in-memory inode flags by setting SMK_INODE_TRANSMUTE.

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>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-06-07 15:01:32 +02:00
..
apparmor UBUNTU: SAUCE: Sync apparmor copy of af_unix.c 2024-03-28 15:18:39 +01:00
integrity ima: detect changes to the backing overlay file 2024-02-02 14:13:17 +01:00
keys security: keys: perform capable check only on privileged operations 2023-10-30 11:42:06 +01:00
loadpin
lockdown
safesetid
selinux lsm: new security_file_ioctl_compat() hook 2024-03-28 15:18:44 +01:00
smack smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity() 2024-06-07 15:01:32 +02:00
tomoyo tomoyo: fix UAF write bug in tomoyo_write_control() 2024-04-26 10:54:04 +02:00
yama
Kconfig
Kconfig.hardening
Makefile
commoncap.c
device_cgroup.c device_cgroup: Roll back to original exceptions after copy failure 2023-02-01 15:23:28 +01:00
inode.c
lsm_audit.c
min_addr.c
security.c lsm: new security_file_ioctl_compat() hook 2024-03-28 15:18:44 +01:00