diff options
author | WaLyong Cho <walyong.cho@samsung.com> | 2014-10-23 17:23:46 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-23 17:13:15 +0200 |
commit | cc56fafeebf814ef035e549115cf1850e6473fa5 (patch) | |
tree | 7bc8ec26fb250eb21180cdcd30bdc9072a0ac132 /src/shared/mkdir-label.c | |
parent | 66b6d9d5b5b13a97c9f275aed0d9fe5608495be9 (diff) |
mac: rename apis with mac_{selinux/smack}_ prefix
Diffstat (limited to 'src/shared/mkdir-label.c')
-rw-r--r-- | src/shared/mkdir-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/mkdir-label.c b/src/shared/mkdir-label.c index c41045e5b5..89af392819 100644 --- a/src/shared/mkdir-label.c +++ b/src/shared/mkdir-label.c @@ -36,7 +36,7 @@ static int label_mkdir(const char *path, mode_t mode) { int r; if (use_selinux()) { - r = label_mkdir_selinux(path, mode); + r = mac_selinux_mkdir(path, mode); if (r < 0) return r; } @@ -46,7 +46,7 @@ static int label_mkdir(const char *path, mode_t mode) { if (r < 0 && errno != EEXIST) return -errno; - r = smack_relabel_in_dev(path); + r = mac_smack_relabel_in_dev(path); if (r < 0) return r; } |