kernel_samsung_a53x/security/smack
Roberto Sassu b7a74e8c77 smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()
[ 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: 5c6d1125f8db ("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-11-19 09:22:14 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smack_access.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smack_lsm.c smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity() 2024-11-19 09:22:14 +01:00
smack_netfilter.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smackfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00