diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-23 17:34:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-23 17:34:30 +0200 |
commit | 6baa7db00812437bbc87e73faa1a11b6cf631958 (patch) | |
tree | f3c4041b684cd55fe23d06eff9761ab2aca31332 /src/core/execute.c | |
parent | cc56fafeebf814ef035e549115cf1850e6473fa5 (diff) |
mac: also rename use_{smack,selinux,apparmor}() calls so that they share the new mac_{smack,selinux,apparmor}_xyz() convention
Diffstat (limited to 'src/core/execute.c')
-rw-r--r-- | src/core/execute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index caff2c6b5c..c41aec222d 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1669,7 +1669,7 @@ static int exec_child(ExecCommand *command, #endif #ifdef HAVE_SELINUX - if (use_selinux()) { + if (mac_selinux_use()) { if (context->selinux_context) { err = setexeccon(context->selinux_context); if (err < 0 && !context->selinux_context_ignore) { @@ -1697,7 +1697,7 @@ static int exec_child(ExecCommand *command, #endif #ifdef HAVE_APPARMOR - if (context->apparmor_profile && use_apparmor()) { + if (context->apparmor_profile && mac_apparmor_use()) { err = aa_change_onexec(context->apparmor_profile); if (err < 0 && !context->apparmor_profile_ignore) { *error = EXIT_APPARMOR_PROFILE; |