Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99220
b: refs/heads/master
c: 5915eb5
h: refs/heads/master
v: v3
  • Loading branch information
Miklos Szeredi authored and James Morris committed Jul 14, 2008
1 parent e8fb3b3 commit 05b8b18
Show file tree
Hide file tree
Showing 6 changed files with 997 additions and 1,341 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b478a9f9889c81e88077d1495daadee64c0af541
refs/heads/master: 5915eb53861c5776cfec33ca4fcc1fd20d66dd27
10 changes: 1 addition & 9 deletions trunk/security/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,9 @@ config SECURITY_NETWORK_XFRM
IPSec.
If you are unsure how to answer this question, answer N.

config SECURITY_CAPABILITIES
bool "Default Linux Capabilities"
depends on SECURITY
default y
help
This enables the "default" Linux capabilities functionality.
If you are unsure how to answer this question, answer Y.

config SECURITY_FILE_CAPABILITIES
bool "File POSIX Capabilities (EXPERIMENTAL)"
depends on (SECURITY=n || SECURITY_CAPABILITIES!=n) && EXPERIMENTAL
depends on SECURITY && EXPERIMENTAL
default n
help
This enables filesystem capabilities, allowing you to give
Expand Down
11 changes: 4 additions & 7 deletions trunk/security/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ obj-$(CONFIG_KEYS) += keys/
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
subdir-$(CONFIG_SECURITY_SMACK) += smack

# if we don't select a security model, use the default capabilities
ifneq ($(CONFIG_SECURITY),y)
# always enable default capabilities
obj-y += commoncap.o
endif

# Object file lists
obj-$(CONFIG_SECURITY) += security.o dummy.o inode.o
obj-$(CONFIG_SECURITY) += security.o capability.o inode.o
# Must precede capability.o in order to stack properly.
obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
obj-$(CONFIG_SECURITY_SMACK) += commoncap.o smack/built-in.o
obj-$(CONFIG_SECURITY_CAPABILITIES) += commoncap.o capability.o
obj-$(CONFIG_SECURITY_ROOTPLUG) += commoncap.o root_plug.o
obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o
obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
Loading

0 comments on commit 05b8b18

Please sign in to comment.