Skip to content

TOMOYO Linux - MAC based on process invocation history.

Kentaro Takeda lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 3 repliesIn review

Changes since previous (November 17th) submission from the cover letter

* Added security goal document. (Documentation/TOMOYO.txt) This document is intended to specify the security goal that TOMOYO Linux is trying to achieve. Thread URL:

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21TOMOYO Linux documentation.Documentation/TOMOYO.txt+266 -00 replies
2/21Add struct vfsmount to struct task_struct.include/linux/init_task.h include/linux/sched.h+3 -02 replies
3/21Add wrapper functions for VFS helper functions.include/linux/fs.h+138 -00 replies
4/21Replace VFS with wrapper functions.fs/namei.c fs/open.c net/unix/af_unix.c+34 -260 replies
5/21Add packet filtering based on processs security context.include/linux/security.h net/core/datagram.c net/socket.c +2 more+80 -130 replies
6/21Data structures and prototype defitions.security/tomoyo/include/realpath.h security/tomoyo/include/tomoyo.h+740 -00 replies
7/21Memory and pathname management functions.security/tomoyo/realpath.c+659 -00 replies
8/21Utility functions and policy manipulation interface.security/tomoyo/common.c+2450 -00 replies
9/21Domain transition functions.security/tomoyo/domain.c+1261 -00 replies
10/21Auditing interface.security/tomoyo/audit.c+239 -00 replies
11/21File access control functions.security/tomoyo/file.c+1468 -00 replies
12/21argv0 check functions.security/tomoyo/exec.c+215 -00 replies
13/21environment variable name check functions.security/tomoyo/environ.c+274 -00 replies
14/21Network access control functions.security/tomoyo/net.c+934 -00 replies
15/21Namespace manipulation control functions.security/tomoyo/mount.c+908 -00 replies
16/21Signal control functions.security/tomoyo/signal.c+226 -00 replies
17/21Capability access control functions.security/tomoyo/capability.c+320 -00 replies
18/21LSM adapter functions.security/tomoyo/tomoyo.c+825 -00 replies
19/21Conditional permission support.security/tomoyo/condition.c+684 -00 replies
20/21Kconfig and Makefilesecurity/Kconfig security/Makefile security/tomoyo/Kconfig +1 more+30 -00 replies
21/21Add signal hooks at sleepable location.include/linux/security.h kernel/signal.c security/dummy.c +1 more+91 -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 #6 00/21] TOMOYO Linux - MAC based on process invocation history.

"TOMOYO Linux" is our work in the field of security enhancement for Linux. This is the 6th submission of TOMOYO Linux.
(http://tomoyo.sourceforge.jp/wiki-e/?WhatIs#mainlining)

Changes since previous (November 17th) submission:

* Added security goal document. (Documentation/TOMOYO.txt) This document is intended to specify the security goal that TOMOYO Linux is trying to achieve. Thread URL:

     http://lkml.org/lkml/2007/12/25/18

* Added environment variable name control functionality. Users can restrict the environment variable's names passed to execve() for each domain.

* Refreshed patches for the latest -mm tree.
Patches are for 2.6.24-rc6-mm1

The possibility of AB-BA deadlock has been pointed out and argued in
http://lkml.org/lkml/2007/11/5/388 .
We believe that LSM functions shouldn't access namespace_sem, so
we chose to write a set of wrapper functions to pass "struct vfsmount" to LSM functions using "struct task_struct". This method is suggested at
http://www.mail-archive.com/[email protected]/msg01712.html .

We wish Linux to merge either AppArmor's "Pass struct vfsmount to ..." patches or our patches marked as [02/21], [03/21], [04/21] into mainline kernel so that AppArmor and TOMOYO Linux can safely access "struct vfsmount" from LSM.

Patches consist of five types.
* [TOMOYO 01/21]: Documentation.
* [TOMOYO 02-05/21]: Essential modifications against -mm kernel.
* [TOMOYO 06-19/21]: LSM implementation of TOMOYO Linux.
* [TOMOYO 20/21]: Makefile and Kconfig.
* [TOMOYO 21/21]: Optional modifications against -mm kernel.

We are trying to make a fair ��secure Linux�� comparison table, it should explain the differences between TOMOYO Linux and AppArmor.
(http://tomoyo.sourceforge.jp/wiki-e/?WhatIs#comparison)

We would like TOMOYO Linux to be added into -mm tree so that more people can try. Any kind of feedbacks for the patches and the table would be appreciated.