]> git.baikalelectronics.ru Git - 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)
commitd264aeb71323643c9fe0b901566acf4f3bb7c127
tree73feff9476c237bb3bb5df51f7529217fa2768ab
parent90f2474cb98f07819da9074a478a699f730f0a16
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