Searched refs:ace_t (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/common/acl/
H A Dacl_common.h47 extern void adjust_ace_pair(ace_t *pair, mode_t mode);
49 extern int ace_trivial(ace_t *acep, int aclcnt);
59 int acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count);
H A Dacl_common.c279 aclp->acl_entry_size = sizeof (ace_t);
434 ace_make_deny(ace_t *allow, ace_t *deny, int isdir, int isowner)
436 (void) memcpy(deny, allow, sizeof (ace_t));
507 ln_aent_to_ace(aclent_t *aclent, int n, ace_t **acepp, int *rescount, int isdir)
514 ace_t *acep, *result = NULL;
539 if (cacl_malloc((void **)&result, resultsize * sizeof (ace_t)) != 0)
665 cacl_free(result, resultsize * sizeof (ace_t));
674 ace_t **retacep, int *retacecnt)
676 ace_t *ace
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c34 zfs_oldace_byteswap(ace_t *ace, int ace_cnt)
47 * swap ace_t and ace_oject_t
55 ace_t *acep;
88 if (ptr + sizeof (ace_t) > end) {
91 acep = (ace_t *)ptr;
103 sizeof (zfs_ace_hdr_t) : sizeof (ace_t);
127 sizeof (ace_t);
146 cnt = size / sizeof (ace_t);
148 zfs_oldace_byteswap((ace_t *)buf, cnt);
196 zfs_oldace_byteswap((ace_t *)
[all...]
H A Dzfs_replay.c818 ace_t *ace = (ace_t *)(lr + 1); /* ace array follows lr_acl_t */
834 vsa.vsa_aclentsz = sizeof (ace_t) * vsa.vsa_aclcnt;
862 ace_t *ace = (ace_t *)(lr + 1);
H A Dzfs_acl.c667 ace_t *acep = datap;
703 acep = (ace_t *)((caddr_t)acep + sizeof (ace_object_t));
706 acep = (ace_t *)((caddr_t)acep + sizeof (ace_t));
719 * Copy ZFS ACEs to fixed size ace_t layout
729 ace_t *acep = datap;
757 ace_size = sizeof (ace_t);
774 acep = (ace_t *)((caddr_t)acep + ace_size);
779 zfs_copy_ace_2_oldace(vtype_t obj_type, zfs_acl_t *aclp, ace_t *acep,
1824 aclsz = count * sizeof (ace_t)
[all...]
H A Dzfs_log.c660 bcopy(vsecp->vsa_aclentp, (ace_t *)(lrv0 + 1), aclbytes);
662 void *start = (ace_t *)(lr + 1);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_acl.c78 static const ace_t const default_dacl[DEFAULT_DACL_ACENUM] = {
97 static void smb_ace_inherit(ace_t *, ace_t *, int, uid_t, gid_t);
105 static boolean_t smb_ace_wellknown_update(const char *, ace_t *);
294 ace_t *zace;
357 ace_t *zace;
442 smb_ace_wellknown_update(const char *sid, ace_t *zace)
474 ace_t *zace;
540 ace_t *zace;
617 ace_t *zac
[all...]
/illumos-gate/usr/src/lib/libsec/common/
H A Daclutils.c67 ace_t *acep;
79 acep = malloc(sizeof (ace_t) * aclcnt);
244 * Set an ACL, translates acl to ace_t when appropriate.
394 ace_t *min_ace_acl;
447 ace_t *p1 = (ace_t *)entry1;
448 ace_t *p2 = (ace_t *)entry2;
449 ace_t ace1, ace2;
462 return (memcmp(&ace1, &ace2, sizeof (ace_t)));
[all...]
H A Dacl.y37 ace_t ace;
81 ace_t *acep;
H A Daclcheck.c303 ace_t *acep;
H A Dacltext.c380 ace_type_txt(dynaclstr_t *dynstr, ace_t *acep, int flags)
882 ace_t *aclp = aceaclp->acl_aclp;
1034 ace_t *acep;
1109 * for ace_t ACL's the cols variable will break up
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_acl.c57 static boolean_t smb_ace_wellknown_update(const char *, ace_t *);
241 ace_t *zace;
305 ace_t *zace;
385 smb_ace_wellknown_update(const char *sid, ace_t *zace)
417 ace_t *zace;
483 ace_t *zace;
H A Dsmb_sd.c157 ace_t *z_ace;
173 if ((z_ace = (ace_t *)z_acl->acl_aclp) == NULL)
226 ace_t *z_ace;
233 z_ace = (ace_t *)z_acl->acl_aclp;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_acl.h177 #define ZFS_ACL_SIZE(aclcnt) (sizeof (ace_t) * (aclcnt))
214 void zfs_oldace_byteswap(ace_t *, int);
/illumos-gate/usr/src/uts/common/syscall/
H A Dacl.c148 entry_size = sizeof (ace_t);
230 aclbsize = vsecattr.vsa_aclcnt * sizeof (ace_t);
327 aclbsize = nentries * sizeof (ace_t);
/illumos-gate/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c820 ntace2zace(ace_t *zacep, i_ntace_t *ntace, struct mapinfo2uid *mip)
899 ace_t *zacep0, *zacep;
914 acl_info->acl_entry_size != sizeof (ace_t))
1067 zacl_size = zacecnt * sizeof (ace_t);
1344 zace2ntace(i_ntace_t **ntacep, ace_t *zacep, struct mapinfo2sid *mip)
1427 ace_t *zacevec = NULL;
1428 ace_t *zacep;
1465 acl_info->acl_entry_size != sizeof (ace_t))
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c31 * If an argument is one or more ace_t, we use "acet".
80 static int acet_to_ace4(ace_t *, nfsace4 *, int);
81 static int ace4_to_acet(nfsace4 *, ace_t *, uid_t, gid_t, int);
245 vsp->vsa_aclcnt * sizeof (ace_t));
1655 * Convert an ace_t to an nfsace4; the primary difference being
1659 acet_to_ace4(ace_t *ace, nfsace4 *nfsace4, int isserver)
1747 * Convert an nfsace4 to an ace_t, the primary difference being
1751 ace4_to_acet(nfsace4 *nfsace4, ace_t *ace, uid_t owner, gid_t group,
1987 sizeof (ace_t), KM_SLEEP);
1988 vs_acet->vsa_aclentsz = vs_ace4->vsa_aclcnt * sizeof (ace_t);
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c954 ace_t buf[NATIVE_TRIVIAL_ACL_CNT];
1073 make_trivial_s10_acl(const char *fname, int fd, ace_t *bp)
1078 ace_t trivial_s10_acl[] = {
1105 s10_adjust_ace_mask(&trivial_s10_acl[0], offsetof(ace_t, a_access_mask),
1106 sizeof (ace_t), (buf.st_mode & 0700) >> 6);
1107 s10_adjust_ace_mask(&trivial_s10_acl[2], offsetof(ace_t, a_access_mask),
1108 sizeof (ace_t), (buf.st_mode & 0070) >> 3);
1109 s10_adjust_ace_mask(&trivial_s10_acl[4], offsetof(ace_t, a_access_mask),
1110 sizeof (ace_t), buf.st_mode & 0007);
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c654 (vp->v_type == VDIR), (ace_t **)&vsecattr->vsa_aclentp,
656 vsecattr->vsa_aclentsz = vsecattr->vsa_aclcnt * sizeof (ace_t);
827 vsecattr.vsa_aclcnt * sizeof (ace_t));
/illumos-gate/usr/src/uts/common/sys/
H A Dacl.h52 } ace_t; typedef in typeref:struct:ace
80 * The following are defined for ace_t.
195 * The following flags are supported by both NFSv4 ACLs and ace_t.
241 #define ACE_ACL ('3') /* ace_t style acls */
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1094 ace_t *acl;
1096 acl = kmem_alloc(sizeof (ace_t), KM_SLEEP);
1104 vsecattr->vsa_aclentsz = sizeof (ace_t);
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h1427 } ace_t; typedef in typeref:struct:ace
1436 ace_t z_ace_data[ACE_SLOT_CNT]; /* 6 standard ACEs */
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c3005 pa_ace_flags(pr_context_t *context, ace_t *ace, int status, int flag)
3051 pa_ace_who(pr_context_t *context, ace_t *ace, int status, int flag)
3117 pa_ace_access_mask(pr_context_t *context, ace_t *ace, int status, int flag)
3253 pa_ace_type(pr_context_t *context, ace_t *ace, int status, int flag)
3298 ace_t ace;
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3211 ace_t ace;
3222 if (mdb_vread(&ace, sizeof (ace_t), addr) == -1) {
3223 mdb_warn("failed to read ace_t");
3430 ace_t *acep;
3447 acep = (ace_t *)&zace;
3465 sizeof (ace_t) : sizeof (zfs_ace_hdr_t);
3475 sizeof (ace_t) : sizeof (zfs_object_ace_t);
3479 sizeof (ace_t) : sizeof (zfs_ace_t);
4011 "given a zfs_acl_node_t, walk all ACEs as ace_t",
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1098 ace_t *p2;
1115 p2 = (ace_t *)acl_entry;

Completed in 147 milliseconds

12