diff options
author | Nathaniel Chen <nathaniel.chen@intel.com> | 2013-03-07 11:06:58 -0800 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-07 20:53:14 +0100 |
commit | ffbd2c4d45787ba5ba85a32db6551efba66a1ee6 (patch) | |
tree | df4c6083913ff2a020cecbe98cd80ff0b4fc981f /src/nspawn/nspawn.c | |
parent | 8f838d8aab0c5480664de04dce0171de4f4c7b00 (diff) |
core: mount and initialize Smack
SMACK is the Simple Mandatory Access Control Kernel, a minimal
approach to Access Control implemented as a kernel LSM.
The kernel exposes the smackfs filesystem API through which access
rules can be loaded. At boot time, we want to load the access rules
as early as possible to ensure all early boot steps are checked by Smack.
This patch mounts smackfs at the new location at /sys/fs/smackfs for
kernels 3.8 and above. The /smack mountpoint is not supported.
After mounting smackfs, rules are loaded from the usual location.
For more information about Smack see:
http://www.kernel.org/doc/Documentation/security/Smack.txt
Diffstat (limited to 'src/nspawn/nspawn.c')
0 files changed, 0 insertions, 0 deletions