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 inject waitid system call into victim process
25 .Fa "struct ps_prochandle *P"
28 .Fa "siginfo_t *infop"
36 system call into the target process
38 by means of the agent LWP.
43 then this will be equivalent to calling
45 on the currently running process.
53 have the same meaning as in
57 for the full description and purpose of the
59 system call and its arguments.
63 function only works on active processes. Process handles that correspond
64 to core files, zombie processes, or ELF objects do not support system
67 Upon successful completion, the
69 function's return value is that described in
77 to indicate that the system call could not be injected.
79 For the full list of errors see the
86 function will fail if:
89 An error occurred while trying to invoke the agent LWP and inject a
90 system call in the process handle
94 does not support system call injection.
96 .Sh INTERFACE STABILITY