| From: |
| Kentaro Takeda <takedakn@nttdata.co.jp> |
| To: |
| jmorris@namei.org |
| Subject: |
| [TOMOYO #15 0/8] TOMOYO Linux |
| Date: |
| Thu, 05 Feb 2009 17:18:10 +0900 |
| Message-ID: |
| <20090205081810.331987920@nttdata.co.jp> |
| Cc: |
| linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
haradats@nttdata.co.jp |
| Archive-link: |
| Article, Thread
|
TOMOYO Linux is a name-based MAC extension (LSM module) for the Linux kernel.
Changes since previous posting.
1. Removed d_realpath(). For now, TOMOYO uses __d_path().
2. Removed singly linked list. For now, TOMOYO uses standard doubly linked list
with "struct rw_semaphore".
3. Fixed bitmap initialization error in tomoyo_update_single_path_acl().
4. Updated patch description.
How to try:
1. Apply patches and compile kernel with CONFIG_SECURITY_TOMOYO=y.
2. Download userspace tools (ccs-tools) available at
http://sourceforge.jp/projects/tomoyo/releases/30298/ and
extract and run 'make -C ccstools/ install' as root user.
3. Run /usr/lib/ccs/tomoyo_init_policy.sh as root user.
4. Run following commands to set learning-mode as default.
(This step is optional but recommended on your first try.)
# echo '<kernel>' > /etc/tomoyo/domain_policy.conf
# echo 'use_profile 1' >> /etc/tomoyo/domain_policy.conf
5. Reboot.
(If you compiled kernel with CONFIG_SECURITY_{SELINUX,SMACK}=y,
add 'security=tomoyo' to kernel's command line.)
6. Run /usr/sbin/ccs-editpolicy to browse and edit policy.
LiveCD-based tutorials are available at
http://tomoyo.sourceforge.jp/en/1.6.x/1st-step/ubuntu8.04...
http://tomoyo.sourceforge.jp/en/1.6.x/1st-step/centos5-live/ .
Though these tutorials use non-LSM version of TOMOYO,
they are useful for you to know what TOMOYO is.
These patches are refreshed for
security-testing-2.6.git-27421e211a39784694b597dbf35848b88363c248.tar.gz ,
but should be applicable for 2.6.29-rc3 and later.
Regards.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/