summaryrefslogtreecommitdiff
path: root/libudev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-08 01:03:49 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-08 01:09:20 +0200
commit51f43b53293c4cc64c2a55598491c6cbf27b6bd5 (patch)
tree01074476de708e0ff18728179f81affd47f8062e /libudev/libudev-private.h
parent5e0ec43fc40e3e6dd0e44a7d617846879e1dac9e (diff)
selinux: do not label files in runtime dir
Do not label any files in the udev runtime directory, but only nodes, links and directories below /dev. In case the runtime directory falls back to /dev/.udev, label this directory once at udevd startup, but never anything below it.
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r--libudev/libudev-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h
index 7078b0ff3c..8495f9aaee 100644
--- a/libudev/libudev-private.h
+++ b/libudev/libudev-private.h
@@ -220,6 +220,7 @@ uint64_t util_string_bloom64(const char *str);
/* libudev-util-private.c */
int util_create_path(struct udev *udev, const char *path);
+int util_create_path_selinux(struct udev *udev, const char *path);
int util_delete_path(struct udev *udev, const char *path);
int util_unlink_secure(struct udev *udev, const char *filename);
uid_t util_lookup_user(struct udev *udev, const char *user);