154408Storek/* 2*61176Sbostic * Copyright (c) 1992, 1993 3*61176Sbostic * The Regents of the University of California. All rights reserved. 454408Storek * 554408Storek * This software was developed by the Computer Systems Engineering group 654408Storek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 754408Storek * contributed to Berkeley. 854408Storek * 954408Storek * %sccs.include.redist.c% 1054408Storek * 1154408Storek * from: $Header: setlogin.s,v 1.1 91/07/06 13:06:00 torek Exp $ 1254408Storek */ 1354408Storek 1454408Storek#if defined(LIBC_SCCS) && !defined(lint) 15*61176Sbostic .asciz "@(#)setlogin.s 8.1 (Berkeley) 06/04/93" 1654408Storek#endif /* LIBC_SCCS and not lint */ 1754408Storek 1854408Storek#include "SYS.h" 1954408Storek 2054408Storek .globl __logname_valid /* in getlogin() */ 2154408Storek 2254408StorekSYSCALL(setlogin) 2354408Storek sethi %hi(__logname_valid), %g1 2454408Storek retl 2554408Storek st %g0, [%g1 + %lo(__logname_valid)] 26