122109Smckusick /* 222109Smckusick * Copyright (c) 1983 Regents of the University of California. 335311Sbostic * All rights reserved. 435311Sbostic * 5*42626Sbostic * %sccs.include.redist.c% 622109Smckusick */ 713504Ssam 826589Sdonn #if defined(LIBC_SCCS) && !defined(lint) 9*42626Sbostic static char sccsid[] = "@(#)setuid.c 5.4 (Berkeley) 06/01/90"; 1035311Sbostic #endif /* LIBC_SCCS and not lint */ 1122109Smckusick 1213504Ssam /* 1313504Ssam * Backwards compatible setuid. 1413504Ssam */ setuid(uid)1513504Ssamsetuid(uid) 1613504Ssam int uid; 1713504Ssam { 1813504Ssam 1913504Ssam return (setreuid(uid, uid)); 2013504Ssam } 21