Home
last modified time | relevance | path

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

/xnu-11417.101.15/tests/
H A Daudit_session.c971 static mach_port_t new_session_port = MACH_PORT_NULL; variable
977 if (MACH_PORT_VALID(new_session_port)) { in audit_session_join_cleanup()
978 mach_port_deallocate(mach_task_self(), new_session_port); in audit_session_join_cleanup()
979 new_session_port = MACH_PORT_NULL; in audit_session_join_cleanup()
1010 new_session_port = audit_session_self();
1011 T_ASSERT_TRUE(MACH_PORT_VALID(new_session_port), NULL);
1037 T_ASSERT_POSIX_SUCCESS(audit_session_join(new_session_port), "audit_session_join(2) succeeds");
1049 mach_port_deallocate(mach_task_self(), new_session_port);
1050 new_session_port = MACH_PORT_NULL;