xref: /csrg-svn/lib/libc/tahoe/sys/setlogin.s (revision 47906)
1*47906Sbostic/*
2*47906Sbostic * Copyright (c) 1983 The Regents of the University of California.
3*47906Sbostic * All rights reserved.
4*47906Sbostic *
5*47906Sbostic * Redistribution and use in source and binary forms are permitted
6*47906Sbostic * provided that: (1) source distributions retain this entire copyright
7*47906Sbostic * notice and comment, and (2) distributions including binaries display
8*47906Sbostic * the following acknowledgement:  ``This product includes software
9*47906Sbostic * developed by the University of California, Berkeley and its contributors''
10*47906Sbostic * in the documentation or other materials provided with the distribution
11*47906Sbostic * and in all advertising materials mentioning features or use of this
12*47906Sbostic * software. Neither the name of the University nor the names of its
13*47906Sbostic * contributors may be used to endorse or promote products derived
14*47906Sbostic * from this software without specific prior written permission.
15*47906Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16*47906Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17*47906Sbostic * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18*47906Sbostic */
19*47906Sbostic
20*47906Sbostic#include "SYS.h"
21*47906Sbostic
22*47906Sbostic#if defined(LIBC_SCCS) && !defined(lint)
23*47906Sbostic	ASMSTR "@(#)setlogin.s	5.4 (Berkeley) 5/30/90"
24*47906Sbostic#endif /* LIBC_SCCS and not lint */
25*47906Sbostic
26*47906Sbostic.globl	__logname_valid		/* in getlogin() */
27*47906Sbostic
28*47906SbosticSYSCALL(setlogin)
29*47906Sbostic	movl	$0,__logname_valid
30*47906Sbostic	ret			/* setlogin(name); */
31