Lines Matching full:acl

31  * acl_set_file -- set a file/directory ACL by name
36 #include <sys/acl.h>
48 * (the POSIX.1e semantic code will reject unsorted ACL submission). If it's
53 acl_set_file(const char *path_p, acl_type_t type, acl_t acl) in acl_set_file() argument
56 if (acl == NULL || path_p == NULL) { in acl_set_file()
61 if (_acl_type_not_valid_for_acl(acl, type)) { in acl_set_file()
65 if (_posix1e_acl(acl, type)) in acl_set_file()
66 _posix1e_acl_sort(acl); in acl_set_file()
68 acl->ats_cur_entry = 0; in acl_set_file()
70 return (__acl_set_file(path_p, type, &acl->ats_acl)); in acl_set_file()
74 acl_set_link_np(const char *path_p, acl_type_t type, acl_t acl) in acl_set_link_np() argument
77 if (acl == NULL || path_p == NULL) { in acl_set_link_np()
82 if (_acl_type_not_valid_for_acl(acl, type)) { in acl_set_link_np()
86 if (_posix1e_acl(acl, type)) in acl_set_link_np()
87 _posix1e_acl_sort(acl); in acl_set_link_np()
89 acl->ats_cur_entry = 0; in acl_set_link_np()
91 return (__acl_set_link(path_p, type, &acl->ats_acl)); in acl_set_link_np()
95 acl_set_fd(int fd, acl_t acl) in acl_set_fd() argument
99 return (acl_set_fd_np(fd, acl, ACL_TYPE_NFS4)); in acl_set_fd()
101 return (acl_set_fd_np(fd, acl, ACL_TYPE_ACCESS)); in acl_set_fd()
105 acl_set_fd_np(int fd, acl_t acl, acl_type_t type) in acl_set_fd_np() argument
108 if (acl == NULL) { in acl_set_fd_np()
113 if (_acl_type_not_valid_for_acl(acl, type)) { in acl_set_fd_np()
117 if (_posix1e_acl(acl, type)) in acl_set_fd_np()
118 _posix1e_acl_sort(acl); in acl_set_fd_np()
120 acl->ats_cur_entry = 0; in acl_set_fd_np()
122 return (___acl_set_fd(fd, type, &acl->ats_acl)); in acl_set_fd_np()
126 * acl_set_permset() (23.4.23): sets the permissions of ACL entry entry_d
157 * ACL entry entry_d to the value referred to by tag_qualifier_p
181 * acl_set_tag_type() sets the tag type for ACL entry entry_d to the