summaryrefslogtreecommitdiff
path: root/src/core/smack-setup.h
Commit message (Collapse)AuthorAge
* mac: add mac_ prefix to distinguish origin security apisWaLyong Cho2014-10-28
|
* smack: set loaded_policy in smack_setup()Ɓukasz Stelmach2014-02-24
| | | | With loaded_policy set to true mount_setup() relabels /dev properly.
* core: mount and initialize SmackNathaniel Chen2013-03-07
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