diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2011-06-26 10:22:18 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-06-28 19:31:22 -0400 |
commit | efe836ab2b514ae7b59528af36d452978b42d266 (patch) | |
tree | 5e2434b25b0d53c4852fad7c9c07db9e99a38b07 /security/tomoyo/memory.c | |
parent | b22b8b9fd90eecfb7133e56b4e113595f09f4492 (diff) |
TOMOYO: Add built-in policy support.
To be able to start using enforcing mode from the early stage of boot sequence,
this patch adds support for built-in policy configuration (and next patch adds
support for activating access control without calling external policy loader
program).
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo/memory.c')
-rw-r--r-- | security/tomoyo/memory.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/security/tomoyo/memory.c b/security/tomoyo/memory.c index 78b6143068de..46538ce47d72 100644 --- a/security/tomoyo/memory.c +++ b/security/tomoyo/memory.c | |||
@@ -215,14 +215,4 @@ void __init tomoyo_mm_init(void) | |||
215 | INIT_LIST_HEAD(&tomoyo_kernel_domain.acl_info_list); | 215 | INIT_LIST_HEAD(&tomoyo_kernel_domain.acl_info_list); |
216 | tomoyo_kernel_domain.domainname = tomoyo_get_name("<kernel>"); | 216 | tomoyo_kernel_domain.domainname = tomoyo_get_name("<kernel>"); |
217 | list_add_tail_rcu(&tomoyo_kernel_domain.list, &tomoyo_domain_list); | 217 | list_add_tail_rcu(&tomoyo_kernel_domain.list, &tomoyo_domain_list); |
218 | #if 0 | ||
219 | /* Will be replaced with tomoyo_load_builtin_policy(). */ | ||
220 | { | ||
221 | /* Load built-in policy. */ | ||
222 | tomoyo_write_transition_control("/sbin/hotplug", false, | ||
223 | TOMOYO_TRANSITION_CONTROL_INITIALIZE); | ||
224 | tomoyo_write_transition_control("/sbin/modprobe", false, | ||
225 | TOMOYO_TRANSITION_CONTROL_INITIALIZE); | ||
226 | } | ||
227 | #endif | ||
228 | } | 218 | } |