136851Skfall/* 236851Skfall * Copyright (c) 1989 Regents of the University of California. 336851Skfall * All rights reserved. 436851Skfall * 536851Skfall * Redistribution and use in source and binary forms are permitted 636851Skfall * provided that the above copyright notice and this paragraph are 736851Skfall * duplicated in all such forms and that any documentation, 836851Skfall * advertising materials, and other materials related to such 936851Skfall * distribution and use acknowledge that the software was developed 1036851Skfall * by the University of California, Berkeley. The name of the 1136851Skfall * University may not be used to endorse or promote products derived 1236851Skfall * from this software without specific prior written permission. 1336851Skfall * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 1436851Skfall * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 1536851Skfall * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1636851Skfall */ 1736851Skfall 1836851Skfall#if defined(SYSLIBC_SCCS) && !defined(lint) 19*38791Skarels .asciz "@(#)setlogin.s 5.2 (Berkeley) 08/26/89" 2036851Skfall#endif /* SYSLIBC_SCCS and not lint */ 2136851Skfall 2236851Skfall#include "SYS.h" 2336851Skfall 24*38791Skarels.globl __logname_valid /* in getlogin() */ 25*38791Skarels 26*38791SkarelsSYSCALL(setlogin) 27*38791Skarels movl $0,__logname_valid 28*38791Skarels ret # setlogin(name) 29