Open System Services System Calls Reference Manual (G06.25+, H06.03+)
tdm_execvep(2) OSS System Calls Reference Manual
• The process name for the new process is system-generated if the RUNNAMED option is
set in the program file. Otherwise the process is unnamed.
• The size of the data segment of the new process is set in the program file.
• The remote login flag (PCBREMID) is set to zero (off) if the program file has its
S_ISUID mode bit set. Otherwise, the remote login flag is set the same as for the caller.
• The size of the extended data segment of the new process is set in the program file.
• The DEFINEs inherited by the new process depend on the setting of DEFINE mode in
the caller. If DEFINE mode in the caller is ON, all the caller’s DEFINEs are inherited.
If DEFINE mode is OFF, no DEFINEs are inherited.
• The process identification number (PIN) of the new process is unrelated to that of the
calling process. Usually, the PIN of the new process is unrestricted. However, the PIN
can be restricted to the range 0 through 254 under the following conditions:
— The HIGHPIN flag is not set in, or is absent from, the program file or any library
file.
— _TPC_HIGHPIN_OFF is specified in the pe_create_options field of the
process_extension structure.
— The restriction is inherited. See the description of
_TPC_IGNORE_FORCEPIN_ATTR in the pe_create_options field of the
process_extension structure for more information about controlling inheritance.
• The creator access ID (CAID) is set to the process access ID (PAID) of the calling pro-
cess.
• The PAID depends on whether the S_ISUID mode bit of the process image file is set. If
that bit is set, the PAID is based on the file owner ID. If not, the PAID is the same as for
the caller. (The S_ISUID mode bit of the image file has no effect on the security group
list.)
• The MOM field for the new process depends on whether the calling process is named. If
it is named, the MOM field of the new process is set to the caller’s ANCESTOR field.
Otherwise, the MOM field of the new process is set to the caller’s MOM field.
• System debugger selection for the new process is based on INSPECT mode.
• Code breakpoints and memory breakpoints are not inherited.
For detailed information about Guardian process attributes, see the PROCESS_LAUNCH_ pro-
cedure in the Guardian Procedure Calls Reference Manual.
Setting Guardian Attributes
The input structure pointed to by the pe_parms parameter permits the setting of Guardian attri-
butes for the new process.
First, the input structure must be initialized to the default values (see Default Guardian Attri-
butes, earlier in this reference page) using the #define DEFAULT_PROCESS_EXTENSION.
After the data structure is initialized, the values can be set using literals that are defined in the
tdmext.h header file.
If any optional parameter specified in the structure pointed to by pe_parms is not passed, the new
process assumes the corresponding default value.
8−22 Hewlett-Packard Company 527186-003