/*
*      SCCS:   @(#)install/userintf/gen_newroot	1.1 (01/21/97)  VSXgen release 1.4
*
*	UniSoft Ltd., London, England
*/
/***********************************************************************

NAME:		gen_newroot - user-modifiable newroot() routine
PROJECT:	VSX (X/OPEN Validation Suite)
AUTHOR:		Geoff Clare, UniSoft Ltd.
DATE CREATED:	December 1996
MODIFICATIONS:

************************************************************************/

/*
 *	Newroot() causes "path" to become the root directory for the
 *	current process.
 *	Newroot() is only called after setprv(PRV_NEWROOT) since setting
 *	the root directory is usually a privileged operation.
 *	It returns 0 for success, -1 for failure.
 */

public int
newroot(path)
char *path;
{
	return chroot(path);
}

