summaryrefslogtreecommitdiff
path: root/usr/src/ucbcmd
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-02-08 20:24:21 +0200
committerToomas Soome <tsoome@me.com>2020-03-18 19:36:25 +0200
commit97b5374547d500fded52d886ceba8a9962af0527 (patch)
tree58133eb5538d122ed076707c9abe35530356cc0c /usr/src/ucbcmd
parent20d3bf629e3e91ea61dee8153d5bc47daeab26b0 (diff)
downloadillumos-gate-97b5374547d500fded52d886ceba8a9962af0527.tar.gz
12292 retire libbc
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Alexander Eremin <aeremin@tintri.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/ucbcmd')
-rw-r--r--usr/src/ucbcmd/Makefile13
-rw-r--r--usr/src/ucbcmd/sbcp/Makefile69
-rw-r--r--usr/src/ucbcmd/sbcp/mksysent68
-rw-r--r--usr/src/ucbcmd/sbcp/sbcp.s201
-rw-r--r--usr/src/ucbcmd/sbcp/sbcp_util.c68
-rw-r--r--usr/src/ucbcmd/sbcp/syscalls.list213
6 files changed, 2 insertions, 630 deletions
diff --git a/usr/src/ucbcmd/Makefile b/usr/src/ucbcmd/Makefile
index 584f4763aa..22fbc32254 100644
--- a/usr/src/ucbcmd/Makefile
+++ b/usr/src/ucbcmd/Makefile
@@ -63,20 +63,15 @@ COMMON_SUBDIRS= \
whereis \
whoami
-sparc_SUBDIRS= sbcp
-
-SUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
+SUBDIRS= $(COMMON_SUBDIRS)
# commands messaged
MSGSUBDIRS = biff install.d mkstr rusage shutdown
-BWOSDIRS=
-
all:= TARGET= all
install:= TARGET= install
clean:= TARGET= clean
clobber:= TARGET= clobber
-lint:= TARGET= lint
_msg:= TARGET= _msg
# Since pre-5.0 system users were told to put /usr/5bin in their path to
@@ -165,11 +160,7 @@ install: $(SUBDIRS) .WAIT rootlinks
#
_msg: $(MSGSUBDIRS)
-
-
-bwos: $(BWOSDIRS) .WAIT $(SUBDIRS)
-
-$(BWOSDIRS) $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
rootlinks: $(S5LINK) $(DICTLINK) $(ROOTBINLINKS) $(OTHERLINKS)
diff --git a/usr/src/ucbcmd/sbcp/Makefile b/usr/src/ucbcmd/sbcp/Makefile
deleted file mode 100644
index ce1bf79e32..0000000000
--- a/usr/src/ucbcmd/sbcp/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-PROG= sbcp
-
-include ../Makefile.ucbcmd
-
-CLEANFILES= sysent.s
-POFILE=
-
-OBJS= sbcp.o sbcp_util.o
-
-FILEMODE= 755
-
-.KEEP_STATE:
-
-# Preserve the relationship of libraries as they are defined in libc.so.1.9
-LIBBC= ../../lib/libbc/sparc/libc.so.1.9
-LIBUCB= ../../ucblib/libucb/sparc/libucb.so.1
-
-# need libc/sparc/inc for PIC.h
-ASFLAGS= -P -D_ASM -DPIC $(AS_PICFLAGS)
-LDFLAGS= -R /usr/4lib:/usr/ucblib -e _start -G -t \
- $(BLOCAL) $(ZNOVERSION) $(ZDEFS) $(ZTEXT) \
- -I/usr/lib/ld.so.1
-LIBS= $(LDLIBS.lib) -lmapmalloc $(LIBBC) $(LIBUCB) -lnsl -lc
-
-CERRWARN += -_gcc=-Wno-unused-variable
-
-all: $(PROG)
-
-install: all $(ROOT4LIBPROG)
-
-clean:
- $(RM) $(OBJS) $(CLEANFILES)
-
-$(PROG): $(OBJS)
- $(LDOPTS) $(LD) $(LDFLAGS) -o sbcp $(OBJS) $(LIBS)
- $(POST_PROCESS)
-
-$(OBJS): sysent.s
-
-sysent.s: syscalls.list mksysent
- -$(RM) sysent.s
- sh ./mksysent > sysent.s
-
-include ../Makefile.ucbtarg
diff --git a/usr/src/ucbcmd/sbcp/mksysent b/usr/src/ucbcmd/sbcp/mksysent
deleted file mode 100644
index c99368e855..0000000000
--- a/usr/src/ucbcmd/sbcp/mksysent
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1993-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# mksysent - generate the sysent table from the list of system calls
-#
-nawk '
-BEGIN {
- print "#include <sys/asm_linkage.h>"
- print "#include <sys/syscall.h>"
- print ""
- print "! This file is automatically generated from syscalls.list."
- print "! Do not edit by hand or your changes will be lost."
- print "! See mksysent and syscalls.list for details."
- print ""
- print " .section \".text\""
- print " .align 4"
- print "sysent:"
-}
-/^#/ { next; } # ignore comment lines
-{
- f = $1;
- if ($2 == "TRAP") {
- printf "! %s\n", f;
- printf "\trestore\t%%g0, SYS_%s, %%g1\n", f;
- printf "\tta\t8\n";
- printf "\tjmp\t%%g6\n";
- printf "\tnop\n";
- } else if ($2 == "SIMPLE") {
- printf "! %s\n", f;
- printf "\t.global\t%s\n", f;
- printf "\tcall\t%s\n", f;
- printf "\tnop\n";
- printf "\tb,a\ttrap0rtn\n";
- printf "\tnop\n";
- } else {
- printf "! %s\n", f;
- printf "\tb,a\tnosys\n";
- printf "\tnop\n";
- printf "\tnop\n";
- printf "\tnop\n";
- }
-}
-' <syscalls.list
diff --git a/usr/src/ucbcmd/sbcp/sbcp.s b/usr/src/ucbcmd/sbcp/sbcp.s
deleted file mode 100644
index 4e9526d678..0000000000
--- a/usr/src/ucbcmd/sbcp/sbcp.s
+++ /dev/null
@@ -1,201 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- .file "sbcp.s"
-
-#include <sys/asm_linkage.h>
-#include <sys/link.h>
-#include <sys/syscall.h>
-
-#define PIC_SETUP(r) \
- mov %o7, %g1; \
-9: call 8f; \
- sethi %hi(_GLOBAL_OFFSET_TABLE_ - (9b - .)), %r; \
-8: or %r, %lo(_GLOBAL_OFFSET_TABLE_ - (9b - .)), %r; \
- add %r, %o7, %r; \
- mov %g1, %o7
-
-#define FUNC(x) \
- .section ".text"; \
- .align 4; \
- .type x, #function; \
-x:
-
-#define ENOSYS 90 /* 4.x ENOSYS */
-
-/* derived from <sys/exechdr.h>, which we can't include */
-#define A_MAGIC 0x02 /* offset of a_magic field */
-#define A_ENTRY 0x14 /* offset of a_entry field */
-#define ZMAGIC 0413 /* magic number for demand paged executable */
-
- .global atexit, errno
-
-!
-! _start - execution starts here (after the runtime linker runs)
-!
-! The SPARC ABI defines our "environment" at this point, see page 3-34.
-! Register the exit handler, register the trap0 handler, find the
-! entry point, and jump to it. We depend on the stack (argv, envp)
-! being compatible between 4.x and 5.x. We also depend on the
-! runtime linker to set up ``environ''.
-!
-
-ENTRY_NP(_start)
- tst %g1 ! is there a handler to register?
- bz 1f ! no
- nop
- mov %g1, %o0
- call atexit ! yes, register it with atexit()
- nop
-1:
-
- !
- ! Aside from a value in %g1, there were no arguments explicitly
- ! passed to this routine, but we do know how our initial stack has
- ! been setup by the kernel. The stack format is documented in:
- ! usr/src/cmd/sgs/rtld/sparc/boot.s
- ! usr/src/cmd/sgs/rtld/sparcv9/boot.s
- !
- ! Since we want to invoke the following c initalization routine:
- ! sbcp_init(int argc, char *argv[], char *envp[]))
- ! we need to troll through the stack to setup it's argument values.
- !
- save %sp, -SA(MINFRAME + EB_MAX_SIZE32), %sp
-
- ldn [%fp + WINDOWSIZE + STACK_BIAS], %o0 ! get argc
- add %fp, + WINDOWSIZE + CPTRSIZE + STACK_BIAS, %o1 ! get argv
-
- add %o0, 1, %l0 ! add 1 to argc for last element of 0
- sll %l0, CPTRSHIFT, %l0 ! multiply argc by pointer size
- add %o1, %l0, %o2 ! and add to argv to get envp
-
- call sbcp_init ! Call our c initalization routine
- nop
- restore
-
- PIC_SETUP(g2)
- ld [%g2+trap0], %g1
- ta 9
-
- ! jump to the main program's entry point
-
- sethi %hi(0x2000), %o0
- lduh [%o0 + A_MAGIC], %g1
- cmp %g1, ZMAGIC ! is it a ZMAGIC executable?
- be,a 1f ! yes,
- ld [%o0 + A_ENTRY], %o0 ! get entry point
-1: ! else, assume entry point is 0x2000
- jmp %o0
- nop
- SET_SIZE(_start)
-
-!
-! trap0 - glue between 4.x syscall trap and 5.x BCP routine
-!
-! enter with:
-! %g1 syscall number
-! %g6 return address (after trap instruction)
-!
-! We used to use %g7, but that conflicts with threading code
-! which uses %g7 as the curthread pointer. That is why we
-! changed to using %g6 instead.
-!
-! We use an extra window to save the %o registers we're entered
-! with (which the 4.x system call stubs depend on) and to allow
-! recursive traps (e.g., from a signal handler).
-!
-
-FUNC(trap0)
- save %sp, -SA(MINFRAME), %sp
- tst %g1
- be 1f
- nop
- mov %i0, %o0
- mov %i1, %o1
- mov %i2, %o2
- mov %i3, %o3
- mov %i4, %o4
- mov %i5, %o5
- ba,a 2f
-1:
- ! indir syscall
- mov %i0, %g1
- mov %i1, %o0
- mov %i2, %o1
- mov %i3, %o2
- mov %i4, %o3
- mov %i5, %o4
- ld [%fp + MINFRAME], %o5
-2:
- sll %g1, 4, %l1
- PIC_SETUP(l0)
- ld [%l0+sysent], %l0
- add %l1, %l0, %l1
- jmp %l1 ! jump into branch table
- nop
- SET_SIZE(trap0)
-
-FUNC(trap0rtn)
- cmp %o0, -1
- bne 1f
- addcc %g0, %g0, %g0 ! psr &= ~C
- PIC_SETUP(o1)
- ld [%o1+errno], %o1
- ld [%o1], %o0
- subcc %g0, 1, %g0 ! psr |= C
-1:
- mov %o0, %i0
- restore
- jmp %g6
- nop
- SET_SIZE(trap0rtn)
-
-!
-! nullsys
-!
-FUNC(nullsys)
- clr %o0
- b,a trap0rtn
- SET_SIZE(nullsys)
-
-!
-! nosys
-!
-FUNC(nosys)
- set ENOSYS, %o1
- PIC_SETUP(g2)
- ld [%g2+errno], %g2
- st %o1, [%g2]
- set -1, %o0
- b,a trap0rtn
- SET_SIZE(nosys)
-
-!
-! Have to #include the sysent table and stubs so that all
-! symbols referenced between here and there are "static"
-! to this module so the assembler can resolve them without
-! the linker needing to deal with them at run time.
-!
-#include "sysent.s"
diff --git a/usr/src/ucbcmd/sbcp/sbcp_util.c b/usr/src/ucbcmd/sbcp/sbcp_util.c
deleted file mode 100644
index 61ab8f21be..0000000000
--- a/usr/src/ucbcmd/sbcp/sbcp_util.c
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/auxv.h>
-#include <sys/types.h>
-
-void
-sbcp_init(int argc, char *argv[], char *envp[])
-{
- auxv_t *ap;
- uintptr_t *p;
- int err;
-
- /*
- * Find the aux vector on the stack.
- */
- p = (uintptr_t *)envp;
- while (*p != NULL)
- p++;
-
- /*
- * p is now pointing at the 0 word after the environ pointers.
- * After that is the aux vectors.
- *
- * We need to clear the AF_SUN_NOPLM flag from the AT_SUN_AUXFLAGS
- * aux vector. This flag told our linker that we don't have a
- * primary link map. Now that our linker is done initializing, we
- * want to clear this flag before we transfer control to the
- * applications copy of the linker, since we want that linker to have
- * a primary link map which will be the link map for the application
- * we're running.
- */
- p++;
- for (ap = (auxv_t *)p; ap->a_type != AT_NULL; ap++) {
- switch (ap->a_type) {
- case AT_SUN_AUXFLAGS:
- ap->a_un.a_val &= ~AF_SUN_NOPLM;
- break;
- default:
- break;
- }
- }
-}
diff --git a/usr/src/ucbcmd/sbcp/syscalls.list b/usr/src/ucbcmd/sbcp/syscalls.list
deleted file mode 100644
index 7004893578..0000000000
--- a/usr/src/ucbcmd/sbcp/syscalls.list
+++ /dev/null
@@ -1,213 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-nosys NOSYS /* 0 = 1, indir */
-exit TRAP /* 1 = 1, exit */
-fork SIMPLE /* 2 = 0, fork */
-read SIMPLE /* 3 = 3, read */
-write SIMPLE /* 4 = 3, write */
-open SIMPLE /* 5 = 3, open */
-close SIMPLE /* 6 = 1, close */
-wait4 SIMPLE /* 7 = 4, wait4 */
-creat SIMPLE /* 8 = 2, creat */
-link SIMPLE /* 9 = 2, link */
-unlink SIMPLE /* 10 = 1, unlink */
-execv SIMPLE /* 11 = 2, execv */
-chdir SIMPLE /* 12 = 1, chdir */
-nosys NOSYS /* 13 = 0, old time */
-mknod SIMPLE /* 14 = 3, mknod */
-chmod SIMPLE /* 15 = 2, chmod */
-chown SIMPLE /* 16 = 3, chown; now 3 args */
-brk SIMPLE /* 17 = 1, brk */
-nosys NOSYS /* 18 = 0, old stat */
-lseek SIMPLE /* 19 = 3, lseek */
-getpid TRAP /* 20 = 0, getpid */
-nosys NOSYS /* 21 = 0, old mount */
-umount SIMPLE /* 22 = 1, old umount */
-nosys NOSYS /* 23 = 0, old setuid */
-getuid TRAP /* 24 = 0, getuid */
-nosys NOSYS /* 25 = 0, old stime */
-ptrace SIMPLE /* 26 = 5, ptrace */
-nosys NOSYS /* 27 = 0, old alarm */
-nosys NOSYS /* 28 = 0, old fstat */
-nosys NOSYS /* 29 = 0, opause */
-nosys NOSYS /* 30 = 0, old utime */
-nosys NOSYS /* 31 = 0, was stty */
-nosys NOSYS /* 32 = 0, was gtty */
-access SIMPLE /* 33 = 2, access */
-nosys NOSYS /* 34 = 0, old nice */
-nosys NOSYS /* 35 = 0, old ftime */
-sync SIMPLE /* 36 = 0, sync */
-kill SIMPLE /* 37 = 2, kill */
-stat SIMPLE /* 38 = 2, stat */
-nosys NOSYS /* 39 = 0, old setpgrp */
-lstat SIMPLE /* 40 = 2, lstat */
-dup SIMPLE /* 41 = 2, dup */
-pipe TRAP /* 42 = 0, pipe */
-nosys NOSYS /* 43 = 0, old times */
-profil SIMPLE /* 44 = 4, profil */
-nosys NOSYS /* 45 = 0, nosys */
-nosys NOSYS /* 46 = 0, old setgid */
-getgid TRAP /* 47 = 0, getgid */
-nosys NOSYS /* 48 = 0, old sig */
-nosys NOSYS /* 49 = 0, reserved for USG */
-nosys NOSYS /* 50 = 0, reserved for USG */
-nosys NOSYS /* 51 = 1, turn acct off/on */
-nosys NOSYS /* 52 = 0, old set phys addr */
-mctl SIMPLE /* 53 = 4, memory control */
-ioctl SIMPLE /* 54 = 3, ioctl */
-reboot SIMPLE /* 55 = 2, reboot */
-wait3 NOSYS /* 56 = 3, wait3 (per-4.0) */
-symlink SIMPLE /* 57 = 2, symlink */
-readlink SIMPLE /* 58 = 3, readlink */
-execve SIMPLE /* 59 = 3, execve */
-umask SIMPLE /* 60 = 1, umask */
-chroot SIMPLE /* 61 = 1, chroot */
-fstat SIMPLE /* 62 = 2, fstat */
-nosys NOSYS /* 63 = 0, used internally */
-getpagesize SIMPLE /* 64 = 1, getpagesize */
-msync SIMPLE /* 65 = 3, old msync */
-vfork TRAP /* 66 = 0, vfork */
-read SIMPLE /* 67 = 0, old vread */
-write SIMPLE /* 68 = 0, old vwrite */
-sbrk SIMPLE /* 69 = 1, sbrk */
-nullsys SIMPLE /* 70 = 1, sstk (emulated as nop) */
-mmap SIMPLE /* 71 = 6, mmap */
-nullsys SIMPLE /* 72 = 1, old vadvise (emulated as nop) */
-munmap SIMPLE /* 73 = 2, munmap */
-mprotect SIMPLE /* 74 = 3, mprotect */
-madvise SIMPLE /* 75 = 3, old madvise */
-vhangup SIMPLE /* 76 = 1, vhangup */
-nosys NOSYS /* 77 = 0, old vlimit */
-mincore SIMPLE /* 78 = 3, mincore */
-getgroups SIMPLE /* 79 = 2, getgroups */
-setgroups SIMPLE /* 80 = 2, setgroups */
-getpgrp SIMPLE /* 81 = 1, getpgrp */
-setpgrp SIMPLE /* 82 = 2, setpgrp */
-setitimer SIMPLE /* 83 = 3, setitimer */
-wait NOSYS /* 84 = 0, old wait & wait3 (per-4.0) */
-nosys NOSYS /* 85 = 1, swapon */
-getitimer SIMPLE /* 86 = 2, getitimer */
-gethostname SIMPLE /* 87 = 2, gethostname */
-sethostname SIMPLE /* 88 = 2, sethostname */
-getdtablesize SIMPLE /* 89 = 0, getdtablesize */
-dup2 SIMPLE /* 90 = 2, dup2 */
-nullsys SIMPLE /* 91 = 2, getdopt (not implemented) */
-fcntl SIMPLE /* 92 = 3, fcntl */
-select SIMPLE /* 93 = 5, select */
-nullsys SIMPLE /* 94 = 2, setdopt (not implemented) */
-fsync SIMPLE /* 95 = 1, fsync */
-setpriority SIMPLE /* 96 = 3, setpriority */
-socket SIMPLE /* 97 = 3, socket */
-connect SIMPLE /* 98 = 3, connect */
-accept SIMPLE /* 99 = 3, accept */
-getpriority SIMPLE /* 100 = 2, getpriority */
-send SIMPLE /* 101 = 4, send */
-recv SIMPLE /* 102 = 4, recv */
-nosys NOSYS /* 103 = 0, old socketaddr */
-bind SIMPLE /* 104 = 3, bind */
-setsockopt SIMPLE /* 105 = 5, setsockopt */
-listen SIMPLE /* 106 = 2, listen */
-nosys NOSYS /* 107 = 0, old vtimes */
-sigvec SIMPLE /* 108 = 3, sigvec */
-sigblock SIMPLE /* 109 = 1, sigblock */
-sigsetmask SIMPLE /* 110 = 1, sigsetmask */
-sigpause SIMPLE /* 111 = 1, sigpause */
-sigstack SIMPLE /* 112 = 2, sigstack */
-recvmsg SIMPLE /* 113 = 3, recvmsg */
-sendmsg SIMPLE /* 114 = 3, sendmsg */
-nosys NOSYS /* 115 = 0, nosys */
-gettimeofday SIMPLE /* 116 = 2, gettimeofday */
-getrusage SIMPLE /* 117 = 2, getrusage */
-getsockopt SIMPLE /* 118 = 5, getsockopt */
-nosys NOSYS /* 119 = 0, nosys */
-readv SIMPLE /* 120 = 3, readv */
-writev SIMPLE /* 121 = 3, writev */
-settimeofday SIMPLE /* 122 = 2, settimeofday */
-fchown SIMPLE /* 123 = 3, fchown */
-fchmod SIMPLE /* 124 = 2, fchmod */
-recvfrom SIMPLE /* 125 = 6, recvfrom */
-setreuid SIMPLE /* 126 = 2, setreuid */
-setregid SIMPLE /* 127 = 2, setregid */
-rename SIMPLE /* 128 = 2, rename */
-truncate SIMPLE /* 129 = 2, truncate */
-ftruncate SIMPLE /* 130 = 2, ftruncate */
-flock SIMPLE /* 131 = 2, flock */
-nosys NOSYS /* 132 = 0, nosys */
-sendto SIMPLE /* 133 = 6, sendto */
-shutdown SIMPLE /* 134 = 2, shutdown */
-socketpair SIMPLE /* 135 = 5, socketpair */
-mkdir SIMPLE /* 136 = 2, mkdir */
-rmdir SIMPLE /* 137 = 1, rmdir */
-utimes SIMPLE /* 138 = 2, utimes */
-__sigcleanup SIMPLE /* 139 = 0, signalcleanup */
-adjtime SIMPLE /* 140 = 2, adjtime */
-getpeername SIMPLE /* 141 = 3, getpeername */
-gethostid SIMPLE /* 142 = 2, gethostid */
-nosys NOSYS /* 143 = 0, old sethostid */
-getrlimit SIMPLE /* 144 = 2, getrlimit */
-setrlimit SIMPLE /* 145 = 2, setrlimit */
-killpg SIMPLE /* 146 = 2, killpg */
-nosys NOSYS /* 147 = 0, nosys */
-nosys NOSYS /* 148 = 0, old quota */
-nosys NOSYS /* 149 = 0, old qquota */
-getsockname SIMPLE /* 150 = 3, getsockname */
-getmsg SIMPLE /* 151 = 4, getmsg */
-putmsg SIMPLE /* 152 = 4, putmsg */
-poll SIMPLE /* 153 = 3, poll */
-nosys NOSYS /* 154 = 0, old nfs_mount */
-nosys NOSYS /* 155 = 1, nfs_svc */
-getdirentries NOSYS /* 156 = 4, getdirentries (pre-4.0) */
-statfs SIMPLE /* 157 = 2, statfs */
-fstatfs SIMPLE /* 158 = 2, fstatfs */
-unmount SIMPLE /* 159 = 1, unmount */
-nosys NOSYS /* 160 = 0, async_daemon */
-nfs_getfh SIMPLE /* 161 = 2, get file handle */
-getdomainname SIMPLE /* 162 = 2, getdomainname */
-setdomainname SIMPLE /* 163 = 2, setdomainname */
-nosys NOSYS /* 164 = 0, not configured */
-nosys NOSYS /* 165 = 4, quotactl */
-exportfs SIMPLE /* 166 = 2, exportfs */
-mount SIMPLE /* 167 = 4, mount */
-ustat SIMPLE /* 168 = 2, ustat */
-semsys SIMPLE /* 169 = 5, semsys */
-msgsys SIMPLE /* 170 = 6, msgsys */
-shmsys SIMPLE /* 171 = 4, shmsys */
-nosys NOSYS /* 172 = 0, not configured */
-nosys NOSYS /* 173 = 0, not configured */
-getdents SIMPLE /* 174 = 3, getdents */
-setsid SIMPLE /* 175 = 1, setsid & s5 setpgrp() */
-fchdir SIMPLE /* 176 = 1, fchdir */
-fchroot SIMPLE /* 177 = 1, fchroot */
-nosys NOSYS /* 178 = 0, not configured */
-aioread SIMPLE /* 179 = 6, aioread */
-aiowrite SIMPLE /* 180 = 6, aiowrite */
-aiowait SIMPLE /* 181 = 1, aiowait */
-aiocancel SIMPLE /* 182 = 1, aiocancel */
-sigpending SIMPLE /* 183 = 1, sigpending */
-nosys NOSYS /* 184 = 0, AVAILABLE */
-setpgid SIMPLE /* 185 = 2, setpgid */
-pathconf SIMPLE /* 186 = 2, pathconf */
-fpathconf SIMPLE /* 187 = 2, fpathconf */
-sysconf SIMPLE /* 188 = 1, sysconf */
-uname SIMPLE /* 189 = 1, uname */