Lines Matching defs:fsec
880 kauth_filesec_t fsec;
993 fsec = kauth_filesec_alloc(va.va_acl->acl_entrycount);
995 fsec = kauth_filesec_alloc(0);
997 if (fsec == NULL) {
1001 fsec->fsec_magic = KAUTH_FILESEC_MAGIC;
1003 fsec->fsec_owner = va.va_uuuid;
1005 fsec->fsec_owner = kauth_null_guid;
1008 fsec->fsec_group = va.va_guuid;
1010 fsec->fsec_group = kauth_null_guid;
1013 bcopy(va.va_acl, &(fsec->fsec_acl), KAUTH_ACL_COPYSIZE(va.va_acl));
1015 fsec->fsec_acl.acl_entrycount = KAUTH_FILESEC_NOACL;
1017 *xsec = fsec;