1*22108Smckusick /* 2*22108Smckusick * Copyright (c) 1983 Regents of the University of California. 3*22108Smckusick * All rights reserved. The Berkeley software License Agreement 4*22108Smckusick * specifies the terms and conditions for redistribution. 5*22108Smckusick */ 613506Ssam 7*22108Smckusick #ifndef lint 8*22108Smckusick static char sccsid[] = "@(#)setruid.c 5.1 (Berkeley) 06/05/85"; 9*22108Smckusick #endif not lint 10*22108Smckusick 1113506Ssam setruid(ruid) 1213506Ssam int ruid; 1313506Ssam { 1413506Ssam 1513506Ssam return (setreuid(ruid, -1)); 1613506Ssam } 17