Lines Matching full:process

44 .Nd System calls to manage process descriptors
70 Process descriptors are special file descriptors that represent processes,
75 which, if successful, returns a process descriptor in the integer pointed to
88 Instead of the default terminate-on-close behaviour, allow the process to
99 for the process descriptor returned by the operation.
100 If there is another process descriptor for the same process, created without
103 flag, closing that descriptor kills the process.
105 Set close-on-exec on process descriptor.
117 argument to control sharing of process resources between the caller
118 and the new process.
121 the function writes the process descriptor referencing the created
122 process into the location pointed to by the
142 function opens the process descriptor for the process
149 The caller must have permission to debug the target process in order for
154 There might be more that one file descriptor referencing the process.
157 specifying any file descriptors for the same process fail with the
162 queries the process ID (PID) in the process descriptor
168 except that it accepts a process descriptor,
175 the status information on the process referenced by the
177 process descriptor.
185 across the process boundaries.
189 in the process specified by the
191 process descriptor.
200 .Sh INTERACTION OF PROCESS DESCRIPTORS AND Xr WAITPID 2
204 system call may be called on a process descriptor
206 In particular, it does not reap the target process,
207 even if that process has exited.
211 If the process was forked with
215 flag was specified, then the process is automatically reaped after the
216 last process descriptor referencing that process is closed.
221 are needed to reap the zombie process.
223 If the process was created by
228 the process will not be reaped until the parent or reaper has called
230 and all process descriptors referencing the process are closed.
232 If the process was created by the
235 .Pq which does not allocate a process descriptor for the child ,
236 and later the process was opened by
243 In any case, the PID of the process is not reused until its zombie
244 is reaped, and all its process descriptors are closed.
251 the target process was forked.
252 .Sh INTERACTION OF PROCESS DESCRIPTORS WITH OTHER SYSTEM CALLS
254 The following system calls also have effects specific to process descriptors:
257 queries status of a process descriptor; currently only the
266 process represented by the process descriptor is still alive.
271 allow waiting for process state transitions; currently only
273 is defined, and will be raised when the process dies.
274 Process state transitions can also be monitored using
283 will close the process descriptor unless
285 is set; if the process is still alive and this is
286 the last reference to the process descriptor, the process will be terminated
289 The PID of the referenced process is not reused until the process
291 whether or not the zombie process is reaped by
324 Note that the child process was already created when this condition
341 The process descriptor being operated on has insufficient rights (e.g.
365 is called by the process in capability mode.
367 The process specified by the
371 The process specified by the
374 to open the process.
376 The calling process already reached its limit for open file descriptors.
378 Current implementation installs the opened process descriptor into the
379 calling process's file descriptors table.
380 If the descriptor cannot be installed, the process descriptor is closed,
397 is not a process file descriptor.
399 The process specified by the file descriptor
405 is not a valid file descriptor in the specified process.
407 The specified process does not have a file descriptor table.
410 refers to a file that cannot be duplicated across a process boundary,
444 Support for process descriptors mode was developed as part of the