122108Smckusick /* 222108Smckusick * Copyright (c) 1983 Regents of the University of California. 322108Smckusick * All rights reserved. The Berkeley software License Agreement 422108Smckusick * specifies the terms and conditions for redistribution. 522108Smckusick */ 613506Ssam 7*26588Sdonn #if defined(LIBC_SCCS) && !defined(lint) 8*26588Sdonn static char sccsid[] = "@(#)setruid.c 5.2 (Berkeley) 03/09/86"; 9*26588Sdonn #endif LIBC_SCCS and not lint 1022108Smckusick 1113506Ssam setruid(ruid) 1213506Ssam int ruid; 1313506Ssam { 1413506Ssam 1513506Ssam return (setreuid(ruid, -1)); 1613506Ssam } 17