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
27 .Fa "struct ps_prochandle *P"
31 .Fa "struct ps_lwphandle *L"
36 function synchronizes modifications to the process handle
38 back to the underlying active process.
41 function ensures that any outstanding process holds, register
42 modifications, signal injections, and modifications to the various fault
43 and system call tracing flags are taken care of.
45 Normally this function is not required as other library routines take
46 care of synchronizing this state out to the process when it is required.
47 If the underlying /proc file system routines are used outside of the
48 library, calling this function may be required.
52 function is only meaningful for active processes.
53 It will do nothing on process handles that refer to core files, zombie
54 processes, and ELF objects.
58 function is equivalent to the
60 function, except rather than operating on the entire process and its
61 representative thread, it instead operates on the thread handle
63 .Sh INTERFACE STABILITY
75 .Xr Psetsignal 3PROC ,
76 .Xr Psetsysentry 3PROC ,
77 .Xr Psetsysexit 3PROC ,