summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVishal Goel <vishal.goel@samsung.com>2021-09-17 09:38:14 +0200
committerCasey Schaufler <casey@schaufler-ca.com>2021-09-28 22:29:40 +0200
commit387ef964460f14fe1c1ea29aba70e22731ea7cf7 (patch)
treec8ac30f327637b4605dededfe9bf65b974cfabde /lib
parentsmack: Guard smack_ipv6_lock definition within a SMACK_IPV6_PORT_LABELING block (diff)
downloadlinux-387ef964460f14fe1c1ea29aba70e22731ea7cf7.tar.xz
linux-387ef964460f14fe1c1ea29aba70e22731ea7cf7.zip
Smack:- Use overlay inode label in smack_inode_copy_up()
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions