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_PROCESSOR_BIND 3PROC
19 .Nd inject processor_bind system call into victim process
26 .Fa "struct ps_prochandle *P"
37 system call into the target process
39 by means of the agent LWP.
44 then this will be equivalent to calling
46 on the currently running process.
54 have the same meaning as in
55 .Xr processor_bind 2 .
58 for the full description and purpose of the
60 system call and its arguments.
64 function only works on active processes.
65 Process handles that correspond to core files, zombie processes, or ELF objects
66 do not support system call injection.
68 Upon successful completion, the
70 function's return value is that described in
71 .Xr processor_bind 2 .
78 to indicate that the system call could not be injected.
80 For the full list of errors see the
83 .Xr processor_bind 2 .
87 function will fail if:
90 An error occurred while trying to invoke the agent LWP and inject a
91 system call in the process handle
95 does not support system call injection.
97 .Sh INTERFACE STABILITY
105 .Xr processor_bind 2 ,