Symbol: acl
bin/cp/utils.c
406
acl_t acl;
bin/cp/utils.c
433
acl = acl_get_fd_np(source_fd, acl_type);
bin/cp/utils.c
434
if (acl == NULL) {
bin/cp/utils.c
439
if (acl_is_trivial_np(acl, &trivial)) {
bin/cp/utils.c
442
acl_free(acl);
bin/cp/utils.c
446
acl_free(acl);
bin/cp/utils.c
449
if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) {
bin/cp/utils.c
452
acl_free(acl);
bin/cp/utils.c
455
acl_free(acl);
bin/getfacl/getfacl.c
129
acl = acl_get_link_np(path, type);
bin/getfacl/getfacl.c
131
acl = acl_get_file(path, type);
bin/getfacl/getfacl.c
133
if (!acl && errno != EOPNOTSUPP) {
bin/getfacl/getfacl.c
145
if (!acl)
bin/getfacl/getfacl.c
153
error = acl_is_trivial_np(acl, &trivial);
bin/getfacl/getfacl.c
157
(void)acl_free(acl);
bin/getfacl/getfacl.c
170
if (!acl) {
bin/getfacl/getfacl.c
173
acl = acl_from_mode_np(sb.st_mode);
bin/getfacl/getfacl.c
174
if (!acl) {
bin/getfacl/getfacl.c
189
acl_text = acl_to_text_np(acl, 0, flags);
bin/getfacl/getfacl.c
192
(void)acl_free(acl);
bin/getfacl/getfacl.c
198
(void)acl_free(acl);
bin/getfacl/getfacl.c
99
acl_t acl;
bin/mv/mv.c
439
acl_t acl;
bin/mv/mv.c
466
acl = acl_get_fd_np(source_fd, acl_type);
bin/mv/mv.c
467
if (acl == NULL) {
bin/mv/mv.c
471
if (acl_is_trivial_np(acl, &trivial)) {
bin/mv/mv.c
473
acl_free(acl);
bin/mv/mv.c
477
acl_free(acl);
bin/mv/mv.c
480
if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) {
bin/mv/mv.c
482
acl_free(acl);
bin/mv/mv.c
485
acl_free(acl);
bin/setfacl/mask.c
101
acl_free(acl);
bin/setfacl/mask.c
106
*prev_acl = acl_dup(acl);
bin/setfacl/mask.c
107
acl_free(acl);
bin/setfacl/mask.c
42
acl_t acl;
bin/setfacl/mask.c
56
acl = acl_dup(*prev_acl);
bin/setfacl/mask.c
57
if (acl == NULL)
bin/setfacl/mask.c
68
if (acl_calc_mask(&acl)) {
bin/setfacl/mask.c
70
acl_free(acl);
bin/setfacl/mask.c
82
while (acl_get_entry(acl, entry_id, &entry) == 1) {
bin/setfacl/mask.c
89
acl_free(acl);
bin/setfacl/merge.c
114
while (acl_get_entry(acl, entry_id, &entry) == 1) {
bin/setfacl/merge.c
238
add_acl(acl_t acl, uint entry_number, acl_t *prev_acl, const char *filename)
bin/setfacl/merge.c
244
acl_get_brand_np(acl, &acl_brand);
bin/setfacl/merge.c
266
while (acl_get_entry(acl, entry_id, &entry) == 1) {
bin/setfacl/merge.c
87
merge_acl(acl_t acl, acl_t *prev_acl, const char *filename)
bin/setfacl/merge.c
98
acl_get_brand_np(acl, &acl_brand);
bin/setfacl/remove.c
41
remove_acl(acl_t acl, acl_t *prev_acl, const char *filename)
bin/setfacl/remove.c
50
acl_get_brand_np(acl, &acl_brand);
bin/setfacl/remove.c
70
while (acl_get_entry(acl, entry_id, &entry) == 1) {
bin/setfacl/setfacl.c
133
clear_inheritance_flags(acl_t acl)
bin/setfacl/setfacl.c
140
(void)acl_get_brand_np(acl, &acl_brand);
bin/setfacl/setfacl.c
142
return (acl);
bin/setfacl/setfacl.c
144
nacl = acl_dup(acl);
bin/setfacl/setfacl.c
147
return (acl);
bin/setfacl/setfacl.c
175
acl_t acl, nacl;
bin/setfacl/setfacl.c
228
acl = acl_get_file(file->fts_accpath, acl_type);
bin/setfacl/setfacl.c
230
acl = acl_get_link_np(file->fts_accpath, acl_type);
bin/setfacl/setfacl.c
231
if (acl == NULL) {
bin/setfacl/setfacl.c
241
nacl = entry->acl;
bin/setfacl/setfacl.c
247
local_error += add_acl(nacl, entry->entry_number, &acl,
bin/setfacl/setfacl.c
254
local_error += merge_acl(nacl, &acl, file->fts_path);
bin/setfacl/setfacl.c
263
acl_get_entry(acl, ACL_FIRST_ENTRY,
bin/setfacl/setfacl.c
265
local_error += remove_default(&acl,
bin/setfacl/setfacl.c
269
remove_ext(&acl, file->fts_path);
bin/setfacl/setfacl.c
286
local_error += remove_default(&acl,
bin/setfacl/setfacl.c
291
local_error += remove_acl(nacl, &acl, file->fts_path);
bin/setfacl/setfacl.c
296
&acl, file->fts_path);
bin/setfacl/setfacl.c
301
if (nacl != entry->acl) {
bin/setfacl/setfacl.c
316
acl_get_entry(acl, ACL_FIRST_ENTRY, &unused_entry) == 0) {
bin/setfacl/setfacl.c
329
set_acl_mask(&acl, file->fts_path) == -1) {
bin/setfacl/setfacl.c
333
if (acl_set_file(file->fts_accpath, acl_type, acl) == -1) {
bin/setfacl/setfacl.c
338
if (acl_set_link_np(file->fts_accpath, acl_type, acl) == -1) {
bin/setfacl/setfacl.c
345
acl_free(acl);
bin/setfacl/setfacl.c
377
entry->acl = get_acl_from_file(optarg);
bin/setfacl/setfacl.c
378
if (entry->acl == NULL)
bin/setfacl/setfacl.c
392
entry->acl = get_acl_from_file(optarg);
bin/setfacl/setfacl.c
410
entry->acl = acl_from_text(argv[optind]);
bin/setfacl/setfacl.c
411
if (entry->acl == NULL)
bin/setfacl/setfacl.c
435
entry->acl = acl_from_text(optarg);
bin/setfacl/setfacl.c
436
if (entry->acl == NULL)
bin/setfacl/setfacl.c
455
entry->acl = acl_from_text(optarg);
bin/setfacl/setfacl.c
456
if (entry->acl == NULL)
bin/setfacl/setfacl.c
56
acl_t acl;
bin/setfacl/setfacl.c
73
static acl_t clear_inheritance_flags(acl_t acl);
bin/setfacl/setfacl.h
41
int merge_acl(acl_t acl, acl_t *prev_acl, const char *filename);
bin/setfacl/setfacl.h
42
int add_acl(acl_t acl, uint entry_number, acl_t *prev_acl,
bin/setfacl/setfacl.h
45
int remove_acl(acl_t acl, acl_t *prev_acl, const char *filename);
crypto/heimdal/kadmin/get.c
262
HDB_Ext_PKINIT_acl acl;
crypto/heimdal/kadmin/get.c
269
&acl,
crypto/heimdal/kadmin/get.c
277
for (i = 0; i < acl.len; i++) {
crypto/heimdal/kadmin/get.c
279
strlcat(buf, acl.val[i].subject, buf_len);
crypto/heimdal/kadmin/get.c
280
if (acl.val[i].issuer) {
crypto/heimdal/kadmin/get.c
282
strlcat(buf, *acl.val[i].issuer, buf_len);
crypto/heimdal/kadmin/get.c
284
if (acl.val[i].anchor) {
crypto/heimdal/kadmin/get.c
286
strlcat(buf, *acl.val[i].anchor, buf_len);
crypto/heimdal/kadmin/get.c
288
if (i + 1 < acl.len)
crypto/heimdal/kadmin/get.c
291
free_HDB_Ext_PKINIT_acl(&acl);
crypto/heimdal/kdc/krb5tgs.c
513
const HDB_Ext_Constrained_delegation_acl *acl;
crypto/heimdal/kdc/krb5tgs.c
539
ret = hdb_entry_get_ConstrainedDelegACL(&client->entry, &acl);
crypto/heimdal/kdc/krb5tgs.c
545
if (acl) {
crypto/heimdal/kdc/krb5tgs.c
546
for (i = 0; i < acl->len; i++) {
crypto/heimdal/kdc/krb5tgs.c
547
if (krb5_principal_compare(context, target, &acl->val[i]) == TRUE)
crypto/heimdal/kdc/pkinit.c
1717
const HDB_Ext_PKINIT_acl *acl;
crypto/heimdal/kdc/pkinit.c
1791
ret = hdb_entry_get_pkinit_acl(&client->entry, &acl);
crypto/heimdal/kdc/pkinit.c
1792
if (ret == 0 && acl != NULL) {
crypto/heimdal/kdc/pkinit.c
1797
for (i = 0; i < acl->len; i++) {
crypto/heimdal/kdc/pkinit.c
1798
if (strcmp(*subject_name, acl->val[0].subject) != 0)
crypto/heimdal/kdc/pkinit.c
1802
if (acl->val[0].issuer)
crypto/heimdal/kdc/pkinit.c
1804
if (acl->val[0].anchor)
crypto/heimdal/lib/kadm5/get_s.c
226
const HDB_Ext_PKINIT_acl *acl;
crypto/heimdal/lib/kadm5/get_s.c
257
ret = hdb_entry_get_pkinit_acl(&ent.entry, &acl);
crypto/heimdal/lib/kadm5/get_s.c
258
if (ret == 0 && acl) {
crypto/heimdal/lib/kadm5/get_s.c
263
acl, &len, ret);
crypto/heimdal/lib/krb5/acl.c
103
acl_free_list(acl, 0);
crypto/heimdal/lib/krb5/acl.c
108
if(acl == NULL)
crypto/heimdal/lib/krb5/acl.c
109
acl = tmp;
crypto/heimdal/lib/krb5/acl.c
111
*acl->last = tmp;
crypto/heimdal/lib/krb5/acl.c
112
acl->last = &tmp->next;
crypto/heimdal/lib/krb5/acl.c
114
*acl_ret = acl;
crypto/heimdal/lib/krb5/acl.c
136
struct acl_field *acl,
crypto/heimdal/lib/krb5/acl.c
143
if (acl == NULL)
crypto/heimdal/lib/krb5/acl.c
145
if(!acl_match_field(context, buf, acl)) {
crypto/heimdal/lib/krb5/acl.c
148
acl = acl->next;
crypto/heimdal/lib/krb5/acl.c
150
if (acl)
crypto/heimdal/lib/krb5/acl.c
209
struct acl_field *acl;
crypto/heimdal/lib/krb5/acl.c
213
ret = acl_parse_format(context, &acl, format, ap);
crypto/heimdal/lib/krb5/acl.c
218
found = acl_match_acl(context, acl, string);
crypto/heimdal/lib/krb5/acl.c
219
acl_free_list(acl, !found);
crypto/heimdal/lib/krb5/acl.c
251
struct acl_field *acl = NULL;
crypto/heimdal/lib/krb5/acl.c
269
ret = acl_parse_format(context, &acl, format, ap);
crypto/heimdal/lib/krb5/acl.c
280
if(acl_match_acl(context, acl, buf)) {
crypto/heimdal/lib/krb5/acl.c
284
free_retv(acl);
crypto/heimdal/lib/krb5/acl.c
288
acl_free_list(acl, !found);
crypto/heimdal/lib/krb5/acl.c
47
free_retv(struct acl_field *acl)
crypto/heimdal/lib/krb5/acl.c
49
while(acl != NULL) {
crypto/heimdal/lib/krb5/acl.c
50
if (acl->type == acl_retval) {
crypto/heimdal/lib/krb5/acl.c
51
if (*acl->u.retv)
crypto/heimdal/lib/krb5/acl.c
52
free(*acl->u.retv);
crypto/heimdal/lib/krb5/acl.c
53
*acl->u.retv = NULL;
crypto/heimdal/lib/krb5/acl.c
55
acl = acl->next;
crypto/heimdal/lib/krb5/acl.c
60
acl_free_list(struct acl_field *acl, int retv)
crypto/heimdal/lib/krb5/acl.c
64
free_retv(acl);
crypto/heimdal/lib/krb5/acl.c
65
while(acl != NULL) {
crypto/heimdal/lib/krb5/acl.c
66
next = acl->next;
crypto/heimdal/lib/krb5/acl.c
67
free(acl);
crypto/heimdal/lib/krb5/acl.c
68
acl = next;
crypto/heimdal/lib/krb5/acl.c
79
struct acl_field *acl = NULL, *tmp;
crypto/heimdal/lib/krb5/acl.c
86
acl_free_list(acl, 0);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
297
krb5_principal acl;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
304
if (krb5_parse_name(context, (char *)tlp->tl_data_contents, &acl) != 0)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
307
if (proxy == NULL || krb5_principal_compare(context, proxy, acl)) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
309
krb5_free_principal(context, acl);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
312
krb5_free_principal(context, acl);
lib/libc/posix1e/acl_branding.c
101
_acl_brand_as(acl_t acl, int brand)
lib/libc/posix1e/acl_branding.c
104
assert(_acl_brand_may_be(acl, brand));
lib/libc/posix1e/acl_branding.c
106
acl->ats_brand = brand;
lib/libc/posix1e/acl_branding.c
117
_acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_branding.c
120
switch (_acl_brand(acl)) {
lib/libc/posix1e/acl_branding.c
139
_acl_brand_from_type(acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_branding.c
144
_acl_brand_as(acl, ACL_BRAND_NFS4);
lib/libc/posix1e/acl_branding.c
148
_acl_brand_as(acl, ACL_BRAND_POSIX);
lib/libc/posix1e/acl_branding.c
157
acl_get_brand_np(acl_t acl, int *brand_p)
lib/libc/posix1e/acl_branding.c
160
if (acl == NULL || brand_p == NULL) {
lib/libc/posix1e/acl_branding.c
164
*brand_p = _acl_brand(acl);
lib/libc/posix1e/acl_branding.c
61
_acl_brand(const acl_t acl)
lib/libc/posix1e/acl_branding.c
64
return (acl->ats_brand);
lib/libc/posix1e/acl_branding.c
78
_acl_brand_may_be(const acl_t acl, int brand)
lib/libc/posix1e/acl_branding.c
81
if (_acl_brand(acl) == ACL_BRAND_UNKNOWN)
lib/libc/posix1e/acl_branding.c
84
if (_acl_brand(acl) == brand)
lib/libc/posix1e/acl_calc_mask.c
48
struct acl *acl_int, *acl_int_new;
lib/libc/posix1e/acl_copy.c
72
acl_copy_ext(void *buf_p, acl_t acl, ssize_t size)
lib/libc/posix1e/acl_delete_entry.c
101
for (j = i; j < acl->ats_acl.acl_cnt - 1; ++j)
lib/libc/posix1e/acl_delete_entry.c
102
acl->ats_acl.acl_entry[j] =
lib/libc/posix1e/acl_delete_entry.c
103
acl->ats_acl.acl_entry[j+1];
lib/libc/posix1e/acl_delete_entry.c
105
acl->ats_acl.acl_cnt--;
lib/libc/posix1e/acl_delete_entry.c
106
bzero(&acl->ats_acl.acl_entry[j],
lib/libc/posix1e/acl_delete_entry.c
108
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_delete_entry.c
124
acl_delete_entry_np(acl_t acl, int offset)
lib/libc/posix1e/acl_delete_entry.c
126
struct acl *acl_int;
lib/libc/posix1e/acl_delete_entry.c
129
if (acl == NULL) {
lib/libc/posix1e/acl_delete_entry.c
134
acl_int = &acl->ats_acl;
lib/libc/posix1e/acl_delete_entry.c
141
if ((acl->ats_acl.acl_cnt < 1) ||
lib/libc/posix1e/acl_delete_entry.c
142
(acl->ats_acl.acl_cnt > ACL_MAX_ENTRIES)) {
lib/libc/posix1e/acl_delete_entry.c
148
for (i = offset; i < acl->ats_acl.acl_cnt - 1; ++i)
lib/libc/posix1e/acl_delete_entry.c
149
acl->ats_acl.acl_entry[i] =
lib/libc/posix1e/acl_delete_entry.c
150
acl->ats_acl.acl_entry[i+1];
lib/libc/posix1e/acl_delete_entry.c
152
acl->ats_acl.acl_cnt--;
lib/libc/posix1e/acl_delete_entry.c
153
bzero(&acl->ats_acl.acl_entry[i],
lib/libc/posix1e/acl_delete_entry.c
155
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_delete_entry.c
74
acl_delete_entry(acl_t acl, acl_entry_t entry_d)
lib/libc/posix1e/acl_delete_entry.c
79
if (acl == NULL || entry_d == NULL) {
lib/libc/posix1e/acl_delete_entry.c
84
if (_entry_brand(entry_d) != _acl_brand(acl)) {
lib/libc/posix1e/acl_delete_entry.c
89
if ((acl->ats_acl.acl_cnt < 1) ||
lib/libc/posix1e/acl_delete_entry.c
90
(acl->ats_acl.acl_cnt > ACL_MAX_ENTRIES)) {
lib/libc/posix1e/acl_delete_entry.c
98
for (i = 0; i < acl->ats_acl.acl_cnt;) {
lib/libc/posix1e/acl_delete_entry.c
99
if (_entry_matches(&(acl->ats_acl.acl_entry[i]), &entry_int)) {
lib/libc/posix1e/acl_entry.c
122
acl_get_entry(acl_t acl, int entry_id, acl_entry_t *entry_p)
lib/libc/posix1e/acl_entry.c
124
struct acl *acl_int;
lib/libc/posix1e/acl_entry.c
126
if (acl == NULL) {
lib/libc/posix1e/acl_entry.c
130
acl_int = &acl->ats_acl;
lib/libc/posix1e/acl_entry.c
134
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_entry.c
137
if (acl->ats_cur_entry >= acl->ats_acl.acl_cnt)
lib/libc/posix1e/acl_entry.c
139
*entry_p = &acl_int->acl_entry[acl->ats_cur_entry++];
lib/libc/posix1e/acl_entry.c
44
struct acl *acl_int;
lib/libc/posix1e/acl_entry.c
79
struct acl *acl_int;
lib/libc/posix1e/acl_equiv_mode_np.c
41
acl_equiv_mode_np(acl_t acl, mode_t *mode_p)
lib/libc/posix1e/acl_equiv_mode_np.c
45
if (acl == NULL) {
lib/libc/posix1e/acl_equiv_mode_np.c
51
if (_acl_brand(acl) == ACL_BRAND_UNKNOWN && acl->ats_acl.acl_cnt == 0)
lib/libc/posix1e/acl_equiv_mode_np.c
55
if (_acl_brand(acl) != ACL_BRAND_POSIX)
lib/libc/posix1e/acl_equiv_mode_np.c
58
for (int cur_entry = 0; cur_entry < acl->ats_acl.acl_cnt; cur_entry++) {
lib/libc/posix1e/acl_equiv_mode_np.c
59
acl_entry_t entry = &acl->ats_acl.acl_entry[cur_entry];
lib/libc/posix1e/acl_extended_file_np.c
65
acl_t acl;
lib/libc/posix1e/acl_extended_file_np.c
72
acl = acl_get(path_p, acltype);
lib/libc/posix1e/acl_extended_file_np.c
73
if (acl == NULL)
lib/libc/posix1e/acl_extended_file_np.c
76
retval = acl_is_trivial_np(acl, &istrivial);
lib/libc/posix1e/acl_extended_file_np.c
77
acl_free(acl);
lib/libc/posix1e/acl_from_mode_np.c
111
return (acl);
lib/libc/posix1e/acl_from_mode_np.c
44
acl_t acl;
lib/libc/posix1e/acl_from_mode_np.c
49
acl = acl_init(3);
lib/libc/posix1e/acl_from_mode_np.c
53
if (acl == NULL)
lib/libc/posix1e/acl_from_mode_np.c
57
if (acl_create_entry(&acl, &entry) == -1)
lib/libc/posix1e/acl_from_mode_np.c
76
if (acl_create_entry(&acl, &entry) == -1)
lib/libc/posix1e/acl_from_mode_np.c
94
if (acl_create_entry(&acl, &entry) == -1)
lib/libc/posix1e/acl_from_text.c
194
acl_t acl;
lib/libc/posix1e/acl_from_text.c
203
acl = acl_init(3); /* XXX: WTF, 3? */
lib/libc/posix1e/acl_from_text.c
204
if (acl == NULL) {
lib/libc/posix1e/acl_from_text.c
223
if (_acl_brand(acl) == ACL_BRAND_UNKNOWN) {
lib/libc/posix1e/acl_from_text.c
225
_acl_brand_as(acl, ACL_BRAND_NFS4);
lib/libc/posix1e/acl_from_text.c
227
_acl_brand_as(acl, ACL_BRAND_POSIX);
lib/libc/posix1e/acl_from_text.c
230
switch (_acl_brand(acl)) {
lib/libc/posix1e/acl_from_text.c
232
error = _nfs4_acl_entry_from_text(acl, entry);
lib/libc/posix1e/acl_from_text.c
236
error = _posix1e_acl_entry_from_text(acl, entry);
lib/libc/posix1e/acl_from_text.c
252
if (acl_valid(acl) == -1) {
lib/libc/posix1e/acl_from_text.c
259
return(acl);
lib/libc/posix1e/acl_from_text.c
262
acl_free(acl);
lib/libc/posix1e/acl_init.c
56
acl_t acl;
lib/libc/posix1e/acl_init.c
67
error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS,
lib/libc/posix1e/acl_init.c
74
bzero(acl, sizeof(struct acl_t_struct));
lib/libc/posix1e/acl_init.c
75
acl->ats_brand = ACL_BRAND_UNKNOWN;
lib/libc/posix1e/acl_init.c
76
acl->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES;
lib/libc/posix1e/acl_init.c
78
return (acl);
lib/libc/posix1e/acl_init.c
82
acl_dup(acl_t acl)
lib/libc/posix1e/acl_init.c
88
*acl_new = *acl;
lib/libc/posix1e/acl_init.c
89
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_set.c
101
return (acl_set_fd_np(fd, acl, ACL_TYPE_ACCESS));
lib/libc/posix1e/acl_set.c
105
acl_set_fd_np(int fd, acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_set.c
108
if (acl == NULL) {
lib/libc/posix1e/acl_set.c
113
if (_acl_type_not_valid_for_acl(acl, type)) {
lib/libc/posix1e/acl_set.c
117
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_set.c
118
_posix1e_acl_sort(acl);
lib/libc/posix1e/acl_set.c
120
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_set.c
122
return (___acl_set_fd(fd, type, &acl->ats_acl));
lib/libc/posix1e/acl_set.c
53
acl_set_file(const char *path_p, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_set.c
56
if (acl == NULL || path_p == NULL) {
lib/libc/posix1e/acl_set.c
61
if (_acl_type_not_valid_for_acl(acl, type)) {
lib/libc/posix1e/acl_set.c
65
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_set.c
66
_posix1e_acl_sort(acl);
lib/libc/posix1e/acl_set.c
68
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_set.c
70
return (__acl_set_file(path_p, type, &acl->ats_acl));
lib/libc/posix1e/acl_set.c
74
acl_set_link_np(const char *path_p, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_set.c
77
if (acl == NULL || path_p == NULL) {
lib/libc/posix1e/acl_set.c
82
if (_acl_type_not_valid_for_acl(acl, type)) {
lib/libc/posix1e/acl_set.c
86
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_set.c
87
_posix1e_acl_sort(acl);
lib/libc/posix1e/acl_set.c
89
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_set.c
91
return (__acl_set_link(path_p, type, &acl->ats_acl));
lib/libc/posix1e/acl_set.c
95
acl_set_fd(int fd, acl_t acl)
lib/libc/posix1e/acl_set.c
99
return (acl_set_fd_np(fd, acl, ACL_TYPE_NFS4));
lib/libc/posix1e/acl_strip.c
41
void acl_nfs4_sync_mode_from_acl(mode_t *_mode, const struct acl *aclp);
lib/libc/posix1e/acl_strip.c
42
void acl_nfs4_trivial_from_mode_libc(struct acl *aclp, int file_owner_id,
lib/libc/posix1e/acl_support.c
130
_posix1e_acl_sort(acl_t acl)
lib/libc/posix1e/acl_support.c
132
struct acl *acl_int;
lib/libc/posix1e/acl_support.c
134
acl_int = &acl->ats_acl;
lib/libc/posix1e/acl_support.c
146
_posix1e_acl(acl_t acl, acl_type_t type)
lib/libc/posix1e/acl_support.c
149
if (_acl_brand(acl) != ACL_BRAND_POSIX)
lib/libc/posix1e/acl_support.c
170
_posix1e_acl_check(acl_t acl)
lib/libc/posix1e/acl_support.c
172
struct acl *acl_int;
lib/libc/posix1e/acl_support.c
180
acl_int = &acl->ats_acl;
lib/libc/posix1e/acl_support.c
344
_posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm)
lib/libc/posix1e/acl_support.c
346
struct acl *acl_int;
lib/libc/posix1e/acl_support.c
349
acl_int = &acl->ats_acl;
lib/libc/posix1e/acl_support.h
40
int _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type);
lib/libc/posix1e/acl_support.h
41
void _acl_brand_from_type(acl_t acl, acl_type_t type);
lib/libc/posix1e/acl_support.h
42
int _acl_brand(const acl_t acl);
lib/libc/posix1e/acl_support.h
44
int _acl_brand_may_be(const acl_t acl, int brand);
lib/libc/posix1e/acl_support.h
46
void _acl_brand_as(acl_t acl, int brand);
lib/libc/posix1e/acl_support.h
54
int _posix1e_acl_check(acl_t acl);
lib/libc/posix1e/acl_support.h
55
void _posix1e_acl_sort(acl_t acl);
lib/libc/posix1e/acl_support.h
56
int _posix1e_acl(acl_t acl, acl_type_t type);
lib/libc/posix1e/acl_support.h
62
int _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id,
lib/libc/posix1e/acl_to_text.c
236
acl_to_text_np(acl_t acl, ssize_t *len_p, int flags)
lib/libc/posix1e/acl_to_text.c
239
if (acl == NULL) {
lib/libc/posix1e/acl_to_text.c
244
switch (_acl_brand(acl)) {
lib/libc/posix1e/acl_to_text.c
246
return (_posix1e_acl_to_text(acl, len_p, flags));
lib/libc/posix1e/acl_to_text.c
248
return (_nfs4_acl_to_text_np(acl, len_p, flags));
lib/libc/posix1e/acl_to_text.c
256
acl_to_text(acl_t acl, ssize_t *len_p)
lib/libc/posix1e/acl_to_text.c
259
return (acl_to_text_np(acl, len_p, 0));
lib/libc/posix1e/acl_to_text.c
52
char *_nfs4_acl_to_text_np(const acl_t acl, ssize_t *len_p, int flags);
lib/libc/posix1e/acl_to_text.c
55
_posix1e_acl_to_text(acl_t acl, ssize_t *len_p, int flags)
lib/libc/posix1e/acl_to_text.c
57
struct acl *acl_int;
lib/libc/posix1e/acl_to_text.c
71
acl_int = &acl->ats_acl;
lib/libc/posix1e/acl_valid.c
102
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_valid.c
103
_posix1e_acl_sort(acl);
lib/libc/posix1e/acl_valid.c
105
return (__acl_aclcheck_link(pathp, type, &acl->ats_acl));
lib/libc/posix1e/acl_valid.c
109
acl_valid_fd_np(int fd, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_valid.c
112
if (acl == NULL) {
lib/libc/posix1e/acl_valid.c
117
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_valid.c
118
_posix1e_acl_sort(acl);
lib/libc/posix1e/acl_valid.c
120
acl->ats_cur_entry = 0;
lib/libc/posix1e/acl_valid.c
122
return (___acl_aclcheck_fd(fd, type, &acl->ats_acl));
lib/libc/posix1e/acl_valid.c
56
acl_valid(acl_t acl)
lib/libc/posix1e/acl_valid.c
60
if (acl == NULL) {
lib/libc/posix1e/acl_valid.c
64
if (!_acl_brand_may_be(acl, ACL_BRAND_POSIX)) {
lib/libc/posix1e/acl_valid.c
68
_posix1e_acl_sort(acl);
lib/libc/posix1e/acl_valid.c
69
error = _posix1e_acl_check(acl);
lib/libc/posix1e/acl_valid.c
79
acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_valid.c
82
if (pathp == NULL || acl == NULL) {
lib/libc/posix1e/acl_valid.c
87
if (_posix1e_acl(acl, type))
lib/libc/posix1e/acl_valid.c
88
_posix1e_acl_sort(acl);
lib/libc/posix1e/acl_valid.c
90
return (__acl_aclcheck_file(pathp, type, &acl->ats_acl));
lib/libc/posix1e/acl_valid.c
94
acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl)
lib/libc/posix1e/acl_valid.c
97
if (pathp == NULL || acl == NULL) {
lib/libsys/_libsys.h
24
struct acl;
lib/libsys/_libsys.h
261
typedef int (__sys___acl_get_file_t)(const char *, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
262
typedef int (__sys___acl_set_file_t)(const char *, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
263
typedef int (__sys___acl_get_fd_t)(int, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
264
typedef int (__sys___acl_set_fd_t)(int, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
267
typedef int (__sys___acl_aclcheck_file_t)(const char *, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
268
typedef int (__sys___acl_aclcheck_fd_t)(int, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
316
typedef int (__sys___acl_get_link_t)(const char *, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
317
typedef int (__sys___acl_set_link_t)(const char *, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
319
typedef int (__sys___acl_aclcheck_link_t)(const char *, __acl_type_t, struct acl *);
lib/libsys/_libsys.h
673
int __sys___acl_get_file(const char * path, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
674
int __sys___acl_set_file(const char * path, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
675
int __sys___acl_get_fd(int filedes, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
676
int __sys___acl_set_fd(int filedes, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
679
int __sys___acl_aclcheck_file(const char * path, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
680
int __sys___acl_aclcheck_fd(int filedes, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
728
int __sys___acl_get_link(const char * path, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
729
int __sys___acl_set_link(const char * path, __acl_type_t type, struct acl * aclp);
lib/libsys/_libsys.h
731
int __sys___acl_aclcheck_link(const char * path, __acl_type_t type, struct acl * aclp);
sbin/nvmecontrol/identify_ext.c
207
printf("Abort Command Limit: %d\n", cdata->acl+1);
sys/cddl/compat/opensolaris/kern/opensolaris_acl.c
100
acl_from_aces(struct acl *aclp, const ace_t *aces, int nentries)
sys/cddl/compat/opensolaris/kern/opensolaris_acl.c
170
aces_from_acl(ace_t *aces, int *nentries, const struct acl *aclp)
sys/dev/cxgbe/firmware/t4fw_interface.h
10850
} acl;
sys/dev/cxgbe/t4_sge.c
6655
be16toh(e->u.acl.cidx),
sys/dev/cxgbe/t4_sge.c
6656
G_FW_ERROR_CMD_PFN(be16toh(e->u.acl.pfn_vfn)),
sys/dev/cxgbe/t4_sge.c
6657
G_FW_ERROR_CMD_VFN(be16toh(e->u.acl.pfn_vfn)),
sys/dev/cxgbe/t4_sge.c
6658
be32toh(e->u.acl.eqid),
sys/dev/cxgbe/t4_sge.c
6659
G_FW_ERROR_CMD_MV(be16toh(e->u.acl.mv_pkd)) ? "vlanid" :
sys/dev/cxgbe/t4_sge.c
6661
for (i = 0; i < nitems(e->u.acl.val); i++)
sys/dev/cxgbe/t4_sge.c
6662
log(LOG_ERR, " %02x", e->u.acl.val[i]);
sys/dev/mlx5/mlx5_core/eswitch.h
86
struct mlx5_flow_table *acl;
sys/dev/mlx5/mlx5_core/eswitch.h
92
struct mlx5_flow_table *acl;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
607
struct mlx5_flow_table *acl;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
632
acl = mlx5_create_vport_flow_table(root_ns, &ft_attr, vport->vport);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
633
if (IS_ERR_OR_NULL(acl)) {
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
634
err = PTR_ERR(acl);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
647
vlan_grp = mlx5_create_flow_group(acl, flow_group_in);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
658
drop_grp = mlx5_create_flow_group(acl, flow_group_in);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
666
vport->egress.acl = acl;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
673
if (err && !IS_ERR_OR_NULL(acl))
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
674
mlx5_destroy_flow_table(acl);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
687
if (IS_ERR_OR_NULL(vport->egress.acl))
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
695
mlx5_destroy_flow_table(vport->egress.acl);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
698
vport->egress.acl = NULL;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
708
struct mlx5_flow_table *acl;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
734
acl = mlx5_create_vport_flow_table(root_ns, &ft_attr, vport->vport);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
735
if (IS_ERR_OR_NULL(acl)) {
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
736
err = PTR_ERR(acl);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
748
g = mlx5_create_flow_group(acl, flow_group_in);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
756
vport->ingress.acl = acl;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
760
if (err && !IS_ERR_OR_NULL(acl))
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
761
mlx5_destroy_flow_table(acl);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
773
if (IS_ERR_OR_NULL(vport->ingress.acl))
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
780
mlx5_destroy_flow_table(vport->ingress.acl);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
781
vport->ingress.acl = NULL;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
792
if (IS_ERR_OR_NULL(vport->ingress.acl)) {
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
821
mlx5_add_flow_rules(vport->ingress.acl, spec,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
840
if (IS_ERR_OR_NULL(vport->egress.acl)) {
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
873
mlx5_add_flow_rules(vport->egress.acl, spec,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
884
mlx5_add_flow_rules(vport->egress.acl, NULL,
sys/dev/nvme/nvme.h
1230
uint8_t acl;
sys/dev/nvmf/controller/nvmft_subr.c
167
cdata->acl = 3;
sys/dev/sound/pci/envy24.c
109
uint8_t scfg, acl, i2s, spdif;
sys/dev/sound/pci/envy24.c
2322
if ((sc->cfg->acl & PCIM_ACL_MTC) == 0) {
sys/dev/sound/pci/envy24.c
2324
if (sc->cfg->acl & PCIM_ACL_OMODE)
sys/dev/sound/pci/envy24.c
2329
if (sc->cfg->acl & PCIM_ACL_IMODE)
sys/dev/sound/pci/envy24.c
2424
pci_write_config(sc->dev, PCIR_ACL, sc->cfg->acl, 1);
sys/dev/sound/pci/envy24.c
608
buff->acl = envy24_rdrom(sc, ENVY24_E2PROM_ACL);
sys/dev/sound/pci/envy24ht.c
118
uint8_t scfg, acl, i2s, spdif;
sys/dev/sound/pci/envy24ht.c
2227
if ((sc->cfg->acl & ENVY24HT_CCSM_ACL_MTC) == 0) {
sys/dev/sound/pci/envy24ht.c
2229
if (sc->cfg->acl & ENVY24HT_CCSM_ACL_OMODE)
sys/dev/sound/pci/envy24ht.c
2331
envy24ht_wrcs(sc, ENVY24HT_CCS_ACL, sc->cfg->acl, 1);
sys/dev/sound/pci/envy24ht.c
644
buff->acl = 0x80;
sys/dev/sound/pci/envy24ht.c
683
buff->acl = envy24ht_rdrom(sc, ENVY24HT_E2PROM_ACL);
sys/fs/ext2fs/ext2_acl.c
119
ext2_sync_inode_from_acl(struct acl *acl, struct inode *ip)
sys/fs/ext2fs/ext2_acl.c
123
ip->i_mode |= acl_posix1e_acl_to_mode(acl);
sys/fs/ext2fs/ext2_acl.c
130
ext4_acl_from_disk(char *value, size_t size, struct acl *acl)
sys/fs/ext2fs/ext2_acl.c
161
if (count <= 0 || count > acl->acl_maxcnt)
sys/fs/ext2fs/ext2_acl.c
171
acl->acl_entry[n].ae_tag = entry->ae_tag;
sys/fs/ext2fs/ext2_acl.c
172
acl->acl_entry[n].ae_perm = entry->ae_perm;
sys/fs/ext2fs/ext2_acl.c
174
switch (acl->acl_entry[n].ae_tag) {
sys/fs/ext2fs/ext2_acl.c
187
acl->acl_entry[n].ae_id = entry->ae_id;
sys/fs/ext2fs/ext2_acl.c
195
acl->acl_entry[n].ae_id = entry->ae_id;
sys/fs/ext2fs/ext2_acl.c
206
acl->acl_cnt = count;
sys/fs/ext2fs/ext2_acl.c
295
ext4_acl_to_disk(const struct acl *acl, size_t *size, char *value)
sys/fs/ext2fs/ext2_acl.c
302
if (acl->acl_cnt <= 4)
sys/fs/ext2fs/ext2_acl.c
304
acl->acl_cnt * sizeof(struct ext2_acl_entry_short);
sys/fs/ext2fs/ext2_acl.c
308
(acl->acl_cnt - 4) * sizeof(struct ext2_acl_entry);
sys/fs/ext2fs/ext2_acl.c
318
for (n = 0; n < acl->acl_cnt; n++) {
sys/fs/ext2fs/ext2_acl.c
319
const struct acl_entry *acl_e = &acl->acl_entry[n];
sys/fs/ext2fs/ext2_acl.c
55
ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl)
sys/fs/ext2fs/ext2_acl.c
67
for (i = 0; i < acl->acl_cnt; i++) {
sys/fs/ext2fs/ext2_acl.c
68
switch (acl->acl_entry[i].ae_tag) {
sys/fs/ext2fs/ext2_acl.c
70
acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm(
sys/fs/ext2fs/ext2_acl.c
72
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/fs/ext2fs/ext2_acl.c
76
acl_group_obj = &acl->acl_entry[i];
sys/fs/ext2fs/ext2_acl.c
77
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/fs/ext2fs/ext2_acl.c
81
acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm(
sys/fs/ext2fs/ext2_acl.c
83
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/fs/ext2fs/ext2_acl.c
87
acl_mask = &acl->acl_entry[i];
sys/fs/ext2fs/ext2_acl.c
88
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/fs/ext2fs/ext2_acl.h
49
void ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl);
sys/fs/ext2fs/ext2_vnops.c
1158
struct acl *dacl, *acl;
sys/fs/ext2fs/ext2_vnops.c
1160
acl = acl_alloc(M_WAITOK);
sys/fs/ext2fs/ext2_vnops.c
1166
error = VOP_GETACL(dvp, ACL_TYPE_DEFAULT, acl, cred, td);
sys/fs/ext2fs/ext2_vnops.c
1174
if (acl->acl_cnt != 0) {
sys/fs/ext2fs/ext2_vnops.c
1175
dmode = acl_posix1e_newfilemode(dmode, acl);
sys/fs/ext2fs/ext2_vnops.c
1177
*dacl = *acl;
sys/fs/ext2fs/ext2_vnops.c
1178
ext2_sync_acl_from_inode(ip, acl);
sys/fs/ext2fs/ext2_vnops.c
1195
error = VOP_SETACL(tvp, ACL_TYPE_ACCESS, acl, cred, td);
sys/fs/ext2fs/ext2_vnops.c
1217
acl_free(acl);
sys/fs/ext2fs/ext2_vnops.c
1229
struct acl *acl;
sys/fs/ext2fs/ext2_vnops.c
1231
acl = acl_alloc(M_WAITOK);
sys/fs/ext2fs/ext2_vnops.c
1236
error = VOP_GETACL(dvp, ACL_TYPE_DEFAULT, acl, cred, td);
sys/fs/ext2fs/ext2_vnops.c
1243
if (acl->acl_cnt != 0) {
sys/fs/ext2fs/ext2_vnops.c
1251
mode = acl_posix1e_newfilemode(mode, acl);
sys/fs/ext2fs/ext2_vnops.c
1253
ext2_sync_acl_from_inode(ip, acl);
sys/fs/ext2fs/ext2_vnops.c
1270
error = VOP_SETACL(tvp, ACL_TYPE_ACCESS, acl, cred, td);
sys/fs/ext2fs/ext2_vnops.c
1291
acl_free(acl);
sys/fs/nfs/nfsport.h
127
#define NFSACL_T struct acl
sys/fs/nfsclient/nfs_clrpcops.c
150
struct acl *, acl_type_t, nfsv4stateid_t *);
sys/fs/nfsclient/nfs_clrpcops.c
5381
NFSPROC_T *p, struct acl *aclp)
sys/fs/nfsclient/nfs_clrpcops.c
5428
NFSPROC_T *p, struct acl *aclp)
sys/fs/nfsclient/nfs_clrpcops.c
5455
struct acl *aclp, acl_type_t aclt, nfsv4stateid_t *stateidp)
sys/fs/nfsclient/nfs_clstate.c
6033
struct acl *aclp;
sys/fs/nfsserver/nfs_nfsdport.c
147
struct nfsvattr *, struct acl *, off_t *, int, bool *);
sys/fs/nfsserver/nfs_nfsdport.c
161
struct vnode *, struct nfsmount **, int, struct acl *, int *);
sys/fs/nfsserver/nfs_nfsdport.c
181
static int nfsrv_dssetacl(struct vnode *, struct acl *, struct ucred *,
sys/fs/nfsserver/nfs_nfsdport.c
5809
nfsrv_dssetacl(struct vnode *vp, struct acl *aclp, struct ucred *cred,
sys/fs/nfsserver/nfs_nfsdport.c
5822
struct mbuf **mpp2, struct nfsvattr *nap, struct acl *aclp,
sys/fs/nfsserver/nfs_nfsdport.c
7469
struct vnode *vp, struct nfsmount *nmp, struct acl *aclp)
sys/fs/nfsserver/nfs_nfsdport.c
7523
struct acl *aclp;
sys/fs/nfsserver/nfs_nfsdport.c
7543
struct vnode *vp, struct nfsmount **nmpp, int mirrorcnt, struct acl *aclp,
sys/fs/nfsserver/nfs_nfsdstate.c
8161
struct acl *aclp;
sys/kern/subr_acl_nfs4.c
1007
acl_nfs4_inherit_entries(const struct acl *parent_aclp,
sys/kern/subr_acl_nfs4.c
1008
struct acl *child_aclp, mode_t mode, int file_owner_id,
sys/kern/subr_acl_nfs4.c
109
_acl_denies(const struct acl *aclp, int access_mask, struct ucred *cred,
sys/kern/subr_acl_nfs4.c
1127
acl_nfs4_compute_inherited_acl_psarc(const struct acl *parent_aclp,
sys/kern/subr_acl_nfs4.c
1128
struct acl *aclp, mode_t mode, int file_owner_id, int is_directory)
sys/kern/subr_acl_nfs4.c
1186
acl_nfs4_compute_inherited_acl(const struct acl *parent_aclp,
sys/kern/subr_acl_nfs4.c
1187
struct acl *child_aclp, mode_t mode, int file_owner_id,
sys/kern/subr_acl_nfs4.c
1207
acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode)
sys/kern/subr_acl_nfs4.c
1220
acl_nfs4_trivial_from_mode_libc(struct acl *aclp, int mode, int canonical_six)
sys/kern/subr_acl_nfs4.c
1233
_acls_are_equal(const struct acl *a, const struct acl *b)
sys/kern/subr_acl_nfs4.c
1261
acl_nfs4_is_trivial(const struct acl *aclp, int file_owner_id)
sys/kern/subr_acl_nfs4.c
1265
struct acl *tmpaclp;
sys/kern/subr_acl_nfs4.c
1303
acl_nfs4_check(const struct acl *aclp, int is_directory)
sys/kern/subr_acl_nfs4.c
172
struct acl *aclp, accmode_t accmode, struct ucred *cred)
sys/kern/subr_acl_nfs4.c
321
_acl_append(struct acl *aclp, acl_tag_t tag, acl_perm_t perm,
sys/kern/subr_acl_nfs4.c
342
_acl_duplicate_entry(struct acl *aclp, unsigned entry_index)
sys/kern/subr_acl_nfs4.c
358
acl_nfs4_sync_acl_from_mode_draft(struct acl *aclp, mode_t mode,
sys/kern/subr_acl_nfs4.c
59
static void acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode);
sys/kern/subr_acl_nfs4.c
705
acl_nfs4_sync_acl_from_mode(struct acl *aclp, mode_t mode,
sys/kern/subr_acl_nfs4.c
717
acl_nfs4_sync_mode_from_acl(mode_t *_mode, const struct acl *aclp)
sys/kern/subr_acl_nfs4.c
844
acl_nfs4_compute_inherited_acl_draft(const struct acl *parent_aclp,
sys/kern/subr_acl_nfs4.c
845
struct acl *child_aclp, mode_t mode, int file_owner_id,
sys/kern/subr_acl_posix1e.c
119
for (i = 0; i < acl->acl_cnt; i++) {
sys/kern/subr_acl_posix1e.c
120
switch (acl->acl_entry[i].ae_tag) {
sys/kern/subr_acl_posix1e.c
126
if (acl->acl_entry[i].ae_perm & ACL_EXECUTE)
sys/kern/subr_acl_posix1e.c
128
if (acl->acl_entry[i].ae_perm & ACL_READ)
sys/kern/subr_acl_posix1e.c
130
if (acl->acl_entry[i].ae_perm & ACL_WRITE)
sys/kern/subr_acl_posix1e.c
145
acl_mask = &acl->acl_entry[i];
sys/kern/subr_acl_posix1e.c
149
acl_other = &acl->acl_entry[i];
sys/kern/subr_acl_posix1e.c
194
for (i = 0; i < acl->acl_cnt; i++) {
sys/kern/subr_acl_posix1e.c
195
switch (acl->acl_entry[i].ae_tag) {
sys/kern/subr_acl_posix1e.c
197
if (acl->acl_entry[i].ae_id != cred->cr_uid)
sys/kern/subr_acl_posix1e.c
200
if (acl->acl_entry[i].ae_perm & ACL_EXECUTE)
sys/kern/subr_acl_posix1e.c
202
if (acl->acl_entry[i].ae_perm & ACL_READ)
sys/kern/subr_acl_posix1e.c
204
if (acl->acl_entry[i].ae_perm & ACL_WRITE)
sys/kern/subr_acl_posix1e.c
228
for (i = 0; i < acl->acl_cnt; i++) {
sys/kern/subr_acl_posix1e.c
229
switch (acl->acl_entry[i].ae_tag) {
sys/kern/subr_acl_posix1e.c
234
if (acl->acl_entry[i].ae_perm & ACL_EXECUTE)
sys/kern/subr_acl_posix1e.c
236
if (acl->acl_entry[i].ae_perm & ACL_READ)
sys/kern/subr_acl_posix1e.c
238
if (acl->acl_entry[i].ae_perm & ACL_WRITE)
sys/kern/subr_acl_posix1e.c
249
if (!groupmember(acl->acl_entry[i].ae_id, cred))
sys/kern/subr_acl_posix1e.c
252
if (acl->acl_entry[i].ae_perm & ACL_EXECUTE)
sys/kern/subr_acl_posix1e.c
254
if (acl->acl_entry[i].ae_perm & ACL_READ)
sys/kern/subr_acl_posix1e.c
256
if (acl->acl_entry[i].ae_perm & ACL_WRITE)
sys/kern/subr_acl_posix1e.c
276
for (i = 0; i < acl->acl_cnt; i++) {
sys/kern/subr_acl_posix1e.c
277
switch (acl->acl_entry[i].ae_tag) {
sys/kern/subr_acl_posix1e.c
282
if (acl->acl_entry[i].ae_perm & ACL_EXECUTE)
sys/kern/subr_acl_posix1e.c
284
if (acl->acl_entry[i].ae_perm & ACL_READ)
sys/kern/subr_acl_posix1e.c
286
if (acl->acl_entry[i].ae_perm & ACL_WRITE)
sys/kern/subr_acl_posix1e.c
300
if (!groupmember(acl->acl_entry[i].ae_id,
sys/kern/subr_acl_posix1e.c
304
if (acl->acl_entry[i].ae_perm & ACL_EXECUTE)
sys/kern/subr_acl_posix1e.c
306
if (acl->acl_entry[i].ae_perm & ACL_READ)
sys/kern/subr_acl_posix1e.c
308
if (acl->acl_entry[i].ae_perm & ACL_WRITE)
sys/kern/subr_acl_posix1e.c
472
acl_posix1e_acl_to_mode(struct acl *acl)
sys/kern/subr_acl_posix1e.c
481
for (i = 0; i < acl->acl_cnt; i++) {
sys/kern/subr_acl_posix1e.c
482
switch (acl->acl_entry[i].ae_tag) {
sys/kern/subr_acl_posix1e.c
484
acl_user_obj = &acl->acl_entry[i];
sys/kern/subr_acl_posix1e.c
488
acl_group_obj = &acl->acl_entry[i];
sys/kern/subr_acl_posix1e.c
492
acl_other = &acl->acl_entry[i];
sys/kern/subr_acl_posix1e.c
496
acl_mask = &acl->acl_entry[i];
sys/kern/subr_acl_posix1e.c
530
acl_posix1e_check(struct acl *acl)
sys/kern/subr_acl_posix1e.c
555
if (acl->acl_cnt > ACL_MAX_ENTRIES)
sys/kern/subr_acl_posix1e.c
557
for (i = 0; i < acl->acl_cnt; i++) {
sys/kern/subr_acl_posix1e.c
561
switch(acl->acl_entry[i].ae_tag) {
sys/kern/subr_acl_posix1e.c
563
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID; /* XXX */
sys/kern/subr_acl_posix1e.c
564
if (acl->acl_entry[i].ae_id != ACL_UNDEFINED_ID)
sys/kern/subr_acl_posix1e.c
569
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID; /* XXX */
sys/kern/subr_acl_posix1e.c
57
struct acl *acl, accmode_t accmode, struct ucred *cred)
sys/kern/subr_acl_posix1e.c
570
if (acl->acl_entry[i].ae_id != ACL_UNDEFINED_ID)
sys/kern/subr_acl_posix1e.c
575
if (acl->acl_entry[i].ae_id == ACL_UNDEFINED_ID)
sys/kern/subr_acl_posix1e.c
580
if (acl->acl_entry[i].ae_id == ACL_UNDEFINED_ID)
sys/kern/subr_acl_posix1e.c
585
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID; /* XXX */
sys/kern/subr_acl_posix1e.c
586
if (acl->acl_entry[i].ae_id != ACL_UNDEFINED_ID)
sys/kern/subr_acl_posix1e.c
591
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID; /* XXX */
sys/kern/subr_acl_posix1e.c
592
if (acl->acl_entry[i].ae_id != ACL_UNDEFINED_ID)
sys/kern/subr_acl_posix1e.c
602
if ((acl->acl_entry[i].ae_perm | ACL_PERM_BITS) !=
sys/kern/subr_acl_posix1e.c
623
acl_posix1e_newfilemode(mode_t cmode, struct acl *dacl)
sys/kern/subr_acl_posix1e.c
96
if ((accmode & VEXEC) && (acl_posix1e_acl_to_mode(acl) &
sys/kern/vfs_acl.c
104
acl_copy_acl_into_oldacl(const struct acl *source, struct oldacl *dest)
sys/kern/vfs_acl.c
137
acl_copyin(const void *user_acl, struct acl *kernel_acl, acl_type_t type)
sys/kern/vfs_acl.c
161
acl_copyout(const struct acl *kernel_acl, void *user_acl, acl_type_t type)
sys/kern/vfs_acl.c
179
offsetof(struct acl, acl_maxcnt), &am);
sys/kern/vfs_acl.c
225
const struct acl *aclp)
sys/kern/vfs_acl.c
227
struct acl *inkernelacl;
sys/kern/vfs_acl.c
263
struct acl *aclp)
sys/kern/vfs_acl.c
265
struct acl *inkernelacl;
sys/kern/vfs_acl.c
326
const struct acl *aclp)
sys/kern/vfs_acl.c
328
struct acl *inkernelacl;
sys/kern/vfs_acl.c
371
struct acl *aclp, int follow)
sys/kern/vfs_acl.c
410
acl_type_t type, const struct acl *aclp, int follow)
sys/kern/vfs_acl.c
545
struct acl *aclp, int follow)
sys/kern/vfs_acl.c
580
struct acl *
sys/kern/vfs_acl.c
583
struct acl *aclp;
sys/kern/vfs_acl.c
595
acl_free(struct acl *aclp)
sys/kern/vfs_acl.c
67
acl_type_t type, struct acl *aclp, int follow);
sys/kern/vfs_acl.c
71
acl_type_t type, struct acl *aclp, int follow);
sys/kern/vfs_acl.c
73
acl_type_t type, const struct acl *aclp, int follow);
sys/kern/vfs_acl.c
75
acl_type_t type, const struct acl *aclp);
sys/kern/vfs_acl.c
77
acl_type_t type, struct acl *aclp);
sys/kern/vfs_acl.c
79
acl_type_t type, const struct acl *aclp);
sys/kern/vfs_acl.c
82
acl_copy_oldacl_into_acl(const struct oldacl *source, struct acl *dest)
sys/net80211/ieee80211_acl.c
130
static __inline struct acl *
sys/net80211/ieee80211_acl.c
133
struct acl *acl;
sys/net80211/ieee80211_acl.c
137
LIST_FOREACH(acl, &as->as_hash[hash], acl_hash) {
sys/net80211/ieee80211_acl.c
138
if (IEEE80211_ADDR_EQ(acl->acl_macaddr, macaddr))
sys/net80211/ieee80211_acl.c
139
return acl;
sys/net80211/ieee80211_acl.c
145
_acl_free(struct aclstate *as, struct acl *acl)
sys/net80211/ieee80211_acl.c
149
TAILQ_REMOVE(&as->as_list, acl, acl_list);
sys/net80211/ieee80211_acl.c
150
LIST_REMOVE(acl, acl_hash);
sys/net80211/ieee80211_acl.c
151
IEEE80211_FREE(acl, M_80211_ACL);
sys/net80211/ieee80211_acl.c
176
struct acl *acl, *new;
sys/net80211/ieee80211_acl.c
179
new = (struct acl *) IEEE80211_MALLOC(sizeof(struct acl),
sys/net80211/ieee80211_acl.c
190
LIST_FOREACH(acl, &as->as_hash[hash], acl_hash) {
sys/net80211/ieee80211_acl.c
191
if (IEEE80211_ADDR_EQ(acl->acl_macaddr, mac)) {
sys/net80211/ieee80211_acl.c
215
struct acl *acl;
sys/net80211/ieee80211_acl.c
218
acl = _find_acl(as, mac);
sys/net80211/ieee80211_acl.c
219
if (acl != NULL)
sys/net80211/ieee80211_acl.c
220
_acl_free(as, acl);
sys/net80211/ieee80211_acl.c
225
acl == NULL ? ", not present" : "");
sys/net80211/ieee80211_acl.c
227
return (acl == NULL ? ENOENT : 0);
sys/net80211/ieee80211_acl.c
234
struct acl *acl;
sys/net80211/ieee80211_acl.c
239
while ((acl = TAILQ_FIRST(&as->as_list)) != NULL)
sys/net80211/ieee80211_acl.c
240
_acl_free(as, acl);
sys/net80211/ieee80211_acl.c
292
struct acl *acl;
sys/net80211/ieee80211_acl.c
313
TAILQ_FOREACH(acl, &as->as_list, acl_list) {
sys/net80211/ieee80211_acl.c
314
IEEE80211_ADDR_COPY(ap[i].ml_macaddr, acl->acl_macaddr);
sys/net80211/ieee80211_acl.c
74
TAILQ_ENTRY(acl) acl_list;
sys/net80211/ieee80211_acl.c
75
LIST_ENTRY(acl) acl_hash;
sys/net80211/ieee80211_acl.c
82
TAILQ_HEAD(, acl) as_list; /* list of all ACL's */
sys/net80211/ieee80211_acl.c
83
LIST_HEAD(, acl) as_hash[ACL_HASHSIZE];
sys/net80211/ieee80211_freebsd.h
473
_IEEE80211_POLICY_MODULE(acl, name, version); \
sys/net80211/ieee80211_ioctl.c
1668
const struct ieee80211_aclator *acl = vap->iv_acl;
sys/net80211/ieee80211_ioctl.c
1676
if (acl == NULL) {
sys/net80211/ieee80211_ioctl.c
1677
acl = ieee80211_aclator_get("mac");
sys/net80211/ieee80211_ioctl.c
1678
if (acl == NULL || !acl->iac_attach(vap))
sys/net80211/ieee80211_ioctl.c
1680
vap->iv_acl = acl;
sys/net80211/ieee80211_ioctl.c
1683
acl->iac_add(vap, mac);
sys/net80211/ieee80211_ioctl.c
1685
acl->iac_remove(vap, mac);
sys/net80211/ieee80211_ioctl.c
1692
const struct ieee80211_aclator *acl = vap->iv_acl;
sys/net80211/ieee80211_ioctl.c
1699
if (acl == NULL) {
sys/net80211/ieee80211_ioctl.c
1700
acl = ieee80211_aclator_get("mac");
sys/net80211/ieee80211_ioctl.c
1701
if (acl == NULL || !acl->iac_attach(vap))
sys/net80211/ieee80211_ioctl.c
1703
vap->iv_acl = acl;
sys/net80211/ieee80211_ioctl.c
1705
acl->iac_setpolicy(vap, ireq->i_val);
sys/net80211/ieee80211_ioctl.c
1708
if (acl != NULL)
sys/net80211/ieee80211_ioctl.c
1709
acl->iac_flush(vap);
sys/net80211/ieee80211_ioctl.c
1713
if (acl != NULL) {
sys/net80211/ieee80211_ioctl.c
1715
acl->iac_detach(vap);
sys/net80211/ieee80211_ioctl.c
1719
if (acl == NULL)
sys/net80211/ieee80211_ioctl.c
1722
return acl->iac_setioctl(vap, ireq);
sys/net80211/ieee80211_ioctl.c
593
const struct ieee80211_aclator *acl = vap->iv_acl;
sys/net80211/ieee80211_ioctl.c
595
return (acl == NULL ? EINVAL : acl->iac_getioctl(vap, ireq));
sys/net80211/ieee80211_proto.c
502
static const struct ieee80211_aclator *acl = NULL;
sys/net80211/ieee80211_proto.c
508
acl = iac;
sys/net80211/ieee80211_proto.c
514
if (acl == iac)
sys/net80211/ieee80211_proto.c
515
acl = NULL;
sys/net80211/ieee80211_proto.c
522
if (acl == NULL)
sys/net80211/ieee80211_proto.c
524
return acl != NULL && strcmp(acl->iac_name, name) == 0 ? acl : NULL;
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
718
ng_hci_node_is_up(unit->node, unit->acl, NULL, 0);
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
734
ng_hci_node_is_up(unit->node, unit->acl, NULL, 0);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
359
hook = (con->link_type != NG_HCI_LINK_SCO)? unit->acl : unit->sco;
sys/netgraph/bluetooth/hci/ng_hci_main.c
222
h = &unit->acl;
sys/netgraph/bluetooth/hci/ng_hci_main.c
248
if (hook == unit->acl) {
sys/netgraph/bluetooth/hci/ng_hci_main.c
275
if (hook == unit->acl)
sys/netgraph/bluetooth/hci/ng_hci_main.c
276
unit->acl = NULL;
sys/netgraph/bluetooth/hci/ng_hci_main.c
374
(unit->acl != NULL)? NG_HCI_HOOK_ACL : "",
sys/netgraph/bluetooth/hci/ng_hci_main.c
413
ng_hci_node_is_up(unit->node, unit->acl, NULL, 0);
sys/netgraph/bluetooth/hci/ng_hci_main.c
803
unit->acl == NULL || NG_HOOK_NOT_VALID(unit->acl)) {
sys/netgraph/bluetooth/hci/ng_hci_main.c
807
unit->state, unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_main.c
811
NG_FWD_ITEM_HOOK(error, item, unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
100
if (hook != unit->acl && hook != unit->sco)
sys/netgraph/bluetooth/hci/ng_hci_misc.c
107
if (hook == unit->acl) {
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1031
if (hook == unit->acl)
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1067
if (hook == unit->acl)
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1107
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1118
NG_SEND_MSG_HOOK(error,unit->node,msg,unit->acl,0);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1122
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1240
if (hook == unit->acl)
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1271
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1280
unit->acl, 0);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1285
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1330
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1339
NG_SEND_MSG_HOOK(error, unit->node, msg, unit->acl, 0);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1343
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
171
if (hook == unit->acl)
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
295
if (hook == unit->acl)
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
770
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
782
unit->acl, 0);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
787
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
810
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
827
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
837
unit->acl, 0);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
842
__func__, NG_NODE_NAME(unit->node), unit->acl);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
866
hook = unit->acl;
sys/netgraph/bluetooth/hci/ng_hci_var.h
159
hook_p acl; /* upstream hook */
sys/security/mac/mac_framework.h
659
acl_type_t type, struct acl *acl);
sys/security/mac/mac_policy.h
689
struct acl *acl);
sys/security/mac/mac_policy.h
69
struct acl;
sys/security/mac/mac_vfs.c
839
struct acl *acl)
sys/security/mac/mac_vfs.c
845
MAC_POLICY_CHECK(vnode_check_setacl, cred, vp, vp->v_label, type, acl);
sys/security/mac/mac_vfs.c
846
MAC_CHECK_PROBE4(vnode_check_setacl, error, cred, vp, type, acl);
sys/security/mac_biba/mac_biba.c
3337
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_bsdextended/ugidfw_internal.h
96
struct label *vplabel, acl_type_t type, struct acl *acl);
sys/security/mac_bsdextended/ugidfw_vnode.c
228
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_lomac/mac_lomac.c
2631
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_mls/mac_mls.c
2966
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_stub/mac_stub.c
1676
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_test/mac_test.c
3004
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/sys/acl.h
131
struct acl ats_acl;
sys/sys/acl.h
296
mode_t acl_posix1e_acl_to_mode(struct acl *acl);
sys/sys/acl.h
298
struct acl *dacl);
sys/sys/acl.h
299
struct acl *acl_alloc(int flags);
sys/sys/acl.h
300
void acl_free(struct acl *aclp);
sys/sys/acl.h
302
void acl_nfs4_sync_acl_from_mode(struct acl *aclp,
sys/sys/acl.h
305
const struct acl *aclp);
sys/sys/acl.h
306
int acl_nfs4_is_trivial(const struct acl *aclp,
sys/sys/acl.h
309
const struct acl *parent_aclp,
sys/sys/acl.h
310
struct acl *child_aclp, mode_t mode,
sys/sys/acl.h
313
struct acl *dest);
sys/sys/acl.h
314
int __result_use_check acl_copy_acl_into_oldacl(const struct acl *source,
sys/sys/acl.h
324
int acl_posix1e_check(struct acl *acl);
sys/sys/acl.h
325
int acl_nfs4_check(const struct acl *aclp, int is_directory);
sys/sys/acl.h
336
int __acl_aclcheck_fd(int _filedes, acl_type_t _type, struct acl *_aclp);
sys/sys/acl.h
338
struct acl *_aclp);
sys/sys/acl.h
340
struct acl *_aclp);
sys/sys/acl.h
344
int __acl_get_fd(int _filedes, acl_type_t _type, struct acl *_aclp);
sys/sys/acl.h
345
int __acl_get_file(const char *_path, acl_type_t _type, struct acl *_aclp);
sys/sys/acl.h
346
int __acl_get_link(const char *_path, acl_type_t _type, struct acl *_aclp);
sys/sys/acl.h
347
int __acl_set_fd(int _filedes, acl_type_t _type, struct acl *_aclp);
sys/sys/acl.h
348
int __acl_set_file(const char *_path, acl_type_t _type, struct acl *_aclp);
sys/sys/acl.h
349
int __acl_set_link(const char *_path, acl_type_t _type, struct acl *_aclp);
sys/sys/sysproto.h
1126
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
1131
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
1140
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
867
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
872
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
877
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
882
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
895
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/sysproto.h
900
char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
sys/sys/vnode.h
740
struct acl *aclp, accmode_t accmode, struct ucred *cred);
sys/sys/vnode.h
742
gid_t file_gid, struct acl *acl, accmode_t accmode,
sys/ufs/ufs/acl.h
42
int ufs_getacl_nfs4_internal(struct vnode *vp, struct acl *aclp,
sys/ufs/ufs/acl.h
44
int ufs_setacl_nfs4_internal(struct vnode *vp, struct acl *aclp,
sys/ufs/ufs/acl.h
46
void ufs_sync_acl_from_inode(struct inode *ip, struct acl *acl);
sys/ufs/ufs/acl.h
47
void ufs_sync_inode_from_acl(struct acl *acl, struct inode *ip);
sys/ufs/ufs/ufs_acl.c
101
acl_mask = &acl->acl_entry[i];
sys/ufs/ufs/ufs_acl.c
102
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/ufs/ufs/ufs_acl.c
138
ufs_sync_inode_from_acl(struct acl *acl, struct inode *ip)
sys/ufs/ufs/ufs_acl.c
143
newmode |= acl_posix1e_acl_to_mode(acl);
sys/ufs/ufs/ufs_acl.c
155
ufs_getacl_nfs4_internal(struct vnode *vp, struct acl *aclp, struct thread *td)
sys/ufs/ufs/ufs_acl.c
374
ufs_setacl_nfs4_internal(struct vnode *vp, struct acl *aclp, struct thread *td)
sys/ufs/ufs/ufs_acl.c
69
ufs_sync_acl_from_inode(struct inode *ip, struct acl *acl)
sys/ufs/ufs/ufs_acl.c
81
for (i = 0; i < acl->acl_cnt; i++) {
sys/ufs/ufs/ufs_acl.c
82
switch (acl->acl_entry[i].ae_tag) {
sys/ufs/ufs/ufs_acl.c
84
acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm(
sys/ufs/ufs/ufs_acl.c
86
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/ufs/ufs/ufs_acl.c
90
acl_group_obj = &acl->acl_entry[i];
sys/ufs/ufs/ufs_acl.c
91
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/ufs/ufs/ufs_acl.c
95
acl->acl_entry[i].ae_perm = acl_posix1e_mode_to_perm(
sys/ufs/ufs/ufs_acl.c
97
acl->acl_entry[i].ae_id = ACL_UNDEFINED_ID;
sys/ufs/ufs/ufs_vnops.c
1830
struct acl *dacl, *acl;
sys/ufs/ufs/ufs_vnops.c
1832
acl = acl_alloc(M_WAITOK);
sys/ufs/ufs/ufs_vnops.c
1838
error = VOP_GETACL(dvp, ACL_TYPE_DEFAULT, acl, cred, td);
sys/ufs/ufs/ufs_vnops.c
1846
if (acl->acl_cnt != 0) {
sys/ufs/ufs/ufs_vnops.c
1847
dmode = acl_posix1e_newfilemode(dmode, acl);
sys/ufs/ufs/ufs_vnops.c
1850
*dacl = *acl;
sys/ufs/ufs/ufs_vnops.c
1851
ufs_sync_acl_from_inode(ip, acl);
sys/ufs/ufs/ufs_vnops.c
1873
error = VOP_SETACL(tvp, ACL_TYPE_ACCESS, acl, cred, td);
sys/ufs/ufs/ufs_vnops.c
1896
acl_free(acl);
sys/ufs/ufs/ufs_vnops.c
1908
struct acl *acl;
sys/ufs/ufs/ufs_vnops.c
1910
acl = acl_alloc(M_WAITOK);
sys/ufs/ufs/ufs_vnops.c
1915
error = VOP_GETACL(dvp, ACL_TYPE_DEFAULT, acl, cred, td);
sys/ufs/ufs/ufs_vnops.c
1922
if (acl->acl_cnt != 0) {
sys/ufs/ufs/ufs_vnops.c
1930
mode = acl_posix1e_newfilemode(mode, acl);
sys/ufs/ufs/ufs_vnops.c
1933
ufs_sync_acl_from_inode(ip, acl);
sys/ufs/ufs/ufs_vnops.c
1955
error = VOP_SETACL(tvp, ACL_TYPE_ACCESS, acl, cred, td);
sys/ufs/ufs/ufs_vnops.c
1976
acl_free(acl);
sys/ufs/ufs/ufs_vnops.c
1986
struct acl *parent_aclp, *child_aclp;
sys/ufs/ufs/ufs_vnops.c
382
struct acl *acl;
sys/ufs/ufs/ufs_vnops.c
433
acl = acl_alloc(M_WAITOK);
sys/ufs/ufs/ufs_vnops.c
435
error = ufs_getacl_nfs4_internal(vp, acl, ap->a_td);
sys/ufs/ufs/ufs_vnops.c
437
error = VOP_GETACL(vp, type, acl, ap->a_cred, ap->a_td);
sys/ufs/ufs/ufs_vnops.c
442
ip->i_gid, acl, accmode, ap->a_cred);
sys/ufs/ufs/ufs_vnops.c
447
ip->i_gid, acl, accmode, ap->a_cred);
sys/ufs/ufs/ufs_vnops.c
465
acl_free(acl);
sys/ufs/ufs/ufs_vnops.c
816
struct acl *aclp;
tests/sys/acl/acl-api-test.c
101
acl_t acl;
tests/sys/acl/acl-api-test.c
106
acl = acl_init(1);
tests/sys/acl/acl-api-test.c
107
ATF_REQUIRE(acl != NULL);
tests/sys/acl/acl-api-test.c
110
ATF_CHECK_EQ(0, acl_equiv_mode_np(acl, &mode));
tests/sys/acl/acl-api-test.c
115
ATF_REQUIRE_EQ(0, acl_create_entry(&acl, &entry));
tests/sys/acl/acl-api-test.c
117
ATF_CHECK_EQ(1, acl_equiv_mode_np(acl, &mode));
tests/sys/acl/acl-api-test.c
121
acl_free(acl);
tests/sys/acl/acl-api-test.c
122
acl = acl_init(1);
tests/sys/acl/acl-api-test.c
123
ATF_REQUIRE(acl != NULL);
tests/sys/acl/acl-api-test.c
124
ATF_REQUIRE_EQ(0, acl_create_entry(&acl, &entry));
tests/sys/acl/acl-api-test.c
127
ATF_CHECK_EQ(1, acl_equiv_mode_np(acl, &mode));
tests/sys/acl/acl-api-test.c
81
acl_t acl;
tests/sys/acl/acl-api-test.c
85
acl = acl_from_mode_np(src_mode);
tests/sys/acl/acl-api-test.c
86
ATF_REQUIRE(acl != NULL);
tests/sys/acl/acl-api-test.c
88
ATF_CHECK_EQ(0, acl_equiv_mode_np(acl, &equiv_mode));
tests/sys/acl/acl-api-test.c
91
acl_free(acl);
usr.sbin/bhyve/pci_nvme.c
551
cd->acl = 2;