Remove non-Linux source directories: freebsd/, svr4/, sunos4/, svr4/.
Remove README-freebsd, README-sunos4, README-svr4, m4/procfs.m4.
linux/sparc/{errnoent1,ioctlent1,signalent1}.h used to point to svr4/ files -
replace their contents with copies of used (and now deleted) files.
Make linux/sparc64/{errnoent1,ioctlent1,signalent1}.h include these files
instead of svr4/* ones.
Makefile.am: remove references to deleted files.
configure.ac: Remove a few tests which make no sense on Linux.
Man page: remove non-Linux quirks information.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
man_MANS = strace.1
bin_SCRIPTS = strace-graph
-# OS is one of `linux', `sunos4', `svr4', or `freebsd'.
+# OS is `linux'
OS = @opsys@
# ARCH is `i386', `m68k', `sparc', etc.
ARCH = @arch@
debian/strace.manpages debian/strace-udeb.install \
strace.spec \
strace-graph ChangeLog ChangeLog-CVS COPYRIGHT CREDITS PORTING \
- README-freebsd README-linux README-sunos4 README-svr4 \
+ README-linux \
linux/ioctlsort.c linux/ioctlent.sh \
linux/ioctlent.h.in linux/errnoent.h linux/signalent.h \
linux/syscall.h linux/dummy.h \
linux/x86_64/gentab.pl \
linux/x86_64/errnoent1.h linux/x86_64/ioctlent1.h \
linux/x86_64/signalent1.h linux/x86_64/syscallent1.h \
- freebsd/ioctlent.sh \
- freebsd/syscalls.cat freebsd/syscalls.pl freebsd/syscalls.print \
- freebsd/i386/errnoent.h freebsd/i386/ioctlent.h \
- freebsd/i386/signalent.h \
- freebsd/i386/syscall.h freebsd/i386/syscallent.h \
- sunos4/dummy.h sunos4/errnoent.h \
- sunos4/ioctlent.h sunos4/ioctlent.sh sunos4/signalent.h \
- sunos4/syscall.h sunos4/syscallent.h \
- svr4/dummy.h svr4/errnoent.h svr4/ioctlent.h svr4/ioctlent.sh \
- svr4/signalent.h svr4/syscall.h svr4/syscallent.h \
xlate.el
.PHONY: srpm
+++ /dev/null
-Here's a preliminary port of strace to FreeBSD.
-
-Here are some notes about it :
-
-- This couldn't have been done without the sources of the truss
- utility by Sean Eric Fagan, which were of great help.
-
-- The tracing mecanism used by FreeBD is a lot like the SVR4 one, so
- this port shares a lot of code with the SVR4 port, including the
- akward event loop when tracing multiple processes.
-
-- This works for i386 binaries, although support for alpha processor
- should be quite straight forward, but I do not have an alpha to
- test it on.
-
-- Tracing linux binaries is not supported yet, but should be possible
- with some work.
-
-- There are some issues with following forks, and only a few FreeBSD
- specific syscalls are decoded right now.
-
-- This was tested on FreeBSD 4.0. I believe the tracing interface is
- present since at least FreeBSD 3.0, so it "should" work on all
- latest releases. I have no idea for other BSDs, though.
-
-Gaƫl Roualland <gael.roualland@iname.com>
+++ /dev/null
-========================================================================
-This is the unmodified README from Paul Kranenburg's release of strace
-for SunOS 4.1.x. Some of the notes and instructions are no longer valid
-however the file has been retained for its historical value. -- jrs
-========================================================================
-
-/*
- * @(#)README 2.4 92/01/21
- *
- * Copyright (C) 1991 Paul Kranenburg.
- *
- * Please send comments, enhancements or any other useful ideas to
- * the address at the end of this file.
- *
- */
-
-strace(1) is a system call tracer for Sun(tm) systems much like the
-Sun supplied program trace(1). strace(1) is a useful utility to sort
-of debug programs for which no source is available which unfortunately
-includes almost all of the Sun supplied system software.
-
-Like trace(1), strace displays each system call and its arguments as it
-is invoked by the traced process, but tries to do a better job of
-decoding the arguments, displaying them in symbolic format whenever
-possible. Passed structures/character arrays are read from the process'
-address space and displayed in an appropriate format.
-
-It is also possible to instruct strace to trace child processes as
-they are created by the fork(2) system call. However, this is slightly
-involved for two reasons: 1) the trace flag is cleared in the child
-process by the fork system call, so we must make a special effort to
-gain control of the child (see NOTES below), 2) our tracing manipulations
-of the child may interfere with a possible wait(2) system call executed
-by the (also traced) parent process. In this case we don't allow the parent
-to continue until one of its children enters a state that may cause the
-parent's wait(2) call to return.
-
-
-NOTES.
-
-o Not all system calls have been implemented yet as described
- above (see dummy.h for a list), these calls only have their args
- displayed as hex numbers.
-
-o The program draws heavily on Sun's extensions to the ptrace(2)
- system call.
-
-o This release is based upon SunOS 4.1.1. The syscall list (syscall.h)
- and ioctl's (ioctlent.m4) are probably most critically dependant
- on the OS version (see also /sys/os/init_sysent.c).
- You may have to edit `ioctlsort.c' and/or `ioctlent.m4' to get
- `ioctlsort.c' to compile with your suite of system header files.
-
-o The way in which child processes are caught and attached to after
- the fork() call is Sparc-specific (in fact it has the looks of a
- terrible hack). Also, this trick won't work with vfork(2).
- Enhancements are sollicited for.
-
-o Dynamically linked executables can be convinced to use the fork(2)
- system call in stead of vfork(2) by modifying their (internal)
- symbol table immediately after such a program is exec'ed. Be
- warned that programs which depend on vfork's peculiar semantics
- may not run as expected. Enable by the `-F' switch.
-
-
-INSTALLATION.
-
- Edit the paths in the Makefile to suit your local system.
- Enter the usual make commands (`make debug' to enable the
- compiler `-g' flag).
-
- Not all sites have a complete set of include files, depending
- on the selected software categories at OS install time. The
- makefile tries to detect the presence of the Sunview category,
- if other files are missing you may have to edit `ioctlent.h'.
-
-
-COMMENTS TO:
-
- P. Kranenburg
- Department of Computer Science
- Erasmus University Rotterdam
- P.O. Box 1738
- NL-3000 DR Rotterdam
- e-mail: pk@cs.few.eur.nl
+++ /dev/null
-Even though SVR4 has truss, you may prefer using strace for a number
-of reasons. Not the least of which are portability and source code.
-
-The main event loop is awkward on systems for which procfs isn't
-pollable. I think a pollable procfs is a Solaris invention so most SVR4
-systems have this weakness. On Solaris, strace runs as a single
-controlling process. This is a big improvement if you are debugging a
-lot of processes at once.
-
-There is no thread support but it wouldn't be very difficult to add it.
-
-On UnixWare using the -f option to follow forked children sometimes shows
-many "unfinished" system calls as strace bounces between each runnable child.
-A crude workaround for this is available by adding
-
- #define POLL_HACK 1
-
-to the config.h file. This forces strace to check whether the last process
-has finished a system call before polling other processes for events.
-
-Wichert Akkerman <wakkerma@debian.org>
AM_CONDITIONAL([LINUX], [test x$opsys = xlinux])
AM_CONDITIONAL([I386], [test x$arch = xi386])
AM_CONDITIONAL([X86_64], [test x$arch = xx86_64])
-AM_CONDITIONAL([SUNOS4], [test x$opsys = xsunos4])
-AM_CONDITIONAL([SVR4], [test x$opsys = xsvr4])
-AM_CONDITIONAL([FREEBSD], [test x$opsys = xfreebsd])
AC_PROG_CC
AC_GNU_SOURCE
AC_INCLUDEDIR
-if test "x$opsys" = "xsunos4" && test "x$arch" = "xsparc"
-then
- AC_MSG_CHECKING(for valid machine include directory)
- if test -d "$includedir/sun4"
- then
- rm -f machine
- ln -s $includedir/sun4 machine
- AC_MSG_RESULT(yes)
- AC_DEFINE(SUNOS4_KERNEL_ARCH_KLUDGE, 1, [
-Define if you are have a SPARC with SUNOS4 and your want a version
-of strace that will work on sun4, sun4c and sun4m kernel architectures.
-Only useful if you have a symbolic link from machine to /usr/include/sun4
-in the compilation directory.])
- else
- AC_MSG_RESULT(no)
- fi
-fi
-
gl_WARN_ADD([-Wall])
gl_WARN_ADD([-Wwrite-strings])
if test "x$opsys" = "xsunos4"
+++ /dev/null
-# Automake input for freebsd/i386/ subdirectory of strace.
-
-noinst_HEADERS = errnoent.h ioctlent.h signalent.h syscallent.h syscall.h
-BUILT_SOURCES = $(noinst_HEADERS)
-
-
-ioctlent.raw: $(srcdir)/../ioctlent.sh
- $(SHELL) $(srcdir)/../ioctlent.sh $(includedir) >$@
-
-ioctlent.h: ioctlent.raw ioctlsort
- ./ioctlsort >$@
-
-ioctlsort.o: $(srcdir)/../../ioctlsort.c
-
-ioctlsort.o: ioctlent.raw
-
-errnoent.h: $(srcdir)/../../errnoent.sh $(includedir)/errno.h
- $(SHELL) $(srcdir)/../../errnoent.sh $(includedir)/errno.h >$@
-
-signalent.h: $(srcdir)/../../signalent.sh $(includedir)/sys/signal.h
- $(SHELL) $(srcdir)/../../signalent.sh $(includedir)/sys/signal.h >$@
-
-syscallent.h: $(srcdir)/../syscalls.pl $(srcdir)/../syscalls.cat $(srcdir)/../syscalls.print /usr/src/sys/kern/syscalls.master
- $(PERL) $(srcdir)/../syscalls.pl /usr/src/sys/kern/syscalls.master $(srcdir)/../syscalls.print $(srcdir)/../syscalls.cat >$@
+++ /dev/null
- "ERRNO_0", /* 0 */
- "EPERM", /* 1 */
- "ENOENT", /* 2 */
- "ESRCH", /* 3 */
- "EINTR", /* 4 */
- "EIO", /* 5 */
- "ENXIO", /* 6 */
- "E2BIG", /* 7 */
- "ENOEXEC", /* 8 */
- "EBADF", /* 9 */
- "ECHILD", /* 10 */
- "EDEADLK", /* 11 */
- "ENOMEM", /* 12 */
- "EACCES", /* 13 */
- "EFAULT", /* 14 */
- "ENOTBLK", /* 15 */
- "EBUSY", /* 16 */
- "EEXIST", /* 17 */
- "EXDEV", /* 18 */
- "ENODEV", /* 19 */
- "ENOTDIR", /* 20 */
- "EISDIR", /* 21 */
- "EINVAL", /* 22 */
- "ENFILE", /* 23 */
- "EMFILE", /* 24 */
- "ENOTTY", /* 25 */
- "ETXTBSY", /* 26 */
- "EFBIG", /* 27 */
- "ENOSPC", /* 28 */
- "ESPIPE", /* 29 */
- "EROFS", /* 30 */
- "EMLINK", /* 31 */
- "EPIPE", /* 32 */
- "EDOM", /* 33 */
- "ERANGE", /* 34 */
- "EAGAIN", /* 35 */
- "EINPROGRESS", /* 36 */
- "EALREADY", /* 37 */
- "ENOTSOCK", /* 38 */
- "EDESTADDRREQ", /* 39 */
- "EMSGSIZE", /* 40 */
- "EPROTOTYPE", /* 41 */
- "ENOPROTOOPT", /* 42 */
- "EPROTONOSUPPORT", /* 43 */
- "ESOCKTNOSUPPORT", /* 44 */
- "EOPNOTSUPP", /* 45 */
- "EPFNOSUPPORT", /* 46 */
- "EAFNOSUPPORT", /* 47 */
- "EADDRINUSE", /* 48 */
- "EADDRNOTAVAIL", /* 49 */
- "ENETDOWN", /* 50 */
- "ENETUNREACH", /* 51 */
- "ENETRESET", /* 52 */
- "ECONNABORTED", /* 53 */
- "ECONNRESET", /* 54 */
- "ENOBUFS", /* 55 */
- "EISCONN", /* 56 */
- "ENOTCONN", /* 57 */
- "ESHUTDOWN", /* 58 */
- "ETOOMANYREFS", /* 59 */
- "ETIMEDOUT", /* 60 */
- "ECONNREFUSED", /* 61 */
- "ELOOP", /* 62 */
- "ENAMETOOLONG", /* 63 */
- "EHOSTDOWN", /* 64 */
- "EHOSTUNREACH", /* 65 */
- "ENOTEMPTY", /* 66 */
- "EPROCLIM", /* 67 */
- "EUSERS", /* 68 */
- "EDQUOT", /* 69 */
- "ESTALE", /* 70 */
- "EREMOTE", /* 71 */
- "EBADRPC", /* 72 */
- "ERPCMISMATCH", /* 73 */
- "EPROGUNAVAIL", /* 74 */
- "EPROGMISMATCH", /* 75 */
- "EPROCUNAVAIL", /* 76 */
- "ENOLCK", /* 77 */
- "ENOSYS", /* 78 */
- "EFTYPE", /* 79 */
- "EAUTH", /* 80 */
- "ENEEDAUTH", /* 81 */
- "EIDRM", /* 82 */
- "ENOMSG", /* 83 */
- "EOVERFLOW", /* 84 */
- "ECANCELED", /* 85 */
- "ELAST", /* 86 */
+++ /dev/null
-{"sys/timepps.h", "PPS_IOC_CREATE", 0x20003101},
-{"sys/timepps.h", "PPS_IOC_DESTROY", 0x20003102},
-{"machine/pcaudioio.h", "AUDIO_DRAIN", 0x20004103},
-{"machine/pcaudioio.h", "AUDIO_FLUSH", 0x20004104},
-{"sys/dataacq.h", "AD_SUPPORTED_GAINS", 0x20004105},
-{"sys/dataacq.h", "AD_GAINS_SET", 0x20004106},
-{"sys/dataacq.h", "AD_GAINS_GET", 0x20004107},
-{"net/bpf.h", "BIOCFLUSH", 0x20004268},
-{"net/bpf.h", "BIOCPROMISC", 0x20004269},
-{"sys/soundcard.h", "SNDCTL_COPR_RESET", 0x20004300},
-{"machine/soundcard.h", "SNDCTL_COPR_RESET", 0x20004300},
-{"machine/pcvt_ioctl.h", "KBDRESET", 0x20004b01},
-{"sys/kbio.h", "KDSKBMODE", 0x20004b07},
-{"machine/pcvt_ioctl.h", "KDSKBMODE", 0x20004b07},
-{"sys/kbio.h", "KDMKTONE", 0x20004b08},
-{"machine/pcvt_ioctl.h", "KDMKTONE", 0x20004b08},
-{"machine/pcvt_ioctl.h", "KDSETMODE", 0x20004b0a},
-{"sys/consio.h", "KDSETMODE", 0x20004b0a},
-{"sys/consio.h", "KDSBORDER", 0x20004b0d},
-{"machine/pcvt_ioctl.h", "KBDDEFAULT", 0x20004b14},
-{"sys/kbio.h", "KDSKBSTATE", 0x20004b14},
-{"machine/pcvt_ioctl.h", "KDENABIO", 0x20004b3c},
-{"sys/kbio.h", "KDENABIO", 0x20004b3c},
-{"sys/kbio.h", "KDDISABIO", 0x20004b3d},
-{"machine/pcvt_ioctl.h", "KDDISABIO", 0x20004b3d},
-{"sys/kbio.h", "KIOCSOUND", 0x20004b3f},
-{"sys/kbio.h", "KDSETLED", 0x20004b42},
-{"machine/pcvt_ioctl.h", "KDSETLED", 0x20004b42},
-{"machine/pcvt_ioctl.h", "KDSETRAD", 0x20004b43},
-{"sys/kbio.h", "KDSETRAD", 0x20004b43},
-{"machine/pcaudioio.h", "AUDIO_COMPAT_FLUSH", 0x20005000},
-{"sys/soundcard.h", "SNDCTL_DSP_RESET", 0x20005000},
-{"machine/soundcard.h", "SNDCTL_DSP_RESET", 0x20005000},
-{"sys/soundcard.h", "SNDCTL_DSP_SYNC", 0x20005001},
-{"machine/soundcard.h", "SNDCTL_DSP_SYNC", 0x20005001},
-{"machine/pcaudioio.h", "AUDIO_COMPAT_DRAIN", 0x20005001},
-{"machine/apm_bios.h", "APMIO_SUSPEND", 0x20005001},
-{"machine/apm_bios.h", "APMIO_ENABLE", 0x20005005},
-{"machine/apm_bios.h", "APMIO_DISABLE", 0x20005006},
-{"machine/apm_bios.h", "APMIO_HALTCPU", 0x20005007},
-{"sys/soundcard.h", "SNDCTL_DSP_POST", 0x20005008},
-{"machine/soundcard.h", "SNDCTL_DSP_POST", 0x20005008},
-{"machine/apm_bios.h", "APMIO_NOTHALTCPU", 0x20005008},
-{"machine/apm_bios.h", "APMIO_STANDBY", 0x2000500c},
-{"machine/soundcard.h", "SNDCTL_DSP_NONBLOCK", 0x2000500e},
-{"sys/soundcard.h", "SNDCTL_DSP_NONBLOCK", 0x2000500e},
-{"machine/soundcard.h", "SNDCTL_DSP_SETSYNCRO", 0x20005015},
-{"sys/soundcard.h", "SNDCTL_DSP_SETSYNCRO", 0x20005015},
-{"machine/apm_bios.h", "APMIO_REJECTLASTREQ", 0x20005065},
-{"machine/soundcard.h", "SNDCTL_SEQ_RESET", 0x20005100},
-{"sys/soundcard.h", "SNDCTL_SEQ_RESET", 0x20005100},
-{"sys/soundcard.h", "SNDCTL_SEQ_SYNC", 0x20005101},
-{"machine/soundcard.h", "SNDCTL_SEQ_SYNC", 0x20005101},
-{"machine/soundcard.h", "SNDCTL_SEQ_PANIC", 0x20005111},
-{"sys/soundcard.h", "SNDCTL_SEQ_PANIC", 0x20005111},
-{"sys/consio.h", "SW_B40x25", 0x20005300},
-{"sys/consio.h", "SW_C40x25", 0x20005301},
-{"machine/speaker.h", "SPKRTUNE", 0x20005302},
-{"sys/consio.h", "SW_B80x25", 0x20005302},
-{"sys/consio.h", "SW_C80x25", 0x20005303},
-{"sys/consio.h", "SW_BG320", 0x20005304},
-{"sys/consio.h", "SW_CG320", 0x20005305},
-{"sys/consio.h", "SW_BG640", 0x20005306},
-{"sys/consio.h", "SW_EGAMONO80x25", 0x20005307},
-{"machine/gsc.h", "GSC_SRESSW", 0x2000530b},
-{"machine/asc_ioctl.h", "ASC_SRESSW", 0x2000530b},
-{"sys/consio.h", "SW_CG320_D", 0x2000530d},
-{"sys/consio.h", "SW_CG640_E", 0x2000530e},
-{"sys/consio.h", "SW_EGAMONOAPA", 0x2000530f},
-{"sys/consio.h", "SW_CG640x350", 0x20005310},
-{"sys/consio.h", "SW_ENH_MONOAPA2", 0x20005311},
-{"sys/consio.h", "SW_ENH_CG640", 0x20005312},
-{"sys/consio.h", "SW_ENH_B40x25", 0x20005313},
-{"sys/consio.h", "SW_ENH_C40x25", 0x20005314},
-{"sys/consio.h", "SW_ENH_B80x25", 0x20005315},
-{"sys/consio.h", "SW_ENH_C80x25", 0x20005316},
-{"sys/consio.h", "SW_VGA_C40x25", 0x20005317},
-{"sys/consio.h", "SW_VGA_C80x25", 0x20005318},
-{"sys/consio.h", "SW_VGA_M80x25", 0x20005319},
-{"sys/consio.h", "SW_VGA11", 0x2000531a},
-{"sys/consio.h", "SW_BG640x480", 0x2000531a},
-{"sys/consio.h", "SW_CG640x480", 0x2000531b},
-{"sys/consio.h", "SW_VGA12", 0x2000531b},
-{"sys/consio.h", "SW_VGA13", 0x2000531c},
-{"sys/consio.h", "SW_VGA_CG320", 0x2000531c},
-{"sys/consio.h", "SW_VGA_C80x50", 0x2000531e},
-{"sys/consio.h", "SW_VGA_M80x50", 0x2000531f},
-{"sys/consio.h", "SW_VGA_C80x30", 0x20005320},
-{"sys/consio.h", "SW_VGA_M80x30", 0x20005321},
-{"sys/consio.h", "SW_VGA_C80x60", 0x20005322},
-{"sys/consio.h", "SW_VGA_M80x60", 0x20005323},
-{"sys/consio.h", "SW_VGA_CG640", 0x20005324},
-{"sys/consio.h", "SW_VGA_MODEX", 0x20005325},
-{"sys/consio.h", "SW_VGA_C90x25", 0x20005328},
-{"sys/consio.h", "SW_VGA_M90x25", 0x20005329},
-{"sys/consio.h", "SW_VGA_C90x30", 0x2000532a},
-{"sys/consio.h", "SW_VGA_M90x30", 0x2000532b},
-{"sys/consio.h", "SW_VGA_C90x43", 0x2000532c},
-{"sys/consio.h", "SW_VGA_M90x43", 0x2000532d},
-{"sys/consio.h", "SW_VGA_C90x50", 0x2000532e},
-{"sys/consio.h", "SW_VGA_M90x50", 0x2000532f},
-{"sys/consio.h", "SW_VGA_C90x60", 0x20005330},
-{"sys/consio.h", "SW_VGA_M90x60", 0x20005331},
-{"sys/consio.h", "SW_PC98_80x25", 0x20005362},
-{"sys/consio.h", "SW_PC98_80x30", 0x20005363},
-{"sys/consio.h", "SW_ENH_B80x43", 0x20005370},
-{"sys/consio.h", "SW_ENH_C80x43", 0x20005371},
-{"sys/consio.h", "SW_TEXT_80x25", 0x200053c8},
-{"sys/consio.h", "SW_TEXT_80x30", 0x200053c9},
-{"sys/consio.h", "SW_TEXT_80x43", 0x200053ca},
-{"sys/consio.h", "SW_TEXT_80x50", 0x200053cb},
-{"sys/consio.h", "SW_TEXT_80x60", 0x200053cc},
-{"sys/consio.h", "SW_TEXT_132x25", 0x200053cd},
-{"sys/consio.h", "SW_TEXT_132x30", 0x200053ce},
-{"sys/consio.h", "SW_TEXT_132x43", 0x200053cf},
-{"sys/consio.h", "SW_TEXT_132x50", 0x200053d0},
-{"sys/consio.h", "SW_TEXT_132x60", 0x200053d1},
-{"sys/consio.h", "SW_MCAMODE", 0x200053ff},
-{"machine/soundcard.h", "SNDCTL_TMR_START", 0x20005402},
-{"sys/soundcard.h", "SNDCTL_TMR_START", 0x20005402},
-{"sys/soundcard.h", "SNDCTL_TMR_STOP", 0x20005403},
-{"machine/soundcard.h", "SNDCTL_TMR_STOP", 0x20005403},
-{"machine/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x20005404},
-{"sys/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x20005404},
-{"dev/usb/usb.h", "USB_DISCOVER", 0x20005503},
-{"sys/consio.h", "SW_VESA_CG640x400", 0x20005600},
-{"sys/consio.h", "SW_VESA_CG640x480", 0x20005601},
-{"sys/consio.h", "SW_VESA_800x600", 0x20005602},
-{"sys/consio.h", "SW_VESA_CG800x600", 0x20005603},
-{"sys/consio.h", "SW_VESA_1024x768", 0x20005604},
-{"sys/consio.h", "SW_VESA_CG1024x768", 0x20005605},
-{"sys/consio.h", "SW_VESA_1280x1024", 0x20005606},
-{"sys/consio.h", "SW_VESA_CG1280x1024", 0x20005607},
-{"sys/consio.h", "SW_VESA_C80x60", 0x20005608},
-{"sys/consio.h", "SW_VESA_C132x25", 0x20005609},
-{"sys/consio.h", "SW_VESA_C132x43", 0x2000560a},
-{"sys/consio.h", "SW_VESA_C132x50", 0x2000560b},
-{"sys/consio.h", "SW_VESA_C132x60", 0x2000560c},
-{"sys/consio.h", "SW_VESA_32K_320", 0x2000560d},
-{"sys/consio.h", "SW_VESA_64K_320", 0x2000560e},
-{"sys/consio.h", "SW_VESA_FULL_320", 0x2000560f},
-{"sys/consio.h", "SW_VESA_32K_640", 0x20005610},
-{"sys/consio.h", "SW_VESA_64K_640", 0x20005611},
-{"sys/consio.h", "SW_VESA_FULL_640", 0x20005612},
-{"sys/consio.h", "SW_VESA_32K_800", 0x20005613},
-{"sys/consio.h", "SW_VESA_64K_800", 0x20005614},
-{"sys/consio.h", "SW_VESA_FULL_800", 0x20005615},
-{"sys/consio.h", "SW_VESA_32K_1024", 0x20005616},
-{"sys/consio.h", "SW_VESA_64K_1024", 0x20005617},
-{"sys/consio.h", "SW_VESA_FULL_1024", 0x20005618},
-{"sys/consio.h", "SW_VESA_32K_1280", 0x20005619},
-{"sys/consio.h", "SW_VESA_64K_1280", 0x2000561a},
-{"sys/consio.h", "SW_VESA_FULL_1280", 0x2000561b},
-{"sys/wormio.h", "WORMIOCFINISHTRACK", 0x20005717},
-{"sys/consio.h", "CONS_IO", 0x20006303},
-{"sys/cdio.h", "CDIOCSETMONO", 0x2000630c},
-{"sys/cdio.h", "CDIOCSETSTERIO", 0x2000630d},
-{"sys/cdio.h", "CDIOCSETSTEREO", 0x2000630d},
-{"sys/cdio.h", "CDIOCSETMUTE", 0x2000630e},
-{"sys/cdio.h", "CDIOCSETLEFT", 0x2000630f},
-{"sys/cdio.h", "CDIOCSETRIGHT", 0x20006310},
-{"sys/cdio.h", "CDIOCSETDEBUG", 0x20006311},
-{"sys/cdio.h", "CDIOCCLRDEBUG", 0x20006312},
-{"sys/cdio.h", "CDIOCPAUSE", 0x20006313},
-{"sys/cdio.h", "CDIOCRESUME", 0x20006314},
-{"sys/cdio.h", "CDIOCRESET", 0x20006315},
-{"sys/cdio.h", "CDIOCSTART", 0x20006316},
-{"sys/cdio.h", "CDIOCSTOP", 0x20006317},
-{"sys/cdio.h", "CDIOCEJECT", 0x20006318},
-{"sys/cdio.h", "CDIOCALLOW", 0x2000631a},
-{"sys/cdio.h", "CDIOCPREVENT", 0x2000631b},
-{"sys/cdio.h", "CDIOCCLOSE", 0x2000631c},
-{"sys/wormio.h", "CDRIOCBLANK", 0x20006364},
-{"sys/cdrio.h", "CDRIOCBLANK", 0x20006364},
-{"sys/cdrio.h", "CDRIOCOPENDISK", 0x20006366},
-{"sys/cdrio.h", "CDRIOCCLOSEDISK", 0x20006367},
-{"sys/consio.h", "CONS_SETWINORG", 0x20006368},
-{"sys/cdrio.h", "CDRIOCCLOSETRACK", 0x20006369},
-{"sys/consio.h", "CONS_SETKBD", 0x2000636e},
-{"sys/consio.h", "CONS_RELKBD", 0x2000636f},
-{"sys/filio.h", "FIOCLEX", 0x20006601},
-{"sys/filio.h", "FIONCLEX", 0x20006602},
-{"machine/iic.h", "I2CSTOP", 0x20006902},
-{"sys/mtio.h", "MTIOCIEOT", 0x20006d03},
-{"sys/mtio.h", "MTIOCEEOT", 0x20006d04},
-{"machine/spigot.h", "SPIGOT_IOPL_ON", 0x20007306},
-{"machine/spigot.h", "SPIGOT_IOPL_OFF", 0x20007307},
-{"machine/cdk.h", "STL_BINTR", 0x20007314},
-{"machine/cdk.h", "STL_BSTART", 0x20007315},
-{"machine/cdk.h", "STL_BSTOP", 0x20007316},
-{"machine/cdk.h", "STL_BRESET", 0x20007317},
-{"sys/ioctl_compat.h", "TIOCHPCL", 0x20007402},
-{"sys/ttycom.h", "TIOCEXCL", 0x2000740d},
-{"sys/ttycom.h", "TIOCNXCL", 0x2000740e},
-{"net/if_ppp.h", "PPPIOCXFERUNIT", 0x2000744e},
-{"sys/ttycom.h", "TIOCDRAIN", 0x2000745e},
-{"sys/ttycom.h", "TIOCSIG", 0x2000745f},
-{"net/if_tun.h", "TUNSIFPID", 0x2000745f},
-{"sys/ttycom.h", "TIOCSCTTY", 0x20007461},
-{"sys/ioctl_compat.h", "OTIOCCONS", 0x20007462},
-{"sys/ttycom.h", "TIOCSTAT", 0x20007465},
-{"sys/ttycom.h", "TIOCSTART", 0x2000746e},
-{"sys/ttycom.h", "TIOCSTOP", 0x2000746f},
-{"sys/ttycom.h", "TIOCNOTTY", 0x20007471},
-{"sys/ttycom.h", "TIOCCDTR", 0x20007478},
-{"machine/pcvt_ioctl.h", "CONSOLE_X_MODE_ON", 0x20007479},
-{"sys/ttycom.h", "TIOCSDTR", 0x20007479},
-{"machine/pcvt_ioctl.h", "CONSOLE_X_MODE_OFF", 0x2000747a},
-{"sys/ttycom.h", "TIOCCBRK", 0x2000747a},
-{"sys/ttycom.h", "TIOCSBRK", 0x2000747b},
-{"sys/consio.h", "VT_RELDISP", 0x20007604},
-{"machine/pcvt_ioctl.h", "VT_RELDISP", 0x20007604},
-{"sys/consio.h", "VT_ACTIVATE", 0x20007605},
-{"machine/pcvt_ioctl.h", "VT_ACTIVATE", 0x20007605},
-{"sys/consio.h", "VT_WAITACTIVE", 0x20007606},
-{"machine/pcvt_ioctl.h", "VT_WAITACTIVE", 0x20007606},
-{"machine/ioctl_ctx.h", "CTX_LIVE", 0x20007801},
-{"machine/ioctl_ctx.h", "CTX_GRAB", 0x20007802},
-{"machine/ioctl_ctx.h", "CTX_H_ORGANIZE", 0x20007803},
-{"machine/ioctl_ctx.h", "CTX_V_ORGANIZE", 0x20007804},
-{"cam/scsi/scsi_ses.h", "SESIOC_GETNOBJ", 0x20530001},
-{"cam/scsi/scsi_ses.h", "SESIOC_GETOBJMAP", 0x20530002},
-{"cam/scsi/scsi_ses.h", "SESIOC_GETENCSTAT", 0x20530003},
-{"cam/scsi/scsi_ses.h", "SESIOC_SETENCSTAT", 0x20530004},
-{"cam/scsi/scsi_ses.h", "SESIOC_GETOBJSTAT", 0x20530005},
-{"cam/scsi/scsi_ses.h", "SESIOC_SETOBJSTAT", 0x20530006},
-{"cam/scsi/scsi_ses.h", "SESIOC_GETTEXT", 0x20530007},
-{"cam/scsi/scsi_ses.h", "SESIOC_INIT", 0x20530008},
-{"machine/ioctl_meteor.h", "METEORGHUE", 0x40017806},
-{"machine/ioctl_meteor.h", "METEORGCHCV", 0x40017809},
-{"machine/ioctl_meteor.h", "METEORGBRIG", 0x4001780e},
-{"machine/ioctl_meteor.h", "METEORGCSAT", 0x4001780f},
-{"machine/ioctl_meteor.h", "METEORGCONT", 0x40017810},
-{"machine/ioctl_meteor.h", "METEORGHWS", 0x40017812},
-{"machine/ioctl_meteor.h", "METEORGVWS", 0x40017813},
-{"machine/ioctl_meteor.h", "METEORGTS", 0x40017814},
-{"machine/ioctl_bt848.h", "RADIO_GETMODE", 0x4001783a},
-{"machine/random.h", "MEM_RETURNIRQ", 0x40027203},
-{"machine/ioctl_meteor.h", "METEORSTATUS", 0x40027805},
-{"machine/ioctl_meteor.h", "METEORGFPS", 0x4002780b},
-{"machine/ioctl_meteor.h", "METEORGBT254", 0x40027811},
-{"machine/ioctl_bt848.h", "REMOTE_GETKEY", 0x40037847},
-{"sys/timepps.h", "PPS_IOC_GETCAP", 0x40043105},
-{"machine/i4b_tel_ioctl.h", "I4B_TEL_GETAUDIOFMT", 0x40044100},
-{"sys/dataacq.h", "AD_MICRO_PERIOD_GET", 0x40044102},
-{"sys/dataacq.h", "AD_NGAINS_GET", 0x40044103},
-{"sys/dataacq.h", "AD_NCHANS_GET", 0x40044104},
-{"machine/soundcard.h", "AIONWRITE", 0x4004410a},
-{"sys/soundcard.h", "AIONWRITE", 0x4004410a},
-{"net/bpf.h", "BIOCGBLEN", 0x40044266},
-{"net/bpf.h", "BIOCGDLT", 0x4004426a},
-{"net/bpf.h", "BIOCVERSION", 0x40044271},
-{"net/bpf.h", "BIOCGRSIG", 0x40044272},
-{"net/bpf.h", "BIOCGHDRCMPLT", 0x40044274},
-{"net/bpf.h", "BIOCGSEESENT", 0x40044276},
-{"cam/scsi/scsi_targetio.h", "TARGIOCFETCHEXCEPTION", 0x40044301},
-{"sys/fbio.h", "FBIOGVIDEO", 0x40044608},
-{"sys/fbio.h", "FBIOGCURMAX", 0x4004461c},
-{"machine/ioctl_fd.h", "FD_GOPTS", 0x40044640},
-{"sys/fbio.h", "FBIO_ADAPTER", 0x40044664},
-{"sys/fbio.h", "FBIO_ADPTYPE", 0x40044665},
-{"sys/fbio.h", "FBIO_GETMODE", 0x40044669},
-{"sys/fbio.h", "FBIO_GETWINORG", 0x4004466b},
-{"sys/fbio.h", "FBIO_GETLINEWIDTH", 0x4004466f},
-{"machine/joystick.h", "JOY_GETTIMEOUT", 0x40044a02},
-{"sys/joystick.h", "JOY_GETTIMEOUT", 0x40044a02},
-{"machine/joystick.h", "JOY_GET_X_OFFSET", 0x40044a05},
-{"sys/joystick.h", "JOY_GET_X_OFFSET", 0x40044a05},
-{"machine/joystick.h", "JOY_GET_Y_OFFSET", 0x40044a06},
-{"sys/joystick.h", "JOY_GET_Y_OFFSET", 0x40044a06},
-{"machine/pcvt_ioctl.h", "KBDGTPMAT", 0x40044b02},
-{"machine/pcvt_ioctl.h", "KBDGREPSW", 0x40044b04},
-{"machine/pcvt_ioctl.h", "KBDGLEDS", 0x40044b06},
-{"sys/kbio.h", "KDGKBMODE", 0x40044b06},
-{"machine/pcvt_ioctl.h", "KBDGLOCK", 0x40044b08},
-{"sys/consio.h", "KDGETMODE", 0x40044b09},
-{"sys/kbio.h", "KDGKBSTATE", 0x40044b13},
-{"sys/kbio.h", "KDGKBTYPE", 0x40044b40},
-{"sys/kbio.h", "KDGETLED", 0x40044b41},
-{"machine/pcvt_ioctl.h", "KDGETLED", 0x40044b41},
-{"machine/mouse.h", "MOUSE_GETLEVEL", 0x40044d04},
-{"machine/soundcard.h", "SOUND_PCM_READ_RATE", 0x40045002},
-{"sys/soundcard.h", "SOUND_PCM_READ_RATE", 0x40045002},
-{"machine/soundcard.h", "SNDCTL_DSP_GETBLKSIZE", 0x40045004},
-{"sys/soundcard.h", "SNDCTL_DSP_GETBLKSIZE", 0x40045004},
-{"sys/soundcard.h", "SOUND_PCM_READ_BITS", 0x40045005},
-{"machine/soundcard.h", "SOUND_PCM_READ_BITS", 0x40045005},
-{"sys/soundcard.h", "SOUND_PCM_READ_CHANNELS", 0x40045006},
-{"machine/soundcard.h", "SOUND_PCM_READ_CHANNELS", 0x40045006},
-{"machine/soundcard.h", "SOUND_PCM_READ_FILTER", 0x40045007},
-{"sys/soundcard.h", "SOUND_PCM_READ_FILTER", 0x40045007},
-{"machine/soundcard.h", "SNDCTL_DSP_GETFMTS", 0x4004500b},
-{"sys/soundcard.h", "SNDCTL_DSP_GETFMTS", 0x4004500b},
-{"machine/soundcard.h", "SNDCTL_DSP_GETCAPS", 0x4004500f},
-{"sys/soundcard.h", "SNDCTL_DSP_GETCAPS", 0x4004500f},
-{"sys/soundcard.h", "SNDCTL_DSP_GETTRIGGER", 0x40045010},
-{"machine/soundcard.h", "SNDCTL_DSP_GETTRIGGER", 0x40045010},
-{"sys/soundcard.h", "SNDCTL_DSP_GETODELAY", 0x40045017},
-{"machine/soundcard.h", "SNDCTL_DSP_GETODELAY", 0x40045017},
-{"machine/soundcard.h", "SNDCTL_SEQ_GETOUTCOUNT", 0x40045104},
-{"sys/soundcard.h", "SNDCTL_SEQ_GETOUTCOUNT", 0x40045104},
-{"machine/soundcard.h", "SNDCTL_SEQ_GETINCOUNT", 0x40045105},
-{"sys/soundcard.h", "SNDCTL_SEQ_GETINCOUNT", 0x40045105},
-{"sys/soundcard.h", "SNDCTL_SEQ_NRSYNTHS", 0x4004510a},
-{"machine/soundcard.h", "SNDCTL_SEQ_NRSYNTHS", 0x4004510a},
-{"sys/soundcard.h", "SNDCTL_SEQ_NRMIDIS", 0x4004510b},
-{"machine/soundcard.h", "SNDCTL_SEQ_NRMIDIS", 0x4004510b},
-{"machine/gsc.h", "GSC_GRES", 0x40045301},
-{"machine/asc_ioctl.h", "ASC_GRES", 0x40045301},
-{"machine/asc_ioctl.h", "ASC_GWIDTH", 0x40045303},
-{"machine/gsc.h", "GSC_GWIDTH", 0x40045303},
-{"machine/asc_ioctl.h", "ASC_GHEIGHT", 0x40045305},
-{"machine/gsc.h", "GSC_GHEIGHT", 0x40045305},
-{"machine/asc_ioctl.h", "ASC_GBLEN", 0x40045307},
-{"machine/gsc.h", "GSC_GBLEN", 0x40045307},
-{"machine/gsc.h", "GSC_GBTIME", 0x40045309},
-{"machine/asc_ioctl.h", "ASC_GBTIME", 0x40045309},
-{"machine/i4b_trace.h", "I4B_TRC_GET", 0x40045400},
-{"sys/ptio.h", "PTIOCGETTIMEOUT", 0x40045401},
-{"sys/snoop.h", "SNPGTTY", 0x40045459},
-{"dev/usb/usb.h", "USB_GET_CONFIG", 0x40045564},
-{"dev/usb/usb.h", "USB_GET_CM_OVER_DATA", 0x40045582},
-{"sys/wormio.h", "WORMIOERROR", 0x40045718},
-{"sys/wormio.h", "WORMIOCREADSESSIONINFO", 0x4004571f},
-{"sys/consio.h", "GIO_ATTR", 0x40046100},
-{"sys/consio.h", "GIO_COLOR", 0x40046300},
-{"sys/consio.h", "CONS_CURRENT", 0x40046301},
-{"sys/consio.h", "CONS_GET", 0x40046302},
-{"sys/cdio.h", "CDIOREADTOCHEADER", 0x40046304},
-{"sys/chio.h", "CHIOGPICKER", 0x40046304},
-{"sys/cdio.h", "CDIOCGETVOL", 0x4004630a},
-{"sys/consio.h", "CONS_IDLE", 0x4004630b},
-{"sys/consio.h", "CONS_GETVERS", 0x4004634a},
-{"sys/consio.h", "CONS_CURRENTADP", 0x40046364},
-{"sys/cdrio.h", "CDRIOCNEXTWRITEABLEADDR", 0x40046365},
-{"sys/wormio.h", "CDRIOCNEXTWRITEABLEADDR", 0x40046365},
-{"sys/cdrio.h", "CDRIOCGETBLOCKSIZE", 0x4004636b},
-{"sys/filio.h", "FIOGETLBA", 0x40046679},
-{"sys/filio.h", "FIODTYPE", 0x4004667a},
-{"sys/filio.h", "FIOGETOWN", 0x4004667b},
-{"sys/filio.h", "FIONREAD", 0x4004667f},
-{"sys/mtio.h", "MTIOCRDSPOS", 0x40046d05},
-{"sys/mtio.h", "MTIOCRDHPOS", 0x40046d06},
-{"sys/mtio.h", "MTIOCGETEOTMODEL", 0x40046d08},
-{"nwfs/nwfs.h", "NWFSIOC_GETCONN", 0x40046e01},
-{"nwfs/nwfs.h", "NWFSIOC_GETNS", 0x40046e03},
-{"sys/pioctl.h", "PIOCGFL", 0x40047007},
-{"netinet/ip_fil.h", "SIOCGETFF", 0x4004723f},
-{"netinet/ip_fil.h", "SIOCIPFFB", 0x40047242},
-{"netinet/ip_fil.h", "SIOCSWAPA", 0x40047245},
-{"sys/sockio.h", "SIOCGHIWAT", 0x40047301},
-{"sys/sockio.h", "SIOCGLOWAT", 0x40047303},
-{"sys/sockio.h", "SIOCATMARK", 0x40047307},
-{"sys/sockio.h", "SIOCGPGRP", 0x40047309},
-{"machine/cdk.h", "STL_GETPFLAG", 0x40047350},
-{"sys/ioctl_compat.h", "OTIOCGETD", 0x40047400},
-{"sys/ttycom.h", "TIOCMODG", 0x40047403},
-{"sys/ttycom.h", "TIOCGETD", 0x4004741a},
-{"net/if_ppp.h", "PPPIOCGMTU", 0x40047449},
-{"net/slip.h", "SLIOCGOUTFILL", 0x40047451},
-{"net/slip.h", "SLIOCGKEEPAL", 0x40047452},
-{"net/if_ppp.h", "PPPIOCGMRU", 0x40047453},
-{"net/if_ppp.h", "PPPIOCGRASYNCMAP", 0x40047455},
-{"sys/ttycom.h", "TIOCGDRAINWAIT", 0x40047456},
-{"net/if_ppp.h", "PPPIOCGUNIT", 0x40047456},
-{"net/slip.h", "SLIOCGUNIT", 0x40047458},
-{"net/if_ppp.h", "PPPIOCGASYNCMAP", 0x40047458},
-{"net/if_tun.h", "TUNGDEBUG", 0x40047459},
-{"net/if_ppp.h", "PPPIOCGFLAGS", 0x4004745a},
-{"sys/ttycom.h", "TIOCMGDTRWAIT", 0x4004745a},
-{"net/if_tun.h", "TUNGIFHEAD", 0x40047461},
-{"sys/ttycom.h", "TIOCMGET", 0x4004746a},
-{"sys/ttycom.h", "TIOCOUTQ", 0x40047473},
-{"sys/ttycom.h", "TIOCGPGRP", 0x40047477},
-{"sys/ioctl_compat.h", "TIOCLGET", 0x4004747c},
-{"sys/consio.h", "VT_OPENQRY", 0x40047601},
-{"machine/pcvt_ioctl.h", "VT_OPENQRY", 0x40047601},
-{"machine/pcvt_ioctl.h", "VT_GETACTIVE", 0x40047607},
-{"sys/consio.h", "VT_GETACTIVE", 0x40047607},
-{"sys/consio.h", "VT_GETINDEX", 0x40047608},
-{"machine/ioctl_meteor.h", "METEORGFMT", 0x40047807},
-{"machine/ioctl_meteor.h", "METEORGINPUT", 0x40047808},
-{"machine/ioctl_meteor.h", "METEORGSIGNAL", 0x4004780c},
-{"machine/ioctl_bt848.h", "TVTUNER_GETCHNL", 0x40047820},
-{"machine/ioctl_bt848.h", "TVTUNER_GETTYPE", 0x40047821},
-{"machine/ioctl_bt848.h", "TVTUNER_GETSTATUS", 0x40047822},
-{"machine/ioctl_bt848.h", "TVTUNER_GETFREQ", 0x40047824},
-{"machine/ioctl_bt848.h", "BT848_GHUE", 0x40047825},
-{"machine/ioctl_bt848.h", "BT848_GBRIG", 0x40047826},
-{"machine/ioctl_bt848.h", "BT848_GCSAT", 0x40047827},
-{"machine/ioctl_bt848.h", "BT848_GCONT", 0x40047828},
-{"machine/ioctl_bt848.h", "BT848_GVSAT", 0x40047829},
-{"machine/ioctl_bt848.h", "BT848_GUSAT", 0x4004782a},
-{"machine/ioctl_bt848.h", "BT848_SCBARS", 0x4004782b},
-{"machine/ioctl_bt848.h", "BT848_CCBARS", 0x4004782c},
-{"machine/ioctl_bt848.h", "BT848_GAUDIO", 0x4004782f},
-{"machine/ioctl_bt848.h", "BT848_GSTATUS", 0x40047831},
-{"machine/ioctl_bt848.h", "TVTUNER_GETAFC", 0x40047836},
-{"machine/ioctl_bt848.h", "BT848_GLNOTCH", 0x40047838},
-{"machine/ioctl_bt848.h", "RADIO_GETFREQ", 0x4004783b},
-{"machine/ioctl_bt848.h", "METEORGACTPIXFMT", 0x40047840},
-{"machine/ioctl_bt848.h", "BT848GFMT", 0x40047843},
-{"machine/ioctl_bt848.h", "BT848GCBUF", 0x40047844},
-{"machine/ioctl_bt848.h", "BT848_GPIO_GET_EN", 0x40047849},
-{"machine/ioctl_bt848.h", "BT848_GPIO_GET_DATA", 0x4004784b},
-{"sys/ioctl_compat.h", "TIOCGETP", 0x40067408},
-{"sys/ioctl_compat.h", "TIOCGETC", 0x40067412},
-{"sys/ioctl_compat.h", "TIOCGLTC", 0x40067474},
-{"sys/soundcard.h", "AIOGSIZE", 0x4008410b},
-{"machine/soundcard.h", "AIOGSIZE", 0x4008410b},
-{"net/bpf.h", "BIOCGRTIMEOUT", 0x4008426e},
-{"net/bpf.h", "BIOCGSTATS", 0x4008426f},
-{"sys/fbio.h", "FBIO_GETDISPSTART", 0x4008466d},
-{"sys/kbio.h", "KDGETREPEAT", 0x40084b67},
-{"sys/soundcard.h", "SNDCTL_DSP_MAPINBUF", 0x40085013},
-{"machine/soundcard.h", "SNDCTL_DSP_MAPINBUF", 0x40085013},
-{"machine/soundcard.h", "SNDCTL_DSP_MAPOUTBUF", 0x40085014},
-{"sys/soundcard.h", "SNDCTL_DSP_MAPOUTBUF", 0x40085014},
-{"sys/chio.h", "CHIOGPARAMS", 0x40086306},
-{"machine/spigot.h", "SPIGOT_GET_INFO", 0x40087304},
-{"net/if_ppp.h", "PPPIOCGIDLE", 0x4008744a},
-{"sys/ttycom.h", "TIOCDCDTIMESTAMP", 0x40087458},
-{"sys/ttycom.h", "TIOCTIMESTAMP", 0x40087459},
-{"net/if_tun.h", "TUNGIFINFO", 0x4008745c},
-{"sys/ttycom.h", "TIOCGWINSZ", 0x40087468},
-{"machine/pcvt_ioctl.h", "VT_GETMODE", 0x40087603},
-{"sys/consio.h", "VT_GETMODE", 0x40087603},
-{"machine/i4b_ioctl.h", "I4B_VR_REQ", 0x400c3409},
-{"machine/perfmon.h", "PMIOTSTAMP", 0x400c3506},
-{"machine/i4b_tel_ioctl.h", "I4B_TEL_VR_REQ", 0x400c4103},
-{"sys/soundcard.h", "SNDCTL_DSP_GETIPTR", 0x400c5011},
-{"machine/soundcard.h", "SNDCTL_DSP_GETIPTR", 0x400c5011},
-{"machine/soundcard.h", "SNDCTL_DSP_GETOPTR", 0x400c5012},
-{"sys/soundcard.h", "SNDCTL_DSP_GETOPTR", 0x400c5012},
-{"machine/i4b_rbch_ioctl.h", "I4B_RBCH_VR_REQ", 0x400c5202},
-{"sys/cdio.h", "CDIOCCAPABILITY", 0x400c631e},
-{"machine/ioctl_meteor.h", "METEORGETGEO", 0x400c7804},
-{"machine/i4b_debug.h", "I4B_CTL_GET_DEBUG", 0x40104300},
-{"machine/soundcard.h", "SNDCTL_DSP_GETOSPACE", 0x4010500c},
-{"sys/soundcard.h", "SNDCTL_DSP_GETOSPACE", 0x4010500c},
-{"machine/soundcard.h", "SNDCTL_DSP_GETISPACE", 0x4010500d},
-{"sys/soundcard.h", "SNDCTL_DSP_GETISPACE", 0x4010500d},
-{"dev/usb/usb.h", "USB_DEVICESTATS", 0x40105505},
-{"machine/soundcard.h", "AIOGFMT", 0x4010660c},
-{"sys/soundcard.h", "AIOGFMT", 0x4010660c},
-{"machine/ioctl_meteor.h", "METEORGVIDEO", 0x4010780d},
-{"machine/ioctl_bt848.h", "BT848_GCAPAREA", 0x40107845},
-{"dev/usb/usb.h", "USB_GET_DEVICE_DESC", 0x40125569},
-{"machine/pcvt_ioctl.h", "KBDMOUSEGET", 0x40144b19},
-{"machine/mouse.h", "MOUSE_GETHWINFO", 0x40144d01},
-{"sys/pioctl.h", "PIOCWAIT", 0x40147004},
-{"sys/pioctl.h", "PIOCSTATUS", 0x40147006},
-{"machine/ioctl_meteor.h", "METEORGCOUNT", 0x4014780a},
-{"sys/fbio.h", "FBIOGTYPE", 0x40184600},
-{"machine/mouse.h", "MOUSE_GETSTATUS", 0x40184d00},
-{"pccard/cardinfo.h", "PIOCGSTATE", 0x40185001},
-{"machine/apm_bios.h", "APMIO_GETINFO_OLD", 0x40185002},
-{"machine/mouse.h", "MOUSE_GETMODE", 0x401c4d02},
-{"sys/timepps.h", "PPS_IOC_GETPARAMS", 0x40203104},
-{"net/bpf.h", "BIOCGETIF", 0x4020426b},
-{"netinet/ip_nat.h", "SIOCGFRST", 0x40207254},
-{"net/if_ppp.h", "PPPIOCGXASYNCMAP", 0x40207450},
-{"sys/kbio.h", "KDGKBINFO", 0x40244b65},
-{"machine/apm_bios.h", "APMIO_NEXTEVENT", 0x40284164},
-{"netgraph/ng_message.h", "NGIOCGINFO", 0x40284e28},
-{"machine/ioctl_fd.h", "FD_GTYPE", 0x402c463e},
-{"sys/ttycom.h", "TIOCGETA", 0x402c7413},
-{"netinet/ip_nat.h", "SIOCGIPST", 0x40387255},
-{"machine/mouse.h", "MOUSE_GETVARS", 0x40404d06},
-{"machine/apm_bios.h", "APMIO_GETINFO", 0x4040500b},
-{"netinet/ip_nat.h", "SIOCGNATS", 0x40407252},
-{"sys/mtio.h", "MTIOCGET", 0x404c6d02},
-{"sys/fbio.h", "FBIOGATTR", 0x40584606},
-{"machine/pcaudioio.h", "AUDIO_GETINFO", 0x40844101},
-{"cam/scsi/scsi_targetio.h", "TARGIOCFETCHATIO", 0x409c4303},
-{"sys/fbio.h", "FBIO_ADPINFO", 0x40a44666},
-{"sys/consio.h", "GIO_SCRNMAP", 0x41006b02},
-{"sys/mtio.h", "MTIOCERRSTAT", 0x41006d07},
-{"machine/ioctl_ctx.h", "CTX_GET_LUT", 0x41007806},
-{"netinet/ip_fil.h", "SIOCGETFS", 0x410c7240},
-{"sys/disklabel.h", "DIOCGDINFO", 0x41146465},
-{"nwfs/nwfs.h", "NWFSIOC_GETEINFO", 0x414d6e02},
-{"dev/usb/usb.h", "USB_GET_DEVICEINFO", 0x41585570},
-{"dev/usb/usb.h", "USB_GET_REPORT_DESC", 0x44045515},
-{"sys/kbio.h", "GIO_DEADKEYMAP", 0x462a6b08},
-{"machine/ioctl_bt848.h", "BT848GCLIP", 0x46407842},
-{"sys/diskslice.h", "DIOCGSLICEINFO", 0x471c646f},
-{"sys/consio.h", "GIO_FONT8x8", 0x48006341},
-{"machine/pcvt_ioctl.h", "GIO_KEYMAP", 0x4a026b06},
-{"sys/kbio.h", "GIO_KEYMAP", 0x4a026b06},
-{"sys/consio.h", "GIO_FONT8x14", 0x4e006343},
-{"machine/soundcard.h", "SNDCTL_COPR_RCVMSG", 0x4fa44309},
-{"sys/soundcard.h", "SNDCTL_COPR_RCVMSG", 0x4fa44309},
-{"sys/consio.h", "GIO_FONT8x16", 0x50006345},
-{"sys/pioctl.h", "PIOCBIS", 0x80007001},
-{"sys/pioctl.h", "PIOCBIC", 0x80007002},
-{"sys/pioctl.h", "PIOCSFL", 0x80007003},
-{"sys/pioctl.h", "PIOCCONT", 0x80007005},
-{"sys/ttycom.h", "TIOCSTI", 0x80017472},
-{"machine/ioctl_meteor.h", "METEORSHUE", 0x80017806},
-{"machine/ioctl_meteor.h", "METEORSCHCV", 0x80017809},
-{"machine/ioctl_meteor.h", "METEORSBRIG", 0x8001780e},
-{"machine/ioctl_meteor.h", "METEORSCSAT", 0x8001780f},
-{"machine/ioctl_meteor.h", "METEORSCONT", 0x80017810},
-{"machine/ioctl_meteor.h", "METEORSHWS", 0x80017812},
-{"machine/ioctl_meteor.h", "METEORSVWS", 0x80017813},
-{"machine/ioctl_meteor.h", "METEORSTS", 0x80017814},
-{"pccard/cardinfo.h", "PIOCSREG", 0x80025065},
-{"sys/cdio.h", "CDIOCPITCH", 0x8002631d},
-{"machine/random.h", "MEM_SETIRQ", 0x80027201},
-{"machine/random.h", "MEM_CLEARIRQ", 0x80027202},
-{"machine/ioctl_meteor.h", "METEORSFPS", 0x8002780b},
-{"machine/ioctl_meteor.h", "METEORSBT254", 0x80027811},
-{"machine/i4b_ioctl.h", "I4B_ALERT_REQ", 0x80043408},
-{"machine/perfmon.h", "PMIOSTART", 0x80043502},
-{"machine/perfmon.h", "PMIOSTOP", 0x80043503},
-{"machine/perfmon.h", "PMIORESET", 0x80043505},
-{"machine/i4b_tel_ioctl.h", "I4B_TEL_SETAUDIOFMT", 0x80044101},
-{"sys/dataacq.h", "AD_MICRO_PERIOD_SET", 0x80044101},
-{"machine/i4b_tel_ioctl.h", "I4B_TEL_EMPTYINPUTQUEUE", 0x80044102},
-{"net/bpf.h", "BIOCIMMEDIATE", 0x80044270},
-{"net/bpf.h", "BIOCSRSIG", 0x80044273},
-{"net/bpf.h", "BIOCSHDRCMPLT", 0x80044275},
-{"net/bpf.h", "BIOCSSEESENT", 0x80044277},
-{"cam/scsi/scsi_targetio.h", "TARGIOCCLEAREXCEPTION", 0x80044302},
-{"machine/i4b_debug.h", "I4B_CTL_CLR_LAPDSTAT", 0x80044305},
-{"sys/fbio.h", "FBIOSVIDEO", 0x80044607},
-{"sys/fbio.h", "FBIOSCURPOS", 0x8004461a},
-{"sys/fbio.h", "FBIOGCURPOS", 0x8004461b},
-{"machine/ioctl_fd.h", "FD_SOPTS", 0x80044641},
-{"machine/ioctl_fd.h", "FD_DEBUG", 0x80044642},
-{"sys/fbio.h", "FBIO_SETMODE", 0x8004466a},
-{"sys/fbio.h", "FBIO_SETWINORG", 0x8004466c},
-{"sys/fbio.h", "FBIO_SETLINEWIDTH", 0x80044670},
-{"machine/joystick.h", "JOY_SETTIMEOUT", 0x80044a01},
-{"sys/joystick.h", "JOY_SETTIMEOUT", 0x80044a01},
-{"machine/joystick.h", "JOY_SET_X_OFFSET", 0x80044a03},
-{"sys/joystick.h", "JOY_SET_X_OFFSET", 0x80044a03},
-{"machine/joystick.h", "JOY_SET_Y_OFFSET", 0x80044a04},
-{"sys/joystick.h", "JOY_SET_Y_OFFSET", 0x80044a04},
-{"machine/pcvt_ioctl.h", "KBDSTPMAT", 0x80044b03},
-{"machine/pcvt_ioctl.h", "KBDSREPSW", 0x80044b05},
-{"machine/pcvt_ioctl.h", "KBDSLEDS", 0x80044b07},
-{"machine/pcvt_ioctl.h", "KBDSLOCK", 0x80044b09},
-{"machine/pcvt_ioctl.h", "KBDRMKEY", 0x80044b13},
-{"machine/mouse.h", "MOUSE_SETLEVEL", 0x80044d05},
-{"sys/soundcard.h", "SNDCTL_DSP_SETBLKSIZE", 0x80045004},
-{"machine/soundcard.h", "SNDCTL_DSP_SETBLKSIZE", 0x80045004},
-{"pccard/cardinfo.h", "PIOCRWFLAG", 0x80045007},
-{"machine/apm_bios.h", "APMIO_DISPLAY", 0x80045009},
-{"pccard/cardinfo.h", "PIOCSVIR", 0x8004500a},
-{"pccard/cardinfo.h", "PIOCSBEEP", 0x8004500b},
-{"machine/soundcard.h", "SNDCTL_DSP_SETTRIGGER", 0x80045010},
-{"sys/soundcard.h", "SNDCTL_DSP_SETTRIGGER", 0x80045010},
-{"sys/soundcard.h", "SNDCTL_SEQ_PERCMODE", 0x80045106},
-{"machine/soundcard.h", "SNDCTL_SEQ_PERCMODE", 0x80045106},
-{"sys/soundcard.h", "SNDCTL_SEQ_TESTMIDI", 0x80045108},
-{"machine/soundcard.h", "SNDCTL_SEQ_TESTMIDI", 0x80045108},
-{"sys/soundcard.h", "SNDCTL_SEQ_RESETSAMPLES", 0x80045109},
-{"machine/soundcard.h", "SNDCTL_SEQ_RESETSAMPLES", 0x80045109},
-{"machine/soundcard.h", "SNDCTL_SEQ_THRESHOLD", 0x8004510d},
-{"sys/soundcard.h", "SNDCTL_SEQ_THRESHOLD", 0x8004510d},
-{"sys/soundcard.h", "SNDCTL_FM_4OP_ENABLE", 0x8004510f},
-{"machine/soundcard.h", "SNDCTL_FM_4OP_ENABLE", 0x8004510f},
-{"machine/gsc.h", "GSC_SRES", 0x80045302},
-{"machine/asc_ioctl.h", "ASC_SRES", 0x80045302},
-{"machine/asc_ioctl.h", "ASC_SWIDTH", 0x80045304},
-{"machine/gsc.h", "GSC_SWIDTH", 0x80045304},
-{"machine/asc_ioctl.h", "ASC_SHEIGHT", 0x80045306},
-{"machine/gsc.h", "GSC_SHEIGHT", 0x80045306},
-{"machine/asc_ioctl.h", "ASC_SBLEN", 0x80045308},
-{"machine/gsc.h", "GSC_SBLEN", 0x80045308},
-{"machine/asc_ioctl.h", "ASC_SBTIME", 0x8004530a},
-{"machine/gsc.h", "GSC_SBTIME", 0x8004530a},
-{"machine/i4b_trace.h", "I4B_TRC_SET", 0x80045401},
-{"sys/ptio.h", "PTIOCSETTIMEOUT", 0x80045402},
-{"machine/i4b_trace.h", "I4B_TRC_RESETA", 0x80045403},
-{"machine/soundcard.h", "SNDCTL_TMR_METRONOME", 0x80045407},
-{"sys/soundcard.h", "SNDCTL_TMR_METRONOME", 0x80045407},
-{"machine/soundcard.h", "SNDCTL_TMR_SELECT", 0x80045408},
-{"sys/soundcard.h", "SNDCTL_TMR_SELECT", 0x80045408},
-{"sys/snoop.h", "SNPSTTY", 0x8004545a},
-{"dev/usb/usb.h", "USB_SETDEBUG", 0x80045502},
-{"dev/usb/usb.h", "USB_SET_IMMED", 0x80045516},
-{"dev/usb/usb.h", "USB_SET_CONFIG", 0x80045565},
-{"dev/usb/usb.h", "USB_SET_SHORT_XFER", 0x80045571},
-{"dev/usb/usb.h", "USB_SET_TIMEOUT", 0x80045572},
-{"dev/usb/usb.h", "USB_SET_CM_OVER_DATA", 0x80045583},
-{"machine/pcvt_ioctl.h", "VGASCREENSAVER", 0x80045670},
-{"machine/pcvt_ioctl.h", "VGASETCOLMS", 0x80045673},
-{"sys/cdio.h", "CDIOCPLAYTRACKS", 0x80046301},
-{"sys/consio.h", "CONS_BLANKTIME", 0x80046304},
-{"sys/chio.h", "CHIOSPICKER", 0x80046305},
-{"sys/consio.h", "CONS_CURSORTYPE", 0x80046307},
-{"sys/chio.h", "CHIOIELEM", 0x80046307},
-{"sys/consio.h", "CONS_BELLTYPE", 0x80046308},
-{"sys/consio.h", "CONS_HISTORY", 0x80046309},
-{"sys/cdio.h", "CDIOCSETPATCH", 0x80046309},
-{"sys/cdio.h", "CDIOCSETVOL", 0x8004630b},
-{"sys/consio.h", "CONS_SAVERMODE", 0x8004630c},
-{"sys/consio.h", "CONS_SAVERSTART", 0x8004630d},
-{"sys/cdrio.h", "CDRIOCWRITESPEED", 0x8004636a},
-{"sys/cdrio.h", "CDRIOCSETBLOCKSIZE", 0x8004636c},
-{"sys/disklabel.h", "DIOCWLABEL", 0x8004646d},
-{"sys/diskslice.h", "DIOCSYNCSLICEINFO", 0x80046470},
-{"sys/filio.h", "FIOSETOWN", 0x8004667c},
-{"sys/filio.h", "FIOASYNC", 0x8004667d},
-{"sys/filio.h", "FIONBIO", 0x8004667e},
-{"sys/mtio.h", "MTIOCSLOCATE", 0x80046d05},
-{"sys/mtio.h", "MTIOCHLOCATE", 0x80046d06},
-{"sys/mtio.h", "MTIOCSETEOTMODEL", 0x80046d08},
-{"machine/lpt.h", "LPT_IRQ", 0x80047001},
-{"netinet/ip_fil.h", "SIOCSETFF", 0x8004723e},
-{"netinet/ip_fil.h", "SIOCFRENB", 0x80047248},
-{"netinet/ip_fil.h", "SIOCFRSYN", 0x80047249},
-{"sys/sockio.h", "SIOCSHIWAT", 0x80047300},
-{"sys/sockio.h", "SIOCSLOWAT", 0x80047302},
-{"machine/spigot.h", "SPIGOT_SETINT", 0x80047305},
-{"sys/sockio.h", "SIOCSPGRP", 0x80047308},
-{"machine/cdk.h", "STL_SETPFLAG", 0x80047351},
-{"sys/ioctl_compat.h", "OTIOCSETD", 0x80047401},
-{"sys/ttycom.h", "TIOCMODS", 0x80047404},
-{"sys/ttycom.h", "TIOCFLUSH", 0x80047410},
-{"sys/ttycom.h", "TIOCSETD", 0x8004741b},
-{"net/if_ppp.h", "PPPIOCSMTU", 0x80047448},
-{"net/slip.h", "SLIOCSUNIT", 0x80047450},
-{"net/if_ppp.h", "PPPIOCSMAXCID", 0x80047451},
-{"net/if_ppp.h", "PPPIOCSMRU", 0x80047452},
-{"net/slip.h", "SLIOCSOUTFILL", 0x80047453},
-{"net/slip.h", "SLIOCSKEEPAL", 0x80047454},
-{"net/if_ppp.h", "PPPIOCSRASYNCMAP", 0x80047454},
-{"sys/ttycom.h", "TIOCSDRAINWAIT", 0x80047457},
-{"net/if_ppp.h", "PPPIOCSASYNCMAP", 0x80047457},
-{"net/if_ppp.h", "PPPIOCSFLAGS", 0x80047459},
-{"net/if_tun.h", "TUNSDEBUG", 0x8004745a},
-{"sys/ttycom.h", "TIOCMSDTRWAIT", 0x8004745b},
-{"net/if_tun.h", "TUNSLMODE", 0x8004745d},
-{"net/if_tun.h", "TUNSIFMODE", 0x8004745e},
-{"net/if_tun.h", "TUNSIFHEAD", 0x80047460},
-{"sys/ttycom.h", "TIOCEXT", 0x80047460},
-{"sys/ttycom.h", "TIOCCONS", 0x80047462},
-{"sys/ttycom.h", "TIOCUCNTL", 0x80047466},
-{"sys/ttycom.h", "TIOCREMOTE", 0x80047469},
-{"sys/ttycom.h", "TIOCMBIC", 0x8004746b},
-{"sys/ttycom.h", "TIOCMBIS", 0x8004746c},
-{"sys/ttycom.h", "TIOCMSET", 0x8004746d},
-{"sys/ttycom.h", "TIOCPKT", 0x80047470},
-{"sys/ttycom.h", "TIOCSPGRP", 0x80047476},
-{"sys/ioctl_compat.h", "TIOCLSET", 0x8004747d},
-{"sys/ioctl_compat.h", "TIOCLBIC", 0x8004747e},
-{"sys/ioctl_compat.h", "TIOCLBIS", 0x8004747f},
-{"machine/ioctl_meteor.h", "METEORCAPTUR", 0x80047801},
-{"machine/ioctl_meteor.h", "METEORSFMT", 0x80047807},
-{"machine/ioctl_meteor.h", "METEORSINPUT", 0x80047808},
-{"machine/ioctl_meteor.h", "METEORSSIGNAL", 0x8004780c},
-{"machine/ioctl_bt848.h", "TVTUNER_SETCHNL", 0x80047820},
-{"machine/ioctl_bt848.h", "TVTUNER_SETTYPE", 0x80047821},
-{"machine/ioctl_bt848.h", "TVTUNER_SETFREQ", 0x80047823},
-{"machine/ioctl_bt848.h", "BT848_SHUE", 0x80047825},
-{"machine/ioctl_bt848.h", "BT848_SBRIG", 0x80047826},
-{"machine/ioctl_bt848.h", "BT848_SCSAT", 0x80047827},
-{"machine/ioctl_bt848.h", "BT848_SCONT", 0x80047828},
-{"machine/ioctl_bt848.h", "BT848_SVSAT", 0x80047829},
-{"machine/ioctl_bt848.h", "BT848_SUSAT", 0x8004782a},
-{"machine/ioctl_bt848.h", "BT848_SAUDIO", 0x8004782e},
-{"machine/ioctl_bt848.h", "BT848_SBTSC", 0x80047830},
-{"machine/ioctl_bt848.h", "TVTUNER_SETAFC", 0x80047835},
-{"machine/ioctl_bt848.h", "BT848_SLNOTCH", 0x80047837},
-{"machine/ioctl_bt848.h", "RADIO_SETMODE", 0x8004783a},
-{"machine/ioctl_bt848.h", "RADIO_SETFREQ", 0x8004783b},
-{"machine/ioctl_bt848.h", "METEORSACTPIXFMT", 0x80047840},
-{"machine/ioctl_bt848.h", "BT848SFMT", 0x80047843},
-{"machine/ioctl_bt848.h", "BT848SCBUF", 0x80047844},
-{"machine/ioctl_bt848.h", "BT848_GPIO_SET_EN", 0x80047848},
-{"machine/ioctl_bt848.h", "BT848_GPIO_SET_DATA", 0x8004784a},
-{"sys/chio.h", "CHIOPOSITION", 0x80066303},
-{"sys/cdio.h", "CDIOCPLAYMSF", 0x80066319},
-{"sys/ioctl_compat.h", "TIOCSETP", 0x80067409},
-{"sys/ioctl_compat.h", "TIOCSETN", 0x8006740a},
-{"sys/ioctl_compat.h", "TIOCSETC", 0x80067411},
-{"sys/ioctl_compat.h", "TIOCSLTC", 0x80067475},
-{"machine/ioctl_meteor.h", "METEORCAPFRM", 0x80067802},
-{"machine/i4b_ioctl.h", "I4B_DISCONNECT_REQ", 0x80083403},
-{"machine/i4b_ioctl.h", "I4B_PROT_IND", 0x8008340a},
-{"machine/perfmon.h", "PMIOSETUP", 0x80083501},
-{"net/bpf.h", "BIOCSETF", 0x80084267},
-{"net/bpf.h", "BIOCSRTIMEOUT", 0x8008426d},
-{"sys/fbio.h", "FBIO_SETDISPSTART", 0x8008466e},
-{"sys/kbio.h", "KDSETREPEAT", 0x80084b66},
-{"pccard/cardinfo.h", "PIOCSPOW", 0x80085009},
-{"sys/soundcard.h", "SNDCTL_SEQ_OUTOFBAND", 0x80085112},
-{"machine/soundcard.h", "SNDCTL_SEQ_OUTOFBAND", 0x80085112},
-{"machine/speaker.h", "SPKRTONE", 0x80085301},
-{"sys/wormio.h", "WORMIOCPREPDISK", 0x80085714},
-{"sys/wormio.h", "WORMIOCFIXATION", 0x80085716},
-{"sys/cdio.h", "CDIOCPLAYBLOCKS", 0x80086302},
-{"sys/disklabel.h", "DIOCGPART", 0x80086468},
-{"sys/mtio.h", "MTIOCTOP", 0x80086d01},
-{"net/if_ppp.h", "PPPIOCSACTIVE", 0x80087446},
-{"net/if_ppp.h", "PPPIOCSPASS", 0x80087447},
-{"net/if_ppp.h", "PPPIOCSNPMODE", 0x8008744b},
-{"net/if_tun.h", "TUNSIFINFO", 0x8008745b},
-{"sys/ttycom.h", "TIOCSWINSZ", 0x80087467},
-{"machine/pcvt_ioctl.h", "CONSOLE_X_BELL", 0x8008747b},
-{"sys/consio.h", "VT_SETMODE", 0x80087602},
-{"machine/pcvt_ioctl.h", "VT_SETMODE", 0x80087602},
-{"sys/chio.h", "CHIOMOVE", 0x800a6301},
-{"sys/timepps.h", "PPS_IOC_KCBIND", 0x800c3107},
-{"machine/i4b_ioctl.h", "I4B_UPDOWN_IND", 0x800c3407},
-{"machine/i4b_ioctl.h", "I4B_CTRL_DOWNLOAD", 0x800c3464},
-{"sys/consio.h", "KDRASTER", 0x800c4b64},
-{"machine/pcvt_ioctl.h", "VGACURSOR", 0x800c5664},
-{"sys/chio.h", "CHIOGSTATUS", 0x800c6308},
-{"sys/cdrio.h", "CDRIOCOPENTRACK", 0x800c6368},
-{"sys/kbio.h", "PIO_KEYMAPENT", 0x800c6b0b},
-{"sys/memrange.h", "MEMRANGE_SET", 0x800c6d33},
-{"net/if_ppp.h", "PPPIOCSCOMPRESS", 0x800c744d},
-{"machine/ioctl_meteor.h", "METEORSETGEO", 0x800c7803},
-{"sys/chio.h", "CHIOEXCHANGE", 0x800e6302},
-{"machine/i4b_ioctl.h", "I4B_DIALOUT_RESP", 0x80103405},
-{"machine/i4b_debug.h", "I4B_CTL_SET_DEBUG", 0x80104301},
-{"cam/scsi/scsi_targetio.h", "TARGCTLIOFREEUNIT", 0x80104308},
-{"netgraph/ng_message.h", "NGIOCSETNAME", 0x80104e29},
-{"pccard/cardinfo.h", "PIOCSIO", 0x80105005},
-{"machine/i4b_trace.h", "I4B_TRC_SETA", 0x80105402},
-{"machine/pcvt_ioctl.h", "VGAWRITEPEL", 0x8010566f},
-{"machine/iic.h", "I2CSTART", 0x80106901},
-{"machine/iic.h", "I2CRSTCARD", 0x80106903},
-{"machine/iic.h", "I2CWRITE", 0x80106904},
-{"machine/iic.h", "I2CREAD", 0x80106905},
-{"machine/ioctl_meteor.h", "METEORSVIDEO", 0x8010780d},
-{"machine/ioctl_bt848.h", "BT848_SCAPAREA", 0x80107845},
-{"machine/i4b_ioctl.h", "I4B_TIMEOUT_UPD", 0x80143406},
-{"machine/soundcard.h", "SNDCTL_COPR_WDATA", 0x80144304},
-{"sys/soundcard.h", "SNDCTL_COPR_WDATA", 0x80144304},
-{"sys/soundcard.h", "SNDCTL_COPR_WCODE", 0x80144305},
-{"machine/soundcard.h", "SNDCTL_COPR_WCODE", 0x80144305},
-{"sys/fbio.h", "FBIOPUTCMAP", 0x80144603},
-{"sys/fbio.h", "FBIOGETCMAP", 0x80144604},
-{"machine/pcvt_ioctl.h", "KBDMOUSESET", 0x80144b1a},
-{"pccard/cardinfo.h", "PIOCSMEM", 0x80145003},
-{"machine/pcvt_ioctl.h", "VGASETFONTATTR", 0x80145666},
-{"machine/smb.h", "SMB_QUICK_WRITE", 0x80146901},
-{"machine/smb.h", "SMB_QUICK_READ", 0x80146902},
-{"machine/smb.h", "SMB_SENDB", 0x80146903},
-{"machine/smb.h", "SMB_RECVB", 0x80146904},
-{"machine/smb.h", "SMB_WRITEB", 0x80146905},
-{"machine/smb.h", "SMB_WRITEW", 0x80146906},
-{"machine/smb.h", "SMB_READB", 0x80146907},
-{"machine/smb.h", "SMB_READW", 0x80146908},
-{"machine/smb.h", "SMB_PCALL", 0x80146909},
-{"machine/smb.h", "SMB_BWRITE", 0x8014690a},
-{"machine/smb.h", "SMB_BREAD", 0x8014690b},
-{"machine/ioctl_meteor.h", "METEORSCOUNT", 0x8014780a},
-{"machine/i4b_ioctl.h", "I4B_ACTIVE_DIAGNOSTIC", 0x80183466},
-{"netatm/atm_ioctl.h", "AIOCCFG", 0x80184180},
-{"sys/ccdvar.h", "CCDIOCCLR", 0x80184611},
-{"sys/fbio.h", "FBIO_GETPALETTE", 0x80184671},
-{"sys/fbio.h", "FBIO_SETPALETTE", 0x80184672},
-{"sys/consio.h", "CONS_SSAVER", 0x80186305},
-{"machine/mouse.h", "MOUSE_SETMODE", 0x801c4d03},
-{"sys/timepps.h", "PPS_IOC_SETPARAMS", 0x80203103},
-{"machine/i4b_ioctl.h", "I4B_CONNECT_RESP", 0x80203402},
-{"net/bpf.h", "BIOCSETIF", 0x8020426c},
-{"machine/i4b_debug.h", "I4B_CTL_CLR_HSCXSTAT", 0x80204303},
-{"sys/sockio.h", "SIOCSIFADDR", 0x8020690c},
-{"sys/sockio.h", "SIOCSIFDSTADDR", 0x8020690e},
-{"sys/sockio.h", "SIOCSIFFLAGS", 0x80206910},
-{"sys/sockio.h", "SIOCSIFBRDADDR", 0x80206913},
-{"sys/sockio.h", "SIOCSIFNETMASK", 0x80206916},
-{"sys/sockio.h", "SIOCSIFMETRIC", 0x80206918},
-{"sys/sockio.h", "SIOCDIFADDR", 0x80206919},
-{"sys/sockio.h", "SIOCADDMULTI", 0x80206931},
-{"sys/sockio.h", "SIOCDELMULTI", 0x80206932},
-{"sys/sockio.h", "SIOCSIFMTU", 0x80206934},
-{"sys/sockio.h", "SIOCSIFPHYS", 0x80206936},
-{"sys/sockio.h", "SIOCSIFGENERIC", 0x80206939},
-{"machine/if_wl_wavelan.h", "SIOCDWLCACHE", 0x80206940},
-{"machine/if_wl_wavelan.h", "SIOCSWLTHR", 0x80206941},
-{"netatalk/phase2.h", "SIOCPHASE1", 0x80206964},
-{"netatalk/phase2.h", "SIOCPHASE2", 0x80206965},
-{"net/if_ppp.h", "PPPIOCSXASYNCMAP", 0x8020744f},
-{"netatm/atm_ioctl.h", "AIOCDEL", 0x80244182},
-{"sys/wormio.h", "WORMIOCWRITESESSION", 0x80245720},
-{"sys/soundcard.h", "SNDCTL_FM_LOAD_INSTR", 0x80285107},
-{"machine/soundcard.h", "SNDCTL_FM_LOAD_INSTR", 0x80285107},
-{"sys/wormio.h", "WORMIOCPREPTRACK", 0x80285715},
-{"machine/i4b_rbch_ioctl.h", "I4B_RBCH_DIALOUT", 0x80295201},
-{"sys/chio.h", "CHIOSETVOLTAG", 0x802a6309},
-{"sys/fbio.h", "FBIOSCURSOR", 0x802c4618},
-{"machine/ioctl_fd.h", "FD_STYPE", 0x802c463f},
-{"machine/pcvt_ioctl.h", "VGALOADCHAR", 0x802c5665},
-{"sys/ttycom.h", "TIOCSETA", 0x802c7414},
-{"sys/ttycom.h", "TIOCSETAW", 0x802c7415},
-{"sys/ttycom.h", "TIOCSETAF", 0x802c7416},
-{"machine/pcvt_ioctl.h", "VGASETSCREEN", 0x80305668},
-{"sys/sockio.h", "SIOCADDRT", 0x8030720a},
-{"sys/sockio.h", "SIOCDELRT", 0x8030720b},
-{"cam/scsi/scsi_targetio.h", "TARGIOCSETISTATE", 0x80344305},
-{"netatm/atm_ioctl.h", "AIOCADD", 0x803c4181},
-{"machine/mouse.h", "MOUSE_SETVARS", 0x80404d07},
-{"sys/sockio.h", "SIOCAIFADDR", 0x8040691a},
-{"sys/sockio.h", "SIOCSIFPHYADDR", 0x80406946},
-{"netinet6/in6_var.h", "SIOCSIFPREFIX_IN6", 0x80406964},
-{"netinet6/in6_var.h", "SIOCDIFPREFIX_IN6", 0x80406966},
-{"netatm/atm_ioctl.h", "AIOCSET", 0x80484184},
-{"machine/pcvt_ioctl.h", "KBDSCKEY", 0x80484b11},
-{"netinet6/in6_var.h", "SIOCAIFPREFIX_IN6", 0x80606967},
-{"netinet6/in6_var.h", "SIOCCIFPREFIX_IN6", 0x80606968},
-{"netinet6/in6_var.h", "SIOCSGIFPREFIX_IN6", 0x80606969},
-{"sys/consio.h", "CONS_SETTERM", 0x80686371},
-{"netinet/ip_nat.h", "SIOCADNAT", 0x80707250},
-{"netinet/ip_nat.h", "SIOCRMNAT", 0x80707251},
-{"netinet6/in6_var.h", "SIOCAIFADDR_IN6", 0x8078691a},
-{"netinet6/in6_var.h", "SIOCSIFPHYADDR_IN6", 0x80786946},
-{"machine/i4b_ioctl.h", "I4B_CONNECT_REQ", 0x80843401},
-{"machine/cronyx.h", "CXIOCSETMODE", 0x80847802},
-{"sys/xrpuio.h", "XRPU_IOC_TIMECOUNTING", 0x80a03601},
-{"machine/ioctl_fd.h", "FD_FORM", 0x80a4463d},
-{"netinet/ip_fil.h", "SIOCADAFR", 0x80c0723c},
-{"netinet/ip_fil.h", "SIOCRMAFR", 0x80c0723d},
-{"netinet/ip_fil.h", "SIOCADIFR", 0x80c07243},
-{"netinet/ip_fil.h", "SIOCRMIFR", 0x80c07244},
-{"netinet/ip_fil.h", "SIOCINAFR", 0x80c07246},
-{"netinet/ip_fil.h", "SIOCINIFR", 0x80c07247},
-{"sys/consio.h", "PIO_SCRNMAP", 0x81006b03},
-{"machine/ioctl_ctx.h", "CTX_SET_LUT", 0x81007805},
-{"sys/disklabel.h", "DIOCSDINFO", 0x81146466},
-{"sys/disklabel.h", "DIOCWDINFO", 0x81146467},
-{"sys/sockio.h", "SIOCALIFADDR", 0x8118691b},
-{"sys/sockio.h", "SIOCDLIFADDR", 0x8118691d},
-{"netinet6/in6_var.h", "SIOCSIFADDR_IN6", 0x8120690c},
-{"netinet6/in6_var.h", "SIOCSIFDSTADDR_IN6", 0x8120690e},
-{"netinet6/in6_var.h", "SIOCSIFNETMASK_IN6", 0x81206916},
-{"netinet6/in6_var.h", "SIOCDIFADDR_IN6", 0x81206919},
-{"sys/kbio.h", "PIO_DEADKEYMAP", 0x862a6b09},
-{"machine/ioctl_bt848.h", "BT848SCLIP", 0x86407842},
-{"sys/consio.h", "PIO_FONT8x8", 0x88006340},
-{"sys/kbio.h", "PIO_KEYMAP", 0x8a026b07},
-{"sys/consio.h", "PIO_FONT8x14", 0x8e006342},
-{"sys/soundcard.h", "SNDCTL_COPR_SENDMSG", 0x8fa44308},
-{"machine/soundcard.h", "SNDCTL_COPR_SENDMSG", 0x8fa44308},
-{"sys/consio.h", "PIO_FONT8x16", 0x90006344},
-{"pccard/cardinfo.h", "PIOCGREG", 0xc0025064},
-{"machine/i4b_ioctl.h", "I4B_CDID_REQ", 0xc0043400},
-{"machine/soundcard.h", "AIOGMIX", 0xc004410d},
-{"sys/soundcard.h", "AIOGMIX", 0xc004410d},
-{"machine/soundcard.h", "AIOSMIX", 0xc004410e},
-{"sys/soundcard.h", "AIOSMIX", 0xc004410e},
-{"machine/soundcard.h", "AIOSTOP", 0xc004410f},
-{"sys/soundcard.h", "AIOSTOP", 0xc004410f},
-{"net/bpf.h", "BIOCSBLEN", 0xc0044266},
-{"sys/vnioctl.h", "VNIOCGSET", 0xc0044602},
-{"sys/vnioctl.h", "VNIOCGCLEAR", 0xc0044603},
-{"sys/vnioctl.h", "VNIOCUSET", 0xc0044604},
-{"sys/vnioctl.h", "VNIOCUCLEAR", 0xc0044605},
-{"machine/soundcard.h", "SNDCTL_DSP_SPEED", 0xc0045002},
-{"sys/soundcard.h", "SNDCTL_DSP_SPEED", 0xc0045002},
-{"sys/soundcard.h", "SNDCTL_DSP_STEREO", 0xc0045003},
-{"machine/soundcard.h", "SNDCTL_DSP_STEREO", 0xc0045003},
-{"machine/soundcard.h", "SNDCTL_DSP_SETFMT", 0xc0045005},
-{"sys/soundcard.h", "SNDCTL_DSP_SETFMT", 0xc0045005},
-{"machine/soundcard.h", "SOUND_PCM_WRITE_CHANNELS", 0xc0045006},
-{"sys/soundcard.h", "SOUND_PCM_WRITE_CHANNELS", 0xc0045006},
-{"machine/soundcard.h", "SOUND_PCM_WRITE_FILTER", 0xc0045007},
-{"sys/soundcard.h", "SOUND_PCM_WRITE_FILTER", 0xc0045007},
-{"pccard/cardinfo.h", "PIOCRWMEM", 0xc0045008},
-{"sys/soundcard.h", "SNDCTL_DSP_SUBDIVIDE", 0xc0045009},
-{"machine/soundcard.h", "SNDCTL_DSP_SUBDIVIDE", 0xc0045009},
-{"machine/soundcard.h", "SNDCTL_DSP_SETFRAGMENT", 0xc004500a},
-{"sys/soundcard.h", "SNDCTL_DSP_SETFRAGMENT", 0xc004500a},
-{"machine/soundcard.h", "SNDCTL_SEQ_CTRLRATE", 0xc0045103},
-{"sys/soundcard.h", "SNDCTL_SEQ_CTRLRATE", 0xc0045103},
-{"sys/soundcard.h", "SNDCTL_SYNTH_MEMAVL", 0xc004510e},
-{"machine/soundcard.h", "SNDCTL_SYNTH_MEMAVL", 0xc004510e},
-{"machine/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0xc0045401},
-{"sys/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0xc0045401},
-{"machine/soundcard.h", "SNDCTL_TMR_TEMPO", 0xc0045405},
-{"sys/soundcard.h", "SNDCTL_TMR_TEMPO", 0xc0045405},
-{"sys/soundcard.h", "SNDCTL_TMR_SOURCE", 0xc0045406},
-{"machine/soundcard.h", "SNDCTL_TMR_SOURCE", 0xc0045406},
-{"net/if_atm.h", "SIOCRAWATM", 0xc004617a},
-{"sys/soundcard.h", "SNDCTL_MIDI_PRETIME", 0xc0046d00},
-{"machine/soundcard.h", "SNDCTL_MIDI_PRETIME", 0xc0046d00},
-{"machine/soundcard.h", "SNDCTL_MIDI_MPUMODE", 0xc0046d01},
-{"sys/soundcard.h", "SNDCTL_MIDI_MPUMODE", 0xc0046d01},
-{"netinet/ip_fil.h", "SIOCIPFFL", 0xc0047241},
-{"netinet/ip_nat.h", "SIOCFLNAT", 0xc0047256},
-{"netinet/ip_nat.h", "SIOCCNATL", 0xc0047257},
-{"machine/ioctl_bt848.h", "BT848_I2CWR", 0xc0047839},
-{"machine/perfmon.h", "PMIOGET", 0xc0083507},
-{"sys/soundcard.h", "AIOSSIZE", 0xc008410b},
-{"machine/soundcard.h", "AIOSSIZE", 0xc008410b},
-{"sys/soundcard.h", "AIOSYNC", 0xc008410f},
-{"machine/soundcard.h", "AIOSYNC", 0xc008410f},
-{"sys/vnioctl.h", "VNIOCATTACH", 0xc0084600},
-{"sys/vnioctl.h", "VNIOCDETACH", 0xc0084601},
-{"net/if_atm.h", "SIOCATMENA", 0xc008617b},
-{"net/if_atm.h", "SIOCATMDIS", 0xc008617c},
-{"sys/cdio.h", "CDIOREADTOCENTRYS", 0xc0086305},
-{"sys/sockio.h", "OSIOCGIFCONF", 0xc0086914},
-{"sys/sockio.h", "SIOCGIFCONF", 0xc0086924},
-{"net/if_ppp.h", "PPPIOCGNPMODE", 0xc008744c},
-{"machine/perfmon.h", "PMIOREAD", 0xc00c3504},
-{"dev/usb/usb.h", "USB_GET_ALTINTERFACE", 0xc00c5566},
-{"dev/usb/usb.h", "USB_SET_ALTINTERFACE", 0xc00c5567},
-{"dev/usb/usb.h", "USB_GET_NO_ALT", 0xc00c5568},
-{"dev/usb/usb.h", "USB_GET_FULL_DESC", 0xc00c556d},
-{"sys/cdio.h", "CDIOCREADSUBCHANNEL", 0xc00c6303},
-{"sys/cdio.h", "CDIOREADTOCENTRY", 0xc00c6306},
-{"sys/kbio.h", "GIO_KEYMAPENT", 0xc00c6b0a},
-{"sys/memrange.h", "MEMRANGE_GET", 0xc00c6d32},
-{"cam/scsi/scsi_targetio.h", "TARGCTLIOALLOCUNIT", 0xc0104307},
-{"pccard/cardinfo.h", "PIOCGIO", 0xc0105004},
-{"dev/usb/usb.h", "USB_GET_CONFIG_DESC", 0xc010556a},
-{"machine/pcvt_ioctl.h", "VGAREADPEL", 0xc010566e},
-{"sys/cdio.h", "CDIOCREADAUDIO", 0xc010631f},
-{"machine/soundcard.h", "AIOSFMT", 0xc010660c},
-{"sys/soundcard.h", "AIOSFMT", 0xc010660c},
-{"sys/pciio.h", "PCIOCREAD", 0xc0107002},
-{"sys/pciio.h", "PCIOCWRITE", 0xc0107003},
-{"sys/pciio.h", "PCIOCATTACHED", 0xc0107004},
-{"machine/i4b_ioctl.h", "I4B_CTRL_INFO_REQ", 0xc0143404},
-{"sys/soundcard.h", "SNDCTL_COPR_RDATA", 0xc0144302},
-{"machine/soundcard.h", "SNDCTL_COPR_RDATA", 0xc0144302},
-{"machine/soundcard.h", "SNDCTL_COPR_RCODE", 0xc0144303},
-{"sys/soundcard.h", "SNDCTL_COPR_RCODE", 0xc0144303},
-{"sys/soundcard.h", "SNDCTL_COPR_RUN", 0xc0144306},
-{"machine/soundcard.h", "SNDCTL_COPR_RUN", 0xc0144306},
-{"machine/soundcard.h", "SNDCTL_COPR_HALT", 0xc0144307},
-{"sys/soundcard.h", "SNDCTL_COPR_HALT", 0xc0144307},
-{"pccard/cardinfo.h", "PIOCGMEM", 0xc0145002},
-{"machine/pcvt_ioctl.h", "VGAGETFONTATTR", 0xc0145667},
-{"sys/wormio.h", "WORMIOCFIRSTWRITABLEADDR", 0xc0145721},
-{"sys/consio.h", "CONS_MOUSECTL", 0xc014630a},
-{"sys/consio.h", "CONS_GETINFO", 0xc0146349},
-{"sys/kbio.h", "GETFKEY", 0xc0146b00},
-{"sys/kbio.h", "SETFKEY", 0xc0146b01},
-{"sys/sockio.h", "SIOCGETVIFCNT", 0xc014720f},
-{"sys/sockio.h", "SIOCGETSGCNT", 0xc0147210},
-{"machine/ioctl_bt848.h", "TVTUNER_GETCHNLSET", 0xc0147846},
-{"sys/ccdvar.h", "CCDIOCSET", 0xc0184610},
-{"machine/apm_bios.h", "APMIO_BIOS", 0xc018500a},
-{"dev/usb/usb.h", "USB_REQUEST", 0xc0185501},
-{"dev/usb/usb.h", "USB_GET_INTERFACE_DESC", 0xc018556b},
-{"dev/usb/usb.h", "USB_GET_ENDPOINT_DESC", 0xc018556c},
-{"dev/usb/usb.h", "USB_DO_REQUEST", 0xc018556f},
-{"machine/pcvt_ioctl.h", "VGAPCVTID", 0xc0185671},
-{"sys/consio.h", "CONS_GSAVER", 0xc0186306},
-{"sys/dvdio.h", "DVDIOCREPORTKEY", 0xc01863c8},
-{"sys/dvdio.h", "DVDIOCSENDKEY", 0xc01863c9},
-{"netinet/ip_nat.h", "SIOCGNATL", 0xc0187253},
-{"machine/soundcard.h", "AIOGCAP", 0xc01c410f},
-{"sys/soundcard.h", "AIOGCAP", 0xc01c410f},
-{"machine/ioctl_bt848.h", "METEORGSUPPIXFMT", 0xc01c7841},
-{"netatm/atm_ioctl.h", "AIOCINFO", 0xc0204185},
-{"machine/i4b_debug.h", "I4B_CTL_GET_HSCXSTAT", 0xc0204302},
-{"sys/sockio.h", "OSIOCGIFADDR", 0xc020690d},
-{"sys/sockio.h", "OSIOCGIFDSTADDR", 0xc020690f},
-{"sys/sockio.h", "SIOCGIFFLAGS", 0xc0206911},
-{"sys/sockio.h", "OSIOCGIFBRDADDR", 0xc0206912},
-{"sys/sockio.h", "OSIOCGIFNETMASK", 0xc0206915},
-{"sys/sockio.h", "SIOCGIFMETRIC", 0xc0206917},
-{"sys/sockio.h", "SIOCGIFADDR", 0xc0206921},
-{"sys/sockio.h", "SIOCGIFDSTADDR", 0xc0206922},
-{"sys/sockio.h", "SIOCGIFBRDADDR", 0xc0206923},
-{"sys/sockio.h", "SIOCGIFNETMASK", 0xc0206925},
-{"sys/sockio.h", "SIOCGIFMTU", 0xc0206933},
-{"sys/sockio.h", "SIOCGIFPHYS", 0xc0206935},
-{"sys/sockio.h", "SIOCSIFMEDIA", 0xc0206937},
-{"sys/sockio.h", "SIOCGIFGENERIC", 0xc020693a},
-{"machine/if_wl_wavelan.h", "SIOCGWLCNWID", 0xc020693c},
-{"machine/if_wl_wavelan.h", "SIOCSWLCNWID", 0xc020693d},
-{"machine/if_wl_wavelan.h", "SIOCGWLPSA", 0xc020693e},
-{"machine/if_wl_wavelan.h", "SIOCSWLPSA", 0xc020693f},
-{"machine/if_wl_wavelan.h", "SIOCGWLEEPROM", 0xc0206942},
-{"machine/if_wl_wavelan.h", "SIOCGWLCACHE", 0xc0206943},
-{"machine/if_wl_wavelan.h", "SIOCGWLCITEM", 0xc0206944},
-{"sys/sockio.h", "SIOCGIFPSRCADDR", 0xc0206947},
-{"sys/sockio.h", "SIOCGIFPDSTADDR", 0xc0206948},
-{"sys/soundcard.h", "SNDCTL_MIDI_MPUCMD", 0xc0216d02},
-{"machine/soundcard.h", "SNDCTL_MIDI_MPUCMD", 0xc0216d02},
-{"sys/pciio.h", "PCIOCGETCONF", 0xc0247001},
-{"netinet6/in6_var.h", "SIOCGETMIFCNT_IN6", 0xc024756b},
-{"machine/pcvt_ioctl.h", "VGAPCVTINFO", 0xc0285672},
-{"sys/sockio.h", "SIOCGIFMEDIA", 0xc0286938},
-{"machine/cronyx.h", "CXIOCGETSTAT", 0xc0287803},
-{"sys/fbio.h", "FBIOGCURSOR", 0xc02c4619},
-{"netinet6/in6_var.h", "SIOCGIFINFO_IN6", 0xc02c694c},
-{"sys/timepps.h", "PPS_IOC_FETCH", 0xc0303106},
-{"machine/pcvt_ioctl.h", "VGAGETSCREEN", 0xc0305669},
-{"netinet6/in6_var.h", "SIOCGNBRINFO_IN6", 0xc030694e},
-{"netinet/ip_fil.h", "SIOCATHST", 0xc030724e},
-{"cam/scsi/scsi_targetio.h", "TARGIOCGETISTATE", 0xc0344306},
-{"netinet/ip_fil.h", "SIOCAUTHW", 0xc038724c},
-{"netinet/ip_fil.h", "SIOCAUTHR", 0xc038724d},
-{"netinet6/in6_var.h", "SIOCGIFPREFIX_IN6", 0xc0406965},
-{"machine/mouse.h", "MOUSE_READSTATE", 0xc0444d08},
-{"machine/mouse.h", "MOUSE_READDATA", 0xc0444d09},
-{"machine/pcvt_ioctl.h", "KBDGCKEY", 0xc0484b10},
-{"machine/pcvt_ioctl.h", "KBDGOKEY", 0xc0484b12},
-{"net/if_ppp.h", "SIOCGPPPCSTATS", 0xc048697a},
-{"net/if_ppp.h", "SIOCGPPPSTATS", 0xc048697b},
-{"netinet6/in6_var.h", "SIOCGETSGCNT_IN6", 0xc050756a},
-{"sys/consio.h", "CONS_GETTERM", 0xc0686370},
-{"machine/i4b_debug.h", "I4B_CTL_GET_LAPDSTAT", 0xc0704304},
-{"machine/soundcard.h", "SNDCTL_MIDI_INFO", 0xc074510c},
-{"sys/soundcard.h", "SNDCTL_MIDI_INFO", 0xc074510c},
-{"machine/comstats.h", "COM_GETPORTSTATS", 0xc080631e},
-{"machine/comstats.h", "COM_CLRPORTSTATS", 0xc080631f},
-{"machine/pcaudioio.h", "AUDIO_SETINFO", 0xc0844102},
-{"machine/cronyx.h", "CXIOCGETMODE", 0xc0847801},
-{"machine/soundcard.h", "SNDCTL_SYNTH_INFO", 0xc08c5102},
-{"sys/soundcard.h", "SNDCTL_SYNTH_INFO", 0xc08c5102},
-{"sys/fbio.h", "FBIO_MODEINFO", 0xc09c4667},
-{"sys/fbio.h", "FBIO_FINDMODE", 0xc09c4668},
-{"sys/consio.h", "CONS_MODEINFO", 0xc09c6366},
-{"sys/consio.h", "CONS_FINDMODE", 0xc09c6367},
-{"sys/consio.h", "CONS_ADPINFO", 0xc0a46365},
-{"machine/comstats.h", "COM_GETBRDSTATS", 0xc0a86320},
-{"pccard/cardinfo.h", "PIOCSDRV", 0xc0ac5006},
-{"netinet/ip_fil.h", "SIOCZRLST", 0xc0c0724b},
-{"machine/ioctl_bt848.h", "BT848_WEEPROM", 0xc1047832},
-{"machine/ioctl_bt848.h", "BT848_REEPROM", 0xc1047833},
-{"machine/ioctl_bt848.h", "BT848_SIGNATURE", 0xc1047834},
-{"dev/usb/usb.h", "USB_GET_STRING_DESC", 0xc108556e},
-{"netinet/ip_fil.h", "SIOCFRZST", 0xc10c724a},
-{"sys/sockio.h", "SIOCGLIFADDR", 0xc118691c},
-{"netinet6/in6_var.h", "SIOCGIFADDR_IN6", 0xc1206921},
-{"netinet6/in6_var.h", "SIOCGIFDSTADDR_IN6", 0xc1206922},
-{"netinet6/in6_var.h", "SIOCGIFNETMASK_IN6", 0xc1206925},
-{"netinet6/in6_var.h", "SIOCGIFPSRCADDR_IN6", 0xc1206947},
-{"netinet6/in6_var.h", "SIOCGIFPDSTADDR_IN6", 0xc1206948},
-{"netinet6/in6_var.h", "SIOCGIFAFLAG_IN6", 0xc1206949},
-{"netinet6/in6_var.h", "SIOCSNDFLUSH_IN6", 0xc120694d},
-{"netinet6/in6_var.h", "SIOCSPFXFLUSH_IN6", 0xc120694f},
-{"netinet6/in6_var.h", "SIOCSRTRFLUSH_IN6", 0xc1206950},
-{"netinet6/in6_var.h", "SIOCGIFALIFETIME_IN6", 0xc1206951},
-{"netinet6/in6_var.h", "SIOCSIFALIFETIME_IN6", 0xc1206952},
-{"netinet6/in6_var.h", "SIOCGIFSTAT_IN6", 0xc1206953},
-{"netinet6/in6_var.h", "SIOCGIFSTAT_ICMP6", 0xc1206954},
-{"netinet6/in6_var.h", "SIOCGDRLST_IN6", 0xc128694a},
-{"dev/usb/usb.h", "USB_DEVICEINFO", 0xc1585504},
-{"cam/scsi/scsi_pass.h", "CAMIOCOMMAND", 0xc2601402},
-{"cam/scsi/scsi_pass.h", "CAMGETPASSTHRU", 0xc2601403},
-{"cam/scsi/scsi_targetio.h", "TARGIOCCOMMAND", 0xc2604304},
-{"sys/sockio.h", "SIOCGIFSTATUS", 0xc331693b},
-{"dev/usb/usb.h", "USB_GET_REPORT", 0xc4045517},
-{"netinet6/in6_var.h", "SIOCGPRLST_IN6", 0xc7b8694b},
-{"sys/dvdio.h", "DVDIOCREADSTRUCTURE", 0xc80c63ca},
-{"machine/soundcard.h", "SNDCTL_COPR_LOAD", 0xcfb04301},
-{"sys/soundcard.h", "SNDCTL_COPR_LOAD", 0xcfb04301},
-{"machine/soundcard.h", "SNDCTL_PMGR_IFACE", 0xcfb85001},
-{"sys/soundcard.h", "SNDCTL_PMGR_IFACE", 0xcfb85001},
-{"sys/soundcard.h", "SNDCTL_PMGR_ACCESS", 0xcfb85110},
-{"machine/soundcard.h", "SNDCTL_PMGR_ACCESS", 0xcfb85110},
+++ /dev/null
- "SIG_0", /* 0 */
- "SIGHUP", /* 1 */
- "SIGINT", /* 2 */
- "SIGQUIT", /* 3 */
- "SIGILL", /* 4 */
- "SIGTRAP", /* 5 */
- "SIGABRT", /* 6 */
- "SIGEMT", /* 7 */
- "SIGFPE", /* 8 */
- "SIGKILL", /* 9 */
- "SIGBUS", /* 10 */
- "SIGSEGV", /* 11 */
- "SIGSYS", /* 12 */
- "SIGPIPE", /* 13 */
- "SIGALRM", /* 14 */
- "SIGTERM", /* 15 */
- "SIGURG", /* 16 */
- "SIGSTOP", /* 17 */
- "SIGTSTP", /* 18 */
- "SIGCONT", /* 19 */
- "SIGCHLD", /* 20 */
- "SIGTTIN", /* 21 */
- "SIGTTOU", /* 22 */
- "SIGIO", /* 23 */
- "SIGXCPU", /* 24 */
- "SIGXFSZ", /* 25 */
- "SIGVTALRM", /* 26 */
- "SIGPROF", /* 27 */
- "SIGWINCH", /* 28 */
- "SIGINFO", /* 29 */
- "SIGUSR1", /* 30 */
- "SIGUSR2", /* 31 */
+++ /dev/null
-/*
- * Automatically generated by ./../syscalls.pl on Thu Mar 8 18:14:07 2001
- */
-
-#define sys_syscall printargs
-int sys_exit();
-int sys_fork();
-int sys_read();
-int sys_write();
-int sys_open();
-int sys_close();
-int sys_wait4();
-int sys_creat();
-int sys_link();
-int sys_unlink();
-int sys_chdir();
-int sys_fchdir();
-int sys_mknod();
-int sys_chmod();
-int sys_chown();
-#define sys_break printargs
-#define sys_getfsstat printargs
-int sys_lseek();
-int sys_getpid();
-#define sys_mount printargs
-#define sys_unmount printargs
-#define sys_setuid printargs
-int sys_getuid();
-#define sys_geteuid printargs
-int sys_ptrace();
-int sys_recvmsg();
-int sys_sendmsg();
-int sys_recvfrom();
-int sys_accept();
-int sys_getpeername();
-int sys_getsockname();
-int sys_access();
-int sys_chflags();
-int sys_fchflags();
-#define sys_sync printargs
-int sys_kill();
-int sys_stat();
-#define sys_getppid printargs
-int sys_lstat();
-int sys_dup();
-int sys_pipe();
-#define sys_getegid printargs
-#define sys_profil printargs
-#define sys_ktrace printargs
-int sys_sigaction();
-int sys_getgid();
-int sys_sigprocmask();
-#define sys_getlogin printargs
-#define sys_setlogin printargs
-#define sys_acct printargs
-int sys_sigpending();
-int sys_sigaltstack();
-int sys_ioctl();
-#define sys_reboot printargs
-#define sys_revoke printargs
-int sys_symlink();
-int sys_readlink();
-int sys_execve();
-int sys_umask();
-int sys_chroot();
-int sys_fstat();
-#define sys_getkerninfo printargs
-int sys_getpagesize();
-int sys_msync();
-int sys_vfork();
-int sys_sbrk();
-#define sys_sstk printargs
-int sys_mmap();
-#define sys_vadvise printargs
-int sys_munmap();
-int sys_mprotect();
-#define sys_madvise printargs
-int sys_mincore();
-int sys_getgroups();
-int sys_setgroups();
-int sys_getpgrp();
-int sys_setpgid();
-int sys_setitimer();
-int sys_wait();
-#define sys_swapon printargs
-int sys_getitimer();
-int sys_gethostname();
-int sys_sethostname();
-int sys_getdtablesize();
-int sys_dup2();
-int sys_fcntl();
-int sys_select();
-int sys_fsync();
-int sys_setpriority();
-int sys_socket();
-int sys_connect();
-int sys_accept();
-int sys_getpriority();
-int sys_send();
-int sys_recv();
-#define sys_sigreturn printargs
-int sys_bind();
-int sys_setsockopt();
-int sys_listen();
-int sys_sigvec();
-int sys_sigblock();
-int sys_sigsetmask();
-int sys_sigsuspend();
-int sys_sigstack();
-int sys_recvmsg();
-int sys_sendmsg();
-int sys_gettimeofday();
-int sys_getrusage();
-int sys_getsockopt();
-int sys_readv();
-int sys_writev();
-int sys_settimeofday();
-int sys_fchown();
-int sys_fchmod();
-int sys_recvfrom();
-int sys_setreuid();
-int sys_setregid();
-int sys_rename();
-int sys_truncate();
-int sys_ftruncate();
-int sys_flock();
-int sys_mkfifo();
-int sys_sendto();
-int sys_shutdown();
-int sys_socketpair();
-int sys_mkdir();
-int sys_rmdir();
-int sys_utimes();
-int sys_adjtime();
-int sys_getpeername();
-int sys_gethostid();
-#define sys_sethostid printargs
-int sys_getrlimit();
-int sys_setrlimit();
-int sys_killpg();
-int sys_setsid();
-int sys_quotactl();
-#define sys_quota printargs
-int sys_getsockname();
-#define sys_nfssvc printargs
-int sys_getdirentries();
-int sys_statfs();
-int sys_fstatfs();
-#define sys_getfh printargs
-int sys_getdomainname();
-int sys_setdomainname();
-int sys_uname();
-#define sys_sysarch printargs
-#define sys_rtprio printargs
-#define sys_semsys printargs
-#define sys_msgsys printargs
-#define sys_shmsys printargs
-int sys_pread();
-int sys_pwrite();
-#define sys_ntp_adjtime printargs
-#define sys_setgid printargs
-#define sys_setegid printargs
-#define sys_seteuid printargs
-int sys_stat();
-int sys_fstat();
-int sys_lstat();
-int sys_pathconf();
-int sys_fpathconf();
-int sys_getrlimit();
-int sys_setrlimit();
-int sys_getdirentries();
-int sys_mmap();
-#define sys___syscall printargs
-int sys_lseek();
-int sys_truncate();
-int sys_ftruncate();
-int sys___sysctl();
-#define sys_mlock printargs
-#define sys_munlock printargs
-#define sys_undelete printargs
-#define sys_futimes printargs
-int sys_getpgid();
-int sys_poll();
-#define sys___semctl printargs
-int sys_semget();
-int sys_semop();
-int sys_msgctl();
-int sys_msgget();
-int sys_msgsnd();
-int sys_msgrcv();
-int sys_shmat();
-int sys_shmctl();
-int sys_shmdt();
-int sys_shmget();
-#define sys_clock_gettime printargs
-#define sys_clock_settime printargs
-#define sys_clock_getres printargs
-#define sys_nanosleep printargs
-#define sys_minherit printargs
-#define sys_rfork printargs
-#define sys_openbsd_poll printargs
-#define sys_issetugid printargs
-#define sys_lchown printargs
-int sys_getdents();
-#define sys_lchmod printargs
-#define sys_netbsd_lchown printargs
-#define sys_lutimes printargs
-#define sys_netbsd_msync printargs
-#define sys_nstat printargs
-#define sys_nfstat printargs
-#define sys_nlstat printargs
-#define sys_fhstatfs printargs
-#define sys_fhopen printargs
-#define sys_fhstat printargs
-#define sys_modnext printargs
-#define sys_modstat printargs
-#define sys_modfnext printargs
-#define sys_modfind printargs
-#define sys_kldload printargs
-#define sys_kldunload printargs
-#define sys_kldfind printargs
-#define sys_kldnext printargs
-#define sys_kldstat printargs
-#define sys_kldfirstmod printargs
-int sys_getsid();
-int sys_setresuid();
-int sys_setresgid();
-#define sys_aio_return printargs
-#define sys_aio_suspend printargs
-#define sys_aio_cancel printargs
-#define sys_aio_error printargs
-#define sys_aio_read printargs
-#define sys_aio_write printargs
-#define sys_lio_listio printargs
-#define sys_yield printargs
-#define sys_thr_sleep printargs
-#define sys_thr_wakeup printargs
-#define sys_mlockall printargs
-#define sys_munlockall printargs
-int sys___getcwd();
-#define sys_sched_setparam printargs
-#define sys_sched_getparam printargs
-#define sys_sched_setscheduler printargs
-#define sys_sched_getscheduler printargs
-#define sys_sched_yield printargs
-#define sys_sched_get_priority_max printargs
-#define sys_sched_get_priority_min printargs
-#define sys_sched_rr_get_interval printargs
-#define sys_utrace printargs
-int sys_sendfile();
-#define sys_kldsym printargs
-#define sys_jail printargs
-int sys_sigprocmask();
-int sys_sigsuspend();
-int sys_sigaction();
-int sys_sigpending();
-#define sys_sigreturn printargs
-#define sys___acl_get_file printargs
-#define sys___acl_set_file printargs
-#define sys___acl_get_fd printargs
-#define sys___acl_set_fd printargs
-#define sys___acl_delete_file printargs
-#define sys___acl_delete_fd printargs
-#define sys___acl_aclcheck_file printargs
-#define sys___acl_aclcheck_fd printargs
-#define sys_extattrctl printargs
-#define sys_extattr_set_file printargs
-#define sys_extattr_get_file printargs
-#define sys_extattr_delete_file printargs
-#define sys_aio_waitcomplete printargs
-#define sys_getresuid printargs
-#define sys_getresgid printargs
-#define sys_kqueue printargs
-#define sys_kevent printargs
+++ /dev/null
-/*
- * Automatically generated by ./../syscalls.pl on Thu Mar 8 18:14:07 2001
- */
-
- { 1, 0, sys_syscall, "syscall" }, /* 0 */
- { 1, 0, sys_exit, "exit" }, /* 1 */
- { 1, TP, sys_fork, "fork" }, /* 2 */
- { 3, TD, sys_read, "read" }, /* 3 */
- { 3, TD, sys_write, "write" }, /* 4 */
- { 3, TD|TF, sys_open, "open" }, /* 5 */
- { 1, TF, sys_close, "close" }, /* 6 */
- { 4, TP, sys_wait4, "wait4" }, /* 7 */
- { 2, TD|TF, sys_creat, "creat?" }, /* 8 */
- { 2, TF, sys_link, "link" }, /* 9 */
- { 1, TF, sys_unlink, "unlink" }, /* 10 */
- { MA, 0, printargs, "SYS_11" }, /* 11 */
- { 1, TF, sys_chdir, "chdir" }, /* 12 */
- { 1, TF, sys_fchdir, "fchdir" }, /* 13 */
- { 3, TF, sys_mknod, "mknod" }, /* 14 */
- { 2, TF, sys_chmod, "chmod" }, /* 15 */
- { 3, TF, sys_chown, "chown" }, /* 16 */
- { 1, 0, sys_break, "break" }, /* 17 */
- { 3, 0, sys_getfsstat, "getfsstat" }, /* 18 */
- { 3, TD, sys_lseek, "lseek?" }, /* 19 */
- { 1, 0, sys_getpid, "getpid" }, /* 20 */
- { 4, TF, sys_mount, "mount" }, /* 21 */
- { 2, TF, sys_unmount, "unmount" }, /* 22 */
- { 1, 0, sys_setuid, "setuid" }, /* 23 */
- { 1, 0, sys_getuid, "getuid" }, /* 24 */
- { 1, 0, sys_geteuid, "geteuid" }, /* 25 */
- { 4, 0, sys_ptrace, "ptrace" }, /* 26 */
- { 3, TN, sys_recvmsg, "recvmsg" }, /* 27 */
- { 3, TN, sys_sendmsg, "sendmsg" }, /* 28 */
- { 6, TN, sys_recvfrom, "recvfrom" }, /* 29 */
- { 3, TN, sys_accept, "accept" }, /* 30 */
- { 3, TN, sys_getpeername, "getpeername" }, /* 31 */
- { 3, TN, sys_getsockname, "getsockname" }, /* 32 */
- { 2, TF, sys_access, "access" }, /* 33 */
- { 2, TF, sys_chflags, "chflags" }, /* 34 */
- { 2, TF, sys_fchflags, "fchflags" }, /* 35 */
- { 1, 0, sys_sync, "sync" }, /* 36 */
- { 2, TS, sys_kill, "kill" }, /* 37 */
- { 2, TF, sys_stat, "stat?" }, /* 38 */
- { 1, 0, sys_getppid, "getppid" }, /* 39 */
- { 2, TF, sys_lstat, "lstat?" }, /* 40 */
- { 1, TD, sys_dup, "dup" }, /* 41 */
- { 1, TD, sys_pipe, "pipe" }, /* 42 */
- { 1, 0, sys_getegid, "getegid" }, /* 43 */
- { 4, 0, sys_profil, "profil" }, /* 44 */
- { 4, 0, sys_ktrace, "ktrace" }, /* 45 */
- { 3, TS, sys_sigaction, "sigaction?" }, /* 46 */
- { 1, 0, sys_getgid, "getgid" }, /* 47 */
- { 2, TS, sys_sigprocmask, "sigprocmask?" }, /* 48 */
- { 2, 0, sys_getlogin, "getlogin" }, /* 49 */
- { 1, 0, sys_setlogin, "setlogin" }, /* 50 */
- { 1, TF, sys_acct, "acct" }, /* 51 */
- { 1, TS, sys_sigpending, "sigpending?" }, /* 52 */
- { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 53 */
- { 3, TD, sys_ioctl, "ioctl" }, /* 54 */
- { 1, 0, sys_reboot, "reboot" }, /* 55 */
- { 1, 0, sys_revoke, "revoke" }, /* 56 */
- { 2, TF, sys_symlink, "symlink" }, /* 57 */
- { 3, TF, sys_readlink, "readlink" }, /* 58 */
- { 3, TF|TP, sys_execve, "execve" }, /* 59 */
- { 1, 0, sys_umask, "umask" }, /* 60 */
- { 1, TF, sys_chroot, "chroot" }, /* 61 */
- { 2, TD, sys_fstat, "fstat?" }, /* 62 */
- { 4, 0, sys_getkerninfo, "getkerninfo?" }, /* 63 */
- { 1, 0, sys_getpagesize, "getpagesize?" }, /* 64 */
- { 3, 0, sys_msync, "msync" }, /* 65 */
- { 1, TP, sys_vfork, "vfork" }, /* 66 */
- { MA, 0, printargs, "SYS_67" }, /* 67 */
- { MA, 0, printargs, "SYS_68" }, /* 68 */
- { 1, 0, sys_sbrk, "sbrk" }, /* 69 */
- { 1, 0, sys_sstk, "sstk" }, /* 70 */
- { 6, 0, sys_mmap, "mmap?" }, /* 71 */
- { 1, 0, sys_vadvise, "vadvise" }, /* 72 */
- { 2, 0, sys_munmap, "munmap" }, /* 73 */
- { 3, 0, sys_mprotect, "mprotect" }, /* 74 */
- { 3, 0, sys_madvise, "madvise" }, /* 75 */
- { MA, 0, printargs, "SYS_76" }, /* 76 */
- { MA, 0, printargs, "SYS_77" }, /* 77 */
- { 3, 0, sys_mincore, "mincore" }, /* 78 */
- { 2, 0, sys_getgroups, "getgroups" }, /* 79 */
- { 2, 0, sys_setgroups, "setgroups" }, /* 80 */
- { 1, 0, sys_getpgrp, "getpgrp" }, /* 81 */
- { 2, 0, sys_setpgid, "setpgid" }, /* 82 */
- { 3, 0, sys_setitimer, "setitimer" }, /* 83 */
- { 1, TP, sys_wait, "wait?" }, /* 84 */
- { 1, TF, sys_swapon, "swapon" }, /* 85 */
- { 2, 0, sys_getitimer, "getitimer" }, /* 86 */
- { 2, 0, sys_gethostname, "gethostname?" }, /* 87 */
- { 2, 0, sys_sethostname, "sethostname?" }, /* 88 */
- { 1, 0, sys_getdtablesize, "getdtablesize" }, /* 89 */
- { 2, TD, sys_dup2, "dup2" }, /* 90 */
- { MA, 0, printargs, "SYS_91" }, /* 91 */
- { 3, TD, sys_fcntl, "fcntl" }, /* 92 */
- { 5, TD, sys_select, "select" }, /* 93 */
- { MA, 0, printargs, "SYS_94" }, /* 94 */
- { 1, TD, sys_fsync, "fsync" }, /* 95 */
- { 3, 0, sys_setpriority, "setpriority" }, /* 96 */
- { 3, TN, sys_socket, "socket" }, /* 97 */
- { 3, TN, sys_connect, "connect" }, /* 98 */
- { 3, TN, sys_accept, "accept" }, /* 99 */
- { 2, 0, sys_getpriority, "getpriority" }, /* 100 */
- { 4, TN, sys_send, "send?" }, /* 101 */
- { 4, TN, sys_recv, "recv?" }, /* 102 */
- { 1, TS, sys_sigreturn, "sigreturn?" }, /* 103 */
- { 3, TN, sys_bind, "bind" }, /* 104 */
- { 5, TN, sys_setsockopt, "setsockopt" }, /* 105 */
- { 2, TN, sys_listen, "listen" }, /* 106 */
- { MA, 0, printargs, "SYS_107" }, /* 107 */
- { 3, TS, sys_sigvec, "sigvec?" }, /* 108 */
- { 1, TS, sys_sigblock, "sigblock?" }, /* 109 */
- { 1, TS, sys_sigsetmask, "sigsetmask?" }, /* 110 */
- { 1, TS, sys_sigsuspend, "sigsuspend?" }, /* 111 */
- { 2, TS, sys_sigstack, "sigstack?" }, /* 112 */
- { 3, TN, sys_recvmsg, "recvmsg?" }, /* 113 */
- { 3, TN, sys_sendmsg, "sendmsg?" }, /* 114 */
- { MA, 0, printargs, "SYS_115" }, /* 115 */
- { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 116 */
- { 2, 0, sys_getrusage, "getrusage" }, /* 117 */
- { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */
- { MA, 0, printargs, "SYS_119" }, /* 119 */
- { 3, TD, sys_readv, "readv" }, /* 120 */
- { 3, TD, sys_writev, "writev" }, /* 121 */
- { 2, 0, sys_settimeofday, "settimeofday" }, /* 122 */
- { 3, TD, sys_fchown, "fchown" }, /* 123 */
- { 2, TD, sys_fchmod, "fchmod" }, /* 124 */
- { 6, TN, sys_recvfrom, "recvfrom" }, /* 125 */
- { 2, 0, sys_setreuid, "setreuid" }, /* 126 */
- { 2, 0, sys_setregid, "setregid" }, /* 127 */
- { 2, TF, sys_rename, "rename" }, /* 128 */
- { 2, TF, sys_truncate, "truncate?" }, /* 129 */
- { 2, TD, sys_ftruncate, "ftruncate?" }, /* 130 */
- { 2, TD, sys_flock, "flock" }, /* 131 */
- { 2, 0, sys_mkfifo, "mkfifo" }, /* 132 */
- { 6, TN, sys_sendto, "sendto" }, /* 133 */
- { 2, TN, sys_shutdown, "shutdown" }, /* 134 */
- { 4, TN, sys_socketpair, "socketpair" }, /* 135 */
- { 2, TF, sys_mkdir, "mkdir" }, /* 136 */
- { 1, TF, sys_rmdir, "rmdir" }, /* 137 */
- { 2, TF, sys_utimes, "utimes" }, /* 138 */
- { MA, 0, printargs, "SYS_139" }, /* 139 */
- { 2, 0, sys_adjtime, "adjtime" }, /* 140 */
- { 3, TN, sys_getpeername, "getpeername?" }, /* 141 */
- { 1, 0, sys_gethostid, "gethostid?" }, /* 142 */
- { 1, 0, sys_sethostid, "sethostid?" }, /* 143 */
- { 2, 0, sys_getrlimit, "getrlimit?" }, /* 144 */
- { 2, 0, sys_setrlimit, "setrlimit?" }, /* 145 */
- { 2, TS, sys_killpg, "killpg?" }, /* 146 */
- { 1, 0, sys_setsid, "setsid" }, /* 147 */
- { 4, 0, sys_quotactl, "quotactl" }, /* 148 */
- { 1, 0, sys_quota, "quota?" }, /* 149 */
- { 3, TN, sys_getsockname, "getsockname" }, /* 150 */
- { MA, 0, printargs, "SYS_151" }, /* 151 */
- { MA, 0, printargs, "SYS_152" }, /* 152 */
- { MA, 0, printargs, "SYS_153" }, /* 153 */
- { MA, 0, printargs, "SYS_154" }, /* 154 */
- { 2, 0, sys_nfssvc, "nfssvc" }, /* 155 */
- { 4, 0, sys_getdirentries, "getdirentries?" }, /* 156 */
- { 2, TF, sys_statfs, "statfs" }, /* 157 */
- { 2, TD, sys_fstatfs, "fstatfs" }, /* 158 */
- { MA, 0, printargs, "SYS_159" }, /* 159 */
- { MA, 0, printargs, "SYS_160" }, /* 160 */
- { 2, 0, sys_getfh, "getfh" }, /* 161 */
- { 2, 0, sys_getdomainname, "getdomainname" }, /* 162 */
- { 2, 0, sys_setdomainname, "setdomainname" }, /* 163 */
- { 1, 0, sys_uname, "uname" }, /* 164 */
- { 2, 0, sys_sysarch, "sysarch" }, /* 165 */
- { 3, 0, sys_rtprio, "rtprio" }, /* 166 */
- { MA, 0, printargs, "SYS_167" }, /* 167 */
- { MA, 0, printargs, "SYS_168" }, /* 168 */
- { 5, TI, sys_semsys, "semsys" }, /* 169 */
- { 6, TI, sys_msgsys, "msgsys" }, /* 170 */
- { 4, TI, sys_shmsys, "shmsys" }, /* 171 */
- { MA, 0, printargs, "SYS_172" }, /* 172 */
- { 5, TD, sys_pread, "pread" }, /* 173 */
- { 5, TD, sys_pwrite, "pwrite" }, /* 174 */
- { MA, 0, printargs, "SYS_175" }, /* 175 */
- { 1, 0, sys_ntp_adjtime, "ntp_adjtime" }, /* 176 */
- { MA, 0, printargs, "SYS_177" }, /* 177 */
- { MA, 0, printargs, "SYS_178" }, /* 178 */
- { MA, 0, printargs, "SYS_179" }, /* 179 */
- { MA, 0, printargs, "SYS_180" }, /* 180 */
- { 1, 0, sys_setgid, "setgid" }, /* 181 */
- { 1, 0, sys_setegid, "setegid" }, /* 182 */
- { 1, 0, sys_seteuid, "seteuid" }, /* 183 */
- { MA, 0, printargs, "SYS_184" }, /* 184 */
- { MA, 0, printargs, "SYS_185" }, /* 185 */
- { MA, 0, printargs, "SYS_186" }, /* 186 */
- { MA, 0, printargs, "SYS_187" }, /* 187 */
- { 2, TF, sys_stat, "stat" }, /* 188 */
- { 2, TD, sys_fstat, "fstat" }, /* 189 */
- { 2, TF, sys_lstat, "lstat" }, /* 190 */
- { 2, TF, sys_pathconf, "pathconf" }, /* 191 */
- { 2, 0, sys_fpathconf, "fpathconf" }, /* 192 */
- { MA, 0, printargs, "SYS_193" }, /* 193 */
- { 2, 0, sys_getrlimit, "getrlimit" }, /* 194 */
- { 2, 0, sys_setrlimit, "setrlimit" }, /* 195 */
- { 4, 0, sys_getdirentries, "getdirentries" }, /* 196 */
- { 7, 0, sys_mmap, "mmap" }, /* 197 */
- { 1, 0, sys___syscall, "__syscall" }, /* 198 */
- { 4, TD, sys_lseek, "lseek" }, /* 199 */
- { 3, TF, sys_truncate, "truncate" }, /* 200 */
- { 3, TD, sys_ftruncate, "ftruncate" }, /* 201 */
- { 6, 0, sys___sysctl, "__sysctl" }, /* 202 */
- { 2, 0, sys_mlock, "mlock" }, /* 203 */
- { 2, 0, sys_munlock, "munlock" }, /* 204 */
- { 1, 0, sys_undelete, "undelete" }, /* 205 */
- { 2, 0, sys_futimes, "futimes" }, /* 206 */
- { 1, 0, sys_getpgid, "getpgid" }, /* 207 */
- { MA, 0, printargs, "SYS_208" }, /* 208 */
- { 3, TN, sys_poll, "poll" }, /* 209 */
- { MA, 0, printargs, "SYS_210" }, /* 210 */
- { MA, 0, printargs, "SYS_211" }, /* 211 */
- { MA, 0, printargs, "SYS_212" }, /* 212 */
- { MA, 0, printargs, "SYS_213" }, /* 213 */
- { MA, 0, printargs, "SYS_214" }, /* 214 */
- { MA, 0, printargs, "SYS_215" }, /* 215 */
- { MA, 0, printargs, "SYS_216" }, /* 216 */
- { MA, 0, printargs, "SYS_217" }, /* 217 */
- { MA, 0, printargs, "SYS_218" }, /* 218 */
- { MA, 0, printargs, "SYS_219" }, /* 219 */
- { 4, 0, sys___semctl, "__semctl" }, /* 220 */
- { 3, TI, sys_semget, "semget" }, /* 221 */
- { 3, TI, sys_semop, "semop" }, /* 222 */
- { MA, 0, printargs, "SYS_223" }, /* 223 */
- { 3, TI, sys_msgctl, "msgctl" }, /* 224 */
- { 2, TI, sys_msgget, "msgget" }, /* 225 */
- { 4, TI, sys_msgsnd, "msgsnd" }, /* 226 */
- { 5, TI, sys_msgrcv, "msgrcv" }, /* 227 */
- { 3, TI, sys_shmat, "shmat" }, /* 228 */
- { 3, TI, sys_shmctl, "shmctl" }, /* 229 */
- { 1, TI, sys_shmdt, "shmdt" }, /* 230 */
- { 3, TI, sys_shmget, "shmget" }, /* 231 */
- { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 232 */
- { 2, 0, sys_clock_settime, "clock_settime" }, /* 233 */
- { 2, 0, sys_clock_getres, "clock_getres" }, /* 234 */
- { MA, 0, printargs, "SYS_235" }, /* 235 */
- { MA, 0, printargs, "SYS_236" }, /* 236 */
- { MA, 0, printargs, "SYS_237" }, /* 237 */
- { MA, 0, printargs, "SYS_238" }, /* 238 */
- { MA, 0, printargs, "SYS_239" }, /* 239 */
- { 2, 0, sys_nanosleep, "nanosleep" }, /* 240 */
- { MA, 0, printargs, "SYS_241" }, /* 241 */
- { MA, 0, printargs, "SYS_242" }, /* 242 */
- { MA, 0, printargs, "SYS_243" }, /* 243 */
- { MA, 0, printargs, "SYS_244" }, /* 244 */
- { MA, 0, printargs, "SYS_245" }, /* 245 */
- { MA, 0, printargs, "SYS_246" }, /* 246 */
- { MA, 0, printargs, "SYS_247" }, /* 247 */
- { MA, 0, printargs, "SYS_248" }, /* 248 */
- { MA, 0, printargs, "SYS_249" }, /* 249 */
- { 3, 0, sys_minherit, "minherit" }, /* 250 */
- { 1, 0, sys_rfork, "rfork" }, /* 251 */
- { 3, 0, sys_openbsd_poll, "openbsd_poll" }, /* 252 */
- { 1, 0, sys_issetugid, "issetugid" }, /* 253 */
- { 3, TF, sys_lchown, "lchown" }, /* 254 */
- { MA, 0, printargs, "SYS_255" }, /* 255 */
- { MA, 0, printargs, "SYS_256" }, /* 256 */
- { MA, 0, printargs, "SYS_257" }, /* 257 */
- { MA, 0, printargs, "SYS_258" }, /* 258 */
- { MA, 0, printargs, "SYS_259" }, /* 259 */
- { MA, 0, printargs, "SYS_260" }, /* 260 */
- { MA, 0, printargs, "SYS_261" }, /* 261 */
- { MA, 0, printargs, "SYS_262" }, /* 262 */
- { MA, 0, printargs, "SYS_263" }, /* 263 */
- { MA, 0, printargs, "SYS_264" }, /* 264 */
- { MA, 0, printargs, "SYS_265" }, /* 265 */
- { MA, 0, printargs, "SYS_266" }, /* 266 */
- { MA, 0, printargs, "SYS_267" }, /* 267 */
- { MA, 0, printargs, "SYS_268" }, /* 268 */
- { MA, 0, printargs, "SYS_269" }, /* 269 */
- { MA, 0, printargs, "SYS_270" }, /* 270 */
- { MA, 0, printargs, "SYS_271" }, /* 271 */
- { 3, TD, sys_getdents, "getdents" }, /* 272 */
- { MA, 0, printargs, "SYS_273" }, /* 273 */
- { 2, 0, sys_lchmod, "lchmod" }, /* 274 */
- { 3, 0, sys_netbsd_lchown, "netbsd_lchown" }, /* 275 */
- { 2, 0, sys_lutimes, "lutimes" }, /* 276 */
- { 3, 0, sys_netbsd_msync, "netbsd_msync" }, /* 277 */
- { 2, 0, sys_nstat, "nstat" }, /* 278 */
- { 2, 0, sys_nfstat, "nfstat" }, /* 279 */
- { 2, 0, sys_nlstat, "nlstat" }, /* 280 */
- { MA, 0, printargs, "SYS_281" }, /* 281 */
- { MA, 0, printargs, "SYS_282" }, /* 282 */
- { MA, 0, printargs, "SYS_283" }, /* 283 */
- { MA, 0, printargs, "SYS_284" }, /* 284 */
- { MA, 0, printargs, "SYS_285" }, /* 285 */
- { MA, 0, printargs, "SYS_286" }, /* 286 */
- { MA, 0, printargs, "SYS_287" }, /* 287 */
- { MA, 0, printargs, "SYS_288" }, /* 288 */
- { MA, 0, printargs, "SYS_289" }, /* 289 */
- { MA, 0, printargs, "SYS_290" }, /* 290 */
- { MA, 0, printargs, "SYS_291" }, /* 291 */
- { MA, 0, printargs, "SYS_292" }, /* 292 */
- { MA, 0, printargs, "SYS_293" }, /* 293 */
- { MA, 0, printargs, "SYS_294" }, /* 294 */
- { MA, 0, printargs, "SYS_295" }, /* 295 */
- { MA, 0, printargs, "SYS_296" }, /* 296 */
- { 2, 0, sys_fhstatfs, "fhstatfs" }, /* 297 */
- { 2, 0, sys_fhopen, "fhopen" }, /* 298 */
- { 2, 0, sys_fhstat, "fhstat" }, /* 299 */
- { 1, 0, sys_modnext, "modnext" }, /* 300 */
- { 2, 0, sys_modstat, "modstat" }, /* 301 */
- { 1, 0, sys_modfnext, "modfnext" }, /* 302 */
- { 1, 0, sys_modfind, "modfind" }, /* 303 */
- { 1, 0, sys_kldload, "kldload" }, /* 304 */
- { 1, 0, sys_kldunload, "kldunload" }, /* 305 */
- { 1, 0, sys_kldfind, "kldfind" }, /* 306 */
- { 1, 0, sys_kldnext, "kldnext" }, /* 307 */
- { 2, 0, sys_kldstat, "kldstat" }, /* 308 */
- { 1, 0, sys_kldfirstmod, "kldfirstmod" }, /* 309 */
- { 1, 0, sys_getsid, "getsid" }, /* 310 */
- { 3, 0, sys_setresuid, "setresuid" }, /* 311 */
- { 3, 0, sys_setresgid, "setresgid" }, /* 312 */
- { MA, 0, printargs, "SYS_313" }, /* 313 */
- { 1, 0, sys_aio_return, "aio_return" }, /* 314 */
- { 3, 0, sys_aio_suspend, "aio_suspend" }, /* 315 */
- { 2, 0, sys_aio_cancel, "aio_cancel" }, /* 316 */
- { 1, 0, sys_aio_error, "aio_error" }, /* 317 */
- { 1, 0, sys_aio_read, "aio_read" }, /* 318 */
- { 1, 0, sys_aio_write, "aio_write" }, /* 319 */
- { 4, 0, sys_lio_listio, "lio_listio" }, /* 320 */
- { 1, 0, sys_yield, "yield" }, /* 321 */
- { 1, 0, sys_thr_sleep, "thr_sleep" }, /* 322 */
- { 1, 0, sys_thr_wakeup, "thr_wakeup" }, /* 323 */
- { 1, 0, sys_mlockall, "mlockall" }, /* 324 */
- { 1, 0, sys_munlockall, "munlockall" }, /* 325 */
- { 2, 0, sys___getcwd, "__getcwd" }, /* 326 */
- { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 327 */
- { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 328 */
- { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 329 */
- { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 330 */
- { 1, 0, sys_sched_yield, "sched_yield" }, /* 331 */
- { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max" }, /* 332 */
- { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 333 */
- { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 334 */
- { 2, 0, sys_utrace, "utrace" }, /* 335 */
- { 8, TD|TN, sys_sendfile, "sendfile" }, /* 336 */
- { 3, 0, sys_kldsym, "kldsym" }, /* 337 */
- { 1, 0, sys_jail, "jail" }, /* 338 */
- { MA, 0, printargs, "SYS_339" }, /* 339 */
- { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 340 */
- { 1, TS, sys_sigsuspend, "sigsuspend" }, /* 341 */
- { 3, TS, sys_sigaction, "sigaction" }, /* 342 */
- { 1, TS, sys_sigpending, "sigpending" }, /* 343 */
- { 1, TS, sys_sigreturn, "sigreturn" }, /* 344 */
- { MA, 0, printargs, "SYS_345" }, /* 345 */
- { MA, 0, printargs, "SYS_346" }, /* 346 */
- { 3, 0, sys___acl_get_file, "__acl_get_file" }, /* 347 */
- { 3, 0, sys___acl_set_file, "__acl_set_file" }, /* 348 */
- { 3, 0, sys___acl_get_fd, "__acl_get_fd" }, /* 349 */
- { 3, 0, sys___acl_set_fd, "__acl_set_fd" }, /* 350 */
- { 2, 0, sys___acl_delete_file, "__acl_delete_file" }, /* 351 */
- { 2, 0, sys___acl_delete_fd, "__acl_delete_fd" }, /* 352 */
- { 3, 0, sys___acl_aclcheck_file, "__acl_aclcheck_file" }, /* 353 */
- { 3, 0, sys___acl_aclcheck_fd, "__acl_aclcheck_fd" }, /* 354 */
- { 4, 0, sys_extattrctl, "extattrctl" }, /* 355 */
- { 4, 0, sys_extattr_set_file, "extattr_set_file" }, /* 356 */
- { 4, 0, sys_extattr_get_file, "extattr_get_file" }, /* 357 */
- { 2, 0, sys_extattr_delete_file, "extattr_delete_file" }, /* 358 */
- { 2, 0, sys_aio_waitcomplete, "aio_waitcomplete" }, /* 359 */
- { 3, 0, sys_getresuid, "getresuid" }, /* 360 */
- { 3, 0, sys_getresgid, "getresgid" }, /* 361 */
- { 1, 0, sys_kqueue, "kqueue" }, /* 362 */
- { 6, 0, sys_kevent, "kevent" }, /* 363 */
+++ /dev/null
-#!/bin/sh
-
-# initialy from $FreeBSD: src/usr.bin/kdump/mkioctls,v 1.18 2000/08/02 07:37:44 ru Exp $
-# changed by Gaƫl Roualland.
-
-# Validate arg count.
-if [ $# -ne 1 ]
-then
- echo "usage: $0 include-directory" >&2
- exit 1
-fi
-
-# build a list of files with ioctls
-ioctl_includes=`
- cd $1
- find * -name '*.h' -follow |
- egrep -v '^(netns)/' |
- xargs egrep -l \
-'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]'`
-
-# Generate the output file.
-echo '/* This file is automatically generated by ioctlent.sh */'
-echo
-echo '/* XXX obnoxious prerequisites. */'
-echo '#define COMPAT_43'
-echo
-echo '#include <sys/types.h>'
-echo '#include <sys/param.h>'
-echo '#include <sys/devicestat.h>'
-echo '#include <sys/disklabel.h>'
-echo '#include <sys/socket.h>'
-echo '#include <sys/time.h>'
-echo '#include <sys/tty.h>'
-echo '#include <net/ethernet.h>'
-echo '#include <net/if.h>'
-echo '#include <net/if_var.h>'
-echo '#include <net/route.h>'
-echo '#include <netatm/atm.h>'
-echo '#include <netatm/atm_if.h>'
-echo '#include <netatm/atm_sap.h>'
-echo '#include <netatm/atm_sys.h>'
-echo '#include <netinet/in.h>'
-echo '#include <netinet/ip_compat.h>'
-echo '#include <netinet/ip_fil.h>'
-echo '#include <netinet/ip_auth.h>'
-echo '#include <netinet/ip_nat.h>'
-echo '#include <netinet/ip_frag.h>'
-echo '#include <netinet/ip_state.h>'
-echo '#include <netinet/ip_mroute.h>'
-echo '#include <netinet6/in6_var.h>'
-echo '#include <netinet6/nd6.h>'
-echo '#include <netinet6/ip6_mroute.h>'
-echo '#include <cam/cam.h>'
-echo '#include <stdio.h>'
-echo
-echo "$ioctl_includes" | sed -e 's/^/#include </' -e s'/$/>/'
-echo
-echo 'struct ioctlent ioctlent [] ='
-echo '{'
-(cd $1 && for i in $ioctl_includes ; do echo "#include <$i>" | gcc -I$1 -E -dM - | egrep '^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' | sed -n -e 's|^#[ ]*define[ ]*\([A-Za-z_][A-Za-z0-9_]*\).*| { "'$i'", "\1", \1 },|p' ; done )
-
-echo '};'
+++ /dev/null
-#
-# Copyright (c) 2000, Gaƫl Roualland <gael.roualland@iname.com>
-# All rights reserved.
-#
-# 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. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
-#
-# $Id$
-#
-# Syscalls categories
-# syntax: syscall catmask
-#
-# mostly built from other archs/os syscallent.h
-
-# file calls
-access TF
-acct TF
-acl TF
-chdir TF
-chmod TF
-chown TF
-chroot TF
-creat TF
-close TF
-chflags TF
-fstat64 TF
-fstat TF
-fchdir TF
-fchflags TF
-lchown TF
-link TF
-lstat TF
-lstat64 TF
-lxstat TF
-mkdir TF
-mknod TF
-mount TF
-oldlstat TF
-oldstat TF
-oldumount TF
-open TF
-outime TF
-pathconf TF
-pread TF
-pwrite TF
-readlink TF
-rename TF
-rmdir TF
-sendfile TF
-stat TF
-stat64 TF
-statfs TF
-statvfs TF
-swapon TF
-symlink TF
-truncate TF
-umount TF
-unlink TF
-unmount TF
-uselib TF
-utime TF
-utimes TF
-xmknod TF
-xstat TF
-
-# file/process calls
-exec TF|TP
-execv TF|TP
-execve TF|TP
-
-# IPC calls
-msgctl TI
-msgget TI
-msgrcv TI
-msgsnd TI
-msgsys TI
-semctl TI
-semget TI
-semop TI
-semsys TI
-shmat TI
-shmctl TI
-shmdt TI
-shmget TI
-shmsys TI
-
-# network calls
-accept TN
-bind TN
-connect TN
-getmsg TN
-getpeername TN
-getpmsg TN
-getsockname TN
-getsockopt TN
-listen TN
-poll TN
-putmsg TN
-putpmsg TN
-recv TN
-recvfrom TN
-recvmsg TN
-send TN
-sendmsg TN
-sendto TN
-setsockopt TN
-shutdown TN
-socket TN
-socketpair TN
-
-# process calls
-_exit TP
-clone TP
-fork TP
-fork1 TP
-owait TP
-owait3 TP
-vfork TP
-wait TP
-wait4 TP
-waitid TP
-waitpid TP
-waitsys TP
-
-# signal calls
-kill TS
-killpg TS
-ksigqueue TS
-pause TS
-rt_sigaction TS
-rt_sigpending TS
-rt_sigprocmask TS
-rt_sigqueueinfo TS
-rt_sigreturn TS
-rt_sigsuspend TS
-rt_sigtimedwait TS
-sigaction TS
-sigaltstack TS
-sigblock TS
-sigcleanup TS
-sigfillset TS
-siggetmask TS
-sighold TS
-sigignore TS
-signal TS
-sigpause TS
-sigpending TS
-sigpoll TS
-sigprocmask TS
-sigrelse TS
-sigreturn TS
-sigsendset TS
-sigset TS
-sigsetmask TS
-sigstack TS
-sigsuspend TS
-sigtimedwait TS
-sigvec TS
+++ /dev/null
-#!/usr/bin/perl -w
-#
-# Copyright (c) 2000, Gaƫl Roualland <gael.roualland@iname.com>
-# All rights reserved.
-#
-# 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. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
-#
-# $Id$
-#/
-
-# Buils syscall.h and syscallent.h from:
-# - syscalls.cat containing lines of format: syscall catmask
-# - syscalls.print containing lines of format: syscall [printfunction]
-# if no printfunction is provided, sys_<call> is used.
-# - syscalls.master in the FreeBSD kernel source tree (/usr/src/sys/kern)
-
-use strict;
-use POSIX;
-
-use vars qw(%sysprint %syscat);
-
-sub usage() {
- print STDERR
- "usage: $0 syscalls.master [<syscalls.print>] [<syscalls.cat>]\n";
- exit 1;
-}
-
-sub readprint ($) {
- my($fprint) = @_;
-
- open (PRINT, "< $fprint") || die "can't open $fprint: $!";
- while(<PRINT>) {
- chomp;
- s/^\s*//;
- s/\s+$//;
- s/#.*$//;
- my($sys, $func) = split(/\s+/);
- if (defined($sys)) {
- if (defined($func)) {
- $sysprint{$sys} = $func;
- } else {
- $sysprint{$sys} = "sys_$sys";
- }
- }
- }
- close(PRINT);
-}
-
-sub readcat ($) {
- my($fcat) = @_;
-
- open (CAT, "< $fcat") || die "can't open $fcat: $!";
- while(<CAT>) {
- chomp;
- s/^\s*//;
- s/\s+$//;
- s/#.*$//;
- my($sys, $cat) = split(/\s+/);
- $syscat{$sys} = $cat if (defined($sys) && defined($cat));
- }
- close(CAT);
-}
-
-
-usage if (!defined($ARGV[0]) || defined($ARGV[3]));
-
-%sysprint = ();
-readprint $ARGV[1] if defined $ARGV[1];
-
-%syscat = ();
-readcat $ARGV[2] if defined $ARGV[2];
-
-open(MASTER, "< $ARGV[0]") || die "can't open $ARGV[0]: $!";
-
-open(SYSCALL, "> syscall.h") || die "can't create syscall.h: $!";
-
-print SYSCALL "/*\n * Automatically generated by $0 on " . ctime(time()) . " */\n\n";
-print "/*\n * Automatically generated by $0 on " . ctime(time()) . " */\n\n";
-
-my $sysnum = 0;
-
-while (<MASTER>) {
- chomp;
- # join broken lines
- while (/\\$/) {
- my $line;
- s/\\$//;
- $line = <MASTER>;
- chomp($line);
- $_ = "$_$line";
- }
-
- if (/^(\d+)\s+(?:MPSAFE\s+)?(\w+)\s+\w+\s+\{\s*([^}]+)\s*\}([^}]*)$/) {
- my($compat, $proto, $ext, $name, $nargs, @args, $pfunc, $cat);
-
- next if $2 eq 'OBSOL' || $2 eq 'UNIMPL';
-
- $compat = $2 eq 'COMPAT' ? '?' : "";
-
- $proto = $3;
- $ext = $4;
-
- if ($1 > $sysnum) { # syscall gap
- while($sysnum < $1) {
- print " { MA,\t0,\tprintargs,\t\"SYS_$sysnum\"\t}, /* $sysnum */\n";
- $sysnum++;
- }
- } elsif ($1 < $sysnum) {
- warn "error in master file: syscall $1 found, expecting $sysnum.";
- }
-
- if ($proto =~ /^[^\s]+\s+([^\s]+)\s*\(([^)]*)\);/) {
- my @args = split(/,/, $2);
- $nargs = @args;
- $name = $1;
- $name = $1 if ($ext =~ /^\s*([^\s]+)\s+[^\s]+\s+[^\s]+$/);
- if (defined($sysprint{$name})) {
- $pfunc = $sysprint{$name};
- print SYSCALL "int $pfunc();\n";
- } else {
- $pfunc = "sys_$name";
- print SYSCALL "#define $pfunc printargs\n";
- }
- if (defined($syscat{$name})) {
- $cat = $syscat{$name};
- } else {
- $cat = "0";
- }
- $name .= $compat;
- print " { $nargs,\t$cat,\t$pfunc,\t\"$name\"\t}, /* $sysnum */\n";
- $sysnum++;
- } else {
- warn "bad syscall specification for $sysnum: $proto";
- }
- }
-}
+++ /dev/null
-#
-# Copyright (c) 2000, Gaƫl Roualland <gael.roualland@iname.com>
-# All rights reserved.
-#
-# 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. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
-#
-# $Id$
-#
-# Printable syscalls
-# syntax: syscall [printfunc]
-#
-# mostly built from sys_* functions in source code
-
-__getcwd
-__sysctl
-accept
-access
-adjtime
-alarm
-bind
-brk
-capget
-capset
-chdir
-chflags
-chmod
-chown
-chroot
-close
-connect
-creat
-dup
-dup2
-errlist
-execv
-execve
-exit
-fchdir
-fchflags
-fchmod
-fchown
-fchroot
-fcntl
-flock
-fork
-fpathconf
-fstat
-fstatfs
-fsync
-ftruncate
-getdents
-getdirentries
-getdomainname
-getdtablesize
-getgid
-getgroups
-gethostid
-gethostname
-getitimer
-getpagesize
-getpeername
-getpgid
-getpgrp
-getpid
-getpriority
-getrlimit
-getrusage
-getsid
-getsockname
-getsockopt
-gettimeofday
-getuid
-indir
-ioctl
-kill
-killpg
-link
-listen
-lseek
-lstat
-mincore
-mkdir
-mkfifo
-mknod
-mmap
-mprotect
-msgctl
-msgget
-msgrcv
-msgsnd
-msync
-munmap
-nerr
-nice
-open
-pathconf
-pipe
-poll
-pread
-ptrace
-pwrite
-quotactl
-read
-readlink
-readv
-recv
-recvfrom
-recvmsg
-rename
-rmdir
-sbrk
-select
-semctl
-semget
-semop
-send
-sendfile
-sendmsg
-sendto
-setdomainname
-setgroups
-sethostname
-setitimer
-setpgid
-setpgrp
-setpriority
-setregid
-setresgid
-setresuid
-setreuid
-setrlimit
-setsid
-setsockopt
-settimeofday
-shmat
-shmctl
-shmdt
-shmget
-shutdown
-sigaction
-sigaltstack
-sigblock
-sigcleanup
-signal
-sigpause
-sigpending
-sigprocmask
-sigsetmask
-sigstack
-sigsuspend
-sigvec
-socket
-socketpair
-stat
-statfs
-stime
-symlink
-sysctl
-time
-times
-truncate
-umask
-uname
-unlink
-utime
-utimes
-vfork
-wait
-wait4
-waitpid
-write
-writev
-#include "../svr4/errnoent.h"
+ "ERRNO_0", /* 0 */
+ "EPERM", /* 1 */
+ "ENOENT", /* 2 */
+ "ESRCH", /* 3 */
+ "EINTR", /* 4 */
+ "EIO", /* 5 */
+ "ENXIO", /* 6 */
+ "E2BIG", /* 7 */
+ "ENOEXEC", /* 8 */
+ "EBADF", /* 9 */
+ "ECHILD", /* 10 */
+ "EAGAIN", /* 11 */
+ "ENOMEM", /* 12 */
+ "EACCES", /* 13 */
+ "EFAULT", /* 14 */
+ "ENOTBLK", /* 15 */
+ "EBUSY", /* 16 */
+ "EEXIST", /* 17 */
+ "EXDEV", /* 18 */
+ "ENODEV", /* 19 */
+ "ENOTDIR", /* 20 */
+ "EISDIR", /* 21 */
+ "EINVAL", /* 22 */
+ "ENFILE", /* 23 */
+ "EMFILE", /* 24 */
+ "ENOTTY", /* 25 */
+ "ETXTBSY", /* 26 */
+ "EFBIG", /* 27 */
+ "ENOSPC", /* 28 */
+ "ESPIPE", /* 29 */
+ "EROFS", /* 30 */
+ "EMLINK", /* 31 */
+ "EPIPE", /* 32 */
+ "EDOM", /* 33 */
+ "ERANGE", /* 34 */
+ "ENOMSG", /* 35 */
+ "EIDRM", /* 36 */
+ "ECHRNG", /* 37 */
+ "EL2NSYNC", /* 38 */
+ "EL3HLT", /* 39 */
+ "EL3RST", /* 40 */
+ "ELNRNG", /* 41 */
+ "EUNATCH", /* 42 */
+ "ENOCSI", /* 43 */
+ "EL2HLT", /* 44 */
+ "EDEADLK", /* 45 */
+ "ENOLCK", /* 46 */
+ "ECANCELED", /* 47 */
+ "ENOTSUP", /* 48 */
+ "ERRNO_49", /* 49 */
+ "EBADE", /* 50 */
+ "EBADR", /* 51 */
+ "EXFULL", /* 52 */
+ "ENOANO", /* 53 */
+ "EBADRQC", /* 54 */
+ "EBADSLT", /* 55 */
+ "EDEADLOCK", /* 56 */
+ "EBFONT", /* 57 */
+ "ERRNO_58", /* 58 */
+ "ERRNO_59", /* 59 */
+ "ENOSTR", /* 60 */
+ "ENODATA", /* 61 */
+ "ETIME", /* 62 */
+ "ENOSR", /* 63 */
+ "ENONET", /* 64 */
+ "ENOPKG", /* 65 */
+ "EREMOTE", /* 66 */
+ "ENOLINK", /* 67 */
+ "EADV", /* 68 */
+ "ESRMNT", /* 69 */
+ "ECOMM", /* 70 */
+ "EPROTO", /* 71 */
+ "ERRNO_72", /* 72 */
+ "ERRNO_73", /* 73 */
+ "EMULTIHOP", /* 74 */
+ "ERRNO_75", /* 75 */
+ "ERRNO_76", /* 76 */
+ "EBADMSG", /* 77 */
+ "ENAMETOOLONG", /* 78 */
+ "EOVERFLOW", /* 79 */
+ "ENOTUNIQ", /* 80 */
+ "EBADFD", /* 81 */
+ "EREMCHG", /* 82 */
+ "ELIBACC", /* 83 */
+ "ELIBBAD", /* 84 */
+ "ELIBSCN", /* 85 */
+ "ELIBMAX", /* 86 */
+ "ELIBEXEC", /* 87 */
+ "EILSEQ", /* 88 */
+ "ENOSYS", /* 89 */
+ "ELOOP", /* 90 */
+ "ERESTART", /* 91 */
+ "ESTRPIPE", /* 92 */
+ "ENOTEMPTY", /* 93 */
+ "EUSERS", /* 94 */
+ "ENOTSOCK", /* 95 */
+ "EDESTADDRREQ", /* 96 */
+ "EMSGSIZE", /* 97 */
+ "EPROTOTYPE", /* 98 */
+ "ENOPROTOOPT", /* 99 */
+ "ERRNO_100", /* 100 */
+ "ERRNO_101", /* 101 */
+ "ERRNO_102", /* 102 */
+ "ERRNO_103", /* 103 */
+ "ERRNO_104", /* 104 */
+ "ERRNO_105", /* 105 */
+ "ERRNO_106", /* 106 */
+ "ERRNO_107", /* 107 */
+ "ERRNO_108", /* 108 */
+ "ERRNO_109", /* 109 */
+ "ERRNO_110", /* 110 */
+ "ERRNO_111", /* 111 */
+ "ERRNO_112", /* 112 */
+ "ERRNO_113", /* 113 */
+ "ERRNO_114", /* 114 */
+ "ERRNO_115", /* 115 */
+ "ERRNO_116", /* 116 */
+ "ERRNO_117", /* 117 */
+ "ERRNO_118", /* 118 */
+ "ERRNO_119", /* 119 */
+ "EPROTONOSUPPORT", /* 120 */
+ "ESOCKTNOSUPPORT", /* 121 */
+ "EOPNOTSUPP", /* 122 */
+ "EPFNOSUPPORT", /* 123 */
+ "EAFNOSUPPORT", /* 124 */
+ "EADDRINUSE", /* 125 */
+ "EADDRNOTAVAIL", /* 126 */
+ "ENETDOWN", /* 127 */
+ "ENETUNREACH", /* 128 */
+ "ENETRESET", /* 129 */
+ "ECONNABORTED", /* 130 */
+ "ECONNRESET", /* 131 */
+ "ENOBUFS", /* 132 */
+ "EISCONN", /* 133 */
+ "ENOTCONN", /* 134 */
+ "ERRNO_135", /* 135 */
+ "ERRNO_136", /* 136 */
+ "ERRNO_137", /* 137 */
+ "ERRNO_138", /* 138 */
+ "ERRNO_139", /* 139 */
+ "ERRNO_140", /* 140 */
+ "ERRNO_141", /* 141 */
+ "ERRNO_142", /* 142 */
+ "ESHUTDOWN", /* 143 */
+ "ETOOMANYREFS", /* 144 */
+ "ETIMEDOUT", /* 145 */
+ "ECONNREFUSED", /* 146 */
+ "EHOSTDOWN", /* 147 */
+ "EHOSTUNREACH", /* 148 */
+ "EALREADY", /* 149 */
+ "EINPROGRESS", /* 150 */
+ "ESTALE", /* 151 */
-#include "svr4/ioctlent.h"
+{"sys/dkio.h", "DKIOCGGEOM", 0x401},
+{"sys/dkio.h", "DKIOCSGEOM", 0x402},
+{"sys/dkio.h", "DKIOCINFO", 0x403},
+{"sys/dkio.h", "DKIOCSAPART", 0x404},
+{"sys/dkio.h", "DKIOCGAPART", 0x405},
+{"sys/dkio.h", "DKIOCEJECT", 0x406},
+{"sys/dkio.h", "DKIOCLOCK", 0x407},
+{"sys/dkio.h", "DKIOCUNLOCK", 0x408},
+{"sys/dkio.h", "DKIOCGVTOC", 0x40b},
+{"sys/dkio.h", "DKIOCSVTOC", 0x40c},
+{"sys/dkio.h", "DKIOCSTATE", 0x40d},
+{"sys/fdio.h", "FDIOGCHAR", 0x433},
+{"sys/fdio.h", "FDIOSCHAR", 0x434},
+{"sys/fdio.h", "FDEJECT", 0x435},
+{"sys/fdio.h", "FDGETCHANGE", 0x436},
+{"sys/fdio.h", "FDGETDRIVECHAR", 0x437},
+{"sys/fdio.h", "FDSETDRIVECHAR", 0x438},
+{"sys/fdio.h", "FDGETSEARCH", 0x439},
+{"sys/fdio.h", "FDSETSEARCH", 0x43a},
+{"sys/fdio.h", "FDIOCMD", 0x43b},
+{"sys/fdio.h", "FDRAW", 0x446},
+{"sys/fdio.h", "FDDEFGEOCHAR", 0x456},
+{"sys/hdio.h", "HDKIOCSTYPE", 0x465},
+{"sys/hdio.h", "HDKIOCGTYPE", 0x466},
+{"sys/hdio.h", "HDKIOCSBAD", 0x467},
+{"sys/hdio.h", "HDKIOCGBAD", 0x468},
+{"sys/hdio.h", "HDKIOCSCMD", 0x469},
+{"sys/hdio.h", "HDKIOCGDIAG", 0x46a},
+{"sys/cdio.h", "CDROMPAUSE", 0x497},
+{"sys/cdio.h", "CDROMRESUME", 0x498},
+{"sys/cdio.h", "CDROMPLAYMSF", 0x499},
+{"sys/cdio.h", "CDROMPLAYTRKIND", 0x49a},
+{"sys/cdio.h", "CDROMREADTOCHDR", 0x49b},
+{"sys/cdio.h", "CDROMREADTOCENTRY", 0x49c},
+{"sys/cdio.h", "CDROMSTOP", 0x49d},
+{"sys/cdio.h", "CDROMSTART", 0x49e},
+{"sys/cdio.h", "CDROMEJECT", 0x49f},
+{"sys/cdio.h", "CDROMVOLCTRL", 0x4a0},
+{"sys/cdio.h", "CDROMSUBCHNL", 0x4a1},
+{"sys/cdio.h", "CDROMREADMODE2", 0x4a2},
+{"sys/cdio.h", "CDROMREADMODE1", 0x4a3},
+{"sys/cdio.h", "CDROMREADOFFSET", 0x4a4},
+{"sys/cdio.h", "CDROMGBLKMODE", 0x4a5},
+{"sys/cdio.h", "CDROMSBLKMODE", 0x4a6},
+{"sys/cdio.h", "CDROMCDDA", 0x4a7},
+{"sys/cdio.h", "CDROMCDXA", 0x4a8},
+{"sys/cdio.h", "CDROMSUBCODE", 0x4a9},
+{"sys/cdio.h", "CDROMGDRVSPEED", 0x4aa},
+{"sys/cdio.h", "CDROMSDRVSPEED", 0x4ab},
+{"sys/scsi/impl/uscsi.h", "USCSICMD", 0x4c9},
+{"sys/bufmod.h", "SBIOCSTIME", 0x4201},
+{"sys/bufmod.h", "SBIOCGTIME", 0x4202},
+{"sys/bufmod.h", "SBIOCCTIME", 0x4203},
+{"sys/bufmod.h", "SBIOCSCHUNK", 0x4204},
+{"sys/bufmod.h", "SBIOCGCHUNK", 0x4205},
+{"sys/bufmod.h", "SBIOCSSNAP", 0x4206},
+{"sys/bufmod.h", "SBIOCGSNAP", 0x4207},
+{"sys/bufmod.h", "SBIOCSFLAGS", 0x4208},
+{"sys/bufmod.h", "SBIOCGFLAGS", 0x4209},
+{"sys/termios.h", "LDOPEN", 0x4400},
+{"sys/termios.h", "LDCLOSE", 0x4401},
+{"sys/dlpi.h", "DLIOCRAW", 0x4401},
+{"sys/sad.h", "SAD_SAP", 0x4401},
+{"sys/termios.h", "LDCHG", 0x4402},
+{"sys/sad.h", "SAD_GAP", 0x4402},
+{"sys/sad.h", "SAD_VML", 0x4403},
+{"sys/termios.h", "LDGETT", 0x4408},
+{"sys/termios.h", "LDSETT", 0x4409},
+{"sys/dlpi.h", "DL_IOC_HDR_INFO", 0x440a},
+{"sys/termios.h", "LDSMAP", 0x446e},
+{"sys/termios.h", "LDGMAP", 0x446f},
+{"sys/termios.h", "LDNMAP", 0x4470},
+{"sys/termios.h", "LDEMAP", 0x4471},
+{"sys/termios.h", "LDDMAP", 0x4472},
+{"sys/fbio.h", "FBIOGTYPE", 0x4600},
+{"sys/fbio.h", "FBIOGINFO", 0x4602},
+{"sys/fbio.h", "FBIOPUTCMAP", 0x4603},
+{"sys/fbio.h", "FBIOGETCMAP", 0x4604},
+{"sys/fbio.h", "FBIOSATTR", 0x4605},
+{"sys/fbio.h", "FBIOGATTR", 0x4606},
+{"sys/fbio.h", "FBIOSVIDEO", 0x4607},
+{"sys/fbio.h", "FBIOGVIDEO", 0x4608},
+{"sys/fbio.h", "FBIOVERTICAL", 0x4609},
+{"sys/fbio.h", "GRABPAGEALLOC", 0x460a},
+{"sys/fbio.h", "GRABPAGEFREE", 0x460b},
+{"sys/fbio.h", "GRABATTACH", 0x460c},
+{"sys/fbio.h", "FBIOGPLNGRP", 0x460d},
+{"sys/fbio.h", "FBIOGCMSIZE", 0x460e},
+{"sys/fbio.h", "FBIOSCMSIZE", 0x460f},
+{"sys/fbio.h", "FBIOSCMS", 0x4610},
+{"sys/fbio.h", "FBIOAVAILPLNGRP", 0x4611},
+{"sys/fbio.h", "FBIODBLGINFO", 0x4612},
+{"sys/fbio.h", "FBIODBLSINFO", 0x4613},
+{"sys/fbio.h", "FBIOSWINFD", 0x4614},
+{"sys/fbio.h", "FBIOSAVWINFD", 0x4615},
+{"sys/fbio.h", "FBIORESWINFD", 0x4616},
+{"sys/fbio.h", "FBIOSRWINFD", 0x4617},
+{"sys/visual_io.h", "VIS_SETCURSOR", 0x4618},
+{"sys/fbio.h", "FBIOSCURSOR", 0x4618},
+{"sys/fbio.h", "FBIOGCURSOR", 0x4619},
+{"sys/visual_io.h", "VIS_GETCURSOR", 0x4619},
+{"sys/fbio.h", "FBIOSCURPOS", 0x461a},
+{"sys/visual_io.h", "VIS_MOVECURSOR", 0x461a},
+{"sys/fbio.h", "FBIOGCURPOS", 0x461b},
+{"sys/visual_io.h", "VIS_GETCURSORPOS", 0x461b},
+{"sys/fbio.h", "FBIOGCURMAX", 0x461c},
+{"sys/fbio.h", "GRABLOCKINFO", 0x461d},
+{"sys/fbio.h", "FBIO_WID_ALLOC", 0x461e},
+{"sys/fbio.h", "FBIO_WID_FREE", 0x461f},
+{"sys/fbio.h", "FBIO_WID_PUT", 0x4620},
+{"sys/fbio.h", "FBIO_WID_GET", 0x4621},
+{"sys/fbio.h", "FBIO_DEVID", 0x4622},
+{"sys/fbio.h", "FBIO_U_RST", 0x4623},
+{"sys/fbio.h", "FBIO_FULLSCREEN_ELIMINATION_GROUPS", 0x4624},
+{"sys/fbio.h", "FBIO_WID_DBL_SET", 0x4625},
+{"sys/fbio.h", "FBIOVRTOFFSET", 0x4626},
+{"sys/fbio.h", "FBIOGXINFO", 0x4627},
+{"sys/fbio.h", "FBIOMONINFO", 0x4628},
+{"sys/fbio.h", "FBIOPUTCMAPI", 0x4629},
+{"sys/fbio.h", "FBIOGETCMAPI", 0x462a},
+{"sys/fbio.h", "FBIO_ASSIGNWID", 0x462b},
+{"sys/fbio.h", "FBIO_STEREO", 0x462c},
+{"sys/gpio.h", "GP1IO_PUT_INFO", 0x4700},
+{"sys/gpio.h", "GP1IO_GET_STATIC_BLOCK", 0x4701},
+{"sys/gpio.h", "GP1IO_FREE_STATIC_BLOCK", 0x4702},
+{"sys/gpio.h", "GP1IO_GET_GBUFFER_STATE", 0x4703},
+{"sys/gpio.h", "GP1IO_CHK_GP", 0x4704},
+{"sys/gpio.h", "GP1IO_GET_RESTART_COUNT", 0x4705},
+{"sys/gpio.h", "GP1IO_REDIRECT_DEVFB", 0x4706},
+{"sys/gpio.h", "GP1IO_GET_REQDEV", 0x4707},
+{"sys/gpio.h", "GP1IO_GET_TRUMINORDEV", 0x4708},
+{"sys/gpio.h", "GP1IO_CHK_FOR_GBUFFER", 0x4709},
+{"sys/gpio.h", "GP1IO_SET_USING_GBUFFER", 0x470a},
+{"sys/gpio.h", "GP1IO_INFO_STATIC_BLOCK", 0x470b},
+{"sys/sockmod.h", "O_SI_GETUDATA", 0x4965},
+{"sys/sockmod.h", "SI_SHUTDOWN", 0x4966},
+{"sys/sockmod.h", "SI_LISTEN", 0x4967},
+{"sys/sockmod.h", "SI_SETMYNAME", 0x4968},
+{"sys/sockmod.h", "SI_SETPEERNAME", 0x4969},
+{"sys/sockmod.h", "SI_GETINTRANSIT", 0x496a},
+{"sys/sockmod.h", "SI_SOCKPARAMS", 0x496d},
+{"sys/sockmod.h", "SI_GETUDATA", 0x496e},
+{"sys/strlog.h", "I_TRCLOG", 0x4c01},
+{"sys/strlog.h", "I_ERRLOG", 0x4c02},
+{"sys/strlog.h", "I_CONSLOG", 0x4c03},
+{"sys/cg14io.h", "MDI_RESET", 0x4d01},
+{"sys/cg14io.h", "MDI_GET_CFGINFO", 0x4d02},
+{"sys/cg14io.h", "MDI_SET_PIXELMODE", 0x4d03},
+{"sys/cg14io.h", "MDI_SET_COUNTERS", 0x4d04},
+{"sys/cg14io.h", "MDI_SET_PPR", 0x4d05},
+{"sys/cg14io.h", "MDI_VRT_CNTL", 0x4d06},
+{"sys/cg14io.h", "MDI_SET_CLUT", 0x4d07},
+{"sys/cg14io.h", "MDI_GET_CLUT", 0x4d08},
+{"sys/cg14io.h", "MDI_SET_XLUT", 0x4d09},
+{"sys/cg14io.h", "MDI_GET_XLUT", 0x4d0a},
+{"sys/cg14io.h", "MDI_GAMMA_CORRECT", 0x4d0b},
+{"sys/cg14io.h", "MDI_SET_GAMMALUT", 0x4d0c},
+{"sys/cg14io.h", "MDI_GET_GAMMALUT", 0x4d0d},
+{"sys/cg14io.h", "MDI_SET_DEGAMMALUT", 0x4d0e},
+{"sys/cg14io.h", "MDI_GET_DEGAMMALUT", 0x4d0f},
+{"sys/cg14io.h", "MDI_GET_BUFFER_INFO", 0x4d10},
+{"sys/cg14io.h", "MDI_SET_CURSOR", 0x4d11},
+{"sys/cg14io.h", "MDI_GET_DIAGINFO", 0x4d12},
+{"sys/cg14io.h", "MDI_SET_RESOLUTION", 0x4d13},
+{"sys/cg14io.h", "SET_MONITOR_POWER", 0x4d14},
+{"sys/openpromio.h", "OPROMGETBOOTARGS", 0x4f0c},
+{"sys/pfmod.h", "PFIOCSETF", 0x5001},
+{"sys/stropts.h", "I_NREAD", 0x5301},
+{"sys/stropts.h", "I_PUSH", 0x5302},
+{"sys/stropts.h", "I_POP", 0x5303},
+{"sys/stropts.h", "I_LOOK", 0x5304},
+{"sys/stropts.h", "I_FLUSH", 0x5305},
+{"sys/stropts.h", "I_SRDOPT", 0x5306},
+{"sys/stropts.h", "I_GRDOPT", 0x5307},
+{"sys/stropts.h", "I_STR", 0x5308},
+{"sys/stropts.h", "I_SETSIG", 0x5309},
+{"sys/stropts.h", "I_GETSIG", 0x530a},
+{"sys/stropts.h", "I_FIND", 0x530b},
+{"sys/stropts.h", "I_LINK", 0x530c},
+{"sys/stropts.h", "I_UNLINK", 0x530d},
+{"sys/stropts.h", "I_RECVFD", 0x530e},
+{"sys/stropts.h", "I_PEEK", 0x530f},
+{"sys/stropts.h", "I_FDINSERT", 0x5310},
+{"sys/stropts.h", "I_SENDFD", 0x5311},
+{"sys/stropts.h", "I_SWROPT", 0x5313},
+{"sys/stropts.h", "I_GWROPT", 0x5314},
+{"sys/stropts.h", "I_LIST", 0x5315},
+{"sys/stropts.h", "I_PLINK", 0x5316},
+{"sys/stropts.h", "I_PUNLINK", 0x5317},
+{"sys/stropts.h", "I_SETEV", 0x5318},
+{"sys/stropts.h", "I_GETEV", 0x5319},
+{"sys/stropts.h", "I_STREV", 0x531a},
+{"sys/stropts.h", "I_UNSTREV", 0x531b},
+{"sys/stropts.h", "I_FLUSHBAND", 0x531c},
+{"sys/stropts.h", "I_CKBAND", 0x531d},
+{"sys/stropts.h", "I_GETBAND", 0x531e},
+{"sys/stropts.h", "I_ATMARK", 0x531f},
+{"sys/stropts.h", "I_SETCLTIME", 0x5320},
+{"sys/stropts.h", "I_GETCLTIME", 0x5321},
+{"sys/stropts.h", "I_CANPUT", 0x5322},
+{"sys/termios.h", "TCGETA", 0x5401},
+{"sys/termios.h", "TCSETA", 0x5402},
+{"sys/termios.h", "TCSETAW", 0x5403},
+{"sys/termios.h", "TCSETAF", 0x5404},
+{"sys/termios.h", "TCSBRK", 0x5405},
+{"sys/termios.h", "TCXONC", 0x5406},
+{"sys/termios.h", "TCFLSH", 0x5407},
+{"sys/termios.h", "TIOCKBON", 0x5408},
+{"sys/termios.h", "TIOCKBOF", 0x5409},
+{"sys/termios.h", "KBENABLED", 0x540a},
+{"sys/termios.h", "TCGETS", 0x540d},
+{"sys/termios.h", "TCSETS", 0x540e},
+{"sys/termios.h", "TCSANOW", 0x540e},
+{"sys/termios.h", "TCSADRAIN", 0x540f},
+{"sys/termios.h", "TCSETSW", 0x540f},
+{"sys/termios.h", "TCSAFLUSH", 0x5410},
+{"sys/termios.h", "TCSETSF", 0x5410},
+{"sys/termio.h", "TCDSET", 0x5420},
+{"sys/termios.h", "TCDSET", 0x5420},
+{"sys/termios.h", "RTS_TOG", 0x5421},
+{"sys/ttold.h", "TIOCSWINSZ", 0x5467},
+{"sys/termios.h", "TIOCSWINSZ", 0x5467},
+{"sys/ttold.h", "TIOCGWINSZ", 0x5468},
+{"sys/termios.h", "TIOCGWINSZ", 0x5468},
+{"sys/termios.h", "TIOCGSOFTCAR", 0x5469},
+{"sys/termios.h", "TIOCSSOFTCAR", 0x546a},
+{"sys/timod.h", "TI_GETINFO", 0x548c},
+{"sys/timod.h", "TI_OPTMGMT", 0x548d},
+{"sys/timod.h", "TI_BIND", 0x548e},
+{"sys/timod.h", "TI_UNBIND", 0x548f},
+{"sys/timod.h", "TI_GETMYNAME", 0x5490},
+{"sys/timod.h", "TI_GETPEERNAME", 0x5491},
+{"sys/timod.h", "TI_SETMYNAME", 0x5492},
+{"sys/timod.h", "TI_SETPEERNAME", 0x5493},
+{"sys/termiox.h", "TCGETX", 0x5801},
+{"sys/termiox.h", "TCSETX", 0x5802},
+{"sys/termiox.h", "TCSETXW", 0x5803},
+{"sys/termiox.h", "TCSETXF", 0x5804},
+{"sys/ioctl.h", "DIOCGETC", 0x6401},
+{"sys/ioctl.h", "DIOCGETB", 0x6402},
+{"sys/ioctl.h", "DIOCSETE", 0x6403},
+{"sys/termios.h", "DIOCGETP", 0x6408},
+{"sys/termios.h", "DIOCSETP", 0x6409},
+{"sys/jioctl.h", "JBOOT", 0x6a01},
+{"sys/jioctl.h", "JTERM", 0x6a02},
+{"sys/jioctl.h", "JMPX", 0x6a03},
+{"sys/jioctl.h", "JWINSIZE", 0x6a05},
+{"sys/jioctl.h", "JZOMBOOT", 0x6a07},
+{"sys/jioctl.h", "JAGENT", 0x6a09},
+{"sys/jioctl.h", "JTRUN", 0x6a0a},
+{"sys/jioctl.h", "JXTPROTO", 0x6a0b},
+{"sys/kbio.h", "KIOCTRANS", 0x6b00},
+{"sys/kbio.h", "KIOCSETKEY", 0x6b01},
+{"sys/kbio.h", "KIOCGETKEY", 0x6b02},
+{"sys/kbio.h", "KIOCGTRANS", 0x6b05},
+{"sys/kbio.h", "KIOCTRANSABLE", 0x6b06},
+{"sys/kbio.h", "KIOCGTRANSABLE", 0x6b07},
+{"sys/kbio.h", "KIOCCMD", 0x6b08},
+{"sys/kbio.h", "KIOCTYPE", 0x6b09},
+{"sys/kbio.h", "KIOCSDIRECT", 0x6b0a},
+{"sys/kbio.h", "KIOCGDIRECT", 0x6b0b},
+{"sys/kbio.h", "KIOCSKEY", 0x6b0c},
+{"sys/kbio.h", "KIOCGKEY", 0x6b0d},
+{"sys/kbio.h", "KIOCSLED", 0x6b0e},
+{"sys/kbio.h", "KIOCGLED", 0x6b0f},
+{"sys/kbio.h", "KIOCSCOMPAT", 0x6b10},
+{"sys/kbio.h", "KIOCGCOMPAT", 0x6b11},
+{"sys/kbio.h", "KIOCLAYOUT", 0x6b14},
+{"sys/ioctl.h", "LIOCGETP", 0x6c01},
+{"sys/ioctl.h", "LIOCSETP", 0x6c02},
+{"sys/ioctl.h", "LIOCGETS", 0x6c05},
+{"sys/ioctl.h", "LIOCSETS", 0x6c06},
+{"sys/mtio.h", "MTIOCTOP", 0x6d01},
+{"sys/msio.h", "MSIOGETPARMS", 0x6d01},
+{"sys/msio.h", "MSIOSETPARMS", 0x6d02},
+{"sys/mtio.h", "MTIOCGET", 0x6d02},
+{"sys/mtio.h", "MTIOCGETDRIVETYPE", 0x6d03},
+{"sys/procfs.h", "PIOCSTATUS", 0x7101},
+{"sys/procfs.h", "PIOCSTOP", 0x7102},
+{"sys/procfs.h", "PIOCWSTOP", 0x7103},
+{"sys/procfs.h", "PIOCRUN", 0x7104},
+{"sys/procfs.h", "PIOCGTRACE", 0x7105},
+{"sys/procfs.h", "PIOCSTRACE", 0x7106},
+{"sys/procfs.h", "PIOCSSIG", 0x7107},
+{"sys/procfs.h", "PIOCKILL", 0x7108},
+{"sys/procfs.h", "PIOCUNKILL", 0x7109},
+{"sys/procfs.h", "PIOCGHOLD", 0x710a},
+{"sys/procfs.h", "PIOCSHOLD", 0x710b},
+{"sys/procfs.h", "PIOCMAXSIG", 0x710c},
+{"sys/procfs.h", "PIOCACTION", 0x710d},
+{"sys/procfs.h", "PIOCGFAULT", 0x710e},
+{"sys/procfs.h", "PIOCSFAULT", 0x710f},
+{"sys/procfs.h", "PIOCCFAULT", 0x7110},
+{"sys/procfs.h", "PIOCGENTRY", 0x7111},
+{"sys/procfs.h", "PIOCSENTRY", 0x7112},
+{"sys/procfs.h", "PIOCGEXIT", 0x7113},
+{"sys/procfs.h", "PIOCSEXIT", 0x7114},
+{"sys/procfs.h", "PIOCSFORK", 0x7115},
+{"sys/procfs.h", "PIOCRFORK", 0x7116},
+{"sys/procfs.h", "PIOCSRLC", 0x7117},
+{"sys/procfs.h", "PIOCRRLC", 0x7118},
+{"sys/procfs.h", "PIOCGREG", 0x7119},
+{"sys/procfs.h", "PIOCSREG", 0x711a},
+{"sys/procfs.h", "PIOCGFPREG", 0x711b},
+{"sys/procfs.h", "PIOCSFPREG", 0x711c},
+{"sys/procfs.h", "PIOCNICE", 0x711d},
+{"sys/procfs.h", "PIOCPSINFO", 0x711e},
+{"sys/procfs.h", "PIOCNMAP", 0x711f},
+{"sys/procfs.h", "PIOCMAP", 0x7120},
+{"sys/procfs.h", "PIOCOPENM", 0x7121},
+{"sys/procfs.h", "PIOCCRED", 0x7122},
+{"sys/procfs.h", "PIOCGROUPS", 0x7123},
+{"sys/procfs.h", "PIOCGETPR", 0x7124},
+{"sys/procfs.h", "PIOCGETU", 0x7125},
+{"sys/procfs.h", "PIOCSET", 0x7126},
+{"sys/procfs.h", "PIOCRESET", 0x7127},
+{"sys/procfs.h", "PIOCNWATCH", 0x7128},
+{"sys/procfs.h", "PIOCGWATCH", 0x7129},
+{"sys/procfs.h", "PIOCSWATCH", 0x712a},
+{"sys/procfs.h", "PIOCUSAGE", 0x712b},
+{"sys/procfs.h", "PIOCOPENPD", 0x712c},
+{"sys/procfs.h", "PIOCLWPIDS", 0x712d},
+{"sys/procfs.h", "PIOCOPENLWP", 0x712e},
+{"sys/procfs.h", "PIOCLSTATUS", 0x712f},
+{"sys/procfs.h", "PIOCLUSAGE", 0x7130},
+{"sys/procfs.h", "PIOCNAUXV", 0x7131},
+{"sys/procfs.h", "PIOCAUXV", 0x7132},
+{"sys/procfs.h", "PIOCGWIN", 0x7165},
+{"sys/ttold.h", "TIOCGETD", 0x7400},
+{"sys/termios.h", "TIOCGETD", 0x7400},
+{"sys/termios.h", "TIOCSETD", 0x7401},
+{"sys/ttold.h", "TIOCSETD", 0x7401},
+{"sys/termios.h", "TIOCHPCL", 0x7402},
+{"sys/ttold.h", "TIOCHPCL", 0x7402},
+{"sys/ttold.h", "TIOCGETP", 0x7408},
+{"sys/termios.h", "TIOCGETP", 0x7408},
+{"sys/termios.h", "TIOCSETP", 0x7409},
+{"sys/ttold.h", "TIOCSETP", 0x7409},
+{"sys/ttold.h", "TIOCSETN", 0x740a},
+{"sys/termios.h", "TIOCSETN", 0x740a},
+{"sys/ttold.h", "TIOCEXCL", 0x740d},
+{"sys/termios.h", "TIOCEXCL", 0x740d},
+{"sys/ttold.h", "TIOCNXCL", 0x740e},
+{"sys/termios.h", "TIOCNXCL", 0x740e},
+{"sys/termios.h", "TIOCFLUSH", 0x7410},
+{"sys/ttold.h", "TIOCFLUSH", 0x7410},
+{"sys/termios.h", "TIOCSETC", 0x7411},
+{"sys/ttold.h", "TIOCSETC", 0x7411},
+{"sys/termios.h", "TIOCGETC", 0x7412},
+{"sys/ttold.h", "TIOCGETC", 0x7412},
+{"sys/termios.h", "TIOCGPGRP", 0x7414},
+{"sys/termios.h", "TIOCSPGRP", 0x7415},
+{"sys/termios.h", "TIOCGSID", 0x7416},
+{"sys/termios.h", "TIOCSTI", 0x7417},
+{"sys/termios.h", "TIOCSSID", 0x7418},
+{"sys/termios.h", "TIOCMSET", 0x741a},
+{"sys/termios.h", "TIOCMBIS", 0x741b},
+{"sys/termios.h", "TIOCMBIC", 0x741c},
+{"sys/termios.h", "TIOCMGET", 0x741d},
+{"sys/termios.h", "TIOCREMOTE", 0x741e},
+{"sys/ttold.h", "TIOCREMOTE", 0x741e},
+{"sys/termios.h", "TIOCSIGNAL", 0x741f},
+{"sys/termios.h", "TIOCSTART", 0x746e},
+{"sys/ttold.h", "TIOCSTART", 0x746e},
+{"sys/termios.h", "TIOCSTOP", 0x746f},
+{"sys/ttold.h", "TIOCSTOP", 0x746f},
+{"sys/ttold.h", "TIOCNOTTY", 0x7471},
+{"sys/termios.h", "TIOCNOTTY", 0x7471},
+{"sys/termios.h", "TIOCOUTQ", 0x7473},
+{"sys/ttold.h", "TIOCOUTQ", 0x7473},
+{"sys/termios.h", "TIOCGLTC", 0x7474},
+{"sys/ttold.h", "TIOCGLTC", 0x7474},
+{"sys/termios.h", "TIOCSLTC", 0x7475},
+{"sys/ttold.h", "TIOCSLTC", 0x7475},
+{"sys/termios.h", "TIOCCDTR", 0x7478},
+{"sys/ttold.h", "TIOCCDTR", 0x7478},
+{"sys/ttold.h", "TIOCSDTR", 0x7479},
+{"sys/termios.h", "TIOCSDTR", 0x7479},
+{"sys/termios.h", "TIOCCBRK", 0x747a},
+{"sys/ttold.h", "TIOCCBRK", 0x747a},
+{"sys/termios.h", "TIOCSBRK", 0x747b},
+{"sys/ttold.h", "TIOCSBRK", 0x747b},
+{"sys/termios.h", "TIOCLGET", 0x747c},
+{"sys/ttold.h", "TIOCLGET", 0x747c},
+{"sys/termios.h", "TIOCLSET", 0x747d},
+{"sys/ttold.h", "TIOCLSET", 0x747d},
+{"sys/ttold.h", "TIOCLBIC", 0x747e},
+{"sys/termios.h", "TIOCLBIC", 0x747e},
+{"sys/ttold.h", "TIOCLBIS", 0x747f},
+{"sys/termios.h", "TIOCLBIS", 0x747f},
+{"sys/vol.h", "VOLIOCMAP", 0x7601},
+{"sys/vuid_event.h", "VUIDSFORMAT", 0x7601},
+{"sys/vuid_event.h", "VUIDSFORMAT", 0x7601},
+{"sys/vuid_event.h", "VUIDGFORMAT", 0x7602},
+{"sys/vuid_event.h", "VUIDGFORMAT", 0x7602},
+{"sys/vol.h", "VOLIOCUNMAP", 0x7602},
+{"sys/vol.h", "VOLIOCEVENT", 0x7603},
+{"sys/vuid_event.h", "VUIDSADDR", 0x7603},
+{"sys/vuid_event.h", "VUIDSADDR", 0x7603},
+{"sys/vuid_event.h", "VUIDGADDR", 0x7604},
+{"sys/vuid_event.h", "VUIDGADDR", 0x7604},
+{"sys/vol.h", "VOLIOCEJECT", 0x7604},
+{"sys/vol.h", "VOLIOCCHECK", 0x7605},
+{"sys/vol.h", "VOLIOCINUSE", 0x7606},
+{"sys/vol.h", "VOLIOCDGATTR", 0x7607},
+{"sys/vol.h", "VOLIOCDSATTR", 0x7608},
+{"sys/vol.h", "VOLIOCDCHECK", 0x7609},
+{"sys/vol.h", "VOLIOCCANCEL", 0x760a},
+{"sys/vol.h", "VOLIOCINFO", 0x760b},
+{"sys/vol.h", "VOLIOCSATTR", 0x760c},
+{"sys/vol.h", "VOLIOCGATTR", 0x760d},
+{"sys/vol.h", "VOLIOCDINUSE", 0x760e},
+{"sys/vol.h", "VOLIOCDAEMON", 0x760f},
+{"sys/vol.h", "VOLIOCFLAGS", 0x7610},
+{"sys/vol.h", "VOLIOCEXTRA4", 0x7611},
+{"sys/vol.h", "VOLIOCEXTRA5", 0x7612},
+{"sys/vol.h", "VOLIOCEXTRA6", 0x7613},
+{"sys/vol.h", "VOLIOCEXTRA7", 0x7614},
+{"sys/ser_sync.h", "S_IOCGETMODE", 0x7a01},
+{"sys/ser_sync.h", "S_IOCSETMODE", 0x7a02},
+{"sys/ser_sync.h", "S_IOCGETSTATS", 0x7a03},
+{"sys/ser_sync.h", "S_IOCCLRSTATS", 0x7a04},
+{"sys/ser_sync.h", "S_IOCGETSPEED", 0x7a05},
+{"sys/ser_sync.h", "S_IOCGETMRU", 0x7a06},
+{"sys/ser_sync.h", "S_IOCSETMRU", 0x7a07},
+{"sys/ser_sync.h", "S_IOCGETMTU", 0x7a08},
+{"sys/ser_sync.h", "S_IOCSETMTU", 0x7a09},
+{"sys/ser_sync.h", "S_IOCGETMCTL", 0x7a0a},
+{"sys/tl.h", "TL_IOC_CREDOPT", 0x544c01},
-#include "../svr4/signalent.h"
+ "SIG_0", /* 0 */
+ "SIGHUP", /* 1 */
+ "SIGINT", /* 2 */
+ "SIGQUIT", /* 3 */
+ "SIGILL", /* 4 */
+ "SIGTRAP", /* 5 */
+ "SIGABRT", /* 6 */
+ "SIGEMT", /* 7 */
+ "SIGFPE", /* 8 */
+ "SIGKILL", /* 9 */
+ "SIGBUS", /* 10 */
+ "SIGSEGV", /* 11 */
+ "SIGSYS", /* 12 */
+ "SIGPIPE", /* 13 */
+ "SIGALRM", /* 14 */
+ "SIGTERM", /* 15 */
+ "SIGUSR1", /* 16 */
+ "SIGUSR2", /* 17 */
+ "SIGCHLD", /* 18 */
+ "SIGPWR", /* 19 */
+ "SIGWINCH", /* 20 */
+ "SIGURG", /* 21 */
+ "SIGPOLL", /* 22 */
+ "SIGSTOP", /* 23 */
+ "SIGTSTP", /* 24 */
+ "SIGCONT", /* 25 */
+ "SIGTTIN", /* 26 */
+ "SIGTTOU", /* 27 */
+ "SIGVTALRM", /* 28 */
+ "SIGPROF", /* 29 */
+ "SIGXCPU", /* 30 */
+ "SIGXFSZ", /* 31 */
+ "SIGWAITING", /* 32 */
+ "SIGLWP", /* 33 */
+ "SIGFREEZE", /* 34 */
+ "SIGTHAW", /* 35 */
-#include "../svr4/errnoent.h"
+#include "../sparc/errnoent1.h"
-#include "svr4/ioctlent.h"
+#include "../sparc/ioctlent1.h"
-#include "../svr4/signalent.h"
+#include "../sparc/signalent1.h"
+++ /dev/null
-dnl ### A macro to determine if we have a "MP" type procfs
-AC_DEFUN([AC_MP_PROCFS],
-[AC_MSG_CHECKING(for MP procfs)
-AC_CACHE_VAL(ac_cv_mp_procfs,
-[AC_RUN_IFELSE([AC_LANG_SOURCE([[
-#include <stdio.h>
-#include <signal.h>
-#include <sys/procfs.h>
-
-main()
-{
- int pid;
- char proc[32];
- FILE *ctl;
- FILE *status;
- int cmd;
- struct pstatus pstatus;
-
- if ((pid = fork()) == 0) {
- pause();
- exit(0);
- }
- sprintf(proc, "/proc/%d/ctl", pid);
- if ((ctl = fopen(proc, "w")) == NULL)
- goto fail;
- sprintf(proc, "/proc/%d/status", pid);
- if ((status = fopen (proc, "r")) == NULL)
- goto fail;
- cmd = PCSTOP;
- if (write (fileno (ctl), &cmd, sizeof cmd) < 0)
- goto fail;
- if (read (fileno (status), &pstatus, sizeof pstatus) < 0)
- goto fail;
- kill(pid, SIGKILL);
- exit(0);
-fail:
- kill(pid, SIGKILL);
- exit(1);
-}
-]])],[ac_cv_mp_procfs=yes],[ac_cv_mp_procfs=no],[
-# Guess or punt.
-case "$host_os" in
-svr4.2*|svr5*)
- ac_cv_mp_procfs=yes
- ;;
-*)
- ac_cv_mp_procfs=no
- ;;
-esac
-])])
-AC_MSG_RESULT($ac_cv_mp_procfs)
-if test "$ac_cv_mp_procfs" = yes
-then
- AC_DEFINE([HAVE_MP_PROCFS], 1,
-[Define if you have a SVR4 MP type procfs.
-I.E. /dev/xxx/ctl, /dev/xxx/status.
-Also implies that you have the pr_lwp member in prstatus.])
-fi
-])
-
-dnl ### A macro to determine if procfs is pollable.
-AC_DEFUN([AC_POLLABLE_PROCFS],
-[AC_MSG_CHECKING(for pollable procfs)
-AC_CACHE_VAL(ac_cv_pollable_procfs,
-[AC_RUN_IFELSE([AC_LANG_SOURCE([[
-#include <stdio.h>
-#include <signal.h>
-#include <sys/procfs.h>
-#include <sys/stropts.h>
-#include <poll.h>
-
-#ifdef HAVE_MP_PROCFS
-#define PIOCSTOP PCSTOP
-#define POLLWANT POLLWRNORM
-#define PROC "/proc/%d/ctl"
-#define PROC_MODE "w"
-int IOCTL (int fd, int cmd, int arg) {
- return write (fd, &cmd, sizeof cmd);
-}
-#else
-#define POLLWANT POLLPRI
-#define PROC "/proc/%d"
-#define PROC_MODE "r+"
-#define IOCTL ioctl
-#endif
-
-main()
-{
- int pid;
- char proc[32];
- FILE *pfp;
- struct pollfd pfd;
-
- if ((pid = fork()) == 0) {
- pause();
- exit(0);
- }
- sprintf(proc, PROC, pid);
- if ((pfp = fopen(proc, PROC_MODE)) == NULL)
- goto fail;
- if (IOCTL(fileno(pfp), PIOCSTOP, NULL) < 0)
- goto fail;
- pfd.fd = fileno(pfp);
- pfd.events = POLLWANT;
- if (poll(&pfd, 1, 0) < 0)
- goto fail;
- if (!(pfd.revents & POLLWANT))
- goto fail;
- kill(pid, SIGKILL);
- exit(0);
-fail:
- kill(pid, SIGKILL);
- exit(1);
-}
-]])],[ac_cv_pollable_procfs=yes],[ac_cv_pollable_procfs=no],[
-# Guess or punt.
-case "$host_os" in
-solaris2*|irix5*|svr4.2uw*|svr5*)
- ac_cv_pollable_procfs=yes
- ;;
-*)
- ac_cv_pollable_procfs=no
- ;;
-esac
-])])
-AC_MSG_RESULT($ac_cv_pollable_procfs)
-if test "$ac_cv_pollable_procfs" = yes
-then
- AC_DEFINE([HAVE_POLLABLE_PROCFS], 1,
-[Define if you have SVR4 and the poll system call works on /proc files.])
-fi
-])
-
-dnl ### A macro to determine if the prstatus structure has a pr_syscall member.
-AC_DEFUN([AC_STRUCT_PR_SYSCALL],
-[AC_MSG_CHECKING(for pr_syscall in struct prstatus)
-AC_CACHE_VAL(ac_cv_struct_pr_syscall,
-[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/procfs.h>]], [[#ifdef HAVE_MP_PROCFS
-pstatus_t s;
-s.pr_lwp.pr_syscall
-#else
-prstatus_t s;
-s.pr_syscall
-#endif]])],[ac_cv_struct_pr_syscall=yes],[ac_cv_struct_pr_syscall=no])])
-AC_MSG_RESULT($ac_cv_struct_pr_syscall)
-if test "$ac_cv_struct_pr_syscall" = yes
-then
- AC_DEFINE([HAVE_PR_SYSCALL], 1,
-[Define if the prstatus structure in sys/procfs.h has a pr_syscall member.])
-fi
-])
but also print regular output while processes are running.
.TP
.B \-D
-(Not available on SVR4 and FreeBSD.)
Run tracer process as a detached grandchild, not as parent of the
tracee. This reduces the visible effect of
.B strace
being traced, it is suspended until an appropriate child process either
terminates or incurs a signal that would cause it to terminate (as
determined from the child's current signal disposition).
-.IP
-On SunOS 4.x the tracing of
-.BR vfork s
-is accomplished with some dynamic linking trickery.
.TP
.B \-ff
If the
+++ /dev/null
-/*
- * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
- * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
- * All rights reserved.
- *
- * 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. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
- *
- * $Id$
- */
-
-/* Obsolete syscalls */
-#define sys_otime printargs
-#define sys_osetuid printargs
-#define sys_ostime printargs
-#define sys_oalarm printargs
-#define sys_ofstat printargs
-#define sys_opause printargs
-#define sys_outime printargs
-#define sys_onice printargs
-#define sys_oftime printargs
-#define sys_osetpgrp printargs
-#define sys_otimes printargs
-#define sys_osetgid printargs
-#define sys_ossig printargs
-#define sys_owait3 printargs
-#define sys_omsync printargs
-#define sys_ovadvise printargs
-#define sys_omadvise printargs
-#define sys_ovlimit printargs
-#define sys_owait printargs
-#define sys_ovtimes printargs
-#define sys_oldquota printargs
-#define sys_getdirentries printargs
-
-/* like another call */
-#define sys_chroot sys_chdir
-#define sys_rmdir sys_chdir
-#define sys_unlink sys_chdir
-#define sys_dup sys_close
-#define sys_fchdir sys_close
-#define sys_fchroot sys_close
-#define sys_rename sys_link
-#define sys_symlink sys_link
-
-/* No interesting parameters or return values */
-#define sys_vhangup printargs
-#define sys_sys_setsid printargs
-#define sys_errsys printargs
-#define sys_nosys printargs
-
-/* Don't know what to do with these */
-#define sys_sstk printargs
-#define sys_profil printargs
-#define sys_vtrace printargs
-#define sys_async_daemon printargs
-#define sys_nfs_getfh printargs
-#define sys_rtschedule printargs
-#define sys_auditsys printargs
-#define sys_rfssys printargs
-#define sys_vpixsys printargs
-#define sys_getdopt printargs
-#define sys_setdopt printargs
-#define sys_semsys printargs
-#define sys_msgsys printargs
-#define sys_shmsys printargs
-#define sys_semop printargs
+++ /dev/null
- "ERRNO_0", /* 0 */
- "EPERM", /* 1 */
- "ENOENT", /* 2 */
- "ESRCH", /* 3 */
- "EINTR", /* 4 */
- "EIO", /* 5 */
- "ENXIO", /* 6 */
- "E2BIG", /* 7 */
- "ENOEXEC", /* 8 */
- "EBADF", /* 9 */
- "ECHILD", /* 10 */
- "EAGAIN", /* 11 */
- "ENOMEM", /* 12 */
- "EACCES", /* 13 */
- "EFAULT", /* 14 */
- "ENOTBLK", /* 15 */
- "EBUSY", /* 16 */
- "EEXIST", /* 17 */
- "EXDEV", /* 18 */
- "ENODEV", /* 19 */
- "ENOTDIR", /* 20 */
- "EISDIR", /* 21 */
- "EINVAL", /* 22 */
- "ENFILE", /* 23 */
- "EMFILE", /* 24 */
- "ENOTTY", /* 25 */
- "ETXTBSY", /* 26 */
- "EFBIG", /* 27 */
- "ENOSPC", /* 28 */
- "ESPIPE", /* 29 */
- "EROFS", /* 30 */
- "EMLINK", /* 31 */
- "EPIPE", /* 32 */
- "EDOM", /* 33 */
- "ERANGE", /* 34 */
- "EWOULDBLOCK", /* 35 */
- "EINPROGRESS", /* 36 */
- "EALREADY", /* 37 */
- "ENOTSOCK", /* 38 */
- "EDESTADDRREQ", /* 39 */
- "EMSGSIZE", /* 40 */
- "EPROTOTYPE", /* 41 */
- "ENOPROTOOPT", /* 42 */
- "EPROTONOSUPPORT", /* 43 */
- "ESOCKTNOSUPPORT", /* 44 */
- "EOPNOTSUPP", /* 45 */
- "EPFNOSUPPORT", /* 46 */
- "EAFNOSUPPORT", /* 47 */
- "EADDRINUSE", /* 48 */
- "EADDRNOTAVAIL", /* 49 */
- "ENETDOWN", /* 50 */
- "ENETUNREACH", /* 51 */
- "ENETRESET", /* 52 */
- "ECONNABORTED", /* 53 */
- "ECONNRESET", /* 54 */
- "ENOBUFS", /* 55 */
- "EISCONN", /* 56 */
- "ENOTCONN", /* 57 */
- "ESHUTDOWN", /* 58 */
- "ETOOMANYREFS", /* 59 */
- "ETIMEDOUT", /* 60 */
- "ECONNREFUSED", /* 61 */
- "ELOOP", /* 62 */
- "ENAMETOOLONG", /* 63 */
- "EHOSTDOWN", /* 64 */
- "EHOSTUNREACH", /* 65 */
- "ENOTEMPTY", /* 66 */
- "EPROCLIM", /* 67 */
- "EUSERS", /* 68 */
- "EDQUOT", /* 69 */
- "ESTALE", /* 70 */
- "EREMOTE", /* 71 */
- "ENOSTR", /* 72 */
- "ETIME", /* 73 */
- "ENOSR", /* 74 */
- "ENOMSG", /* 75 */
- "EBADMSG", /* 76 */
- "EIDRM", /* 77 */
- "EDEADLK", /* 78 */
- "ENOLCK", /* 79 */
- "ENONET", /* 80 */
- "ERREMOTE", /* 81 */
- "ENOLINK", /* 82 */
- "EADV", /* 83 */
- "ESRMNT", /* 84 */
- "ECOMM", /* 85 */
- "EPROTO", /* 86 */
- "EMULTIHOP", /* 87 */
- "EDOTDOT", /* 88 */
- "EREMCHG", /* 89 */
- "ENOSYS", /* 90 */
+++ /dev/null
-{"sun/audioio.h", "AUDIO_DRAIN", 0x20004103},
-{"sun/isdnio.h", "ISDN_PH_ACTIVATE_REQ", 0x2000410a},
-{"sun/isdnio.h", "ISDN_MPH_DEACTIVATE_REQ", 0x2000410b},
-{"sun/fbio.h", "FBIO_WID_DBL_SET", 0x20004625},
-{"pixrect/gp1var.h", "GP1IO_SCMAP", 0x20004766},
-{"sun/mem.h", "MM_HRCNT", 0x20004d02},
-{"sundev/openpromio.h", "OPROMGETOPT", 0x20004f01},
-{"sundev/openpromio.h", "OPROMSETOPT", 0x20004f02},
-{"sundev/openpromio.h", "OPROMNXTOPT", 0x20004f03},
-{"sundev/openpromio.h", "OPROMSETOPT2", 0x20004f04},
-{"sundev/openpromio.h", "OPROMNEXT", 0x20004f05},
-{"sundev/openpromio.h", "OPROMCHILD", 0x20004f06},
-{"sundev/openpromio.h", "OPROMGETPROP", 0x20004f07},
-{"sundev/openpromio.h", "OPROMNXTPROP", 0x20004f08},
-{"sundev/openpromio.h", "OPROMU2P", 0x20004f09},
-{"sundev/openpromio.h", "OPROMGETCONS", 0x20004f0a},
-{"stropts.h", "I_POP", 0x20005303},
-{"sys/stropts.h", "I_POP", 0x20005303},
-{"stropts.h", "I_FLUSH", 0x20005305},
-{"sys/stropts.h", "I_FLUSH", 0x20005305},
-{"sys/stropts.h", "I_SRDOPT", 0x20005306},
-{"stropts.h", "I_SRDOPT", 0x20005306},
-{"sys/stropts.h", "I_SETSIG", 0x20005309},
-{"stropts.h", "I_SETSIG", 0x20005309},
-{"sys/stropts.h", "I_LINK", 0x2000530c},
-{"stropts.h", "I_LINK", 0x2000530c},
-{"sys/stropts.h", "I_UNLINK", 0x2000530d},
-{"stropts.h", "I_UNLINK", 0x2000530d},
-{"sys/stropts.h", "I_SENDFD", 0x20005311},
-{"stropts.h", "I_SENDFD", 0x20005311},
-{"sys/stropts.h", "I_PLINK", 0x20005313},
-{"stropts.h", "I_PLINK", 0x20005313},
-{"stropts.h", "I_PUNLINK", 0x20005314},
-{"sys/stropts.h", "I_PUNLINK", 0x20005314},
-{"termio.h", "TCSBRK", 0x20005405},
-{"sys/termio.h", "TCSBRK", 0x20005405},
-{"termios.h", "TCXONC", 0x20005406},
-{"sys/termios.h", "TCXONC", 0x20005406},
-{"sys/termios.h", "TCFLSH", 0x20005407},
-{"termios.h", "TCFLSH", 0x20005407},
-{"sun/tvio.h", "TVIOGRAB", 0x2000581d},
-{"sun/tvio.h", "TVIORELEASE", 0x2000581e},
-{"sun/tvio.h", "TVIOREDIRECT", 0x20005822},
-{"sun/tvio.h", "TVIOSYNC", 0x20005825},
-{"sun/tvio.h", "TVIOVWAIT", 0x2000582d},
-{"sun/tvio.h", "TVIOSLOOPBACKCAL", 0x2000583d},
-{"sbusdev/bpp_io.h", "BPPIOC_TESTIO", 0x20006206},
-{"scsi/targets/srdef.h", "CDROMPAUSE", 0x2000630a},
-{"sundev/srreg.h", "CDROMPAUSE", 0x2000630a},
-{"sundev/srreg.h", "CDROMRESUME", 0x2000630b},
-{"sundev/srreg.h", "CDROMSTOP", 0x20006369},
-{"scsi/targets/srdef.h", "CDROMSTOP", 0x20006369},
-{"scsi/targets/srdef.h", "CDROMSTART", 0x2000636a},
-{"sundev/srreg.h", "CDROMSTART", 0x2000636a},
-{"scsi/targets/srdef.h", "CDROMEJECT", 0x2000636b},
-{"sundev/srreg.h", "CDROMEJECT", 0x2000636b},
-{"sun/dkio.h", "FDKEJECT", 0x20006470},
-{"sys/filio.h", "FIOCLEX", 0x20006601},
-{"sys/filio.h", "FIONCLEX", 0x20006602},
-{"sys/filio.h", "FIOLFS", 0x20006640},
-{"sys/filio.h", "FIOLFSS", 0x20006641},
-{"sys/filio.h", "FIOFFS", 0x20006642},
-{"sys/filio.h", "FIOAI", 0x20006643},
-{"sys/filio.h", "FIODUTIMES", 0x20006644},
-{"sys/filio.h", "FIODIO", 0x20006645},
-{"sys/filio.h", "FIODIOS", 0x20006646},
-{"sunwindow/win_ioctl.h", "WININSERT", 0x20006703},
-{"sunwindow/win_ioctl.h", "WINREMOVE", 0x20006704},
-{"sunwindow/win_ioctl.h", "WINCOMPUTECLIPPING", 0x20006712},
-{"sunwindow/win_ioctl.h", "WINLOCKDATA", 0x20006715},
-{"sunwindow/win_ioctl.h", "WINUNLOCKDATA", 0x20006716},
-{"sunwindow/win_ioctl.h", "WINGRABIO", 0x20006717},
-{"sunwindow/win_ioctl.h", "WINRELEASEIO", 0x20006718},
-{"sunwindow/win_ioctl.h", "WINUNLOCKEVENT", 0x2000671c},
-{"sunwindow/win_ioctl.h", "WINUNLOCKSCREEN", 0x2000671e},
-{"sunwindow/win_ioctl.h", "WINSCREENDESTROY", 0x2000672a},
-{"sunwindow/win_ioctl.h", "WINPRINT", 0x2000672c},
-{"sunwindow/win_ioctl.h", "WINREFUSEKBDFOCUS", 0x2000673a},
-{"sunwindow/win_ioctl.h", "WINDBLACCESS", 0x20006747},
-{"sunwindow/win_ioctl.h", "WINDBLFLIP", 0x20006748},
-{"sunwindow/win_ioctl.h", "WINDBLABSORB", 0x20006749},
-{"sunwindow/win_ioctl.h", "WINDBLRLSE", 0x2000674a},
-{"sunwindow/win_ioctl.h", "WINSHAREQUEUE", 0x20006750},
-{"sunwindow/win_ioctl.h", "WINDISCONNECT", 0x20006798},
-{"sunwindow/win_ioctl.h", "WINRECONNECT", 0x20006799},
-{"sun/ndio.h", "NDIOCSON", 0x20006e00},
-{"sun/ndio.h", "NDIOCSOFF", 0x20006e01},
-{"sun/ndio.h", "NDIOCCLEAR", 0x20006e05},
-{"net/nit_buf.h", "NIOCCTIME", 0x20007008},
-{"sys/ttold.h", "TIOCHPCL", 0x20007402},
-{"sbusdev/gtreg.h", "FB_SETSERVER", 0x20007407},
-{"sys/ttold.h", "TIOCEXCL", 0x2000740d},
-{"sys/ttold.h", "TIOCNXCL", 0x2000740e},
-{"sbusdev/gtreg.h", "FB_DISCONNECT", 0x20007410},
-{"sbusdev/gtreg.h", "FB_UNGRABHW", 0x20007414},
-{"sys/ttycom.h", "TIOCCONS", 0x20007424},
-{"sys/ttold.h", "_O_TIOCCONS", 0x20007468},
-{"sys/ttold.h", "TIOCSTART", 0x2000746e},
-{"sys/ttold.h", "TIOCSTOP", 0x2000746f},
-{"sys/ttycom.h", "TIOCNOTTY", 0x20007471},
-{"sys/ttold.h", "TIOCCDTR", 0x20007478},
-{"sys/ttold.h", "TIOCSDTR", 0x20007479},
-{"sys/ttold.h", "TIOCCBRK", 0x2000747a},
-{"sys/ttold.h", "TIOCSBRK", 0x2000747b},
-{"sys/ttycom.h", "TIOCSCTTY", 0x20007484},
-{"sun/gpio.h", "GP1IO_GET_TRUMINORDEV", 0x40014708},
-{"sundev/kbio.h", "KIOCGLED", 0x40016b0f},
-{"sundev/ppreg.h", "PPIOCGETS", 0x40017000},
-{"sundev/ppreg.h", "PPIOCGETC", 0x40017001},
-{"sun/gpio.h", "GP1IO_GET_REQDEV", 0x40024707},
-{"sun/tvio.h", "TVIOGBIND", 0x4002581f},
-{"sbusdev/bpp_io.h", "BPPIOC_GETOUTPINS", 0x40026204},
-{"sundev/srreg.h", "CDROMREADTOCHDR", 0x40026367},
-{"sbusdev/bpp_io.h", "BPPIOC_GETERR", 0x40036205},
-{"sun/audioio.h", "AUDIO_GETDEV", 0x40044104},
-{"sun/fbio.h", "FBIOGVIDEO", 0x40044608},
-{"sun/fbio.h", "GRABPAGEALLOC", 0x4004460a},
-{"sun/fbio.h", "FBIOGPLNGRP", 0x4004460d},
-{"sun/fbio.h", "FBIOGCMSIZE", 0x4004460e},
-{"sun/fbio.h", "FBIOAVAILPLNGRP", 0x40044611},
-{"sun/fbio.h", "FBIOSWINFD", 0x40044614},
-{"sun/fbio.h", "FBIOSAVWINFD", 0x40044615},
-{"sun/fbio.h", "FBIORESWINFD", 0x40044616},
-{"sun/fbio.h", "FBIOSRWINFD", 0x40044617},
-{"sun/fbio.h", "FBIOGCURMAX", 0x4004461c},
-{"sun/fbio.h", "GRABLOCKINFO", 0x4004461d},
-{"sun/fbio.h", "FBIO_DEVID", 0x40044622},
-{"sun/fbio.h", "FBIO_FULLSCREEN_ELIMINATION_GROUPS", 0x40044624},
-{"sun/fbio.h", "FBIOVRTOFFSET", 0x40044626},
-{"sun/gpio.h", "GP1IO_GET_STATIC_BLOCK", 0x40044701},
-{"sun/gpio.h", "GP1IO_GET_GBUFFER_STATE", 0x40044703},
-{"sun/gpio.h", "GP1IO_GET_RESTART_COUNT", 0x40044705},
-{"sun/gpio.h", "GP1IO_CHK_FOR_GBUFFER", 0x40044709},
-{"stropts.h", "I_NREAD", 0x40045301},
-{"sys/stropts.h", "I_NREAD", 0x40045301},
-{"sys/stropts.h", "I_GRDOPT", 0x40045307},
-{"stropts.h", "I_GRDOPT", 0x40045307},
-{"sys/stropts.h", "I_GETSIG", 0x4004530a},
-{"stropts.h", "I_GETSIG", 0x4004530a},
-{"sun/tvio.h", "TVIOGFORMAT", 0x40045801},
-{"sun/tvio.h", "TVIOGCOMPOUT", 0x40045803},
-{"sun/tvio.h", "TVIOGSYNC", 0x40045805},
-{"pixrect/cg8var.h", "PIPIO_G_PIP_ON_OFF", 0x40045805},
-{"sun/tvio.h", "TVIOGOUT", 0x40045807},
-{"sun/tvio.h", "TVIOGCOMPRESS", 0x40045809},
-{"pixrect/cg8var.h", "PIPIO_G_PIP_ON_OFF_RESUME", 0x40045809},
-{"pixrect/cg8var.h", "PIPIO_G_PIP_ON_OFF_SUSPEND", 0x4004580a},
-{"sun/tvio.h", "TVIOGCHROMAGAIN", 0x4004580b},
-{"sun/tvio.h", "TVIOGREDGAIN", 0x4004580d},
-{"sun/tvio.h", "TVIOGREDBLACK", 0x4004580f},
-{"sun/tvio.h", "TVIOGGREENGAIN", 0x40045811},
-{"sun/tvio.h", "TVIOGGREENBLACK", 0x40045813},
-{"sun/tvio.h", "TVIOGBLUEGAIN", 0x40045815},
-{"sun/tvio.h", "TVIOGBLUEBLACK", 0x40045817},
-{"sun/tvio.h", "TVIOGLUMAGAIN", 0x40045819},
-{"sun/tvio.h", "TVIOGBTYPE", 0x40045821},
-{"sun/tvio.h", "TVIOGLIVE", 0x40045823},
-{"sun/tvio.h", "TVIOGCHROMASEP", 0x40045827},
-{"pixrect/cg8var.h", "PIPIO_G_CURSOR_COLOR_FREEZE", 0x40045828},
-{"sun/tvio.h", "TVIOGCHROMADEMOD", 0x40045829},
-{"pixrect/cg8var.h", "PIPIO_G_TEST", 0x4004582b},
-{"sun/tvio.h", "TVIOGGENLOCK", 0x4004582b},
-{"sun/tvio.h", "TVIOGSYNCABSENT", 0x4004582e},
-{"sun/tvio.h", "TVIOGBURSTABSENT", 0x4004582f},
-{"sun/tvio.h", "TVIOGIBSTATE", 0x40045837},
-{"sun/tvio.h", "TVIOGABSTATE", 0x40045839},
-{"sun/tvio.h", "TVIOGCONTROL", 0x4004583b},
-{"sun/dkio.h", "FDKGETCHANGE", 0x4004646f},
-{"sys/filio.h", "FIOGETOWN", 0x4004667b},
-{"sys/filio.h", "FIONREAD", 0x4004667f},
-{"sunwindow/win_ioctl.h", "WINGETUSERFLAGS", 0x4004670e},
-{"sunwindow/win_ioctl.h", "WINGETOWNER", 0x40046710},
-{"sunwindow/win_ioctl.h", "WINGETBUTTONORDER", 0x40046724},
-{"sunwindow/win_ioctl.h", "WINGETNEXTINPUT", 0x40046739},
-{"sunwindow/win_ioctl.h", "WINGETPLANEGROUP", 0x40046740},
-{"sunwindow/win_ioctl.h", "WINGETNOTIFYALL", 0x40046751},
-{"sundev/kbio.h", "KIOCGTRANS", 0x40046b05},
-{"sundev/kbio.h", "KIOCGTRANSABLE", 0x40046b07},
-{"sundev/kbio.h", "KIOCTYPE", 0x40046b09},
-{"sundev/kbio.h", "KIOCGDIRECT", 0x40046b0b},
-{"sundev/kbio.h", "KIOCGCOMPAT", 0x40046b11},
-{"sundev/kbio.h", "KIOCLAYOUT", 0x40046b14},
-{"sys/sockio.h", "SIOCGHIWAT", 0x40047301},
-{"sys/sockio.h", "SIOCGLOWAT", 0x40047303},
-{"sys/sockio.h", "SIOCATMARK", 0x40047307},
-{"sys/sockio.h", "SIOCGPGRP", 0x40047309},
-{"sys/ttold.h", "TIOCGETD", 0x40047400},
-{"sys/ttold.h", "TIOCMODG", 0x40047403},
-{"sbusdev/gtreg.h", "FB_GETWPART", 0x4004740a},
-{"sbusdev/gtreg.h", "FB_GETMONITOR", 0x4004740c},
-{"sbusdev/gtreg.h", "FB_GRABHW", 0x40047413},
-{"sbusdev/gtreg.h", "FB_GETCLUTPART", 0x40047418},
-{"sys/ttold.h", "TIOCGETX", 0x40047423},
-{"sys/ttycom.h", "TIOCGSOFTCAR", 0x40047464},
-{"sys/ttycom.h", "TIOCMGET", 0x4004746a},
-{"sys/ttycom.h", "TIOCOUTQ", 0x40047473},
-{"sys/ttycom.h", "TIOCGPGRP", 0x40047477},
-{"sys/ttold.h", "TIOCLGET", 0x4004747c},
-{"sys/ttycom.h", "TIOCISPACE", 0x40047480},
-{"sys/ttycom.h", "TIOCISIZE", 0x40047481},
-{"sys/ttycom.h", "TIOCGETPGRP", 0x40047483},
-{"sys/vcmd.h", "VGETSTATE", 0x40047600},
-{"sundev/vuid_event.h", "VUIDGFORMAT", 0x40047602},
-{"sun/dkio.h", "DKIOCGTYPE", 0x4006647c},
-{"sys/ttold.h", "TIOCGETP", 0x40067408},
-{"sys/ttold.h", "TIOCGETC", 0x40067412},
-{"sys/ttold.h", "TIOCGLTC", 0x40067474},
-{"sun/tvio.h", "TVIOGPOS", 0x4008581b},
-{"sun/dkio.h", "DKIOCGPART", 0x40086404},
-{"sun/dkio.h", "FDKGETSEARCH", 0x4008646c},
-{"sunwindow/win_ioctl.h", "WINNEXTFREE", 0x40086705},
-{"sunwindow/win_ioctl.h", "WINGETRECT", 0x4008670a},
-{"sunwindow/win_ioctl.h", "WINGETSAVEDRECT", 0x4008670d},
-{"sunwindow/win_ioctl.h", "WINGETEVENTTIMEOUT", 0x4008673c},
-{"sunwindow/win_ioctl.h", "WINDBLCURRENT", 0x4008674d},
-{"sun/sqz.h", "SQZGET", 0x40087102},
-{"sbusdev/gtreg.h", "FB_GETLIGHTPENPARAM", 0x4008741b},
-{"sbusdev/gtreg.h", "FB_GETGAMMA", 0x40087420},
-{"sys/ttycom.h", "TIOCGSIZE", 0x40087426},
-{"sys/ttold.h", "_O_TIOCGSIZE", 0x40087466},
-{"sys/ttycom.h", "TIOCGWINSZ", 0x40087468},
-{"sun/dkio.h", "DKIOCINFO", 0x400c6408},
-{"sun/dkio.h", "DKIOCGDIAG", 0x400c6474},
-{"sun/dkio.h", "DKIOCGLOG", 0x400c6476},
-{"sunwindow/win_ioctl.h", "WINGETFOCUSEVENT", 0x400c6747},
-{"sunwindow/win_ioctl.h", "WINGETSWALLOWEVENT", 0x400c6749},
-{"pixrect/cg8var.h", "PIPIO_G_EMULATION_MODE", 0x400e5803},
-{"sun/fbio.h", "FBIOGXINFO", 0x40104627},
-{"sys/stropts.h", "I_RECVFD", 0x40105312},
-{"stropts.h", "I_RECVFD", 0x40105312},
-{"sunwindow/win_ioctl.h", "WINGETSCREENPOSITIONS", 0x4010672d},
-{"scsi/targets/stdef.h", "STIOCGET", 0x40106d02},
-{"sundev/streg.h", "STIOCGET", 0x40106d02},
-{"sys/termio.h", "TCGETA", 0x40125401},
-{"termio.h", "TCGETA", 0x40125401},
-{"sunwindow/win_ioctl.h", "WINGETAVAILPLANEGROUPS", 0x40146742},
-{"sun/fbio.h", "FBIOGTYPE", 0x40184600},
-{"sun/fbio.h", "FBIOGINFO", 0x40184602},
-{"sun/fbio.h", "FBIODBLGINFO", 0x40184612},
-{"sys/mtio.h", "MTIOCGET", 0x40186d02},
-{"sun/dkio.h", "FDKIOGCHAR", 0x401c6472},
-{"sun/fbio.h", "FBIOMONINFO", 0x40204628},
-{"sbusdev/bpp_io.h", "BPPIOC_GETPARMS", 0x40206202},
-{"sbusdev/gtreg.h", "FB_GT_GETVERSION", 0x40207429},
-{"sys/termios.h", "TCGETS", 0x40245408},
-{"termios.h", "TCGETS", 0x40245408},
-{"sun/dkio.h", "DKIOCGGEOM", 0x40266402},
-{"sunwindow/win_ioctl.h", "WINGETKBDMASK", 0x40346734},
-{"sunwindow/win_ioctl.h", "WINGETPICKMASK", 0x40346735},
-{"sun/dkio.h", "FDKGETDRIVECHAR", 0x4038646e},
-{"sun/dkio.h", "DKIOCGCONF", 0x403c647e},
-{"sun/tvio.h", "TVIOGVIDEOCAL", 0x40405831},
-{"sun/tvio.h", "TVIONVREAD", 0x40405833},
-{"sun/dkio.h", "DKIOCGAPART", 0x4040647a},
-{"sunwindow/win_ioctl.h", "WINGETSCALING", 0x40406726},
-{"sun/fbio.h", "FBIOGATTR", 0x40584606},
-{"sunwindow/win_ioctl.h", "WINSCREENGET", 0x40646729},
-{"sunwindow/win_ioctl.h", "WINGETINPUTMASK", 0x406c6713},
-{"sun/audioio.h", "AUDIO_GETINFO", 0x40844101},
-{"pixrect/cg8var.h", "PIPIO_G_FB_INFO", 0x40d05801},
-{"sundev/kbio.h", "KIOCSLED", 0x80016b0e},
-{"sundev/ppreg.h", "PPIOCSETC", 0x80017002},
-{"sys/ttycom.h", "TIOCSTI", 0x80017472},
-{"sun/tvio.h", "TVIOSBIND", 0x80025820},
-{"sbusdev/bpp_io.h", "BPPIOC_SETOUTPINS", 0x80026203},
-{"sun/isdnio.h", "ISDN_MESSAGE_SET", 0x8004410c},
-{"sun/fbio.h", "FBIOSVIDEO", 0x80044607},
-{"sun/fbio.h", "FBIOVERTICAL", 0x80044609},
-{"sun/fbio.h", "GRABPAGEFREE", 0x8004460b},
-{"sun/fbio.h", "GRABATTACH", 0x8004460c},
-{"sun/fbio.h", "FBIOSCMSIZE", 0x8004460f},
-{"sun/fbio.h", "FBIOSCMS", 0x80044610},
-{"sun/fbio.h", "FBIOSCURPOS", 0x8004461a},
-{"sun/fbio.h", "FBIOGCURPOS", 0x8004461b},
-{"sun/fbio.h", "FBIO_U_RST", 0x80044623},
-{"sun/gpio.h", "GP1IO_FREE_STATIC_BLOCK", 0x80044702},
-{"sun/gpio.h", "GP1IO_CHK_GP", 0x80044704},
-{"sun/gpio.h", "GP1IO_REDIRECT_DEVFB", 0x80044706},
-{"sun/gpio.h", "GP1IO_SET_USING_GBUFFER", 0x8004470a},
-{"sun/mem.h", "MM_CCRW", 0x80044d03},
-{"sun/mem.h", "MM_PCNT0", 0x80044d04},
-{"sun/mem.h", "MM_PCNT1", 0x80044d05},
-{"sun/vddrv.h", "VDFREEVADDR", 0x80045604},
-{"sun/tvio.h", "TVIOSFORMAT", 0x80045802},
-{"sun/tvio.h", "TVIOSCOMPOUT", 0x80045804},
-{"sun/tvio.h", "TVIOSSYNC", 0x80045806},
-{"pixrect/cg8var.h", "PIPIO_S_PIP_ON_OFF", 0x80045807},
-{"sun/tvio.h", "TVIOSOUT", 0x80045808},
-{"sun/tvio.h", "TVIOSCOMPRESS", 0x8004580a},
-{"sun/tvio.h", "TVIOSCHROMAGAIN", 0x8004580c},
-{"sun/tvio.h", "TVIOSREDGAIN", 0x8004580e},
-{"sun/tvio.h", "TVIOSREDBLACK", 0x80045810},
-{"sun/tvio.h", "TVIOSGREENGAIN", 0x80045812},
-{"sun/tvio.h", "TVIOSGREENBLACK", 0x80045814},
-{"sun/tvio.h", "TVIOSBLUEGAIN", 0x80045816},
-{"sun/tvio.h", "TVIOSBLUEBLACK", 0x80045818},
-{"sun/tvio.h", "TVIOSLUMAGAIN", 0x8004581a},
-{"sun/tvio.h", "TVIOSLIVE", 0x80045824},
-{"sun/tvio.h", "TVIOSCHROMASEP", 0x80045828},
-{"pixrect/cg8var.h", "PIPIO_S_CURSOR_COLOR_FREEZE", 0x80045829},
-{"pixrect/cg8var.h", "PIPIO_S_MAP_SLOT", 0x8004582a},
-{"sun/tvio.h", "TVIOSCHROMADEMOD", 0x8004582a},
-{"pixrect/cg8var.h", "PIPIO_S_TEST", 0x8004582c},
-{"sun/tvio.h", "TVIOSGENLOCK", 0x8004582c},
-{"sun/tvio.h", "TVIOSIBADVANCE", 0x80045835},
-{"sun/tvio.h", "TVIOSABSTATE", 0x80045838},
-{"sun/tvio.h", "TVIOSCONTROL", 0x8004583c},
-{"sundev/srreg.h", "CDROMPLAYTRKIND", 0x8004630d},
-{"scsi/targets/srdef.h", "CDROMPLAYTRKIND", 0x8004630d},
-{"sundev/srreg.h", "CDROMVOLCTRL", 0x8004630e},
-{"sun/dkio.h", "DKIOCGBAD", 0x80046478},
-{"sun/dkio.h", "DKIOCSBAD", 0x80046479},
-{"sys/filio.h", "FIOSETOWN", 0x8004667c},
-{"sys/filio.h", "FIOASYNC", 0x8004667d},
-{"sys/filio.h", "FIONBIO", 0x8004667e},
-{"sunwindow/win_ioctl.h", "WINSETMOUSE", 0x80046706},
-{"sunwindow/win_ioctl.h", "WINSETUSERFLAGS", 0x8004670f},
-{"sunwindow/win_ioctl.h", "WINSETOWNER", 0x80046711},
-{"sunwindow/win_ioctl.h", "WINDONEDAMAGED", 0x80046721},
-{"sunwindow/win_ioctl.h", "WINSETBUTTONORDER", 0x80046725},
-{"sunwindow/win_ioctl.h", "WINSETNEXTINPUT", 0x80046738},
-{"sunwindow/win_ioctl.h", "WINSETKBDFOCUS", 0x8004673d},
-{"sunwindow/win_ioctl.h", "WINSETPLANEGROUP", 0x8004673f},
-{"sunwindow/win_ioctl.h", "WINSETNOTIFYALL", 0x80046752},
-{"sunwindow/win_ioctl.h", "WINSETRECQUE", 0x800467c8},
-{"sunwindow/win_ioctl.h", "WINSETRECORD", 0x800467c9},
-{"sunwindow/win_ioctl.h", "WINSETPLAYBACK", 0x800467cb},
-{"sys/sockio.h", "SIOCSPROMISC", 0x80046930},
-{"sundev/kbio.h", "KIOCTRANS", 0x80046b00},
-{"sundev/kbio.h", "KIOCTRANSABLE", 0x80046b06},
-{"sundev/kbio.h", "KIOCCMD", 0x80046b08},
-{"sundev/kbio.h", "KIOCSDIRECT", 0x80046b0a},
-{"sundev/kbio.h", "KIOCSCOMPAT", 0x80046b10},
-{"sun/ndio.h", "NDIOCSAT", 0x80046e04},
-{"sun/ndio.h", "NDIOCVER", 0x80046e07},
-{"net/nit_if.h", "NIOCSFLAGS", 0x80047004},
-{"net/nit_if.h", "NIOCSSNAP", 0x80047006},
-{"net/nit_buf.h", "NIOCSCHUNK", 0x80047009},
-{"sun/sqz.h", "SQZSET", 0x80047101},
-{"sys/sockio.h", "SIOCSHIWAT", 0x80047300},
-{"sys/sockio.h", "SIOCSLOWAT", 0x80047302},
-{"sys/sockio.h", "SIOCSPGRP", 0x80047308},
-{"sys/ttold.h", "TIOCSETD", 0x80047401},
-{"sys/ttold.h", "TIOCMODS", 0x80047404},
-{"sbusdev/gtreg.h", "FB_FCSFREE", 0x80047406},
-{"sbusdev/gtreg.h", "FB_SETDIAGMODE", 0x80047408},
-{"sbusdev/gtreg.h", "FB_SETWPART", 0x80047409},
-{"sbusdev/gtreg.h", "FB_SETMONITOR", 0x8004740b},
-{"sys/ttold.h", "TIOCFLUSH", 0x80047410},
-{"sbusdev/gtreg.h", "FB_LOADKMCB", 0x80047411},
-{"sbusdev/gtreg.h", "FB_SETCLUTPART", 0x80047417},
-{"sbusdev/gtreg.h", "FB_LIGHTPENENABLE", 0x80047419},
-{"sys/ttycom.h", "TIOCTCNTL", 0x80047420},
-{"sys/ttycom.h", "TIOCSIGNAL", 0x80047421},
-{"sys/ttold.h", "TIOCSETX", 0x80047422},
-{"sys/ttycom.h", "TIOCSSOFTCAR", 0x80047465},
-{"sys/ttycom.h", "TIOCUCNTL", 0x80047466},
-{"sys/ttycom.h", "TIOCREMOTE", 0x80047469},
-{"sys/ttycom.h", "TIOCMBIC", 0x8004746b},
-{"sys/ttycom.h", "TIOCMBIS", 0x8004746c},
-{"sys/ttycom.h", "TIOCMSET", 0x8004746d},
-{"sys/ttycom.h", "TIOCPKT", 0x80047470},
-{"sys/ttycom.h", "TIOCSPGRP", 0x80047476},
-{"sys/ttold.h", "TIOCLSET", 0x8004747d},
-{"sys/ttold.h", "TIOCLBIC", 0x8004747e},
-{"sys/ttold.h", "TIOCLBIS", 0x8004747f},
-{"sys/ttycom.h", "TIOCSETPGRP", 0x80047482},
-{"sundev/vuid_event.h", "VUIDSFORMAT", 0x80047601},
-{"sys/vcmd.h", "VSETSTATE", 0x80047601},
-{"sundev/vuid_event.h", "VUIDSADDR", 0x80047603},
-{"scsi/targets/srdef.h", "CDROMPLAYMSF", 0x8006630c},
-{"sundev/srreg.h", "CDROMPLAYMSF", 0x8006630c},
-{"sun/dkio.h", "DKIOCSTYPE", 0x8006647d},
-{"sys/ttold.h", "TIOCSETP", 0x80067409},
-{"sys/ttold.h", "TIOCSETN", 0x8006740a},
-{"sys/ttold.h", "TIOCSETC", 0x80067411},
-{"sys/ttold.h", "TIOCSLTC", 0x80067475},
-{"sun/isdnio.h", "ISDN_SET_LOOPBACK", 0x8008410e},
-{"sun/isdnio.h", "ISDN_RESET_LOOPBACK", 0x8008410f},
-{"sundev/lightpenreg.h", "LIGHTPEN_CALIBRATE", 0x80084c01},
-{"sun/tvio.h", "TVIOSPOS", 0x8008581c},
-{"sun/dkio.h", "DKIOCSPART", 0x80086405},
-{"sun/dkio.h", "FDKSETSEARCH", 0x8008646b},
-{"sunwindow/win_ioctl.h", "WINSETLINK", 0x80086701},
-{"sunwindow/win_ioctl.h", "WINSETRECT", 0x8008670b},
-{"sunwindow/win_ioctl.h", "WINSETSAVEDRECT", 0x8008670c},
-{"sunwindow/win_ioctl.h", "WINPARTIALREPAIR", 0x8008672b},
-{"sunwindow/win_ioctl.h", "WINSETEVENTTIMEOUT", 0x8008673b},
-{"sunwindow/win_ioctl.h", "WINDBLSET", 0x8008674b},
-{"sunwindow/win_ioctl.h", "WINSETPLAYINTR", 0x800867cc},
-{"sys/mtio.h", "MTIOCTOP", 0x80086d01},
-{"net/nit_buf.h", "NIOCSTIME", 0x80087006},
-{"sbusdev/gtreg.h", "FB_VMBACK", 0x80087415},
-{"sbusdev/gtreg.h", "FB_VMUNBACK", 0x80087416},
-{"sbusdev/gtreg.h", "FB_SETLIGHTPENPARAM", 0x8008741a},
-{"sbusdev/gtreg.h", "FB_SETGAMMA", 0x8008741f},
-{"sys/ttycom.h", "TIOCSSIZE", 0x80087425},
-{"sys/ttold.h", "_O_TIOCSSIZE", 0x80087467},
-{"sys/ttycom.h", "TIOCSWINSZ", 0x80087467},
-{"sun/isdnio.h", "ISDN_SET_PARAM", 0x800c4110},
-{"sun/fbio.h", "FBIO_WID_FREE", 0x800c461f},
-{"sun/fbio.h", "FBIO_WID_PUT", 0x800c4620},
-{"sun/fbio.h", "FBIO_WID_GET", 0x800c4621},
-{"sundev/lightpenreg.h", "LIGHTPEN_FILTER", 0x800c4c02},
-{"sundev/fdreg.h", "V_FORMAT", 0x800c5605},
-{"sundev/srreg.h", "CDROMREADMODE2", 0x800c636e},
-{"sundev/srreg.h", "CDROMREADMODE1", 0x800c636f},
-{"sunwindow/win_ioctl.h", "WINSETCURSOR", 0x800c6707},
-{"sunwindow/win_ioctl.h", "WINSETFOCUSEVENT", 0x800c6746},
-{"sunwindow/win_ioctl.h", "WINSETSWALLOWEVENT", 0x800c6748},
-{"sundev/msio.h", "MSIOSETPARMS", 0x800c6d03},
-{"sbusdev/gtreg.h", "FB_CLUTFREE", 0x800c7402},
-{"sbusdev/gtreg.h", "FB_VMCTL", 0x800c741e},
-{"pixrect/cg8var.h", "PIPIO_S_EMULATION_MODE", 0x800e5804},
-{"sunwindow/win_ioctl.h", "WINSCREENPOSITIONS", 0x8010672b},
-{"sundev/kbio.h", "KIOCSETKEY", 0x80106b01},
-{"sun/ndio.h", "NDIOCETHER", 0x80106e08},
-{"sys/termio.h", "TCSETA", 0x80125402},
-{"termio.h", "TCSETA", 0x80125402},
-{"sys/termio.h", "TCSETAW", 0x80125403},
-{"termio.h", "TCSETAW", 0x80125403},
-{"sys/termio.h", "TCSETAF", 0x80125404},
-{"termio.h", "TCSETAF", 0x80125404},
-{"sun/fbio.h", "FBIOPUTCMAP", 0x80144603},
-{"sun/fbio.h", "FBIOGETCMAP", 0x80144604},
-{"sunwindow/win_ioctl.h", "WINSETAVAILPLANEGROUPS", 0x80146741},
-{"sunwindow/win_ioctl.h", "WINSETSYNCPT", 0x801467cd},
-{"sundev/kbio.h", "KIOCSKEY", 0x80146b0c},
-{"sun/fbio.h", "FBIODBLSINFO", 0x80184613},
-{"sun/gpio.h", "GP1IO_PUT_INFO", 0x80184700},
-{"sun/dkio.h", "DKIOCSCMD", 0x80186477},
-{"sunwindow/win_ioctl.h", "WINSETINPUTDEV", 0x80186732},
-{"sun/ndio.h", "NDIOCUSER", 0x80186e03},
-{"sun/fbio.h", "FBIOPUTCMAPI", 0x801c4629},
-{"sun/fbio.h", "FBIOGETCMAPI", 0x801c462a},
-{"sun/dkio.h", "FDKIOSCHAR", 0x801c6471},
-{"sbusdev/gtreg.h", "FB_CLUTPOST", 0x801c7404},
-{"sbusdev/bpp_io.h", "BPPIOC_SETPARMS", 0x80206201},
-{"sys/sockio.h", "SIOCSIFADDR", 0x8020690c},
-{"sys/sockio.h", "SIOCSIFDSTADDR", 0x8020690e},
-{"sys/sockio.h", "SIOCSIFFLAGS", 0x80206910},
-{"sys/sockio.h", "SIOCSIFMEM", 0x80206912},
-{"sys/sockio.h", "SIOCSIFMTU", 0x80206915},
-{"sys/sockio.h", "SIOCSIFBRDADDR", 0x80206918},
-{"sys/sockio.h", "SIOCSIFNETMASK", 0x8020691a},
-{"sys/sockio.h", "SIOCSIFMETRIC", 0x8020691c},
-{"sys/sockio.h", "SIOCUPPER", 0x80206928},
-{"sys/sockio.h", "SIOCLOWER", 0x80206929},
-{"sys/sockio.h", "SIOCSETSYNC", 0x8020692c},
-{"sys/sockio.h", "SIOCADDMULTI", 0x80206931},
-{"sys/sockio.h", "SIOCDELMULTI", 0x80206932},
-{"sys/sockio.h", "SIOCFDRESET", 0x80206933},
-{"sys/sockio.h", "SIOCFDSLEEP", 0x80206934},
-{"sys/sockio.h", "SIOCLDNSTRTFW", 0x80206936},
-{"sys/sockio.h", "SIOCGETFDSTAT", 0x80206937},
-{"sys/sockio.h", "SIOCFDNMIINT", 0x80206938},
-{"sys/sockio.h", "SIOCFDEXUSER", 0x80206939},
-{"sys/sockio.h", "SIOCFDGNETMAP", 0x8020693a},
-{"sys/sockio.h", "SIOCFDGIOCTL", 0x8020693b},
-{"net/nit_if.h", "NIOCBIND", 0x80207003},
-{"sbusdev/gtreg.h", "FB_GT_SETVERSION", 0x80207428},
-{"sys/stropts.h", "I_FDINSERT", 0x80245310},
-{"stropts.h", "I_FDINSERT", 0x80245310},
-{"termios.h", "TCSETS", 0x80245409},
-{"sys/termios.h", "TCSETS", 0x80245409},
-{"termios.h", "TCSETSW", 0x8024540a},
-{"sys/termios.h", "TCSETSW", 0x8024540a},
-{"termios.h", "TCSETSF", 0x8024540b},
-{"sys/termios.h", "TCSETSF", 0x8024540b},
-{"sys/sockio.h", "SIOCSARP", 0x8024691e},
-{"sys/sockio.h", "SIOCDARP", 0x80246920},
-{"sys/sockio.h", "SIOCSNIT", 0x80247000},
-{"sun/dkio.h", "DKIOCSGEOM", 0x80266403},
-{"sun/fbio.h", "FBIOSATTR", 0x80284605},
-{"sun/fbio.h", "FBIOSCURSOR", 0x802c4618},
-{"sunwindow/win_ioctl.h", "WINSETLOCATOR", 0x80306730},
-{"sunwindow/win_ioctl.h", "WINSETCPCURSOR", 0x80306796},
-{"sbusdev/audio_79C30.h", "AUDIOSETREG", 0x80306902},
-{"sys/sockio.h", "SIOCADDRT", 0x8030720a},
-{"sys/sockio.h", "SIOCDELRT", 0x8030720b},
-{"sunwindow/win_ioctl.h", "WINSETKBDMASK", 0x80346736},
-{"sunwindow/win_ioctl.h", "WINSETPICKMASK", 0x80346737},
-{"sun/dkio.h", "FDKSETDRIVECHAR", 0x8038646d},
-{"sun/tvio.h", "TVIOSVIDEOCAL", 0x80405832},
-{"sun/tvio.h", "TVIONVWRITE", 0x80405834},
-{"sun/dkio.h", "DKIOCSAPART", 0x8040647b},
-{"sunwindow/win_ioctl.h", "WINSETSCALING", 0x80406727},
-{"net/nit_pf.h", "NIOCSETF", 0x80527002},
-{"pixrect/gp1var.h", "GP1IO_SATTR", 0x80584765},
-{"sunwindow/win_ioctl.h", "WINSETINPUTMASK", 0x806c6714},
-{"sunwindow/win_ioctl.h", "WINSCREENNEW", 0x80706728},
-{"sunwindow/win_ioctl.h", "WINSETKBD", 0x8070672e},
-{"sunwindow/win_ioctl.h", "WINSETMS", 0x8070672f},
+++ /dev/null
-#!/bin/sh
-# Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
-# All rights reserved.
-#
-# 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. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
-#
-# $Id$
-
-if [ $# -ne 1 ]
-then
- echo "usage: $0 include-directory" >&2
- exit 1
-fi
-
-bad_defines='WINGETVALIDVALUES'
-(
- cd $1
- find . -name '*.h' -print | sed 's/^\.\///' |
- xargs egrep '^[ ]*#[ ]*define[ ][ ]*[A-Z_][A-Za-z0-9_]*[ ][ ]*_IO[RW]?\(' /dev/null |
- sed 's/\(.*\):#[ ]*define[ ]*\([A-Z_][A-Za-z0-9_]*\)[ ]*\(_IO[^)]*)\)[ ]*\(.*\)/ { "\1", "\2", \2 }, \4/' |
- sort -u
-) >ioctlent.tmp
-echo "\
-#include <sys/types.h>
-#define KERNEL
-#include <stdio.h>
-#include <strings.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/des.h>
-#include <sys/mtio.h>
-#include <sys/stropts.h>
-#include <sys/stream.h>
-#include <sys/vcmd.h>
-
-#include <net/if.h>
-#include <net/if_arp.h>
-#include <net/route.h>
-#include <net/nit.h>
-#include <net/nit_if.h>
-#include <net/nit_pf.h>
-#include <net/nit_buf.h>
-#include <net/packetfilt.h>
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/ip_icmp.h>
-#include <netinet/if_ether.h>
-
-#include <scsi/impl/uscsi.h>
-#define sprintf scsi_sprintf
-#include <scsi/scsi.h>
-#undef sprintf
-#include <scsi/targets/srdef.h>
-#include <scsi/targets/stdef.h>
-#if 0
-#include <scsi/targets/sddef.h>
-#endif
-
-#include <sun/audioio.h>
-#include <sun/fbio.h>
-#include <sun/gpio.h>
-#include <sun/ndio.h>
-#include <sun/tvio.h>
-#include <sun/mem.h>
-#include <sun/sqz.h>
-#include <sun/vddrv.h>
-#include <sun/isdnio.h>
-
-#include <machine/reg.h>
-
-#include <sundev/kbio.h>
-#include <sundev/msio.h>
-#include <sundev/fdreg.h>
-#include <sundev/ppreg.h>
-#include <sundev/openpromio.h>
-#include <sundev/lightpenreg.h>
-
-#include <sunwindow/window_hs.h>
-#include <sunwindow/win_enum.h>
-#include <sunwindow/win_ioctl.h>
-
-#include <sbusdev/audiovar.h>
-#define AMD_CHIP
-#include <sbusdev/audio_79C30.h>
-#include <sbusdev/bpp_io.h>
-#include <sbusdev/gtreg.h>
-
-#include <sys/termio.h>
-"
-echo "struct ioctlent ioctlent[] = {"
-egrep -v "$bad_defines" ioctlent.tmp | awk '
-{
- print "#ifdef " $4
- print
- print "#endif"
-}
-'
-echo "};"
-rm -f ioctlent.tmp
+++ /dev/null
- "SIG_0", /* 0 */
- "SIGHUP", /* 1 */
- "SIGINT", /* 2 */
- "SIGQUIT", /* 3 */
- "SIGILL", /* 4 */
- "SIGTRAP", /* 5 */
- "SIGABRT", /* 6 */
- "SIGEMT", /* 7 */
- "SIGFPE", /* 8 */
- "SIGKILL", /* 9 */
- "SIGBUS", /* 10 */
- "SIGSEGV", /* 11 */
- "SIGSYS", /* 12 */
- "SIGPIPE", /* 13 */
- "SIGALRM", /* 14 */
- "SIGTERM", /* 15 */
- "SIGURG", /* 16 */
- "SIGSTOP", /* 17 */
- "SIGTSTP", /* 18 */
- "SIGCONT", /* 19 */
- "SIGCHLD", /* 20 */
- "SIGTTIN", /* 21 */
- "SIGTTOU", /* 22 */
- "SIGIO", /* 23 */
- "SIGXCPU", /* 24 */
- "SIGXFSZ", /* 25 */
- "SIGVTALRM", /* 26 */
- "SIGPROF", /* 27 */
- "SIGWINCH", /* 28 */
- "SIGLOST", /* 29 */
- "SIGUSR1", /* 30 */
- "SIGUSR2", /* 31 */
+++ /dev/null
-/*
- * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
- * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
- * All rights reserved.
- *
- * 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. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
- *
- * $Id$
- */
-#include "dummy.h"
-
-int sys_nosys();
-int sys_nullsys();
-int sys_errsys();
-
-/* 1.1 processes and protection */
-int sys_gethostid(),sys_sethostname(),sys_gethostname(),sys_getpid();
-int sys_setdomainname(),sys_getdomainname();
-int sys_fork(),sys_exit(),sys_execv(),sys_execve(),sys_wait4();
-int sys_getuid(),sys_setreuid(),sys_getgid(),sys_getgroups(),sys_setregid(),sys_setgroups();
-int sys_getpgrp(),sys_setpgrp();
-int sys_sys_setsid(), sys_setpgid();
-int sys_uname();
-
-/* 1.2 memory management */
-int sys_brk(),sys_sbrk(),sys_sstk();
-int sys_getpagesize(),sys_mmap(),sys_mctl(),sys_munmap(),sys_mprotect(),sys_mincore();
-int sys_omsync(),sys_omadvise();
-
-/* 1.3 signals */
-int sys_sigvec(),sys_sigblock(),sys_sigsetmask(),sys_sigpause(),sys_sigstack(),sys_sigcleanup();
-int sys_kill(), sys_killpg(), sys_sigpending();
-
-/* 1.4 timing and statistics */
-int sys_gettimeofday(),sys_settimeofday();
-int sys_adjtime();
-int sys_getitimer(),sys_setitimer();
-
-/* 1.5 descriptors */
-int sys_getdtablesize(),sys_dup2(),sys_close();
-int sys_select(),sys_getdopt(),sys_setdopt(),sys_fcntl(),sys_flock();
-
-/* 1.6 resource controls */
-int sys_getpriority(),sys_setpriority(),sys_getrusage(),sys_getrlimit(),sys_setrlimit();
-int sys_oldquota(), sys_quotactl();
-int sys_rtschedule();
-
-/* 1.7 system operation support */
-int sys_mount(),sys_unmount(),sys_swapon();
-int sys_sync(),sys_reboot();
-int sys_sysacct();
-int sys_auditsys();
-
-/* 2.1 generic operations */
-int sys_read(),sys_write(),sys_readv(),sys_writev(),sys_ioctl();
-
-/* 2.1.1 asynch operations */
-int sys_aioread(), sys_aiowrite(), sys_aiowait(), sys_aiocancel();
-
-/* 2.2 file system */
-int sys_chdir();
-int sys_mkdir(),sys_getdirentries(), sys_getdents();
-int sys_creat(),sys_open(),sys_mknod(),sys_stat(),sys_fstat(),sys_lstat();
-int sys_chown(),sys_fchown(),sys_chmod(),sys_fchmod(),sys_utimes();
-int sys_link(),sys_readlink();
-int sys_lseek(),sys_truncate(),sys_ftruncate(),sys_access(),sys_fsync();
-int sys_statfs(),sys_fstatfs();
-
-/* 2.3 communications */
-int sys_socket(),sys_bind(),sys_listen(),sys_accept(),sys_connect();
-int sys_socketpair(),sys_sendto(),sys_send(),sys_recvfrom(),sys_recv();
-int sys_sendmsg(),sys_recvmsg(),sys_shutdown(),sys_setsockopt(),sys_getsockopt();
-int sys_getsockname(),sys_getpeername(),sys_pipe();
-
-int sys_umask(); /* XXX */
-
-/* 2.3.1 SystemV-compatible IPC */
-int sys_semsys(), sys_semctl(), sys_semget();
-#define SYS_semsys_subcall 200
-#define SYS_semsys_nsubcalls 3
-#define SYS_semctl (SYS_semsys_subcall + 0)
-#define SYS_semget (SYS_semsys_subcall + 1)
-#define SYS_semop (SYS_semsys_subcall + 2)
-int sys_msgsys(), sys_msgget(), sys_msgctl(), sys_msgrcv(), sys_msgsnd();
-#define SYS_msgsys_subcall 203
-#define SYS_msgsys_nsubcalls 4
-#define SYS_msgget (SYS_msgsys_subcall + 0)
-#define SYS_msgctl (SYS_msgsys_subcall + 1)
-#define SYS_msgrcv (SYS_msgsys_subcall + 2)
-#define SYS_msgsnd (SYS_msgsys_subcall + 3)
-int sys_shmsys(), sys_shmat(), sys_shmctl(), sys_shmdt(), sys_shmget();
-#define SYS_shmsys_subcall 207
-#define SYS_shmsys_nsubcalls 4
-#define SYS_shmat (SYS_shmsys_subcall + 0)
-#define SYS_shmctl (SYS_shmsys_subcall + 1)
-#define SYS_shmdt (SYS_shmsys_subcall + 2)
-#define SYS_shmget (SYS_shmsys_subcall + 3)
-
-/* 2.4 processes */
-int sys_ptrace();
-
-/* 2.5 terminals */
-
-/* emulations for backwards compatibility */
-int sys_otime(); /* now use gettimeofday */
-int sys_ostime(); /* now use settimeofday */
-int sys_oalarm(); /* now use setitimer */
-int sys_outime(); /* now use utimes */
-int sys_opause(); /* now use sigpause */
-int sys_onice(); /* now use setpriority,getpriority */
-int sys_oftime(); /* now use gettimeofday */
-int sys_osetpgrp(); /* ??? */
-int sys_otimes(); /* now use getrusage */
-int sys_ossig(); /* now use sigvec, etc */
-int sys_ovlimit(); /* now use setrlimit,getrlimit */
-int sys_ovtimes(); /* now use getrusage */
-int sys_osetuid(); /* now use setreuid */
-int sys_osetgid(); /* now use setregid */
-int sys_ostat(); /* now use stat */
-int sys_ofstat(); /* now use fstat */
-
-/* BEGIN JUNK */
-int sys_profil(); /* 'cuz sys calls are interruptible */
-int sys_vhangup(); /* should just do in sys_exit() */
-int sys_vfork(); /* XXX - was awaiting fork w/ copy on write */
-int sys_ovadvise(); /* awaiting new madvise */
-int sys_indir(); /* indirect system call */
-int sys_ustat(); /* System V compatibility */
-int sys_owait(); /* should use wait4 interface */
-int sys_owait3(); /* should use wait4 interface */
-int sys_umount(); /* still more Sys V (and 4.2?) compatibility */
-int sys_pathconf(); /* posix */
-int sys_fpathconf(); /* posix */
-int sys_sysconf(); /* posix */
-
-int sys_debug();
-/* END JUNK */
-
-int sys_vtrace(); /* kernel event tracing */
-
-/* nfs */
-int sys_async_daemon(); /* client async daemon */
-int sys_nfs_svc(); /* run nfs server */
-int sys_nfs_getfh(); /* get file handle */
-int sys_exportfs(); /* export file systems */
-
-int sys_rfssys(); /* RFS-related calls */
-
-int sys_getmsg();
-int sys_putmsg();
-int sys_poll();
-
-int sys_vpixsys(); /* VP/ix system calls */
+++ /dev/null
-/*
- * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
- * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
- * All rights reserved.
- *
- * 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. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
- *
- * $Id$
- */
-
- { 1, 0, sys_indir, "indir" }, /* 0 */
- { 1, TP, sys_exit, "_exit" }, /* 1 */
- { 0, TP, sys_fork, "fork" }, /* 2 */
- { 3, TD, sys_read, "read" }, /* 3 */
- { 3, TD, sys_write, "write" }, /* 4 */
- { 3, TD|TF, sys_open, "open" }, /* 5 */
- { 1, TD, sys_close, "close" }, /* 6 */
- { 4, TP, sys_wait4, "wait4" }, /* 7 */
- { 2, TD|TF, sys_creat, "creat" }, /* 8 */
- { 2, TF, sys_link, "link" }, /* 9 */
- { 1, TF, sys_unlink, "unlink" }, /* 10 */
- { 2, TF|TP, sys_execv, "execv" }, /* 11 */
- { 1, TF, sys_chdir, "chdir" }, /* 12 */
- { 0, 0, sys_otime, "otime" }, /* 13 */
- { 3, TF, sys_mknod, "mknod" }, /* 14 */
- { 2, TF, sys_chmod, "chmod" }, /* 15 */
- { 3, TF, sys_chown, "chown" }, /* 16 */
- { 1, 0, sys_brk, "brk" }, /* 17 */
- { 2, TF, sys_stat, "stat" }, /* 18 */
- { 3, TD, sys_lseek, "lseek" }, /* 19 */
- { 0, 0, sys_getpid, "getpid" }, /* 20 */
- { 0, 0, sys_nosys, "nosys" }, /* 21 */
- { 1, TF, sys_umount, "umount" }, /* 22 */
- { 1, 0, sys_osetuid, "osetuid" }, /* 23 */
- { 0, 0, sys_getuid, "getuid" }, /* 24 */
- { 1, 0, sys_ostime, "ostime" }, /* 25 */
- { 5, 0, sys_ptrace, "ptrace" }, /* 26 */
- { 1, 0, sys_oalarm, "oalarm" }, /* 27 */
- { 2, 0, sys_ofstat, "ofstat" }, /* 28 */
- { 0, 0, sys_opause, "opause" }, /* 29 */
- { 2, TF, sys_outime, "outime" }, /* 30 */
- { 0, 0, sys_nosys, "nosys" }, /* 31 */
- { 0, 0, sys_nosys, "nosys" }, /* 32 */
- { 2, TF, sys_access, "access" }, /* 33 */
- { 1, 0, sys_onice, "onice" }, /* 34 */
- { 1, 0, sys_oftime, "oftime" }, /* 35 */
- { 0, 0, sys_sync, "sync" }, /* 36 */
- { 2, TS, sys_kill, "kill" }, /* 37 */
- { 2, TF, sys_stat, "stat" }, /* 38 */
- { 2, 0, sys_osetpgrp, "osetpgrp" }, /* 39 */
- { 2, TF, sys_lstat, "lstat" }, /* 40 */
- { 2, TD, sys_dup, "dup" }, /* 41 */
- { 0, TD, sys_pipe, "pipe" }, /* 42 */
- { 1, 0, sys_otimes, "otimes" }, /* 43 */
- { 4, 0, sys_profil, "profil" }, /* 44 */
- { 0, 0, sys_nosys, "nosys" }, /* 45 */
- { 1, 0, sys_osetgid, "osetgid" }, /* 46 */
- { 0, 0, sys_getgid, "getgid" }, /* 47 */
- { 2, 0, sys_ossig, "ossig" }, /* 48 */
- { 0, 0, sys_nosys, "nosys" }, /* 49 */
- { 0, 0, sys_nosys, "nosys" }, /* 50 */
- { 1, 0, sys_sysacct, "sysacct" }, /* 51 */
- { 0, 0, sys_nosys, "nosys" }, /* 52 */
- { 4, 0, sys_mctl, "mctl" }, /* 53 */
- { 3, TD, sys_ioctl, "ioctl" }, /* 54 */
- { 2, 0, sys_reboot, "reboot" }, /* 55 */
- { 3, TP, sys_owait3, "owait3" }, /* 56 */
- { 2, TF, sys_symlink, "symlink" }, /* 57 */
- { 3, TF, sys_readlink, "readlink" }, /* 58 */
- { 3, TF|TP, sys_execve, "execve" }, /* 59 */
- { 1, 0, sys_umask, "umask" }, /* 60 */
- { 1, TF, sys_chroot, "chroot" }, /* 61 */
- { 2, TD, sys_fstat, "fstat" }, /* 62 */
- { 0, 0, sys_nosys, "nosys" }, /* 63 */
- { 1, 0, sys_getpagesize, "getpagesize" }, /* 64 */
- { 3, 0, sys_omsync, "omsync" }, /* 65 */
- { 0, TP, sys_vfork, "vfork" }, /* 66 */
- { 0, TD, sys_read, "read" }, /* 67 */
- { 0, TD, sys_write, "write" }, /* 68 */
- { 1, 0, sys_sbrk, "sbrk" }, /* 69 */
- { 1, 0, sys_sstk, "sstk" }, /* 70 */
- { 6, 0, sys_mmap, "mmap" }, /* 71 */
- { 1, 0, sys_ovadvise, "ovadvise" }, /* 72 */
- { 2, 0, sys_munmap, "munmap" }, /* 73 */
- { 3, 0, sys_mprotect, "mprotect" }, /* 74 */
- { 3, 0, sys_omadvise, "omadvise" }, /* 75 */
- { 1, 0, sys_vhangup, "vhangup" }, /* 76 */
- { 2, 0, sys_ovlimit, "ovlimit" }, /* 77 */
- { 3, 0, sys_mincore, "mincore" }, /* 78 */
- { 2, 0, sys_getgroups, "getgroups" }, /* 79 */
- { 2, 0, sys_setgroups, "setgroups" }, /* 80 */
- { 1, 0, sys_getpgrp, "getpgrp" }, /* 81 */
- { 2, 0, sys_setpgrp, "setpgrp" }, /* 82 */
- { 3, 0, sys_setitimer, "setitimer" }, /* 83 */
- { 0, TP, sys_owait, "owait" }, /* 84 */
- { 1, TF, sys_swapon, "swapon" }, /* 85 */
- { 2, 0, sys_getitimer, "getitimer" }, /* 86 */
- { 2, 0, sys_gethostname, "gethostname" }, /* 87 */
- { 2, 0, sys_sethostname, "sethostname" }, /* 88 */
- { 0, 0, sys_getdtablesize, "getdtablesize" }, /* 89 */
- { 2, TD, sys_dup2, "dup2" }, /* 90 */
- { 2, 0, sys_getdopt, "getdopt" }, /* 91 */
- { 3, TD, sys_fcntl, "fcntl" }, /* 92 */
- { 5, TD, sys_select, "select" }, /* 93 */
- { 2, 0, sys_setdopt, "setdopt" }, /* 94 */
- { 1, TD, sys_fsync, "fsync" }, /* 95 */
- { 3, 0, sys_setpriority, "setpriority" }, /* 96 */
- { 3, TN, sys_socket, "socket" }, /* 97 */
- { 3, TN, sys_connect, "connect" }, /* 98 */
- { 3, TN, sys_accept, "accept" }, /* 99 */
- { 2, 0, sys_getpriority, "getpriority" }, /* 100 */
- { 4, TN, sys_send, "send" }, /* 101 */
- { 4, TN, sys_recv, "recv" }, /* 102 */
- { 0, 0, sys_nosys, "nosys" }, /* 103 */
- { 3, TN, sys_bind, "bind" }, /* 104 */
- { 5, TN, sys_setsockopt, "setsockopt" }, /* 105 */
- { 2, TN, sys_listen, "listen" }, /* 106 */
- { 2, 0, sys_ovtimes, "ovtimes" }, /* 107 */
- { 3, TS, sys_sigvec, "sigvec" }, /* 108 */
- { 1, TS, sys_sigblock, "sigblock" }, /* 109 */
- { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 110 */
- { 1, TS, sys_sigpause, "sigpause" }, /* 111 */
- { 2, TS, sys_sigstack, "sigstack" }, /* 112 */
- { 3, TN, sys_recvmsg, "recvmsg" }, /* 113 */
- { 3, TN, sys_sendmsg, "sendmsg" }, /* 114 */
- { 3, 0, sys_vtrace, "vtrace" }, /* 115 */
- { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 116 */
- { 2, 0, sys_getrusage, "getrusage" }, /* 117 */
- { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */
- { 0, 0, sys_nosys, "nosys" }, /* 119 */
- { 3, TD, sys_readv, "readv" }, /* 120 */
- { 3, TD, sys_writev, "writev" }, /* 121 */
- { 2, 0, sys_settimeofday, "settimeofday" }, /* 122 */
- { 3, TD, sys_fchown, "fchown" }, /* 123 */
- { 2, TD, sys_fchmod, "fchmod" }, /* 124 */
- { 6, TN, sys_recvfrom, "recvfrom" }, /* 125 */
- { 2, 0, sys_setreuid, "setreuid" }, /* 126 */
- { 2, 0, sys_setregid, "setregid" }, /* 127 */
- { 2, TF, sys_rename, "rename" }, /* 128 */
- { 2, TF, sys_truncate, "truncate" }, /* 129 */
- { 2, TD, sys_ftruncate, "ftruncate" }, /* 130 */
- { 2, TD, sys_flock, "flock" }, /* 131 */
- { 0, 0, sys_nosys, "nosys" }, /* 132 */
- { 6, TN, sys_sendto, "sendto" }, /* 133 */
- { 2, TN, sys_shutdown, "shutdown" }, /* 134 */
- { 5, TN, sys_socketpair, "socketpair" }, /* 135 */
- { 2, TF, sys_mkdir, "mkdir" }, /* 136 */
- { 1, TF, sys_rmdir, "rmdir" }, /* 137 */
- { 2, TF, sys_utimes, "utimes" }, /* 138 */
- { 0, TS, sys_sigcleanup, "sigcleanup" }, /* 139 */
- { 2, 0, sys_adjtime, "adjtime" }, /* 140 */
- { 3, TN, sys_getpeername, "getpeername" }, /* 141 */
- { 2, 0, sys_gethostid, "gethostid" }, /* 142 */
- { 0, 0, sys_nosys, "nosys" }, /* 143 */
- { 2, 0, sys_getrlimit, "getrlimit" }, /* 144 */
- { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */
- { 2, TS, sys_killpg, "killpg" }, /* 146 */
- { 0, 0, sys_nosys, "nosys" }, /* 147 */
- { 0, 0, sys_oldquota, "oldquota" }, /* 148 */
- { 0, 0, sys_oldquota, "oldquota" }, /* 149 */
- { 3, TN, sys_getsockname, "getsockname" }, /* 150 */
- { 4, TN, sys_getmsg, "getmsg" }, /* 151 */
- { 4, TN, sys_putmsg, "putmsg" }, /* 152 */
- { 3, TN, sys_poll, "poll" }, /* 153 */
- { 0, 0, sys_nosys, "nosys" }, /* 154 */
- { 1, 0, sys_nfs_svc, "nfs_svc" }, /* 155 */
- { 4, 0, sys_getdirentries, "getdirentries" }, /* 156 */
- { 2, TF, sys_statfs, "statfs" }, /* 157 */
- { 2, TD, sys_fstatfs, "fstatfs" }, /* 158 */
- { 1, TF, sys_unmount, "unmount" }, /* 159 */
- { 0, 0, sys_async_daemon, "async_daemon" }, /* 160 */
- { 2, 0, sys_nfs_getfh, "nfs_getfh" }, /* 161 */
- { 2, 0, sys_getdomainname, "getdomainname" }, /* 162 */
- { 2, 0, sys_setdomainname, "setdomainname" }, /* 163 */
- { 5, 0, sys_rtschedule, "rtschedule" }, /* 164 */
- { 4, 0, sys_quotactl, "quotactl" }, /* 165 */
- { 2, 0, sys_exportfs, "exportfs" }, /* 166 */
- { 4, TF, sys_mount, "mount" }, /* 167 */
- { 2, 0, sys_ustat, "ustat" }, /* 168 */
- { 5, TI, sys_semsys, "semsys" }, /* 169 */
- { 6, TI, sys_msgsys, "msgsys" }, /* 170 */
- { 4, TI, sys_shmsys, "shmsys" }, /* 171 */
- { 4, 0, sys_auditsys, "auditsys" }, /* 172 */
- { 5, 0, sys_rfssys, "rfssys" }, /* 173 */
- { 3, TD, sys_getdents, "getdents" }, /* 174 */
- { 1, 0, sys_sys_setsid, "sys_setsid" }, /* 175 */
- { 1, TD, sys_fchdir, "fchdir" }, /* 176 */
- { 1, 0, sys_fchroot, "fchroot" }, /* 177 */
- { 2, 0, sys_vpixsys, "vpixsys" }, /* 178 */
- { 6, 0, sys_aioread, "aioread" }, /* 179 */
- { 6, 0, sys_aiowrite, "aiowrite" }, /* 180 */
- { 1, 0, sys_aiowait, "aiowait" }, /* 181 */
- { 1, 0, sys_aiocancel, "aiocancel" }, /* 182 */
- { 1, TS, sys_sigpending, "sigpending" }, /* 183 */
- { 0, 0, sys_errsys, "errsys" }, /* 184 */
- { 2, 0, sys_setpgid, "setpgid" }, /* 185 */
- { 2, TF, sys_pathconf, "pathconf" }, /* 186 */
- { 2, 0, sys_fpathconf, "fpathconf" }, /* 187 */
- { 1, 0, sys_sysconf, "sysconf" }, /* 188 */
- { 1, 0, sys_uname, "uname" }, /* 189 */
- { 0, 0, sys_nosys, "nosys" }, /* 190 */
- { 0, 0, sys_nosys, "nosys" }, /* 191 */
- { 0, 0, sys_nosys, "nosys" }, /* 192 */
- { 0, 0, sys_nosys, "nosys" }, /* 193 */
- { 0, 0, sys_nosys, "nosys" }, /* 194 */
- { 0, 0, sys_nosys, "nosys" }, /* 195 */
- { 0, 0, sys_nosys, "nosys" }, /* 196 */
- { 0, 0, sys_nosys, "nosys" }, /* 197 */
- { 0, 0, sys_nosys, "nosys" }, /* 198 */
- { 0, 0, sys_nosys, "nosys" }, /* 199 */
- { 4, TI, sys_semctl, "semctl" }, /* 200 */
- { 4, TI, sys_semget, "semget" }, /* 201 */
- { 4, TI, sys_semop, "semop" }, /* 202 */
- { 5, TI, sys_msgget, "msgget" }, /* 203 */
- { 5, TI, sys_msgctl, "msgctl" }, /* 204 */
- { 5, TI, sys_msgrcv, "msgrcv" }, /* 205 */
- { 5, TI, sys_msgsnd, "msgsnd" }, /* 206 */
- { 3, TI, sys_shmat, "shmat" }, /* 207 */
- { 3, TI, sys_shmctl, "shmctl" }, /* 208 */
- { 3, TI, sys_shmdt, "shmdt" }, /* 209 */
- { 3, TI, sys_shmget, "shmget" }, /* 210 */
+++ /dev/null
-/*
- * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
- * All rights reserved.
- *
- * 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. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
- *
- * $Id$
- */
-
-/* still unfinished */
-
-#define sys_sysmp printargs
-#define sys_sginap printargs
-#define sys_sgikopt printargs
-#define sys_sysmips printargs
-#define sys_sigreturn printargs
-#define sys_recvmsg printargs
-#define sys_sendmsg printargs
-#define sys_nfssvc printargs
-#define sys_getfh printargs
-#define sys_async_daemon printargs
-#define sys_exportfs printargs
-#define sys_BSD_getime printargs
-#define sys_sproc printargs
-#define sys_procblk printargs
-#define sys_sprocsp printargs
-#define sys_msync printargs
-#define sys_madvise printargs
-#define sys_pagelock printargs
-#define sys_quotactl printargs
-#define sys_cacheflush printargs
-#define sys_cachectl printargs
-#define sys_nuname printargs
-#define sys_sigpoll printargs
-#define sys_swapctl printargs
-#define sys_sigstack printargs
-#define sys_sigsendset printargs
-#define sys_priocntl printargs
-#define sys_ksigqueue printargs
-#define sys_lwp_sema_wait printargs
-#define sys_lwp_sema_trywait printargs
-#define sys_syscall printargs
-#define sys_clocal printargs
-#define sys_syssun printargs
-#define sys_sysi86 printargs
-#define sys_sysmachine printargs
-#define sys_plock printargs
-#define sys_pathconf printargs
-#define sys_sigtimedwait printargs
-#define sys_ulimit printargs
-#define sys_ptrace printargs
-#define sys_stty printargs
-#define sys_lwp_info printargs
-#define sys_priocntlsys printargs
-#define sys_hrtsys printargs
-#define sys_xenix printargs
-#define sys_statfs printargs
-#define sys_fstatfs printargs
-#define sys_statvfs printargs
-#define sys_fstatvfs printargs
-#define sys_sigsendsys printargs
-#define sys_gtty printargs
-#define sys_vtrace printargs
-#define sys_fpathconf printargs
-#define sys_evsys printargs
-#define sys_acct printargs
-#define sys_exec printargs
-#define sys_lwp_sema_post printargs
-#define sys_nfssys printargs
-#define sys_sigaltstack printargs
-#define sys_uadmin printargs
-#define sys_umount printargs
-#define sys_modctl printargs
-#define sys_acancel printargs
-#define sys_async printargs
-#define sys_evtrapret printargs
-#define sys_lwp_create printargs
-#define sys_lwp_exit printargs
-#define sys_lwp_suspend printargs
-#define sys_lwp_continue printargs
-#define sys_lwp_kill printargs
-#define sys_lwp_self printargs
-#define sys_lwp_setprivate printargs
-#define sys_lwp_getprivate printargs
-#define sys_lwp_wait printargs
-#define sys_lwp_mutex_unlock printargs
-#define sys_lwp_mutex_lock printargs
-#define sys_lwp_cond_wait printargs
-#define sys_lwp_cond_signal printargs
-#define sys_lwp_cond_broadcast printargs
-#define sys_inst_sync printargs
-#define sys_auditsys printargs
-#define sys_processor_bind printargs
-#define sys_processor_info printargs
-#define sys_p_online printargs
-#define sys_sigqueue printargs
-#define sys_clock_gettime printargs
-#define sys_clock_settime printargs
-#define sys_clock_getres printargs
-#define sys_nanosleep printargs
-#define sys_timer_create printargs
-#define sys_timer_delete printargs
-#define sys_timer_settime printargs
-#define sys_timer_gettime printargs
-#define sys_timer_getoverrun printargs
-#define sys_msgctl printargs
-#define sys_msgget printargs
-#define sys_msgrcv printargs
-#define sys_msgsnd printargs
-#define sys_shmat printargs
-#define sys_shmctl printargs
-#define sys_shmdt printargs
-#define sys_shmget printargs
-#define sys_semctl printargs
-#define sys_semget printargs
-#define sys_semop printargs
-#define sys_olduname printargs
-#define sys_ustat printargs
-#define sys_fusers printargs
-#define sys_sysfs1 printargs
-#define sys_sysfs2 printargs
-#define sys_sysfs3 printargs
-#define sys_keyctl printargs
-#define sys_secsys printargs
-#define sys_filepriv printargs
-#define sys_devstat printargs
-#define sys_fdevstat printargs
-#define sys_flvlfile printargs
-#define sys_lvlfile printargs
-#define sys_lvlequal printargs
-#define sys_lvlproc printargs
-#define sys_lvlipc printargs
-#define sys_auditevt printargs
-#define sys_auditctl printargs
-#define sys_auditdmp printargs
-#define sys_auditlog printargs
-#define sys_auditbuf printargs
-#define sys_lvldom printargs
-#define sys_lvlvfs printargs
-#define sys_mkmld printargs
-#define sys_mldmode printargs
-#define sys_secadvise printargs
-#define sys_online printargs
-#define sys_lwpinfo printargs
-#define sys_lwpprivate printargs
-#define sys_processor_exbind printargs
-#define sys_prepblock printargs
-#define sys_block printargs
-#define sys_rdblock printargs
-#define sys_unblock printargs
-#define sys_cancelblock printargs
-#define sys_lwpkill printargs
-#define sys_modload printargs
-#define sys_moduload printargs
-#define sys_modpath printargs
-#define sys_modstat printargs
-#define sys_modadm printargs
-#define sys_lwpsuspend printargs
-#define sys_lwpcontinue printargs
-#define sys_priocntllst printargs
-#define sys_lwp_sema_trywait printargs
-#define sys_xsetsockaddr printargs
-#define sys_dshmsys printargs
-#define sys_invlpg printargs
-#define sys_migrate printargs
-#define sys_kill3 printargs
-#define sys_xbindresvport printargs
-#define sys_lwp_sema_trywait printargs
-#define sys_tsolsys printargs
-#ifndef HAVE_SYS_ACL_H
-#define sys_acl printargs
-#define sys_facl printargs
-#define sys_aclipc printargs
-#endif
-#define sys_install_utrap printargs
-#define sys_signotify printargs
-#define sys_schedctl printargs
-#define sys_pset printargs
-#define sys_resolvepath printargs
-#define sys_signotifywait printargs
-#define sys_lwp_sigredirect printargs
-#define sys_lwp_alarm printargs
-#define sys_rpcsys printargs
-#define sys_sockconfig printargs
-#define sys_ntp_gettime printargs
-#define sys_ntp_adjtime printargs
-
-/* like another call */
-#define sys_chroot sys_chdir
-#define sys_rmdir sys_chdir
-#define sys_unlink sys_chdir
-#define sys_dup sys_close
-#define sys_fchdir sys_close
-#define sys_fchroot sys_close
-#define sys_rename sys_link
-#define sys_symlink sys_link
-#define sys_lchown sys_chown
-#define sys_setuid sys_close
-#define sys_seteuid sys_close
-#define sys_setgid sys_close
-#define sys_setegid sys_close
-#define sys_vhangup sys_close
-#define sys_fdsync sys_close
-#define sys_setreuid sys_dup2
-#define sys_setregid sys_dup2
-#define sys_sigfillset sys_sigpending
-#define sys_vfork sys_fork
-#define sys_ksigaction sys_sigaction
-#define sys_BSDgetpgrp sys_getpgrp
-#define sys_BSDsetpgrp sys_setpgrp
-#define sys_waitsys sys_waitid
-#define sys_sigset sys_signal
-#define sys_sigrelse sys_sighold
-#define sys_sigignore sys_sighold
-#define sys_sigpause sys_sighold
-#define sys_sleep sys_alarm
-#define sys_fork1 sys_fork
-#define sys_forkall sys_fork
-#define sys_memcntl sys_mctl
-
-/* aio */
-#define sys_aionotify printargs
-#define sys_aioinit printargs
-#define sys_aiostart printargs
-#define sys_aiolio printargs
-#define sys_aiosuspend printargs
-#define sys_aioerror printargs
-#define sys_aioliowait printargs
-#define sys_aioaread printargs
-#define sys_aioawrite printargs
-#define sys_aiolio64 printargs
-#define sys_aiosuspend64 printargs
-#define sys_aioerror64 printargs
-#define sys_aioliowait64 printargs
-#define sys_aioaread64 printargs
-#define sys_aioaread64 printargs
-#define sys_aioawrite64 printargs
-#define sys_aiocancel64 printargs
-#define sys_aiofsync printargs
-
-/* the various 64-bit file stuff */
-#if !_LFS64_LARGEFILE
-/* we've implemented these */
-#define sys_getdents64 printargs
-#define sys_mmap64 printargs
-#define sys_stat64 printargs
-#define sys_lstat64 printargs
-#define sys_fstat64 printargs
-#define sys_setrlimit64 printargs
-#define sys_getrlimit64 printargs
-#define sys_pread64 printargs
-#define sys_pwrite64 printargs
-#define sys_ftruncate64 printargs
-#define sys_truncate64 printargs
-#define sys_lseek64 printargs
-#endif
-
-/* unimplemented 64-bit stuff */
-#define sys_statvfs64 printargs
-#define sys_fstatvfs64 printargs
-
-/* like another call */
-#define sys_creat64 sys_creat
-#define sys_open64 sys_open
-#define sys_llseek sys_lseek64
-
-/* printargs does the right thing */
-#define sys_sync printargs
-#define sys_profil printargs
-#define sys_yield printargs
-#define sys_pause printargs
-#define sys_sethostid printargs
-
-/* subfunction entry points */
-#define sys_pgrpsys printargs
-#define sys_sigcall printargs
-#define sys_msgsys printargs
-#define sys_shmsys printargs
-#define sys_semsys printargs
-#define sys_utssys printargs
-#define sys_sysfs printargs
-#define sys_spcall printargs
-#define sys_context printargs
-#define sys_door printargs
-#define sys_kaio printargs
+++ /dev/null
- "ERRNO_0", /* 0 */
- "EPERM", /* 1 */
- "ENOENT", /* 2 */
- "ESRCH", /* 3 */
- "EINTR", /* 4 */
- "EIO", /* 5 */
- "ENXIO", /* 6 */
- "E2BIG", /* 7 */
- "ENOEXEC", /* 8 */
- "EBADF", /* 9 */
- "ECHILD", /* 10 */
- "EAGAIN", /* 11 */
- "ENOMEM", /* 12 */
- "EACCES", /* 13 */
- "EFAULT", /* 14 */
- "ENOTBLK", /* 15 */
- "EBUSY", /* 16 */
- "EEXIST", /* 17 */
- "EXDEV", /* 18 */
- "ENODEV", /* 19 */
- "ENOTDIR", /* 20 */
- "EISDIR", /* 21 */
- "EINVAL", /* 22 */
- "ENFILE", /* 23 */
- "EMFILE", /* 24 */
- "ENOTTY", /* 25 */
- "ETXTBSY", /* 26 */
- "EFBIG", /* 27 */
- "ENOSPC", /* 28 */
- "ESPIPE", /* 29 */
- "EROFS", /* 30 */
- "EMLINK", /* 31 */
- "EPIPE", /* 32 */
- "EDOM", /* 33 */
- "ERANGE", /* 34 */
- "ENOMSG", /* 35 */
- "EIDRM", /* 36 */
- "ECHRNG", /* 37 */
- "EL2NSYNC", /* 38 */
- "EL3HLT", /* 39 */
- "EL3RST", /* 40 */
- "ELNRNG", /* 41 */
- "EUNATCH", /* 42 */
- "ENOCSI", /* 43 */
- "EL2HLT", /* 44 */
- "EDEADLK", /* 45 */
- "ENOLCK", /* 46 */
- "ECANCELED", /* 47 */
- "ENOTSUP", /* 48 */
- "ERRNO_49", /* 49 */
- "EBADE", /* 50 */
- "EBADR", /* 51 */
- "EXFULL", /* 52 */
- "ENOANO", /* 53 */
- "EBADRQC", /* 54 */
- "EBADSLT", /* 55 */
- "EDEADLOCK", /* 56 */
- "EBFONT", /* 57 */
- "ERRNO_58", /* 58 */
- "ERRNO_59", /* 59 */
- "ENOSTR", /* 60 */
- "ENODATA", /* 61 */
- "ETIME", /* 62 */
- "ENOSR", /* 63 */
- "ENONET", /* 64 */
- "ENOPKG", /* 65 */
- "EREMOTE", /* 66 */
- "ENOLINK", /* 67 */
- "EADV", /* 68 */
- "ESRMNT", /* 69 */
- "ECOMM", /* 70 */
- "EPROTO", /* 71 */
- "ERRNO_72", /* 72 */
- "ERRNO_73", /* 73 */
- "EMULTIHOP", /* 74 */
- "ERRNO_75", /* 75 */
- "ERRNO_76", /* 76 */
- "EBADMSG", /* 77 */
- "ENAMETOOLONG", /* 78 */
- "EOVERFLOW", /* 79 */
- "ENOTUNIQ", /* 80 */
- "EBADFD", /* 81 */
- "EREMCHG", /* 82 */
- "ELIBACC", /* 83 */
- "ELIBBAD", /* 84 */
- "ELIBSCN", /* 85 */
- "ELIBMAX", /* 86 */
- "ELIBEXEC", /* 87 */
- "EILSEQ", /* 88 */
- "ENOSYS", /* 89 */
- "ELOOP", /* 90 */
- "ERESTART", /* 91 */
- "ESTRPIPE", /* 92 */
- "ENOTEMPTY", /* 93 */
- "EUSERS", /* 94 */
- "ENOTSOCK", /* 95 */
- "EDESTADDRREQ", /* 96 */
- "EMSGSIZE", /* 97 */
- "EPROTOTYPE", /* 98 */
- "ENOPROTOOPT", /* 99 */
- "ERRNO_100", /* 100 */
- "ERRNO_101", /* 101 */
- "ERRNO_102", /* 102 */
- "ERRNO_103", /* 103 */
- "ERRNO_104", /* 104 */
- "ERRNO_105", /* 105 */
- "ERRNO_106", /* 106 */
- "ERRNO_107", /* 107 */
- "ERRNO_108", /* 108 */
- "ERRNO_109", /* 109 */
- "ERRNO_110", /* 110 */
- "ERRNO_111", /* 111 */
- "ERRNO_112", /* 112 */
- "ERRNO_113", /* 113 */
- "ERRNO_114", /* 114 */
- "ERRNO_115", /* 115 */
- "ERRNO_116", /* 116 */
- "ERRNO_117", /* 117 */
- "ERRNO_118", /* 118 */
- "ERRNO_119", /* 119 */
- "EPROTONOSUPPORT", /* 120 */
- "ESOCKTNOSUPPORT", /* 121 */
- "EOPNOTSUPP", /* 122 */
- "EPFNOSUPPORT", /* 123 */
- "EAFNOSUPPORT", /* 124 */
- "EADDRINUSE", /* 125 */
- "EADDRNOTAVAIL", /* 126 */
- "ENETDOWN", /* 127 */
- "ENETUNREACH", /* 128 */
- "ENETRESET", /* 129 */
- "ECONNABORTED", /* 130 */
- "ECONNRESET", /* 131 */
- "ENOBUFS", /* 132 */
- "EISCONN", /* 133 */
- "ENOTCONN", /* 134 */
- "ERRNO_135", /* 135 */
- "ERRNO_136", /* 136 */
- "ERRNO_137", /* 137 */
- "ERRNO_138", /* 138 */
- "ERRNO_139", /* 139 */
- "ERRNO_140", /* 140 */
- "ERRNO_141", /* 141 */
- "ERRNO_142", /* 142 */
- "ESHUTDOWN", /* 143 */
- "ETOOMANYREFS", /* 144 */
- "ETIMEDOUT", /* 145 */
- "ECONNREFUSED", /* 146 */
- "EHOSTDOWN", /* 147 */
- "EHOSTUNREACH", /* 148 */
- "EALREADY", /* 149 */
- "EINPROGRESS", /* 150 */
- "ESTALE", /* 151 */
+++ /dev/null
-{"sys/dkio.h", "DKIOCGGEOM", 0x401},
-{"sys/dkio.h", "DKIOCSGEOM", 0x402},
-{"sys/dkio.h", "DKIOCINFO", 0x403},
-{"sys/dkio.h", "DKIOCSAPART", 0x404},
-{"sys/dkio.h", "DKIOCGAPART", 0x405},
-{"sys/dkio.h", "DKIOCEJECT", 0x406},
-{"sys/dkio.h", "DKIOCLOCK", 0x407},
-{"sys/dkio.h", "DKIOCUNLOCK", 0x408},
-{"sys/dkio.h", "DKIOCGVTOC", 0x40b},
-{"sys/dkio.h", "DKIOCSVTOC", 0x40c},
-{"sys/dkio.h", "DKIOCSTATE", 0x40d},
-{"sys/fdio.h", "FDIOGCHAR", 0x433},
-{"sys/fdio.h", "FDIOSCHAR", 0x434},
-{"sys/fdio.h", "FDEJECT", 0x435},
-{"sys/fdio.h", "FDGETCHANGE", 0x436},
-{"sys/fdio.h", "FDGETDRIVECHAR", 0x437},
-{"sys/fdio.h", "FDSETDRIVECHAR", 0x438},
-{"sys/fdio.h", "FDGETSEARCH", 0x439},
-{"sys/fdio.h", "FDSETSEARCH", 0x43a},
-{"sys/fdio.h", "FDIOCMD", 0x43b},
-{"sys/fdio.h", "FDRAW", 0x446},
-{"sys/fdio.h", "FDDEFGEOCHAR", 0x456},
-{"sys/hdio.h", "HDKIOCSTYPE", 0x465},
-{"sys/hdio.h", "HDKIOCGTYPE", 0x466},
-{"sys/hdio.h", "HDKIOCSBAD", 0x467},
-{"sys/hdio.h", "HDKIOCGBAD", 0x468},
-{"sys/hdio.h", "HDKIOCSCMD", 0x469},
-{"sys/hdio.h", "HDKIOCGDIAG", 0x46a},
-{"sys/cdio.h", "CDROMPAUSE", 0x497},
-{"sys/cdio.h", "CDROMRESUME", 0x498},
-{"sys/cdio.h", "CDROMPLAYMSF", 0x499},
-{"sys/cdio.h", "CDROMPLAYTRKIND", 0x49a},
-{"sys/cdio.h", "CDROMREADTOCHDR", 0x49b},
-{"sys/cdio.h", "CDROMREADTOCENTRY", 0x49c},
-{"sys/cdio.h", "CDROMSTOP", 0x49d},
-{"sys/cdio.h", "CDROMSTART", 0x49e},
-{"sys/cdio.h", "CDROMEJECT", 0x49f},
-{"sys/cdio.h", "CDROMVOLCTRL", 0x4a0},
-{"sys/cdio.h", "CDROMSUBCHNL", 0x4a1},
-{"sys/cdio.h", "CDROMREADMODE2", 0x4a2},
-{"sys/cdio.h", "CDROMREADMODE1", 0x4a3},
-{"sys/cdio.h", "CDROMREADOFFSET", 0x4a4},
-{"sys/cdio.h", "CDROMGBLKMODE", 0x4a5},
-{"sys/cdio.h", "CDROMSBLKMODE", 0x4a6},
-{"sys/cdio.h", "CDROMCDDA", 0x4a7},
-{"sys/cdio.h", "CDROMCDXA", 0x4a8},
-{"sys/cdio.h", "CDROMSUBCODE", 0x4a9},
-{"sys/cdio.h", "CDROMGDRVSPEED", 0x4aa},
-{"sys/cdio.h", "CDROMSDRVSPEED", 0x4ab},
-{"sys/scsi/impl/uscsi.h", "USCSICMD", 0x4c9},
-{"sys/bufmod.h", "SBIOCSTIME", 0x4201},
-{"sys/bufmod.h", "SBIOCGTIME", 0x4202},
-{"sys/bufmod.h", "SBIOCCTIME", 0x4203},
-{"sys/bufmod.h", "SBIOCSCHUNK", 0x4204},
-{"sys/bufmod.h", "SBIOCGCHUNK", 0x4205},
-{"sys/bufmod.h", "SBIOCSSNAP", 0x4206},
-{"sys/bufmod.h", "SBIOCGSNAP", 0x4207},
-{"sys/bufmod.h", "SBIOCSFLAGS", 0x4208},
-{"sys/bufmod.h", "SBIOCGFLAGS", 0x4209},
-{"sys/termios.h", "LDOPEN", 0x4400},
-{"sys/termios.h", "LDCLOSE", 0x4401},
-{"sys/dlpi.h", "DLIOCRAW", 0x4401},
-{"sys/sad.h", "SAD_SAP", 0x4401},
-{"sys/termios.h", "LDCHG", 0x4402},
-{"sys/sad.h", "SAD_GAP", 0x4402},
-{"sys/sad.h", "SAD_VML", 0x4403},
-{"sys/termios.h", "LDGETT", 0x4408},
-{"sys/termios.h", "LDSETT", 0x4409},
-{"sys/dlpi.h", "DL_IOC_HDR_INFO", 0x440a},
-{"sys/termios.h", "LDSMAP", 0x446e},
-{"sys/termios.h", "LDGMAP", 0x446f},
-{"sys/termios.h", "LDNMAP", 0x4470},
-{"sys/termios.h", "LDEMAP", 0x4471},
-{"sys/termios.h", "LDDMAP", 0x4472},
-{"sys/fbio.h", "FBIOGTYPE", 0x4600},
-{"sys/fbio.h", "FBIOGINFO", 0x4602},
-{"sys/fbio.h", "FBIOPUTCMAP", 0x4603},
-{"sys/fbio.h", "FBIOGETCMAP", 0x4604},
-{"sys/fbio.h", "FBIOSATTR", 0x4605},
-{"sys/fbio.h", "FBIOGATTR", 0x4606},
-{"sys/fbio.h", "FBIOSVIDEO", 0x4607},
-{"sys/fbio.h", "FBIOGVIDEO", 0x4608},
-{"sys/fbio.h", "FBIOVERTICAL", 0x4609},
-{"sys/fbio.h", "GRABPAGEALLOC", 0x460a},
-{"sys/fbio.h", "GRABPAGEFREE", 0x460b},
-{"sys/fbio.h", "GRABATTACH", 0x460c},
-{"sys/fbio.h", "FBIOGPLNGRP", 0x460d},
-{"sys/fbio.h", "FBIOGCMSIZE", 0x460e},
-{"sys/fbio.h", "FBIOSCMSIZE", 0x460f},
-{"sys/fbio.h", "FBIOSCMS", 0x4610},
-{"sys/fbio.h", "FBIOAVAILPLNGRP", 0x4611},
-{"sys/fbio.h", "FBIODBLGINFO", 0x4612},
-{"sys/fbio.h", "FBIODBLSINFO", 0x4613},
-{"sys/fbio.h", "FBIOSWINFD", 0x4614},
-{"sys/fbio.h", "FBIOSAVWINFD", 0x4615},
-{"sys/fbio.h", "FBIORESWINFD", 0x4616},
-{"sys/fbio.h", "FBIOSRWINFD", 0x4617},
-{"sys/visual_io.h", "VIS_SETCURSOR", 0x4618},
-{"sys/fbio.h", "FBIOSCURSOR", 0x4618},
-{"sys/fbio.h", "FBIOGCURSOR", 0x4619},
-{"sys/visual_io.h", "VIS_GETCURSOR", 0x4619},
-{"sys/fbio.h", "FBIOSCURPOS", 0x461a},
-{"sys/visual_io.h", "VIS_MOVECURSOR", 0x461a},
-{"sys/fbio.h", "FBIOGCURPOS", 0x461b},
-{"sys/visual_io.h", "VIS_GETCURSORPOS", 0x461b},
-{"sys/fbio.h", "FBIOGCURMAX", 0x461c},
-{"sys/fbio.h", "GRABLOCKINFO", 0x461d},
-{"sys/fbio.h", "FBIO_WID_ALLOC", 0x461e},
-{"sys/fbio.h", "FBIO_WID_FREE", 0x461f},
-{"sys/fbio.h", "FBIO_WID_PUT", 0x4620},
-{"sys/fbio.h", "FBIO_WID_GET", 0x4621},
-{"sys/fbio.h", "FBIO_DEVID", 0x4622},
-{"sys/fbio.h", "FBIO_U_RST", 0x4623},
-{"sys/fbio.h", "FBIO_FULLSCREEN_ELIMINATION_GROUPS", 0x4624},
-{"sys/fbio.h", "FBIO_WID_DBL_SET", 0x4625},
-{"sys/fbio.h", "FBIOVRTOFFSET", 0x4626},
-{"sys/fbio.h", "FBIOGXINFO", 0x4627},
-{"sys/fbio.h", "FBIOMONINFO", 0x4628},
-{"sys/fbio.h", "FBIOPUTCMAPI", 0x4629},
-{"sys/fbio.h", "FBIOGETCMAPI", 0x462a},
-{"sys/fbio.h", "FBIO_ASSIGNWID", 0x462b},
-{"sys/fbio.h", "FBIO_STEREO", 0x462c},
-{"sys/gpio.h", "GP1IO_PUT_INFO", 0x4700},
-{"sys/gpio.h", "GP1IO_GET_STATIC_BLOCK", 0x4701},
-{"sys/gpio.h", "GP1IO_FREE_STATIC_BLOCK", 0x4702},
-{"sys/gpio.h", "GP1IO_GET_GBUFFER_STATE", 0x4703},
-{"sys/gpio.h", "GP1IO_CHK_GP", 0x4704},
-{"sys/gpio.h", "GP1IO_GET_RESTART_COUNT", 0x4705},
-{"sys/gpio.h", "GP1IO_REDIRECT_DEVFB", 0x4706},
-{"sys/gpio.h", "GP1IO_GET_REQDEV", 0x4707},
-{"sys/gpio.h", "GP1IO_GET_TRUMINORDEV", 0x4708},
-{"sys/gpio.h", "GP1IO_CHK_FOR_GBUFFER", 0x4709},
-{"sys/gpio.h", "GP1IO_SET_USING_GBUFFER", 0x470a},
-{"sys/gpio.h", "GP1IO_INFO_STATIC_BLOCK", 0x470b},
-{"sys/sockmod.h", "O_SI_GETUDATA", 0x4965},
-{"sys/sockmod.h", "SI_SHUTDOWN", 0x4966},
-{"sys/sockmod.h", "SI_LISTEN", 0x4967},
-{"sys/sockmod.h", "SI_SETMYNAME", 0x4968},
-{"sys/sockmod.h", "SI_SETPEERNAME", 0x4969},
-{"sys/sockmod.h", "SI_GETINTRANSIT", 0x496a},
-{"sys/sockmod.h", "SI_SOCKPARAMS", 0x496d},
-{"sys/sockmod.h", "SI_GETUDATA", 0x496e},
-{"sys/strlog.h", "I_TRCLOG", 0x4c01},
-{"sys/strlog.h", "I_ERRLOG", 0x4c02},
-{"sys/strlog.h", "I_CONSLOG", 0x4c03},
-{"sys/cg14io.h", "MDI_RESET", 0x4d01},
-{"sys/cg14io.h", "MDI_GET_CFGINFO", 0x4d02},
-{"sys/cg14io.h", "MDI_SET_PIXELMODE", 0x4d03},
-{"sys/cg14io.h", "MDI_SET_COUNTERS", 0x4d04},
-{"sys/cg14io.h", "MDI_SET_PPR", 0x4d05},
-{"sys/cg14io.h", "MDI_VRT_CNTL", 0x4d06},
-{"sys/cg14io.h", "MDI_SET_CLUT", 0x4d07},
-{"sys/cg14io.h", "MDI_GET_CLUT", 0x4d08},
-{"sys/cg14io.h", "MDI_SET_XLUT", 0x4d09},
-{"sys/cg14io.h", "MDI_GET_XLUT", 0x4d0a},
-{"sys/cg14io.h", "MDI_GAMMA_CORRECT", 0x4d0b},
-{"sys/cg14io.h", "MDI_SET_GAMMALUT", 0x4d0c},
-{"sys/cg14io.h", "MDI_GET_GAMMALUT", 0x4d0d},
-{"sys/cg14io.h", "MDI_SET_DEGAMMALUT", 0x4d0e},
-{"sys/cg14io.h", "MDI_GET_DEGAMMALUT", 0x4d0f},
-{"sys/cg14io.h", "MDI_GET_BUFFER_INFO", 0x4d10},
-{"sys/cg14io.h", "MDI_SET_CURSOR", 0x4d11},
-{"sys/cg14io.h", "MDI_GET_DIAGINFO", 0x4d12},
-{"sys/cg14io.h", "MDI_SET_RESOLUTION", 0x4d13},
-{"sys/cg14io.h", "SET_MONITOR_POWER", 0x4d14},
-{"sys/openpromio.h", "OPROMGETBOOTARGS", 0x4f0c},
-{"sys/pfmod.h", "PFIOCSETF", 0x5001},
-{"sys/stropts.h", "I_NREAD", 0x5301},
-{"sys/stropts.h", "I_PUSH", 0x5302},
-{"sys/stropts.h", "I_POP", 0x5303},
-{"sys/stropts.h", "I_LOOK", 0x5304},
-{"sys/stropts.h", "I_FLUSH", 0x5305},
-{"sys/stropts.h", "I_SRDOPT", 0x5306},
-{"sys/stropts.h", "I_GRDOPT", 0x5307},
-{"sys/stropts.h", "I_STR", 0x5308},
-{"sys/stropts.h", "I_SETSIG", 0x5309},
-{"sys/stropts.h", "I_GETSIG", 0x530a},
-{"sys/stropts.h", "I_FIND", 0x530b},
-{"sys/stropts.h", "I_LINK", 0x530c},
-{"sys/stropts.h", "I_UNLINK", 0x530d},
-{"sys/stropts.h", "I_RECVFD", 0x530e},
-{"sys/stropts.h", "I_PEEK", 0x530f},
-{"sys/stropts.h", "I_FDINSERT", 0x5310},
-{"sys/stropts.h", "I_SENDFD", 0x5311},
-{"sys/stropts.h", "I_SWROPT", 0x5313},
-{"sys/stropts.h", "I_GWROPT", 0x5314},
-{"sys/stropts.h", "I_LIST", 0x5315},
-{"sys/stropts.h", "I_PLINK", 0x5316},
-{"sys/stropts.h", "I_PUNLINK", 0x5317},
-{"sys/stropts.h", "I_SETEV", 0x5318},
-{"sys/stropts.h", "I_GETEV", 0x5319},
-{"sys/stropts.h", "I_STREV", 0x531a},
-{"sys/stropts.h", "I_UNSTREV", 0x531b},
-{"sys/stropts.h", "I_FLUSHBAND", 0x531c},
-{"sys/stropts.h", "I_CKBAND", 0x531d},
-{"sys/stropts.h", "I_GETBAND", 0x531e},
-{"sys/stropts.h", "I_ATMARK", 0x531f},
-{"sys/stropts.h", "I_SETCLTIME", 0x5320},
-{"sys/stropts.h", "I_GETCLTIME", 0x5321},
-{"sys/stropts.h", "I_CANPUT", 0x5322},
-{"sys/termios.h", "TCGETA", 0x5401},
-{"sys/termios.h", "TCSETA", 0x5402},
-{"sys/termios.h", "TCSETAW", 0x5403},
-{"sys/termios.h", "TCSETAF", 0x5404},
-{"sys/termios.h", "TCSBRK", 0x5405},
-{"sys/termios.h", "TCXONC", 0x5406},
-{"sys/termios.h", "TCFLSH", 0x5407},
-{"sys/termios.h", "TIOCKBON", 0x5408},
-{"sys/termios.h", "TIOCKBOF", 0x5409},
-{"sys/termios.h", "KBENABLED", 0x540a},
-{"sys/termios.h", "TCGETS", 0x540d},
-{"sys/termios.h", "TCSETS", 0x540e},
-{"sys/termios.h", "TCSANOW", 0x540e},
-{"sys/termios.h", "TCSADRAIN", 0x540f},
-{"sys/termios.h", "TCSETSW", 0x540f},
-{"sys/termios.h", "TCSAFLUSH", 0x5410},
-{"sys/termios.h", "TCSETSF", 0x5410},
-{"sys/termio.h", "TCDSET", 0x5420},
-{"sys/termios.h", "TCDSET", 0x5420},
-{"sys/termios.h", "RTS_TOG", 0x5421},
-{"sys/ttold.h", "TIOCSWINSZ", 0x5467},
-{"sys/termios.h", "TIOCSWINSZ", 0x5467},
-{"sys/ttold.h", "TIOCGWINSZ", 0x5468},
-{"sys/termios.h", "TIOCGWINSZ", 0x5468},
-{"sys/termios.h", "TIOCGSOFTCAR", 0x5469},
-{"sys/termios.h", "TIOCSSOFTCAR", 0x546a},
-{"sys/timod.h", "TI_GETINFO", 0x548c},
-{"sys/timod.h", "TI_OPTMGMT", 0x548d},
-{"sys/timod.h", "TI_BIND", 0x548e},
-{"sys/timod.h", "TI_UNBIND", 0x548f},
-{"sys/timod.h", "TI_GETMYNAME", 0x5490},
-{"sys/timod.h", "TI_GETPEERNAME", 0x5491},
-{"sys/timod.h", "TI_SETMYNAME", 0x5492},
-{"sys/timod.h", "TI_SETPEERNAME", 0x5493},
-{"sys/termiox.h", "TCGETX", 0x5801},
-{"sys/termiox.h", "TCSETX", 0x5802},
-{"sys/termiox.h", "TCSETXW", 0x5803},
-{"sys/termiox.h", "TCSETXF", 0x5804},
-{"sys/ioctl.h", "DIOCGETC", 0x6401},
-{"sys/ioctl.h", "DIOCGETB", 0x6402},
-{"sys/ioctl.h", "DIOCSETE", 0x6403},
-{"sys/termios.h", "DIOCGETP", 0x6408},
-{"sys/termios.h", "DIOCSETP", 0x6409},
-{"sys/jioctl.h", "JBOOT", 0x6a01},
-{"sys/jioctl.h", "JTERM", 0x6a02},
-{"sys/jioctl.h", "JMPX", 0x6a03},
-{"sys/jioctl.h", "JWINSIZE", 0x6a05},
-{"sys/jioctl.h", "JZOMBOOT", 0x6a07},
-{"sys/jioctl.h", "JAGENT", 0x6a09},
-{"sys/jioctl.h", "JTRUN", 0x6a0a},
-{"sys/jioctl.h", "JXTPROTO", 0x6a0b},
-{"sys/kbio.h", "KIOCTRANS", 0x6b00},
-{"sys/kbio.h", "KIOCSETKEY", 0x6b01},
-{"sys/kbio.h", "KIOCGETKEY", 0x6b02},
-{"sys/kbio.h", "KIOCGTRANS", 0x6b05},
-{"sys/kbio.h", "KIOCTRANSABLE", 0x6b06},
-{"sys/kbio.h", "KIOCGTRANSABLE", 0x6b07},
-{"sys/kbio.h", "KIOCCMD", 0x6b08},
-{"sys/kbio.h", "KIOCTYPE", 0x6b09},
-{"sys/kbio.h", "KIOCSDIRECT", 0x6b0a},
-{"sys/kbio.h", "KIOCGDIRECT", 0x6b0b},
-{"sys/kbio.h", "KIOCSKEY", 0x6b0c},
-{"sys/kbio.h", "KIOCGKEY", 0x6b0d},
-{"sys/kbio.h", "KIOCSLED", 0x6b0e},
-{"sys/kbio.h", "KIOCGLED", 0x6b0f},
-{"sys/kbio.h", "KIOCSCOMPAT", 0x6b10},
-{"sys/kbio.h", "KIOCGCOMPAT", 0x6b11},
-{"sys/kbio.h", "KIOCLAYOUT", 0x6b14},
-{"sys/ioctl.h", "LIOCGETP", 0x6c01},
-{"sys/ioctl.h", "LIOCSETP", 0x6c02},
-{"sys/ioctl.h", "LIOCGETS", 0x6c05},
-{"sys/ioctl.h", "LIOCSETS", 0x6c06},
-{"sys/mtio.h", "MTIOCTOP", 0x6d01},
-{"sys/msio.h", "MSIOGETPARMS", 0x6d01},
-{"sys/msio.h", "MSIOSETPARMS", 0x6d02},
-{"sys/mtio.h", "MTIOCGET", 0x6d02},
-{"sys/mtio.h", "MTIOCGETDRIVETYPE", 0x6d03},
-{"sys/procfs.h", "PIOCSTATUS", 0x7101},
-{"sys/procfs.h", "PIOCSTOP", 0x7102},
-{"sys/procfs.h", "PIOCWSTOP", 0x7103},
-{"sys/procfs.h", "PIOCRUN", 0x7104},
-{"sys/procfs.h", "PIOCGTRACE", 0x7105},
-{"sys/procfs.h", "PIOCSTRACE", 0x7106},
-{"sys/procfs.h", "PIOCSSIG", 0x7107},
-{"sys/procfs.h", "PIOCKILL", 0x7108},
-{"sys/procfs.h", "PIOCUNKILL", 0x7109},
-{"sys/procfs.h", "PIOCGHOLD", 0x710a},
-{"sys/procfs.h", "PIOCSHOLD", 0x710b},
-{"sys/procfs.h", "PIOCMAXSIG", 0x710c},
-{"sys/procfs.h", "PIOCACTION", 0x710d},
-{"sys/procfs.h", "PIOCGFAULT", 0x710e},
-{"sys/procfs.h", "PIOCSFAULT", 0x710f},
-{"sys/procfs.h", "PIOCCFAULT", 0x7110},
-{"sys/procfs.h", "PIOCGENTRY", 0x7111},
-{"sys/procfs.h", "PIOCSENTRY", 0x7112},
-{"sys/procfs.h", "PIOCGEXIT", 0x7113},
-{"sys/procfs.h", "PIOCSEXIT", 0x7114},
-{"sys/procfs.h", "PIOCSFORK", 0x7115},
-{"sys/procfs.h", "PIOCRFORK", 0x7116},
-{"sys/procfs.h", "PIOCSRLC", 0x7117},
-{"sys/procfs.h", "PIOCRRLC", 0x7118},
-{"sys/procfs.h", "PIOCGREG", 0x7119},
-{"sys/procfs.h", "PIOCSREG", 0x711a},
-{"sys/procfs.h", "PIOCGFPREG", 0x711b},
-{"sys/procfs.h", "PIOCSFPREG", 0x711c},
-{"sys/procfs.h", "PIOCNICE", 0x711d},
-{"sys/procfs.h", "PIOCPSINFO", 0x711e},
-{"sys/procfs.h", "PIOCNMAP", 0x711f},
-{"sys/procfs.h", "PIOCMAP", 0x7120},
-{"sys/procfs.h", "PIOCOPENM", 0x7121},
-{"sys/procfs.h", "PIOCCRED", 0x7122},
-{"sys/procfs.h", "PIOCGROUPS", 0x7123},
-{"sys/procfs.h", "PIOCGETPR", 0x7124},
-{"sys/procfs.h", "PIOCGETU", 0x7125},
-{"sys/procfs.h", "PIOCSET", 0x7126},
-{"sys/procfs.h", "PIOCRESET", 0x7127},
-{"sys/procfs.h", "PIOCNWATCH", 0x7128},
-{"sys/procfs.h", "PIOCGWATCH", 0x7129},
-{"sys/procfs.h", "PIOCSWATCH", 0x712a},
-{"sys/procfs.h", "PIOCUSAGE", 0x712b},
-{"sys/procfs.h", "PIOCOPENPD", 0x712c},
-{"sys/procfs.h", "PIOCLWPIDS", 0x712d},
-{"sys/procfs.h", "PIOCOPENLWP", 0x712e},
-{"sys/procfs.h", "PIOCLSTATUS", 0x712f},
-{"sys/procfs.h", "PIOCLUSAGE", 0x7130},
-{"sys/procfs.h", "PIOCNAUXV", 0x7131},
-{"sys/procfs.h", "PIOCAUXV", 0x7132},
-{"sys/procfs.h", "PIOCGWIN", 0x7165},
-{"sys/ttold.h", "TIOCGETD", 0x7400},
-{"sys/termios.h", "TIOCGETD", 0x7400},
-{"sys/termios.h", "TIOCSETD", 0x7401},
-{"sys/ttold.h", "TIOCSETD", 0x7401},
-{"sys/termios.h", "TIOCHPCL", 0x7402},
-{"sys/ttold.h", "TIOCHPCL", 0x7402},
-{"sys/ttold.h", "TIOCGETP", 0x7408},
-{"sys/termios.h", "TIOCGETP", 0x7408},
-{"sys/termios.h", "TIOCSETP", 0x7409},
-{"sys/ttold.h", "TIOCSETP", 0x7409},
-{"sys/ttold.h", "TIOCSETN", 0x740a},
-{"sys/termios.h", "TIOCSETN", 0x740a},
-{"sys/ttold.h", "TIOCEXCL", 0x740d},
-{"sys/termios.h", "TIOCEXCL", 0x740d},
-{"sys/ttold.h", "TIOCNXCL", 0x740e},
-{"sys/termios.h", "TIOCNXCL", 0x740e},
-{"sys/termios.h", "TIOCFLUSH", 0x7410},
-{"sys/ttold.h", "TIOCFLUSH", 0x7410},
-{"sys/termios.h", "TIOCSETC", 0x7411},
-{"sys/ttold.h", "TIOCSETC", 0x7411},
-{"sys/termios.h", "TIOCGETC", 0x7412},
-{"sys/ttold.h", "TIOCGETC", 0x7412},
-{"sys/termios.h", "TIOCGPGRP", 0x7414},
-{"sys/termios.h", "TIOCSPGRP", 0x7415},
-{"sys/termios.h", "TIOCGSID", 0x7416},
-{"sys/termios.h", "TIOCSTI", 0x7417},
-{"sys/termios.h", "TIOCSSID", 0x7418},
-{"sys/termios.h", "TIOCMSET", 0x741a},
-{"sys/termios.h", "TIOCMBIS", 0x741b},
-{"sys/termios.h", "TIOCMBIC", 0x741c},
-{"sys/termios.h", "TIOCMGET", 0x741d},
-{"sys/termios.h", "TIOCREMOTE", 0x741e},
-{"sys/ttold.h", "TIOCREMOTE", 0x741e},
-{"sys/termios.h", "TIOCSIGNAL", 0x741f},
-{"sys/termios.h", "TIOCSTART", 0x746e},
-{"sys/ttold.h", "TIOCSTART", 0x746e},
-{"sys/termios.h", "TIOCSTOP", 0x746f},
-{"sys/ttold.h", "TIOCSTOP", 0x746f},
-{"sys/ttold.h", "TIOCNOTTY", 0x7471},
-{"sys/termios.h", "TIOCNOTTY", 0x7471},
-{"sys/termios.h", "TIOCOUTQ", 0x7473},
-{"sys/ttold.h", "TIOCOUTQ", 0x7473},
-{"sys/termios.h", "TIOCGLTC", 0x7474},
-{"sys/ttold.h", "TIOCGLTC", 0x7474},
-{"sys/termios.h", "TIOCSLTC", 0x7475},
-{"sys/ttold.h", "TIOCSLTC", 0x7475},
-{"sys/termios.h", "TIOCCDTR", 0x7478},
-{"sys/ttold.h", "TIOCCDTR", 0x7478},
-{"sys/ttold.h", "TIOCSDTR", 0x7479},
-{"sys/termios.h", "TIOCSDTR", 0x7479},
-{"sys/termios.h", "TIOCCBRK", 0x747a},
-{"sys/ttold.h", "TIOCCBRK", 0x747a},
-{"sys/termios.h", "TIOCSBRK", 0x747b},
-{"sys/ttold.h", "TIOCSBRK", 0x747b},
-{"sys/termios.h", "TIOCLGET", 0x747c},
-{"sys/ttold.h", "TIOCLGET", 0x747c},
-{"sys/termios.h", "TIOCLSET", 0x747d},
-{"sys/ttold.h", "TIOCLSET", 0x747d},
-{"sys/ttold.h", "TIOCLBIC", 0x747e},
-{"sys/termios.h", "TIOCLBIC", 0x747e},
-{"sys/ttold.h", "TIOCLBIS", 0x747f},
-{"sys/termios.h", "TIOCLBIS", 0x747f},
-{"sys/vol.h", "VOLIOCMAP", 0x7601},
-{"sys/vuid_event.h", "VUIDSFORMAT", 0x7601},
-{"sys/vuid_event.h", "VUIDSFORMAT", 0x7601},
-{"sys/vuid_event.h", "VUIDGFORMAT", 0x7602},
-{"sys/vuid_event.h", "VUIDGFORMAT", 0x7602},
-{"sys/vol.h", "VOLIOCUNMAP", 0x7602},
-{"sys/vol.h", "VOLIOCEVENT", 0x7603},
-{"sys/vuid_event.h", "VUIDSADDR", 0x7603},
-{"sys/vuid_event.h", "VUIDSADDR", 0x7603},
-{"sys/vuid_event.h", "VUIDGADDR", 0x7604},
-{"sys/vuid_event.h", "VUIDGADDR", 0x7604},
-{"sys/vol.h", "VOLIOCEJECT", 0x7604},
-{"sys/vol.h", "VOLIOCCHECK", 0x7605},
-{"sys/vol.h", "VOLIOCINUSE", 0x7606},
-{"sys/vol.h", "VOLIOCDGATTR", 0x7607},
-{"sys/vol.h", "VOLIOCDSATTR", 0x7608},
-{"sys/vol.h", "VOLIOCDCHECK", 0x7609},
-{"sys/vol.h", "VOLIOCCANCEL", 0x760a},
-{"sys/vol.h", "VOLIOCINFO", 0x760b},
-{"sys/vol.h", "VOLIOCSATTR", 0x760c},
-{"sys/vol.h", "VOLIOCGATTR", 0x760d},
-{"sys/vol.h", "VOLIOCDINUSE", 0x760e},
-{"sys/vol.h", "VOLIOCDAEMON", 0x760f},
-{"sys/vol.h", "VOLIOCFLAGS", 0x7610},
-{"sys/vol.h", "VOLIOCEXTRA4", 0x7611},
-{"sys/vol.h", "VOLIOCEXTRA5", 0x7612},
-{"sys/vol.h", "VOLIOCEXTRA6", 0x7613},
-{"sys/vol.h", "VOLIOCEXTRA7", 0x7614},
-{"sys/ser_sync.h", "S_IOCGETMODE", 0x7a01},
-{"sys/ser_sync.h", "S_IOCSETMODE", 0x7a02},
-{"sys/ser_sync.h", "S_IOCGETSTATS", 0x7a03},
-{"sys/ser_sync.h", "S_IOCCLRSTATS", 0x7a04},
-{"sys/ser_sync.h", "S_IOCGETSPEED", 0x7a05},
-{"sys/ser_sync.h", "S_IOCGETMRU", 0x7a06},
-{"sys/ser_sync.h", "S_IOCSETMRU", 0x7a07},
-{"sys/ser_sync.h", "S_IOCGETMTU", 0x7a08},
-{"sys/ser_sync.h", "S_IOCSETMTU", 0x7a09},
-{"sys/ser_sync.h", "S_IOCGETMCTL", 0x7a0a},
-{"sys/tl.h", "TL_IOC_CREDOPT", 0x544c01},
+++ /dev/null
-#!/bin/sh
-# Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
-# All rights reserved.
-#
-# 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. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
-#
-# $Id$
-
-if [ $# -ne 1 ]
-then
- echo "usage: $0 include-directory" >&2
- exit 1
-fi
-
-bad_includes='cg[48]var\.h|sys/spad\.h'
-bad_defines='cg[48]var\.h|READSLICE|I_E_RECVFD|FBIOGPIXRECT|JTIMO|TTYTYPE|TIOCCONS|TCL_LINK|TCL_UNLINK'
-
-(
- cd $1 || exit
- find sys -name '*.h' -print |
- xargs grep '^[ ]*#[ ]*define[ ][ ]*[A-Z_][A-Za-z0-9_]*[ ][ ]*( *[A-Za-z_][A-Za-z0-9_]* *| *[0-9][0-9]* *)' /dev/null |
- sed 's/\(.*\):#[ ]*define[ ]*\([A-Z_][A-Za-z0-9_]*\)[ ]*\(([^)]*)\)[ ]*\(.*\)/ { "\1", "\2", \2 }, \4 \/**\//'
-) >ioctlent.tmp
-cat ioctlent.tmp |
- awk '{ print "#include <" substr($2, 2, length($2) - 3) ">" }' |
- sort -u |
- egrep -v "$bad_includes"
-echo xyzzy
-echo "struct ioctlent ioctlent[] = {"
-egrep -v "$bad_defines" ioctlent.tmp |
-awk '{ print "#ifdef " $4; print $0; print "#endif" }'
-echo "};"
-rm -f ioctlent.tmp
+++ /dev/null
- "SIG_0", /* 0 */
- "SIGHUP", /* 1 */
- "SIGINT", /* 2 */
- "SIGQUIT", /* 3 */
- "SIGILL", /* 4 */
- "SIGTRAP", /* 5 */
- "SIGABRT", /* 6 */
- "SIGEMT", /* 7 */
- "SIGFPE", /* 8 */
- "SIGKILL", /* 9 */
- "SIGBUS", /* 10 */
- "SIGSEGV", /* 11 */
- "SIGSYS", /* 12 */
- "SIGPIPE", /* 13 */
- "SIGALRM", /* 14 */
- "SIGTERM", /* 15 */
- "SIGUSR1", /* 16 */
- "SIGUSR2", /* 17 */
- "SIGCHLD", /* 18 */
- "SIGPWR", /* 19 */
- "SIGWINCH", /* 20 */
- "SIGURG", /* 21 */
- "SIGPOLL", /* 22 */
- "SIGSTOP", /* 23 */
- "SIGTSTP", /* 24 */
- "SIGCONT", /* 25 */
- "SIGTTIN", /* 26 */
- "SIGTTOU", /* 27 */
- "SIGVTALRM", /* 28 */
- "SIGPROF", /* 29 */
- "SIGXCPU", /* 30 */
- "SIGXFSZ", /* 31 */
- "SIGWAITING", /* 32 */
- "SIGLWP", /* 33 */
- "SIGFREEZE", /* 34 */
- "SIGTHAW", /* 35 */
+++ /dev/null
-/*
- * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
- * All rights reserved.
- *
- * 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. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
- *
- * $Id$
- */
-
-#include "dummy.h"
-
-extern int sys_syscall();
-extern int sys_exit();
-extern int sys_fork();
-extern int sys_read();
-extern int sys_write();
-extern int sys_open();
-extern int sys_close();
-extern int sys_wait();
-extern int sys_creat();
-extern int sys_link();
-extern int sys_exec();
-extern int sys_chdir();
-extern int sys_time();
-extern int sys_settimeofday();
-extern int sys_mknod();
-extern int sys_chmod();
-extern int sys_chown();
-extern int sys_brk();
-extern int sys_stat();
-extern int sys_lseek();
-extern int sys_getpid();
-extern int sys_mount();
-extern int sys_umount();
-extern int sys_setuid();
-extern int sys_getuid();
-extern int sys_stime();
-extern int sys_ptrace();
-extern int sys_alarm();
-extern int sys_fstat();
-extern int sys_pause();
-extern int sys_utime();
-extern int sys_stty();
-extern int sys_gtty();
-extern int sys_access();
-extern int sys_nice();
-extern int sys_statfs();
-extern int sys_sync();
-extern int sys_kill();
-extern int sys_fstatfs();
-extern int sys_pgrpsys();
-extern int sys_setpgrp();
-extern int sys_xenix();
-extern int sys_syssgi();
-extern int sys_pipe();
-extern int sys_times();
-extern int sys_profil();
-extern int sys_plock();
-extern int sys_setgid();
-extern int sys_getgid();
-extern int sys_sigcall();
-extern int sys_msgsys();
-extern int sys_syssun();
-extern int sys_sysi86();
-extern int sys_sysmips();
-extern int sys_sysmachine();
-extern int sys_acct();
-extern int sys_shmsys();
-extern int sys_semsys();
-extern int sys_ioctl();
-extern int sys_uadmin();
-extern int sys_utssys();
-extern int sys_fdsync();
-extern int sys_execve();
-extern int sys_umask();
-extern int sys_fcntl();
-extern int sys_ulimit();
-extern int sys_mkdir();
-extern int sys_getdents();
-extern int sys_sysfs();
-extern int sys_getmsg();
-extern int sys_putmsg();
-extern int sys_poll();
-extern int sys_dup2();
-extern int sys_bind();
-extern int sys_listen();
-extern int sys_accept();
-extern int sys_connect();
-extern int sys_shutdown();
-extern int sys_recv();
-extern int sys_recvfrom();
-extern int sys_send();
-extern int sys_sendto();
-extern int sys_getpeername();
-extern int sys_getsockname();
-extern int sys_getsockopt();
-extern int sys_setsockopt();
-#ifdef MIPS
-extern int sys_sigreturn();
-extern int sys_gethostid();
-extern int sys_recvmsg();
-extern int sys_select();
-extern int sys_sendmsg();
-extern int sys_sethostid();
-extern int sys_socket();
-extern int sys_listen();
-extern int sys_gethostname();
-extern int sys_sethostname();
-extern int sys_getdomainname();
-extern int sys_setdomainname();
-extern int sys_truncate();
-extern int sys_ftruncate();
-extern int sys_readlink();
-extern int sys_nfssvc();
-extern int sys_getfh();
-extern int sys_async_daemon();
-extern int sys_exportfs();
-extern int sys_setregid();
-extern int sys_setreuid();
-extern int sys_getitimer();
-extern int sys_setitimer();
-extern int sys_adjtime();
-extern int sys_BSD_getime();
-extern int sys_sproc();
-extern int sys_prctl();
-extern int sys_procblk();
-extern int sys_sprocsp();
-extern int sys_mmap();
-extern int sys_munmap();
-extern int sys_mprotect();
-extern int sys_msync();
-extern int sys_madvise();
-extern int sys_pagelock();
-extern int sys_getpagesize();
-extern int sys_quotactl();
-extern int sys_BSDgetpgrp();
-extern int sys_BSDsetpgrp();
-extern int sys_vhangup();
-extern int sys_fsync();
-extern int sys_getrlimit();
-extern int sys_setrlimit();
-extern int sys_cacheflush();
-extern int sys_cachectl();
-extern int sys_fchown();
-extern int sys_fchmod();
-extern int sys_socketpair();
-extern int sys_sysinfo();
-extern int sys_nuname();
-extern int sys_xstat();
-extern int sys_lxstat();
-extern int sys_fxstat();
-extern int sys_xmknod();
-extern int sys_ksigaction();
-extern int sys_sigpending();
-extern int sys_sigprocmask();
-extern int sys_sigsuspend();
-extern int sys_sigpoll();
-extern int sys_swapctl();
-extern int sys_getcontext();
-extern int sys_setcontext();
-extern int sys_waitsys();
-extern int sys_sigstack();
-extern int sys_sigaltstack();
-extern int sys_sigsendset();
-extern int sys_statvfs();
-extern int sys_fstatvfs();
-extern int sys_getpmsg();
-extern int sys_putpmsg();
-extern int sys_lchown();
-extern int sys_priocntl();
-extern int sys_ksigqueue();
-#else /* !MIPS */
-extern int sys_lstat();
-extern int sys_readlink();
-extern int sys_setgroups();
-extern int sys_getgroups();
-extern int sys_fchmod();
-extern int sys_fchown();
-extern int sys_sigprocmask();
-extern int sys_sigsuspend();
-extern int sys_sigaltstack();
-extern int sys_sigaction();
-extern int sys_spcall();
-extern int sys_context();
-extern int sys_evsys();
-extern int sys_evtrapret();
-extern int sys_statvfs();
-extern int sys_fstatvfs();
-extern int sys_nfssys();
-extern int sys_waitid();
-extern int sys_sigsendsys();
-extern int sys_hrtsys();
-extern int sys_acancel();
-extern int sys_async();
-extern int sys_priocntlsys();
-extern int sys_pathconf();
-extern int sys_mincore();
-extern int sys_mmap();
-extern int sys_mprotect();
-extern int sys_munmap();
-extern int sys_fpathconf();
-extern int sys_vfork();
-extern int sys_readv();
-extern int sys_writev();
-extern int sys_xstat();
-extern int sys_lxstat();
-extern int sys_fxstat();
-extern int sys_xmknod();
-extern int sys_clocal();
-extern int sys_setrlimit();
-extern int sys_getrlimit();
-extern int sys_lchown();
-extern int sys_memcntl();
-extern int sys_getpmsg();
-extern int sys_putpmsg();
-extern int sys_uname();
-extern int sys_setegid();
-extern int sys_sysconfig();
-extern int sys_adjtime();
-extern int sys_sysinfo();
-extern int sys_seteuid();
-extern int sys_vtrace();
-extern int sys_fork1();
-extern int sys_sigtimedwait();
-extern int sys_lwp_info();
-extern int sys_yield();
-extern int sys_lwp_sema_wait();
-extern int sys_lwp_sema_post();
-extern int sys_modctl();
-extern int sys_utimes();
-extern int sys_vhangup();
-extern int sys_gettimeofday();
-extern int sys_getitimer();
-extern int sys_setitimer();
-extern int sys_lwp_create();
-extern int sys_lwp_exit();
-extern int sys_lwp_suspend();
-extern int sys_lwp_continue();
-extern int sys_lwp_kill();
-extern int sys_lwp_self();
-extern int sys_lwp_setprivate();
-extern int sys_lwp_getprivate();
-extern int sys_lwp_wait();
-extern int sys_lwp_mutex_unlock();
-extern int sys_lwp_mutex_lock();
-extern int sys_lwp_cond_wait();
-extern int sys_lwp_cond_signal();
-extern int sys_lwp_cond_broadcast();
-extern int sys_pread();
-extern int sys_pwrite();
-extern int sys_inst_sync();
-extern int sys_auditsys();
-extern int sys_processor_bind();
-extern int sys_processor_info();
-extern int sys_p_online();
-extern int sys_sigqueue();
-extern int sys_clock_gettime();
-extern int sys_clock_settime();
-extern int sys_clock_getres();
-extern int sys_timer_create();
-extern int sys_timer_delete();
-extern int sys_timer_settime();
-extern int sys_timer_gettime();
-extern int sys_timer_getoverrun();
-extern int sys_nanosleep();
-extern int sys_setreuid();
-extern int sys_setregid();
-#ifdef HAVE_SYS_ACL_H
-extern int sys_acl();
-extern int sys_facl();
-extern int sys_aclipc();
-#endif
-#ifdef HAVE_SYS_DOOR_H
-extern int sys_door();
-#endif
-#endif /* !MIPS */
-
-#ifdef MIPS
-#define SGI_KLUDGE 1
-#else
-#define SGI_KLUDGE 0
-#endif
-
-/* sys_pgrpsys subcalls */
-
-extern int sys_getpgrp(), sys_setpgrp(), sys_getsid();
-extern int sys_setsid(), sys_getpgid(), sys_setpgid();
-
-#ifndef MIPS
-
-#define SYS_pgrpsys_subcall 300 + SGI_KLUDGE
-#define SYS_getpgrp (SYS_pgrpsys_subcall + 0)
-#define SYS_setpgrp (SYS_pgrpsys_subcall + 1)
-#define SYS_getsid (SYS_pgrpsys_subcall + 2)
-#define SYS_setsid (SYS_pgrpsys_subcall + 3)
-#define SYS_getpgid (SYS_pgrpsys_subcall + 4)
-#define SYS_setpgid (SYS_pgrpsys_subcall + 5)
-
-#define SYS_pgrpsys_nsubcalls 6
-
-#endif /* !MIPS */
-
-/* sys_sigcall subcalls */
-
-#undef SYS_signal
-#define SYS_sigcall 48
-
-extern int sys_signal(), sys_sigset(), sys_sighold();
-extern int sys_sigrelse(), sys_sigignore(), sys_sigpause();
-
-#ifndef MIPS
-
-#define SYS_sigcall_subcall 310 + SGI_KLUDGE
-#define SYS_signal (SYS_sigcall_subcall + 0)
-#define SYS_sigset (SYS_sigcall_subcall + 1)
-#define SYS_sighold (SYS_sigcall_subcall + 2)
-#define SYS_sigrelse (SYS_sigcall_subcall + 3)
-#define SYS_sigignore (SYS_sigcall_subcall + 4)
-#define SYS_sigpause (SYS_sigcall_subcall + 5)
-
-#define SYS_sigcall_nsubcalls 6
-
-#endif /* !MIPS */
-
-/* msgsys subcalls */
-
-extern int sys_msgget(), sys_msgctl(), sys_msgrcv(), sys_msgsnd();
-
-#define SYS_msgsys_subcall 320 + SGI_KLUDGE
-#define SYS_msgget (SYS_msgsys_subcall + 0)
-#define SYS_msgctl (SYS_msgsys_subcall + 1)
-#define SYS_msgrcv (SYS_msgsys_subcall + 2)
-#define SYS_msgsnd (SYS_msgsys_subcall + 3)
-
-#define SYS_msgsys_nsubcalls 4
-
-/* shmsys subcalls */
-
-extern int sys_shmat(), sys_shmctl(), sys_shmdt(), sys_shmget();
-
-#define SYS_shmsys_subcall 330 + SGI_KLUDGE
-#define SYS_shmat (SYS_shmsys_subcall + 0)
-#define SYS_shmctl (SYS_shmsys_subcall + 1)
-#define SYS_shmdt (SYS_shmsys_subcall + 2)
-#define SYS_shmget (SYS_shmsys_subcall + 3)
-
-#define SYS_shmsys_nsubcalls 4
-
-/* semsys subcalls */
-
-extern int sys_semctl(), sys_semget(), sys_semop();
-
-#define SYS_semsys_subcall 340 + SGI_KLUDGE
-#define SYS_semctl (SYS_semsys_subcall + 0)
-#define SYS_semget (SYS_semsys_subcall + 1)
-#define SYS_semop (SYS_semsys_subcall + 2)
-
-#define SYS_semsys_nsubcalls 3
-
-/* utssys subcalls */
-
-extern int sys_olduname(), sys_ustat(), sys_fusers();
-
-#define SYS_utssys_subcall 350 + SGI_KLUDGE
-
-#define SYS_olduname (SYS_utssys_subcall + 0)
- /* 1 is unused */
-#define SYS_ustat (SYS_utssys_subcall + 2)
-#define SYS_fusers (SYS_utssys_subcall + 3)
-
-#define SYS_utssys_nsubcalls 4
-
-/* sysfs subcalls */
-
-extern int sys_sysfs1(), sys_sysfs2(), sys_sysfs3();
-
-#define SYS_sysfs_subcall 360 + SGI_KLUDGE
- /* 0 is unused */
-#define SYS_sysfs1 (SYS_sysfs_subcall + 1)
-#define SYS_sysfs2 (SYS_sysfs_subcall + 2)
-#define SYS_sysfs3 (SYS_sysfs_subcall + 3)
-
-#define SYS_sysfs_nsubcalls 4
-
-/* sys_spcall subcalls */
-
-#undef SYS_sigpending
-#define SYS_spcall 99
-
-extern int sys_sigpending(), sys_sigfillset();
-
-#define SYS_spcall_subcall 370 + SGI_KLUDGE
- /* 0 is unused */
-#define SYS_sigpending (SYS_spcall_subcall + 1)
-#define SYS_sigfillset (SYS_spcall_subcall + 2)
-
-#define SYS_spcall_nsubcalls 3
-
-/* sys_context subcalls */
-
-extern int sys_getcontext(), sys_setcontext();
-
-#ifndef MIPS
-
-#define SYS_context_subcall 380 + SGI_KLUDGE
-#define SYS_getcontext (SYS_context_subcall + 0)
-#define SYS_setcontext (SYS_context_subcall + 1)
-
-#define SYS_context_nsubcalls 2
-
-#endif /* !MIPS */
-
-
-#ifdef HAVE_SYS_AIO_H
-extern int sys_aioread();
-extern int sys_aiowrite();
-extern int sys_aiowait();
-extern int sys_aiocancel();
-#endif /* HAVE_SYS_AIO_H */
-
-/* 64-bit file stuff */
-
-#if _LFS64_LARGEFILE
-extern int sys_getdents64();
-extern int sys_mmap64();
-extern int sys_stat64();
-extern int sys_lstat64();
-extern int sys_fstat64();
-extern int sys_setrlimit64();
-extern int sys_getrlimit64();
-extern int sys_pread64();
-extern int sys_pwrite64();
-extern int sys_lseek64();
-#endif
-
-/* solaris 2.6 stuff */
-extern int sys_so_socket();
-extern int sys_so_socketpair();
-
-#ifdef HAVE_SYS_DOOR_H
-
-#define SYS_door_subcall 390 + SGI_KLUDGE
-#define SYS_door_create (SYS_door_subcall + 0)
-#define SYS_door_revoke (SYS_door_subcall + 1)
-#define SYS_door_info (SYS_door_subcall + 2)
-#define SYS_door_call (SYS_door_subcall + 3)
-#define SYS_door_return (SYS_door_subcall + 4)
-#define SYS_door_cred (SYS_door_subcall + 5)
-
-#define SYS_door_nsubcalls 6
-
-#endif /* HAVE_SYS_DOOR_H */
-
-#ifdef HAVE_SYS_AIO_H
-
-#define SYS_kaio_subcall 400 + SGI_KLUDGE
-#define SYS_aioread (SYS_kaio_subcall + 0)
-#define SYS_aiowrite (SYS_kaio_subcall + 1)
-#define SYS_aiowait (SYS_kaio_subcall + 2)
-#define SYS_aiocancel (SYS_kaio_subcall + 3)
-#define SYS_aionotify (SYS_kaio_subcall + 4)
-#define SYS_aioinit (SYS_kaio_subcall + 5)
-#define SYS_aiostart (SYS_kaio_subcall + 6)
-#define SYS_aiolio (SYS_kaio_subcall + 7)
-#define SYS_aiosuspend (SYS_kaio_subcall + 8)
-#define SYS_aioerror (SYS_kaio_subcall + 9)
-#define SYS_aioliowait (SYS_kaio_subcall + 10)
-#define SYS_aioaread (SYS_kaio_subcall + 11)
-#define SYS_aioawrite (SYS_kaio_subcall + 12)
-#define SYS_aiolio64 (SYS_kaio_subcall + 13)
-#define SYS_aiosuspend64 (SYS_kaio_subcall + 14)
-#define SYS_aioerror64 (SYS_kaio_subcall + 15)
-#define SYS_aioliowait64 (SYS_kaio_subcall + 16)
-#define SYS_aioaread64 (SYS_kaio_subcall + 17)
-#define SYS_aioawrite64 (SYS_kaio_subcall + 18)
-#define SYS_aiocancel64 (SYS_kaio_subcall + 19)
-#define SYS_aiofsync (SYS_kaio_subcall + 20)
-
-#define SYS_kaio_nsubcalls 21
-
-#endif /* HAVE_SYS_AIO_H */
+++ /dev/null
-/*
- * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
- * All rights reserved.
- *
- * 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. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
- *
- * $Id$
- */
-
-#ifdef MIPS
- /* TODO: explain to non-mips people how this arch can have syscall #-1 */
- { MA, 0, printargs, "SYS_-1" }, /* -1 */
-#endif /* MIPS */
- { MA, 0, sys_syscall, "syscall" }, /* 0 */
- { MA, TP, sys_exit, "_exit" }, /* 1 */
- { MA, TP, sys_fork, "fork" }, /* 2 */
- { MA, TD, sys_read, "read" }, /* 3 */
- { MA, TD, sys_write, "write" }, /* 4 */
- { MA, TD|TF, sys_open, "open" }, /* 5 */
- { MA, TD, sys_close, "close" }, /* 6 */
- { MA, TP, sys_wait, "wait" }, /* 7 */
- { MA, TD|TF, sys_creat, "creat" }, /* 8 */
- { MA, TF, sys_link, "link" }, /* 9 */
- { MA, TF, sys_unlink, "unlink" }, /* 10 */
- { MA, TF|TP, sys_exec, "exec" }, /* 11 */
- { MA, TF, sys_chdir, "chdir" }, /* 12 */
- { MA, 0, sys_time, "time" }, /* 13 */
- { MA, TF, sys_mknod, "mknod" }, /* 14 */
- { MA, TF, sys_chmod, "chmod" }, /* 15 */
- { MA, TF, sys_chown, "chown" }, /* 16 */
- { MA, 0, sys_brk, "brk" }, /* 17 */
- { MA, TF, sys_stat, "stat" }, /* 18 */
- { MA, TD, sys_lseek, "lseek" }, /* 19 */
- { MA, 0, sys_getpid, "getpid" }, /* 20 */
- { MA, TF, sys_mount, "mount" }, /* 21 */
- { MA, TF, sys_umount, "umount" }, /* 22 */
- { MA, 0, sys_setuid, "setuid" }, /* 23 */
- { MA, 0, sys_getuid, "getuid" }, /* 24 */
- { MA, 0, sys_stime, "stime" }, /* 25 */
- { MA, 0, sys_ptrace, "ptrace" }, /* 26 */
- { MA, 0, sys_alarm, "alarm" }, /* 27 */
- { MA, TD, sys_fstat, "fstat" }, /* 28 */
- { MA, TS, sys_pause, "pause" }, /* 29 */
- { MA, TF, sys_utime, "utime" }, /* 30 */
- { MA, 0, sys_stty, "stty" }, /* 31 */
- { MA, 0, sys_gtty, "gtty" }, /* 32 */
- { MA, TF, sys_access, "access" }, /* 33 */
- { MA, 0, sys_nice, "nice" }, /* 34 */
- { MA, TF, sys_statfs, "statfs" }, /* 35 */
- { MA, 0, sys_sync, "sync" }, /* 36 */
- { MA, TS, sys_kill, "kill" }, /* 37 */
- { MA, TD, sys_fstatfs, "fstatfs" }, /* 38 */
-#ifdef MIPS
- { MA, 0, sys_setpgrp, "setpgrp" }, /* 39 */
-#else /* !MIPS */
- { MA, 0, sys_pgrpsys, "pgrpsys" }, /* 39 */
-#endif /* !MIPS */
-#ifdef MIPS
- { MA, 0, sys_syssgi, "syssgi" }, /* 40 */
-#else /* !MIPS */
- { MA, 0, sys_xenix, "xenix" }, /* 40 */
-#endif /* !MIPS */
- { MA, TD, sys_dup, "dup" }, /* 41 */
- { MA, TD, sys_pipe, "pipe" }, /* 42 */
- { MA, 0, sys_times, "times" }, /* 43 */
- { MA, 0, sys_profil, "profil" }, /* 44 */
- { MA, 0, sys_plock, "plock" }, /* 45 */
- { MA, 0, sys_setgid, "setgid" }, /* 46 */
- { MA, 0, sys_getgid, "getgid" }, /* 47 */
- { MA, 0, sys_sigcall, "sigcall" }, /* 48 */
- { MA, TI, sys_msgsys, "msgsys" }, /* 49 */
-#ifdef SPARC
- { MA, 0, sys_syssun, "syssun" }, /* 50 */
-#else /* !SPARC */
-#ifdef I386
- { MA, 0, sys_sysi86, "sysi86" }, /* 50 */
-#else /* !I386 */
-#ifdef MIPS
- { MA, 0, sys_sysmips, "sysmips" }, /* 50 */
-#else /* !MIPS */
- { MA, 0, sys_sysmachine, "sysmachine" }, /* 50 */
-#endif /* !MIPS */
-#endif /* !I386 */
-#endif /* !SPARC */
- { MA, TF, sys_acct, "acct" }, /* 51 */
- { MA, TI, sys_shmsys, "shmsys" }, /* 52 */
- { MA, TI, sys_semsys, "semsys" }, /* 53 */
- { MA, TD, sys_ioctl, "ioctl" }, /* 54 */
- { MA, 0, sys_uadmin, "uadmin" }, /* 55 */
- { MA, 0, sys_sysmp, "sysmp" }, /* 56 */
- { MA, 0, sys_utssys, "utssys" }, /* 57 */
- { MA, 0, sys_fdsync, "fdsync" }, /* 58 */
- { MA, TF|TP, sys_execve, "execve" }, /* 59 */
- { MA, 0, sys_umask, "umask" }, /* 60 */
- { MA, TF, sys_chroot, "chroot" }, /* 61 */
- { MA, TD, sys_fcntl, "fcntl" }, /* 62 */
- { MA, 0, sys_ulimit, "ulimit" }, /* 63 */
- { MA, 0, printargs, "SYS_64" }, /* 64 */
- { MA, 0, printargs, "SYS_65" }, /* 65 */
- { MA, 0, printargs, "SYS_66" }, /* 66 */
- { MA, 0, printargs, "SYS_67" }, /* 67 */
- { MA, 0, printargs, "SYS_68" }, /* 68 */
- { MA, 0, printargs, "SYS_69" }, /* 69 */
- { MA, 0, printargs, "SYS_70" }, /* 70 */
- { MA, 0, printargs, "SYS_71" }, /* 71 */
- { MA, 0, printargs, "SYS_72" }, /* 72 */
- { MA, 0, printargs, "SYS_73" }, /* 73 */
- { MA, 0, printargs, "SYS_74" }, /* 74 */
- { MA, 0, printargs, "SYS_75" }, /* 75 */
- { MA, 0, printargs, "SYS_76" }, /* 76 */
- { MA, 0, printargs, "SYS_77" }, /* 77 */
- { MA, 0, printargs, "SYS_78" }, /* 78 */
- { MA, TF, sys_rmdir, "rmdir" }, /* 79 */
- { MA, TF, sys_mkdir, "mkdir" }, /* 80 */
- { MA, TD, sys_getdents, "getdents" }, /* 81 */
- { MA, 0, sys_sginap, "sginap" }, /* 82 */
- { MA, 0, sys_sgikopt, "sgikopt" }, /* 83 */
- { MA, 0, sys_sysfs, "sysfs" }, /* 84 */
- { MA, TN, sys_getmsg, "getmsg" }, /* 85 */
- { MA, TN, sys_putmsg, "putmsg" }, /* 86 */
- { MA, TN, sys_poll, "poll" }, /* 87 */
-#ifdef MIPS
- { MA, TS, sys_sigreturn, "sigreturn" }, /* 88 */
- { MA, TN, sys_accept, "accept" }, /* 89 */
- { MA, TN, sys_bind, "bind" }, /* 90 */
- { MA, TN, sys_connect, "connect" }, /* 91 */
- { MA, 0, sys_gethostid, "gethostid" }, /* 92 */
- { MA, TN, sys_getpeername, "getpeername" }, /* 93 */
- { MA, TN, sys_getsockname, "getsockname" }, /* 94 */
- { MA, TN, sys_getsockopt, "getsockopt" }, /* 95 */
- { MA, TN, sys_listen, "listen" }, /* 96 */
- { MA, TN, sys_recv, "recv" }, /* 97 */
- { MA, TN, sys_recvfrom, "recvfrom" }, /* 98 */
- { MA, TN, sys_recvmsg, "recvmsg" }, /* 99 */
- { MA, TD, sys_select, "select" }, /* 100 */
- { MA, TN, sys_send, "send" }, /* 101 */
- { MA, TN, sys_sendmsg, "sendmsg" }, /* 102 */
- { MA, TN, sys_sendto, "sendto" }, /* 103 */
- { MA, 0, sys_sethostid, "sethostid" }, /* 104 */
- { MA, TN, sys_setsockopt, "setsockopt" }, /* 105 */
- { MA, TN, sys_shutdown, "shutdown" }, /* 106 */
- { MA, TN, sys_socket, "socket" }, /* 107 */
- { MA, 0, sys_gethostname, "gethostname" }, /* 108 */
- { MA, 0, sys_sethostname, "sethostname" }, /* 109 */
- { MA, 0, sys_getdomainname, "getdomainname" }, /* 110 */
- { MA, 0, sys_setdomainname, "setdomainname" }, /* 111 */
- { MA, TF, sys_truncate, "truncate" }, /* 112 */
- { MA, TD, sys_ftruncate, "ftruncate" }, /* 113 */
- { MA, TF, sys_rename, "rename" }, /* 114 */
- { MA, TF, sys_symlink, "symlink" }, /* 115 */
- { MA, TF, sys_readlink, "readlink" }, /* 116 */
- { MA, 0, printargs, "SYS_117" }, /* 117 */
- { MA, 0, printargs, "SYS_118" }, /* 118 */
- { MA, 0, sys_nfssvc, "nfssvc" }, /* 119 */
- { MA, 0, sys_getfh, "getfh" }, /* 120 */
- { MA, 0, sys_async_daemon, "async_daemon" }, /* 121 */
- { MA, 0, sys_exportfs, "exportfs" }, /* 122 */
- { MA, 0, sys_setregid, "setregid" }, /* 123 */
- { MA, 0, sys_setreuid, "setreuid" }, /* 124 */
- { MA, 0, sys_getitimer, "getitimer" }, /* 125 */
- { MA, 0, sys_setitimer, "setitimer" }, /* 126 */
- { MA, 0, sys_adjtime, "adjtime" }, /* 127 */
- { MA, 0, sys_BSD_getime, "BSD_getime" }, /* 128 */
- { MA, 0, sys_sproc, "sproc" }, /* 129 */
- { MA, 0, sys_prctl, "prctl" }, /* 130 */
- { MA, 0, sys_procblk, "procblk" }, /* 131 */
- { MA, 0, sys_sprocsp, "sprocsp" }, /* 132 */
- { MA, 0, printargs, "SYS_133" }, /* 133 */
- { MA, 0, sys_mmap, "mmap" }, /* 134 */
- { MA, 0, sys_munmap, "munmap" }, /* 135 */
- { MA, 0, sys_mprotect, "mprotect" }, /* 136 */
- { MA, 0, sys_msync, "msync" }, /* 137 */
- { MA, 0, sys_madvise, "madvise" }, /* 138 */
- { MA, 0, sys_pagelock, "pagelock" }, /* 139 */
- { MA, 0, sys_getpagesize, "getpagesize" }, /* 140 */
- { MA, 0, sys_quotactl, "quotactl" }, /* 141 */
- { MA, 0, printargs, "SYS_142" }, /* 142 */
- { MA, 0, sys_BSDgetpgrp, "BSDgetpgrp" }, /* 143 */
- { MA, 0, sys_BSDsetpgrp, "BSDsetpgrp" }, /* 144 */
- { MA, 0, sys_vhangup, "vhangup" }, /* 145 */
- { MA, TD, sys_fsync, "fsync" }, /* 146 */
- { MA, TD, sys_fchdir, "fchdir" }, /* 147 */
- { MA, 0, sys_getrlimit, "getrlimit" }, /* 148 */
- { MA, 0, sys_setrlimit, "setrlimit" }, /* 149 */
- { MA, 0, sys_cacheflush, "cacheflush" }, /* 150 */
- { MA, 0, sys_cachectl, "cachectl" }, /* 151 */
- { MA, TD, sys_fchown, "fchown" }, /* 152 */
- { MA, TD, sys_fchmod, "fchmod" }, /* 153 */
- { MA, 0, printargs, "SYS_154" }, /* 154 */
- { MA, TN, sys_socketpair, "socketpair" }, /* 155 */
- { MA, 0, sys_sysinfo, "sysinfo" }, /* 156 */
- { MA, 0, sys_nuname, "nuname" }, /* 157 */
- { MA, TF, sys_xstat, "xstat" }, /* 158 */
- { MA, TF, sys_lxstat, "lxstat" }, /* 159 */
- { MA, 0, sys_fxstat, "fxstat" }, /* 160 */
- { MA, TF, sys_xmknod, "xmknod" }, /* 161 */
- { MA, TS, sys_ksigaction, "sigaction" }, /* 162 */
- { MA, TS, sys_sigpending, "sigpending" }, /* 163 */
- { MA, TS, sys_sigprocmask, "sigprocmask" }, /* 164 */
- { MA, TS, sys_sigsuspend, "sigsuspend" }, /* 165 */
- { MA, TS, sys_sigpoll, "sigpoll" }, /* 166 */
- { MA, 0, sys_swapctl, "swapctl" }, /* 167 */
- { MA, 0, sys_getcontext, "getcontext" }, /* 168 */
- { MA, 0, sys_setcontext, "setcontext" }, /* 169 */
- { MA, TP, sys_waitid, "waitid" }, /* 170 */
- { MA, TS, sys_sigstack, "sigstack" }, /* 171 */
- { MA, TS, sys_sigaltstack, "sigaltstack" }, /* 172 */
- { MA, TS, sys_sigsendset, "sigsendset" }, /* 173 */
- { MA, TF, sys_statvfs, "statvfs" }, /* 174 */
- { MA, 0, sys_fstatvfs, "fstatvfs" }, /* 175 */
- { MA, TN, sys_getpmsg, "getpmsg" }, /* 176 */
- { MA, TN, sys_putpmsg, "putpmsg" }, /* 177 */
- { MA, TF, sys_lchown, "lchown" }, /* 178 */
- { MA, 0, sys_priocntl, "priocntl" }, /* 179 */
- { MA, TS, sys_ksigqueue, "ksigqueue" }, /* 180 */
- { MA, 0, printargs, "SYS_181" }, /* 181 */
- { MA, 0, printargs, "SYS_182" }, /* 182 */
- { MA, 0, printargs, "SYS_183" }, /* 183 */
- { MA, 0, printargs, "SYS_184" }, /* 184 */
- { MA, 0, printargs, "SYS_185" }, /* 185 */
- { MA, 0, printargs, "SYS_186" }, /* 186 */
- { MA, 0, printargs, "SYS_187" }, /* 187 */
- { MA, 0, printargs, "SYS_188" }, /* 188 */
- { MA, 0, printargs, "SYS_189" }, /* 189 */
- { MA, 0, printargs, "SYS_190" }, /* 190 */
- { MA, 0, printargs, "SYS_191" }, /* 191 */
- { MA, 0, printargs, "SYS_192" }, /* 192 */
- { MA, 0, printargs, "SYS_193" }, /* 193 */
- { MA, 0, printargs, "SYS_194" }, /* 194 */
- { MA, 0, printargs, "SYS_195" }, /* 195 */
- { MA, 0, printargs, "SYS_196" }, /* 196 */
- { MA, 0, printargs, "SYS_197" }, /* 197 */
- { MA, 0, printargs, "SYS_198" }, /* 198 */
- { MA, 0, printargs, "SYS_199" }, /* 199 */
- { MA, 0, printargs, "SYS_200" }, /* 200 */
- { MA, 0, printargs, "SYS_201" }, /* 201 */
- { MA, 0, printargs, "SYS_202" }, /* 202 */
- { MA, 0, printargs, "SYS_203" }, /* 203 */
- { MA, 0, printargs, "SYS_204" }, /* 204 */
- { MA, 0, printargs, "SYS_205" }, /* 205 */
- { MA, 0, printargs, "SYS_206" }, /* 206 */
- { MA, 0, printargs, "SYS_207" }, /* 207 */
- { MA, 0, printargs, "SYS_208" }, /* 208 */
- { MA, 0, printargs, "SYS_209" }, /* 209 */
- { MA, 0, printargs, "SYS_210" }, /* 210 */
- { MA, 0, printargs, "SYS_211" }, /* 211 */
- { MA, 0, printargs, "SYS_212" }, /* 212 */
- { MA, 0, printargs, "SYS_213" }, /* 213 */
- { MA, 0, printargs, "SYS_214" }, /* 214 */
- { MA, 0, printargs, "SYS_215" }, /* 215 */
- { MA, 0, printargs, "SYS_216" }, /* 216 */
- { MA, 0, printargs, "SYS_217" }, /* 217 */
- { MA, 0, printargs, "SYS_218" }, /* 218 */
- { MA, 0, printargs, "SYS_219" }, /* 219 */
- { MA, 0, printargs, "SYS_220" }, /* 220 */
- { MA, 0, printargs, "SYS_221" }, /* 221 */
- { MA, 0, printargs, "SYS_222" }, /* 222 */
- { MA, 0, printargs, "SYS_223" }, /* 223 */
- { MA, 0, printargs, "SYS_224" }, /* 224 */
- { MA, 0, printargs, "SYS_225" }, /* 225 */
- { MA, 0, printargs, "SYS_226" }, /* 226 */
- { MA, 0, printargs, "SYS_227" }, /* 227 */
- { MA, 0, printargs, "SYS_228" }, /* 228 */
- { MA, 0, printargs, "SYS_229" }, /* 229 */
- { MA, 0, printargs, "SYS_230" }, /* 230 */
- { MA, 0, printargs, "SYS_231" }, /* 231 */
- { MA, 0, printargs, "SYS_232" }, /* 232 */
- { MA, 0, printargs, "SYS_233" }, /* 233 */
- { MA, 0, printargs, "SYS_234" }, /* 234 */
- { MA, 0, printargs, "SYS_235" }, /* 235 */
- { MA, 0, printargs, "SYS_236" }, /* 236 */
- { MA, 0, printargs, "SYS_237" }, /* 237 */
- { MA, 0, printargs, "SYS_238" }, /* 238 */
- { MA, 0, printargs, "SYS_239" }, /* 239 */
- { MA, 0, printargs, "SYS_240" }, /* 240 */
- { MA, 0, printargs, "SYS_241" }, /* 241 */
- { MA, 0, printargs, "SYS_242" }, /* 242 */
- { MA, 0, printargs, "SYS_243" }, /* 243 */
- { MA, 0, printargs, "SYS_244" }, /* 244 */
- { MA, 0, printargs, "SYS_245" }, /* 245 */
- { MA, 0, printargs, "SYS_246" }, /* 246 */
- { MA, 0, printargs, "SYS_247" }, /* 247 */
- { MA, 0, printargs, "SYS_248" }, /* 248 */
- { MA, 0, printargs, "SYS_249" }, /* 249 */
- { MA, 0, printargs, "SYS_250" }, /* 250 */
- { MA, 0, printargs, "SYS_251" }, /* 251 */
- { MA, 0, printargs, "SYS_252" }, /* 252 */
- { MA, 0, printargs, "SYS_253" }, /* 253 */
- { MA, 0, printargs, "SYS_254" }, /* 254 */
- { MA, 0, printargs, "SYS_255" }, /* 255 */
-#else /* !MIPS */
- { MA, TF, sys_lstat, "lstat" }, /* 88 */
- { MA, TF, sys_symlink, "symlink" }, /* 89 */
- { MA, TF, sys_readlink, "readlink" }, /* 90 */
- { MA, 0, sys_setgroups, "setgroups" }, /* 91 */
- { MA, 0, sys_getgroups, "getgroups" }, /* 92 */
- { MA, TD, sys_fchmod, "fchmod" }, /* 93 */
- { MA, TD, sys_fchown, "fchown" }, /* 94 */
- { MA, TS, sys_sigprocmask, "sigprocmask" }, /* 95 */
- { MA, TS, sys_sigsuspend, "sigsuspend" }, /* 96 */
- { MA, TS, sys_sigaltstack, "sigaltstack" }, /* 97 */
- { MA, TS, sys_sigaction, "sigaction" }, /* 98 */
- { MA, 0, sys_spcall, "spcall" }, /* 99 */
- { MA, 0, sys_context, "context" }, /* 100 */
- { MA, 0, sys_evsys, "evsys" }, /* 101 */
- { MA, 0, sys_evtrapret, "evtrapret" }, /* 102 */
- { MA, TF, sys_statvfs, "statvfs" }, /* 103 */
- { MA, 0, sys_fstatvfs, "fstatvfs" }, /* 104 */
- { MA, 0, printargs, "SYS_105" }, /* 105 */
- { MA, 0, sys_nfssys, "nfssys" }, /* 106 */
- { MA, TP, sys_waitid, "waitid" }, /* 107 */
- { MA, 0, sys_sigsendsys, "sigsendsys" }, /* 108 */
- { MA, 0, sys_hrtsys, "hrtsys" }, /* 109 */
- { MA, 0, sys_acancel, "acancel" }, /* 110 */
- { MA, 0, sys_async, "async" }, /* 111 */
- { MA, 0, sys_priocntlsys, "priocntlsys" }, /* 112 */
- { MA, TF, sys_pathconf, "pathconf" }, /* 113 */
- { MA, 0, sys_mincore, "mincore" }, /* 114 */
- { MA, 0, sys_mmap, "mmap" }, /* 115 */
- { MA, 0, sys_mprotect, "mprotect" }, /* 116 */
- { MA, 0, sys_munmap, "munmap" }, /* 117 */
- { MA, 0, sys_fpathconf, "fpathconf" }, /* 118 */
- { MA, TP, sys_vfork, "vfork" }, /* 119 */
- { MA, TD, sys_fchdir, "fchdir" }, /* 120 */
- { MA, TD, sys_readv, "readv" }, /* 121 */
- { MA, TD, sys_writev, "writev" }, /* 122 */
- { MA, TF, sys_xstat, "xstat" }, /* 123 */
- { MA, TF, sys_lxstat, "lxstat" }, /* 124 */
- { MA, 0, sys_fxstat, "fxstat" }, /* 125 */
- { MA, TF, sys_xmknod, "xmknod" }, /* 126 */
- { MA, 0, sys_clocal, "clocal" }, /* 127 */
- { MA, 0, sys_setrlimit, "setrlimit" }, /* 128 */
- { MA, 0, sys_getrlimit, "getrlimit" }, /* 129 */
- { MA, TF, sys_lchown, "lchown" }, /* 130 */
- { MA, 0, sys_memcntl, "memcntl" }, /* 131 */
- { MA, TN, sys_getpmsg, "getpmsg" }, /* 132 */
- { MA, TN, sys_putpmsg, "putpmsg" }, /* 133 */
- { MA, TF, sys_rename, "rename" }, /* 134 */
- { MA, 0, sys_uname, "uname" }, /* 135 */
- { MA, 0, sys_setegid, "setegid" }, /* 136 */
- { MA, 0, sys_sysconfig, "sysconfig" }, /* 137 */
- { MA, 0, sys_adjtime, "adjtime" }, /* 138 */
- { MA, 0, sys_sysinfo, "sysinfo" }, /* 139 */
- { MA, 0, printargs, "SYS_140" }, /* 140 */
- { MA, 0, sys_seteuid, "seteuid" }, /* 141 */
- { MA, 0, sys_vtrace, "vtrace" }, /* 142 */
- { MA, TP, sys_fork1, "fork1" }, /* 143 */
- { MA, TS, sys_sigtimedwait, "sigtimedwait" }, /* 144 */
- { MA, 0, sys_lwp_info, "lwp_info" }, /* 145 */
- { MA, 0, sys_yield, "yield" }, /* 146 */
- { MA, 0, sys_lwp_sema_wait, "lwp_sema_wait" }, /* 147 */
- { MA, 0, sys_lwp_sema_post, "lwp_sema_post" }, /* 148 */
- { MA, 0, sys_lwp_sema_trywait,"lwp_sema_trywait" }, /* 149 */
- { MA, 0, printargs, "SYS_150" }, /* 150 */
- { MA, 0, printargs, "SYS_151" }, /* 151 */
- { MA, 0, sys_modctl, "modctl" }, /* 152 */
- { MA, 0, sys_fchroot, "fchroot" }, /* 153 */
- { MA, TF, sys_utimes, "utimes" }, /* 154 */
- { MA, 0, sys_vhangup, "vhangup" }, /* 155 */
- { MA, 0, sys_gettimeofday, "gettimeofday" }, /* 156 */
- { MA, 0, sys_getitimer, "getitimer" }, /* 157 */
- { MA, 0, sys_setitimer, "setitimer" }, /* 158 */
- { MA, 0, sys_lwp_create, "lwp_create" }, /* 159 */
- { MA, 0, sys_lwp_exit, "lwp_exit" }, /* 160 */
- { MA, 0, sys_lwp_suspend, "lwp_suspend" }, /* 161 */
- { MA, 0, sys_lwp_continue, "lwp_continue" }, /* 162 */
- { MA, 0, sys_lwp_kill, "lwp_kill" }, /* 163 */
- { MA, 0, sys_lwp_self, "lwp_self" }, /* 164 */
- { MA, 0, sys_lwp_setprivate, "lwp_setprivate"}, /* 165 */
- { MA, 0, sys_lwp_getprivate, "lwp_getprivate"}, /* 166 */
- { MA, 0, sys_lwp_wait, "lwp_wait" }, /* 167 */
- { MA, 0, sys_lwp_mutex_unlock, "lwp_mutex_unlock"}, /* 168 */
- { MA, 0, sys_lwp_mutex_lock, "lwp_mutex_lock"}, /* 169 */
- { MA, 0, sys_lwp_cond_wait, "lwp_cond_wait"}, /* 170 */
- { MA, 0, sys_lwp_cond_signal, "lwp_cond_signal"}, /* 171 */
- { MA, 0, sys_lwp_cond_broadcast, "lwp_cond_broadcast"}, /* 172 */
- { MA, TD, sys_pread, "pread" }, /* 173 */
- { MA, TD, sys_pwrite, "pwrite" }, /* 174 */
- { MA, TD, sys_llseek, "llseek" }, /* 175 */
- { MA, 0, sys_inst_sync, "inst_sync" }, /* 176 */
- { MA, 0, printargs, "srmlimitsys" }, /* 177 */
- { MA, 0, sys_kaio, "kaio" }, /* 178 */
- { MA, 0, printargs, "cpc" }, /* 179 */
- { MA, 0, printargs, "SYS_180" }, /* 180 */
- { MA, 0, printargs, "SYS_181" }, /* 181 */
- { MA, 0, printargs, "SYS_182" }, /* 182 */
- { MA, 0, printargs, "SYS_183" }, /* 183 */
- { MA, 0, sys_tsolsys, "tsolsys" }, /* 184 */
-#ifdef HAVE_SYS_ACL_H
- { MA, TF, sys_acl, "acl" }, /* 185 */
-#else
- { MA, 0, printargs, "SYS_185" }, /* 185 */
-#endif
- { MA, 0, sys_auditsys, "auditsys" }, /* 186 */
- { MA, 0, sys_processor_bind, "processor_bind"}, /* 187 */
- { MA, 0, sys_processor_info, "processor_info"}, /* 188 */
- { MA, 0, sys_p_online, "p_online" }, /* 189 */
- { MA, 0, sys_sigqueue, "sigqueue" }, /* 190 */
- { MA, 0, sys_clock_gettime, "clock_gettime" }, /* 191 */
- { MA, 0, sys_clock_settime, "clock_settime" }, /* 192 */
- { MA, 0, sys_clock_getres, "clock_getres" }, /* 193 */
- { MA, 0, sys_timer_create, "timer_create" }, /* 194 */
- { MA, 0, sys_timer_delete, "timer_delete" }, /* 195 */
- { MA, 0, sys_timer_settime, "timer_settime" }, /* 196 */
- { MA, 0, sys_timer_gettime, "timer_gettime" }, /* 197 */
- { MA, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 198 */
- { MA, 0, sys_nanosleep, "nanosleep" }, /* 199 */
-#ifdef HAVE_SYS_ACL_H
- { MA, 0, sys_facl, "facl" }, /* 200 */
-#else
- { MA, 0, printargs, "SYS_200" }, /* 200 */
-#endif
-#ifdef HAVE_SYS_DOOR_H
- { MA, 0, sys_door, "door" }, /* 201 */
-#else
- { MA, 0, printargs, "SYS_201" }, /* 201 */
-#endif
- { MA, 0, sys_setreuid, "setreuid" }, /* 202 */
- { MA, 0, sys_setregid, "setregid" }, /* 203 */
- { MA, 0, sys_install_utrap, "install_utrap" }, /* 204 */
- { MA, 0, sys_signotify, "signotify" }, /* 205 */
- { MA, 0, sys_schedctl, "schedctl" }, /* 206 */
- { MA, 0, sys_pset, "pset" }, /* 207 */
- { MA, 0, printargs, "__sparc_utrap_install" }, /* 208 */
- { MA, 0, sys_resolvepath, "resolvepath" }, /* 209 */
- { MA, 0, sys_signotifywait, "signotifywait" }, /* 210 */
- { MA, 0, sys_lwp_sigredirect, "lwp_sigredirect" }, /* 211 */
- { MA, 0, sys_lwp_alarm, "lwp_alarm" }, /* 212 */
- { MA, TD, sys_getdents64, "getdents64" }, /* 213 */
- { MA, 0, sys_mmap64, "mmap64" }, /* 214 */
- { MA, 0, sys_stat64, "stat64" }, /* 215 */
- { MA, 0, sys_lstat64, "lstat64" }, /* 216 */
- { MA, TD, sys_fstat64, "fstat64" }, /* 217 */
- { MA, 0, sys_statvfs64, "statvfs64" }, /* 218 */
- { MA, 0, sys_fstatvfs64, "fstatvfs64" }, /* 219 */
- { MA, 0, sys_setrlimit64, "setrlimit64" }, /* 220 */
- { MA, 0, sys_getrlimit64, "getrlimit64" }, /* 221 */
- { MA, TD, sys_pread64, "pread64" }, /* 222 */
- { MA, TD, sys_pwrite64, "pwrite64" }, /* 223 */
- { MA, 0, sys_creat64, "creat64" }, /* 224 */
- { MA, 0, sys_open64, "open64" }, /* 225 */
- { MA, 0, sys_rpcsys, "rpcsys" }, /* 226 */
- { MA, 0, printargs, "SYS_227" }, /* 227 */
- { MA, 0, printargs, "SYS_228" }, /* 228 */
- { MA, 0, printargs, "SYS_229" }, /* 229 */
- { MA, TN, sys_so_socket, "so_socket" }, /* 230 */
- { MA, TN, sys_so_socketpair, "so_socketpair" }, /* 231 */
- { MA, TN, sys_bind, "bind" }, /* 232 */
- { MA, TN, sys_listen, "listen" }, /* 233 */
- { MA, TN, sys_accept, "accept" }, /* 234 */
- { MA, TN, sys_connect, "connect" }, /* 235 */
- { MA, TN, sys_shutdown, "shutdown" }, /* 236 */
- { MA, TN, sys_recv, "recv" }, /* 237 */
- { MA, TN, sys_recvfrom, "recvfrom" }, /* 238 */
- { MA, TN, sys_recvmsg, "recvmsg" }, /* 239 */
- { MA, TN, sys_send, "send" }, /* 240 */
- { MA, TN, sys_sendmsg, "sendmsg" }, /* 241 */
- { MA, TN, sys_sendto, "sendto" }, /* 242 */
- { MA, TN, sys_getpeername, "getpeername" }, /* 243 */
- { MA, TN, sys_getsockname, "getsockname" }, /* 244 */
- { MA, TN, sys_getsockopt, "getsockopt" }, /* 245 */
- { MA, TN, sys_setsockopt, "setsockopt" }, /* 246 */
- { MA, TN, sys_sockconfig, "sockconfig" }, /* 247 */
- { MA, 0, sys_ntp_gettime, "ntp_gettime" }, /* 248 */
- { MA, 0, sys_ntp_adjtime, "ntp_adjtime" }, /* 249 */
- { MA, 0, printargs, "lwp_mutex_unlock" }, /* 250 */
- { MA, 0, printargs, "lwp_mutex_trylock" }, /* 251 */
- { MA, 0, printargs, "lwp_mutex_init" }, /* 252 */
- { MA, 0, printargs, "cladm" }, /* 253 */
- { MA, 0, printargs, "lwp_sig_timedwait" }, /* 254 */
- { MA, 0, printargs, "umount2" }, /* 255 */
-#endif /* !MIPS */
- { MA, 0, printargs, "SYS_256" }, /* 256 */
- { MA, 0, printargs, "SYS_257" }, /* 257 */
- { MA, 0, printargs, "SYS_258" }, /* 258 */
- { MA, 0, printargs, "SYS_259" }, /* 259 */
- { MA, 0, printargs, "SYS_260" }, /* 260 */
- { MA, 0, printargs, "SYS_261" }, /* 261 */
- { MA, 0, printargs, "SYS_262" }, /* 262 */
- { MA, 0, printargs, "SYS_263" }, /* 263 */
- { MA, 0, printargs, "SYS_264" }, /* 264 */
- { MA, 0, printargs, "SYS_265" }, /* 265 */
- { MA, 0, printargs, "SYS_266" }, /* 266 */
- { MA, 0, printargs, "SYS_267" }, /* 267 */
- { MA, 0, printargs, "SYS_268" }, /* 268 */
- { MA, 0, printargs, "SYS_269" }, /* 269 */
- { MA, 0, printargs, "SYS_270" }, /* 270 */
- { MA, 0, printargs, "SYS_271" }, /* 271 */
- { MA, 0, printargs, "SYS_272" }, /* 272 */
- { MA, 0, printargs, "SYS_273" }, /* 273 */
- { MA, 0, printargs, "SYS_274" }, /* 274 */
- { MA, 0, printargs, "SYS_275" }, /* 275 */
- { MA, 0, printargs, "SYS_276" }, /* 276 */
- { MA, 0, printargs, "SYS_277" }, /* 277 */
- { MA, 0, printargs, "SYS_278" }, /* 278 */
- { MA, 0, printargs, "SYS_279" }, /* 279 */
- { MA, 0, printargs, "SYS_280" }, /* 280 */
- { MA, 0, printargs, "SYS_281" }, /* 281 */
- { MA, 0, printargs, "SYS_282" }, /* 282 */
- { MA, 0, printargs, "SYS_283" }, /* 283 */
- { MA, 0, printargs, "SYS_284" }, /* 284 */
- { MA, 0, printargs, "SYS_285" }, /* 285 */
- { MA, 0, printargs, "SYS_286" }, /* 286 */
- { MA, 0, printargs, "SYS_287" }, /* 287 */
- { MA, 0, printargs, "SYS_288" }, /* 288 */
- { MA, 0, printargs, "SYS_289" }, /* 289 */
- { MA, 0, printargs, "SYS_290" }, /* 290 */
- { MA, 0, printargs, "SYS_291" }, /* 291 */
- { MA, 0, printargs, "SYS_292" }, /* 292 */
- { MA, 0, printargs, "SYS_293" }, /* 293 */
- { MA, 0, printargs, "SYS_294" }, /* 294 */
- { MA, 0, printargs, "SYS_295" }, /* 295 */
- { MA, 0, printargs, "SYS_296" }, /* 296 */
- { MA, 0, printargs, "SYS_297" }, /* 297 */
- { MA, 0, printargs, "SYS_298" }, /* 298 */
- { MA, 0, printargs, "SYS_299" }, /* 299 */
-
- { MA, 0, sys_getpgrp, "getpgrp" }, /* 300 */
- { MA, 0, sys_setpgrp, "setpgrp" }, /* 301 */
- { MA, 0, sys_getsid, "getsid" }, /* 302 */
- { MA, 0, sys_setsid, "setsid" }, /* 303 */
- { MA, 0, sys_getpgid, "getpgid" }, /* 304 */
- { MA, 0, sys_setpgid, "setpgid" }, /* 305 */
- { MA, 0, printargs, "SYS_306" }, /* 306 */
- { MA, 0, printargs, "SYS_307" }, /* 307 */
- { MA, 0, printargs, "SYS_308" }, /* 308 */
- { MA, 0, printargs, "SYS_309" }, /* 309 */
-
- { MA, TS, sys_signal, "signal" }, /* 310 */
- { MA, TS, sys_sigset, "sigset" }, /* 311 */
- { MA, TS, sys_sighold, "sighold" }, /* 312 */
- { MA, TS, sys_sigrelse, "sigrelse" }, /* 313 */
- { MA, TS, sys_sigignore, "sigignore" }, /* 314 */
- { MA, TS, sys_sigpause, "sigpause" }, /* 315 */
- { MA, 0, printargs, "SYS_316" }, /* 316 */
- { MA, 0, printargs, "SYS_317" }, /* 317 */
- { MA, 0, printargs, "SYS_318" }, /* 318 */
- { MA, 0, printargs, "SYS_319" }, /* 319 */
-
- { MA, TI, sys_msgget, "msgget" }, /* 320 */
- { MA, TI, sys_msgctl, "msgctl" }, /* 321 */
- { MA, TI, sys_msgrcv, "msgrcv" }, /* 322 */
- { MA, TI, sys_msgsnd, "msgsnd" }, /* 323 */
- { MA, 0, printargs, "SYS_324" }, /* 324 */
- { MA, 0, printargs, "SYS_325" }, /* 325 */
- { MA, 0, printargs, "SYS_326" }, /* 326 */
- { MA, 0, printargs, "SYS_327" }, /* 327 */
- { MA, 0, printargs, "SYS_328" }, /* 328 */
- { MA, 0, printargs, "SYS_329" }, /* 329 */
-
- { MA, TI, sys_shmat, "shmat" }, /* 330 */
- { MA, TI, sys_shmctl, "shmctl" }, /* 331 */
- { MA, TI, sys_shmdt, "shmdt" }, /* 332 */
- { MA, TI, sys_shmget, "shmget" }, /* 333 */
- { MA, 0, printargs, "SYS_334" }, /* 334 */
- { MA, 0, printargs, "SYS_335" }, /* 335 */
- { MA, 0, printargs, "SYS_336" }, /* 336 */
- { MA, 0, printargs, "SYS_337" }, /* 337 */
- { MA, 0, printargs, "SYS_338" }, /* 338 */
- { MA, 0, printargs, "SYS_339" }, /* 339 */
-
- { MA, TI, sys_semctl, "semctl" }, /* 340 */
- { MA, TI, sys_semget, "semget" }, /* 341 */
- { MA, TI, sys_semop, "semop" }, /* 342 */
- { MA, 0, printargs, "SYS_343" }, /* 343 */
- { MA, 0, printargs, "SYS_344" }, /* 344 */
- { MA, 0, printargs, "SYS_345" }, /* 345 */
- { MA, 0, printargs, "SYS_346" }, /* 346 */
- { MA, 0, printargs, "SYS_347" }, /* 347 */
- { MA, 0, printargs, "SYS_348" }, /* 348 */
- { MA, 0, printargs, "SYS_349" }, /* 349 */
-
- { MA, 0, sys_olduname, "olduname" }, /* 350 */
- { MA, 0, printargs, "utssys1" }, /* 351 */
- { MA, 0, sys_ustat, "ustat" }, /* 352 */
- { MA, 0, sys_fusers, "fusers" }, /* 353 */
- { MA, 0, printargs, "SYS_354" }, /* 354 */
- { MA, 0, printargs, "SYS_355" }, /* 355 */
- { MA, 0, printargs, "SYS_356" }, /* 356 */
- { MA, 0, printargs, "SYS_357" }, /* 357 */
- { MA, 0, printargs, "SYS_358" }, /* 358 */
- { MA, 0, printargs, "SYS_359" }, /* 359 */
-
- { MA, 0, printargs, "sysfs0" }, /* 360 */
- { MA, 0, sys_sysfs1, "sysfs1" }, /* 361 */
- { MA, 0, sys_sysfs2, "sysfs2" }, /* 362 */
- { MA, 0, sys_sysfs3, "sysfs3" }, /* 363 */
- { MA, 0, printargs, "SYS_364" }, /* 364 */
- { MA, 0, printargs, "SYS_365" }, /* 365 */
- { MA, 0, printargs, "SYS_366" }, /* 366 */
- { MA, 0, printargs, "SYS_367" }, /* 367 */
- { MA, 0, printargs, "SYS_368" }, /* 368 */
- { MA, 0, printargs, "SYS_369" }, /* 369 */
-
- { MA, 0, printargs, "spcall0" }, /* 370 */
- { MA, TS, sys_sigpending, "sigpending" }, /* 371 */
- { MA, TS, sys_sigfillset, "sigfillset" }, /* 372 */
- { MA, 0, printargs, "SYS_373" }, /* 373 */
- { MA, 0, printargs, "SYS_374" }, /* 374 */
- { MA, 0, printargs, "SYS_375" }, /* 375 */
- { MA, 0, printargs, "SYS_376" }, /* 376 */
- { MA, 0, printargs, "SYS_377" }, /* 377 */
- { MA, 0, printargs, "SYS_378" }, /* 378 */
- { MA, 0, printargs, "SYS_379" }, /* 379 */
-
- { MA, 0, sys_getcontext, "getcontext" }, /* 380 */
- { MA, 0, sys_setcontext, "setcontext" }, /* 381 */
- { MA, 0, printargs, "SYS_382" }, /* 382 */
- { MA, 0, printargs, "SYS_383" }, /* 383 */
- { MA, 0, printargs, "SYS_384" }, /* 384 */
- { MA, 0, printargs, "SYS_385" }, /* 385 */
- { MA, 0, printargs, "SYS_386" }, /* 386 */
- { MA, 0, printargs, "SYS_387" }, /* 387 */
- { MA, 0, printargs, "SYS_388" }, /* 388 */
- { MA, 0, printargs, "SYS_389" }, /* 389 */
-
- { MA, 0, printargs, "door_create" }, /* 390 */
- { MA, 0, printargs, "door_revoke" }, /* 391 */
- { MA, 0, printargs, "door_info" }, /* 392 */
- { MA, 0, printargs, "door_call" }, /* 393 */
- { MA, 0, printargs, "door_return" }, /* 394 */
- { MA, 0, printargs, "door_cred" }, /* 395 */
- { MA, 0, printargs, "SYS_396" }, /* 396 */
- { MA, 0, printargs, "SYS_397" }, /* 397 */
- { MA, 0, printargs, "SYS_398" }, /* 398 */
- { MA, 0, printargs, "SYS_399" }, /* 399 */
-
-#ifdef HAVE_SYS_AIO_H
- { MA, TF, sys_aioread, "aioread" }, /* 400 */
- { MA, TF, sys_aiowrite, "aiowrite" }, /* 401 */
- { MA, TF, sys_aiowait, "aiowait" }, /* 402 */
- { MA, TF, sys_aiocancel, "aiocancel" }, /* 403 */
- { MA, TF, sys_aionotify, "aionotify" }, /* 404 */
- { MA, TF, sys_aioinit, "aioinit" }, /* 405 */
- { MA, TF, sys_aiostart, "aiostart" }, /* 406 */
- { MA, TF, sys_aiolio, "aiolio" }, /* 407 */
- { MA, TF, sys_aiosuspend, "aiosuspend" }, /* 408 */
- { MA, TF, sys_aioerror, "aioerror" }, /* 409 */
- { MA, TF, sys_aioliowait, "aioliowait" }, /* 410 */
- { MA, TF, sys_aioaread, "aioaread" }, /* 411 */
- { MA, TF, sys_aioawrite, "aioawrite" }, /* 412 */
- { MA, TF, sys_aiolio64, "aiolio64" }, /* 413 */
- { MA, TF, sys_aiosuspend64, "aiosuspend64" }, /* 414 */
- { MA, TF, sys_aioerror64, "aioerror64" }, /* 415 */
- { MA, TF, sys_aioliowait64, "aioliowait64" }, /* 416 */
- { MA, TF, sys_aioaread64, "aioaread64" }, /* 417 */
- { MA, TF, sys_aioawrite64, "aioawrite64" }, /* 418 */
- { MA, TF, sys_aiocancel64, "aiocancel64" }, /* 419 */
- { MA, TF, sys_aiofsync, "aiofsync" }, /* 420 */
-#endif