PSETSYSENTRY(3PROC) Process Control Library Functions PSETSYSENTRY(3PROC) NNAAMMEE PPsseettssyysseennttrryy, PPsseettssyysseexxiitt - set system call tracing flags LLIIBBRRAARRYY Process Control Library (libproc, -lproc) SSYYNNOOPPSSIISS ##iinncclluuddee <> _v_o_i_d PPsseettssyysseennttrryy(_s_t_r_u_c_t _p_s___p_r_o_c_h_a_n_d_l_e _*_P, _c_o_n_s_t _s_y_s_s_e_t___t _*_s_e_t); _v_o_i_d PPsseettssyysseexxiitt(_s_t_r_u_c_t _p_s___p_r_o_c_h_a_n_d_l_e _*_P, _c_o_n_s_t _s_y_s_s_e_t___t _*_s_e_t); DDEESSCCRRIIPPTTIIOONN The PPsseettssyysseennttrryy() and PPsseettssyysseexxiitt() set the system call entry and exit tracing flags respectively in the process handle _P to _s_e_t. The call to PPsseettssyysseennttrryy() or PPsseettssyysseexxiitt() replaces the corresponding set of system call tracing flags entirely with the new set. The system call entry tracing flags cause a thread to stop on entry to the system call and the exit tracing flags cause a thread to stop on return from the system call, before control returns back to the user land process. For more information on the state of the thread and for information on manipulating the ssyysssseett__tt, see proc(4). Note that only active processes may have their system call tracing flags updated. Process handles that refer to core files, zombie processes, and files do not have fault tracing flags and this function is a no-op on them. IINNTTEERRFFAACCEE SSTTAABBIILLIITTYY UUnnccoommmmiitttteedd MMTT--LLEEVVEELL See LLOOCCKKIINNGG in libproc(3LIB). SSEEEE AALLSSOO Intro(2), libproc(3LIB), proc(4) illumos May 11, 2016 illumos