/src/lib/libc/posix1e/ |
acl_get.c | 65 acl_t aclp; local in function:acl_get_file 68 aclp = acl_init(ACL_MAX_ENTRIES); 69 if (aclp == NULL) 73 error = __acl_get_file(path_p, type, &aclp->ats_acl); 75 acl_free(aclp); 79 aclp->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES; 80 _acl_brand_from_type(aclp, type); 82 return (aclp); 88 acl_t aclp; local in function:acl_get_link_np 91 aclp = acl_init(ACL_MAX_ENTRIES) 120 acl_t aclp; local in function:acl_get_fd_np [all...] |
acl_branding.c | 58 acl_t aclp; local in function:entry2acl 60 aclp = (acl_t)(((unsigned long)entry >> _ACL_T_ALIGNMENT_BITS) << _ACL_T_ALIGNMENT_BITS); 62 return (aclp);
|
/src/sys/kern/ |
vfs_acl.c | 205 * (unlocked). The aclp pointer is assumed still to point to userland, so 215 const struct acl *aclp) 221 error = acl_copyin(aclp, inkernelacl, type); 237 struct acl *aclp) 248 error = acl_copyout(inkernelacl, aclp, type); 274 const struct acl *aclp) 280 error = acl_copyin(aclp, inkernelacl, type); 304 SCARG(uap, aclp), NSM_FOLLOW_NOEMULROOT); 316 SCARG(uap, aclp), NSM_NOFOLLOW_NOEMULROOT); 321 struct acl *aclp, namei_simple_flags_t flags 528 struct acl *aclp; local in function:acl_alloc [all...] |
/src/bin/cp/ |
utils.c | 473 struct acl *aclp; local in function:preserve_dir_acls 522 aclp = &acl->ats_acl; 523 if (aclp->acl_cnt != 0 && aclsetf(dest_dir,
|
/src/sys/ufs/ufs/ |
ufs_vnops.c | 684 struct acl *aclp; local in function:ufs_update_nfs4_acl_after_mode_change 686 aclp = acl_alloc(KM_SLEEP); 687 error = ufs_getacl_nfs4_internal(vp, aclp, l); 695 acl_nfs4_sync_acl_from_mode(aclp, mode, file_owner_id); 696 error = ufs_setacl_nfs4_internal(vp, aclp, l, false); 699 acl_free(aclp);
|
/src/sys/fs/nfs/common/ |
nfs_commonsubs.c | 695 * If the aclp == NULL or won't fit in an acl, just discard the acl info. 698 nfsrv_dissectacl(struct nfsrv_descript *nd, NFSACL_T *aclp, int *aclerrp, 706 if (aclp) 707 aclp->acl_cnt = 0; 720 if (aclp && !aceerr) 721 error = nfsrv_dissectace(nd, &aclp->acl_entry[i], 729 if (aclp && !aceerr) 730 aclp->acl_cnt = acecnt; 813 struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp, 1088 if (aceerr || aclp == NULL | 2058 NFSACL_T *aclp, *naclp = NULL; local in function:nfsv4_fillattr [all...] |
/src/sys/fs/nfs/server/ |
nfs_nfsdserv.c | 81 NFSACL_T *aclp, NFSPROC_T *p, struct nfsexstuff *exp, char *pathcp, 86 int *diraft_retp, nfsattrbit_t *attrbitp, NFSACL_T *aclp, 315 NFSACL_T *aclp = NULL; local in function:nfsrvd_setattr 322 aclp = acl_alloc(M_WAITOK); 323 aclp->acl_cnt = 0; 332 error = nfsrv_sattr(nd, vp, &nva, &attrbits, aclp, p); 352 acl_free(aclp); 443 if (!nd->nd_repstat && aclp->acl_cnt > 0 && 445 nd->nd_repstat = nfsrv_setacl(vp, aclp, nd->nd_cred, p); 461 acl_free(aclp); 1161 NFSACL_T *aclp = NULL; local in function:nfsrvd_mknod 2595 NFSACL_T *aclp = NULL; local in function:nfsrvd_open [all...] |