]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
smack: introduce a special case for tmpfs in smack_d_instantiate()
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 16 Dec 2014 15:53:08 +0000 (16:53 +0100)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 19 Jan 2015 17:58:02 +0000 (09:58 -0800)
commit1d8c2326a4a2a4d942f9165b5702fe6f869ccf48
tree73feff9476c237bb3bb5df51f7529217fa2768ab
parent68390ccf8b0a3470032f053d50379cfd49fbe952
smack: introduce a special case for tmpfs in smack_d_instantiate()

Files created with __shmem_file_stup() appear to have somewhat fake
dentries which make them look like root directories and not get
the label the current process or ("*") star meant for tmpfs files.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
security/smack/smack_lsm.c