Searched refs:aclent (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/common/acl/ |
H A D | acl_common.c | 459 ln_aent_preprocess(aclent_t *aclent, int n, in ln_aent_preprocess() argument 474 if (aclent[i].a_type < curtype) in ln_aent_preprocess() 476 else if (aclent[i].a_type > curtype) in ln_aent_preprocess() 477 curtype = aclent[i].a_type; in ln_aent_preprocess() 478 if (aclent[i].a_type & USER) in ln_aent_preprocess() 480 if (aclent[i].a_type & (GROUP | GROUP_OBJ)) in ln_aent_preprocess() 482 if (aclent[i].a_type & CLASS_OBJ) { in ln_aent_preprocess() 488 *mask = aclent[i].a_perm; in ln_aent_preprocess() 508 ln_aent_to_ace(aclent_t *aclent, int n, ace_t **acepp, int *rescount, int isdir) in ln_aent_to_ace() argument 518 error = ln_aent_preprocess(aclent, n, &hasmask, &mask, in ln_aent_to_ace() [all …]
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acl.y | 42 aclent_t aclent; member 58 %type <aclent> aclent 118 | aclent 120 aclent_t *aclent; variable 148 aclent = $$->acl_aclp; 149 aclent[$$->acl_cnt] = $1; 306 aclent: entry_type idname aclent_perm /* user or group */
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 364 ln_aent_preprocess(aclent_t *aclent, int n, in ln_aent_preprocess() argument 379 if (aclent[i].a_type < curtype) in ln_aent_preprocess() 381 else if (aclent[i].a_type > curtype) in ln_aent_preprocess() 382 curtype = aclent[i].a_type; in ln_aent_preprocess() 383 if (aclent[i].a_type & USER) in ln_aent_preprocess() 385 if (aclent[i].a_type & (GROUP | GROUP_OBJ)) in ln_aent_preprocess() 387 if (aclent[i].a_type & CLASS_OBJ) { in ln_aent_preprocess() 396 *mask = aclent[i].a_perm; in ln_aent_preprocess() 565 ln_aent_to_ace4(aclent_t *aclent, int n, nfsace4 **acepp, int *rescount, in ln_aent_to_ace4() argument 576 error = ln_aent_preprocess(aclent, n, &hasmask, &mask, in ln_aent_to_ace4() [all …]
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nfs_acl.x | 36 struct aclent { struct 73 aclent aclent<NFS_ACL_MAX_ENTRIES>; 75 aclent dfaclent<NFS_ACL_MAX_ENTRIES>;
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs_acl.h | 41 struct aclent { struct 46 typedef struct aclent aclent; typedef 65 aclent *aclent_val; 66 } aclent; member 70 aclent *dfaclent_val;
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | tape.c | 1246 static aclent_t *aclent = NULL; in fsd_acl() local 1254 if (aclent != NULL) in fsd_acl() 1255 free(aclent); in fsd_acl() 1256 aclent = NULL; in fsd_acl() 1269 aclent = realloc(aclent, n * (size_t)sizeof (*aclent)); in fsd_acl() 1270 if (aclent == NULL) { in fsd_acl() 1277 aclent[i].a_type = diskacl[j].acl_tag; in fsd_acl() 1278 aclent[i].a_id = diskacl[j].acl_who; in fsd_acl() 1279 aclent[i].a_perm = diskacl[j].acl_perm; in fsd_acl() 1284 set_aclp = acl_to_aclp(ACLENT_T, aclent, n); in fsd_acl()
|