Skip to content

TOMOYO Linux

Kentaro Takeda lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8Add in_execve flag into task_struct.fs/compat.c fs/exec.c include/linux/sched.h+8 -00 replies
2/8Memory and pathname management functions.security/tomoyo/realpath.c security/tomoyo/realpath.h+550 -00 replies
3/8Common functions for TOMOYO Linux.security/tomoyo/common.c security/tomoyo/common.h+2561 -00 replies
4/8File operation restriction part.security/tomoyo/file.c+1241 -00 replies
5/8Domain transition handler.security/tomoyo/domain.c+878 -00 replies
6/8LSM adapter functions.security/tomoyo/tomoyo.c security/tomoyo/tomoyo.h+399 -02 replies
7/8Kconfig and Makefilesecurity/Kconfig security/Makefile security/tomoyo/Kconfig +1 more+15 -00 replies
8/8MAINTAINERS infoMAINTAINERS+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [TOMOYO #15 0/8] TOMOYO Linux

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-live/
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.

--