diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-23 19:41:27 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-10-25 18:53:50 -0400 |
commit | a7a23d465df41d67197752675f53c4b59b660813 (patch) | |
tree | e0ccfac89f99b4d84740e44fb25e92f7f3e6267d /src/shared/dev-setup.c | |
parent | 9efbf32a55d250eb414289f40ea471e1473ddb16 (diff) |
selinux: clean up selinux label function naming
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 10f74f0ccb..fb16a8a8cc 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 = mac_selinux_context_set(new_path, S_IFLNK); + r = mac_selinux_create_file_prepare(new_path, S_IFLNK); if (r < 0) return r; if (symlink(old_path, new_path) < 0) r = -errno; - mac_selinux_context_clear(); + mac_selinux_create_file_clear(); return r; } |