1 /* SPDX-License-Identifier: LGPL-2.1+ */
7 #if 0 /// elogind needs the systems udev header
15 int devnode_acl(const char *path,
17 bool del, uid_t old_uid,
18 bool add, uid_t new_uid);
20 int devnode_acl_all(struct udev *udev,
23 bool del, uid_t old_uid,
24 bool add, uid_t new_uid);
27 static inline int devnode_acl(const char *path,
29 bool del, uid_t old_uid,
30 bool add, uid_t new_uid) {
34 static inline int devnode_acl_all(struct udev *udev,
37 bool del, uid_t old_uid,
38 bool add, uid_t new_uid) {