diff options
Diffstat (limited to 'security/tomoyo/file.c')
-rw-r--r-- | security/tomoyo/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/file.c b/security/tomoyo/file.c index 4f8526af9069..323ddc73a125 100644 --- a/security/tomoyo/file.c +++ b/security/tomoyo/file.c | |||
@@ -603,7 +603,7 @@ int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, | |||
603 | int error; | 603 | int error; |
604 | 604 | ||
605 | r->type = tomoyo_p2mac[operation]; | 605 | r->type = tomoyo_p2mac[operation]; |
606 | r->mode = tomoyo_get_mode(r->profile, r->type); | 606 | r->mode = tomoyo_get_mode(r->domain->ns, r->profile, r->type); |
607 | if (r->mode == TOMOYO_CONFIG_DISABLED) | 607 | if (r->mode == TOMOYO_CONFIG_DISABLED) |
608 | return 0; | 608 | return 0; |
609 | r->param_type = TOMOYO_TYPE_PATH_ACL; | 609 | r->param_type = TOMOYO_TYPE_PATH_ACL; |