Home
last modified time | relevance | path

Searched refs:has_entitlement (Results 1 – 2 of 2) sorted by relevance

/xnu-8792.61.2/bsd/kern/
H A Dstackshot.c513 bool has_entitlement = true; in stack_snapshot_with_config() local
522 has_entitlement = false; in stack_snapshot_with_config()
556 if (report == STACKSHOT_REPORT_ALL || (report == STACKSHOT_REPORT_NO_ENT && !has_entitlement)) { in stack_snapshot_with_config()
557 stackshot_entitlement_do_report(has_entitlement, progress, SSHOT_ENTITLEMENT_REPORT_NORMAL); in stack_snapshot_with_config()
H A Dkern_descrip.c2676 bool has_entitlement; in sys_fcntl__OPENFROM() local
2701 has_entitlement = IOCurrentTaskHasEntitlement(ACCOUNT_OPENFROM_ENTITLEMENT); in sys_fcntl__OPENFROM()
2734 fopen.o_pathname, has_entitlement ? &context : vfs_context_current()); in sys_fcntl__OPENFROM()
2737 error = open1(has_entitlement ? &context : vfs_context_current(), in sys_fcntl__OPENFROM()
2768 int has_entitlement = 0; in sys_fcntl_nocancel() local
3830 has_entitlement = 1; in sys_fcntl_nocancel()
3841 error = unlink1(has_entitlement ? &context : vfs_context_current(), in sys_fcntl_nocancel()