]> 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)
commit6911920e979d30f00140859b567b162c003774a2
tree73feff9476c237bb3bb5df51f7529217fa2768ab
parent2f691cd04688fae48340392faa7dc866338c9070
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