Lines Matching refs:xsecurity
2275 * uap->xsecurity ACL to set, if creating
2296 if ((uap->xsecurity != USER_ADDR_NULL) &&
2297 ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0))
2529 * uap->xsecurity ACL to set, if creating
2547 if (uap->xsecurity != USER_ADDR_NULL) {
2548 if ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)
3590 stat2(vfs_context_t ctx, struct nameidata *ndp, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size, int isstat64)
3629 error = vn_stat(ndp->ni_vp, statptr, (xsecurity != USER_ADDR_NULL ? &fsec : NULL), isstat64, ctx);
3685 if (xsecurity != USER_ADDR_NULL) {
3705 error = copyout(fsec, xsecurity, KAUTH_FILESEC_COPYSIZE(fsec));
3721 stat1(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size, int isstat64)
3728 return(stat2(ctx, &nd, ub, xsecurity, xsecurity_size, isstat64));
3734 return (stat1(uap->path, uap->ub, uap->xsecurity, uap->xsecurity_size, 0));
3756 return (stat1(uap->path, uap->ub, uap->xsecurity, uap->xsecurity_size, 1));
3762 lstat1(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size, int isstat64)
3770 return(stat2(ctx, &nd, ub, xsecurity, xsecurity_size, isstat64));
3776 return (lstat1(uap->path, uap->ub, uap->xsecurity, uap->xsecurity_size, 0));
3793 return (lstat1(uap->path, uap->ub, uap->xsecurity, uap->xsecurity_size, 1));
4053 * uap->xsecurity ACL to set (or delete)
4079 switch(uap->xsecurity) {
4088 if ((error = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)
4158 switch(uap->xsecurity) {
4165 if ((error = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)
4173 switch(uap->xsecurity) {
5352 if ((uap->xsecurity != USER_ADDR_NULL) &&
5353 ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0))
5757 #warning XXX implement xsecurity
5759 #define UMASK_NOXSECURITY (void *)1 /* leave existing xsecurity alone */
5782 if (uap->xsecurity != USER_ADDR_NULL) {
5783 if ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)