Smack: Base support for overlayfs
authorCasey Schaufler <casey@schaufler-ca.com>
Thu, 28 Sep 2017 21:54:50 +0000 (14:54 -0700)
committerJames Morris <james.l.morris@oracle.com>
Thu, 2 Nov 2017 00:26:57 +0000 (11:26 +1100)
commitd6d80cb57be45fc1a7d08c30526ab81ae9e7bc3d
treef39219dec9fe53e8684de04e4e2cea552f54d4bc
parente28aa8aeab433b62e85a2da8d9bff2ba81c2ea4e
Smack: Base support for overlayfs

Supply the Smack module hooks in support of overlayfs.
Ensure that the Smack label of new files gets the correct
value when a directory is transmuting. Original implementation
by Romanini Daniele, with a few tweaks added.

Signed-off-by: Romanini Daniele <daniele.romanini@aalto.fi>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/smack/smack_lsm.c