summaryrefslogtreecommitdiff
path: root/src/shared/mkdir-label.c
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2014-10-25 13:53:41 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 13:53:41 -0400
commit596470312abfa98f0b1a91ecd86effa7eae936af (patch)
tree1e14743a756d3a9a75258c328b26c36668982c93 /src/shared/mkdir-label.c
parentd51b1d3cb936c8390a34ed87d81303efbb7df533 (diff)
mac: rename apis with mac_{selinux/smack}_ prefix
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/mkdir-label.c')
-rw-r--r--src/shared/mkdir-label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/mkdir-label.c b/src/shared/mkdir-label.c
index 2fdcae4127..965ef7939f 100644
--- a/src/shared/mkdir-label.c
+++ b/src/shared/mkdir-label.c
@@ -34,7 +34,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;
}
@@ -44,7 +44,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;
}