Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
tdm_spawnp(2) OSS System Calls Reference Manual
• The child process has its own copy of a subset of the parent process’s file descriptors.
See Open Files, earlier in this reference page. However, each of the child’s file descrip-
tors shares a common file pointer with the corresponding file descriptor of the parent pro-
cess.
• The child process does not inherit file opens created by Guardian function or procedure
calls.
• The child process does not inherit file locks.
• The child process’s tms_utime, tms_stime, tms_cutime, and tms_cstime values are set
to 0 (zero).
• Any pending alarms are cleared in the child process.
• Any adjust-on-exit (semadj) values of the parent process are not inherited by the child
process.
• Any signals pending for the parent process are not inherited by the child process.
• The signal mask of the child process is that of the parent process unless modified by the
inherit->sigmask field. See Signals, earlier in this reference page.
• The set of signals for which default action is set and the set of signals to be ignored are
the same in the child process as in the parent process unless modified by
inherit->sigdefault. See Signals, earlier.
• The child process does not share directory streams with the parent. All open directory
streams are closed for the child process.
Default Guardian Attributes
If the pe_parms parameter contains a null pointer, the newly created OSS process retains all of
these default Guardian attributes of the process that calls the tdm_spawnp() function:
• Priority
• Processor on which the process executes
• Home terminal
• Job ID
• DEFINE mode switch
• Creator access ID (CAID)
• Process access ID (PAID), unless the S_ISUID mode bit of the new process image file is
set
• Security group list
• Job ancestor or GMOM
• Unread system message index (PCBMCNT)
This attribute assignment is different from the assignment made when creating a new
process with Guardian procedures.
8−66 Hewlett-Packard Company 527186-023