]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit86812bb0de1a3758dc6c7aa01a763158a7c0638a
tree41cb41cd7fe52730a3fe8c88ca298c2494f9040a
parent592fe8980688e7cba46897685d014c7fb3018a67
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