Open System Services System Calls Reference Manual (G06.25+, H06.03+)

execvp(2) OSS System Calls Reference Manual
User ID and Group ID
If the set-user-ID mode bit of the new process image le 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 le. Similarly, if the set-group-ID mode bit of the new process image le is set, the
effective group ID of the new process image is set to the group ID of the new process image
le.
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 ag is dened 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 elds of the tms structure
File size limit (see the ulimit(2) reference page)
Upon successful completion of the function call, the st_atime eld of the le is marked for
update.
The POSIX.1 standard does not specify the effect on the st_atime eld when the function call
fails but does nd the le. Likewise, the HP implementation does not guarantee the outcome.
Under these circumstances, this eld 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
246 Hewlett-Packard Company 527186-003