Home
last modified time | relevance | path

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

/xnu-8792.41.9/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-8792.41.9/osfmk/kern/
H A Dhost_notify.c76 return KERN_INVALID_CAPABILITY; in host_request_notification()
93 kr = KERN_INVALID_CAPABILITY; in host_request_notification()
H A Dipc_tt.c1786 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_thread_flavor()
1795 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_thread_flavor()
1799 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_thread_flavor()
2092 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_task_flavor()
2102 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_task_flavor()
2106 return KERN_INVALID_CAPABILITY; in special_port_allowed_with_task_flavor()
H A Dclock_oldops.c408 return KERN_INVALID_CAPABILITY; in clock_alarm()
H A Dsync_sema.c1192 kr = KERN_INVALID_CAPABILITY; in port_name_to_semaphore()
H A Dwork_interval.c561 kr = KERN_INVALID_CAPABILITY; in port_name_to_work_interval()
H A Dbsd_kern.c1422 case KERN_INVALID_CAPABILITY: in mach_to_bsd_errno()
/xnu-8792.41.9/osfmk/ipc/
H A Dipc_object.c898 return KERN_INVALID_CAPABILITY; in ipc_object_insert_send_right()
906 kr = KERN_INVALID_CAPABILITY; in ipc_object_insert_send_right()
1010 kr = KERN_INVALID_CAPABILITY; in ipc_object_copyout()
1019 kr = KERN_INVALID_CAPABILITY; in ipc_object_copyout()
1033 kr = KERN_INVALID_CAPABILITY; in ipc_object_copyout()
1130 return KERN_INVALID_CAPABILITY; in ipc_object_copyout_name()
H A Dipc_right.c961 return KERN_INVALID_CAPABILITY; in ipc_right_destroy()
1177 return KERN_INVALID_CAPABILITY; in ipc_right_dealloc()
1623 return KERN_INVALID_CAPABILITY; in ipc_right_delta()
2178 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2203 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2252 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2267 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2374 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2380 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
2426 return KERN_INVALID_CAPABILITY; in ipc_right_copyin()
[all …]
H A Dipc_service_port.c187 return KERN_INVALID_CAPABILITY; in ipc_service_port_derive_sblabel()
H A Dipc_voucher.c1225 return KERN_INVALID_CAPABILITY; in ipc_execute_voucher_recipe_command()
1555 kr = KERN_INVALID_CAPABILITY; in ipc_create_mach_voucher_internal()
1654 return KERN_INVALID_CAPABILITY; in ipc_voucher_attr_control_create_mach_voucher()
2106 return KERN_INVALID_CAPABILITY; in mach_voucher_attr_control_get_values()
H A Dmach_port.c1566 return KERN_INVALID_CAPABILITY; in mach_port_request_notification()
1713 return KERN_INVALID_CAPABILITY; in mach_port_insert_right()
3080 return KERN_INVALID_CAPABILITY; in mach_port_is_connection_for_service()
3145 return KERN_INVALID_CAPABILITY; in mach_port_get_service_port_info()
H A Dipc_kmsg.c3594 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
3603 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
3614 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
3627 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
3639 return KERN_INVALID_CAPABILITY; in ipc_kmsg_validate_reply_port_locked()
3881 assert(kr != KERN_INVALID_CAPABILITY); in ipc_kmsg_copyin_header()
3937 if (kr == KERN_INVALID_CAPABILITY) { in ipc_kmsg_copyin_header()
5681 if (kr == KERN_INVALID_CAPABILITY) { in ipc_kmsg_copyout_object()
H A Dipc_eventlink.c1005 kern_return_t kr = KERN_INVALID_CAPABILITY; in convert_port_to_eventlink_locked()
H A Dipc_port.c2850 if (kr == KERN_INVALID_CAPABILITY) { in ipc_port_copyout_send_internal()
/xnu-8792.41.9/osfmk/mach/
H A Dkern_return.h163 #define KERN_INVALID_CAPABILITY 20 macro
H A Dmach_port.defs481 * right, KERN_INVALID_CAPABILITY will be returned.
/xnu-8792.41.9/osfmk/bank/
H A Dbank.c379 return KERN_INVALID_CAPABILITY; in bank_get_value()
605 kr = KERN_INVALID_CAPABILITY; in bank_get_value()
615 kr = KERN_INVALID_CAPABILITY; in bank_get_value()
/xnu-8792.41.9/osfmk/tests/
H A Dkernel_tests.c159 static kern_return_t parse_config_retval = KERN_INVALID_CAPABILITY;
166 if (parse_config_retval != KERN_INVALID_CAPABILITY) { in xnupost_parse_config()
351 return KERN_INVALID_CAPABILITY; in xnupost_process_kdb_stop()
358 return KERN_INVALID_CAPABILITY; in xnupost_process_kdb_stop()