1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright 2011 Lennart Poettering
11 #if 0 /// elogind needs the systems udev header
19 int devnode_acl(const char *path,
21 bool del, uid_t old_uid,
22 bool add, uid_t new_uid);
24 int devnode_acl_all(struct udev *udev,
27 bool del, uid_t old_uid,
28 bool add, uid_t new_uid);
31 static inline int devnode_acl(const char *path,
33 bool del, uid_t old_uid,
34 bool add, uid_t new_uid) {
38 static inline int devnode_acl_all(struct udev *udev,
41 bool del, uid_t old_uid,
42 bool add, uid_t new_uid) {