


     execl_L(LSB.os/procpRelease 1.1 (UniSoft execl_L(LSB.os/procprim)



     NAME
	  LSB.os/procprim/execl_L - execute a file test	case

     DESCRIPTION
	  This test case tests the execl() system call interface for
	  conformance to parts of The Open Group's CAE Specification:
	  System Interfaces and	Headers, page:exec()

     TESTS
	  1    When a process has an alternate signal stack, then
	       after a successful call to execl(), the stack is	not
	       preserved in the	new process image.

	  2    After a successful call to execl(), the SA_ONSTACK flag
	       is cleared for all signals.

	  3    When the	set-user-ID bit	of path	is set and path
	       resides on a file system	for which the ST_NOSUID	bit is
	       set, then after a successful call to execl(path), the
	       effective user ID and saved set-user-ID in the new
	       process image are not changed.

	  4    When the	set-group-ID bit of path is set	and path
	       resides on a file system	for which the ST_NOSUID	bit is
	       set, then after a successful call to execl(path), the
	       effective group ID and saved set-group-ID in the	new
	       process image are not changed.

	  5    When a process has a semadj value associated with a
	       semaphore, then after a successful call to execl(), the
	       semadj value is inherited by the	new process image.

	  6    When a process has a controlling	terminal, then after a
	       successful call to execl(), the controlling terminal is
	       inherited by the	new process image.

	  7    After a successful call to execl(), the values of the
	       ITIMER_REAL, ITIMER_VIRTUAL and ITIMER_PROF interval
	       timers in the calling process are inherited by the new
	       process image.

	  8    When too	many symbolic links are	encountered while
	       resolving path, then a call to execl(path) returns -1
	       with errno set to ELOOP.

     Untestable	aspects
	  1    After a successful call to execl(), the saved resource
	       limits in the new process image are set from those in
	       the calling process image.
	       Reason for omission: There is no	known reliable test
	       method for this assertion.




     Page 1					    (printed 2/21/103)






     execl_L(LSB.os/procpRelease 1.1 (UniSoft execl_L(LSB.os/procprim)



	  2    When path is a symbolic link and	the resolution of path
	       produces	an intermediate	result whose length exceeds
	       {PATH_MAX}, then	a call to execl(path) returns -1 and
	       errno is	set to ENAMETOOLONG.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

     RELEASE
	  LSB-os 1.1 (00/11/23)














































     Page 2					    (printed 2/21/103)



