]> git.baikalelectronics.ru Git - kernel.git/commit
Smack: move label list initialization
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 18 Apr 2012 01:55:46 +0000 (18:55 -0700)
committerJames Morris <james.l.morris@oracle.com>
Wed, 18 Apr 2012 02:02:28 +0000 (12:02 +1000)
commit15310fdbdade28c876214c27e99e26fee00b823a
tree41cb41cd7fe52730a3fe8c88ca298c2494f9040a
parent7d26f02cc0c3ee42f8bde25826f0191030110e9e
Smack: move label list initialization

A kernel with Smack enabled will fail if tmpfs has xattr support.

Move the initialization of predefined Smack label
list entries to the LSM initialization from the
smackfs setup. This became an issue when tmpfs
acquired xattr support, but was never correct.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/smack/smack_lsm.c
security/smack/smackfs.c