Chapter 1
- The most important difference is that, with a DAC system, the user has full control over who gets which kind of access to the user's data. It is left to the discretion of the user, hence the name. With MAC systems, the system administrator (or security administrator) defines how accesses are handled and enforced. Access is mandated by a policy, and users cannot work around this if the administrator does not allow it.
- Linux has introduced hooks inside its kernel code, which developers can subscribe to with their own code. These hooks are part of the Linux Security Module (LSM) framework, an extensible framework that is natively part of the Linux kernel.
SELinux is one of the MAC technologies that use this LSM framework (and the hooks it offers) to provide mandatory access control capabilities to the Linux kernel and its applications. Other technologies also exist, including AppArmor.
The SELinux subsystem code itself is also made part of the main Linux kernel,...