Home
last modified time | relevance | path

Searched refs:a_who (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/test/libsec-tests/cmd/
H A Dacl_canned.c34 .a_who = -1,
40 .a_who = -1,
46 .a_who = -1,
52 .a_who = 501,
58 .a_who = 502,
64 .a_who = 0x80000001,
70 .a_who = 0x80000002,
76 .a_who = 0x80000003,
82 .a_who = 0x80000004,
88 .a_who = 0x80000005,
H A Dacl_from_text.c61 if (lib_acep->a_who != ref_acep->a_who) { in acl_compare()
64 lib_acep->a_who, in acl_compare()
65 ref_acep->a_who); in acl_compare()
/illumos-gate/usr/src/lib/libsec/common/
H A Dacl.y167 $$.a_who = id;
191 $$.a_who = get_id_nofail($1, $6);
193 $$.a_who = id;
215 $$.a_who = id;
239 $$.a_who = get_id_nofail($1, $7);
241 $$.a_who = id;
258 $$.a_who = -1;
283 $$.a_who = -1;
H A Dacltext.c426 if ((flags & ACL_SID_FMT) && acep->a_who > MAXUID) { in ace_type_txt()
430 if (error = getsidname(acep->a_who, B_FALSE, in ace_type_txt()
437 error = str_append(dynstr, prgname(acep->a_who, idp, in ace_type_txt()
449 if ((flags & ACL_SID_FMT) && acep->a_who > MAXUID) { in ace_type_txt()
452 if (error = getsidname(acep->a_who, B_TRUE, in ace_type_txt()
459 error = str_append(dynstr, pruname(acep->a_who, idp, in ace_type_txt()
957 if (aclp->a_who > MAXUID && (flags & ACL_SID_FMT)) { in ace_acltotext()
959 error = getsidname(aclp->a_who, in ace_acltotext()
965 } else if (aclp->a_who > MAXUID && in ace_acltotext()
970 idstr = lltostr(aclp->a_who, in ace_acltotext()
H A Daclutils.c461 ace1.a_who = (uid_t)-1; in ace_match()
463 ace2.a_who = (uid_t)-1; in ace_match()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c39 ace->a_who = BSWAP_32(ace->a_who); in zfs_oldace_byteswap()
95 acep->a_who = BSWAP_32(acep->a_who); in zfs_ace_byteswap()
H A Dzfs_acl.c686 aceptr->z_fuid = zfs_fuid_create(zfsvfs, acep->a_who, in zfs_copy_ace_2_fuid()
775 acep->a_who = zfs_fuid_map_id(zfsvfs, who, in zfs_copy_fuid_2_ace()
779 acep->a_who = (uid_t)(int64_t)who; in zfs_copy_fuid_2_ace()
799 aceptr->z_fuid = acep[i].a_who; in zfs_copy_ace_2_oldace()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_acl.c60 (ZACE_IS_USER(zace) && (zace->a_who == IDMAP_WK_CREATOR_OWNER_UID))
63 (ZACE_IS_GROUP(zace) && (zace->a_who == IDMAP_WK_CREATOR_GROUP_GID))
438 zace->a_who = (uid_t)-1; in smb_acl_to_zfs()
443 sim->sim_id = &zace->a_who; in smb_acl_to_zfs()
472 if (zace->a_who == (uid_t)-1) in smb_acl_to_zfs()
543 id = zace->a_who; in smb_fsacl_getsids()
545 sim->sim_id = &zace->a_who; in smb_fsacl_getsids()
555 id = zace->a_who; in smb_fsacl_getsids()
557 sim->sim_id = &zace->a_who; in smb_fsacl_getsids()
811 new_zace->a_who = uid; in smb_fsacl_inherit()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_acl.c392 zace->a_who = (uid_t)-1; in smb_acl_to_zfs()
397 sim->sim_id = &zace->a_who; in smb_acl_to_zfs()
423 if (zace->a_who == (uid_t)-1) in smb_acl_to_zfs()
494 id = zace->a_who; in smb_fsacl_getsids()
496 sim->sim_id = &zace->a_who; in smb_fsacl_getsids()
506 id = zace->a_who; in smb_fsacl_getsids()
508 sim->sim_id = &zace->a_who; in smb_fsacl_getsids()
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c439 deny->a_who = allow->a_who; in ace_make_deny()
559 acep->a_who = (uid_t)-1; in ln_aent_to_ace()
563 acep->a_who = aclent[i].a_id; in ln_aent_to_ace()
565 acep->a_who = aclent[i].a_id; in ln_aent_to_ace()
603 acep->a_who = (uid_t)-1; in ln_aent_to_ace()
608 acep->a_who = aclent[i].a_id; in ln_aent_to_ace()
613 acep->a_who = (uid_t)-1; in ln_aent_to_ace()
616 acep->a_who = aclent[i].a_id; in ln_aent_to_ace()
650 acep->a_who = (uid_t)-1; in ln_aent_to_ace()
809 key.key = ace->a_who; in acevals_find()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dacl.h49 uid_t a_who; /* uid or gid */ member
165 uid_t a_who; /* uid or gid */ member
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c1708 if (ace->a_who == GID_UNKNOWN && !isserver) { in acet_to_ace4()
1716 error = nfs_idmap_gid_str(ace->a_who, &nfsace4->who, isserver); in acet_to_ace4()
1728 if (ace->a_who == UID_UNKNOWN && !isserver) { in acet_to_ace4()
1736 error = nfs_idmap_uid_str(ace->a_who, &nfsace4->who, isserver); in acet_to_ace4()
1811 ace->a_who = group; in ace4_to_acet()
1817 ace->a_who = owner; in ace4_to_acet()
1822 ace->a_who = 0; in ace4_to_acet()
1826 &ace->a_who, isserver); in ace4_to_acet()
1836 &ace->a_who, FALSE, isserver); in ace4_to_acet()
1841 &ace->a_who, isserver); in ace4_to_acet()
[all …]
/illumos-gate/usr/src/lib/lib9p/common/
H A Dgenacl.c800 l9ace->ace_idsize = sizeof (ent->a_who); in l9p_illumos_nfsv4acl_to_acl()
801 memcpy(l9acl->acl_aces, &ent->a_who, sizeof (ent->a_who)); in l9p_illumos_nfsv4acl_to_acl()
/illumos-gate/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c876 zacep->a_who = zwho; in ntace2zace()
1106 zacep->a_who = (uid_t)-1; in smbfs_acl_sd2zfs()
1116 zacep->a_who = (uid_t)-1; in smbfs_acl_sd2zfs()
1552 uid = zacep->a_who; in smbfs_acl_zfs2sd()
1555 uid = zacep->a_who; in smbfs_acl_zfs2sd()
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c3197 returnstat = pa_print_gid(context, ace->a_who, returnstat, in pa_ace_who()
3201 returnstat = pa_print_uid(context, ace->a_who, returnstat, in pa_ace_who()
3434 if ((returnstat = pr_adr_u_int32(context, &ace.a_who, 1)) != 0) in pa_ace()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_token.c916 adr_uint32(&adr, &(acep->a_who), 1); in au_to_ace()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h1618 uid_t a_who; /* uid or gid */ member
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1350 acl->a_who = (uint32_t)-1; in fop_getsecattr()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c918 if (p2->a_who == who && in aclmatch()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c1755 ap->a_who == p->lgid) || flags == ACE_EVERYONE) { in grp_mask_to_mode()
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3763 id = ace.a_who; in zfs_ace0_print()