From 5f5839857c805ec9960ecba7d9742fe90d2f5b4b Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 25 Oct 2014 19:07:36 -0400 Subject: src/udev/udevd.c: rename apis again in static_dev_create_from_modules() Signed-off-by: Anthony G. Basile --- src/udev/udevd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index ab2aeb7c9f..a74906aa62 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); - mac_selinux_context_set(filename, mode); + mac_selinux_create_file_prepare(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); - mac_selinux_context_clear(); + mac_selinux_create_file_clear(); } fclose(f); -- cgit v1.2.3-54-g00ecf