BACKPORT: Smack: Add smkfstransmute mount option
authorCasey Schaufler <casey@schaufler-ca.com>
Thu, 23 May 2013 01:43:07 +0000 (18:43 -0700)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 30 Jun 2016 12:57:25 +0000 (14:57 +0200)
commitb1f43a36c4d55cc445337d9bfc25eb5cc4b393e2
tree33a8d6025a362d0dde20078fff8dbeda0093b2f8
parent59de740b33ff1fba6acf4f5143cb94782f8afc57
BACKPORT: Smack: Add smkfstransmute mount option

Suppliment the smkfsroot mount option with another, smkfstransmute,
that does the same thing but also marks the root inode as
transmutting. This allows a freshly created filesystem to
be mounted with a transmutting heirarchy.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
(cherry-picked from upstream e830b39412ca2bbedd7508243f21c04d57ad543c)
security/smack/smack.h
security/smack/smack_lsm.c