summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorchristos <christos>2006-03-05 08:17:49 +0000
committerchristos <christos>2006-03-05 08:17:49 +0000
commit66519dd4852555342e97548fd9f9cad537f8437e (patch)
treeb405c72eab2661960e02943941544801b0902a33 /sysutils
parent24ad1b640f9938fdbfa1d84362ed5b5017f1f122 (diff)
downloadpkgsrc-66519dd4852555342e97548fd9f9cad537f8437e.tar.gz
add strace. This only works for NetBSD/i386 thus far.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/strace/DESCR1
-rw-r--r--sysutils/strace/Makefile19
-rw-r--r--sysutils/strace/PLIST4
-rw-r--r--sysutils/strace/distinfo23
-rw-r--r--sysutils/strace/patches/patch-aa773
-rw-r--r--sysutils/strace/patches/patch-ab51
-rw-r--r--sysutils/strace/patches/patch-ac152
-rw-r--r--sysutils/strace/patches/patch-ad75
-rw-r--r--sysutils/strace/patches/patch-ae22
-rw-r--r--sysutils/strace/patches/patch-af66
-rw-r--r--sysutils/strace/patches/patch-ag4873
-rw-r--r--sysutils/strace/patches/patch-ah124
-rw-r--r--sysutils/strace/patches/patch-ai40
-rw-r--r--sysutils/strace/patches/patch-aj60
-rw-r--r--sysutils/strace/patches/patch-ak50
-rw-r--r--sysutils/strace/patches/patch-al113
-rw-r--r--sysutils/strace/patches/patch-am31
-rw-r--r--sysutils/strace/patches/patch-an209
-rw-r--r--sysutils/strace/patches/patch-ao32
-rw-r--r--sysutils/strace/patches/patch-ap69
-rw-r--r--sysutils/strace/patches/patch-aq31
-rw-r--r--sysutils/strace/patches/patch-ar10
22 files changed, 6828 insertions, 0 deletions
diff --git a/sysutils/strace/DESCR b/sysutils/strace/DESCR
new file mode 100644
index 00000000000..df90fa70bad
--- /dev/null
+++ b/sysutils/strace/DESCR
@@ -0,0 +1 @@
+strace is a system call tracing program similar to ktruss that uses PT_SYSCALL
diff --git a/sysutils/strace/Makefile b/sysutils/strace/Makefile
new file mode 100644
index 00000000000..a30a09bbbd0
--- /dev/null
+++ b/sysutils/strace/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2006/03/05 08:17:49 christos Exp $
+#
+
+DISTNAME= strace-4.5.14
+CATEGORIES= sysutils
+MASTER_SITES= http://voxel.dl.sourceforge.net/sourceforge/strace/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= christos@NetBSD.org
+HOMEPAGE= http://www.liacs.nl/~wichert/strace/
+COMMENT= Trace system calls
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/strace/PLIST b/sysutils/strace/PLIST
new file mode 100644
index 00000000000..e3d017b5ecb
--- /dev/null
+++ b/sysutils/strace/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/03/05 08:17:49 christos Exp $
+bin/strace
+bin/strace-graph
+man/man1/strace.1.gz
diff --git a/sysutils/strace/distinfo b/sysutils/strace/distinfo
new file mode 100644
index 00000000000..6e8ae8cc61b
--- /dev/null
+++ b/sysutils/strace/distinfo
@@ -0,0 +1,23 @@
+$NetBSD: distinfo,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+SHA1 (strace-4.5.14.tar.bz2) = 72c17d1dd6786d22ca0aaaa7292b8edcd70a27de
+RMD160 (strace-4.5.14.tar.bz2) = cb42cac34d1624dd24842ada0dbb9dfff67e8e93
+Size (lsof_4.76.tar.bz2) = 445134 bytes
+SHA1 (patch-aa) = da710e96ca8c992916de0776f21d1113ba59d8f5
+SHA1 (patch-ab) = e5a96fe1eb136bc4a7bbae5c1bff30a87b0553d5
+SHA1 (patch-ac) = 16b9b2a0e40932088c5eb9ccd08e26cc6ce199e2
+SHA1 (patch-ad) = 998676d8a5940370f51e038885188ebec9c6f880
+SHA1 (patch-ae) = 9fc9a8d3e5646f3d00e617280eacd243efb257c7
+SHA1 (patch-af) = ce3080cf69d4cb8201b22f797b8d9025e90b4df0
+SHA1 (patch-ag) = 41e1a88691257ad0b9db24a0d3a0a6b7f6cc9511
+SHA1 (patch-ah) = bb0b7e6b53fa63a0da777c5238adc4762bbbea8c
+SHA1 (patch-ai) = b5aaf112a458c6354ea55b3cee59309f567a10c4
+SHA1 (patch-aj) = e9963c4adec7be0552e945f33558eb83f6542f52
+SHA1 (patch-ak) = e315a9647eca8d5704ec07efd5f7195fa77baa4c
+SHA1 (patch-al) = 74eb0fbe7ffe137461c318e2670d03776b8633f6
+SHA1 (patch-am) = 47cd69731cbe0ff374f747fc8fedc4c2f06479b5
+SHA1 (patch-an) = b980eaf033e3625f9e1ae532d5fa59c5652a413e
+SHA1 (patch-ao) = 232675e1e9b3a6faf34860676c6cea00051086e9
+SHA1 (patch-ap) = ebd1af2b869602600262e76afb3d36c8123cd51d
+SHA1 (patch-aq) = 53486623021bfc4e376054119f637ce9a445df2b
+SHA1 (patch-ar) = 0045d6a9b8556c257aef7ea669e1529e14cd9cce
diff --git a/sysutils/strace/patches/patch-aa b/sysutils/strace/patches/patch-aa
new file mode 100644
index 00000000000..f6a6ba4d25e
--- /dev/null
+++ b/sysutils/strace/patches/patch-aa
@@ -0,0 +1,773 @@
+$NetBSD: patch-aa,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- Makefile.in 2006-01-12 06:20:12.000000000 -0500
++++ Makefile.in 2006-03-04 19:18:23.000000000 -0500
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.9.5 from Makefile.am.
++# Makefile.in generated by automake 1.9.4 from Makefile.am.
+ # @configure_input@
+
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005 Free Software Foundation, Inc.
++# 2003, 2004 Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+ # with or without modifications, as long as this notice is preserved.
+@@ -100,6 +100,8 @@
+ distuninstallcheck_listfiles = find . -type f -print
+ distcleancheck_listfiles = find . -type f -print
+ ACLOCAL = @ACLOCAL@
++ALLBSD_FALSE = @ALLBSD_FALSE@
++ALLBSD_TRUE = @ALLBSD_TRUE@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+ AMTAR = @AMTAR@
+@@ -138,6 +140,8 @@
+ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+ MAKEINFO = @MAKEINFO@
++NETBSD_FALSE = @NETBSD_FALSE@
++NETBSD_TRUE = @NETBSD_TRUE@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+--- aclocal.m4 2006-01-12 06:20:05.000000000 -0500
++++ aclocal.m4 2006-03-04 19:18:16.000000000 -0500
+@@ -1,7 +1,7 @@
+-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
++# generated automatically by aclocal 1.9.4 -*- Autoconf -*-
+
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+-# 2005 Free Software Foundation, Inc.
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
++# Free Software Foundation, Inc.
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+ # with or without modifications, as long as this notice is preserved.
+@@ -11,11 +11,23 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+
+-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# -*- Autoconf -*-
++# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
++# Generated from amversion.in; do not edit by hand.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+
+ # AM_AUTOMAKE_VERSION(VERSION)
+ # ----------------------------
+@@ -28,15 +40,26 @@
+ # Call AM_AUTOMAKE_VERSION so it can be traced.
+ # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+- [AM_AUTOMAKE_VERSION([1.9.5])])
++ [AM_AUTOMAKE_VERSION([1.9.4])])
+
+-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
++# AM_AUX_DIR_EXPAND
+
+-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+
+ # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+ # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
+@@ -83,16 +106,26 @@
+ am_aux_dir=`cd $ac_aux_dir && pwd`
+ ])
+
+-# AM_CONDITIONAL -*- Autoconf -*-
++# AM_CONDITIONAL -*- Autoconf -*-
+
+-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
+-# Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+
+-# serial 7
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 6
+
+ # AM_CONDITIONAL(NAME, SHELL-CONDITION)
+ # -------------------------------------
+@@ -116,15 +149,26 @@
+ Usually this means the macro was only invoked conditionally.]])
+ fi])])
+
++# serial 7 -*- Autoconf -*-
+
+-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+ # Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+
+-# serial 8
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
+
+ # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+ # written in clear, in which case automake, when reading aclocal.m4,
+@@ -133,6 +177,7 @@
+ # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
++
+ # _AM_DEPENDENCIES(NAME)
+ # ----------------------
+ # See how the compiler implements dependency checking.
+@@ -272,16 +317,27 @@
+ AC_SUBST([AMDEPBACKSLASH])
+ ])
+
+-# Generate code to set up dependency tracking. -*- Autoconf -*-
++# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+-# Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
++# Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+
+-#serial 3
++#serial 2
+
+ # _AM_OUTPUT_DEPENDENCY_COMMANDS
+ # ------------------------------
+@@ -340,31 +396,54 @@
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+ ])
+
+-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+-# Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
+
+-# serial 8
++# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 7
+
+ # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
+ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
+
+-# Do all the work for Automake. -*- Autoconf -*-
++# Do all the work for Automake. -*- Autoconf -*-
+
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
++# This macro actually does too much some checks are only needed if
++# your package does certain things. But this isn't really a big deal.
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ # Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+
+-# serial 12
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
+
+-# This macro actually does too much. Some checks are only needed if
+-# your package does certain things. But this isn't really a big deal.
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 11
+
+ # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+ # AM_INIT_AUTOMAKE([OPTIONS])
+@@ -466,27 +545,51 @@
+ done
+ echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+
+-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+-
+ # AM_PROG_INSTALL_SH
+ # ------------------
+ # Define $install_sh.
++
++# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
+ AC_DEFUN([AM_PROG_INSTALL_SH],
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+ install_sh=${install_sh-"$am_aux_dir/install-sh"}
+ AC_SUBST(install_sh)])
+
+-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# -*- Autoconf -*-
++# Copyright (C) 2003 Free Software Foundation, Inc.
+
+-# serial 2
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 1
+
+ # Check whether the underlying file-system supports filenames
+ # with a leading dot. For instance MS-DOS doesn't.
+@@ -501,17 +604,28 @@
+ rmdir .tst 2>/dev/null
+ AC_SUBST([am__leading_dot])])
+
+-# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
++# Add --enable-maintainer-mode option to configure.
+ # From Jim Meyering
+
+-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
++# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
+ # Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+
+-# serial 4
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 3
+
+ AC_DEFUN([AM_MAINTAINER_MODE],
+ [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+@@ -530,15 +644,26 @@
+
+ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+
+-# Check to see how 'make' treats includes. -*- Autoconf -*-
++# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+
+-# serial 3
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 2
+
+ # AM_MAKE_INCLUDE()
+ # -----------------
+@@ -582,16 +707,27 @@
+ rm -f confinc confmf
+ ])
+
+-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
++# -*- Autoconf -*-
+
+-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
+-# Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+
+-# serial 4
++# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 3
+
+ # AM_MISSING_PROG(NAME, PROGRAM)
+ # ------------------------------
+@@ -617,16 +753,27 @@
+ fi
+ ])
+
+-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+-
+ # AM_PROG_MKDIR_P
+ # ---------------
+ # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
+-#
++
++# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
+ # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
+ # created by `make install' are always world readable, even if the
+ # installer happens to have an overly restrictive umask (e.g. 077).
+@@ -680,15 +827,26 @@
+ fi
+ AC_SUBST([mkdir_p])])
+
+-# Helper functions for option handling. -*- Autoconf -*-
++# Helper functions for option handling. -*- Autoconf -*-
+
+-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+
+-# serial 3
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 2
+
+ # _AM_MANGLE_OPTION(NAME)
+ # -----------------------
+@@ -713,16 +871,28 @@
+ AC_DEFUN([_AM_IF_OPTION],
+ [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+-# Check to make sure that the build environment is sane. -*- Autoconf -*-
+-
+-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+-# Free Software Foundation, Inc.
+ #
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Check to make sure that the build environment is sane.
++#
++
++# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
+
+-# serial 4
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 3
+
+ # AM_SANITY_CHECK
+ # ---------------
+@@ -765,14 +935,25 @@
+ fi
+ AC_MSG_RESULT(yes)])
+
+-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+-
+ # AM_PROG_INSTALL_STRIP
+-# ---------------------
++
++# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
+ # One issue with vendor `install' (even GNU) is that you can't
+ # specify the program used to strip binaries. This is especially
+ # annoying in cross-compiling environments, where the build's strip
+@@ -795,13 +976,25 @@
+
+ # Check how to create a tarball. -*- Autoconf -*-
+
+-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 2004 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 1
+
+-# serial 2
+
+ # _AM_PROG_TAR(FORMAT)
+ # --------------------
+--- config.h.in 2006-01-12 06:21:24.000000000 -0500
++++ config.h.in 2006-03-04 19:18:21.000000000 -0500
+@@ -1,5 +1,8 @@
+ /* config.h.in. Generated from configure.ac by autoheader. */
+
++/* Define for the BSD-like operating system. */
++#undef ALLBSD
++
+ /* Define for the Alpha architecture. */
+ #undef ALPHA
+
+@@ -327,6 +330,9 @@
+ /* Define for the MIPS architecture. */
+ #undef MIPS
+
++/* Define for the NetBSD operating system. */
++#undef NETBSD
++
+ /* Name of package */
+ #undef PACKAGE
+
+--- configure 2006-01-12 06:20:14.000000000 -0500
++++ configure 2006-03-04 19:18:20.000000000 -0500
+@@ -309,7 +309,7 @@
+ # include <unistd.h>
+ #endif"
+
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os opsys arch LINUX_TRUE LINUX_FALSE I386_TRUE I386_FALSE X86_64_TRUE X86_64_FALSE SUNOS4_TRUE SUNOS4_FALSE SVR4_TRUE SVR4_FALSE FREEBSD_TRUE FREEBSD_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE WARNFLAGS CPP EGREP PERL LIBOBJS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os opsys arch LINUX_TRUE LINUX_FALSE I386_TRUE I386_FALSE X86_64_TRUE X86_64_FALSE SUNOS4_TRUE SUNOS4_FALSE SVR4_TRUE SVR4_FALSE FREEBSD_TRUE FREEBSD_FALSE NETBSD_TRUE NETBSD_FALSE ALLBSD_TRUE ALLBSD_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE WARNFLAGS CPP EGREP PERL LIBOBJS LTLIBOBJS'
+ ac_subst_files=''
+
+ # Initialize some variables set by options.
+@@ -1882,6 +1882,24 @@
+ #define FREEBSD 1
+ _ACEOF
+
++
++cat >>confdefs.h <<\_ACEOF
++#define ALLBSD 1
++_ACEOF
++
++ ;;
++netbsd*)
++ opsys=netbsd
++
++cat >>confdefs.h <<\_ACEOF
++#define NETBSD 1
++_ACEOF
++
++
++cat >>confdefs.h <<\_ACEOF
++#define ALLBSD 1
++_ACEOF
++
+ ;;
+ *)
+ echo "$as_me:$LINENO: result: NO!" >&5
+@@ -2092,6 +2110,26 @@
+ fi
+
+
++
++if test x$opsys = xnetbsd; then
++ NETBSD_TRUE=
++ NETBSD_FALSE='#'
++else
++ NETBSD_TRUE='#'
++ NETBSD_FALSE=
++fi
++
++
++
++if test x$opsys = xnetbsd -o x$opsys = xfreebsd; then
++ ALLBSD_TRUE=
++ ALLBSD_FALSE='#'
++else
++ ALLBSD_TRUE='#'
++ ALLBSD_FALSE=
++fi
++
++
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -8511,6 +8549,20 @@
+ Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
++if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then
++ { { echo "$as_me:$LINENO: error: conditional \"NETBSD\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"NETBSD\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++ { (exit 1); exit 1; }; }
++fi
++if test -z "${ALLBSD_TRUE}" && test -z "${ALLBSD_FALSE}"; then
++ { { echo "$as_me:$LINENO: error: conditional \"ALLBSD\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"ALLBSD\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++ { (exit 1); exit 1; }; }
++fi
+ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&5
+@@ -9104,6 +9156,10 @@
+ s,@SVR4_FALSE@,$SVR4_FALSE,;t t
+ s,@FREEBSD_TRUE@,$FREEBSD_TRUE,;t t
+ s,@FREEBSD_FALSE@,$FREEBSD_FALSE,;t t
++s,@NETBSD_TRUE@,$NETBSD_TRUE,;t t
++s,@NETBSD_FALSE@,$NETBSD_FALSE,;t t
++s,@ALLBSD_TRUE@,$ALLBSD_TRUE,;t t
++s,@ALLBSD_FALSE@,$ALLBSD_FALSE,;t t
+ s,@CC@,$CC,;t t
+ s,@CFLAGS@,$CFLAGS,;t t
+ s,@LDFLAGS@,$LDFLAGS,;t t
+--- configure.ac 2006-01-12 06:18:27.000000000 -0500
++++ configure.ac 2006-03-04 19:18:09.000000000 -0500
+@@ -33,6 +33,12 @@
+ freebsd*)
+ opsys=freebsd
+ AC_DEFINE([FREEBSD], 1, [Define for the FreeBSD operating system.])
++ AC_DEFINE([ALLBSD], 1, [Define for the BSD-like operating system.])
++ ;;
++netbsd*)
++ opsys=netbsd
++ AC_DEFINE([NETBSD], 1, [Define for the NetBSD operating system.])
++ AC_DEFINE([ALLBSD], 1, [Define for the BSD-like operating system.])
+ ;;
+ *)
+ AC_MSG_RESULT([NO!])
+@@ -119,6 +125,8 @@
+ AM_CONDITIONAL([SUNOS4], [test x$opsys = xsunos4])
+ AM_CONDITIONAL([SVR4], [test x$opsys = xsvr4])
+ AM_CONDITIONAL([FREEBSD], [test x$opsys = xfreebsd])
++AM_CONDITIONAL([NETBSD], [test x$opsys = xnetbsd])
++AM_CONDITIONAL([ALLBSD], [test x$opsys = xnetbsd -o x$opsys = xfreebsd])
+
+ AC_PROG_CC
+ AC_GNU_SOURCE
diff --git a/sysutils/strace/patches/patch-ab b/sysutils/strace/patches/patch-ab
new file mode 100644
index 00000000000..6a24d32abf4
--- /dev/null
+++ b/sysutils/strace/patches/patch-ab
@@ -0,0 +1,51 @@
+$NetBSD: patch-ab,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- defs.h 2006-01-12 05:18:53.000000000 -0500
++++ defs.h 2006-03-04 22:25:02.000000000 -0500
+@@ -267,6 +267,37 @@
+ #define PR_FAULTED S_CORE
+ #endif
+
++#if !defined(PTRACE_ATTACH) && defined(PT_ATTACH)
++#define PTRACE_ATTACH PT_ATTACH
++#endif
++#if !defined(PTRACE_DETACH) && defined(PT_DETACH)
++#define PTRACE_DETACH PT_DETACH
++#endif
++#if !defined(PTRACE_TRACEME) && defined(PT_TRACE_ME)
++#define PTRACE_TRACEME PT_TRACE_ME
++#endif
++#if !defined(PTRACE_SYSCALL) && defined(PT_SYSCALL)
++#define PTRACE_SYSCALL PT_SYSCALL
++#endif
++#if !defined(PTRACE_KILL) && defined(PT_KILL)
++#define PTRACE_KILL PT_KILL
++#endif
++#if !defined(PTRACE_CONT) && defined(PT_CONTINUE)
++#define PTRACE_CONT PT_CONTINUE
++#endif
++#if !defined(PTRACE_PEEKDATA) && defined(PT_READ_D)
++#define PTRACE_PEEKDATA PT_READ_D
++#endif
++#if !defined(PTRACE_PEEKUSER) && defined(PT_READ_I)
++#define PTRACE_PEEKUSER PT_READ_I
++#endif
++#if !defined(PTRACE_GETREGS) && defined(PT_GETREGS)
++#define PTRACE_GETREGS PT_GETREGS
++#endif
++#if !defined(PTRACE_SETREGS) && defined(PT_SETREGS)
++#define PTRACE_SETREGS PT_SETREGS
++#endif
++
+ /* Trace Control Block */
+ struct tcb {
+ short flags; /* See below for TCB_ values */
+@@ -309,6 +340,8 @@
+ #endif
+ #ifdef FREEBSD
+ struct procfs_status status;
++#endif
++#ifdef ALLBSD
+ int pfd_reg;
+ int pfd_status;
+ #endif
diff --git a/sysutils/strace/patches/patch-ac b/sysutils/strace/patches/patch-ac
new file mode 100644
index 00000000000..e0cb02b57e8
--- /dev/null
+++ b/sysutils/strace/patches/patch-ac
@@ -0,0 +1,152 @@
+$NetBSD: patch-ac,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- file.c 2005-06-08 16:45:28.000000000 -0400
++++ file.c 2006-03-05 01:56:39.000000000 -0500
+@@ -1,5 +1,4 @@
+ /*
+-#ifdef LINUX
+ * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
+ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
+ * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
+@@ -44,6 +43,13 @@
+ #else
+ #define kernel_dirent dirent
+ #endif
++#ifdef NETBSD
++#include <sys/statvfs.h>
++#define statfs statvfs
++#define __val __fsid_val
++#define f_fsid f_fsidx
++#endif
++
+
+ #ifdef LINUX
+ # ifdef LINUXSPARC
+@@ -162,7 +168,7 @@
+ #define XATTR_REPLACE 2
+ #endif
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ #include <sys/param.h>
+ #include <sys/mount.h>
+ #include <sys/stat.h>
+@@ -754,16 +760,20 @@
+ #endif /* LINUXSPARC */
+
+ static const struct xlat fileflags[] = {
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ { UF_NODUMP, "UF_NODUMP" },
+ { UF_IMMUTABLE, "UF_IMMUTABLE" },
+ { UF_APPEND, "UF_APPEND" },
+ { UF_OPAQUE, "UF_OPAQUE" },
++#ifdef UF_NOUNLINK
+ { UF_NOUNLINK, "UF_NOUNLINK" },
++#endif
+ { SF_ARCHIVED, "SF_ARCHIVED" },
+ { SF_IMMUTABLE, "SF_IMMUTABLE" },
+ { SF_APPEND, "SF_APPEND" },
++#ifdef SF_NOUNLINK
+ { SF_NOUNLINK, "SF_NOUNLINK" },
++#endif
+ #elif UNIXWARE >= 2
+ #ifdef _S_ISMLD
+ { _S_ISMLD, "_S_ISMLD" },
+@@ -775,7 +785,7 @@
+ { 0, NULL },
+ };
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ int
+ sys_chflags(tcp)
+ struct tcb *tcp;
+@@ -1440,6 +1450,7 @@
+ #endif /* LINUX */
+
+ #ifndef SVR4
++#ifndef NETBSD
+
+ static const char *
+ sprintfstype(magic)
+@@ -1458,6 +1469,7 @@
+ sprintf(buf, "%#x", magic);
+ return buf;
+ }
++#endif
+
+ static void
+ printstatfs(tcp, addr)
+@@ -1485,7 +1497,11 @@
+ statbuf.f_namelen);
+ #else /* !ALPHA */
+ tprintf("{f_type=%s, f_bsize=%lu, f_blocks=%lu, f_bfree=%lu, ",
++#ifndef NETBSD
+ sprintfstype(statbuf.f_type),
++#else
++ statbuf.f_fstypename,
++#endif
+ (unsigned long)statbuf.f_bsize,
+ (unsigned long)statbuf.f_blocks,
+ (unsigned long)statbuf.f_bfree);
+@@ -1986,7 +2002,7 @@
+
+ #endif /* LINUX */
+
+-#if defined FREEBSD || defined LINUX
++#if defined ALLBSD || defined LINUX
+ static const struct xlat direnttypes[] = {
+ { DT_UNKNOWN, "DT_UNKNOWN" },
+ { DT_FIFO, "DT_FIFO" },
+@@ -2059,15 +2075,16 @@
+ d->d_namlen, d->d_namlen, d->d_name);
+ }
+ #endif /* SUNOS4 */
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ if (!abbrev(tcp)) {
+- tprintf("%s{d_fileno=%u, d_reclen=%u, d_type=",
+- i ? " " : "", d->d_fileno, d->d_reclen);
++ tprintf("%s{d_fileno=%llu, d_reclen=%u, d_type=",
++ i ? " " : "", (unsigned long long)d->d_fileno,
++ d->d_reclen);
+ printxval(direnttypes, d->d_type, "DT_???");
+ tprintf(", d_namlen=%u, d_name=\"%.*s\"}",
+ d->d_namlen, d->d_namlen, d->d_name);
+ }
+-#endif /* FREEBSD */
++#endif /* ALLBSD */
+ if (!d->d_reclen) {
+ tprintf("/* d_reclen == 0, problem here */");
+ break;
+@@ -2153,7 +2170,7 @@
+ }
+ #endif
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ int
+ sys_getdirentries(tcp)
+ struct tcb * tcp;
+@@ -2186,8 +2203,9 @@
+ for (i = 0; i < len;) {
+ struct kernel_dirent *d = (struct kernel_dirent *) &buf[i];
+ if (!abbrev(tcp)) {
+- tprintf("%s{d_fileno=%u, d_reclen=%u, d_type=",
+- i ? " " : "", d->d_fileno, d->d_reclen);
++ tprintf("%s{d_fileno=%llu, d_reclen=%u, d_type=",
++ i ? " " : "", (unsigned long long)d->d_fileno,
++ d->d_reclen);
+ printxval(direnttypes, d->d_type, "DT_???");
+ tprintf(", d_namlen=%u, d_name=\"%.*s\"}",
+ d->d_namlen, d->d_namlen, d->d_name);
+@@ -2225,7 +2243,7 @@
+ }
+ #endif /* LINUX */
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ int
+ sys___getcwd(tcp)
+ struct tcb *tcp;
diff --git a/sysutils/strace/patches/patch-ad b/sysutils/strace/patches/patch-ad
new file mode 100644
index 00000000000..5d40e7cae72
--- /dev/null
+++ b/sysutils/strace/patches/patch-ad
@@ -0,0 +1,75 @@
+$NetBSD: patch-ad,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- ioctl.c 2005-02-02 15:32:13.000000000 -0500
++++ ioctl.c 2006-03-05 02:02:48.000000000 -0500
+@@ -32,6 +32,7 @@
+
+ #include "defs.h"
+
++#ifndef NETBSD
+ const struct ioctlent ioctlent0[] = {
+ /*
+ * `ioctlent.h' may be generated from `ioctlent.raw' by the auxiliary
+@@ -42,6 +43,9 @@
+ */
+ #include "ioctlent.h"
+ };
++#else
++#include "ioctlent.h"
++#endif
+
+ #ifdef LINUX
+ #include <asm/ioctl.h>
+@@ -68,6 +72,7 @@
+ const struct ioctlent *ioctlent;
+ int nioctlents;
+
++#ifndef NETBSD
+ static int
+ compare(a, b)
+ const void *a;
+@@ -77,11 +82,19 @@
+ unsigned long code2 = ((struct ioctlent *) b)->code;
+ return (code1 > code2) ? 1 : (code1 < code2) ? -1 : 0;
+ }
++#endif
+
+ const struct ioctlent *
+ ioctl_lookup(code)
+ long code;
+ {
++#ifdef NETBSD
++ int i;
++ for (i = 0; i < nioctlents; i++)
++ if (ioctlent[i].code == code)
++ return &ioctlent[i];
++ return NULL;
++#else
+ struct ioctlent *iop, ioent;
+
+ ioent.code = code;
+@@ -96,6 +109,7 @@
+ break;
+ }
+ return iop;
++#endif
+ }
+
+ const struct ioctlent *
+@@ -130,14 +144,14 @@
+ case 0x89:
+ #else /* !LINUX */
+ case 'r': case 's': case 'i':
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ case 'p':
+ #endif
+ #endif /* !LINUX */
+ return sock_ioctl(tcp, code, arg);
+ #ifdef USE_PROCFS
+ #ifndef HAVE_MP_PROCFS
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ case 'q':
+ #else
+ case 'p':
diff --git a/sysutils/strace/patches/patch-ae b/sysutils/strace/patches/patch-ae
new file mode 100644
index 00000000000..2b04adb817a
--- /dev/null
+++ b/sysutils/strace/patches/patch-ae
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- ipc.c 2005-12-01 23:34:09.000000000 -0500
++++ ipc.c 2006-03-04 18:14:08.000000000 -0500
+@@ -32,7 +32,7 @@
+
+ #include "defs.h"
+
+-#if defined(LINUX) || defined(SUNOS4) || defined(FREEBSD)
++#if defined(LINUX) || defined(SUNOS4) || defined(ALLBSD)
+
+ # ifdef HAVE_MQUEUE_H
+ # include <mqueue.h>
+@@ -411,7 +411,7 @@
+ return 0;
+ }
+
+-#endif /* defined(LINUX) || defined(SUNOS4) || defined(FREEBSD) */
++#endif /* defined(LINUX) || defined(SUNOS4) || defined(ALLBSD) */
+
+ #ifdef LINUX
+ int sys_mq_open(tcp)
diff --git a/sysutils/strace/patches/patch-af b/sysutils/strace/patches/patch-af
new file mode 100644
index 00000000000..1a11d06fa31
--- /dev/null
+++ b/sysutils/strace/patches/patch-af
@@ -0,0 +1,66 @@
+$NetBSD: patch-af,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- net.c 2005-07-04 19:33:38.000000000 -0400
++++ net.c 2006-03-04 19:12:24.000000000 -0500
+@@ -43,12 +43,16 @@
+ #endif
+
+ #include <netinet/in.h>
+-#ifdef HAVE_NETINET_TCP_H
++#if defined(HAVE_NETINET_TCP_H) || defined(NETBSD)
+ #include <netinet/tcp.h>
+ #endif
+-#ifdef HAVE_NETINET_UDP_H
++#if defined(HAVE_NETINET_UDP_H) || defined(NETBSD)
+ #include <netinet/udp.h>
+ #endif
++#ifdef NETBSD
++#include <sys/param.h>
++#include <sys/ucred.h>
++#endif
+ #include <arpa/inet.h>
+ #include <net/if.h>
+ #if defined(LINUX)
+@@ -1125,12 +1129,21 @@
+ free(cmsg);
+ return;
+ }
++#if !defined(SCM_CREDENTIALS) && defined(SCM_CREDS)
++#define SCM_CREDENTIALS SCM_CREDS
++#endif
++
+ if (cmsg->cmsg_type == SCM_CREDENTIALS
+ && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) {
+ struct ucred *uc = (struct ucred *) CMSG_DATA (cmsg);
+
++#ifdef NETBSD
++ tprintf("{uid=%ld, gid=%ld}}",
++ (long)uc->cr_uid, (long)uc->cr_gid);
++#else
+ tprintf("{pid=%ld, uid=%ld, gid=%ld}}",
+ (long)uc->pid, (long)uc->uid, (long)uc->gid);
++#endif
+ free(cmsg);
+ return;
+ }
+@@ -1470,7 +1483,7 @@
+ else
+ tprintf("[%u, %u]", fds[0], fds[1]);
+ }
+-#elif defined(SPARC) || defined(SPARC64) || defined(SH) || defined(SVR4) || defined(FREEBSD) || defined(IA64)
++#elif defined(SPARC) || defined(SPARC64) || defined(SH) || defined(SVR4) || defined(ALLBSD) || defined(IA64)
+ if (exiting(tcp))
+ tprintf("[%lu, %lu]", tcp->u_rval, getrval2(tcp));
+ #endif
+@@ -1517,9 +1530,9 @@
+ else
+ tprintf(", [%u, %u]", fds[0], fds[1]);
+ #endif /* LINUX */
+-#if defined(SUNOS4) || defined(SVR4) || defined(FREEBSD)
++#if defined(SUNOS4) || defined(SVR4) || defined(ALLBSD)
+ tprintf(", [%lu, %lu]", tcp->u_rval, getrval2(tcp));
+-#endif /* SUNOS4 || SVR4 || FREEBSD */
++#endif /* SUNOS4 || SVR4 || ALLBSD */
+ }
+ return 0;
+ }
diff --git a/sysutils/strace/patches/patch-ag b/sysutils/strace/patches/patch-ag
new file mode 100644
index 00000000000..448e7e07ddc
--- /dev/null
+++ b/sysutils/strace/patches/patch-ag
@@ -0,0 +1,4873 @@
+$NetBSD: patch-ag,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/Makefile 2006-03-05 01:27:04.000000000 -0500
+@@ -0,0 +1,10 @@
++
++
++all: i386/syscallent.h i386/ioctlent.h
++
++i386/syscallent.h: syscalls.pl syscalls.print syscalls.cat
++ syscalls.pl /usr/src/sys/kern/syscalls.master syscalls.print syscalls.cat > $@
++ mv syscall.h i386
++
++i386/ioctlent.h: ioctlent.sh
++ ioctlent.sh > $@
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/i386/errnoent.h 2000-09-01 17:09:08.000000000 -0400
+@@ -0,0 +1,87 @@
++ "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 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/i386/ioctlent.h 2006-03-05 01:35:18.000000000 -0500
+@@ -0,0 +1,2951 @@
++/* Automatically generated file, do not edit! */
++struct ap_control { int _xxx; };
++#define COMPAT_43
++struct lwp;
++struct videomemory_t { int _xxx; };
++typedef struct videomemory_t videomemory_t;
++#include <sys/types.h>
++#include <sys/param.h>
++#include <sys/disk.h>
++#include <sys/dkbad.h>
++#include <sys/mount.h>
++#include <sys/termios.h>
++#include <sys/disklabel.h>
++#include <net/if.h>
++#include <net/route.h>
++#include <net/ppp_defs.h>
++#include <netinet/in.h>
++#include <netinet/in_systm.h>
++#include <netinet/ip.h>
++#include <netinet/ip_mroute.h>
++#include <netinet/ip_compat.h>
++#include <net80211/ieee80211.h>
++#include <netiso/iso.h>
++#include <altq/altq.h>
++#include <altq/altq_blue.h>
++#include <altq/altq_cbq.h>
++#include <altq/altq_cdnr.h>
++#include <altq/altq_fifoq.h>
++#include <altq/altq_hfsc.h>
++#include <altq/altq_priq.h>
++#include <altq/altq_red.h>
++#include <altq/altq_rio.h>
++#include <altq/altq_wfq.h>
++#include <crypto/cryptodev.h>
++#include <dev/ccdvar.h>
++#include <dev/cgdvar.h>
++#include <dev/fssvar.h>
++#include <dev/md.h>
++#include <dev/vndvar.h>
++#include <i386/pccons.h>
++#include <i386/pcvt_ioctl.h>
++#include <krb5/kafs.h>
++#include <machine/pccons.h>
++#include <machine/pcvt_ioctl.h>
++#include <net/bpf.h>
++#include <net/if_gre.h>
++#include <net/if_ppp.h>
++#include <net/if_pppoe.h>
++#include <net/if_sppp.h>
++#include <net/if_tap.h>
++#include <net/if_tun.h>
++#include <net/pfvar.h>
++#include <net/slip.h>
++#include <net80211/ieee80211_ioctl.h>
++#include <netatalk/phase2.h>
++#include <netccitt/x25.h>
++#include <netinet/ip_fil.h>
++#include <netinet/ip_lookup.h>
++#include <netinet/ip_nat.h>
++#include <netinet/ip_state.h>
++#include <netinet6/in6_var.h>
++#include <netisdn/i4b_debug.h>
++#include <netisdn/i4b_ioctl.h>
++#include <netisdn/i4b_rbch_ioctl.h>
++#include <netisdn/i4b_tel_ioctl.h>
++#include <netisdn/i4b_trace.h>
++#include <netiso/iso_snpac.h>
++#include <netiso/iso_var.h>
++#include <sys/ataio.h>
++#include <sys/audioio.h>
++#include <sys/cdio.h>
++#include <sys/chio.h>
++#include <sys/clockctl.h>
++#include <sys/dkio.h>
++#include <sys/drvctlio.h>
++#include <sys/envsys.h>
++#include <sys/fdio.h>
++#include <sys/filio.h>
++#include <sys/gpio.h>
++#include <sys/ioccom.h>
++#include <sys/ioctl.h>
++#include <sys/ioctl_compat.h>
++#include <sys/joystick.h>
++#include <sys/ksyms.h>
++#include <sys/lkm.h>
++#include <sys/mtio.h>
++#include <sys/power.h>
++#include <sys/radioio.h>
++#include <sys/rnd.h>
++#include <sys/scanio.h>
++#include <sys/scsiio.h>
++#include <sys/sockio.h>
++#include <sys/soundcard.h>
++#include <sys/timepps.h>
++#include <sys/ttycom.h>
++#include <sys/verified_exec.h>
++#include <sys/wdog.h>
++
++const struct ioctlent ioctlent0[] =
++{
++
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++ { "?", "BLKDEV_IOSIZE", BLKDEV_IOSIZE },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define ALTQTBRGET _IOWR('q', 15, struct tbrreq) [ALTQTBRGET] */
++ { "?", "ALTQTBRGET", ALTQTBRGET },
++/* #define ALTQGTYPE _IOWR('q', 0, struct altqreq) [ALTQGTYPE] */
++ { "?", "ALTQGTYPE", ALTQGTYPE },
++/* #define ALTQTBRSET _IOW('q', 14, struct tbrreq) [ALTQTBRSET] */
++ { "?", "ALTQTBRSET", ALTQTBRSET },
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define ALTQTBRGET _IOWR('q', 15, struct tbrreq) [ALTQTBRGET] */
++/* #define ALTQGTYPE _IOWR('q', 0, struct altqreq) [ALTQGTYPE] */
++/* #define ALTQTBRSET _IOW('q', 14, struct tbrreq) [ALTQTBRSET] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define ALTQTBRGET _IOWR('q', 15, struct tbrreq) [ALTQTBRGET] */
++/* #define ALTQGTYPE _IOWR('q', 0, struct altqreq) [ALTQGTYPE] */
++/* #define ALTQTBRSET _IOW('q', 14, struct tbrreq) [ALTQTBRSET] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define ALTQTBRGET _IOWR('q', 15, struct tbrreq) [ALTQTBRGET] */
++/* #define ALTQGTYPE _IOWR('q', 0, struct altqreq) [ALTQGTYPE] */
++/* #define ALTQTBRSET _IOW('q', 14, struct tbrreq) [ALTQTBRSET] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define ALTQTBRGET _IOWR('q', 15, struct tbrreq) [ALTQTBRGET] */
++/* #define ALTQGTYPE _IOWR('q', 0, struct altqreq) [ALTQGTYPE] */
++/* #define ALTQTBRSET _IOW('q', 14, struct tbrreq) [ALTQTBRSET] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define ALTQTBRGET _IOWR('q', 15, struct tbrreq) [ALTQTBRGET] */
++/* #define ALTQGTYPE _IOWR('q', 0, struct altqreq) [ALTQGTYPE] */
++/* #define ALTQTBRSET _IOW('q', 14, struct tbrreq) [ALTQTBRSET] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define CIOCASYMFEAT _IOR('c', 105, u_int32_t) [CIOCASYMFEAT] */
++ { "?", "CIOCASYMFEAT", CIOCASYMFEAT },
++/* #define CIOCFSESSION _IOW('c', 102, u_int32_t) [CIOCFSESSION] */
++ { "?", "CIOCFSESSION", CIOCFSESSION },
++/* #define CIOCCRYPT _IOWR('c', 103, struct crypt_op) [CIOCCRYPT] */
++ { "?", "CIOCCRYPT", CIOCCRYPT },
++/* #define CRIOGET _IOWR('c', 100, u_int32_t) [CRIOGET] */
++ { "?", "CRIOGET", CRIOGET },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define CIOCKEY _IOWR('c', 104, struct crypt_kop) [CIOCKEY] */
++ { "?", "CIOCKEY", CIOCKEY },
++/* #define CIOCGSESSION _IOWR('c', 101, struct session_op) [CIOCGSESSION] */
++ { "?", "CIOCGSESSION", CIOCGSESSION },
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define CCDIOCCLR _IOW('F', 17, struct ccd_ioctl) [CCDIOCCLR] */
++ { "?", "CCDIOCCLR", CCDIOCCLR },
++/* #define CCDIOCSET _IOWR('F', 16, struct ccd_ioctl) [CCDIOCSET] */
++ { "?", "CCDIOCSET", CCDIOCSET },
++/* #define CGDIOCSET _IOWR('F', 18, struct cgd_ioctl) [CGDIOCSET] */
++ { "?", "CGDIOCSET", CGDIOCSET },
++/* #define CGDIOCCLR _IOW('F', 19, struct cgd_ioctl) [CGDIOCCLR] */
++ { "?", "CGDIOCCLR", CGDIOCCLR },
++/* #define FSSIOCSET _IOW('F', 0, struct fss_set) [FSSIOCSET] */
++ { "?", "FSSIOCSET", FSSIOCSET },
++/* #define FSSIOFSET _IOW('F', 3, int) [FSSIOFSET] */
++ { "?", "FSSIOFSET", FSSIOFSET },
++/* #define FSSIOCCLR _IO('F', 2) [FSSIOCCLR] */
++ { "?", "FSSIOCCLR", FSSIOCCLR },
++/* #define FSSIOCGET _IOR('F', 1, struct fss_get) [FSSIOCGET] */
++ { "?", "FSSIOCGET", FSSIOCGET },
++/* #define FSSIOFGET _IOR('F', 4, int) [FSSIOFGET] */
++ { "?", "FSSIOFGET", FSSIOFGET },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define VNDIOCSET _IOWR('F', 0, struct vnd_ioctl) [VNDIOCSET] */
++ { "?", "VNDIOCSET", VNDIOCSET },
++/* #define VNDIOCCLR _IOW('F', 1, struct vnd_ioctl) [VNDIOCCLR] */
++ { "?", "VNDIOCCLR", VNDIOCCLR },
++/* #define VNDIOCGET _IOWR('F', 3, struct vnd_user) [VNDIOCGET] */
++ { "?", "VNDIOCGET", VNDIOCGET },
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++ { "?", "DIOCSRETRIES", DIOCSRETRIES },
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++ { "?", "FIONBIO", FIONBIO },
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++ { "?", "DIOCLWEDGES", DIOCLWEDGES },
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++ { "?", "TIOCGLINED", TIOCGLINED },
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++ { "?", "FIONWRITE", FIONWRITE },
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++ { "?", "TIOCMSET", TIOCMSET },
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++ { "?", "TIOCRCVFRAME", TIOCRCVFRAME },
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++ { "?", "TIOCDRAIN", TIOCDRAIN },
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++ { "?", "TIOCEXCL", TIOCEXCL },
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++ { "?", "TIOCPKT_IOCTL", TIOCPKT_IOCTL },
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++ { "?", "FIOGETOWN", FIOGETOWN },
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++ { "?", "SIOCGPGRP", SIOCGPGRP },
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++ { "?", "DIOCGCACHE", DIOCGCACHE },
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++ { "?", "TIOCUCNTL", TIOCUCNTL },
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++ { "?", "SIOCGIFADDR", SIOCGIFADDR },
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++ { "?", "SIOCGIFMETRIC", SIOCGIFMETRIC },
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++ { "?", "OSIOCGIFADDR", OSIOCGIFADDR },
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++ { "?", "SIOCGIFGENERIC", SIOCGIFGENERIC },
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++ { "?", "SIOCGIFPSRCADDR", SIOCGIFPSRCADDR },
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++ { "?", "SIOCSIFDSTADDR", SIOCSIFDSTADDR },
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++ { "?", "SIOCGIFPDSTADDR", SIOCGIFPDSTADDR },
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++ { "?", "DIOCGDEFLABEL", DIOCGDEFLABEL },
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++ { "?", "FIOASYNC", FIOASYNC },
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++ { "?", "SIOCSHIWAT", SIOCSHIWAT },
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++ { "?", "SIOCSIFMEDIA", SIOCSIFMEDIA },
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++ { "?", "TIOCSBRK", TIOCSBRK },
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++ { "?", "DIOCSSTEP", DIOCSSTEP },
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++ { "?", "SIOCDIFPHYADDR", SIOCDIFPHYADDR },
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++ { "?", "SIOCGLIFADDR", SIOCGLIFADDR },
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++ { "?", "SIOCGDRVSPEC", SIOCGDRVSPEC },
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++ { "?", "SIOCDIFADDR", SIOCDIFADDR },
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++ { "?", "TIOCGRANTPT", TIOCGRANTPT },
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++ { "?", "SIOCGIFMTU", SIOCGIFMTU },
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++ { "?", "SIOCGIFDLT", SIOCGIFDLT },
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++ { "?", "TIOCSIG", TIOCSIG },
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++ { "?", "PTIOCNETBSD", PTIOCNETBSD },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++ { "?", "TIOCGETA", TIOCGETA },
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++ { "?", "TIOCGETD", TIOCGETD },
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++ { "?", "PTIOCULTRIX", PTIOCULTRIX },
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++ { "?", "SIOCSIFNETMASK", SIOCSIFNETMASK },
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++ { "?", "SIOCAIFADDR", SIOCAIFADDR },
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++ { "?", "DIOCCACHESYNC", DIOCCACHESYNC },
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++ { "?", "TIOCSDTR", TIOCSDTR },
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++ { "?", "SIOCDLIFADDR", SIOCDLIFADDR },
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++ { "?", "DIOCGWEDGEINFO", DIOCGWEDGEINFO },
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++ { "?", "TIOCXMTFRAME", TIOCXMTFRAME },
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++ { "?", "TIOCSFLAGS", TIOCSFLAGS },
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++ { "?", "DIOCWLABEL", DIOCWLABEL },
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++ { "?", "TIOCSTI", TIOCSTI },
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++ { "?", "SIOCSIFBRDADDR", SIOCSIFBRDADDR },
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++ { "?", "SIOCGLIFPHYADDR", SIOCGLIFPHYADDR },
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++ { "?", "DIOCWFORMAT", DIOCWFORMAT },
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++ { "?", "SIOCSPGRP", SIOCSPGRP },
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++ { "?", "TIOCPTSNAME", TIOCPTSNAME },
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++ { "?", "PTIOCSUNOS", PTIOCSUNOS },
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++ { "?", "SIOCADDMULTI", SIOCADDMULTI },
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++ { "?", "DIOCSSTRATEGY", DIOCSSTRATEGY },
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++ { "?", "SIOCZIFDATA", SIOCZIFDATA },
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++ { "?", "SIOCGETSGCNT", SIOCGETSGCNT },
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++ { "?", "SIOCALIFADDR", SIOCALIFADDR },
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++ { "?", "TIOCSLINED", TIOCSLINED },
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++ { "?", "SIOCGETVIFCNT", SIOCGETVIFCNT },
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++ { "?", "TIOCSTART", TIOCSTART },
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++ { "?", "DIOCAWEDGE", DIOCAWEDGE },
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++ { "?", "SIOCIFGCLONERS", SIOCIFGCLONERS },
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++ { "?", "SIOCDELRT", SIOCDELRT },
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++ { "?", "FIOSETOWN", FIOSETOWN },
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++ { "?", "DIOCSCACHE", DIOCSCACHE },
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++ { "?", "DIOCRFORMAT", DIOCRFORMAT },
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++ { "?", "SIOCGIFDSTADDR", SIOCGIFDSTADDR },
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++ { "?", "FIONREAD", FIONREAD },
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++ { "?", "TIOCSTAT", TIOCSTAT },
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++ { "?", "SIOCGHIWAT", SIOCGHIWAT },
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++ { "?", "DIOCGPART", DIOCGPART },
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++ { "?", "TIOCMGET", TIOCMGET },
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++ { "?", "DIOCGSTRATEGY", DIOCGSTRATEGY },
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++ { "?", "TIOCNXCL", TIOCNXCL },
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++ { "?", "SIOCSIFFLAGS", SIOCSIFFLAGS },
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++ { "?", "SIOCGLOWAT", SIOCGLOWAT },
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++ { "?", "SIOCSIFMTU", SIOCSIFMTU },
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++ { "?", "SIOCGIFMEDIA", SIOCGIFMEDIA },
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++ { "?", "TIOCFLUSH", TIOCFLUSH },
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++ { "?", "DIOCEJECT", DIOCEJECT },
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++ { "?", "TIOCGWINSZ", TIOCGWINSZ },
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++ { "?", "SIOCGIFCAP", SIOCGIFCAP },
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++ { "?", "TIOCGPGRP", TIOCGPGRP },
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++ { "?", "SIOCGIFNETMASK", SIOCGIFNETMASK },
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++ { "?", "TIOCPKT", TIOCPKT },
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++ { "?", "OSIOCGIFDSTADDR", OSIOCGIFDSTADDR },
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++ { "?", "DIOCBSFLUSH", DIOCBSFLUSH },
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++ { "?", "FIONCLEX", FIONCLEX },
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++ { "?", "SIOCSLIFPHYADDR", SIOCSLIFPHYADDR },
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++ { "?", "FIOCLEX", FIOCLEX },
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++ { "?", "SIOCGIFBRDADDR", SIOCGIFBRDADDR },
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++ { "?", "OSIOCGIFCONF", OSIOCGIFCONF },
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++ { "?", "TIOCPTMGET", TIOCPTMGET },
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++ { "?", "TIOCEXT", TIOCEXT },
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++ { "?", "SIOCIFDESTROY", SIOCIFDESTROY },
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++ { "?", "DIOCGDINFO", DIOCGDINFO },
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++ { "?", "SIOCGIFCONF", SIOCGIFCONF },
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++ { "?", "OFIOGETBMAP", OFIOGETBMAP },
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++ { "?", "TIOCSCTTY", TIOCSCTTY },
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++ { "?", "FIONSPACE", FIONSPACE },
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++ { "?", "DIOCCLRLABEL", DIOCCLRLABEL },
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++ { "?", "FIOGETBMAP", FIOGETBMAP },
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++ { "?", "TIOCOUTQ", TIOCOUTQ },
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++ { "?", "TIOCCBRK", TIOCCBRK },
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++ { "?", "OSIOCGIFNETMASK", OSIOCGIFNETMASK },
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++ { "?", "TIOCREMOTE", TIOCREMOTE },
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++ { "?", "SIOCADDRT", SIOCADDRT },
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++ { "?", "SIOCGIFDATA", SIOCGIFDATA },
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++ { "?", "DIOCWDINFO", DIOCWDINFO },
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++ { "?", "SIOCDELMULTI", SIOCDELMULTI },
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++ { "?", "OSIOCGIFBRDADDR", OSIOCGIFBRDADDR },
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++ { "?", "TIOCMBIC", TIOCMBIC },
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++ { "?", "TIOCMBIS", TIOCMBIS },
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++ { "?", "SIOCSIFGENERIC", SIOCSIFGENERIC },
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++ { "?", "SIOCSDRVSPEC", SIOCSDRVSPEC },
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++ { "?", "TIOCSETA", TIOCSETA },
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++ { "?", "TIOCSETD", TIOCSETD },
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++ { "?", "TIOCCONS", TIOCCONS },
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++ { "?", "TIOCSPGRP", TIOCSPGRP },
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++ { "?", "TIOCGSID", TIOCGSID },
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++ { "?", "TIOCCDTR", TIOCCDTR },
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++ { "?", "SIOCATMARK", SIOCATMARK },
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++ { "?", "SIOCSLOWAT", SIOCSLOWAT },
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++ { "?", "PTIOCLINUX", PTIOCLINUX },
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++ { "?", "DIOCSBAD", DIOCSBAD },
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++ { "?", "SIOCSIFADDR", SIOCSIFADDR },
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++ { "?", "TIOCSWINSZ", TIOCSWINSZ },
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++ { "?", "SIOCSIFCAP", SIOCSIFCAP },
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++ { "?", "SIOCGIFFLAGS", SIOCGIFFLAGS },
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++ { "?", "TIOCSETAF", TIOCSETAF },
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++ { "?", "TIOCSETAW", TIOCSETAW },
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++ { "?", "SIOCSIFMETRIC", SIOCSIFMETRIC },
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++ { "?", "ODIOCEJECT", ODIOCEJECT },
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++ { "?", "SIOCGIFALIAS", SIOCGIFALIAS },
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++ { "?", "TIOCGFLAGS", TIOCGFLAGS },
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++ { "?", "DIOCKLABEL", DIOCKLABEL },
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++ { "?", "DIOCDWEDGE", DIOCDWEDGE },
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++ { "?", "TIOCNOTTY", TIOCNOTTY },
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++ { "?", "TIOCSTOP", TIOCSTOP },
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++ { "?", "PTIOCFREEBSD", PTIOCFREEBSD },
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++ { "?", "DIOCSDINFO", DIOCSDINFO },
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++ { "?", "TIOCDCDTIMESTAMP", TIOCDCDTIMESTAMP },
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++ { "?", "SIOCIFCREATE", SIOCIFCREATE },
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++ { "?", "DIOCLOCK", DIOCLOCK },
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++ { "?", "SIOCSIFPHYADDR", SIOCSIFPHYADDR },
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++ { "?", "DIOCBSLIST", DIOCBSLIST },
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define VGAWRITEPEL _IOW('V', 111, struct vgapel) [VGAWRITEPEL] */
++ { "?", "VGAWRITEPEL", VGAWRITEPEL },
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define VGALOADCHAR _IOW('V',101, struct vgaloadchar) [VGALOADCHAR] */
++ { "?", "VGALOADCHAR", VGALOADCHAR },
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define VGAREADPEL _IOWR('V', 110, struct vgapel) [VGAREADPEL] */
++ { "?", "VGAREADPEL", VGAREADPEL },
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define KDDISABIO _IO('K', 61) [KDDISABIO] */
++ { "?", "KDDISABIO", KDDISABIO },
++/* #define KBDSLOCK _IOW('K', 9, int) [KBDSLOCK] */
++ { "?", "KBDSLOCK", KBDSLOCK },
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define KDGKBMODE _IOR('K', 6, int) [KDGKBMODE] */
++ { "?", "KDGKBMODE", KDGKBMODE },
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define VGAPCVTINFO _IOWR('V',114, struct pcvtinfo) [VGAPCVTINFO] */
++ { "?", "VGAPCVTINFO", VGAPCVTINFO },
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define KBDGREPSW _IOR('K', 4, int) [KBDGREPSW] */
++ { "?", "KBDGREPSW", KBDGREPSW },
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define VGAGETFONTATTR _IOWR('V',103, struct vgafontattr) [VGAGETFONTATTR] */
++ { "?", "VGAGETFONTATTR", VGAGETFONTATTR },
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define KBDGCKEY _IOWR('K',16, struct kbd_ovlkey) [KBDGCKEY] */
++ { "?", "KBDGCKEY", KBDGCKEY },
++/* #define KBDMOUSEGET _IOR('K', 25, struct mousedefs) [KBDMOUSEGET] */
++ { "?", "KBDMOUSEGET", KBDMOUSEGET },
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define KBDSTPMAT _IOW('K', 3, int) [KBDSTPMAT] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define KDSKBMODE _IO('K', 7 ) [KDSKBMODE] */
++ { "?", "KDSKBMODE", KDSKBMODE },
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define KDSETRAD _IO('K', 67 ) [KDSETRAD] */
++ { "?", "KDSETRAD", KDSETRAD },
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define VGASETCOLMS _IOW('V', 115, int) [VGASETCOLMS] */
++ { "?", "VGASETCOLMS", VGASETCOLMS },
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define KBDRESET _IO('K', 1) [KBDRESET] */
++ { "?", "KBDRESET", KBDRESET },
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define VGACURSOR _IOW('V',100, struct cursorshape) [VGACURSOR] */
++ { "?", "VGACURSOR", VGACURSOR },
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define KBDSCKEY _IOW('K',17, struct kbd_ovlkey) [KBDSCKEY] */
++ { "?", "KBDSCKEY", KBDSCKEY },
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define KDSETMODE _IO('K', 10 ) [KDSETMODE] */
++ { "?", "KDSETMODE", KDSETMODE },
++/* #define KBDSREPSW _IOW('K', 5, int) [KBDSREPSW] */
++ { "?", "KBDSREPSW", KBDSREPSW },
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define VGASETFONTATTR _IOW('V',102, struct vgafontattr) [VGASETFONTATTR] */
++ { "?", "VGASETFONTATTR", VGASETFONTATTR },
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define VGASETSCREEN _IOW('V',104, struct screeninfo) [VGASETSCREEN] */
++ { "?", "VGASETSCREEN", VGASETSCREEN },
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define VGAGETSCREEN _IOWR('V',105, struct screeninfo) [VGAGETSCREEN] */
++ { "?", "VGAGETSCREEN", VGAGETSCREEN },
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define KDSETLED _IO('K', 66 ) [KDSETLED] */
++ { "?", "KDSETLED", KDSETLED },
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define KDGETLED _IOR('K', 65, int) [KDGETLED] */
++ { "?", "KDGETLED", KDGETLED },
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define KDMKTONE _IO('K', 8 ) [KDMKTONE] */
++ { "?", "KDMKTONE", KDMKTONE },
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define KBDRMKEY _IOW('K',19, int) [KBDRMKEY] */
++ { "?", "KBDRMKEY", KBDRMKEY },
++/* #define KBDDEFAULT _IO('K',20) [KBDDEFAULT] */
++ { "?", "KBDDEFAULT", KBDDEFAULT },
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define VGASCREENSAVER _IOW('V', 112, int) [VGASCREENSAVER] */
++ { "?", "VGASCREENSAVER", VGASCREENSAVER },
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define KBDGOKEY _IOWR('K',18, struct kbd_ovlkey) [KBDGOKEY] */
++ { "?", "KBDGOKEY", KBDGOKEY },
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define KBDGLOCK _IOR('K', 8, int) [KBDGLOCK] */
++ { "?", "KBDGLOCK", KBDGLOCK },
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define KBDMOUSESET _IOW('K', 26, struct mousedefs) [KBDMOUSESET] */
++ { "?", "KBDMOUSESET", KBDMOUSESET },
++/* #define KDENABIO _IO('K', 60) [KDENABIO] */
++ { "?", "KDENABIO", KDENABIO },
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define KBDGTPMAT _IOR('K', 2, int) [KBDGTPMAT] */
++ { "?", "KBDGTPMAT", KBDGTPMAT },
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define VGAPCVTID _IOWR('V',113, struct pcvtid) [VGAPCVTID] */
++ { "?", "VGAPCVTID", VGAPCVTID },
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define VGAWRITEPEL _IOW('V', 111, struct vgapel) [VGAWRITEPEL] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define VGALOADCHAR _IOW('V',101, struct vgaloadchar) [VGALOADCHAR] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define VGAREADPEL _IOWR('V', 110, struct vgapel) [VGAREADPEL] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define KDDISABIO _IO('K', 61) [KDDISABIO] */
++/* #define KBDSLOCK _IOW('K', 9, int) [KBDSLOCK] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define KDGKBMODE _IOR('K', 6, int) [KDGKBMODE] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define VGAPCVTINFO _IOWR('V',114, struct pcvtinfo) [VGAPCVTINFO] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define KBDGREPSW _IOR('K', 4, int) [KBDGREPSW] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define VGAGETFONTATTR _IOWR('V',103, struct vgafontattr) [VGAGETFONTATTR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define KBDGCKEY _IOWR('K',16, struct kbd_ovlkey) [KBDGCKEY] */
++/* #define KBDMOUSEGET _IOR('K', 25, struct mousedefs) [KBDMOUSEGET] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define KBDSTPMAT _IOW('K', 3, int) [KBDSTPMAT] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define KDSKBMODE _IO('K', 7 ) [KDSKBMODE] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define KDSETRAD _IO('K', 67 ) [KDSETRAD] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define VGASETCOLMS _IOW('V', 115, int) [VGASETCOLMS] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define KBDRESET _IO('K', 1) [KBDRESET] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define VGACURSOR _IOW('V',100, struct cursorshape) [VGACURSOR] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define KBDSCKEY _IOW('K',17, struct kbd_ovlkey) [KBDSCKEY] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define KDSETMODE _IO('K', 10 ) [KDSETMODE] */
++/* #define KBDSREPSW _IOW('K', 5, int) [KBDSREPSW] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define VGASETFONTATTR _IOW('V',102, struct vgafontattr) [VGASETFONTATTR] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define VGASETSCREEN _IOW('V',104, struct screeninfo) [VGASETSCREEN] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define VGAGETSCREEN _IOWR('V',105, struct screeninfo) [VGAGETSCREEN] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define KDSETLED _IO('K', 66 ) [KDSETLED] */
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define KDGETLED _IOR('K', 65, int) [KDGETLED] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define KDMKTONE _IO('K', 8 ) [KDMKTONE] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define KBDRMKEY _IOW('K',19, int) [KBDRMKEY] */
++/* #define KBDDEFAULT _IO('K',20) [KBDDEFAULT] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define VGASCREENSAVER _IOW('V', 112, int) [VGASCREENSAVER] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define KBDGOKEY _IOWR('K',18, struct kbd_ovlkey) [KBDGOKEY] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define KBDGLOCK _IOR('K', 8, int) [KBDGLOCK] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define KBDMOUSESET _IOW('K', 26, struct mousedefs) [KBDMOUSESET] */
++/* #define KDENABIO _IO('K', 60) [KDENABIO] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define KBDGTPMAT _IOR('K', 2, int) [KBDGTPMAT] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define VGAPCVTID _IOWR('V',113, struct pcvtid) [VGAPCVTID] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define BIOCIMMEDIATE _IOW('B',112, u_int) [BIOCIMMEDIATE] */
++ { "?", "BIOCIMMEDIATE", BIOCIMMEDIATE },
++/* #define BIOCGDLT _IOR('B',106, u_int) [BIOCGDLT] */
++ { "?", "BIOCGDLT", BIOCGDLT },
++/* #define BIOCSETIF _IOW('B',108, struct ifreq) [BIOCSETIF] */
++ { "?", "BIOCSETIF", BIOCSETIF },
++/* #define BIOCPROMISC _IO('B',105) [BIOCPROMISC] */
++ { "?", "BIOCPROMISC", BIOCPROMISC },
++/* #define BIOCSRTIMEOUT _IOW('B',109, struct timeval) [BIOCSRTIMEOUT] */
++ { "?", "BIOCSRTIMEOUT", BIOCSRTIMEOUT },
++/* #define BIOCSETF _IOW('B',103, struct bpf_program) [BIOCSETF] */
++ { "?", "BIOCSETF", BIOCSETF },
++/* #define BIOCGBLEN _IOR('B',102, u_int) [BIOCGBLEN] */
++ { "?", "BIOCGBLEN", BIOCGBLEN },
++/* #define BIOCGSTATSOLD _IOR('B',111, struct bpf_stat_old) [BIOCGSTATSOLD] */
++ { "?", "BIOCGSTATSOLD", BIOCGSTATSOLD },
++/* #define BIOCGRTIMEOUT _IOR('B',110, struct timeval) [BIOCGRTIMEOUT] */
++ { "?", "BIOCGRTIMEOUT", BIOCGRTIMEOUT },
++/* #define BIOCGSTATS _IOR('B',111, struct bpf_stat) [BIOCGSTATS] */
++ { "?", "BIOCGSTATS", BIOCGSTATS },
++/* #define BIOCVERSION _IOR('B',113, struct bpf_version) [BIOCVERSION] */
++ { "?", "BIOCVERSION", BIOCVERSION },
++/* #define BIOCSSEESENT _IOW('B',121, u_int) [BIOCSSEESENT] */
++ { "?", "BIOCSSEESENT", BIOCSSEESENT },
++/* #define BIOCSUDPF _IOW('B',115, struct bpf_program) [BIOCSUDPF] */
++ { "?", "BIOCSUDPF", BIOCSUDPF },
++/* #define BIOCGDLTLIST _IOWR('B',119, struct bpf_dltlist) [BIOCGDLTLIST] */
++ { "?", "BIOCGDLTLIST", BIOCGDLTLIST },
++/* #define BIOCSBLEN _IOWR('B',102, u_int) [BIOCSBLEN] */
++ { "?", "BIOCSBLEN", BIOCSBLEN },
++/* #define BIOCSHDRCMPLT _IOW('B',117, u_int) [BIOCSHDRCMPLT] */
++ { "?", "BIOCSHDRCMPLT", BIOCSHDRCMPLT },
++/* #define BIOCFLUSH _IO('B',104) [BIOCFLUSH] */
++ { "?", "BIOCFLUSH", BIOCFLUSH },
++/* #define BIOCSDLT _IOW('B',118, u_int) [BIOCSDLT] */
++ { "?", "BIOCSDLT", BIOCSDLT },
++/* #define BIOCGHDRCMPLT _IOR('B',116, u_int) [BIOCGHDRCMPLT] */
++ { "?", "BIOCGHDRCMPLT", BIOCGHDRCMPLT },
++/* #define BIOCSTCPF _IOW('B',114, struct bpf_program) [BIOCSTCPF] */
++ { "?", "BIOCSTCPF", BIOCSTCPF },
++/* #define BIOCGSEESENT _IOR('B',120, u_int) [BIOCGSEESENT] */
++ { "?", "BIOCGSEESENT", BIOCGSEESENT },
++/* #define BIOCGETIF _IOR('B',107, struct ifreq) [BIOCGETIF] */
++ { "?", "BIOCGETIF", BIOCGETIF },
++/* #define GREGPROTO _IOWR('i', 106, struct ifreq) [GREGPROTO] */
++ { "?", "GREGPROTO", GREGPROTO },
++/* #define GREGADDRD _IOWR('i', 104, struct ifreq) [GREGADDRD] */
++ { "?", "GREGADDRD", GREGADDRD },
++/* #define GREGADDRS _IOWR('i', 103, struct ifreq) [GREGADDRS] */
++ { "?", "GREGADDRS", GREGADDRS },
++/* #define GRESPROTO _IOW('i' , 105, struct ifreq) [GRESPROTO] */
++ { "?", "GRESPROTO", GRESPROTO },
++/* #define GRESADDRD _IOW('i', 102, struct ifreq) [GRESADDRD] */
++ { "?", "GRESADDRD", GRESADDRD },
++/* #define GRESADDRS _IOW('i', 101, struct ifreq) [GRESADDRS] */
++ { "?", "GRESADDRS", GRESADDRS },
++/* #define PPPIOCGASYNCMAP _IOR('t', 88, int) [PPPIOCGASYNCMAP] */
++ { "?", "PPPIOCGASYNCMAP", PPPIOCGASYNCMAP },
++/* #define SIOCGPPPCSTATS _IOWR('i', 122, struct ifpppcstatsreq) [SIOCGPPPCSTATS] */
++ { "?", "SIOCGPPPCSTATS", SIOCGPPPCSTATS },
++/* #define PPPIOCGMRU _IOR('t', 83, int) [PPPIOCGMRU] */
++ { "?", "PPPIOCGMRU", PPPIOCGMRU },
++/* #define PPPIOCGFLAGS _IOR('t', 90, int) [PPPIOCGFLAGS] */
++ { "?", "PPPIOCGFLAGS", PPPIOCGFLAGS },
++/* #define PPPIOCSCOMPRESS _IOW('t', 77, struct ppp_option_data) [PPPIOCSCOMPRESS] */
++ { "?", "PPPIOCSCOMPRESS", PPPIOCSCOMPRESS },
++/* #define PPPIOCGMTU _IOR('t', 73, int) [PPPIOCGMTU] */
++ { "?", "PPPIOCGMTU", PPPIOCGMTU },
++/* #define PPPIOCGNPMODE _IOWR('t', 76, struct npioctl) [PPPIOCGNPMODE] */
++ { "?", "PPPIOCGNPMODE", PPPIOCGNPMODE },
++/* #define PPPIOCSMAXCID _IOW('t', 81, int) [PPPIOCSMAXCID] */
++ { "?", "PPPIOCSMAXCID", PPPIOCSMAXCID },
++/* #define PPPIOCSRASYNCMAP _IOW('t', 84, int) [PPPIOCSRASYNCMAP] */
++ { "?", "PPPIOCSRASYNCMAP", PPPIOCSRASYNCMAP },
++/* #define PPPIOCSFLAGS _IOW('t', 89, int) [PPPIOCSFLAGS] */
++ { "?", "PPPIOCSFLAGS", PPPIOCSFLAGS },
++/* #define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) [PPPIOCGIDLE] */
++ { "?", "PPPIOCGIDLE", PPPIOCGIDLE },
++/* #define PPPIOCGUNIT _IOR('t', 86, int) [PPPIOCGUNIT] */
++ { "?", "PPPIOCGUNIT", PPPIOCGUNIT },
++/* #define PPPIOCGXASYNCMAP _IOR('t', 80, ext_accm) [PPPIOCGXASYNCMAP] */
++ { "?", "PPPIOCGXASYNCMAP", PPPIOCGXASYNCMAP },
++/* #define PPPIOCGRAWIN _IOR('t', 91, struct ppp_rawin) [PPPIOCGRAWIN] */
++ { "?", "PPPIOCGRAWIN", PPPIOCGRAWIN },
++/* #define PPPIOCGRASYNCMAP _IOR('t', 85, int) [PPPIOCGRASYNCMAP] */
++ { "?", "PPPIOCGRASYNCMAP", PPPIOCGRASYNCMAP },
++/* #define SIOCGPPPSTATS _IOWR('i', 123, struct ifpppstatsreq) [SIOCGPPPSTATS] */
++ { "?", "SIOCGPPPSTATS", SIOCGPPPSTATS },
++/* #define PPPIOCSMRU _IOW('t', 82, int) [PPPIOCSMRU] */
++ { "?", "PPPIOCSMRU", PPPIOCSMRU },
++/* #define PPPIOCSMTU _IOW('t', 72, int) [PPPIOCSMTU] */
++ { "?", "PPPIOCSMTU", PPPIOCSMTU },
++/* #define PPPIOCSXASYNCMAP _IOW('t', 79, ext_accm) [PPPIOCSXASYNCMAP] */
++ { "?", "PPPIOCSXASYNCMAP", PPPIOCSXASYNCMAP },
++/* #define PPPIOCSASYNCMAP _IOW('t', 87, int) [PPPIOCSASYNCMAP] */
++ { "?", "PPPIOCSASYNCMAP", PPPIOCSASYNCMAP },
++/* #define PPPIOCXFERUNIT _IO('t', 78) [PPPIOCXFERUNIT] */
++ { "?", "PPPIOCXFERUNIT", PPPIOCXFERUNIT },
++/* #define PPPIOCSNPMODE _IOW('t', 75, struct npioctl) [PPPIOCSNPMODE] */
++ { "?", "PPPIOCSNPMODE", PPPIOCSNPMODE },
++/* #define PPPOESETPARMS _IOW('i', 110, struct pppoediscparms) [PPPOESETPARMS] */
++ { "?", "PPPOESETPARMS", PPPOESETPARMS },
++/* #define PPPOEGETSESSION _IOWR('i', 112, struct pppoeconnectionstate) [PPPOEGETSESSION] */
++ { "?", "PPPOEGETSESSION", PPPOEGETSESSION },
++/* #define PPPOEGETPARMS _IOWR('i', 111, struct pppoediscparms) [PPPOEGETPARMS] */
++ { "?", "PPPOEGETPARMS", PPPOEGETPARMS },
++/* #define SPPPGETDNSADDRS _IOWR('i', 131, struct spppdnsaddrs) [SPPPGETDNSADDRS] */
++ { "?", "SPPPGETDNSADDRS", SPPPGETDNSADDRS },
++/* #define SPPPSETKEEPALIVE _IOW('i', 132, struct spppkeepalivesettings) [SPPPSETKEEPALIVE] */
++ { "?", "SPPPSETKEEPALIVE", SPPPSETKEEPALIVE },
++/* #define SPPPSETIDLETO _IOW('i', 126, struct spppidletimeout) [SPPPSETIDLETO] */
++ { "?", "SPPPSETIDLETO", SPPPSETIDLETO },
++/* #define SPPPSETDNSOPTS _IOW('i', 129, struct spppdnssettings) [SPPPSETDNSOPTS] */
++ { "?", "SPPPSETDNSOPTS", SPPPSETDNSOPTS },
++/* #define SPPPSETAUTHCFG _IOW('i', 121, struct spppauthcfg) [SPPPSETAUTHCFG] */
++ { "?", "SPPPSETAUTHCFG", SPPPSETAUTHCFG },
++/* #define SPPPGETSTATUSNCP _IOWR('i', 134, struct spppstatusncp) [SPPPGETSTATUSNCP] */
++ { "?", "SPPPGETSTATUSNCP", SPPPGETSTATUSNCP },
++/* #define SPPPGETSTATUS _IOWR('i', 124, struct spppstatus) [SPPPGETSTATUS] */
++ { "?", "SPPPGETSTATUS", SPPPGETSTATUS },
++/* #define SPPPGETIDLETO _IOWR('i', 125, struct spppidletimeout) [SPPPGETIDLETO] */
++ { "?", "SPPPGETIDLETO", SPPPGETIDLETO },
++/* #define SPPPGETKEEPALIVE _IOWR('i', 133, struct spppkeepalivesettings) [SPPPGETKEEPALIVE] */
++ { "?", "SPPPGETKEEPALIVE", SPPPGETKEEPALIVE },
++/* #define SPPPGETDNSOPTS _IOWR('i', 130, struct spppdnssettings) [SPPPGETDNSOPTS] */
++ { "?", "SPPPGETDNSOPTS", SPPPGETDNSOPTS },
++/* #define SPPPSETLCPCFG _IOW('i', 123, struct sppplcpcfg) [SPPPSETLCPCFG] */
++ { "?", "SPPPSETLCPCFG", SPPPSETLCPCFG },
++/* #define SPPPGETAUTHCFG _IOWR('i', 120, struct spppauthcfg) [SPPPGETAUTHCFG] */
++ { "?", "SPPPGETAUTHCFG", SPPPGETAUTHCFG },
++/* #define SPPPGETLCPCFG _IOWR('i', 122, struct sppplcpcfg) [SPPPGETLCPCFG] */
++ { "?", "SPPPGETLCPCFG", SPPPGETLCPCFG },
++/* #define SPPPSETAUTHFAILURE _IOW('i', 128, struct spppauthfailuresettings) [SPPPSETAUTHFAILURE] */
++ { "?", "SPPPSETAUTHFAILURE", SPPPSETAUTHFAILURE },
++/* #define SPPPGETAUTHFAILURES _IOWR('i', 127, struct spppauthfailurestats) [SPPPGETAUTHFAILURES] */
++ { "?", "SPPPGETAUTHFAILURES", SPPPGETAUTHFAILURES },
++/* #define TAPGIFNAME _IOR('e', 0, struct ifreq) [TAPGIFNAME] */
++ { "?", "TAPGIFNAME", TAPGIFNAME },
++/* #define TUNSDEBUG _IOW('t', 90, int) [TUNSDEBUG] */
++ { "?", "TUNSDEBUG", TUNSDEBUG },
++/* #define TUNSIFMODE _IOW('t', 88, int) [TUNSIFMODE] */
++ { "?", "TUNSIFMODE", TUNSIFMODE },
++/* #define TUNSLMODE _IOW('t', 87, int) [TUNSLMODE] */
++/* #define TUNGDEBUG _IOR('t', 89, int) [TUNGDEBUG] */
++ { "?", "TUNGDEBUG", TUNGDEBUG },
++/* #define DIOCRTSTADDRS _IOWR('D', 73, struct pfioc_table) [DIOCRTSTADDRS] */
++ { "?", "DIOCRTSTADDRS", DIOCRTSTADDRS },
++/* #define DIOCBEGINADDRS _IOWR('D', 51, struct pfioc_pooladdr) [DIOCBEGINADDRS] */
++ { "?", "DIOCBEGINADDRS", DIOCBEGINADDRS },
++/* #define DIOCSTART _IO ('D', 1) [DIOCSTART] */
++ { "?", "DIOCSTART", DIOCSTART },
++/* #define DIOCRGETADDRS _IOWR('D', 70, struct pfioc_table) [DIOCRGETADDRS] */
++ { "?", "DIOCRGETADDRS", DIOCRGETADDRS },
++/* #define DIOCIGETIFACES _IOWR('D', 87, struct pfioc_iface) [DIOCIGETIFACES] */
++ { "?", "DIOCIGETIFACES", DIOCIGETIFACES },
++/* #define DIOCRGETTABLES _IOWR('D', 63, struct pfioc_table) [DIOCRGETTABLES] */
++ { "?", "DIOCRGETTABLES", DIOCRGETTABLES },
++/* #define DIOCSTOPALTQ _IO ('D', 43) [DIOCSTOPALTQ] */
++ { "?", "DIOCSTOPALTQ", DIOCSTOPALTQ },
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define DIOCXCOMMIT _IOWR('D', 82, struct pfioc_trans) [DIOCXCOMMIT] */
++ { "?", "DIOCXCOMMIT", DIOCXCOMMIT },
++/* #define DIOCGETSTATUS _IOWR('D', 21, struct pf_status) [DIOCGETSTATUS] */
++ { "?", "DIOCGETSTATUS", DIOCGETSTATUS },
++/* #define DIOCXROLLBACK _IOWR('D', 83, struct pfioc_trans) [DIOCXROLLBACK] */
++ { "?", "DIOCXROLLBACK", DIOCXROLLBACK },
++/* #define DIOCGETALTQ _IOWR('D', 48, struct pfioc_altq) [DIOCGETALTQ] */
++ { "?", "DIOCGETALTQ", DIOCGETALTQ },
++/* #define DIOCRADDADDRS _IOWR('D', 67, struct pfioc_table) [DIOCRADDADDRS] */
++ { "?", "DIOCRADDADDRS", DIOCRADDADDRS },
++/* #define DIOCGETRULE _IOWR('D', 7, struct pfioc_rule) [DIOCGETRULE] */
++ { "?", "DIOCGETRULE", DIOCGETRULE },
++/* #define DIOCRADDTABLES _IOWR('D', 61, struct pfioc_table) [DIOCRADDTABLES] */
++ { "?", "DIOCRADDTABLES", DIOCRADDTABLES },
++/* #define DIOCGETALTQS _IOWR('D', 47, struct pfioc_altq) [DIOCGETALTQS] */
++ { "?", "DIOCGETALTQS", DIOCGETALTQS },
++/* #define DIOCCLRSRCNODES _IO('D', 85) [DIOCCLRSRCNODES] */
++ { "?", "DIOCCLRSRCNODES", DIOCCLRSRCNODES },
++/* #define DIOCSETHOSTID _IOWR('D', 86, u_int32_t) [DIOCSETHOSTID] */
++ { "?", "DIOCSETHOSTID", DIOCSETHOSTID },
++/* #define DIOCSETLIMIT _IOWR('D', 40, struct pfioc_limit) [DIOCSETLIMIT] */
++ { "?", "DIOCSETLIMIT", DIOCSETLIMIT },
++/* #define DIOCGETRULESET _IOWR('D', 59, struct pfioc_ruleset) [DIOCGETRULESET] */
++ { "?", "DIOCGETRULESET", DIOCGETRULESET },
++/* #define DIOCCLRSTATES _IOWR('D', 18, struct pfioc_state_kill) [DIOCCLRSTATES] */
++ { "?", "DIOCCLRSTATES", DIOCCLRSTATES },
++/* #define DIOCICLRISTATS _IOWR('D', 88, struct pfioc_iface) [DIOCICLRISTATS] */
++ { "?", "DIOCICLRISTATS", DIOCICLRISTATS },
++/* #define DIOCRDELTABLES _IOWR('D', 62, struct pfioc_table) [DIOCRDELTABLES] */
++ { "?", "DIOCRDELTABLES", DIOCRDELTABLES },
++/* #define DIOCKILLSTATES _IOWR('D', 41, struct pfioc_state_kill) [DIOCKILLSTATES] */
++ { "?", "DIOCKILLSTATES", DIOCKILLSTATES },
++/* #define DIOCOSFPADD _IOWR('D', 79, struct pf_osfp_ioctl) [DIOCOSFPADD] */
++ { "?", "DIOCOSFPADD", DIOCOSFPADD },
++/* #define DIOCRSETTFLAGS _IOWR('D', 74, struct pfioc_table) [DIOCRSETTFLAGS] */
++ { "?", "DIOCRSETTFLAGS", DIOCRSETTFLAGS },
++/* #define DIOCGETQSTATS _IOWR('D', 50, struct pfioc_qstats) [DIOCGETQSTATS] */
++ { "?", "DIOCGETQSTATS", DIOCGETQSTATS },
++/* #define DIOCSETSTATUSIF _IOWR('D', 20, struct pfioc_if) [DIOCSETSTATUSIF] */
++ { "?", "DIOCSETSTATUSIF", DIOCSETSTATUSIF },
++/* #define DIOCRGETTSTATS _IOWR('D', 64, struct pfioc_table) [DIOCRGETTSTATS] */
++ { "?", "DIOCRGETTSTATS", DIOCRGETTSTATS },
++/* #define DIOCADDALTQ _IOWR('D', 45, struct pfioc_altq) [DIOCADDALTQ] */
++ { "?", "DIOCADDALTQ", DIOCADDALTQ },
++/* #define DIOCADDRULE _IOWR('D', 4, struct pfioc_rule) [DIOCADDRULE] */
++ { "?", "DIOCADDRULE", DIOCADDRULE },
++/* #define DIOCCLRIFFLAG _IOWR('D', 90, struct pfioc_iface) [DIOCCLRIFFLAG] */
++ { "?", "DIOCCLRIFFLAG", DIOCCLRIFFLAG },
++/* #define DIOCSETDEBUG _IOWR('D', 24, u_int32_t) [DIOCSETDEBUG] */
++ { "?", "DIOCSETDEBUG", DIOCSETDEBUG },
++/* #define DIOCRCLRASTATS _IOWR('D', 72, struct pfioc_table) [DIOCRCLRASTATS] */
++ { "?", "DIOCRCLRASTATS", DIOCRCLRASTATS },
++/* #define DIOCXBEGIN _IOWR('D', 81, struct pfioc_trans) [DIOCXBEGIN] */
++ { "?", "DIOCXBEGIN", DIOCXBEGIN },
++/* #define DIOCGETRULES _IOWR('D', 6, struct pfioc_rule) [DIOCGETRULES] */
++ { "?", "DIOCGETRULES", DIOCGETRULES },
++/* #define DIOCRDELADDRS _IOWR('D', 68, struct pfioc_table) [DIOCRDELADDRS] */
++ { "?", "DIOCRDELADDRS", DIOCRDELADDRS },
++/* #define DIOCRCLRTABLES _IOWR('D', 60, struct pfioc_table) [DIOCRCLRTABLES] */
++ { "?", "DIOCRCLRTABLES", DIOCRCLRTABLES },
++/* #define DIOCCHANGEALTQ _IOWR('D', 49, struct pfioc_altq) [DIOCCHANGEALTQ] */
++ { "?", "DIOCCHANGEALTQ", DIOCCHANGEALTQ },
++/* #define DIOCCHANGERULE _IOWR('D', 26, struct pfioc_rule) [DIOCCHANGERULE] */
++ { "?", "DIOCCHANGERULE", DIOCCHANGERULE },
++/* #define DIOCOSFPGET _IOWR('D', 80, struct pf_osfp_ioctl) [DIOCOSFPGET] */
++ { "?", "DIOCOSFPGET", DIOCOSFPGET },
++/* #define DIOCCLRSTATUS _IO ('D', 22) [DIOCCLRSTATUS] */
++ { "?", "DIOCCLRSTATUS", DIOCCLRSTATUS },
++/* #define DIOCGETLIMIT _IOWR('D', 39, struct pfioc_limit) [DIOCGETLIMIT] */
++ { "?", "DIOCGETLIMIT", DIOCGETLIMIT },
++/* #define DIOCRSETADDRS _IOWR('D', 69, struct pfioc_table) [DIOCRSETADDRS] */
++ { "?", "DIOCRSETADDRS", DIOCRSETADDRS },
++/* #define DIOCSETTIMEOUT _IOWR('D', 29, struct pfioc_tm) [DIOCSETTIMEOUT] */
++ { "?", "DIOCSETTIMEOUT", DIOCSETTIMEOUT },
++/* #define DIOCGETTIMEOUT _IOWR('D', 30, struct pfioc_tm) [DIOCGETTIMEOUT] */
++ { "?", "DIOCGETTIMEOUT", DIOCGETTIMEOUT },
++/* #define DIOCNATLOOK _IOWR('D', 23, struct pfioc_natlook) [DIOCNATLOOK] */
++ { "?", "DIOCNATLOOK", DIOCNATLOOK },
++/* #define DIOCOSFPFLUSH _IO('D', 78) [DIOCOSFPFLUSH] */
++ { "?", "DIOCOSFPFLUSH", DIOCOSFPFLUSH },
++/* #define DIOCRGETASTATS _IOWR('D', 71, struct pfioc_table) [DIOCRGETASTATS] */
++ { "?", "DIOCRGETASTATS", DIOCRGETASTATS },
++/* #define DIOCRINADEFINE _IOWR('D', 77, struct pfioc_table) [DIOCRINADEFINE] */
++ { "?", "DIOCRINADEFINE", DIOCRINADEFINE },
++/* #define DIOCGETADDR _IOWR('D', 54, struct pfioc_pooladdr) [DIOCGETADDR] */
++ { "?", "DIOCGETADDR", DIOCGETADDR },
++/* #define DIOCSETIFFLAG _IOWR('D', 89, struct pfioc_iface) [DIOCSETIFFLAG] */
++ { "?", "DIOCSETIFFLAG", DIOCSETIFFLAG },
++/* #define DIOCGETRULESETS _IOWR('D', 58, struct pfioc_ruleset) [DIOCGETRULESETS] */
++ { "?", "DIOCGETRULESETS", DIOCGETRULESETS },
++/* #define DIOCCHANGEADDR _IOWR('D', 55, struct pfioc_pooladdr) [DIOCCHANGEADDR] */
++ { "?", "DIOCCHANGEADDR", DIOCCHANGEADDR },
++/* #define DIOCGETADDRS _IOWR('D', 53, struct pfioc_pooladdr) [DIOCGETADDRS] */
++ { "?", "DIOCGETADDRS", DIOCGETADDRS },
++/* #define DIOCSTOP _IO ('D', 2) [DIOCSTOP] */
++ { "?", "DIOCSTOP", DIOCSTOP },
++/* #define DIOCADDSTATE _IOWR('D', 37, struct pfioc_state) [DIOCADDSTATE] */
++ { "?", "DIOCADDSTATE", DIOCADDSTATE },
++/* #define DIOCGETSTATE _IOWR('D', 19, struct pfioc_state) [DIOCGETSTATE] */
++ { "?", "DIOCGETSTATE", DIOCGETSTATE },
++/* #define DIOCCLRRULECTRS _IO ('D', 38) [DIOCCLRRULECTRS] */
++ { "?", "DIOCCLRRULECTRS", DIOCCLRRULECTRS },
++/* #define DIOCGETSRCNODES _IOWR('D', 84, struct pfioc_src_nodes) [DIOCGETSRCNODES] */
++ { "?", "DIOCGETSRCNODES", DIOCGETSRCNODES },
++/* #define DIOCADDADDR _IOWR('D', 52, struct pfioc_pooladdr) [DIOCADDADDR] */
++ { "?", "DIOCADDADDR", DIOCADDADDR },
++/* #define DIOCRCLRTSTATS _IOWR('D', 65, struct pfioc_table) [DIOCRCLRTSTATS] */
++ { "?", "DIOCRCLRTSTATS", DIOCRCLRTSTATS },
++/* #define DIOCGETSTATES _IOWR('D', 25, struct pfioc_states) [DIOCGETSTATES] */
++ { "?", "DIOCGETSTATES", DIOCGETSTATES },
++/* #define DIOCSTARTALTQ _IO ('D', 42) [DIOCSTARTALTQ] */
++ { "?", "DIOCSTARTALTQ", DIOCSTARTALTQ },
++/* #define DIOCRCLRADDRS _IOWR('D', 66, struct pfioc_table) [DIOCRCLRADDRS] */
++ { "?", "DIOCRCLRADDRS", DIOCRCLRADDRS },
++/* #define SLIOCGUNIT _IOR('t', 88, int) [SLIOCGUNIT] */
++/* #define SIOCSWAPA _IOR('r', 69, u_int) [SIOCSWAPA] */
++ { "?", "SIOCSWAPA", SIOCSWAPA },
++/* #define SIOCSTGET _IOWR('r', 81, struct ipfobj) [SIOCSTGET] */
++ { "?", "SIOCSTGET", SIOCSTGET },
++/* #define SIOCFRZST _IOWR('r', 74, struct ipfobj) [SIOCFRZST] */
++ { "?", "SIOCFRZST", SIOCFRZST },
++/* #define SIOCSTPUT _IOWR('r', 80, struct ipfobj) [SIOCSTPUT] */
++ { "?", "SIOCSTPUT", SIOCSTPUT },
++/* #define SIOCIPFFB _IOR('r', 66, int) [SIOCIPFFB] */
++ { "?", "SIOCIPFFB", SIOCIPFFB },
++/* #define SIOCIPFFL _IOWR('r', 65, int) [SIOCIPFFL] */
++ { "?", "SIOCIPFFL", SIOCIPFFL },
++/* #define SIOCIPFGET _IOWR('r', 88, struct ipfobj) [SIOCIPFGET] */
++ { "?", "SIOCIPFGET", SIOCIPFGET },
++/* #define SIOCSTGSZ _IOWR('r', 82, struct ipfobj) [SIOCSTGSZ] */
++ { "?", "SIOCSTGSZ", SIOCSTGSZ },
++/* #define SIOCGETFF _IOR('r', 63, u_int) [SIOCGETFF] */
++ { "?", "SIOCGETFF", SIOCGETFF },
++/* #define SIOCGETFS _IOWR('r', 64, struct ipfobj) [SIOCGETFS] */
++ { "?", "SIOCGETFS", SIOCGETFS },
++/* #define SIOCFRSYN _IOW('r', 73, u_int) [SIOCFRSYN] */
++ { "?", "SIOCFRSYN", SIOCFRSYN },
++/* #define SIOCGETLG _IOWR('r', 85, int) [SIOCGETLG] */
++ { "?", "SIOCGETLG", SIOCGETLG },
++/* #define SIOCRMIFR _IOW('r', 68, struct ipfobj) [SIOCRMIFR] */
++ { "?", "SIOCRMIFR", SIOCRMIFR },
++/* #define SIOCINIFR _IOW('r', 71, struct ipfobj) [SIOCINIFR] */
++ { "?", "SIOCINIFR", SIOCINIFR },
++/* #define SIOCATHST _IOWR('r', 78, struct ipfobj) [SIOCATHST] */
++ { "?", "SIOCATHST", SIOCATHST },
++/* #define SIOCADIFR _IOW('r', 67, struct ipfobj) [SIOCADIFR] */
++ { "?", "SIOCADIFR", SIOCADIFR },
++/* #define SIOCZRLST _IOWR('r', 75, struct ipfobj) [SIOCZRLST] */
++ { "?", "SIOCZRLST", SIOCZRLST },
++/* #define SIOCSETFF _IOW('r', 62, u_int) [SIOCSETFF] */
++ { "?", "SIOCSETFF", SIOCSETFF },
++/* #define SIOCFUNCL _IOWR('r', 86, struct ipfunc_resolve) [SIOCFUNCL] */
++ { "?", "SIOCFUNCL", SIOCFUNCL },
++/* #define SIOCFRENB _IOW('r', 72, u_int) [SIOCFRENB] */
++ { "?", "SIOCFRENB", SIOCFRENB },
++/* #define SIOCIPFGETNEXT _IOWR('r', 87, struct ipfobj) [SIOCIPFGETNEXT] */
++ { "?", "SIOCIPFGETNEXT", SIOCIPFGETNEXT },
++/* #define SIOCSETLG _IOWR('r', 84, int) [SIOCSETLG] */
++ { "?", "SIOCSETLG", SIOCSETLG },
++/* #define SIOCAUTHR _IOWR('r', 77, struct ipfobj) [SIOCAUTHR] */
++ { "?", "SIOCAUTHR", SIOCAUTHR },
++/* #define SIOCAUTHW _IOWR('r', 76, struct ipfobj) [SIOCAUTHW] */
++ { "?", "SIOCAUTHW", SIOCAUTHW },
++/* #define SIOCIPFSET _IOWR('r', 89, struct ipfobj) [SIOCIPFSET] */
++ { "?", "SIOCIPFSET", SIOCIPFSET },
++/* #define SIOCSTLCK _IOWR('r', 79, u_int) [SIOCSTLCK] */
++ { "?", "SIOCSTLCK", SIOCSTLCK },
++/* #define SIOCRMAFR _IOW('r', 61, struct ipfobj) [SIOCRMAFR] */
++ { "?", "SIOCRMAFR", SIOCRMAFR },
++/* #define SIOCINAFR _IOW('r', 70, struct ipfobj) [SIOCINAFR] */
++ { "?", "SIOCINAFR", SIOCINAFR },
++/* #define SIOCGFRST _IOWR('r', 83, struct ipfobj) [SIOCGFRST] */
++ { "?", "SIOCGFRST", SIOCGFRST },
++/* #define SIOCADAFR _IOW('r', 60, struct ipfobj) [SIOCADAFR] */
++ { "?", "SIOCADAFR", SIOCADAFR },
++/* #define SIOCLOOKUPSTAT _IOWR('r', 64, struct iplookupop) [SIOCLOOKUPSTAT] */
++ { "?", "SIOCLOOKUPSTAT", SIOCLOOKUPSTAT },
++/* #define SIOCLOOKUPSTATW _IOW('r', 64, struct iplookupop) [SIOCLOOKUPSTATW] */
++ { "?", "SIOCLOOKUPSTATW", SIOCLOOKUPSTATW },
++/* #define SIOCLOOKUPDELNODE _IOWR('r', 68, struct iplookupop) [SIOCLOOKUPDELNODE] */
++ { "?", "SIOCLOOKUPDELNODE", SIOCLOOKUPDELNODE },
++/* #define SIOCLOOKUPADDNODE _IOWR('r', 67, struct iplookupop) [SIOCLOOKUPADDNODE] */
++ { "?", "SIOCLOOKUPADDNODE", SIOCLOOKUPADDNODE },
++/* #define SIOCLOOKUPDELNODEW _IOW('r', 68, struct iplookupop) [SIOCLOOKUPDELNODEW] */
++ { "?", "SIOCLOOKUPDELNODEW", SIOCLOOKUPDELNODEW },
++/* #define SIOCLOOKUPFLUSH _IOWR('r', 65, struct iplookupflush) [SIOCLOOKUPFLUSH] */
++ { "?", "SIOCLOOKUPFLUSH", SIOCLOOKUPFLUSH },
++/* #define SIOCLOOKUPDELTABLE _IOWR('r', 61, struct iplookupop) [SIOCLOOKUPDELTABLE] */
++ { "?", "SIOCLOOKUPDELTABLE", SIOCLOOKUPDELTABLE },
++/* #define SIOCLOOKUPADDNODEW _IOW('r', 67, struct iplookupop) [SIOCLOOKUPADDNODEW] */
++ { "?", "SIOCLOOKUPADDNODEW", SIOCLOOKUPADDNODEW },
++/* #define SIOCLOOKUPADDTABLE _IOWR('r', 60, struct iplookupop) [SIOCLOOKUPADDTABLE] */
++ { "?", "SIOCLOOKUPADDTABLE", SIOCLOOKUPADDTABLE },
++/* #define SIOCRMNAT _IOW('r', 61, struct ipfobj) [SIOCRMNAT] */
++/* #define SIOCADNAT _IOW('r', 60, struct ipfobj) [SIOCADNAT] */
++/* #define SIOCGNATL _IOWR('r', 63, struct ipfobj) [SIOCGNATL] */
++ { "?", "SIOCGNATL", SIOCGNATL },
++/* #define SIOCGNATS _IOWR('r', 62, struct ipfobj) [SIOCGNATS] */
++ { "?", "SIOCGNATS", SIOCGNATS },
++/* #define SIOCPROXY _IOWR('r', 64, struct ap_control) [SIOCPROXY] */
++ { "?", "SIOCPROXY", SIOCPROXY },
++/* #define SIOCDELST _IOW('r', 61, struct ipfobj) [SIOCDELST] */
++/* #define SIOCGSTYPE _IOR('a', 40, struct systype_req) [SIOCGSTYPE] */
++ { "?", "SIOCGSTYPE", SIOCGSTYPE },
++/* #define SIOCSSTYPE _IOW('a', 39, struct systype_req) [SIOCSSTYPE] */
++ { "?", "SIOCSSTYPE", SIOCSSTYPE },
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define ATAIOCCOMMAND _IOWR('Q', 8, atareq_t) [ATAIOCCOMMAND] */
++ { "?", "ATAIOCCOMMAND", ATAIOCCOMMAND },
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define ATABUSIORESET _IO('A', 51) [ATABUSIORESET] */
++ { "?", "ATABUSIORESET", ATABUSIORESET },
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define ATABUSIOSCAN _IOW('A', 50, struct atabusioscan_args) [ATABUSIOSCAN] */
++ { "?", "ATABUSIOSCAN", ATABUSIOSCAN },
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define ATABUSIODETACH _IOW('A', 52, struct atabusiodetach_args) [ATABUSIODETACH] */
++ { "?", "ATABUSIODETACH", ATABUSIODETACH },
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define CDIOCPLAYMSF _IOW('c', 25, struct ioc_play_msf) [CDIOCPLAYMSF] */
++ { "?", "CDIOCPLAYMSF", CDIOCPLAYMSF },
++/* #define CDIOCPREVENT _IO('c', 26) [CDIOCPREVENT] */
++ { "?", "CDIOCPREVENT", CDIOCPREVENT },
++/* #define CDIOCSETPATCH _IOW('c', 9, struct ioc_patch) [CDIOCSETPATCH] */
++ { "?", "CDIOCSETPATCH", CDIOCSETPATCH },
++/* #define CDIOCSETLEFT _IO('c', 15) [CDIOCSETLEFT] */
++ { "?", "CDIOCSETLEFT", CDIOCSETLEFT },
++/* #define CDIOREADMSADDR _IOWR('c', 6, int) [CDIOREADMSADDR] */
++ { "?", "CDIOREADMSADDR", CDIOREADMSADDR },
++/* #define CDIOCPAUSE _IO('c', 19) [CDIOCPAUSE] */
++ { "?", "CDIOCPAUSE", CDIOCPAUSE },
++/* #define CDIOCALLOW _IO('c', 25) [CDIOCALLOW] */
++ { "?", "CDIOCALLOW", CDIOCALLOW },
++/* #define CDIOCCLRDEBUG _IO('c', 18) [CDIOCCLRDEBUG] */
++ { "?", "CDIOCCLRDEBUG", CDIOCCLRDEBUG },
++/* #define CDIOCPLAYTRACKS _IOW('c', 1, struct ioc_play_track) [CDIOCPLAYTRACKS] */
++ { "?", "CDIOCPLAYTRACKS", CDIOCPLAYTRACKS },
++/* #define CDIOCEJECT _IO('c', 24) [CDIOCEJECT] */
++ { "?", "CDIOCEJECT", CDIOCEJECT },
++/* #define CDIOCSETMONO _IO('c', 12) [CDIOCSETMONO] */
++ { "?", "CDIOCSETMONO", CDIOCSETMONO },
++/* #define CDIOCSTART _IO('c', 22) [CDIOCSTART] */
++ { "?", "CDIOCSTART", CDIOCSTART },
++/* #define CDIOCRESUME _IO('c', 20) [CDIOCRESUME] */
++ { "?", "CDIOCRESUME", CDIOCRESUME },
++/* #define CDIOCSTOP _IO('c', 23) [CDIOCSTOP] */
++ { "?", "CDIOCSTOP", CDIOCSTOP },
++/* #define CDIOCSETRIGHT _IO('c', 16) [CDIOCSETRIGHT] */
++ { "?", "CDIOCSETRIGHT", CDIOCSETRIGHT },
++/* #define CDIOREADTOCENTRIES _IOWR('c', 5, struct ioc_read_toc_entry) [CDIOREADTOCENTRIES] */
++ { "?", "CDIOREADTOCENTRIES", CDIOREADTOCENTRIES },
++/* #define CDIOCLOADUNLOAD _IOW('c', 26, struct ioc_load_unload) [CDIOCLOADUNLOAD] */
++ { "?", "CDIOCLOADUNLOAD", CDIOCLOADUNLOAD },
++/* #define CDIOCGETVOL _IOR('c', 10, struct ioc_vol) [CDIOCGETVOL] */
++ { "?", "CDIOCGETVOL", CDIOCGETVOL },
++/* #define CDIOCRESET _IO('c', 21) [CDIOCRESET] */
++ { "?", "CDIOCRESET", CDIOCRESET },
++/* #define CDIOCCLOSE _IO('c', 27) [CDIOCCLOSE] */
++ { "?", "CDIOCCLOSE", CDIOCCLOSE },
++/* #define CDIOCSETMUTE _IO('c', 14) [CDIOCSETMUTE] */
++ { "?", "CDIOCSETMUTE", CDIOCSETMUTE },
++/* #define CDIOCPLAYBLOCKS _IOW('c', 2, struct ioc_play_blocks) [CDIOCPLAYBLOCKS] */
++ { "?", "CDIOCPLAYBLOCKS", CDIOCPLAYBLOCKS },
++/* #define CDIOREADTOCHEADER _IOR('c', 4, struct ioc_toc_header) [CDIOREADTOCHEADER] */
++ { "?", "CDIOREADTOCHEADER", CDIOREADTOCHEADER },
++/* #define CDIOCSETVOL _IOW('c', 11, struct ioc_vol) [CDIOCSETVOL] */
++ { "?", "CDIOCSETVOL", CDIOCSETVOL },
++/* #define CDIOCSETSTEREO _IO('c', 13) [CDIOCSETSTEREO] */
++ { "?", "CDIOCSETSTEREO", CDIOCSETSTEREO },
++/* #define CDIOCREADSUBCHANNEL _IOWR('c', 3, struct ioc_read_subchannel ) [CDIOCREADSUBCHANNEL] */
++ { "?", "CDIOCREADSUBCHANNEL", CDIOCREADSUBCHANNEL },
++/* #define CDIOCSETDEBUG _IO('c', 17) [CDIOCSETDEBUG] */
++ { "?", "CDIOCSETDEBUG", CDIOCSETDEBUG },
++/* #define CHIOGPICKER _IOR('c', 0x04, int) [CHIOGPICKER] */
++/* #define CHIOMOVE _IOW('c', 0x01, struct changer_move_request) [CHIOMOVE] */
++ { "?", "CHIOMOVE", CHIOMOVE },
++/* #define CHIOEXCHANGE _IOW('c', 0x02, struct changer_exchange_request) [CHIOEXCHANGE] */
++ { "?", "CHIOEXCHANGE", CHIOEXCHANGE },
++/* #define CHIOPOSITION _IOW('c', 0x03, struct changer_position_request) [CHIOPOSITION] */
++ { "?", "CHIOPOSITION", CHIOPOSITION },
++/* #define CHIOSVOLTAG _IOW('c', 0x0a, struct changer_set_voltag_request) [CHIOSVOLTAG] */
++ { "?", "CHIOSVOLTAG", CHIOSVOLTAG },
++/* #define CHIOIELEM _IO('c', 0x07) [CHIOIELEM] */
++ { "?", "CHIOIELEM", CHIOIELEM },
++/* #define CHIOGPARAMS _IOR('c', 0x06, struct changer_params) [CHIOGPARAMS] */
++ { "?", "CHIOGPARAMS", CHIOGPARAMS },
++/* #define OCHIOGSTATUS _IOW('c', 0x08, struct ochanger_element_status_request) [OCHIOGSTATUS] */
++ { "?", "OCHIOGSTATUS", OCHIOGSTATUS },
++/* #define CHIOGSTATUS _IOW('c', 0x09, struct changer_element_status_request) [CHIOGSTATUS] */
++ { "?", "CHIOGSTATUS", CHIOGSTATUS },
++/* #define CHIOSPICKER _IOW('c', 0x05, int) [CHIOSPICKER] */
++ { "?", "CHIOSPICKER", CHIOSPICKER },
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define DRVRESCANBUS _IOW('D', 124, struct devrescanargs) [DRVRESCANBUS] */
++ { "?", "DRVRESCANBUS", DRVRESCANBUS },
++/* #define DRVDETACHDEV _IOW('D', 123, struct devdetachargs) [DRVDETACHDEV] */
++ { "?", "DRVDETACHDEV", DRVDETACHDEV },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define FDIOCGETFORMAT _IOR('d', 117, struct fdformat_parms) [FDIOCGETFORMAT] */
++ { "?", "FDIOCGETFORMAT", FDIOCGETFORMAT },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define FDIOCSETOPTS _IOW('d', 115, int) [FDIOCSETOPTS] */
++ { "?", "FDIOCSETOPTS", FDIOCSETOPTS },
++/* #define FDIOCGETOPTS _IOR('d', 114, int) [FDIOCGETOPTS] */
++ { "?", "FDIOCGETOPTS", FDIOCGETOPTS },
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define FDIOCSETFORMAT _IOW('d', 116, struct fdformat_parms) [FDIOCSETFORMAT] */
++ { "?", "FDIOCSETFORMAT", FDIOCSETFORMAT },
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define GPIOINFO _IOR('G', 0, struct gpio_info) [GPIOINFO] */
++ { "?", "GPIOINFO", GPIOINFO },
++/* #define GPIOPINWRITE _IOWR('G', 2, struct gpio_pin_op) [GPIOPINWRITE] */
++ { "?", "GPIOPINWRITE", GPIOPINWRITE },
++/* #define GPIOPINTOGGLE _IOWR('G', 3, struct gpio_pin_op) [GPIOPINTOGGLE] */
++ { "?", "GPIOPINTOGGLE", GPIOPINTOGGLE },
++/* #define GPIOPINREAD _IOWR('G', 1, struct gpio_pin_op) [GPIOPINREAD] */
++ { "?", "GPIOPINREAD", GPIOPINREAD },
++/* #define GPIOPINCTL _IOWR('G', 4, struct gpio_pin_ctl) [GPIOPINCTL] */
++ { "?", "GPIOPINCTL", GPIOPINCTL },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define TIOCGLTC _IOR('t',116,struct ltchars) [TIOCGLTC] */
++ { "?", "TIOCGLTC", TIOCGLTC },
++/* #define TIOCLBIC _IOW('t', 126, int) [TIOCLBIC] */
++ { "?", "TIOCLBIC", TIOCLBIC },
++/* #define TIOCLBIS _IOW('t', 127, int) [TIOCLBIS] */
++ { "?", "TIOCLBIS", TIOCLBIS },
++/* #define OTIOCSETD _IOW('t', 1, int) [OTIOCSETD] */
++ { "?", "OTIOCSETD", OTIOCSETD },
++/* #define OTIOCCONS _IO('t', 98) [OTIOCCONS] */
++ { "?", "OTIOCCONS", OTIOCCONS },
++/* #define TIOCGETC _IOR('t',18,struct tchars) [TIOCGETC] */
++ { "?", "TIOCGETC", TIOCGETC },
++/* #define TIOCGETP _IOR('t', 8,struct sgttyb) [TIOCGETP] */
++ { "?", "TIOCGETP", TIOCGETP },
++/* #define TIOCLSET _IOW('t', 125, int) [TIOCLSET] */
++ { "?", "TIOCLSET", TIOCLSET },
++/* #define OTIOCGETD _IOR('t', 0, int) [OTIOCGETD] */
++ { "?", "OTIOCGETD", OTIOCGETD },
++/* #define TIOCSLTC _IOW('t',117,struct ltchars) [TIOCSLTC] */
++ { "?", "TIOCSLTC", TIOCSLTC },
++/* #define TIOCLGET _IOR('t', 124, int) [TIOCLGET] */
++ { "?", "TIOCLGET", TIOCLGET },
++/* #define TIOCSETC _IOW('t',17,struct tchars) [TIOCSETC] */
++ { "?", "TIOCSETC", TIOCSETC },
++/* #define TIOCSETN _IOW('t',10,struct sgttyb) [TIOCSETN] */
++ { "?", "TIOCSETN", TIOCSETN },
++/* #define TIOCSETP _IOW('t', 9,struct sgttyb) [TIOCSETP] */
++ { "?", "TIOCSETP", TIOCSETP },
++/* #define TIOCHPCL _IO('t', 2) [TIOCHPCL] */
++ { "?", "TIOCHPCL", TIOCHPCL },
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define KIOCGSYMBOL _IOW('l', 1, struct ksyms_gsymbol) [KIOCGSYMBOL] */
++ { "?", "KIOCGSYMBOL", KIOCGSYMBOL },
++/* #define KIOCGSIZE _IOR('l', 3, int) [KIOCGSIZE] */
++ { "?", "KIOCGSIZE", KIOCGSIZE },
++/* #define KIOCGVALUE _IOW('l', 2, struct ksyms_gsymbol) [KIOCGVALUE] */
++ { "?", "KIOCGVALUE", KIOCGVALUE },
++/* #define LMLOADBUF _IOW('K', 1, struct lmc_loadbuf) [LMLOADBUF] */
++ { "?", "LMLOADBUF", LMLOADBUF },
++/* #define LMREADY _IOW('K', 3, u_long) [LMREADY] */
++ { "?", "LMREADY", LMREADY },
++/* #define LMUNRESRV _IO('K', 2) [LMUNRESRV] */
++ { "?", "LMUNRESRV", LMUNRESRV },
++/* #define LMLOADSYMS _IOW('K', 12, struct lmc_loadbuf) [LMLOADSYMS] */
++ { "?", "LMLOADSYMS", LMLOADSYMS },
++/* #define LMSTAT _IOWR('K', 11, struct lmc_stat) [LMSTAT] */
++ { "?", "LMSTAT", LMSTAT },
++/* #define LMFORCE _IOW('K', 13, u_long) [LMFORCE] */
++ { "?", "LMFORCE", LMFORCE },
++/* #define LMUNLOAD _IOWR('K', 10, struct lmc_unload) [LMUNLOAD] */
++ { "?", "LMUNLOAD", LMUNLOAD },
++/* #define LMLOAD _IOW('K', 9, struct lmc_load) [LMLOAD] */
++ { "?", "LMLOAD", LMLOAD },
++/* #define LMRESERV _IOWR('K', 4, struct lmc_resrv) [LMRESERV] */
++ { "?", "LMRESERV", LMRESERV },
++/* #define MTIOCIEOT _IO('m', 3) [MTIOCIEOT] */
++ { "?", "MTIOCIEOT", MTIOCIEOT },
++/* #define MTIOCSLOCATE _IOW('m', 5, uint32_t) [MTIOCSLOCATE] */
++ { "?", "MTIOCSLOCATE", MTIOCSLOCATE },
++/* #define MTIOCEEOT _IO('m', 4) [MTIOCEEOT] */
++ { "?", "MTIOCEEOT", MTIOCEEOT },
++/* #define MTIOCHLOCATE _IOW('m', 6, uint32_t) [MTIOCHLOCATE] */
++ { "?", "MTIOCHLOCATE", MTIOCHLOCATE },
++/* #define MTIOCRDSPOS _IOR('m', 5, uint32_t) [MTIOCRDSPOS] */
++ { "?", "MTIOCRDSPOS", MTIOCRDSPOS },
++/* #define MTIOCGET _IOR('m', 2, struct mtget) [MTIOCGET] */
++ { "?", "MTIOCGET", MTIOCGET },
++/* #define MTIOCRDHPOS _IOR('m', 6, uint32_t) [MTIOCRDHPOS] */
++ { "?", "MTIOCRDHPOS", MTIOCRDHPOS },
++/* #define MTIOCTOP _IOW('m', 1, struct mtop) [MTIOCTOP] */
++ { "?", "MTIOCTOP", MTIOCTOP },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define POWER_IOC_GET_TYPE _IOR('P', 0, sizeof(struct power_type)) [POWER_IOC_GET_TYPE] */
++ { "?", "POWER_IOC_GET_TYPE", POWER_IOC_GET_TYPE },
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define RIOCGINFO _IOR('R', 21, struct radio_info) [RIOCGINFO] */
++ { "?", "RIOCGINFO", RIOCGINFO },
++/* #define RIOCSINFO _IOWR('R', 22, struct radio_info) [RIOCSINFO] */
++ { "?", "RIOCSINFO", RIOCSINFO },
++/* #define RIOCSSRCH _IOW('R', 23, int) [RIOCSSRCH] */
++ { "?", "RIOCSSRCH", RIOCSSRCH },
++/* #define RNDGETPOOLSTAT _IOR('R', 106, rndpoolstat_t) [RNDGETPOOLSTAT] */
++ { "?", "RNDGETPOOLSTAT", RNDGETPOOLSTAT },
++/* #define RNDADDDATA _IOW('R', 105, rnddata_t) [RNDADDDATA] */
++ { "?", "RNDADDDATA", RNDADDDATA },
++/* #define RNDGETSRCNAME _IOWR('R', 103, rndstat_name_t) [RNDGETSRCNAME] */
++ { "?", "RNDGETSRCNAME", RNDGETSRCNAME },
++/* #define RNDGETENTCNT _IOR('R', 101, uint32_t) [RNDGETENTCNT] */
++ { "?", "RNDGETENTCNT", RNDGETENTCNT },
++/* #define RNDGETSRCNUM _IOWR('R', 102, rndstat_t) [RNDGETSRCNUM] */
++ { "?", "RNDGETSRCNUM", RNDGETSRCNUM },
++/* #define RNDCTL _IOW('R', 104, rndctl_t) [RNDCTL] */
++ { "?", "RNDCTL", RNDCTL },
++/* #define SCIOCSET _IOW('S', 2, struct scan_io) [SCIOCSET] */
++ { "?", "SCIOCSET", SCIOCSET },
++/* #define SCIOCRESTART _IO('S', 3) [SCIOCRESTART] */
++ { "?", "SCIOCRESTART", SCIOCRESTART },
++/* #define SCIOCGET _IOR('S', 1, struct scan_io) [SCIOCGET] */
++ { "?", "SCIOCGET", SCIOCGET },
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define SCBUSIODETACH _IOW('U', 2, struct scbusiodetach_args) [SCBUSIODETACH] */
++ { "?", "SCBUSIODETACH", SCBUSIODETACH },
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define SCBUSIORESET _IO('U', 1) [SCBUSIORESET] */
++ { "?", "SCBUSIORESET", SCBUSIORESET },
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define OSCIOCIDENTIFY _IOR('Q', 4, struct oscsi_addr) [OSCIOCIDENTIFY] */
++ { "?", "OSCIOCIDENTIFY", OSCIOCIDENTIFY },
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define SCBUSACCEL _IOW('U', 2, struct scbusaccel_args) [SCBUSACCEL] */
++ { "?", "SCBUSACCEL", SCBUSACCEL },
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define SCIOCIDENTIFY _IOR('Q', 4, struct scsi_addr) [SCIOCIDENTIFY] */
++ { "?", "SCIOCIDENTIFY", SCIOCIDENTIFY },
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define SCBUSIOSCAN _IOW('U', 0, struct scbusioscan_args) [SCBUSIOSCAN] */
++ { "?", "SCBUSIOSCAN", SCBUSIOSCAN },
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define SCIOCRESET _IO('Q', 7) [SCIOCRESET] */
++ { "?", "SCIOCRESET", SCIOCRESET },
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define SCCMD_IOV 0x00000004 [SCCMD_IOV] */
++ { "?", "SCCMD_IOV", SCCMD_IOV },
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define SCIOCRECONFIG _IO('Q', 6) [SCIOCRECONFIG] */
++ { "?", "SCIOCRECONFIG", SCIOCRECONFIG },
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SCIOCDEBUG _IOW('Q', 2, int) [SCIOCDEBUG] */
++ { "?", "SCIOCDEBUG", SCIOCDEBUG },
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SCIOCCOMMAND _IOWR('Q', 1, scsireq_t) [SCIOCCOMMAND] */
++ { "?", "SCIOCCOMMAND", SCIOCCOMMAND },
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define SCIOCDECONFIG _IO('Q', 5) [SCIOCDECONFIG] */
++ { "?", "SCIOCDECONFIG", SCIOCDECONFIG },
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define SCBUSIOLLSCAN _IO('U', 3) [SCBUSIOLLSCAN] */
++ { "?", "SCBUSIOLLSCAN", SCBUSIOLLSCAN },
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define DIOCSRETRIES _IOW('d', 108, int) [DIOCSRETRIES] */
++/* #define FIONBIO _IOW('f', 126, int) [FIONBIO] */
++/* #define DIOCLWEDGES _IOWR('d', 124, struct dkwedge_list) [DIOCLWEDGES] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define FIONWRITE _IOR('f', 121, int) [FIONWRITE] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define FIOGETOWN _IOR('f', 123, int) [FIOGETOWN] */
++/* #define SIOCGPGRP _IOR('s', 9, int) [SIOCGPGRP] */
++/* #define DIOCGCACHE _IOR('d', 116, int) [DIOCGCACHE] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) [SIOCGIFADDR] */
++/* #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq) [SIOCGIFMETRIC] */
++/* #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq) [OSIOCGIFADDR] */
++/* #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) [SIOCGIFGENERIC] */
++/* #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) [SIOCGIFPSRCADDR] */
++/* #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) [SIOCSIFDSTADDR] */
++/* #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) [SIOCGIFPDSTADDR] */
++/* #define DIOCGDEFLABEL _IOR('d', 114, struct disklabel) [DIOCGDEFLABEL] */
++/* #define FIOASYNC _IOW('f', 125, int) [FIOASYNC] */
++/* #define SIOCSHIWAT _IOW('s', 0, int) [SIOCSHIWAT] */
++/* #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) [SIOCSIFMEDIA] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define DIOCSSTEP _IOW('d', 107, int) [DIOCSSTEP] */
++/* #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) [SIOCDIFPHYADDR] */
++/* #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) [SIOCGLIFADDR] */
++/* #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) [SIOCGDRVSPEC] */
++/* #define SIOCDIFADDR _IOW('i', 25, struct ifreq) [SIOCDIFADDR] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) [SIOCGIFMTU] */
++/* #define SIOCGIFDLT _IOWR('i', 119, struct ifreq) [SIOCGIFDLT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define PTIOCULTRIX _IOW('Z', 6, struct ioctl_pt) [PTIOCULTRIX] */
++/* #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) [SIOCSIFNETMASK] */
++/* #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq) [SIOCAIFADDR] */
++/* #define DIOCCACHESYNC _IOW('d', 118, int) [DIOCCACHESYNC] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) [SIOCDLIFADDR] */
++/* #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) [OSIOCGIFCONF] */
++/* #define PPS_IOC_DESTROY _IO('1', 2) [PPS_IOC_DESTROY] */
++ { "?", "PPS_IOC_DESTROY", PPS_IOC_DESTROY },
++/* #define DIOCGWEDGEINFO _IOR('d', 122, struct dkwedge_info) [DIOCGWEDGEINFO] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define DIOCWLABEL _IOW('d', 109, int) [DIOCWLABEL] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) [SIOCSIFBRDADDR] */
++/* #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) [SIOCGLIFPHYADDR] */
++/* #define DIOCWFORMAT _IOWR('d', 106, struct format_op) [DIOCWFORMAT] */
++/* #define SIOCSPGRP _IOW('s', 8, int) [SIOCSPGRP] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define SIOCADDMULTI _IOW('i', 49, struct ifreq) [SIOCADDMULTI] */
++/* #define PPS_IOC_KCBIND _IOW('1', 7, int) [PPS_IOC_KCBIND] */
++ { "?", "PPS_IOC_KCBIND", PPS_IOC_KCBIND },
++/* #define DIOCSSTRATEGY _IOW('d', 126, struct disk_strategy) [DIOCSSTRATEGY] */
++/* #define SIOCZIFDATA _IOWR('i', 129, struct ifdatareq) [SIOCZIFDATA] */
++/* #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) [SIOCGETSGCNT] */
++/* #define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) [SIOCALIFADDR] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req) [SIOCGETVIFCNT] */
++/* #define PTIOCSUNOS _IOW('Z', 1, struct ioctl_pt) [PTIOCSUNOS] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define DIOCAWEDGE _IOWR('d', 121, struct dkwedge_info) [DIOCAWEDGE] */
++/* #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) [SIOCIFGCLONERS] */
++/* #define SIOCDELRT _IOW('r', 11, struct ortentry) [SIOCDELRT] */
++/* #define FIOSETOWN _IOW('f', 124, int) [FIOSETOWN] */
++/* #define DIOCSCACHE _IOW('d', 117, int) [DIOCSCACHE] */
++/* #define DIOCRFORMAT _IOWR('d', 105, struct format_op) [DIOCRFORMAT] */
++/* #define PPS_IOC_CREATE _IO('1', 1) [PPS_IOC_CREATE] */
++ { "?", "PPS_IOC_CREATE", PPS_IOC_CREATE },
++/* #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) [SIOCGIFDSTADDR] */
++/* #define FIONREAD _IOR('f', 127, int) [FIONREAD] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define SIOCGHIWAT _IOR('s', 1, int) [SIOCGHIWAT] */
++/* #define DIOCGPART _IOW('d', 104, struct partinfo) [DIOCGPART] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define DIOCGSTRATEGY _IOR('d', 125, struct disk_strategy) [DIOCGSTRATEGY] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) [SIOCSIFFLAGS] */
++/* #define SIOCGLOWAT _IOR('s', 3, int) [SIOCGLOWAT] */
++/* #define SIOCSIFMTU _IOW('i', 127, struct ifreq) [SIOCSIFMTU] */
++/* #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) [SIOCGIFMEDIA] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define DIOCEJECT _IOW('d', 112, int) [DIOCEJECT] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define SIOCGIFCAP _IOWR('i', 118, struct ifcapreq) [SIOCGIFCAP] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) [SIOCGIFNETMASK] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq) [OSIOCGIFDSTADDR] */
++/* #define DIOCBSFLUSH _IO('d', 120) [DIOCBSFLUSH] */
++/* #define FIONCLEX _IO('f', 2) [FIONCLEX] */
++/* #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) [SIOCSLIFPHYADDR] */
++/* #define FIOCLEX _IO('f', 1) [FIOCLEX] */
++/* #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) [SIOCGIFBRDADDR] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define SIOCIFDESTROY _IOW('i', 121, struct ifreq) [SIOCIFDESTROY] */
++/* #define DIOCGDINFO _IOR('d', 101, struct disklabel) [DIOCGDINFO] */
++/* #define SIOCGIFCONF _IOWR('i', 36, struct ifconf) [SIOCGIFCONF] */
++/* #define OFIOGETBMAP _IOWR('f', 122, uint32_t) [OFIOGETBMAP] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define FIONSPACE _IOR('f', 120, int) [FIONSPACE] */
++/* #define DIOCCLRLABEL _IO('d', 115) [DIOCCLRLABEL] */
++/* #define FIOGETBMAP _IOWR('f', 122, daddr_t) [FIOGETBMAP] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) [OSIOCGIFNETMASK] */
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define SIOCADDRT _IOW('r', 10, struct ortentry) [SIOCADDRT] */
++/* #define PPS_IOC_GETCAP _IOR('1', 5, int) [PPS_IOC_GETCAP] */
++ { "?", "PPS_IOC_GETCAP", PPS_IOC_GETCAP },
++/* #define SIOCGIFDATA _IOWR('i', 128, struct ifdatareq) [SIOCGIFDATA] */
++/* #define PPS_IOC_SETPARAMS _IOW('1', 3, pps_params_t) [PPS_IOC_SETPARAMS] */
++ { "?", "PPS_IOC_SETPARAMS", PPS_IOC_SETPARAMS },
++/* #define DIOCWDINFO _IOW('d', 103, struct disklabel) [DIOCWDINFO] */
++/* #define SIOCDELMULTI _IOW('i', 50, struct ifreq) [SIOCDELMULTI] */
++/* #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq) [OSIOCGIFBRDADDR] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) [SIOCSIFGENERIC] */
++/* #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) [SIOCSDRVSPEC] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define SIOCATMARK _IOR('s', 7, int) [SIOCATMARK] */
++/* #define PTIOCNETBSD _IOW('Z', 0, struct ioctl_pt) [PTIOCNETBSD] */
++/* #define SIOCSLOWAT _IOW('s', 2, int) [SIOCSLOWAT] */
++/* #define PTIOCLINUX _IOW('Z', 3, struct ioctl_pt) [PTIOCLINUX] */
++/* #define DIOCSBAD _IOW('d', 110, struct dkbad) [DIOCSBAD] */
++/* #define SIOCSIFADDR _IOW('i', 12, struct ifreq) [SIOCSIFADDR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define SIOCSIFCAP _IOW('i', 117, struct ifcapreq) [SIOCSIFCAP] */
++/* #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) [SIOCGIFFLAGS] */
++/* #define PPS_IOC_GETPARAMS _IOR('1', 4, pps_params_t) [PPS_IOC_GETPARAMS] */
++ { "?", "PPS_IOC_GETPARAMS", PPS_IOC_GETPARAMS },
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define PPS_IOC_FETCH _IOWR('1', 6, pps_info_t) [PPS_IOC_FETCH] */
++ { "?", "PPS_IOC_FETCH", PPS_IOC_FETCH },
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) [SIOCSIFMETRIC] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define ODIOCEJECT _IO('d', 112) [ODIOCEJECT] */
++/* #define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq) [SIOCGIFALIAS] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define DIOCKLABEL _IOW('d', 119, int) [DIOCKLABEL] */
++/* #define DIOCDWEDGE _IOW('d', 123, struct dkwedge_info) [DIOCDWEDGE] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define PTIOCFREEBSD _IOW('Z', 4, struct ioctl_pt) [PTIOCFREEBSD] */
++/* #define DIOCSDINFO _IOW('d', 102, struct disklabel) [DIOCSDINFO] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define SIOCIFCREATE _IOW('i', 122, struct ifreq) [SIOCIFCREATE] */
++/* #define DIOCLOCK _IOW('d', 113, int) [DIOCLOCK] */
++/* #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) [SIOCSIFPHYADDR] */
++/* #define DIOCBSLIST _IOWR('d', 119, struct disk_badsecinfo) [DIOCBSLIST] */
++/* #define TIOCGLINED _IOR('t', 66, linedn_t) [TIOCGLINED] */
++/* #define TIOCMSET _IOW('t', 109, int) [TIOCMSET] */
++/* #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *) [TIOCRCVFRAME] */
++/* #define TIOCDRAIN _IO('t', 94) [TIOCDRAIN] */
++/* #define TIOCEXCL _IO('t', 13) [TIOCEXCL] */
++/* #define TIOCPKT_IOCTL 0x40 [TIOCPKT_IOCTL] */
++/* #define TIOCUCNTL _IOW('t', 102, int) [TIOCUCNTL] */
++/* #define TIOCSBRK _IO('t', 123) [TIOCSBRK] */
++/* #define TIOCGRANTPT _IO('t', 71) [TIOCGRANTPT] */
++/* #define TIOCSIG _IO('t', 95) [TIOCSIG] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define TIOCGETA _IOR('t', 19, struct termios) [TIOCGETA] */
++/* #define TIOCGETD _IOR('t', 26, int) [TIOCGETD] */
++/* #define TIOCSDTR _IO('t', 121) [TIOCSDTR] */
++/* #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *) [TIOCXMTFRAME] */
++/* #define TIOCSFLAGS _IOW('t', 92, int) [TIOCSFLAGS] */
++/* #define TIOCSTI _IOW('t', 114, char) [TIOCSTI] */
++/* #define TIOCPTSNAME _IOR('t', 72, struct ptmget) [TIOCPTSNAME] */
++/* #define TIOCSLINED _IOW('t', 67, linedn_t) [TIOCSLINED] */
++/* #define TIOCSTART _IO('t', 110) [TIOCSTART] */
++/* #define TIOCSTAT _IOW('t', 101, int) [TIOCSTAT] */
++/* #define TIOCMGET _IOR('t', 106, int) [TIOCMGET] */
++/* #define TIOCNXCL _IO('t', 14) [TIOCNXCL] */
++/* #define TIOCFLUSH _IOW('t', 16, int) [TIOCFLUSH] */
++/* #define TIOCGWINSZ _IOR('t', 104, struct winsize) [TIOCGWINSZ] */
++/* #define TIOCGPGRP _IOR('t', 119, int) [TIOCGPGRP] */
++/* #define TIOCPKT _IOW('t', 112, int) [TIOCPKT] */
++/* #define TIOCPTMGET _IOR('t', 70, struct ptmget) [TIOCPTMGET] */
++/* #define TIOCEXT _IOW('t', 96, int) [TIOCEXT] */
++/* #define TIOCSCTTY _IO('t', 97) [TIOCSCTTY] */
++/* #define TIOCOUTQ _IOR('t', 115, int) [TIOCOUTQ] */
++/* #define TIOCCBRK _IO('t', 122) [TIOCCBRK] */
++/* #define TIOCREMOTE _IOW('t', 105, int) [TIOCREMOTE] */
++/* #define TIOCMBIC _IOW('t', 107, int) [TIOCMBIC] */
++/* #define TIOCMBIS _IOW('t', 108, int) [TIOCMBIS] */
++/* #define TIOCSETA _IOW('t', 20, struct termios) [TIOCSETA] */
++/* #define TIOCSETD _IOW('t', 27, int) [TIOCSETD] */
++/* #define TIOCCONS _IOW('t', 98, int) [TIOCCONS] */
++/* #define TIOCSPGRP _IOW('t', 118, int) [TIOCSPGRP] */
++/* #define TIOCGSID _IOR('t', 99, int) [TIOCGSID] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define TIOCCDTR _IO('t', 120) [TIOCCDTR] */
++/* #define TIOCSWINSZ _IOW('t', 103, struct winsize) [TIOCSWINSZ] */
++/* #define TIOCSETAF _IOW('t', 22, struct termios) [TIOCSETAF] */
++/* #define TIOCSETAW _IOW('t', 21, struct termios) [TIOCSETAW] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++/* #define TIOCGFLAGS _IOR('t', 93, int) [TIOCGFLAGS] */
++/* #define TIOCNOTTY _IO('t', 113) [TIOCNOTTY] */
++/* #define TIOCSTOP _IO('t', 111) [TIOCSTOP] */
++/* #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) [TIOCDCDTIMESTAMP] */
++/* #define BLKDEV_IOSIZE 2048 [BLKDEV_IOSIZE] */
++/* #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) [_IOWR(g,n,t)] */
++/* #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) [_IO(g,n)] */
++/* #define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) [_IOC(inout,group,num,len)] */
++/* #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) [_IOR(g,n,t)] */
++/* #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) [_IOW(g,n,t)] */
++};
++
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/i386/signalent.h 2000-09-01 17:09:08.000000000 -0400
+@@ -0,0 +1,32 @@
++ "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 */
+diff -ru --new-file ./netbsd/i386/sycallent.h /u/christos/strace/strace-4.5.14/netbsd/i386/sycallent.h
+--- ./netbsd/i386/sycallent.h 1969-12-31 19:00:00.000000000 -0500
++++ /u/christos/strace/strace-4.5.14/netbsd/i386/sycallent.h 2006-03-05 00:55:35.000000000 -0500
+@@ -0,0 +1,396 @@
++/*
++ * Automatically generated by ./syscalls.pl on Sun Mar 5 00:55:35 2006
++ */
++
++ { 2, 0, sys_syscall, "syscall" }, /* 0 */
++ { 1, 0, sys_exit, "exit" }, /* 1 */
++ { 1, TP, sys_fork, "fork" }, /* 2 */
++ { 3, 0, sys_read, "read" }, /* 3 */
++ { 3, 0, sys_write, "write" }, /* 4 */
++ { 3, TF, sys_open, "open" }, /* 5 */
++ { 1, TF, sys_close, "close" }, /* 6 */
++ { 4, TP, sys_wait4, "wait4" }, /* 7 */
++ { 2, TF, sys_creat, "creat" }, /* 8 */
++ { 2, TF, sys_link, "link" }, /* 9 */
++ { 1, TF, sys_unlink, "unlink" }, /* 10 */
++ { -1, 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_obreak, "obreak" }, /* 17 */
++ { 3, 0, sys_getfsstat, "getfsstat" }, /* 18 */
++ { 3, 0, sys_lseek, "lseek" }, /* 19 */
++ { 1, 0, sys_getpid_with_ppid, "getpid_with_ppid" }, /* 20 */
++ { 4, TF, sys_mount, "mount" }, /* 21 */
++ { 2, TF, sys_unmount, "unmount" }, /* 22 */
++ { 1, 0, sys_setuid, "setuid" }, /* 23 */
++ { 1, 0, sys_getuid_with_euid, "getuid_with_euid" }, /* 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, 0, sys_dup, "dup" }, /* 41 */
++ { 1, 0, 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_with_egid, "getgid_with_egid" }, /* 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, 0, 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, TF, sys_fstat, "fstat" }, /* 62 */
++ { 4, 0, sys_getkerninfo, "getkerninfo" }, /* 63 */
++ { 1, 0, sys_getpagesize, "getpagesize" }, /* 64 */
++ { 2, 0, sys_msync, "msync" }, /* 65 */
++ { 1, TP, sys_vfork, "vfork" }, /* 66 */
++ { -1, 0, printargs, "SYS_67" }, /* 67 */
++ { -1, 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_ovadvise, "ovadvise" }, /* 72 */
++ { 2, 0, sys_munmap, "munmap" }, /* 73 */
++ { 3, 0, sys_mprotect, "mprotect" }, /* 74 */
++ { 3, 0, sys_madvise, "madvise" }, /* 75 */
++ { -1, 0, printargs, "SYS_76" }, /* 76 */
++ { -1, 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, 0, sys_dup2, "dup2" }, /* 90 */
++ { -1, 0, printargs, "SYS_91" }, /* 91 */
++ { 3, 0, sys_fcntl, "fcntl" }, /* 92 */
++ { 5, 0, sys_select, "select" }, /* 93 */
++ { -1, 0, printargs, "SYS_94" }, /* 94 */
++ { 1, 0, 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 */
++ { -1, 0, printargs, "SYS_107" }, /* 107 */
++ { 3, 0, sys_sigvec, "sigvec" }, /* 108 */
++ { 1, TS, sys_sigblock, "sigblock" }, /* 109 */
++ { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 110 */
++ { 1, TS, sys_sigsuspend, "sigsuspend" }, /* 111 */
++ { 2, 0, sys_sigstack, "sigstack" }, /* 112 */
++ { 3, TN, sys_recvmsg, "recvmsg" }, /* 113 */
++ { 3, TN, sys_sendmsg, "sendmsg" }, /* 114 */
++ { -1, 0, printargs, "SYS_115" }, /* 115 */
++ { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 116 */
++ { 2, 0, sys_getrusage, "getrusage" }, /* 117 */
++ { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */
++ { -1, 0, printargs, "SYS_119" }, /* 119 */
++ { 3, 0, sys_readv, "readv" }, /* 120 */
++ { 3, 0, sys_writev, "writev" }, /* 121 */
++ { 2, 0, sys_settimeofday, "settimeofday" }, /* 122 */
++ { 3, 0, sys_fchown, "fchown" }, /* 123 */
++ { 2, 0, 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, 0, sys_ftruncate, "ftruncate" }, /* 130 */
++ { 2, 0, 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 */
++ { -1, 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 */
++ { -1, 0, printargs, "SYS_151" }, /* 151 */
++ { -1, 0, printargs, "SYS_152" }, /* 152 */
++ { -1, 0, printargs, "SYS_153" }, /* 153 */
++ { -1, 0, printargs, "SYS_154" }, /* 154 */
++ { 2, 0, sys_nfssvc, "nfssvc" }, /* 155 */
++ { 4, 0, sys_getdirentries, "getdirentries" }, /* 156 */
++ { 2, TF, sys_statfs, "statfs" }, /* 157 */
++ { 2, 0, sys_fstatfs, "fstatfs" }, /* 158 */
++ { -1, 0, printargs, "SYS_159" }, /* 159 */
++ { -1, 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 */
++ { -1, 0, printargs, "SYS_166" }, /* 166 */
++ { -1, 0, printargs, "SYS_167" }, /* 167 */
++ { -1, 0, printargs, "SYS_168" }, /* 168 */
++ { 5, TI, sys_semsys, "semsys" }, /* 169 */
++ { 6, TI, sys_msgsys, "msgsys" }, /* 170 */
++ { 4, TI, sys_shmsys, "shmsys" }, /* 171 */
++ { -1, 0, printargs, "SYS_172" }, /* 172 */
++ { 5, TF, sys_pread, "pread" }, /* 173 */
++ { 5, TF, sys_pwrite, "pwrite" }, /* 174 */
++ { 1, 0, sys_ntp_gettime, "ntp_gettime" }, /* 175 */
++ { 1, 0, sys_ntp_adjtime, "ntp_adjtime" }, /* 176 */
++ { -1, 0, printargs, "SYS_177" }, /* 177 */
++ { -1, 0, printargs, "SYS_178" }, /* 178 */
++ { -1, 0, printargs, "SYS_179" }, /* 179 */
++ { -1, 0, printargs, "SYS_180" }, /* 180 */
++ { 1, 0, sys_setgid, "setgid" }, /* 181 */
++ { 1, 0, sys_setegid, "setegid" }, /* 182 */
++ { 1, 0, sys_seteuid, "seteuid" }, /* 183 */
++ { 3, 0, sys_lfs_bmapv, "lfs_bmapv" }, /* 184 */
++ { 3, 0, sys_lfs_markv, "lfs_markv" }, /* 185 */
++ { 2, 0, sys_lfs_segclean, "lfs_segclean" }, /* 186 */
++ { 2, 0, sys_lfs_segwait, "lfs_segwait" }, /* 187 */
++ { 2, TF, sys_stat, "stat" }, /* 188 */
++ { 2, TF, sys_fstat, "fstat" }, /* 189 */
++ { 2, TF, sys_lstat, "lstat" }, /* 190 */
++ { 2, TF, sys_pathconf, "pathconf" }, /* 191 */
++ { 2, 0, sys_fpathconf, "fpathconf" }, /* 192 */
++ { -1, 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 */
++ { 2, 0, sys___syscall, "__syscall" }, /* 198 */
++ { 4, 0, sys_lseek, "lseek" }, /* 199 */
++ { 3, TF, sys_truncate, "truncate" }, /* 200 */
++ { 3, 0, 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 */
++ { 2, 0, sys_reboot, "reboot" }, /* 208 */
++ { 3, TN, sys_poll, "poll" }, /* 209 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 210 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 211 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 212 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 213 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 214 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 215 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 216 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 217 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 218 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 219 */
++ { 4, 0, sys___semctl, "__semctl" }, /* 220 */
++ { 3, TI, sys_semget, "semget" }, /* 221 */
++ { 3, TI, sys_semop, "semop" }, /* 222 */
++ { 1, 0, sys_semconfig, "semconfig" }, /* 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 */
++ { 3, 0, sys_timer_create, "timer_create" }, /* 235 */
++ { 1, 0, sys_timer_delete, "timer_delete" }, /* 236 */
++ { 4, 0, sys_timer_settime, "timer_settime" }, /* 237 */
++ { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 238 */
++ { 1, 0, sys_timer_getoverrun, "timer_getoverrun" }, /* 239 */
++ { 2, 0, sys_nanosleep, "nanosleep" }, /* 240 */
++ { 1, 0, sys_fdatasync, "fdatasync" }, /* 241 */
++ { 1, 0, sys_mlockall, "mlockall" }, /* 242 */
++ { 1, 0, sys_munlockall, "munlockall" }, /* 243 */
++ { 3, 0, sys___sigtimedwait, "__sigtimedwait" }, /* 244 */
++ { -1, 0, printargs, "SYS_245" }, /* 245 */
++ { -1, 0, printargs, "SYS_246" }, /* 246 */
++ { 2, 0, sys__ksem_init, "_ksem_init" }, /* 247 */
++ { 5, 0, sys__ksem_open, "_ksem_open" }, /* 248 */
++ { 1, 0, sys__ksem_unlink, "_ksem_unlink" }, /* 249 */
++ { 1, 0, sys__ksem_close, "_ksem_close" }, /* 250 */
++ { 1, 0, sys__ksem_post, "_ksem_post" }, /* 251 */
++ { 1, 0, sys__ksem_wait, "_ksem_wait" }, /* 252 */
++ { 1, 0, sys__ksem_trywait, "_ksem_trywait" }, /* 253 */
++ { 2, 0, sys__ksem_getvalue, "_ksem_getvalue" }, /* 254 */
++ { 1, 0, sys__ksem_destroy, "_ksem_destroy" }, /* 255 */
++ { -1, 0, printargs, "SYS_256" }, /* 256 */
++ { -1, 0, printargs, "SYS_257" }, /* 257 */
++ { -1, 0, printargs, "SYS_258" }, /* 258 */
++ { -1, 0, printargs, "SYS_259" }, /* 259 */
++ { -1, 0, printargs, "SYS_260" }, /* 260 */
++ { -1, 0, printargs, "SYS_261" }, /* 261 */
++ { -1, 0, printargs, "SYS_262" }, /* 262 */
++ { -1, 0, printargs, "SYS_263" }, /* 263 */
++ { -1, 0, printargs, "SYS_264" }, /* 264 */
++ { -1, 0, printargs, "SYS_265" }, /* 265 */
++ { -1, 0, printargs, "SYS_266" }, /* 266 */
++ { -1, 0, printargs, "SYS_267" }, /* 267 */
++ { -1, 0, printargs, "SYS_268" }, /* 268 */
++ { -1, 0, printargs, "SYS_269" }, /* 269 */
++ { 2, 0, sys___posix_rename, "__posix_rename" }, /* 270 */
++ { 3, 0, sys_swapctl, "swapctl" }, /* 271 */
++ { 3, 0, sys_getdents, "getdents" }, /* 272 */
++ { 3, 0, sys_minherit, "minherit" }, /* 273 */
++ { 2, 0, sys_lchmod, "lchmod" }, /* 274 */
++ { 3, TF, sys_lchown, "lchown" }, /* 275 */
++ { 2, 0, sys_lutimes, "lutimes" }, /* 276 */
++ { 3, 0, sys___msync13, "__msync13" }, /* 277 */
++ { 2, 0, sys___stat13, "__stat13" }, /* 278 */
++ { 2, 0, sys___fstat13, "__fstat13" }, /* 279 */
++ { 2, 0, sys___lstat13, "__lstat13" }, /* 280 */
++ { 2, 0, sys___sigaltstack14, "__sigaltstack14" }, /* 281 */
++ { 1, 0, sys___vfork14, "__vfork14" }, /* 282 */
++ { 3, 0, sys___posix_chown, "__posix_chown" }, /* 283 */
++ { 3, 0, sys___posix_fchown, "__posix_fchown" }, /* 284 */
++ { 3, 0, sys___posix_lchown, "__posix_lchown" }, /* 285 */
++ { 1, 0, sys_getsid, "getsid" }, /* 286 */
++ { 2, 0, sys___clone, "__clone" }, /* 287 */
++ { 4, 0, sys_fktrace, "fktrace" }, /* 288 */
++ { 5, 0, sys_preadv, "preadv" }, /* 289 */
++ { 5, 0, sys_pwritev, "pwritev" }, /* 290 */
++ { 3, 0, sys___sigaction14, "__sigaction14" }, /* 291 */
++ { 1, 0, sys___sigpending14, "__sigpending14" }, /* 292 */
++ { 3, 0, sys___sigprocmask14, "__sigprocmask14" }, /* 293 */
++ { 1, 0, sys___sigsuspend14, "__sigsuspend14" }, /* 294 */
++ { 1, 0, sys___sigreturn14, "__sigreturn14" }, /* 295 */
++ { 2, 0, sys___getcwd, "__getcwd" }, /* 296 */
++ { 1, 0, sys_fchroot, "fchroot" }, /* 297 */
++ { 2, 0, sys_fhopen, "fhopen" }, /* 298 */
++ { 2, 0, sys_fhstat, "fhstat" }, /* 299 */
++ { 2, 0, sys_fhstatfs, "fhstatfs" }, /* 300 */
++ { 4, 0, sys_____semctl13, "____semctl13" }, /* 301 */
++ { 3, 0, sys___msgctl13, "__msgctl13" }, /* 302 */
++ { 3, 0, sys___shmctl13, "__shmctl13" }, /* 303 */
++ { 2, 0, sys_lchflags, "lchflags" }, /* 304 */
++ { 1, 0, sys_issetugid, "issetugid" }, /* 305 */
++ { 3, 0, sys_utrace, "utrace" }, /* 306 */
++ { 1, 0, sys_getcontext, "getcontext" }, /* 307 */
++ { 1, 0, sys_setcontext, "setcontext" }, /* 308 */
++ { 3, 0, sys__lwp_create, "_lwp_create" }, /* 309 */
++ { 1, 0, sys__lwp_exit, "_lwp_exit" }, /* 310 */
++ { 1, 0, sys__lwp_self, "_lwp_self" }, /* 311 */
++ { 2, 0, sys__lwp_wait, "_lwp_wait" }, /* 312 */
++ { 1, 0, sys__lwp_suspend, "_lwp_suspend" }, /* 313 */
++ { 1, 0, sys__lwp_continue, "_lwp_continue" }, /* 314 */
++ { 1, 0, sys__lwp_wakeup, "_lwp_wakeup" }, /* 315 */
++ { 1, 0, sys__lwp_getprivate, "_lwp_getprivate" }, /* 316 */
++ { 1, 0, sys__lwp_setprivate, "_lwp_setprivate" }, /* 317 */
++ { -1, 0, printargs, "SYS_318" }, /* 318 */
++ { -1, 0, printargs, "SYS_319" }, /* 319 */
++ { -1, 0, printargs, "SYS_320" }, /* 320 */
++ { -1, 0, printargs, "SYS_321" }, /* 321 */
++ { -1, 0, printargs, "SYS_322" }, /* 322 */
++ { -1, 0, printargs, "SYS_323" }, /* 323 */
++ { -1, 0, printargs, "SYS_324" }, /* 324 */
++ { -1, 0, printargs, "SYS_325" }, /* 325 */
++ { -1, 0, printargs, "SYS_326" }, /* 326 */
++ { -1, 0, printargs, "SYS_327" }, /* 327 */
++ { -1, 0, printargs, "SYS_328" }, /* 328 */
++ { -1, 0, printargs, "SYS_329" }, /* 329 */
++ { 4, 0, sys_sa_register, "sa_register" }, /* 330 */
++ { 2, 0, sys_sa_stacks, "sa_stacks" }, /* 331 */
++ { 1, 0, sys_sa_enable, "sa_enable" }, /* 332 */
++ { 1, 0, sys_sa_setconcurrency, "sa_setconcurrency" }, /* 333 */
++ { 1, 0, sys_sa_yield, "sa_yield" }, /* 334 */
++ { 1, 0, sys_sa_preempt, "sa_preempt" }, /* 335 */
++ { -1, 0, printargs, "SYS_336" }, /* 336 */
++ { -1, 0, printargs, "SYS_337" }, /* 337 */
++ { -1, 0, printargs, "SYS_338" }, /* 338 */
++ { -1, 0, printargs, "SYS_339" }, /* 339 */
++ { 5, 0, sys___sigaction_sigtramp, "__sigaction_sigtramp" }, /* 340 */
++ { 3, 0, sys_pmc_get_info, "pmc_get_info" }, /* 341 */
++ { 3, 0, sys_pmc_control, "pmc_control" }, /* 342 */
++ { 3, 0, sys_rasctl, "rasctl" }, /* 343 */
++ { 1, 0, sys_kqueue, "kqueue" }, /* 344 */
++ { 6, 0, sys_kevent, "kevent" }, /* 345 */
++ { -1, 0, printargs, "SYS_346" }, /* 346 */
++ { -1, 0, printargs, "SYS_347" }, /* 347 */
++ { -1, 0, printargs, "SYS_348" }, /* 348 */
++ { -1, 0, printargs, "SYS_349" }, /* 349 */
++ { -1, 0, printargs, "SYS_350" }, /* 350 */
++ { -1, 0, printargs, "SYS_351" }, /* 351 */
++ { -1, 0, printargs, "SYS_352" }, /* 352 */
++ { -1, 0, printargs, "SYS_353" }, /* 353 */
++ { 4, 0, sys_fsync_range, "fsync_range" }, /* 354 */
++ { 2, 0, sys_uuidgen, "uuidgen" }, /* 355 */
++ { 3, 0, sys_getvfsstat, "getvfsstat" }, /* 356 */
++ { 3, 0, sys_statvfs1, "statvfs1" }, /* 357 */
++ { 3, 0, sys_fstatvfs1, "fstatvfs1" }, /* 358 */
++ { 3, 0, sys_fhstatvfs1, "fhstatvfs1" }, /* 359 */
++ { 5, 0, sys_extattrctl, "extattrctl" }, /* 360 */
++ { 5, 0, sys_extattr_set_file, "extattr_set_file" }, /* 361 */
++ { 5, 0, sys_extattr_get_file, "extattr_get_file" }, /* 362 */
++ { 3, 0, sys_extattr_delete_file, "extattr_delete_file" }, /* 363 */
++ { 5, 0, sys_extattr_set_fd, "extattr_set_fd" }, /* 364 */
++ { 5, 0, sys_extattr_get_fd, "extattr_get_fd" }, /* 365 */
++ { 3, 0, sys_extattr_delete_fd, "extattr_delete_fd" }, /* 366 */
++ { 5, 0, sys_extattr_set_link, "extattr_set_link" }, /* 367 */
++ { 5, 0, sys_extattr_get_link, "extattr_get_link" }, /* 368 */
++ { 3, 0, sys_extattr_delete_link, "extattr_delete_link" }, /* 369 */
++ { 4, 0, sys_extattr_list_fd, "extattr_list_fd" }, /* 370 */
++ { 4, 0, sys_extattr_list_file, "extattr_list_file" }, /* 371 */
++ { 4, 0, sys_extattr_list_link, "extattr_list_link" }, /* 372 */
++ { 6, 0, sys_pselect, "pselect" }, /* 373 */
++ { 4, 0, sys_pollts, "pollts" }, /* 374 */
++ { 5, 0, sys_setxattr, "setxattr" }, /* 375 */
++ { 5, 0, sys_lsetxattr, "lsetxattr" }, /* 376 */
++ { 5, 0, sys_fsetxattr, "fsetxattr" }, /* 377 */
++ { 4, 0, sys_getxattr, "getxattr" }, /* 378 */
++ { 4, 0, sys_lgetxattr, "lgetxattr" }, /* 379 */
++ { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 380 */
++ { 3, 0, sys_listxattr, "listxattr" }, /* 381 */
++ { 3, 0, sys_llistxattr, "llistxattr" }, /* 382 */
++ { 3, 0, sys_flistxattr, "flistxattr" }, /* 383 */
++ { 2, 0, sys_removexattr, "removexattr" }, /* 384 */
++ { 2, 0, sys_lremovexattr, "lremovexattr" }, /* 385 */
++ { 2, 0, sys_fremovexattr, "fremovexattr" }, /* 386 */
++ { 2, 0, sys___stat30, "__stat30" }, /* 387 */
++ { 2, 0, sys___fstat30, "__fstat30" }, /* 388 */
++ { 2, 0, sys___lstat30, "__lstat30" }, /* 389 */
++ { 3, 0, sys___getdents30, "__getdents30" }, /* 390 */
++ { 4, 0, sys_posix_fadvise, "posix_fadvise" }, /* 391 */
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/i386/syscall.h 2006-03-05 01:19:44.000000000 -0500
+@@ -0,0 +1,330 @@
++/*
++ * Automatically generated by ./syscalls.pl on Sun Mar 5 01:19:44 2006
++ */
++
++#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_obreak printargs
++#define sys_getfsstat printargs
++int sys_lseek();
++#define sys_getpid_with_ppid printargs
++#define sys_mount printargs
++#define sys_unmount printargs
++#define sys_setuid printargs
++#define sys_getuid_with_euid printargs
++#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();
++#define sys_getgid_with_egid printargs
++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_ovadvise 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();
++#define sys_sigvec printargs
++int sys_sigblock();
++int sys_sigsetmask();
++int sys_sigsuspend();
++#define sys_sigstack printargs
++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_semsys printargs
++#define sys_msgsys printargs
++#define sys_shmsys printargs
++int sys_pread();
++int sys_pwrite();
++#define sys_ntp_gettime printargs
++#define sys_ntp_adjtime printargs
++#define sys_setgid printargs
++#define sys_setegid printargs
++#define sys_seteuid printargs
++#define sys_lfs_bmapv printargs
++#define sys_lfs_markv printargs
++#define sys_lfs_segclean printargs
++#define sys_lfs_segwait 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();
++#define sys_reboot printargs
++int sys_poll();
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys_lkmnosys printargs
++#define sys___semctl printargs
++int sys_semget();
++int sys_semop();
++#define sys_semconfig printargs
++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_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_nanosleep printargs
++#define sys_fdatasync printargs
++#define sys_mlockall printargs
++#define sys_munlockall printargs
++#define sys___sigtimedwait printargs
++#define sys__ksem_init printargs
++#define sys__ksem_open printargs
++#define sys__ksem_unlink printargs
++#define sys__ksem_close printargs
++#define sys__ksem_post printargs
++#define sys__ksem_wait printargs
++#define sys__ksem_trywait printargs
++#define sys__ksem_getvalue printargs
++#define sys__ksem_destroy printargs
++#define sys___posix_rename printargs
++#define sys_swapctl printargs
++int sys_getdents();
++#define sys_minherit printargs
++#define sys_lchmod printargs
++#define sys_lchown printargs
++#define sys_lutimes printargs
++#define sys___msync13 printargs
++#define sys___stat13 printargs
++#define sys___fstat13 printargs
++#define sys___lstat13 printargs
++#define sys___sigaltstack14 printargs
++#define sys___vfork14 printargs
++#define sys___posix_chown printargs
++#define sys___posix_fchown printargs
++#define sys___posix_lchown printargs
++int sys_getsid();
++#define sys___clone printargs
++#define sys_fktrace printargs
++#define sys_preadv printargs
++#define sys_pwritev printargs
++#define sys___sigaction14 printargs
++#define sys___sigpending14 printargs
++#define sys___sigprocmask14 printargs
++#define sys___sigsuspend14 printargs
++#define sys___sigreturn14 printargs
++int sys___getcwd();
++int sys_fchroot();
++#define sys_fhopen printargs
++#define sys_fhstat printargs
++#define sys_fhstatfs printargs
++#define sys_____semctl13 printargs
++#define sys___msgctl13 printargs
++#define sys___shmctl13 printargs
++#define sys_lchflags printargs
++#define sys_issetugid printargs
++#define sys_utrace printargs
++#define sys_getcontext printargs
++#define sys_setcontext printargs
++#define sys__lwp_create printargs
++#define sys__lwp_exit printargs
++#define sys__lwp_self printargs
++#define sys__lwp_wait printargs
++#define sys__lwp_suspend printargs
++#define sys__lwp_continue printargs
++#define sys__lwp_wakeup printargs
++#define sys__lwp_getprivate printargs
++#define sys__lwp_setprivate printargs
++#define sys_sa_register printargs
++#define sys_sa_stacks printargs
++#define sys_sa_enable printargs
++#define sys_sa_setconcurrency printargs
++#define sys_sa_yield printargs
++#define sys_sa_preempt printargs
++int sys_sigaction();
++#define sys_pmc_get_info printargs
++#define sys_pmc_control printargs
++#define sys_rasctl printargs
++#define sys_kqueue printargs
++#define sys_kevent printargs
++#define sys_fsync_range printargs
++#define sys_uuidgen printargs
++#define sys_getvfsstat printargs
++int sys_statfs();
++int sys_fstatfs();
++#define sys_fhstatvfs1 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_extattr_set_fd printargs
++#define sys_extattr_get_fd printargs
++#define sys_extattr_delete_fd printargs
++#define sys_extattr_set_link printargs
++#define sys_extattr_get_link printargs
++#define sys_extattr_delete_link printargs
++#define sys_extattr_list_fd printargs
++#define sys_extattr_list_file printargs
++#define sys_extattr_list_link printargs
++#define sys_pselect printargs
++#define sys_pollts printargs
++#define sys_setxattr printargs
++#define sys_lsetxattr printargs
++#define sys_fsetxattr printargs
++#define sys_getxattr printargs
++#define sys_lgetxattr printargs
++#define sys_fgetxattr printargs
++#define sys_listxattr printargs
++#define sys_llistxattr printargs
++#define sys_flistxattr printargs
++#define sys_removexattr printargs
++#define sys_lremovexattr printargs
++#define sys_fremovexattr printargs
++int sys_stat();
++int sys_fstat();
++int sys_lstat();
++int sys_getdents();
++#define sys_posix_fadvise printargs
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/i386/syscallent.h 2006-03-05 01:19:44.000000000 -0500
+@@ -0,0 +1,396 @@
++/*
++ * Automatically generated by ./syscalls.pl on Sun Mar 5 01:19:44 2006
++ */
++
++ { 2, 0, sys_syscall, "syscall" }, /* 0 */
++ { 1, 0, sys_exit, "exit" }, /* 1 */
++ { 1, TP, sys_fork, "fork" }, /* 2 */
++ { 3, 0, sys_read, "read" }, /* 3 */
++ { 3, 0, sys_write, "write" }, /* 4 */
++ { 3, TF, sys_open, "open" }, /* 5 */
++ { 1, TF, sys_close, "close" }, /* 6 */
++ { 4, TP, sys_wait4, "wait4" }, /* 7 */
++ { 2, TF, sys_creat, "creat" }, /* 8 */
++ { 2, TF, sys_link, "link" }, /* 9 */
++ { 1, TF, sys_unlink, "unlink" }, /* 10 */
++ { -1, 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_obreak, "obreak" }, /* 17 */
++ { 3, 0, sys_getfsstat, "getfsstat" }, /* 18 */
++ { 3, 0, sys_lseek, "lseek" }, /* 19 */
++ { 1, 0, sys_getpid_with_ppid, "getpid_with_ppid" }, /* 20 */
++ { 4, TF, sys_mount, "mount" }, /* 21 */
++ { 2, TF, sys_unmount, "unmount" }, /* 22 */
++ { 1, 0, sys_setuid, "setuid" }, /* 23 */
++ { 1, 0, sys_getuid_with_euid, "getuid_with_euid" }, /* 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, 0, sys_dup, "dup" }, /* 41 */
++ { 1, 0, 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_with_egid, "getgid_with_egid" }, /* 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, 0, 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, TF, sys_fstat, "fstat" }, /* 62 */
++ { 4, 0, sys_getkerninfo, "getkerninfo" }, /* 63 */
++ { 1, 0, sys_getpagesize, "getpagesize" }, /* 64 */
++ { 2, 0, sys_msync, "msync" }, /* 65 */
++ { 1, TP, sys_vfork, "vfork" }, /* 66 */
++ { -1, 0, printargs, "SYS_67" }, /* 67 */
++ { -1, 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_ovadvise, "ovadvise" }, /* 72 */
++ { 2, 0, sys_munmap, "munmap" }, /* 73 */
++ { 3, 0, sys_mprotect, "mprotect" }, /* 74 */
++ { 3, 0, sys_madvise, "madvise" }, /* 75 */
++ { -1, 0, printargs, "SYS_76" }, /* 76 */
++ { -1, 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, 0, sys_dup2, "dup2" }, /* 90 */
++ { -1, 0, printargs, "SYS_91" }, /* 91 */
++ { 3, 0, sys_fcntl, "fcntl" }, /* 92 */
++ { 5, 0, sys_select, "select" }, /* 93 */
++ { -1, 0, printargs, "SYS_94" }, /* 94 */
++ { 1, 0, 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 */
++ { -1, 0, printargs, "SYS_107" }, /* 107 */
++ { 3, 0, sys_sigvec, "sigvec" }, /* 108 */
++ { 1, TS, sys_sigblock, "sigblock" }, /* 109 */
++ { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 110 */
++ { 1, TS, sys_sigsuspend, "sigsuspend" }, /* 111 */
++ { 2, 0, sys_sigstack, "sigstack" }, /* 112 */
++ { 3, TN, sys_recvmsg, "recvmsg" }, /* 113 */
++ { 3, TN, sys_sendmsg, "sendmsg" }, /* 114 */
++ { -1, 0, printargs, "SYS_115" }, /* 115 */
++ { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 116 */
++ { 2, 0, sys_getrusage, "getrusage" }, /* 117 */
++ { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */
++ { -1, 0, printargs, "SYS_119" }, /* 119 */
++ { 3, 0, sys_readv, "readv" }, /* 120 */
++ { 3, 0, sys_writev, "writev" }, /* 121 */
++ { 2, 0, sys_settimeofday, "settimeofday" }, /* 122 */
++ { 3, 0, sys_fchown, "fchown" }, /* 123 */
++ { 2, 0, 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, 0, sys_ftruncate, "ftruncate" }, /* 130 */
++ { 2, 0, 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 */
++ { -1, 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 */
++ { -1, 0, printargs, "SYS_151" }, /* 151 */
++ { -1, 0, printargs, "SYS_152" }, /* 152 */
++ { -1, 0, printargs, "SYS_153" }, /* 153 */
++ { -1, 0, printargs, "SYS_154" }, /* 154 */
++ { 2, 0, sys_nfssvc, "nfssvc" }, /* 155 */
++ { 4, 0, sys_getdirentries, "getdirentries" }, /* 156 */
++ { 2, TF, sys_statfs, "statfs" }, /* 157 */
++ { 2, 0, sys_fstatfs, "fstatfs" }, /* 158 */
++ { -1, 0, printargs, "SYS_159" }, /* 159 */
++ { -1, 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 */
++ { -1, 0, printargs, "SYS_166" }, /* 166 */
++ { -1, 0, printargs, "SYS_167" }, /* 167 */
++ { -1, 0, printargs, "SYS_168" }, /* 168 */
++ { 5, TI, sys_semsys, "semsys" }, /* 169 */
++ { 6, TI, sys_msgsys, "msgsys" }, /* 170 */
++ { 4, TI, sys_shmsys, "shmsys" }, /* 171 */
++ { -1, 0, printargs, "SYS_172" }, /* 172 */
++ { 5, TF, sys_pread, "pread" }, /* 173 */
++ { 5, TF, sys_pwrite, "pwrite" }, /* 174 */
++ { 1, 0, sys_ntp_gettime, "ntp_gettime" }, /* 175 */
++ { 1, 0, sys_ntp_adjtime, "ntp_adjtime" }, /* 176 */
++ { -1, 0, printargs, "SYS_177" }, /* 177 */
++ { -1, 0, printargs, "SYS_178" }, /* 178 */
++ { -1, 0, printargs, "SYS_179" }, /* 179 */
++ { -1, 0, printargs, "SYS_180" }, /* 180 */
++ { 1, 0, sys_setgid, "setgid" }, /* 181 */
++ { 1, 0, sys_setegid, "setegid" }, /* 182 */
++ { 1, 0, sys_seteuid, "seteuid" }, /* 183 */
++ { 3, 0, sys_lfs_bmapv, "lfs_bmapv" }, /* 184 */
++ { 3, 0, sys_lfs_markv, "lfs_markv" }, /* 185 */
++ { 2, 0, sys_lfs_segclean, "lfs_segclean" }, /* 186 */
++ { 2, 0, sys_lfs_segwait, "lfs_segwait" }, /* 187 */
++ { 2, TF, sys_stat, "stat" }, /* 188 */
++ { 2, TF, sys_fstat, "fstat" }, /* 189 */
++ { 2, TF, sys_lstat, "lstat" }, /* 190 */
++ { 2, TF, sys_pathconf, "pathconf" }, /* 191 */
++ { 2, 0, sys_fpathconf, "fpathconf" }, /* 192 */
++ { -1, 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 */
++ { 2, 0, sys___syscall, "__syscall" }, /* 198 */
++ { 4, 0, sys_lseek, "lseek" }, /* 199 */
++ { 3, TF, sys_truncate, "truncate" }, /* 200 */
++ { 3, 0, 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 */
++ { 2, 0, sys_reboot, "reboot" }, /* 208 */
++ { 3, TN, sys_poll, "poll" }, /* 209 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 210 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 211 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 212 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 213 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 214 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 215 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 216 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 217 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 218 */
++ { 1, 0, sys_lkmnosys, "lkmnosys" }, /* 219 */
++ { 4, 0, sys___semctl, "__semctl" }, /* 220 */
++ { 3, TI, sys_semget, "semget" }, /* 221 */
++ { 3, TI, sys_semop, "semop" }, /* 222 */
++ { 1, 0, sys_semconfig, "semconfig" }, /* 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 */
++ { 3, 0, sys_timer_create, "timer_create" }, /* 235 */
++ { 1, 0, sys_timer_delete, "timer_delete" }, /* 236 */
++ { 4, 0, sys_timer_settime, "timer_settime" }, /* 237 */
++ { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 238 */
++ { 1, 0, sys_timer_getoverrun, "timer_getoverrun" }, /* 239 */
++ { 2, 0, sys_nanosleep, "nanosleep" }, /* 240 */
++ { 1, 0, sys_fdatasync, "fdatasync" }, /* 241 */
++ { 1, 0, sys_mlockall, "mlockall" }, /* 242 */
++ { 1, 0, sys_munlockall, "munlockall" }, /* 243 */
++ { 3, 0, sys___sigtimedwait, "__sigtimedwait" }, /* 244 */
++ { -1, 0, printargs, "SYS_245" }, /* 245 */
++ { -1, 0, printargs, "SYS_246" }, /* 246 */
++ { 2, 0, sys__ksem_init, "_ksem_init" }, /* 247 */
++ { 5, 0, sys__ksem_open, "_ksem_open" }, /* 248 */
++ { 1, 0, sys__ksem_unlink, "_ksem_unlink" }, /* 249 */
++ { 1, 0, sys__ksem_close, "_ksem_close" }, /* 250 */
++ { 1, 0, sys__ksem_post, "_ksem_post" }, /* 251 */
++ { 1, 0, sys__ksem_wait, "_ksem_wait" }, /* 252 */
++ { 1, 0, sys__ksem_trywait, "_ksem_trywait" }, /* 253 */
++ { 2, 0, sys__ksem_getvalue, "_ksem_getvalue" }, /* 254 */
++ { 1, 0, sys__ksem_destroy, "_ksem_destroy" }, /* 255 */
++ { -1, 0, printargs, "SYS_256" }, /* 256 */
++ { -1, 0, printargs, "SYS_257" }, /* 257 */
++ { -1, 0, printargs, "SYS_258" }, /* 258 */
++ { -1, 0, printargs, "SYS_259" }, /* 259 */
++ { -1, 0, printargs, "SYS_260" }, /* 260 */
++ { -1, 0, printargs, "SYS_261" }, /* 261 */
++ { -1, 0, printargs, "SYS_262" }, /* 262 */
++ { -1, 0, printargs, "SYS_263" }, /* 263 */
++ { -1, 0, printargs, "SYS_264" }, /* 264 */
++ { -1, 0, printargs, "SYS_265" }, /* 265 */
++ { -1, 0, printargs, "SYS_266" }, /* 266 */
++ { -1, 0, printargs, "SYS_267" }, /* 267 */
++ { -1, 0, printargs, "SYS_268" }, /* 268 */
++ { -1, 0, printargs, "SYS_269" }, /* 269 */
++ { 2, 0, sys___posix_rename, "__posix_rename" }, /* 270 */
++ { 3, 0, sys_swapctl, "swapctl" }, /* 271 */
++ { 3, 0, sys_getdents, "getdents" }, /* 272 */
++ { 3, 0, sys_minherit, "minherit" }, /* 273 */
++ { 2, 0, sys_lchmod, "lchmod" }, /* 274 */
++ { 3, TF, sys_lchown, "lchown" }, /* 275 */
++ { 2, 0, sys_lutimes, "lutimes" }, /* 276 */
++ { 3, 0, sys___msync13, "__msync13" }, /* 277 */
++ { 2, 0, sys___stat13, "__stat13" }, /* 278 */
++ { 2, 0, sys___fstat13, "__fstat13" }, /* 279 */
++ { 2, 0, sys___lstat13, "__lstat13" }, /* 280 */
++ { 2, 0, sys___sigaltstack14, "__sigaltstack14" }, /* 281 */
++ { 1, 0, sys___vfork14, "__vfork14" }, /* 282 */
++ { 3, 0, sys___posix_chown, "__posix_chown" }, /* 283 */
++ { 3, 0, sys___posix_fchown, "__posix_fchown" }, /* 284 */
++ { 3, 0, sys___posix_lchown, "__posix_lchown" }, /* 285 */
++ { 1, 0, sys_getsid, "getsid" }, /* 286 */
++ { 2, 0, sys___clone, "__clone" }, /* 287 */
++ { 4, 0, sys_fktrace, "fktrace" }, /* 288 */
++ { 5, 0, sys_preadv, "preadv" }, /* 289 */
++ { 5, 0, sys_pwritev, "pwritev" }, /* 290 */
++ { 3, 0, sys___sigaction14, "__sigaction14" }, /* 291 */
++ { 1, 0, sys___sigpending14, "__sigpending14" }, /* 292 */
++ { 3, 0, sys___sigprocmask14, "__sigprocmask14" }, /* 293 */
++ { 1, 0, sys___sigsuspend14, "__sigsuspend14" }, /* 294 */
++ { 1, 0, sys___sigreturn14, "__sigreturn14" }, /* 295 */
++ { 2, 0, sys___getcwd, "__getcwd" }, /* 296 */
++ { 1, 0, sys_fchroot, "fchroot" }, /* 297 */
++ { 2, 0, sys_fhopen, "fhopen" }, /* 298 */
++ { 2, 0, sys_fhstat, "fhstat" }, /* 299 */
++ { 2, 0, sys_fhstatfs, "fhstatfs" }, /* 300 */
++ { 4, 0, sys_____semctl13, "____semctl13" }, /* 301 */
++ { 3, 0, sys___msgctl13, "__msgctl13" }, /* 302 */
++ { 3, 0, sys___shmctl13, "__shmctl13" }, /* 303 */
++ { 2, 0, sys_lchflags, "lchflags" }, /* 304 */
++ { 1, 0, sys_issetugid, "issetugid" }, /* 305 */
++ { 3, 0, sys_utrace, "utrace" }, /* 306 */
++ { 1, 0, sys_getcontext, "getcontext" }, /* 307 */
++ { 1, 0, sys_setcontext, "setcontext" }, /* 308 */
++ { 3, 0, sys__lwp_create, "_lwp_create" }, /* 309 */
++ { 1, 0, sys__lwp_exit, "_lwp_exit" }, /* 310 */
++ { 1, 0, sys__lwp_self, "_lwp_self" }, /* 311 */
++ { 2, 0, sys__lwp_wait, "_lwp_wait" }, /* 312 */
++ { 1, 0, sys__lwp_suspend, "_lwp_suspend" }, /* 313 */
++ { 1, 0, sys__lwp_continue, "_lwp_continue" }, /* 314 */
++ { 1, 0, sys__lwp_wakeup, "_lwp_wakeup" }, /* 315 */
++ { 1, 0, sys__lwp_getprivate, "_lwp_getprivate" }, /* 316 */
++ { 1, 0, sys__lwp_setprivate, "_lwp_setprivate" }, /* 317 */
++ { -1, 0, printargs, "SYS_318" }, /* 318 */
++ { -1, 0, printargs, "SYS_319" }, /* 319 */
++ { -1, 0, printargs, "SYS_320" }, /* 320 */
++ { -1, 0, printargs, "SYS_321" }, /* 321 */
++ { -1, 0, printargs, "SYS_322" }, /* 322 */
++ { -1, 0, printargs, "SYS_323" }, /* 323 */
++ { -1, 0, printargs, "SYS_324" }, /* 324 */
++ { -1, 0, printargs, "SYS_325" }, /* 325 */
++ { -1, 0, printargs, "SYS_326" }, /* 326 */
++ { -1, 0, printargs, "SYS_327" }, /* 327 */
++ { -1, 0, printargs, "SYS_328" }, /* 328 */
++ { -1, 0, printargs, "SYS_329" }, /* 329 */
++ { 4, 0, sys_sa_register, "sa_register" }, /* 330 */
++ { 2, 0, sys_sa_stacks, "sa_stacks" }, /* 331 */
++ { 1, 0, sys_sa_enable, "sa_enable" }, /* 332 */
++ { 1, 0, sys_sa_setconcurrency, "sa_setconcurrency" }, /* 333 */
++ { 1, 0, sys_sa_yield, "sa_yield" }, /* 334 */
++ { 1, 0, sys_sa_preempt, "sa_preempt" }, /* 335 */
++ { -1, 0, printargs, "SYS_336" }, /* 336 */
++ { -1, 0, printargs, "SYS_337" }, /* 337 */
++ { -1, 0, printargs, "SYS_338" }, /* 338 */
++ { -1, 0, printargs, "SYS_339" }, /* 339 */
++ { 5, 0, sys_sigaction, "__sigaction_sigtramp" }, /* 340 */
++ { 3, 0, sys_pmc_get_info, "pmc_get_info" }, /* 341 */
++ { 3, 0, sys_pmc_control, "pmc_control" }, /* 342 */
++ { 3, 0, sys_rasctl, "rasctl" }, /* 343 */
++ { 1, 0, sys_kqueue, "kqueue" }, /* 344 */
++ { 6, 0, sys_kevent, "kevent" }, /* 345 */
++ { -1, 0, printargs, "SYS_346" }, /* 346 */
++ { -1, 0, printargs, "SYS_347" }, /* 347 */
++ { -1, 0, printargs, "SYS_348" }, /* 348 */
++ { -1, 0, printargs, "SYS_349" }, /* 349 */
++ { -1, 0, printargs, "SYS_350" }, /* 350 */
++ { -1, 0, printargs, "SYS_351" }, /* 351 */
++ { -1, 0, printargs, "SYS_352" }, /* 352 */
++ { -1, 0, printargs, "SYS_353" }, /* 353 */
++ { 4, 0, sys_fsync_range, "fsync_range" }, /* 354 */
++ { 2, 0, sys_uuidgen, "uuidgen" }, /* 355 */
++ { 3, 0, sys_getvfsstat, "getvfsstat" }, /* 356 */
++ { 3, 0, sys_statfs, "statvfs1" }, /* 357 */
++ { 3, 0, sys_fstatfs, "fstatvfs1" }, /* 358 */
++ { 3, 0, sys_fhstatvfs1, "fhstatvfs1" }, /* 359 */
++ { 5, 0, sys_extattrctl, "extattrctl" }, /* 360 */
++ { 5, 0, sys_extattr_set_file, "extattr_set_file" }, /* 361 */
++ { 5, 0, sys_extattr_get_file, "extattr_get_file" }, /* 362 */
++ { 3, 0, sys_extattr_delete_file, "extattr_delete_file" }, /* 363 */
++ { 5, 0, sys_extattr_set_fd, "extattr_set_fd" }, /* 364 */
++ { 5, 0, sys_extattr_get_fd, "extattr_get_fd" }, /* 365 */
++ { 3, 0, sys_extattr_delete_fd, "extattr_delete_fd" }, /* 366 */
++ { 5, 0, sys_extattr_set_link, "extattr_set_link" }, /* 367 */
++ { 5, 0, sys_extattr_get_link, "extattr_get_link" }, /* 368 */
++ { 3, 0, sys_extattr_delete_link, "extattr_delete_link" }, /* 369 */
++ { 4, 0, sys_extattr_list_fd, "extattr_list_fd" }, /* 370 */
++ { 4, 0, sys_extattr_list_file, "extattr_list_file" }, /* 371 */
++ { 4, 0, sys_extattr_list_link, "extattr_list_link" }, /* 372 */
++ { 6, 0, sys_pselect, "pselect" }, /* 373 */
++ { 4, 0, sys_pollts, "pollts" }, /* 374 */
++ { 5, 0, sys_setxattr, "setxattr" }, /* 375 */
++ { 5, 0, sys_lsetxattr, "lsetxattr" }, /* 376 */
++ { 5, 0, sys_fsetxattr, "fsetxattr" }, /* 377 */
++ { 4, 0, sys_getxattr, "getxattr" }, /* 378 */
++ { 4, 0, sys_lgetxattr, "lgetxattr" }, /* 379 */
++ { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 380 */
++ { 3, 0, sys_listxattr, "listxattr" }, /* 381 */
++ { 3, 0, sys_llistxattr, "llistxattr" }, /* 382 */
++ { 3, 0, sys_flistxattr, "flistxattr" }, /* 383 */
++ { 2, 0, sys_removexattr, "removexattr" }, /* 384 */
++ { 2, 0, sys_lremovexattr, "lremovexattr" }, /* 385 */
++ { 2, 0, sys_fremovexattr, "fremovexattr" }, /* 386 */
++ { 2, 0, sys_stat, "__stat30" }, /* 387 */
++ { 2, 0, sys_fstat, "__fstat30" }, /* 388 */
++ { 2, 0, sys_lstat, "__lstat30" }, /* 389 */
++ { 3, 0, sys_getdents, "__getdents30" }, /* 390 */
++ { 4, 0, sys_posix_fadvise, "posix_fadvise" }, /* 391 */
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/ioctlent.sh 2006-03-05 01:29:46.000000000 -0500
+@@ -0,0 +1,104 @@
++#!/bin/sh
++# $NetBSD: patch-ag,v 1.1 2006/03/05 08:17:49 christos Exp $
++#
++# Copyright (c) 1994
++# The Regents of the University of California. 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. All advertising materials mentioning features or use of this software
++# must display the following acknowledgement:
++# This product includes software developed by the University of
++# California, Berkeley and its contributors.
++# 4. Neither the name of the University nor the names of its contributors
++# may be used to endorse or promote products derived from this software
++# without specific prior written permission.
++#
++# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++# SUCH DAMAGE.
++#
++# @(#)mkioctls 8.2 (Berkeley) 4/28/95
++#
++echo "/* Automatically generated file, do not edit! */"
++#echo "#define const" # XXX: timepps lossage
++echo "struct ap_control { int _xxx; };" # XXX: ip_nat.h lossage
++echo "#define COMPAT_43"
++echo "struct lwp;"
++echo "struct videomemory_t { int _xxx; };" # XXX arm video lossage
++echo "typedef struct videomemory_t videomemory_t;" # XXX arm video lossage
++echo "#include <sys/types.h>"
++echo "#include <sys/param.h>"
++echo "#include <sys/disk.h>"
++echo "#include <sys/dkbad.h>"
++echo "#include <sys/mount.h>"
++echo "#include <sys/termios.h>"
++echo "#include <sys/disklabel.h>"
++echo "#include <net/if.h>"
++echo "#include <net/route.h>"
++echo "#include <net/ppp_defs.h>"
++echo "#include <netinet/in.h>"
++echo "#include <netinet/in_systm.h>"
++echo "#include <netinet/ip.h>"
++echo "#include <netinet/ip_mroute.h>"
++echo "#include <netinet/ip_compat.h>"
++echo "#include <net80211/ieee80211.h>"
++echo "#include <netiso/iso.h>"
++
++set -- $(egrep -l '(_IO\(|_IOR\(|_IOW\(|_IORW\()' /usr/include/*/*.h)
++
++for i
++do
++ echo "#include <$i>"
++done | sed -e "s,${DESTDIR}/usr/include/,,g"
++
++${CC:-cc} -E -nostdinc -idirafter $DESTDIR/usr/include -dM ${1+"$@"} | awk '
++BEGIN {
++ keep["SLIOCGUNIT"] = 1; # Same as PPPIOCGASYNCMAP
++ keep["TUNSLMODE"] = 1; # Same as PPPIOCGASYNCMAP
++ keep["SIOCRMNAT"] = 1; # Same as SIOCRMAFR
++ keep["SIOCADNAT"] = 1; # Same as SIOCADAFR
++ keep["SIOCDELST"] = 1; # Same as SIOCRMNAT
++ keep["CHIOGPICKER"] = 1; # Same as CDIOREADTOCHEADER
++ keep["KBDSTPMAT"] = 1; # Same as LMREADY, pcvt is gone so ok.
++
++ print ""
++ print "const struct ioctlent ioctlent0[] = "
++ print "{"
++ print ""
++}
++
++/^#[ ]*define[ ]*[A-Z]*[ ]*_IO/ {
++
++ # find where the name starts
++ for (i = 1; i <= NF; i++)
++ if ($i ~ /define/)
++ break;
++ ++i;
++ printf("/* %s [%s] */\n", $0, $i);
++ #
++ if ($i ~ /^[A-Z0-9a-z_]*$/) {
++ if (keep[$i] != 1) {
++ printf("\t{ \"?\", \"%s\", %s },\n", $i, $i);
++ keep[$i] = 1;
++ }
++ }
++}
++END {
++ print "};\n"
++}
++'
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/syscalls.cat 2006-03-05 00:55:24.000000000 -0500
+@@ -0,0 +1,175 @@
++#
++# 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: patch-ag,v 1.1 2006/03/05 08:17:49 christos Exp $
++#
++# 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
++sigsuspend TS
++sigtimedwait TS
+--- /dev/null 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/syscalls.pl 2006-03-05 00:45:53.000000000 -0500
+@@ -0,0 +1,159 @@
++#!/usr/pkg/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: patch-ag,v 1.1 2006/03/05 08:17:49 christos Exp $
++#/
++
++# 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+(\w+)\s+\{\s*([^}]+)\s*\}([^}]*)$/) {
++ my($compat, $proto, $ext, $name, $nargs, @args, $pfunc, $cat, $num);
++
++ $num = $1;
++ next if $2 eq 'OBSOL' || $2 eq 'UNIMPL';
++
++ $compat = $2 eq 'COMPAT' ? '?' : "";
++
++ $proto = $3;
++ $ext = $4;
++
++ if ($num > $sysnum) { # syscall gap
++ while($sysnum < $num) {
++ print " { -1,\t0,\tprintargs,\t\"SYS_$sysnum\"\t}, /* $sysnum */\n";
++ $sysnum++;
++ }
++ } elsif ($num < $sysnum) {
++ warn "error in master file: syscall $1 found, expecting $sysnum.";
++ next;
++ }
++
++ if ($proto =~ /^[^\s]+\s+([^\s]+)\s*\(([^)]*)\);/) {
++ my @args = split(/,/, $2);
++ $nargs = @args;
++ $name = $1;
++ $name = substr($name, 1) if (substr($name, 0, 1) eq "*");
++ $name = substr($name, 4);
++ 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 1969-12-31 19:00:00.000000000 -0500
++++ netbsd/syscalls.print 2006-03-05 01:19:42.000000000 -0500
+@@ -0,0 +1,197 @@
++#
++# 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: patch-ag,v 1.1 2006/03/05 08:17:49 christos Exp $
++#
++# 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
++sigsuspend
++socket
++socketpair
++stat
++statfs
++stime
++symlink
++sysctl
++time
++times
++truncate
++umask
++uname
++unlink
++utime
++utimes
++vfork
++wait
++wait4
++waitpid
++write
++writev
++__fstat30 sys_fstat
++__stat30 sys_stat
++__lstat30 sys_lstat
++statvfs1 sys_statfs
++fstatvfs1 sys_fstatfs
++__getdents30 sys_getdents
++__sigaction_sigtramp sys_sigaction
diff --git a/sysutils/strace/patches/patch-ah b/sysutils/strace/patches/patch-ah
new file mode 100644
index 00000000000..f67dffeb06a
--- /dev/null
+++ b/sysutils/strace/patches/patch-ah
@@ -0,0 +1,124 @@
+$NetBSD: patch-ah,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- process.c 2005-08-03 07:23:43.000000000 -0400
++++ process.c 2006-03-05 01:59:55.000000000 -0500
+@@ -40,6 +40,7 @@
+ #include "defs.h"
+
+ #include <fcntl.h>
++#include <sys/param.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <sys/wait.h>
+@@ -52,7 +53,7 @@
+ #include <machine/reg.h>
+ #endif /* SUNOS4 */
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ #include <sys/ptrace.h>
+ #endif
+
+@@ -1042,7 +1043,7 @@
+
+ #endif /* !USE_PROCFS */
+
+-#if defined(SUNOS4) || defined(LINUX) || defined(FREEBSD)
++#if defined(SUNOS4) || defined(LINUX) || defined(ALLBSD)
+
+ int
+ sys_vfork(tcp)
+@@ -1053,7 +1054,7 @@
+ return 0;
+ }
+
+-#endif /* SUNOS4 || LINUX || FREEBSD */
++#endif /* SUNOS4 || LINUX || ALLBSD */
+
+ #ifndef LINUX
+
+@@ -2035,7 +2036,7 @@
+
+ #endif /* SVR4 */
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ int
+ sys_wait(tcp)
+ struct tcb *tcp;
+@@ -2189,7 +2190,7 @@
+ #ifndef SVR4
+
+ static const struct xlat ptrace_cmds[] = {
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ { PTRACE_TRACEME, "PTRACE_TRACEME" },
+ { PTRACE_PEEKTEXT, "PTRACE_PEEKTEXT", },
+ { PTRACE_PEEKDATA, "PTRACE_PEEKDATA", },
+@@ -2255,7 +2256,7 @@
+ #endif /* !I386 */
+ { PTRACE_GETUCODE, "PTRACE_GETUCODE" },
+ #endif /* SUNOS4 */
+-#else /* FREEBSD */
++#else /* ALLBSD */
+ { PT_TRACE_ME, "PT_TRACE_ME" },
+ { PT_READ_I, "PT_READ_I" },
+ { PT_READ_D, "PT_READ_D" },
+@@ -2273,13 +2274,17 @@
+ { PT_SETREGS, "PT_SETREGS" },
+ { PT_GETFPREGS, "PT_GETFPREGS" },
+ { PT_SETFPREGS, "PT_SETFPREGS" },
++#ifdef PT_GETDBREGS
+ { PT_GETDBREGS, "PT_GETDBREGS" },
++#endif
++#ifdef PT_SETDBREGS
+ { PT_SETDBREGS, "PT_SETDBREGS" },
+-#endif /* FREEBSD */
++#endif
++#endif /* ALLBSD */
+ { 0, NULL },
+ };
+
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ #ifndef SUNOS4_KERNEL_ARCH_KLUDGE
+ static
+ #endif /* !SUNOS4_KERNEL_ARCH_KLUDGE */
+@@ -2966,12 +2971,14 @@
+ sys_ptrace(tcp)
+ struct tcb *tcp;
+ {
++#ifndef NETBSD
+ const struct xlat *x;
++#endif
+ long addr;
+
+ if (entering(tcp)) {
+ printxval(ptrace_cmds, tcp->u_arg[0],
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ "PTRACE_???"
+ #else
+ "PT_???"
+@@ -2979,7 +2986,7 @@
+ );
+ tprintf(", %lu, ", tcp->u_arg[1]);
+ addr = tcp->u_arg[2];
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ if (tcp->u_arg[0] == PTRACE_PEEKUSER
+ || tcp->u_arg[0] == PTRACE_POKEUSER) {
+ for (x = struct_user_offsets; x->str; x++) {
+@@ -3041,10 +3048,10 @@
+ }
+ }
+ #endif /* SUNOS4 */
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ tprintf("%lu", tcp->u_arg[3]);
+ }
+-#endif /* FREEBSD */
++#endif /* ALLBSD */
+ return 0;
+ }
+
diff --git a/sysutils/strace/patches/patch-ai b/sysutils/strace/patches/patch-ai
new file mode 100644
index 00000000000..0bd953af66d
--- /dev/null
+++ b/sysutils/strace/patches/patch-ai
@@ -0,0 +1,40 @@
+$NetBSD: patch-ai,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- resource.c 2005-12-01 23:08:27.000000000 -0500
++++ resource.c 2006-03-04 18:16:13.000000000 -0500
+@@ -41,7 +41,7 @@
+ #ifdef SUNOS4
+ #include <ufs/quota.h>
+ #endif /* SUNOS4 */
+-#if defined(SVR4) || defined(FREEBSD)
++#if defined(SVR4) || defined(ALLBSD)
+ #include <sys/times.h>
+ #include <sys/time.h>
+ #endif
+@@ -567,9 +567,9 @@
+
+ #endif /* Linux */
+
+-#if defined(SUNOS4) || defined(FREEBSD)
++#if defined(SUNOS4) || defined(ALLBSD)
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ #include <ufs/ufs/quota.h>
+ #endif
+
+@@ -599,7 +599,7 @@
+ tprintf(", ");
+ printstr(tcp, tcp->u_arg[1], -1);
+ #endif
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ printpath(tcp, tcp->u_arg[0]);
+ tprintf(", ");
+ printxval(quotacmds, tcp->u_arg[1], "Q_???");
+@@ -609,4 +609,4 @@
+ return 0;
+ }
+
+-#endif /* SUNOS4 || FREEBSD */
++#endif /* SUNOS4 || ALLBSD */
diff --git a/sysutils/strace/patches/patch-aj b/sysutils/strace/patches/patch-aj
new file mode 100644
index 00000000000..7b6998d5703
--- /dev/null
+++ b/sysutils/strace/patches/patch-aj
@@ -0,0 +1,60 @@
+$NetBSD: patch-aj,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- signal.c 2006-01-12 17:34:50.000000000 -0500
++++ signal.c 2006-03-04 19:24:52.000000000 -0500
+@@ -36,12 +36,27 @@
+ #include "defs.h"
+
+ #include <signal.h>
++#include <sys/param.h>
+ #include <sys/user.h>
+ #include <fcntl.h>
+
+-#ifdef SVR4
++#if defined(SVR4) || defined(NETBSD)
+ #include <sys/ucontext.h>
+ #endif /* SVR4 */
++#ifdef NETBSD
++#if !defined(UC_CPU) && defined(_UC_CPU)
++#define UC_CPU _UC_CPU
++#endif
++#if !defined(UC_SIGMASK) && defined(_UC_SIGMASK)
++#define UC_SIGMASK _UC_SIGMASK
++#endif
++#if !defined(UC_STACK) && defined(_UC_STACK)
++#define UC_STACK _UC_STACK
++#endif
++#if !defined(UC_FPU) && defined(_UC_FPU)
++#define UC_FPU _UC_FPU
++#endif
++#endif
+
+ #ifdef HAVE_SYS_REG_H
+ # include <sys/reg.h>
+@@ -1474,7 +1489,7 @@
+
+ #endif /* LINUX */
+
+-#if defined(SVR4) || defined(FREEBSD)
++#if defined(SVR4) || defined(ALLBSD)
+
+ int
+ sys_sigsuspend(tcp)
+@@ -1506,7 +1521,7 @@
+ #endif /* !FREEBSD */
+ #endif /* SVR4 || FREEBSD */
+
+-#if defined SVR4 || defined LINUX || defined FREEBSD
++#if defined SVR4 || defined LINUX || defined ALLBSD
+ #if defined LINUX && !defined SS_ONSTACK
+ #define SS_ONSTACK 1
+ #define SS_DISABLE 2
+@@ -1598,7 +1613,7 @@
+
+ #endif /* SVR4 */
+
+-#if defined(LINUX) || defined(FREEBSD)
++#if defined(LINUX) || defined(ALLBSD)
+
+ static int
+ print_stack_t(tcp, addr)
diff --git a/sysutils/strace/patches/patch-ak b/sysutils/strace/patches/patch-ak
new file mode 100644
index 00000000000..ff94802cec1
--- /dev/null
+++ b/sysutils/strace/patches/patch-ak
@@ -0,0 +1,50 @@
+$NetBSD: patch-ak,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- sock.c 2005-06-01 15:02:37.000000000 -0400
++++ sock.c 2006-03-05 02:02:18.000000000 -0500
+@@ -60,15 +60,23 @@
+ { IFF_NOARP, "IFF_NOARP" },
+ { IFF_PROMISC, "IFF_PROMISC" },
+ { IFF_ALLMULTI, "IFF_ALLMULTI" },
++#ifdef IFF_MASTER
+ { IFF_MASTER, "IFF_MASTER" },
++#endif
++#ifdef IFF_SLAVE
+ { IFF_SLAVE, "IFF_SLAVE" },
++#endif
+ { IFF_MULTICAST, "IFF_MULTICAST" },
++#ifdef IFF_PORTSEL
+ { IFF_PORTSEL, "IFF_PORTSEL" },
++#endif
++#ifdef IFF_AUTOMEDIA
+ { IFF_AUTOMEDIA, "IFF_AUTOMEDIA" },
++#endif
+ { 0, NULL }
+ };
+
+-
++#ifndef ALLBSD
+ static void
+ print_addr(tcp, addr, ifr)
+ struct tcb *tcp;
+@@ -82,16 +90,19 @@
+ } else
+ printstr(tcp, addr, sizeof(ifr->ifr_addr.sa_data));
+ }
++#endif
+
+ int
+ sock_ioctl(tcp, code, arg)
+ struct tcb *tcp;
+ long code, arg;
+ {
+- struct ifreq ifr;
+ struct ifconf ifc;
++#ifndef ALLBSD
++ struct ifreq ifr;
+ const char *str = NULL;
+ unsigned char *bytes;
++#endif
+
+ if (entering(tcp)) {
+ if (code == SIOCGIFCONF) {
diff --git a/sysutils/strace/patches/patch-al b/sysutils/strace/patches/patch-al
new file mode 100644
index 00000000000..2eacf78ccc2
--- /dev/null
+++ b/sysutils/strace/patches/patch-al
@@ -0,0 +1,113 @@
+$NetBSD: patch-al,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- strace.c 2006-01-12 04:50:49.000000000 -0500
++++ strace.c 2006-03-05 00:36:05.000000000 -0500
+@@ -820,13 +820,13 @@
+ }
+ #else
+ /* Open the process pseudo-file in /proc. */
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ sprintf(proc, "/proc/%d", tcp->pid);
+ if ((tcp->pfd = open(proc, O_RDWR|O_EXCL)) < 0) {
+-#else /* FREEBSD */
++#else /* ALLBSD */
+ sprintf(proc, "/proc/%d/mem", tcp->pid);
+ if ((tcp->pfd = open(proc, O_RDWR)) < 0) {
+-#endif /* FREEBSD */
++#endif /* ALLBSD */
+ perror("strace: open(\"/proc/...\", ...)");
+ return -1;
+ }
+@@ -839,7 +839,7 @@
+ return -1;
+ }
+ #endif
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ sprintf(proc, "/proc/%d/regs", tcp->pid);
+ if ((tcp->pfd_reg = open(proc, O_RDONLY)) < 0) {
+ perror("strace: open(\"/proc/.../regs\", ...)");
+@@ -853,7 +853,7 @@
+ }
+ } else
+ tcp->pfd_status = -1;
+-#endif /* FREEBSD */
++#endif /* ALLBSD */
+ rebuild_pollv();
+ if (!attaching) {
+ /*
+@@ -869,7 +869,7 @@
+ break;
+ }
+ }
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ /* Stop the process so that we own the stop. */
+ if (IOCTL(tcp->pfd, PIOCSTOP, (char *)NULL) < 0) {
+ perror("strace: PIOCSTOP");
+@@ -1204,8 +1204,10 @@
+ int sig;
+ {
+ int error = 0;
++#if defined(NETBSD) || defined(LINUX)
++ int resumed, status;
++#endif
+ #ifdef LINUX
+- int status, resumed;
+ struct tcb *zombie = NULL;
+
+ /* If the group leader is lingering only because of this other
+@@ -1219,16 +1221,18 @@
+ if (tcp->flags & TCB_BPTSET)
+ sig = SIGKILL;
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD)
+ /*
+ * Linux wrongly insists the child be stopped
+ * before detaching. Arghh. We go through hoops
+ * to make a clean break of things.
+ */
+ #if defined(SPARC)
++#ifdef PTRACE_SUNDETACH
+ #undef PTRACE_DETACH
+ #define PTRACE_DETACH PTRACE_SUNDETACH
+ #endif
++#endif
+ if ((error = ptrace(PTRACE_DETACH, tcp->pid, (char *) 1, sig)) == 0) {
+ /* On a clear day, you can see forever. */
+ }
+@@ -1296,7 +1300,7 @@
+ }
+ }
+ }
+-#endif /* LINUX */
++#endif /* NETBSD */
+
+ #if defined(SUNOS4)
+ /* PTRACE_DETACH won't respect `sig' argument, so we post it here. */
+@@ -2047,9 +2051,9 @@
+ pid = wait4(-1, &status, 0, cflag ? &ru : NULL);
+ #endif /* __WALL */
+ #endif /* LINUX */
+-#ifdef SUNOS4
++#if defined(SUNOS4) || defined(NETBSD)
+ pid = wait(&status);
+-#endif /* SUNOS4 */
++#endif /* SUNOS4 || NETBSD */
+ wait_errno = errno;
+ if (interactive)
+ sigprocmask(SIG_BLOCK, &blocked_set, NULL);
+@@ -2279,7 +2283,11 @@
+ printtrailer(tcp);
+ }
+ if (((tcp->flags & TCB_ATTACHED) ||
++#ifdef LINUX
+ tcp->nclone_threads > 0) &&
++#else
++ 0) &&
++#endif
+ !sigishandled(tcp, WSTOPSIG(status))) {
+ #ifdef TCB_GROUP_EXITING
+ handle_group_exit(tcp, WSTOPSIG(status));
diff --git a/sysutils/strace/patches/patch-am b/sysutils/strace/patches/patch-am
new file mode 100644
index 00000000000..1138ad22a8e
--- /dev/null
+++ b/sysutils/strace/patches/patch-am
@@ -0,0 +1,31 @@
+$NetBSD: patch-am,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- stream.c 2005-06-01 15:22:07.000000000 -0400
++++ stream.c 2006-03-05 00:54:26.000000000 -0500
+@@ -50,7 +50,7 @@
+ #include <sys/tihdr.h>
+ #endif
+
+-#if defined(HAVE_SYS_STREAM_H) || defined(LINUX) || defined(FREEBSD)
++#if defined(HAVE_SYS_STREAM_H) || defined(LINUX) || defined(FREEBSD) || defined(NETBSD)
+
+ #ifndef HAVE_STROPTS_H
+ #define RS_HIPRI 1
+@@ -370,7 +370,7 @@
+ }
+ #endif
+
+-#if !defined(LINUX) && !defined(FREEBSD)
++#if !defined(LINUX) && !defined(ALLBSD)
+
+ static const struct xlat stream_flush_options[] = {
+ { FLUSHR, "FLUSHR" },
+@@ -1298,6 +1298,6 @@
+ }
+ }
+
+-#endif /* !LINUX && !FREEBSD */
++#endif /* !LINUX && !ALLBSD */
+
+-#endif /* HAVE_SYS_STREAM_H || LINUX || FREEBSD */
++#endif /* HAVE_SYS_STREAM_H || LINUX || FREEBSD || NETBSD */
diff --git a/sysutils/strace/patches/patch-an b/sysutils/strace/patches/patch-an
new file mode 100644
index 00000000000..166e14e62f5
--- /dev/null
+++ b/sysutils/strace/patches/patch-an
@@ -0,0 +1,209 @@
+$NetBSD: patch-an,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- syscall.c 2006-01-12 05:18:53.000000000 -0500
++++ syscall.c 2006-03-05 01:59:19.000000000 -0500
+@@ -38,9 +38,9 @@
+ #include <signal.h>
+ #include <time.h>
+ #include <errno.h>
++#include <sys/param.h>
+ #include <sys/user.h>
+ #include <sys/syscall.h>
+-#include <sys/param.h>
+
+ #if HAVE_ASM_REG_H
+ #if defined (SPARC) || defined (SPARC64)
+@@ -56,6 +56,10 @@
+ #endif
+ #endif
+
++#ifdef NETBSD
++#include <machine/reg.h>
++#include <x86/psl.h>
++#endif
+ #ifdef HAVE_SYS_REG_H
+ #include <sys/reg.h>
+ #ifndef PTRACE_PEEKUSR
+@@ -200,6 +204,7 @@
+ set_personality(personality)
+ int personality;
+ {
++printf("setpersonality %d\n", personality);
+ switch (personality) {
+ case 0:
+ errnoent = errnoent0;
+@@ -634,6 +639,7 @@
+ }
+ #endif
+
++#ifndef NETBSD
+ static void
+ decode_subcall(tcp, subcall, nsubcalls, style)
+ struct tcb *tcp;
+@@ -719,6 +725,7 @@
+ #endif /* FREEBSD */
+ }
+ }
++#endif /* !NETBSD */
+ #endif
+
+ struct tcb *tcp_last = NULL;
+@@ -855,9 +862,9 @@
+ static long rax;
+ #endif
+ #endif /* LINUX */
+-#ifdef FREEBSD
+- struct reg regs;
+-#endif /* FREEBSD */
++#ifdef ALLBSD
++ static struct reg regs;
++#endif /* ALLBSD */
+
+ int
+ get_scno(tcp)
+@@ -1318,9 +1325,9 @@
+ #ifdef HAVE_PR_SYSCALL
+ scno = tcp->status.PR_SYSCALL;
+ #else /* !HAVE_PR_SYSCALL */
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ scno = tcp->status.PR_WHAT;
+-#else /* FREEBSD */
++#else /* ALLBSD */
+ if (pread(tcp->pfd_reg, &regs, sizeof(regs), 0) < 0) {
+ perror("pread");
+ return -1;
+@@ -1334,8 +1341,28 @@
+ scno = regs.r_eax;
+ break;
+ }
+-#endif /* FREEBSD */
++#endif /* ALLBSD */
+ #endif /* !HAVE_PR_SYSCALL */
++#else /* !USE_PROCFS */
++#ifdef NETBSD
++ if (ptrace(PTRACE_GETREGS,pid,(char *)&regs, 0) < 0) {
++ perror("GETREGS");
++ return -1;
++ }
++ switch (regs.r_eax) {
++ case SYS_syscall:
++ case SYS___syscall:
++ if ((scno = ptrace(PTRACE_PEEKUSER, pid,
++ (char *)regs.r_esp + sizeof(int), sizeof(int))) == -1) {
++ perror("PEEKUSER __syscall");
++ return -1;
++ }
++ break;
++ default:
++ scno = regs.r_eax;
++ break;
++ }
++#endif /* NETBSD */
+ #endif /* USE_PROCFS */
+ if (!(tcp->flags & TCB_INSYSCALL))
+ tcp->scno = scno;
+@@ -1360,7 +1387,9 @@
+ struct tcb *tcp;
+ {
+ #ifndef USE_PROCFS
++#ifndef NETBSD
+ int pid = tcp->pid;
++#endif
+ #else /* USE_PROCFS */
+ int scno = known_scno(tcp);
+
+@@ -1733,7 +1762,7 @@
+ }
+ #endif /* MIPS */
+ #endif /* SVR4 */
+-#ifdef FREEBSD
++#ifdef ALLBSD
+ if (regs.r_eflags & PSL_C) {
+ tcp->u_rval = -1;
+ u_error = regs.r_eax;
+@@ -1743,7 +1772,7 @@
+ ((unsigned long long) regs.r_edx << 32) + regs.r_eax;
+ u_error = 0;
+ }
+-#endif /* FREEBSD */
++#endif /* ALLBSD */
+ tcp->u_error = u_error;
+ return 1;
+ }
+@@ -1926,6 +1955,20 @@
+ return -1;
+ }
+ #endif /* FREEBSD */
++#ifdef NETBSD
++ if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, 0) < 0)
++ return -1;
++ if (error) {
++ regs.r_eflags |= PSL_C;
++ regs.r_eax = error;
++ }
++ else {
++ regs.r_eflags &= ~PSL_C;
++ regs.r_eax = rval;
++ }
++ if (ptrace(PTRACE_SETREGS, tcp->pid, (char *)&regs, 0) < 0)
++ return -1;
++#endif
+
+ /* All branches reach here on success (only). */
+ tcp->u_error = error;
+@@ -1938,7 +1981,9 @@
+ struct tcb *tcp;
+ {
+ #ifndef USE_PROCFS
++#ifndef NETBSD
+ int pid = tcp->pid;
++#endif
+ #endif /* !USE_PROCFS */
+ #ifdef LINUX
+ #if defined(S390) || defined(S390X)
+@@ -2236,6 +2281,29 @@
+ I DONT KNOW WHAT TO DO
+ #endif /* !HAVE_PR_SYSCALL */
+ #endif /* SVR4 */
++#ifdef NETBSD
++ if (tcp->scno >= 0 && tcp->scno < nsyscalls && sysent[tcp->scno].nargs != -1)
++ tcp->u_nargs = sysent[tcp->scno].nargs;
++ else
++ tcp->u_nargs = 5;
++ switch(regs.r_eax) {
++ case SYS___syscall:
++ umoven(tcp, regs.r_esp + sizeof(int) + sizeof(quad_t),
++ tcp->u_nargs * sizeof(unsigned long),
++ (char *) tcp->u_arg);
++ break;
++ case SYS_syscall:
++ umoven(tcp, regs.r_esp + 2 * sizeof(int),
++ tcp->u_nargs * sizeof(unsigned long),
++ (char *) tcp->u_arg);
++ break;
++ default:
++ umoven(tcp, regs.r_esp + sizeof(int),
++ tcp->u_nargs * sizeof(unsigned long),
++ (char *) tcp->u_arg);
++ break;
++ }
++#endif /* NETBSD */
+ #ifdef FREEBSD
+ if (tcp->scno >= 0 && tcp->scno < nsyscalls &&
+ sysent[tcp->scno].nargs > tcp->status.val)
+@@ -2648,6 +2716,14 @@
+ pread(tcp->pfd_reg, &regs, sizeof(regs), 0);
+ val = regs.r_edx;
+ #endif
++#ifdef NETBSD
++ struct reg regs;
++ if (ptrace(PTRACE_GETREGS, tcp->pid, (char *)&regs, sizeof(regs)) < 0) {
++ perror("PTRACE_GETREGS get edx");
++ return -1;
++ }
++ val = regs.r_edx;
++#endif
+ return val;
+ }
+
diff --git a/sysutils/strace/patches/patch-ao b/sysutils/strace/patches/patch-ao
new file mode 100644
index 00000000000..609494559ed
--- /dev/null
+++ b/sysutils/strace/patches/patch-ao
@@ -0,0 +1,32 @@
+$NetBSD: patch-ao,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- system.c 2006-01-12 16:21:06.000000000 -0500
++++ system.c 2006-03-04 19:27:22.000000000 -0500
+@@ -568,7 +568,7 @@
+
+ #endif /* SUNOS4 */
+
+-#if defined(SUNOS4) || defined(FREEBSD)
++#if defined(SUNOS4) || defined(ALLBSD)
+ static const struct xlat pathconflimits[] = {
+ #ifdef _PC_LINK_MAX
+ { _PC_LINK_MAX, "_PC_LINK_MAX" }, /* max links to file/dir */
+@@ -624,7 +624,7 @@
+ return 0;
+ }
+
+-#endif /* SUNOS4 || FREEBSD */
++#endif /* SUNOS4 || ALLBSD */
+
+ #ifdef SVR4
+
+@@ -1976,7 +1976,8 @@
+ }
+ #endif
+
+-#ifdef FREEBSD
++#ifdef ALLBSD
++#include <sys/param.h>
+ #include <sys/sysctl.h>
+
+ int sys___sysctl(tcp)
diff --git a/sysutils/strace/patches/patch-ap b/sysutils/strace/patches/patch-ap
new file mode 100644
index 00000000000..4825880414f
--- /dev/null
+++ b/sysutils/strace/patches/patch-ap
@@ -0,0 +1,69 @@
+$NetBSD: patch-ap,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- util.c 2005-10-21 18:06:46.000000000 -0400
++++ util.c 2006-03-04 22:32:21.000000000 -0500
+@@ -36,9 +36,9 @@
+ #include "defs.h"
+
+ #include <signal.h>
++#include <sys/param.h>
+ #include <sys/syscall.h>
+ #include <sys/user.h>
+-#include <sys/param.h>
+ #include <fcntl.h>
+ #if HAVE_SYS_UIO_H
+ #include <sys/uio.h>
+@@ -58,6 +58,9 @@
+ # include <asm/rse.h>
+ #endif
+
++#ifdef NETBSD
++#include <machine/reg.h>
++#endif
+ #ifdef HAVE_SYS_REG_H
+ #include <sys/reg.h>
+ # define PTRACE_PEEKUSR PTRACE_PEEKUSER
+@@ -96,6 +99,7 @@
+ # define PTRACE_SETREGS PTRACE_SETREGS64
+ #endif /* SPARC64 */
+
++
+ #if !defined(__GLIBC__)
+
+ #include <linux/unistd.h>
+@@ -759,6 +763,20 @@
+ return -1;
+ #endif /* USE_PROCFS */
+
++#ifdef NETBSD
++ struct ptrace_io_desc piod;
++
++ piod.piod_op = PIOD_READ_D;
++ piod.piod_offs = (void *)addr;
++ piod.piod_addr = laddr;
++ piod.piod_len = len;
++
++ if (ptrace(PT_IO, tcp->pid, (char *)&piod, sizeof(piod)) < 0) {
++ perror("PT_IO");
++ return -1;
++ }
++#endif
++
+ return 0;
+ }
+
+@@ -1079,6 +1097,14 @@
+ pread(tcp->pfd_reg, &regs, sizeof(regs), 0);
+ return regs.r_eip;
+ #endif /* FREEBSD */
++#ifdef NETBSD
++ struct reg regs;
++ if (ptrace(PTRACE_GETREGS, tcp->pid, (char *) &regs, 0) < 0) {
++ perror("getpc: ptrace(PTRACE_GETREGS, ...)");
++ return -1;
++ }
++ return regs.r_eip;
++#endif /* NETBSD */
+ }
+ #endif
+
diff --git a/sysutils/strace/patches/patch-aq b/sysutils/strace/patches/patch-aq
new file mode 100644
index 00000000000..5c82d06b53b
--- /dev/null
+++ b/sysutils/strace/patches/patch-aq
@@ -0,0 +1,31 @@
+$NetBSD: patch-aq,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- term.c 2005-06-01 15:02:38.000000000 -0400
++++ term.c 2006-03-04 18:21:07.000000000 -0500
+@@ -184,7 +184,7 @@
+ long code, arg;
+ {
+ struct termios tios;
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ struct termio tio;
+ #else
+ #define TCGETS TIOCGETA
+@@ -216,7 +216,7 @@
+ return 0;
+ if (abbrev(tcp)) {
+ tprintf(", {");
+-#ifndef FREEBSD
++#ifndef ALLBSD
+ printxval(baud_options, tios.c_cflag & CBAUD, "B???");
+ #else
+ printxval(baud_options, tios.c_ispeed, "B???");
+@@ -237,7 +237,7 @@
+ (long) tios.c_iflag, (long) tios.c_oflag);
+ tprintf("c_cflags=%#lx, c_lflags=%#lx, ",
+ (long) tios.c_cflag, (long) tios.c_lflag);
+-#if !defined(SVR4) && !defined(FREEBSD)
++#if !defined(SVR4) && !defined(ALLBSD)
+ tprintf("c_line=%u, ", tios.c_line);
+ #endif
+ if (!(tios.c_lflag & ICANON))
diff --git a/sysutils/strace/patches/patch-ar b/sysutils/strace/patches/patch-ar
new file mode 100644
index 00000000000..b53095564c8
--- /dev/null
+++ b/sysutils/strace/patches/patch-ar
@@ -0,0 +1,10 @@
+$NetBSD: patch-ar,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- strace-graph 2005-12-01 23:27:26.000000000 -0500
++++ strace-graph 2006-03-05 03:13:23.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/bin/env perl
+
+ # This script processes strace -f output. It displays a graph of invoked
+ # subprocesses, and is useful for finding out what complex commands do.