Lines Matching full:process
44 .Nd System calls to manage process descriptors
78 Process descriptors are special file descriptors that represent processes,
83 which, if successful, returns a process descriptor in the integer pointed to
96 Instead of the default terminate-on-close behaviour, allow the process to
107 for the process descriptor returned by the operation.
108 If there is another process descriptor for the same process, created without
111 flag, closing that descriptor kills the process.
113 Set close-on-exec on process descriptor.
121 Otherwise the descriptor cannot be used to debug the child process.
135 argument to control sharing of process resources between the caller
136 and the new process.
139 the function writes the process descriptor referencing the created
140 process into the location pointed to by the
160 function opens the process descriptor for the process
167 The caller must have permission to debug the target process in order for
172 There might be more that one file descriptor referencing the process.
175 specifying any file descriptors for the same process fail with the
183 when the target process is the child of the calling process, or
184 when the calling process is the debugger of the target process.
188 or by other means, e.g., by debugging the target process' parent with
192 queries the process ID (PID) in the process descriptor
198 except that it accepts a process descriptor,
205 the status information on the process referenced by the
207 process descriptor.
215 across the process boundaries.
219 in the process specified by the
221 process descriptor.
235 requests on the process specified by the process descriptor
256 .Sh INTERACTION OF PROCESS DESCRIPTORS AND Xr WAITPID 2
260 system call may be called on a process descriptor
262 In particular, it does not reap the target process,
263 even if that process has exited.
267 If the process was forked with
271 flag was specified, then the process is automatically reaped after the
272 last process descriptor referencing that process is closed.
277 are needed to reap the zombie process.
279 If the process was created by
284 the process will not be reaped until the parent or reaper has called
286 and all process descriptors referencing the process are closed.
288 If the process was created by the
291 .Pq which does not allocate a process descriptor for the child ,
292 and later the process was opened by
299 In any case, the PID of the process is not reused until its zombie
300 is reaped, and all its process descriptors are closed.
307 the target process was forked.
308 .Sh INTERACTION OF PROCESS DESCRIPTORS WITH OTHER SYSTEM CALLS
310 The following system calls also have effects specific to process descriptors:
313 queries status of a process descriptor; currently only the
322 process represented by the process descriptor is still alive.
327 allow waiting for process state transitions; currently only
329 is defined, and will be raised when the process dies.
330 Process state transitions can also be monitored using
339 will close the process descriptor unless
341 is set; if the process is still alive and this is
342 the last reference to the process descriptor, the process will be terminated
345 The PID of the referenced process is not reused until the process
347 whether or not the zombie process is reaped by
380 Note that the child process was already created when this condition
397 The process descriptor being operated on has insufficient rights (e.g.
421 is called by the process in capability mode.
423 The process specified by the
427 The process specified by the
430 to open the process.
432 The calling process already reached its limit for open file descriptors.
434 Current implementation installs the opened process descriptor into the
435 calling process's file descriptors table.
436 If the descriptor cannot be installed, the process descriptor is closed,
453 is not a process file descriptor.
455 The process specified by the file descriptor
461 is not a valid file descriptor in the specified process.
463 The specified process does not have a file descriptor table.
466 refers to a file that cannot be duplicated across a process boundary,
477 The process issuing the
485 The process called
487 on the process descriptor that does not have the
521 Support for process descriptors mode was developed as part of the