Home
last modified time | relevance | path

Searched refs:mach_port_insert_right (Results 1 – 25 of 34) sorted by relevance

12

/xnu-8792.61.2/tests/
H A Dmach_port_insert_right.c22 T_DECL(mach_port_insert_right, "insert send right for an existing right", T_META_CHECK_LEAKS(false))
36 retval = mach_port_insert_right(task, port, port, MACH_MSG_TYPE_MAKE_SEND);
43 retval = mach_port_insert_right(task, name, port, MACH_MSG_TYPE_MAKE_SEND);
48 retval = mach_port_insert_right(task, name, port, MACH_MSG_TYPE_MAKE_SEND);
58 retval = mach_port_insert_right(task, name, port2, MACH_MSG_TYPE_MAKE_SEND);
H A Dexception_ports_info.c55 kr = mach_port_insert_right(mach_task_self(), exc_port1, exc_port1, MACH_MSG_TYPE_MAKE_SEND);
57 kr = mach_port_insert_right(mach_task_self(), exc_port2, exc_port2, MACH_MSG_TYPE_MAKE_SEND);
59 kr = mach_port_insert_right(mach_task_self(), exc_port3, exc_port3, MACH_MSG_TYPE_MAKE_SEND);
H A Dreply_port_defense_client.c20 kr = mach_port_insert_right(mach_task_self(), server_port, server_port, MACH_MSG_TYPE_MAKE_SEND); in alloc_server_port()
80 …kr = mach_port_insert_right(mach_task_self(), reply_port, reply_port, MACH_MSG_TYPE_MAKE_SEND_ONCE… in test_make_send_once_right()
H A Dregression_17272465.c17 …T_ASSERT_MACH_SUCCESS(mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_MAKE_SEND…
H A Dimmovable_send.c114 ret = mach_port_insert_right(mach_task_self(), args->server_port, args->server_port, in server_setup()
138 kret = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in create_exception_port()
H A Dport_table_limits.c138 ret = mach_port_insert_right(mach_task_self(), args->server_port, args->server_port, in server_setup()
225 kret = mach_port_insert_right(task, rn_port, rn_port, MACH_MSG_TYPE_MAKE_SEND); in create_resource_notify_port()
H A Dprioritize_process_launch.c236 kr = mach_port_insert_right(mach_task_self(), in get_sync_push_port_at_qos()
264 kr = mach_port_insert_right(mach_task_self(), in create_port_and_copyin_a_port()
783 kr = mach_port_insert_right(mach_task_self(),
H A Dimm_pinned_control_port.c187 kret = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in alloc_exception_port()
210 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_… in test_immovable_port_stashing()
H A Dexc_resource_threads.c96 …kret = mach_port_insert_right(mach_task_self(), exception_port, exception_port, MACH_MSG_TYPE_MAKE… in exc_handler()
H A Dport_table_limits_client.c83 ret = mach_port_insert_right(mach_task_self(), reply_port, reply_port, MACH_MSG_TYPE_MAKE_SEND ); in connect_to_server()
H A Dreply_port_defense.c44 kret = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in alloc_exception_port()
H A Dhw_breakpoint_step_arm64.c95 …kret = mach_port_insert_right(mach_task_self(), exception_port, exception_port, MACH_MSG_TYPE_MAKE… in exc_handler()
H A Dwork_interval_test.c229 ret = mach_port_insert_right(mach_task_self(), fake_port, fake_port, MACH_MSG_TYPE_MAKE_SEND);
H A Dmach_service_port.c68 kr = mach_port_insert_right(mach_task_self(), notify_port, notify_port, MACH_MSG_TYPE_MAKE_SEND);
H A Dmo_immovable_receive.c75 ret = mach_port_insert_right(mach_task_self(), args->server_port, args->server_port, in server_setup()
H A Dprioritize_process_launch_helper.c222 kr = mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_MAKE_SEND); in main()
H A Dfd_table_limits.c213 ret = mach_port_insert_right(mach_task_self(), args->server_port, args->server_port, in server_setup()
H A Dexc_helpers.c278 kr = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in create_exception_port_behavior64()
H A Dimm_pinned_control_port_crasher.c37 kr = mach_port_insert_right(mach_task_self(), server, server, MACH_MSG_TYPE_MAKE_SEND); in attempt_send_immovable_port()
H A Dmach_exception_reply.c371 kr = mach_port_insert_right(me, ePort, ePort, MACH_MSG_TYPE_MAKE_SEND); in test_exc_reply_type()
/xnu-8792.61.2/libsyscall/mach/
H A Dmach_right.c97 kr = mach_port_insert_right(mach_task_self(), r.mrr_name, r.mrr_name, in mach_right_send_create()
/xnu-8792.61.2/tests/ipc/
H A Dmach_msg2.c309 kr = mach_port_insert_right(mach_task_self(), rcv_port, rcv_port, MACH_MSG_TYPE_MAKE_SEND);
429 kr = mach_port_insert_right(mach_task_self(), sr_port, sr_port, MACH_MSG_TYPE_MAKE_SEND);
577 kr = mach_port_insert_right(mach_task_self(), sr_port, sr_port, MACH_MSG_TYPE_MAKE_SEND);
H A Dkernel_signed_pac_thread_state.c304 kr = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in create_exception_port_behavior64()
/xnu-8792.61.2/tests/vm_memory_tests_src/
H A Dmain.c104 …T_ASSERT_POSIX_ZERO(mach_port_insert_right(mach_task_self(), replyPort, replyPort, MACH_MSG_TYPE_M… in mach_client()
/xnu-8792.61.2/tools/tests/MPMMTest/
H A DMPMMtest.c381 ret = mach_port_insert_right(mach_task_self(), in setup_server_ports()
391 ret = mach_port_insert_right(mach_task_self(), in setup_server_ports()

12