Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

tdm_execve(2) OSS System Calls Reference Manual
#endif /* !defined (__LP64) && !defined (_PROCEX32_64BIT) */
When an application is compiled in 64-bit compile mode or compiled using the #define
_PROCEX32_64BIT 1 feature test macro or an equivalent compiler command option, the appli-
cation will use the version of the process_extension structure that contains 64-bit data types.
The _PROCEX32_64BIT flag is only required if a 32-bit process must specify larger 64-bit
values for pe_mainstack_max, pe_heap_max, and pe_space_guaranter. These larger data
types are optional when creating a 64-bit process.
Note: The input structure supports two versions: one that contains 64-bit data types and
one that contains 32-bit data types. Because the order in which the fields appear in
this structure varies significantly based on the version in use, the field definitions
below are defined alphabetically instead of sequentially.
The input structure passes this information:
pe_cpu Specifies the processor on which the new process will execute. The OSS process
ID (PID) of the process remains unchanged. This field is used to distribute sys-
tem load.
pe_create_options
Specifies process creation options as:
_TPC_BOTH_DEFINES
Propagates the current DEFINEs and the DEFINEs indicated in
the input structure.
_TPC_ENABLE_DEFINES
Enables DEFINEs when set if
_TPC_OVERRIDE_DEFMODE is also set. Disables
DEFINEs when not set.
_TPC_HIGHPIN_OFF
Restricts the new process to a PIN in the range 0 through 254.
This restriction is rarely useful for an OSS process; it allows
obsolescent Guardian interfaces to interact with the process.
By default, this restriction is inherited by any child or successor
process. The default can be overridden by using the
_TPC_IGNORE_FORCEPIN_ATTR field.
_TPC_IGNORE_FORCEPIN_ATTR
Ignores the _TPC_HIGHPIN_OFF restriction specified for or
inherited by the caller or parent process. When
_TPC_IGNORE_FORCEPIN_ATTR is specified, the result-
ing process has a restricted PIN only if _TPC_HIGHPIN_OFF
is also specified or if the object file for the program or a user
library lacks the HIGHPIN attribute.
_TPC_OVERRIDE_DEFMODE
Specifies that the DEFINE mode of the new process is to be set
according to the _TPC_ENABLE_DEFINES option rather than
to the caller’s current DEFINE mode.
_TPC_PROCESS_DEFINES_ONLY
Propagates only the current set of DEFINEs.
810 Hewlett-Packard Company 527186-023