From 26dd37f6d565dd28d15b3401491589b5a7c86ecb Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 6 Apr 2022 02:31:19 +0900 Subject: udev: move apply_static_dev_perms() to udev-node.c and make it internally use udev_node_apply_permissions_impl(). --- src/udev/udev-node.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/udev/udev-node.h') 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); -- cgit v1.2.3