diff options
author | Kay Sievers <kay@vrfy.org> | 2013-10-08 01:59:10 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-10-08 02:23:24 +0200 |
commit | c26547d612733371494330e26c7d3604a5dba3d9 (patch) | |
tree | 2a89eb3090316bd0c91f3c10aa2b66adc11065dd /src/udev/udev.h | |
parent | 8b197c3a8a57c3f7c231b39e5660856fd9580c80 (diff) |
udev: support custom Linux Security Module labels for device nodes
Diffstat (limited to 'src/udev/udev.h')
-rw-r--r-- | src/udev/udev.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/udev/udev.h b/src/udev/udev.h index 839592680b..ed8b1834ca 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); |