diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-10-25 19:07:36 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-10-25 19:07:36 -0400 |
commit | 5f5839857c805ec9960ecba7d9742fe90d2f5b4b (patch) | |
tree | 25d5eea3ac65b48273c8b160931e21d2b1a97877 /src/udev | |
parent | c73ca2c9bd67b8ee8b5bca447604a22b02ab4c7e (diff) |
src/udev/udevd.c: rename apis again in static_dev_create_from_modules()
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udevd.c | 4 |
1 files 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); |