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/shared/label.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/shared/label.c')
-rw-r--r-- | src/shared/label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/label.c b/src/shared/label.c index bee9635731..fe7fd8381e 100644 --- a/src/shared/label.c +++ b/src/shared/label.c @@ -25,13 +25,13 @@ int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { int r = 0; - if (use_selinux()) { + if (mac_selinux_use()) { r = mac_selinux_fix(path, ignore_enoent, ignore_erofs); if (r < 0) return r; } - if (use_smack()) { + if (mac_smack_use()) { r = mac_smack_relabel_in_dev(path); if (r < 0) return r; |