diff options
Diffstat (limited to 'security/tomoyo/memory.c')
-rw-r--r-- | security/tomoyo/memory.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/tomoyo/memory.c b/security/tomoyo/memory.c index a1d75df93e16..95a77599ff98 100644 --- a/security/tomoyo/memory.c +++ b/security/tomoyo/memory.c | |||
@@ -211,10 +211,10 @@ void __init tomoyo_mm_init(void) | |||
211 | panic("Can't register tomoyo_kernel_domain"); | 211 | panic("Can't register tomoyo_kernel_domain"); |
212 | { | 212 | { |
213 | /* Load built-in policy. */ | 213 | /* Load built-in policy. */ |
214 | tomoyo_write_domain_initializer_policy("/sbin/hotplug", | 214 | tomoyo_write_transition_control("/sbin/hotplug", false, |
215 | false, false); | 215 | TOMOYO_TRANSITION_CONTROL_INITIALIZE); |
216 | tomoyo_write_domain_initializer_policy("/sbin/modprobe", | 216 | tomoyo_write_transition_control("/sbin/modprobe", false, |
217 | false, false); | 217 | TOMOYO_TRANSITION_CONTROL_INITIALIZE); |
218 | } | 218 | } |
219 | tomoyo_read_unlock(idx); | 219 | tomoyo_read_unlock(idx); |
220 | } | 220 | } |