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)
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>

No differences found