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.
19 .Nd set signal tracing action
25 .Fa "struct ps_prochandle *P"
32 function sets the signal tracing flag for the process handle
38 it causes the process handle to stop threads that encounter the signal
44 then it disables tracing for the signal
47 The signal constants, representing valid values for
55 Note, only active processes may have their signal tracing flags updated.
56 Process handles that refer to core files, zombie processes, and files do
57 not have signal tracing flags.
58 Calling this function on them is an error.
60 Upon successful completion, the
62 function returns the previous disposition of the signal
73 is set to indicate the error.
77 function will fail if:
88 is not a valid signal.
91 does not correspond to an active process.
93 .Sh INTERFACE STABILITY
103 .Xr Psetsignal 3PROC ,