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.
15 .Dt PR_GETPROJID 3PROC
19 .Nd inject getprojid system call into victim process
25 .Fa "struct ps_prochandle *P"
32 system call into the target process
34 by means of the agent LWP.
39 then this is equivalent to calling
41 on the currently running process.
45 function only works on active processes.
46 Process handles that correspond to core files, zombie processes, or ELF objects
47 do not support system call injection.
49 Upon successful completion, the
51 function's return value is that described in
59 to indicate that the system call could not be injected.
61 For the full list of errors see the
68 function will fail if:
71 An error occurred while trying to invoke the agent LWP and inject a
72 system call in the process handle
76 does not support system call injection.
78 .Sh INTERFACE STABILITY