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

System Functions (e) execl(2)
For those le descriptors that remain open, all attributes of the open le descriptor, including le
locks, remain unchanged. All directory streams are closed.
Shared Memory
Any attached shared memory segments are detached by a successful call to a function in the exec
set of functions. Refer to the shmat(2) reference page for additional information about shared
memory segment use.
Semaphores
Semaphore set IDs attached to a calling process are also attached to the new process. The new
process also inherits the adjust-on-exit (semadj) values of the calling process.
Refer to the semget(2) reference page for additional information about semaphore use.
Signals
Signals set to:
The default action (SIG_DFL) in the calling process image are set to the default action
in the new process image.
Be ignored (SIG_IGN) by the calling process image are set to be ignored by the new
process image.
Cause abnormal termination (SIG_ABORT) in the calling process image are set to that |
action in the new process image.
Cause entry into the debugger (SIG_DEBUG) in the calling process image are set to that |
action in the new process image.
Be caught by the calling process image are set to the default action in the new process
image.
See the signal(4) reference page either online or in the Open System Services System Calls Refer- |
ence 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
527186-003 Hewlett-Packard Company 25