Public Member Functions | |
| int | execConcurrentProcess (StartProcInfo *spi) |
| int | execHiddenProcess (StartProcInfo *spi, u_long timeout=0xFFFFFFFF) |
| int | isProcessAlive () |
| Process () | |
| int | terminateProcess () |
| ~Process () | |
Static Public Member Functions | |
| void | initialize () |
| int | setAdditionalGroups (u_long len, u_long *groups) |
| int | setgid (u_long) |
| int | setuid (u_long) |
Private Attributes | |
| int | pid |
|
|
Create the object. |
|
|
Destroy the object. |
|
|
Start a process that runs simultaneously with the MyServer process. Return -1 on fails. Return the new process identifier on success. |
|
||||||||||||
|
Execute an hidden process and wait until it ends itself or its execution time is greater than the timeout value. Return -1 on fails. Return 0 on success. |
|
|
Initialize the static process data. |
|
|
Return a nonzero value if the process is still alive. A return value of zero means the process is a zombie. |
|
||||||||||||
|
Set the additional groups list for the process. |
|
|
Set the group identity for the process. Returns 0 on success. |
|
|
Set the user identity for the process. Returns 0 on success. |
|
|
Terminate a process. Return 0 on success. Return nonzero on fails. |
|
|
|
1.3.9.1