/systemd-251/src/shared/ |
D | devnode-acl.c | 19 static int flush_acl(acl_t acl) { in flush_acl() argument 24 assert(acl); in flush_acl() 26 for (found = acl_get_entry(acl, ACL_FIRST_ENTRY, &i); in flush_acl() 28 found = acl_get_entry(acl, ACL_NEXT_ENTRY, &i)) { in flush_acl() 38 if (acl_delete_entry(acl, i) < 0) in flush_acl() 55 _cleanup_(acl_freep) acl_t acl = NULL; in devnode_acl() 61 acl = acl_get_file(path, ACL_TYPE_ACCESS); in devnode_acl() 62 if (!acl) in devnode_acl() 67 r = flush_acl(acl); in devnode_acl() 76 r = acl_find_uid(acl, old_uid, &entry); in devnode_acl() [all …]
|
D | acl-util.c | 15 int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *ret_entry) { in acl_find_uid() argument 19 assert(acl); in acl_find_uid() 23 for (r = acl_get_entry(acl, ACL_FIRST_ENTRY, &i); in acl_find_uid() 25 r = acl_get_entry(acl, ACL_NEXT_ENTRY, &i)) { in acl_find_uid() 152 _cleanup_(acl_freep) acl_t acl = NULL; in acl_search_groups() 159 acl = acl_get_file(path, ACL_TYPE_DEFAULT); in acl_search_groups() 160 if (!acl) in acl_search_groups() 163 r = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry); in acl_search_groups() 203 r = acl_get_entry(acl, ACL_NEXT_ENTRY, &entry); in acl_search_groups() 326 static int find_acl_entry(acl_t acl, acl_entry_t entry, acl_entry_t *out) { in find_acl_entry() argument [all …]
|
D | acl-util.h | 14 int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry); 19 int acls_for_file(const char *path, acl_type_t type, acl_t new, acl_t *acl);
|
D | meson.build | 4 'acl-util.h', 95 'devnode-acl.h', 362 'acl-util.c', 363 'devnode-acl.c',
|
/systemd-251/src/nspawn/ |
D | nspawn-patch-uid.c | 25 acl_t acl; in get_acl() local 37 acl = acl_get_file(FORMAT_PROC_FD_PATH(child_fd), type); in get_acl() 39 acl = acl_get_fd(fd); in get_acl() 41 acl = acl_get_file(FORMAT_PROC_FD_PATH(fd), type); in get_acl() 42 if (!acl) in get_acl() 45 *ret = acl; in get_acl() 49 static int set_acl(int fd, const char *name, acl_type_t type, acl_t acl) { in set_acl() argument 53 assert(acl); in set_acl() 62 r = acl_set_file(FORMAT_PROC_FD_PATH(child_fd), type, acl); in set_acl() 64 r = acl_set_fd(fd, acl); in set_acl() [all …]
|
/systemd-251/src/test/ |
D | test-chown-rec.c | 14 static const uint8_t acl[] = { variable 33 char buffer[sizeof(acl) * 4]; in has_xattr() 100 assert_se(setxattr(p, "system.posix_acl_access", acl, sizeof(acl), 0) >= 0); in TEST()
|
D | meson.build | 330 [files('test-acl-util.c'),
|
/systemd-251/mkosi.default.d/arch/ |
D | 10-mkosi.arch | 13 acl
|
/systemd-251/mkosi.default.d/opensuse/ |
D | 10-mkosi.opensuse | 47 acl
|
/systemd-251/mkosi.default.d/debian/ |
D | 10-mkosi.debian | 12 acl
|
/systemd-251/mkosi.default.d/fedora/ |
D | 10-mkosi.fedora | 67 acl
|
/systemd-251/mkosi.default.d/ubuntu/ |
D | 10-mkosi.ubuntu | 13 acl
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 1068 static int path_set_acl(const char *path, const char *pretty, acl_type_t type, acl_t acl, bool modi… in path_set_acl() argument 1077 r = acls_for_file(path, type, acl, &dup); in path_set_acl() 1085 dup = acl_dup(acl); in path_set_acl()
|
/systemd-251/ |
D | meson_options.txt | 356 option('acl', type : 'combo', choices : ['auto', 'true', 'false'], combo
|
D | meson.build | 1148 want_acl = get_option('acl') 1150 libacl = cc.find_library('acl', required : want_acl == 'true') build
|