summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/sparc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-09-04 02:12:47 +0000
committerderaadt <deraadt@openbsd.org>2012-09-04 02:12:47 +0000
commit712aed9cfa57b565e9bae479979346bf1070abce (patch)
treeb9829aa93280330d5121d5dbb43b3cf56c24e1e0 /lib/libc/arch/sparc
parentfix the example filter to match current API by using (diff)
downloadwireguard-openbsd-712aed9cfa57b565e9bae479979346bf1070abce.tar.xz
wireguard-openbsd-712aed9cfa57b565e9bae479979346bf1070abce.zip
these are no longer used; ok guenther
Diffstat (limited to 'lib/libc/arch/sparc')
-rw-r--r--lib/libc/arch/sparc/sys/setlogin.S49
1 files changed, 0 insertions, 49 deletions
diff --git a/lib/libc/arch/sparc/sys/setlogin.S b/lib/libc/arch/sparc/sys/setlogin.S
deleted file mode 100644
index 216df34eb1e..00000000000
--- a/lib/libc/arch/sparc/sys/setlogin.S
+++ /dev/null
@@ -1,49 +0,0 @@
-/* $OpenBSD: setlogin.S,v 1.5 2012/08/22 17:19:35 pascal Exp $ */
-/*
- * Copyright (c) 1992, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * This software was developed by the Computer Systems Engineering group
- * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
- * contributed to Berkeley.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#include "SYS.h"
-
- .globl ___logname_valid /* in getlogin() */
-
-SYSCALL(setlogin)
-#ifdef __PIC__
- PIC_PROLOGUE(%g1,%g2)
- ld [%g1 + ___logname_valid], %g1
- retl
- st %g0, [%g1]
-#else
- sethi %hi(___logname_valid), %g1
- retl
- st %g0, [%g1 + %lo(___logname_valid)]
-#endif