Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-49
PROCESS_CREATE_ Procedure
(Superseded by PROCESS_LAUNCH_ Procedure )
Device subtypes for named processes (process subtypes)
The device subtype (or process subtype) is a program file attribute that can be set
by a TAL compiler directive at compile time,
nld flag at link time, or Binder
command at bind time. You can obtain the device type and subtype of a named
process by calling FILE_GETINFO[BYNAME]_ , FILEINFO, or DEVICEINFO.
Note that a process with a device subtype other than 0 must always be named.
There are 64 process subtypes available, where 0 is the default subtype for
general use. The other subtypes are as follows:
1 to 47 are reserved for definition by HP. Currently, 1 is a CMI process, 2 is a
security monitor process, 30 is a device simulation process, and 31 is a
spooler collector process. Also, for subtypes 1 to 15,
PROCESS_CREATE_ rejects the create request with an invalid
process subtype error unless the caller has a creator access ID of the
super ID, or the program file is licensed, or the program file has the
PROGID attribute set and an owner of the super ID.
48 to 63 are for general use. Any user can create a named process with a
device subtype in this range.
Refer to Appendix A, Device Types and Subtypes
, for a list of all device types and
subtypes.
Reserved process names
The operating system reserved process name space includes the following names:
$X
name, $Yname, and $Zname, where name is from 1 through 4 alphanumeric
characters. You should not use names of this form in any application. System-
generated process names (from PROCESS_LAUNCH_, PROCESS_SPAWN_,
PROCESS_CREATE_ , NEWPROCESS[NOWAIT], PROCESSNAME_CREATE_ ,
CREATEPROCESSNAME and CREATEREMOTENAME procedures) are selected
from this set of names. Refer to Appendix B, Reserved Process Names
for more
information about reserved process names.
Creator access ID (CAID) and process access ID (PAID)
The creator access ID of the new process is always the same as the process
access ID of the creator process. The process access ID of the new process is the
same as that of the creator process unless the program file has the PROGID
attribute set; in that case the process access ID of the new process is the same as
the user ID of the program file’s owner and the new process is always local.
I/O error to the home terminal
An I/O error to the home terminal can occur if there are undefined externals in the
program file and PROCESS_CREATE_ is unable to open or write to the home
terminal to display the undefined externals messages. The
error-detail
parameter contains the file-system error number that resulted from the open or
write that failed.