summaryrefslogtreecommitdiffstats
path: root/config/has/acl-get-entry.c
blob: 3cce77111f5527202a2a49fe04e096886e98c2f1 (plain)
1
2
3
4
5
6
7
8
#include <sys/types.h>
#include <sys/acl.h>

int main(void) {
	acl_t acl = acl_get_file(".", ACL_TYPE_DEFAULT);
	acl_entry_t entry;
	return acl_get_entry(acl, ACL_FIRST_ENTRY, &entry);
}