diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-05 19:31:19 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-06 07:52:36 +0200 |
commit | 26dd37f6d565dd28d15b3401491589b5a7c86ecb (patch) | |
tree | 4846719beeaa947852e578d659556bbd22315f7a /src/udev/udev-node.h | |
parent | udev: upgrade mode in udev_node_apply_permissions_impl() (diff) | |
download | systemd-26dd37f6d565dd28d15b3401491589b5a7c86ecb.tar.xz systemd-26dd37f6d565dd28d15b3401491589b5a7c86ecb.zip |
udev: move apply_static_dev_perms() to udev-node.c
and make it internally use udev_node_apply_permissions_impl().
Diffstat (limited to 'src/udev/udev-node.h')
-rw-r--r-- | src/udev/udev-node.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/udev/udev-node.h b/src/udev/udev-node.h index a34af77146..86a829545a 100644 --- a/src/udev/udev-node.h +++ b/src/udev/udev-node.h @@ -15,6 +15,13 @@ int udev_node_apply_permissions( uid_t uid, gid_t gid, OrderedHashmap *seclabel_list); +int static_node_apply_permissions( + const char *name, + mode_t mode, + uid_t uid, + gid_t gid, + char **tags); + int udev_node_remove(sd_device *dev); int udev_node_update(sd_device *dev, sd_device *dev_old); |