]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/login/logind-acl.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2011 Lennart Poettering
11 #include <sys/types.h>
17 int devnode_acl(const char *path
,
19 bool del
, uid_t old_uid
,
20 bool add
, uid_t new_uid
);
22 int devnode_acl_all(struct udev
*udev
,
25 bool del
, uid_t old_uid
,
26 bool add
, uid_t new_uid
);
29 static inline int devnode_acl(const char *path
,
31 bool del
, uid_t old_uid
,
32 bool add
, uid_t new_uid
) {
36 static inline int devnode_acl_all(struct udev
*udev
,
39 bool del
, uid_t old_uid
,
40 bool add
, uid_t new_uid
) {