What is TOMOYO?¶
TOMOYO is a name-based MAC extension (LSM module) for the Linux kernel.
LiveCD-based tutorials are available at
Though these tutorials use non-LSM version of TOMOYO, they are useful for you to know what TOMOYO is.
How to enable TOMOYO?¶
Build the kernel with
CONFIG_SECURITY_TOMOYO=y and pass
kernel’s command line.
Please see http://tomoyo.sourceforge.jp/2.3/ for details.
Where is documentation?¶
User <-> Kernel interface documentation is available at http://tomoyo.sourceforge.jp/2.3/policy-reference.html .
Materials we prepared for seminars and symposiums are available at http://sourceforge.jp/projects/tomoyo/docs/?category_id=532&language_id=1 . Below lists are chosen from three aspects.
- What is TOMOYO?
- TOMOYO Linux Overview
- TOMOYO Linux: pragmatic and manageable security for Linux
- TOMOYO Linux: A Practical Method to Understand and Protect Your Own Linux Box
- What can TOMOYO do?
- Deep inside TOMOYO Linux
- The role of “pathname based access control” in security.
- History of TOMOYO?
- Realities of Mainlining
What is future plan?¶
We believe that inode based security and name based security are complementary and both should be used together. But unfortunately, so far, we cannot enable multiple LSM modules at the same time. We feel sorry that you have to give up SELinux/SMACK/AppArmor etc. when you want to use TOMOYO.
We hope that LSM becomes stackable in future. Meanwhile, you can use non-LSM version of TOMOYO, available at http://tomoyo.sourceforge.jp/1.7/ . LSM version of TOMOYO is a subset of non-LSM version of TOMOYO. We are planning to port non-LSM version’s functionalities to LSM versions.