|PCREATE_AGENT(3PROC)||Process Control Library Functions||PCREATE_AGENT(3PROC)|
create the agent LWP
Process Control Library (libproc, -lproc)
function creates the agent LWP in the process represented by the handle
P. The agent LWP is used as a means to force system
calls to be invoked on the controlled process. For more information on the
agent LWP, see proc(5).
The agent LWP cannot be created for process handles corresponding to core files, zombie processes, processes that have yet to run, and ELF objects.
function is reentrant. It may be entered recursively. The act of creating
the agent LWP will cause the process to be stopped. For every call to the
Pcreate_agent() function, a corresponding call to
Pcreate_agent() function will fail
Note, it is possible for other error numbers to be returned. If they are, they represent unanticipated failure.
|May 11, 2016||OmniOS|