Lines Matching defs:entitlements
564 * Routines to navigate entitlements in the kernel.
567 /* Retrieve the entitlements blob for a process.
574 * entitlements blob if found; or will be set to NULL/zero
575 * if there were no entitlements.
584 const CS_GenericBlob *entitlements;
602 entitlements = cs_find_blob(csblob, CSSLOT_ENTITLEMENTS, CSMAGIC_EMBEDDED_ENTITLEMENTS);
606 if (entitlements)
609 } else if (entitlements == NULL && memcmp(embedded_hash, sha1_zero, SHA1_RESULTLEN) != 0) {
614 SHA1Update(&context, entitlements, ntohl(entitlements->length));
619 *out_start = (void *)entitlements;
620 *out_length = ntohl(entitlements->length);
700 * End of routines to navigate entitlements in the kernel.