Searched refs:ace (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_001_pos.ksh65 function test_chmod_ACE_list #$opt $num $ace-spec $node
69 typeset ace=$3
83 log_must usr_exec chmod "$opt$ace" "$node"
95 if [[ "$num:$ace" != "$cur_ace" ]]; then
96 log_fail "FAIL: chmod $opt$ace $node"
109 for ace in $file_ACEs; do
112 test_chmod_ACE_list $opt $num $ace $testfile
115 for ace in $dir_ACEs; do
118 test_chmod_ACE_list $opt $num $ace $testdir
H A Dzfs_acl_chmod_inherit_004_pos.ksh66 typeset ace
71 ace=$(get_ACE $file $i)
72 if [[ "$ace" == *"execute"* ]]; then
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_acl.c83 void *ace; local
91 while ((ace = list_head(&acl->sl_sorted)) != NULL)
92 list_remove(&acl->sl_sorted, ace);
170 smb_ace_t *ace; local
189 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; ++i, ace++) {
190 ace_flags = ace->se_hdr.se_flags;
192 switch (ace->se_hdr.se_type) {
213 list_insert_tail(&ace_grps[ag], ace);
222 while ((ace
244 smb_ace_t *ace; local
303 smb_ace_t *ace; local
536 smb_ace_len(smb_ace_t *ace) argument
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dacl_print.c75 fprint_ntace(FILE *fp, i_ntace_t *ace) argument
77 if (ace == NULL) {
84 ace->ace_hdr.ace_type, ace->ace_hdr.ace_flags,
85 ace->ace_v2.ace_rights);
88 fprint_sid(fp, ace->ace_v2.ace_sid);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c216 smb_ace_t *ace)
218 if ((m_ace == NULL) || (ace == NULL))
221 bcopy(&ace->se_hdr, &m_ace->header, sizeof (mslm_ace_hdr_t));
222 m_ace->mask = ace->se_mask;
224 if ((ace->se_sid == NULL) || (m_sid == NULL))
226 bcopy(ace->se_sid, m_sid, smb_sid_len(ace->se_sid));
268 smb_ace_t *ace; local
316 ace = sd->sd_sacl->sl_aces;
320 for (i = 0; i < ace_cnt; i++, ace
215 srvsvc_ace_set_relative(mslm_ace_t *m_ace, struct mslm_sid *m_sid, smb_ace_t *ace) argument
369 srvsvc_ace_set_absolute(mslm_ace_t *m_ace, struct mslm_sid *m_sid, smb_ace_t *ace) argument
426 smb_ace_t *ace; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_nt_transact_security.c311 smb_ace_t *ace; local
321 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; i++, ace++) {
323 ace->se_hdr.se_type, ace->se_hdr.se_flags,
324 ace->se_hdr.se_bsize, ace->se_mask);
326 smb_encode_sid(mbc, ace->se_sid);
338 smb_ace_t *ace; local
347 ace
502 smb_ace_t *ace; local
[all...]
H A Dsmb_acl.c129 void *ace; local
137 while ((ace = list_head(&acl->sl_sorted)) != NULL)
138 list_remove(&acl->sl_sorted, ace);
223 smb_ace_t *ace; local
242 for (i = 0, ace = acl->sl_aces; i < acl->sl_acecnt; ++i, ace++) {
243 ace_flags = ace->se_hdr.se_flags;
245 switch (ace->se_hdr.se_type) {
266 list_insert_tail(&ace_grps[ag], ace);
275 while ((ace
297 smb_ace_t *ace; local
355 smb_ace_t *ace; local
1176 smb_ace_len(smb_ace_t *ace) argument
1303 smb_ace_isvalid(smb_ace_t *ace, int which_acl) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c34 zfs_oldace_byteswap(ace_t *ace, int ace_cnt) argument
38 for (i = 0; i != ace_cnt; i++, ace++) {
39 ace->a_who = BSWAP_32(ace->a_who);
40 ace->a_access_mask = BSWAP_32(ace->a_access_mask);
41 ace->a_flags = BSWAP_16(ace->a_flags);
42 ace->a_type = BSWAP_16(ace
[all...]
H A Dzfs_replay.c818 ace_t *ace = (ace_t *)(lr + 1); /* ace array follows lr_acl_t */ local
825 zfs_oldace_byteswap(ace, lr->lr_aclcnt);
836 vsa.vsa_aclentp = ace;
862 ace_t *ace = (ace_t *)(lr + 1); local
869 zfs_ace_byteswap(ace, lr->lr_acl_bytes, B_FALSE);
871 byteswap_uint64_array((caddr_t)ace +
883 vsa.vsa_aclentp = ace;
888 void *fuidstart = (caddr_t)ace +
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c125 ibd_ace_t *ace; local
128 ace = rc_chan->ace;
129 ASSERT(ace != NULL);
133 ASSERT(ace->ac_ref != 0);
134 atomic_dec_32(&ace->ac_ref);
135 ace->ac_chan = NULL;
136 if ((ace->ac_ref == 0) || (ace->ac_ref == CYCLEVAL)) {
137 IBD_ACACHE_INSERT_FREE(state, ace);
152 ibd_ace_t *ace = req->rq_ptr; local
187 ibd_ace_t *ace = req->rq_ptr2; local
306 ibd_ace_t *ace, *pre_ace; local
2112 ibd_ace_t *ace = swqe->w_ahandle; local
2172 ibd_ace_t *ace; local
2565 ibd_ace_t *ace, *pre_ace; local
2651 ibd_rc_try_connect(ibd_state_t *state, ibd_ace_t *ace, ibt_path_info_t *path) argument
2685 ibd_rc_connect(ibd_state_t *state, ibd_ace_t *ace, ibt_path_info_t *path, uint64_t ietf_cm_service_id) argument
2785 ibd_rc_signal_act_close(ibd_state_t *state, ibd_ace_t *ace) argument
2804 ibd_rc_signal_ace_recycle(ibd_state_t *state, ibd_ace_t *ace) argument
2838 ibd_ace_t *ace; local
3102 ibd_rc_handle_act_estab(ibd_ace_t *ace) argument
3163 ibd_ace_t *ace = (ibd_ace_t *)(uintptr_t)arg; local
[all...]
H A Dibd.c841 ibd_rc_chan_s::ace
1331 * the mcg/ace list.
1654 * The ace is kept on the active list, further
1656 * ace is reaped when all pending Tx's
1673 * immediately after pulling out the ace from
1899 "ibd_rc_try_connect(ace=%p)", ce);
1937 ibd_ace_t *ace, *pace; local
1997 ace = list_head(&state->id_ah_active);
1998 while ((pace = ace) != NULL) {
2001 ace
6938 ibd_ace_t *ace; local
7756 ibd_dec_ref_ace(ibd_state_t *state, ibd_ace_t *ace) argument
7821 ibd_ace_t *ace = swqe->w_ahandle; local
7866 ibd_ace_t *ace; local
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/ibd/
H A Dibd.h307 #define CLEAR_REFCYCLE(ace) (ace)->ac_ref = 0
308 #define CYCLE_SET(ace) (((ace)->ac_ref & CYCLEVAL) == CYCLEVAL)
309 #define GET_REF(ace) ((ace)->ac_ref)
310 #define GET_REF_CYCLE(ace) ( \
314 ASSERT(CYCLE_SET(ace)), \
315 ((ace)->ac_ref & ~(CYCLEVAL)) \
317 #define INC_REF(ace, nu
1227 ibd_ace_t *ace; member in struct:ibd_rc_chan_s
[all...]
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c3005 pa_ace_flags(pr_context_t *context, ace_t *ace, int status, int flag) argument
3015 * ace->a_flags refers to access flags of ZFS/NFSv4 ACL entry.
3021 switch (ace->a_flags & ACE_TYPE_FLAGS) {
3039 uval.uint32_val = ace->a_flags;
3043 uval.uint32_val = ace->a_flags;
3051 pa_ace_who(pr_context_t *context, ace_t *ace, int status, int flag) argument
3060 * ace->a_who refers to user id or group id of ZFS/NFSv4 ACL entry.
3064 switch (ace->a_flags & ACE_TYPE_FLAGS) {
3066 returnstat = pa_print_gid(context, ace->a_who, returnstat,
3070 returnstat = pa_print_uid(context, ace
3117 pa_ace_access_mask(pr_context_t *context, ace_t *ace, int status, int flag) argument
3253 pa_ace_type(pr_context_t *context, ace_t *ace, int status, int flag) argument
3298 ace_t ace; local
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c673 * ace. To do this, we invert the mask (found
675 * DENY ace access_mask.
731 * Set the corresponding deny for the group ace.
735 * the allow ace.
738 * skip ahead for the deny ace, here.
1659 acet_to_ace4(ace_t *ace, nfsace4 *nfsace4, int isserver) argument
1663 if (ace == NULL) {
1676 switch (ace->a_type) {
1685 "acet_to_ace4: unsupported type: %x", ace->a_type));
1692 acet_mask_to_ace4_mask(ace
1751 ace4_to_acet(nfsace4 *nfsace4, ace_t *ace, uid_t owner, gid_t group, int isserver) argument
[all...]
H A Dnfs4_srv_deleg.c1368 nfsace4 *ace, int recall)
1380 * a replay and an inital open. N.B. if an ace is passed in, it
1384 if (ace == NULL) {
1396 nace.type = ace->type;
1397 nace.flag = ace->flag;
1398 nace.access_mask = ace->access_mask;
1399 (void) utf8_copy(&ace->who, &nace.who);
1367 rfs4_set_deleg_response(rfs4_deleg_state_t *dsp, open_delegation4 *dp, nfsace4 *ace, int recall) argument
H A Dnfs4_srv.c7103 nfsace4 *ace; local
7167 ace = &rv->permissions;
7174 ace = &rv->permissions;
7180 ace->type = ACE4_ACCESS_ALLOWED_ACE_TYPE;
7181 ace->flag = 0;
7182 ace->access_mask = 0;
7183 ace->who.utf8string_len = 0;
7184 ace->who.utf8string_val = 0;
/illumos-gate/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c168 ifree_ace(i_ntace_t *ace) argument
171 if (ace == NULL)
174 switch (ace->ace_hdr.ace_type) {
179 ifree_sid(ace->ace_v2.ace_sid);
180 FREESZ(ace, sizeof (i_ntace_v2_t));
193 i_ntace_t *ace = NULL; local
218 if ((ace = MALLOC(alloc_size)) == NULL)
220 bzero(ace, alloc_size);
222 ace->ace_hdr.ace_type = ace_hdr.ace_type;
223 ace
249 mb_put_ace(mbchain_t *mbp, i_ntace_t *ace) argument
[all...]
/illumos-gate/usr/src/lib/libsec/common/
H A Dacl.y37 ace_t ace;
53 %type <ace> ace
79 acl_entry: ace
150 ace: entry_type idname ace_perms access_type label
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c2103 smb_ace_t ace; local
2118 if (mdb_vread(&ace, sizeof (ace), addr) != sizeof (ace)) {
2124 if (ace.se_hdr.se_type < ACE_TYPE_TABLEN)
2125 ptr = ace_types[ace.se_hdr.se_type].ace_type_sting;
2129 mdb_printf("ACE Type: 0x%02x (%s)\n", ace.se_hdr.se_type, ptr);
2130 mdb_printf("ACE Flags: %b\n", (int)ace.se_hdr.se_flags,
2132 mdb_printf("ACE Wire Size: 0x%04x\n", ace.se_hdr.se_bsize);
2133 mdb_printf("ACE Mask: 0x%08x\n", ace
[all...]
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c574 * ace. To do this, we invert the mask (found
576 * DENY ace access_mask.
619 * Set the corresponding deny for the group ace.
623 * the allow ace.
626 * skip ahead for the deny ace, here.
803 acevals_find(ace_t *ace, avl_tree_t *avl, int *num) argument
808 key.key = ace->a_who;
817 acevals_init(rc, ace->a_who);
1265 ln_ace_to_aent(ace_t *ace, int n, uid_t owner, gid_t group, argument
1286 if (ace
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dacl.h47 typedef struct ace { struct
213 /* cmd's to manipulate ace acls. */
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3211 ace_t ace; local
3222 if (mdb_vread(&ace, sizeof (ace_t), addr) == -1) {
3227 if ((ace.a_flags & ACE_TYPE_FLAGS) == 0 ||
3228 (ace.a_flags & ACE_TYPE_FLAGS) == ACE_IDENTIFIER_GROUP)
3229 id = ace.a_who;
3233 return (zfs_ace_print_common(addr, flags, id, ace.a_access_mask,
3234 ace.a_flags, ace.a_type, verbose));
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h1387 #define ZFS_INHERIT_ACE 0x2 /* ace has inheritable ACEs */
1422 typedef struct ace { struct
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dsrvsvc.ndl601 mslm_ace_t ace[ANY_SIZE_ARRAY];

Completed in 176 milliseconds