Home
last modified time | relevance | path

Searched refs:permset (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Ddevnode-acl.c90 acl_permset_t permset; in devnode_acl() local
106 if (acl_get_permset(entry, &permset) < 0) in devnode_acl()
109 rd = acl_get_perm(permset, ACL_READ); in devnode_acl()
113 wt = acl_get_perm(permset, ACL_WRITE); in devnode_acl()
119 if (acl_add_perm(permset, ACL_READ|ACL_WRITE) < 0) in devnode_acl()
Dacl-util.c396 acl_permset_t permset; in fd_add_uid_acl_permission() local
418 if (acl_get_permset(entry, &permset) < 0) in fd_add_uid_acl_permission()
421 if ((mask & ACL_READ) && acl_add_perm(permset, ACL_READ) < 0) in fd_add_uid_acl_permission()
423 if ((mask & ACL_WRITE) && acl_add_perm(permset, ACL_WRITE) < 0) in fd_add_uid_acl_permission()
425 if ((mask & ACL_EXECUTE) && acl_add_perm(permset, ACL_EXECUTE) < 0) in fd_add_uid_acl_permission()