Smack: move label list initialization
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 18 Apr 2012 01:55:46 +0000 (18:55 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 25 Apr 2012 06:15:55 +0000 (11:15 +0530)
commit76dbe596b6d1ee63359fb23b44c5ecb097f62173
tree4555d478b481a9cbba6b3ad2607adb2fdc0ae53c
parent4412322e3f25939737e2c23b28b08d965b1c1156
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