summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-10-25 14:01:42 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 14:01:42 -0400
commit538bf2441fa44b423c8bdf9d9c70b021c3f3334f (patch)
tree975f06a6310766fd7322c24f14062b18e9361698 /src
parent596470312abfa98f0b1a91ecd86effa7eae936af (diff)
src/udev/udevd.c: rename apis in static_dev_create_from_modules() also
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/udev/udevd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 1c922ed1f2..ab2aeb7c9f 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -965,11 +965,11 @@ static void static_dev_create_from_modules(struct udev *udev) {
strscpyl(filename, sizeof(filename), "/dev/", devname, NULL);
mkdir_parents_label(filename, 0755);
- label_context_set(filename, mode);
+ mac_selinux_context_set(filename, mode);
log_debug("mknod '%s' %c%u:%u\n", filename, type, maj, min);
if (mknod(filename, mode, makedev(maj, min)) < 0 && errno == EEXIST)
utimensat(AT_FDCWD, filename, NULL, 0);
- label_context_clear();
+ mac_selinux_context_clear();
}
fclose(f);