Lines Matching refs:fsec
4742 kauth_filesec_t fsec;
4754 fsec = KAUTH_FILESEC_NONE;
4771 error = vn_stat(ndp->ni_vp, statptr, (xsecurity != USER_ADDR_NULL ? &fsec : NULL), isstat64, ctx);
4831 if (fsec == KAUTH_FILESEC_NONE) {
4841 if (susize(xsecurity_size, KAUTH_FILESEC_COPYSIZE(fsec)) != 0) {
4847 if (xsecurity_bufsize >= KAUTH_FILESEC_COPYSIZE(fsec))
4848 error = copyout(fsec, xsecurity, KAUTH_FILESEC_COPYSIZE(fsec));
4852 if (fsec != KAUTH_FILESEC_NONE)
4853 kauth_filesec_free(fsec);
7129 umask1(proc_t p, int newmask, __unused kauth_filesec_t fsec, int32_t *retval)