2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright 2015 Joyent, Inc.
20 .Nd synchronize cached tracing flags and modifications
26 .Fa "struct ps_prochandle *P"
30 .Fa "struct ps_lwphandle *L"
35 function synchronizes modifications to the process handle
37 back to the underlying active process.
40 function ensures that any outstanding process holds, register
41 modifications, signal injections, and modifications to the various fault
42 and system call tracing flags are taken care of.
44 Normally this function is not required as other library routines take
45 care of synchronizing this state out to the process when it is required.
46 If the underlying /proc file system routines are used outside of the
47 library, calling this function may be required.
51 function is only meaningful for active processes.
52 It will do nothing on process handles that refer to core files, zombie
53 processes, and ELF objects.
57 function is equivalent to the
59 function, except rather than operating on the entire process and its
60 representative thread, it instead operates on the thread handle
62 .Sh INTERFACE STABILITY
74 .Xr Psetsignal 3PROC ,
75 .Xr Psetsysentry 3PROC ,
76 .Xr Psetsysexit 3PROC ,