diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2012-03-14 06:14:19 +0400 |
---|---|---|
committer | Casey Schaufler <cschaufler@vaio-ubuntu.(none)> | 2012-05-15 09:45:17 +0400 |
commit | 2267b13a7cad1f9dfe0073c1f902d45953f9faff (patch) | |
tree | c0797ecce868fe590ac46a5d511a2f3812de15d1 /security/smack/smack.h | |
parent | 2cc8a71641b4460783ea3bd7a3476043fdf85397 (diff) | |
download | linux-2267b13a7cad1f9dfe0073c1f902d45953f9faff.tar.xz |
Smack: recursive tramsmute
The transmuting directory feature of Smack requires that
the transmuting attribute be explicitly set in all cases.
It seems the users of this facility would expect that the
transmuting attribute be inherited by subdirectories that
are created in a transmuting directory. This does not seem
to add any additional complexity to the understanding of
how the system works.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack/smack.h')
-rw-r--r-- | security/smack/smack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h index 4ede719922ed..cf2594dfa933 100644 --- a/security/smack/smack.h +++ b/security/smack/smack.h @@ -66,6 +66,7 @@ struct task_smack { #define SMK_INODE_INSTANT 0x01 /* inode is instantiated */ #define SMK_INODE_TRANSMUTE 0x02 /* directory is transmuting */ +#define SMK_INODE_CHANGED 0x04 /* smack was transmuted */ /* * A label access rule. |