Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Linux Security
Modules is a framework that allows the Linux kernel to support a variety
of computer security models while avoiding favoritism toward any single
security implementation. The framework is licensed under the terms of
the GNU General Public License and is standard part of the Linux kernel
since Linux 2.6. AppArmor, SELinux, Smack and TOMOYO Linux are the
currently accepted modules in the official kernel. LSM was designed to
provide the specific needs of everything needed to successfully
implement a mandatory access control module, while imposing the fewest
possible changes to the Linux kernel. LSM avoids the approach of system
call interposition as used in Systrace because it does not scale to
multiprocessor kernels and is subject to TOCTTOU attacks.