Home
last modified time | relevance | path

Searched refs:KERN_INVALID_CAPABILITY (Results 1 – 22 of 22) sorted by relevance

/xnu-8019.80.24/tests/
H A Dextract_right_soft_fail.c68 …T_EXPECT_EQ(kr, KERN_INVALID_CAPABILITY, "mach_port_extract_right() on immovable port in child's s… in test_extract_immovable_task_port()
73 …T_EXPECT_EQ(kr, KERN_INVALID_CAPABILITY, "mach_port_mod_refs() on pinned port in child's space sho… in test_extract_immovable_task_port()
H A Dmach_service_port.c186 T_ASSERT_MACH_ERROR(kr, KERN_INVALID_CAPABILITY, "mach_port_get_service_port_info");
194 …T_ASSERT_MACH_ERROR(kr, KERN_INVALID_CAPABILITY, "mach_port_construct connection port %u", connect…
/xnu-8019.80.24/osfmk/ipc/
H A Dipc_object.c930 return KERN_INVALID_CAPABILITY; in ipc_object_insert_send_right()
938 kr = KERN_INVALID_CAPABILITY; in ipc_object_insert_send_right()
1042 kr = KERN_INVALID_CAPABILITY; in ipc_object_copyout()
1051 kr = KERN_INVALID_CAPABILITY; in ipc_object_copyout()
1065 kr = KERN_INVALID_CAPABILITY; in ipc_object_copyout()
1162 return KERN_INVALID_CAPABILITY; in ipc_object_copyout_name()
H A Dipc_right.c997 return KERN_INVALID_CAPABILITY; in ipc_right_destroy()
1213 return KERN_INVALID_CAPABILITY; in ipc_right_dealloc()
1659 return KERN_INVALID_CAPABILITY; in ipc_right_delta()
2245 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2253 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2354 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2400 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2423 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2490 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
H A Dipc_service_port.c161 return KERN_INVALID_CAPABILITY; in ipc_service_port_derive_sblabel()
H A Dipc_voucher.c1436 return KERN_INVALID_CAPABILITY; in ipc_execute_voucher_recipe_command()
1808 return KERN_INVALID_CAPABILITY; in ipc_voucher_attr_control_create_mach_voucher()
2314 return KERN_INVALID_CAPABILITY; in mach_voucher_attr_control_get_values()
2364 return KERN_INVALID_CAPABILITY; in mach_voucher_attr_control_create_mach_voucher()
2401 kr = KERN_INVALID_CAPABILITY; in mach_voucher_attr_control_create_mach_voucher()
2489 kr = KERN_INVALID_CAPABILITY; in host_create_mach_voucher()
H A Dmach_port.c1588 return KERN_INVALID_CAPABILITY; in mach_port_request_notification()
1727 return KERN_INVALID_CAPABILITY; in mach_port_insert_right()
3121 return KERN_INVALID_CAPABILITY; in mach_port_is_connection_for_service()
3186 return KERN_INVALID_CAPABILITY; in mach_port_get_service_port_info()
H A Dipc_kmsg.c2596 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
2605 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
2616 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
2629 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
2641 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
2878 assert(kr != KERN_INVALID_CAPABILITY); in ipc_kmsg_copyin_header()
2935 if (kr == KERN_INVALID_CAPABILITY) { in ipc_kmsg_copyin_header()
4665 if (kr == KERN_INVALID_CAPABILITY) { in ipc_kmsg_copyout_object()
H A Dipc_eventlink.c1011 kern_return_t kr = KERN_INVALID_CAPABILITY; in convert_port_to_eventlink_locked()
H A Dipc_port.c2779 if (kr == KERN_INVALID_CAPABILITY) { in ipc_port_copyout_send_internal()
/xnu-8019.80.24/osfmk/mach/
H A Dkern_return.h163 #define KERN_INVALID_CAPABILITY 20 macro
H A Dmach_port.defs495 * right, KERN_INVALID_CAPABILITY will be returned.
/xnu-8019.80.24/osfmk/kern/
H A Dhost_notify.c82 return KERN_INVALID_CAPABILITY; in host_request_notification()
H A Dipc_tt.c1711 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_thread_flavor()
1720 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_thread_flavor()
1724 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_thread_flavor()
1996 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_task_flavor()
2006 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_task_flavor()
2010 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_task_flavor()
H A Dclock_oldops.c463 return KERN_INVALID_CAPABILITY; in clock_alarm()
H A Dwork_interval.c539 kr = KERN_INVALID_CAPABILITY; in port_name_to_work_interval()
H A Dsync_sema.c1209 kr = KERN_INVALID_CAPABILITY; in port_name_to_semaphore()
H A Dipc_kobject.c1435 kern_return_t kr = KERN_INVALID_CAPABILITY; in ipc_kobject_upgrade()
H A Dbsd_kern.c1439 case KERN_INVALID_CAPABILITY: in mach_to_bsd_errno()
H A Dzalloc.c9181 return KERN_INVALID_CAPABILITY; in zone_leaks()
/xnu-8019.80.24/osfmk/bank/
H A Dbank.c376 return KERN_INVALID_CAPABILITY; in bank_get_value()
609 kr = KERN_INVALID_CAPABILITY; in bank_get_value()
619 kr = KERN_INVALID_CAPABILITY; in bank_get_value()
/xnu-8019.80.24/osfmk/tests/
H A Dkernel_tests.c151 static kern_return_t parse_config_retval = KERN_INVALID_CAPABILITY;
158 if (parse_config_retval != KERN_INVALID_CAPABILITY) { in xnupost_parse_config()
343 return KERN_INVALID_CAPABILITY; in xnupost_process_kdb_stop()
350 return KERN_INVALID_CAPABILITY; in xnupost_process_kdb_stop()