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