1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2011 Lennart Poettering
11 #include <sys/types.h>
13 #if 0 /// elogind needs the systems udev header
21 int devnode_acl(const char *path,
23 bool del, uid_t old_uid,
24 bool add, uid_t new_uid);
26 int devnode_acl_all(struct udev *udev,
29 bool del, uid_t old_uid,
30 bool add, uid_t new_uid);
33 static inline int devnode_acl(const char *path,
35 bool del, uid_t old_uid,
36 bool add, uid_t new_uid) {
40 static inline int devnode_acl_all(struct udev *udev,
43 bool del, uid_t old_uid,
44 bool add, uid_t new_uid) {