]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/login/logind-acl.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
11 int devnode_acl(const char *path
,
13 bool del
, uid_t old_uid
,
14 bool add
, uid_t new_uid
);
16 int devnode_acl_all(struct udev
*udev
,
19 bool del
, uid_t old_uid
,
20 bool add
, uid_t new_uid
);
23 static inline int devnode_acl(const char *path
,
25 bool del
, uid_t old_uid
,
26 bool add
, uid_t new_uid
) {
30 static inline int devnode_acl_all(struct udev
*udev
,
33 bool del
, uid_t old_uid
,
34 bool add
, uid_t new_uid
) {