android_kernel_motorola_sm6375/security/smack
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vishal Goel 76ffbd900b Smack:- Use overlay inode label in smack_inode_copy_up()
[ Upstream commit 387ef964460f14fe1c1ea29aba70e22731ea7cf7 ]

Currently in "smack_inode_copy_up()" function, process label is
changed with the label on parent inode. Due to which,
process is assigned directory label and whatever file or directory
created by the process are also getting directory label
which is wrong label.

Changes has been done to use label of overlay inode instead
of parent inode.

Signed-off-by: Vishal Goel <vishal.goel@samsung.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-10 21:46:41 +02:00
..
Kconfig
Makefile
smack.h smack: Record transmuting in smk_transmuted 2023-10-10 21:46:41 +02:00
smack_access.c
smack_lsm.c Smack:- Use overlay inode label in smack_inode_copy_up() 2023-10-10 21:46:41 +02:00
smack_netfilter.c
smackfs.c smackfs: Prevent underflow in smk_set_cipso() 2023-09-23 10:59:46 +02:00