Skip to content

Commit

Permalink
Kconfig and Makefile
Browse files Browse the repository at this point in the history
TOMOYO uses LSM hooks for pathname based access control and securityfs support.

Signed-off-by: Kentaro Takeda <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
takedakn authored and James Morris committed Feb 12, 2009
1 parent f743324 commit 00d7d6f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ config SECURITY_DEFAULT_MMAP_MIN_ADDR

source security/selinux/Kconfig
source security/smack/Kconfig
source security/tomoyo/Kconfig

source security/integrity/ima/Kconfig

Expand Down
2 changes: 2 additions & 0 deletions security/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
obj-$(CONFIG_KEYS) += keys/
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
subdir-$(CONFIG_SECURITY_SMACK) += smack
subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo

# always enable default capabilities
obj-y += commoncap.o
Expand All @@ -17,6 +18,7 @@ obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o
obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o

# Object integrity file lists
subdir-$(CONFIG_IMA) += integrity/ima
Expand Down
11 changes: 11 additions & 0 deletions security/tomoyo/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
config SECURITY_TOMOYO
bool "TOMOYO Linux Support"
depends on SECURITY
select SECURITYFS
select SECURITY_PATH
default n
help
This selects TOMOYO Linux, pathname-based access control.
Required userspace tools and further information may be
found at <http://tomoyo.sourceforge.jp/>.
If you are unsure how to answer this question, answer N.
1 change: 1 addition & 0 deletions security/tomoyo/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-y = common.o realpath.o tomoyo.o domain.o file.o

0 comments on commit 00d7d6f

Please sign in to comment.