mac: rename apis with mac_{selinux/smack}_ prefix

This commit is contained in:
WaLyong Cho
2014-10-23 17:13:15 +02:00
committed by Lennart Poettering
parent 66b6d9d5b5
commit cc56fafeeb
26 changed files with 114 additions and 114 deletions
+2 -2
View File
@@ -26,13 +26,13 @@ int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) {
int r = 0;
if (use_selinux()) {
r = label_fix_selinux(path, ignore_enoent, ignore_erofs);
r = mac_selinux_fix(path, ignore_enoent, ignore_erofs);
if (r < 0)
return r;
}
if (use_smack()) {
r = smack_relabel_in_dev(path);
r = mac_smack_relabel_in_dev(path);
if (r < 0)
return r;
}