


     execv(rt.os/procpriVSRT 5.1.1 (The	Open Grouexecv(rt.os/procprim)



     NAME
	  rt.os/procprim/execv - execute a file	testset

     DESCRIPTION
	  Tests	the execv() function for conformance to	System
	  Interfaces and Headers, Issue	5 Page:	exec().
	  These	tests are supplemental to those	defined	for this
	  function in VSX and VSU, covering just requirements unique
	  to the Realtime Feature Group.

     TESTS
     Compliance
	  1    If _POSIX_SEMAPHORES is defined:
		 On a call to execv() all named	semaphores that	are
		 open in the calling process shall be closed as	if by
		 a call	to sem_close().

	  2    If _POSIX_MAPPED_FILES or _POSIX_SHARED_MEMORY_OBJECTS
	       is defined:
		 On a call to execv() memory mappings created in the
		 process shall be unmapped before the address space is
		 rebuilt for the new process image.

	  3    If _POSIX_PRIORITY_SCHEDULING is	defined:
		 On a call to execv(), for the SCHED_FIFO and SCHED_RR
		 scheduling policies, the scheduling policy and
		 priority settings shall not be	changed.

	  4    If _POSIX_TIMERS	is defined:
		 On a call to execv(), per-process timers created by
		 the calling process shall be deleted before replacing
		 the current process image with	the new	process	image.

	  5    If _POSIX_MESSAGE_PASSING is defined:
		 On a call to execv(), all open	message	queue
		 descriptors in	the calling process shall be closed,
		 as described in mq_close().

     Untestable	Aspects
	  1    If _POSIX_MEMLOCK is defined:
		 On a call to execv() memory locks established by the
		 calling process via calls to mlockall() or mlock()
		 shall be removed.
		 Reason	for omission: There is no portable test	method
		 for this assertion.

	  2    If _POSIX_MEMLOCK is defined:
		 On a call to execv() if locked	pages in the address
		 space of the calling process are also mapped into the
		 address space of other	processes and are locked by
		 these processes, the locks established	by those
		 processes shall not be	affected.



     Page 1					    (printed 2/21/103)






     execv(rt.os/procpriVSRT 5.1.1 (The	Open Grouexecv(rt.os/procprim)



		 Reason	for omission: There is no portable test	method
		 for this assertion.

	  3    If _POSIX_ASYNCHRONOUS_IO is defined and	the
	       implementation does not cancel all outstanding
	       asynchronous I/O	operations when	execv()	is called:
		 When asynchronous I/O operations are outstanding when
		 execv() is called, operations which are not cancelled
		 shall complete	as if the execv() call had not
		 occurred, but any associated signal notifications
		 shall be suppressed.
		 Reason	for omission: There is no reliable test	method
		 for this assertion.

     RELEASE
	  Release VSRT 5.1.1
	  Copyright (c)	1997 X/Open Company Ltd., A member of The Open
	  Group.
	  All rights reserved




































     Page 2					    (printed 2/21/103)



