diff options
author | WaLyong Cho <walyong.cho@samsung.com> | 2014-10-25 13:53:41 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-10-25 13:53:41 -0400 |
commit | 596470312abfa98f0b1a91ecd86effa7eae936af (patch) | |
tree | 1e14743a756d3a9a75258c328b26c36668982c93 /src/shared/dev-setup.c | |
parent | d51b1d3cb936c8390a34ed87d81303efbb7df533 (diff) |
mac: rename apis with mac_{selinux/smack}_ prefix
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/dev-setup.c')
-rw-r--r-- | src/shared/dev-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/dev-setup.c b/src/shared/dev-setup.c index 8199a26f73..10f74f0ccb 100644 --- a/src/shared/dev-setup.c +++ b/src/shared/dev-setup.c @@ -36,14 +36,14 @@ static int symlink_and_label(const char *old_path, const char *new_path) { assert(old_path); assert(new_path); - r = label_context_set(new_path, S_IFLNK); + r = mac_selinux_context_set(new_path, S_IFLNK); if (r < 0) return r; if (symlink(old_path, new_path) < 0) r = -errno; - label_context_clear(); + mac_selinux_context_clear(); return r; } |