Searched refs:has_entitlement (Results 1 – 2 of 2) sorted by relevance
513 bool has_entitlement = true; in stack_snapshot_with_config() local522 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()
2660 bool has_entitlement; in sys_fcntl__OPENFROM() local2685 has_entitlement = IOCurrentTaskHasEntitlement(ACCOUNT_OPENFROM_ENTITLEMENT); in sys_fcntl__OPENFROM()2718 fopen.o_pathname, has_entitlement ? &context : vfs_context_current()); in sys_fcntl__OPENFROM()2721 error = open1(has_entitlement ? &context : vfs_context_current(), in sys_fcntl__OPENFROM()2752 int has_entitlement = 0; in sys_fcntl_nocancel() local3814 has_entitlement = 1; in sys_fcntl_nocancel()3825 error = unlink1(has_entitlement ? &context : vfs_context_current(), in sys_fcntl_nocancel()