Lines Matching refs:xsecdst
2290 kauth_filesec_t xsecdst;
2295 xsecdst = NULL;
2297 ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0))
2307 if (xsecdst != NULL)
2308 VATTR_SET(&va, va_acl, &xsecdst->fsec_acl);
2313 if (xsecdst != NULL)
2314 kauth_filesec_free(xsecdst);
2543 kauth_filesec_t xsecdst;
2546 xsecdst = KAUTH_FILESEC_NONE;
2548 if ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)
2558 if (xsecdst != KAUTH_FILESEC_NONE)
2559 VATTR_SET(&va, va_acl, &xsecdst->fsec_acl);
2563 if (xsecdst != KAUTH_FILESEC_NONE)
2564 kauth_filesec_free(xsecdst);
4068 kauth_filesec_t xsecdst;
4078 xsecdst = NULL;
4088 if ((error = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)
4090 VATTR_SET(&va, va_acl, &xsecdst->fsec_acl);
4096 if (xsecdst != NULL)
4097 kauth_filesec_free(xsecdst);
4147 kauth_filesec_t xsecdst;
4157 xsecdst = NULL;
4165 if ((error = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)
4167 VATTR_SET(&va, va_acl, &xsecdst->fsec_acl);
4178 if (xsecdst != NULL)
4179 kauth_filesec_free(xsecdst);
5348 kauth_filesec_t xsecdst;
5351 xsecdst = NULL;
5353 ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0))
5358 if (xsecdst != NULL)
5359 VATTR_SET(&va, va_acl, &xsecdst->fsec_acl);
5362 if (xsecdst != NULL)
5363 kauth_filesec_free(xsecdst);
5779 kauth_filesec_t xsecdst;
5781 xsecdst = KAUTH_FILESEC_NONE;
5783 if ((ciferror = kauth_copyinfilesec(uap->xsecurity, &xsecdst)) != 0)
5786 xsecdst = KAUTH_FILESEC_NONE;
5789 ciferror = umask1(p, uap->newmask, xsecdst, retval);
5791 if (xsecdst != KAUTH_FILESEC_NONE)
5792 kauth_filesec_free(xsecdst);