Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
execlp(2) OSS System Calls Reference Manual
User ID and Group ID
If the set-user-ID mode bit of the new process image file is set (see the chmod(2) reference
page), the effective user ID of the new process image is set to the owner ID of the new process
image file. Similarly, if the set-group-ID mode bit of the new process image file is set, the
effective group ID of the new process image is set to the group ID of the new process image file.
The real user ID, real group ID, and supplementary group IDs of the new process image remain
the same as those of the calling process image. The effective user ID and effective group ID of
the new process image are saved (as the saved-set-user ID and the saved-set-group ID) for use by
the setuid() function.
The _POSIX_SAVED_IDS flag is defined TRUE.
OSS Attributes
The following OSS attributes of the calling process image are unchanged after successful com-
pletion of any of the exec set of functions:
• OSS process ID (PID)
• Parent process ID
• Process group ID
• Session membership
• Real user ID
• Real group ID
• Supplementary group IDs
• The time left until an alarm clock signal is posted (see the alarm(3) reference page)
• Current working directory
• Root directory
• File mode creation mask (see the umask(2) reference page)
• Process signal mask (see the sigprocmask(2) reference page)
• Pending signals (see the sigpending(2) reference page)
• The tms_utime, tms_stime, tms_cutime, and tms_cstime fields of the tms structure
• File size limit (see the ulimit(2) reference page)
Upon successful completion of the function call, the st_atime field of the file is marked for
update.
The POSIX.1 standard does not specify the effect on the st_atime field when the function call
fails but does find the file. Likewise, the HP implementation does not guarantee the outcome.
Under these circumstances, this field should not be used for further processing.
Guardian Attributes
The newly created OSS process retains the following Guardian attributes of the process that calls
one of the exec set of functions:
• Priority
• Processor on which the process executes
2−22 Hewlett-Packard Company 527186-023