[TOMOYO #4 13/13] Kconfig and Makefile for TOMOYO Linux.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>, <linux-security-module@...>
Cc: <chrisw@...>
Date: Thursday, October 11, 2007 - 9:32 am

Kconfig and Makefile for TOMOYO Linux.
TOMOYO Linux is placed in security/tomoyo .

Signed-off-by: Kentaro Takeda <takedakn@nttdata.co.jp>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
---
 security/Kconfig         |    1 +
 security/Makefile        |    1 +
 security/tomoyo/Kconfig  |   18 ++++++++++++++++++
 security/tomoyo/Makefile |    3 +++
 4 files changed, 23 insertions(+)

--- linux-2.6.orig/security/Kconfig	2007-10-11 15:52:19.000000000 +0900
+++ linux-2.6/security/Kconfig	2007-10-11 15:53:12.000000000 +0900
@@ -94,6 +94,7 @@ config SECURITY_ROOTPLUG
 	  If you are unsure how to answer this question, answer N.
 
 source security/selinux/Kconfig
+source security/tomoyo/Kconfig
 
 endmenu
 
--- linux-2.6.orig/security/Makefile	2007-10-11 15:52:19.000000000 +0900
+++ linux-2.6/security/Makefile	2007-10-11 15:53:12.000000000 +0900
@@ -16,3 +16,4 @@ obj-$(CONFIG_SECURITY)			+= security.o d
 obj-$(CONFIG_SECURITY_SELINUX)		+= selinux/built-in.o
 obj-$(CONFIG_SECURITY_CAPABILITIES)	+= commoncap.o capability.o
 obj-$(CONFIG_SECURITY_ROOTPLUG)		+= commoncap.o root_plug.o
+obj-$(CONFIG_SECURITY_TOMOYO)       += tomoyo/
\ No newline at end of file
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6/security/tomoyo/Kconfig	2007-10-11 15:53:12.000000000 +0900
@@ -0,0 +1,18 @@
+config SECURITY_TOMOYO
+	bool "TOMOYO Linux support"
+	depends on SECURITY
+	select SECURITY_NETWORK
+	select AUDIT
+	default n
+	help
+	  This selects TOMOYO Linux.
+
+	  TOMOYO Linux is a domain-based access control method using LSM.
+	  If you answer Y, you will need a policy loader program
+	  (/sbin/tomoyo-init) and some configuration files.
+	  Project page is
+	  <http://tomoyo.sourceforge.jp/>
+
+	  TOMOYO Linux is also applicable to figuring out the behavior
+	  of your system, for TOMOYO uses the canonicalized absolute
+	  pathnames and TreeView style domain transitions.
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6/security/tomoyo/Makefile	2007-10-11 15:59:29.000000000 +0900
@@ -0,0 +1,3 @@
+obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo.o tomoyo_func.o
+tomoyo_func-objs := domain.o common.o realpath.o audit.o file.o exec.o net.o mount.o condition.o
+EXTRA_CFLAGS += -Isecurity/tomoyo/include

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[TOMOYO #4 13/13] Kconfig and Makefile for TOMOYO Linux., Tetsuo Handa, (Thu Oct 11, 9:32 am)
[TOMOYO #4 12/13] Conditional permission support., Tetsuo Handa, (Thu Oct 11, 9:31 am)
[TOMOYO #4 09/13] Networking access control functions., Tetsuo Handa, (Thu Oct 11, 9:30 am)
[TOMOYO #4 11/13] LSM adapter for TOMOYO., Tetsuo Handa, (Thu Oct 11, 9:31 am)
[TOMOYO #4 08/13] Argv[0] access control functions., Tetsuo Handa, (Thu Oct 11, 9:29 am)
[TOMOYO #4 07/13] File access control functions., Tetsuo Handa, (Thu Oct 11, 9:29 am)
[TOMOYO #4 06/13] Auditing interface., Tetsuo Handa, (Thu Oct 11, 9:28 am)
[TOMOYO #4 05/13] Domain transition handler functions., Tetsuo Handa, (Thu Oct 11, 9:28 am)