]> 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)
commit5c5f83a7c5bd6fe0eb8bdce96323936325911c15
tree41cb41cd7fe52730a3fe8c88ca298c2494f9040a
parentcc902b786a0b772a8fcd0b63b9799194e03215fd
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