summaryrefslogtreecommitdiff
path: root/src/udev/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-10-08 01:59:10 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-01-09 18:47:32 -0500
commit87539be4377dd8a3c6be306b6552e2111d09d735 (patch)
treeb151c454ccfd6149ebf078f0ee38d942344cd37a /src/udev/udev.h
parent9e46e94ba2fe713a6d768134dc6a4503d1e4deb2 (diff)
udev: support custom Linux Security Module labels for device nodes
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udev.h')
-rw-r--r--src/udev/udev.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/udev/udev.h b/src/udev/udev.h
index 760b678682..5e013d4f01 100644
--- a/src/udev/udev.h
+++ b/src/udev/udev.h
@@ -39,6 +39,7 @@ struct udev_event {
mode_t mode;
uid_t uid;
gid_t gid;
+ struct udev_list seclabel_list;
struct udev_list run_list;
int exec_delay;
usec_t birth_usec;
@@ -95,7 +96,9 @@ void udev_watch_end(struct udev *udev, struct udev_device *dev);
struct udev_device *udev_watch_lookup(struct udev *udev, int wd);
/* udev-node.c */
-void udev_node_add(struct udev_device *dev, bool apply, mode_t mode, uid_t uid, gid_t gid);
+void udev_node_add(struct udev_device *dev, bool apply,
+ mode_t mode, uid_t uid, gid_t gid,
+ struct udev_list *seclabel_list);
void udev_node_remove(struct udev_device *dev);
void udev_node_update_old_links(struct udev_device *dev, struct udev_device *dev_old);