diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/configure ybsd_common/usr.local/strace/configure --- vendor/strace/configure Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/configure Tue Jun 12 12:17:42 2007 @@ -1921,7 +1921,7 @@ cat >>confdefs.h <<\_ACEOF _ACEOF ;; -x86?64*) +x86?64*|amd64) arch=x86_64 cat >>confdefs.h <<\_ACEOF @@ -6501,6 +6501,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include #include #include <$ac_header> @@ -6760,6 +6761,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include #include int diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/configure.ac ybsd_common/usr.local/strace/configure.ac --- vendor/strace/configure.ac Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/configure.ac Tue Jun 12 12:17:42 2007 @@ -95,7 +95,7 @@ sh64) arch=sh64 AC_DEFINE([SH64], 1, [Define for the SH64 architecture.]) ;; -x86?64*) +x86?64*|amd64) arch=x86_64 AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.]) ;; diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/defs.h ybsd_common/usr.local/strace/defs.h --- vendor/strace/defs.h Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/defs.h Tue Jun 12 12:17:42 2007 @@ -103,11 +103,15 @@ #endif #ifdef FREEBSD -#ifndef I386 -#error "FreeBSD support is only for i386 arch right now." -#endif +#if defined(I386) || defined(X86_64) #include #include +#if defined(X86_64) +#include +#endif +#else +#error "FreeBSD support is only for amd64 and i386 arch right now." +#endif #include #endif diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/errnoent.sh ybsd_common/usr.local/strace/errnoent.sh --- vendor/strace/errnoent.sh Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/errnoent.sh Tue Jun 12 12:17:42 2007 @@ -28,6 +28,8 @@ awk ' /^#define[ ]+E[A-Z0-9_]+[ ]+[0-9]+/ { + if ($2 == "ELAST") + next errno[$3] = $2 if ($3 > max) max = $3 diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/file.c ybsd_common/usr.local/strace/file.c --- vendor/strace/file.c Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/file.c Mon May 22 18:06:34 2006 @@ -1387,7 +1387,7 @@ long addr; statbuf.f_bsize, statbuf.f_blocks, statbuf.f_bfree); tprintf("f_bavail=%u, f_files=%u, f_ffree=%u, f_fsid={%d, %d}, f_namelen=%u", statbuf.f_bavail,statbuf.f_files, statbuf.f_ffree, - statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1], + statbuf.f_fsid.val[0], statbuf.f_fsid.val[1], statbuf.f_namelen); #else /* !ALPHA */ tprintf("{f_type=%s, f_bsize=%lu, f_blocks=%lu, f_bfree=%lu, ", @@ -1399,7 +1399,7 @@ long addr; (unsigned long)statbuf.f_bavail, (unsigned long)statbuf.f_files, (unsigned long)statbuf.f_ffree, - statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1]); + statbuf.f_fsid.val[0], statbuf.f_fsid.val[1]); #ifdef LINUX tprintf(", f_namelen=%lu", (unsigned long)statbuf.f_namelen); #endif /* LINUX */ diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/i386/errnoent.h ybsd_common/usr.local/strace/freebsd/i386/errnoent.h --- vendor/strace/freebsd/i386/errnoent.h Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/freebsd/i386/errnoent.h Wed Dec 31 19:00:00 1969 @@ -1,87 +0,0 @@ - "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 */ diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/i386/ioctlent.h ybsd_common/usr.local/strace/freebsd/i386/ioctlent.h --- vendor/strace/freebsd/i386/ioctlent.h Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/freebsd/i386/ioctlent.h Wed Dec 31 19:00:00 1969 @@ -1,1056 +0,0 @@ -{"sys/timepps.h", "PPS_IOC_CREATE", 0x20003101}, -{"sys/timepps.h", "PPS_IOC_DESTROY", 0x20003102}, -{"machine/pcaudioio.h", "AUDIO_DRAIN", 0x20004103}, -{"machine/pcaudioio.h", "AUDIO_FLUSH", 0x20004104}, -{"sys/dataacq.h", "AD_SUPPORTED_GAINS", 0x20004105}, -{"sys/dataacq.h", "AD_GAINS_SET", 0x20004106}, -{"sys/dataacq.h", "AD_GAINS_GET", 0x20004107}, -{"net/bpf.h", "BIOCFLUSH", 0x20004268}, -{"net/bpf.h", "BIOCPROMISC", 0x20004269}, -{"sys/soundcard.h", "SNDCTL_COPR_RESET", 0x20004300}, -{"machine/soundcard.h", "SNDCTL_COPR_RESET", 0x20004300}, -{"machine/pcvt_ioctl.h", "KBDRESET", 0x20004b01}, -{"sys/kbio.h", "KDSKBMODE", 0x20004b07}, -{"machine/pcvt_ioctl.h", "KDSKBMODE", 0x20004b07}, -{"sys/kbio.h", "KDMKTONE", 0x20004b08}, -{"machine/pcvt_ioctl.h", "KDMKTONE", 0x20004b08}, -{"machine/pcvt_ioctl.h", "KDSETMODE", 0x20004b0a}, -{"sys/consio.h", "KDSETMODE", 0x20004b0a}, -{"sys/consio.h", "KDSBORDER", 0x20004b0d}, -{"machine/pcvt_ioctl.h", "KBDDEFAULT", 0x20004b14}, -{"sys/kbio.h", "KDSKBSTATE", 0x20004b14}, -{"machine/pcvt_ioctl.h", "KDENABIO", 0x20004b3c}, -{"sys/kbio.h", "KDENABIO", 0x20004b3c}, -{"sys/kbio.h", "KDDISABIO", 0x20004b3d}, -{"machine/pcvt_ioctl.h", "KDDISABIO", 0x20004b3d}, -{"sys/kbio.h", "KIOCSOUND", 0x20004b3f}, -{"sys/kbio.h", "KDSETLED", 0x20004b42}, -{"machine/pcvt_ioctl.h", "KDSETLED", 0x20004b42}, -{"machine/pcvt_ioctl.h", "KDSETRAD", 0x20004b43}, -{"sys/kbio.h", "KDSETRAD", 0x20004b43}, -{"machine/pcaudioio.h", "AUDIO_COMPAT_FLUSH", 0x20005000}, -{"sys/soundcard.h", "SNDCTL_DSP_RESET", 0x20005000}, -{"machine/soundcard.h", "SNDCTL_DSP_RESET", 0x20005000}, -{"sys/soundcard.h", "SNDCTL_DSP_SYNC", 0x20005001}, -{"machine/soundcard.h", "SNDCTL_DSP_SYNC", 0x20005001}, -{"machine/pcaudioio.h", "AUDIO_COMPAT_DRAIN", 0x20005001}, -{"machine/apm_bios.h", "APMIO_SUSPEND", 0x20005001}, -{"machine/apm_bios.h", "APMIO_ENABLE", 0x20005005}, -{"machine/apm_bios.h", "APMIO_DISABLE", 0x20005006}, -{"machine/apm_bios.h", "APMIO_HALTCPU", 0x20005007}, -{"sys/soundcard.h", "SNDCTL_DSP_POST", 0x20005008}, -{"machine/soundcard.h", "SNDCTL_DSP_POST", 0x20005008}, -{"machine/apm_bios.h", "APMIO_NOTHALTCPU", 0x20005008}, -{"machine/apm_bios.h", "APMIO_STANDBY", 0x2000500c}, -{"machine/soundcard.h", "SNDCTL_DSP_NONBLOCK", 0x2000500e}, -{"sys/soundcard.h", "SNDCTL_DSP_NONBLOCK", 0x2000500e}, -{"machine/soundcard.h", "SNDCTL_DSP_SETSYNCRO", 0x20005015}, -{"sys/soundcard.h", "SNDCTL_DSP_SETSYNCRO", 0x20005015}, -{"machine/apm_bios.h", "APMIO_REJECTLASTREQ", 0x20005065}, -{"machine/soundcard.h", "SNDCTL_SEQ_RESET", 0x20005100}, -{"sys/soundcard.h", "SNDCTL_SEQ_RESET", 0x20005100}, -{"sys/soundcard.h", "SNDCTL_SEQ_SYNC", 0x20005101}, -{"machine/soundcard.h", "SNDCTL_SEQ_SYNC", 0x20005101}, -{"machine/soundcard.h", "SNDCTL_SEQ_PANIC", 0x20005111}, -{"sys/soundcard.h", "SNDCTL_SEQ_PANIC", 0x20005111}, -{"sys/consio.h", "SW_B40x25", 0x20005300}, -{"sys/consio.h", "SW_C40x25", 0x20005301}, -{"machine/speaker.h", "SPKRTUNE", 0x20005302}, -{"sys/consio.h", "SW_B80x25", 0x20005302}, -{"sys/consio.h", "SW_C80x25", 0x20005303}, -{"sys/consio.h", "SW_BG320", 0x20005304}, -{"sys/consio.h", "SW_CG320", 0x20005305}, -{"sys/consio.h", "SW_BG640", 0x20005306}, -{"sys/consio.h", "SW_EGAMONO80x25", 0x20005307}, -{"machine/gsc.h", "GSC_SRESSW", 0x2000530b}, -{"machine/asc_ioctl.h", "ASC_SRESSW", 0x2000530b}, -{"sys/consio.h", "SW_CG320_D", 0x2000530d}, -{"sys/consio.h", "SW_CG640_E", 0x2000530e}, -{"sys/consio.h", "SW_EGAMONOAPA", 0x2000530f}, -{"sys/consio.h", "SW_CG640x350", 0x20005310}, -{"sys/consio.h", "SW_ENH_MONOAPA2", 0x20005311}, -{"sys/consio.h", "SW_ENH_CG640", 0x20005312}, -{"sys/consio.h", "SW_ENH_B40x25", 0x20005313}, -{"sys/consio.h", "SW_ENH_C40x25", 0x20005314}, -{"sys/consio.h", "SW_ENH_B80x25", 0x20005315}, -{"sys/consio.h", "SW_ENH_C80x25", 0x20005316}, -{"sys/consio.h", "SW_VGA_C40x25", 0x20005317}, -{"sys/consio.h", "SW_VGA_C80x25", 0x20005318}, -{"sys/consio.h", "SW_VGA_M80x25", 0x20005319}, -{"sys/consio.h", "SW_VGA11", 0x2000531a}, -{"sys/consio.h", "SW_BG640x480", 0x2000531a}, -{"sys/consio.h", "SW_CG640x480", 0x2000531b}, -{"sys/consio.h", "SW_VGA12", 0x2000531b}, -{"sys/consio.h", "SW_VGA13", 0x2000531c}, -{"sys/consio.h", "SW_VGA_CG320", 0x2000531c}, -{"sys/consio.h", "SW_VGA_C80x50", 0x2000531e}, -{"sys/consio.h", "SW_VGA_M80x50", 0x2000531f}, -{"sys/consio.h", "SW_VGA_C80x30", 0x20005320}, -{"sys/consio.h", "SW_VGA_M80x30", 0x20005321}, -{"sys/consio.h", "SW_VGA_C80x60", 0x20005322}, -{"sys/consio.h", "SW_VGA_M80x60", 0x20005323}, -{"sys/consio.h", "SW_VGA_CG640", 0x20005324}, -{"sys/consio.h", "SW_VGA_MODEX", 0x20005325}, -{"sys/consio.h", "SW_VGA_C90x25", 0x20005328}, -{"sys/consio.h", "SW_VGA_M90x25", 0x20005329}, -{"sys/consio.h", "SW_VGA_C90x30", 0x2000532a}, -{"sys/consio.h", "SW_VGA_M90x30", 0x2000532b}, -{"sys/consio.h", "SW_VGA_C90x43", 0x2000532c}, -{"sys/consio.h", "SW_VGA_M90x43", 0x2000532d}, -{"sys/consio.h", "SW_VGA_C90x50", 0x2000532e}, -{"sys/consio.h", "SW_VGA_M90x50", 0x2000532f}, -{"sys/consio.h", "SW_VGA_C90x60", 0x20005330}, -{"sys/consio.h", "SW_VGA_M90x60", 0x20005331}, -{"sys/consio.h", "SW_PC98_80x25", 0x20005362}, -{"sys/consio.h", "SW_PC98_80x30", 0x20005363}, -{"sys/consio.h", "SW_ENH_B80x43", 0x20005370}, -{"sys/consio.h", "SW_ENH_C80x43", 0x20005371}, -{"sys/consio.h", "SW_TEXT_80x25", 0x200053c8}, -{"sys/consio.h", "SW_TEXT_80x30", 0x200053c9}, -{"sys/consio.h", "SW_TEXT_80x43", 0x200053ca}, -{"sys/consio.h", "SW_TEXT_80x50", 0x200053cb}, -{"sys/consio.h", "SW_TEXT_80x60", 0x200053cc}, -{"sys/consio.h", "SW_TEXT_132x25", 0x200053cd}, -{"sys/consio.h", "SW_TEXT_132x30", 0x200053ce}, -{"sys/consio.h", "SW_TEXT_132x43", 0x200053cf}, -{"sys/consio.h", "SW_TEXT_132x50", 0x200053d0}, -{"sys/consio.h", "SW_TEXT_132x60", 0x200053d1}, -{"sys/consio.h", "SW_MCAMODE", 0x200053ff}, -{"machine/soundcard.h", "SNDCTL_TMR_START", 0x20005402}, -{"sys/soundcard.h", "SNDCTL_TMR_START", 0x20005402}, -{"sys/soundcard.h", "SNDCTL_TMR_STOP", 0x20005403}, -{"machine/soundcard.h", "SNDCTL_TMR_STOP", 0x20005403}, -{"machine/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x20005404}, -{"sys/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x20005404}, -{"dev/usb/usb.h", "USB_DISCOVER", 0x20005503}, -{"sys/consio.h", "SW_VESA_CG640x400", 0x20005600}, -{"sys/consio.h", "SW_VESA_CG640x480", 0x20005601}, -{"sys/consio.h", "SW_VESA_800x600", 0x20005602}, -{"sys/consio.h", "SW_VESA_CG800x600", 0x20005603}, -{"sys/consio.h", "SW_VESA_1024x768", 0x20005604}, -{"sys/consio.h", "SW_VESA_CG1024x768", 0x20005605}, -{"sys/consio.h", "SW_VESA_1280x1024", 0x20005606}, -{"sys/consio.h", "SW_VESA_CG1280x1024", 0x20005607}, -{"sys/consio.h", "SW_VESA_C80x60", 0x20005608}, -{"sys/consio.h", "SW_VESA_C132x25", 0x20005609}, -{"sys/consio.h", "SW_VESA_C132x43", 0x2000560a}, -{"sys/consio.h", "SW_VESA_C132x50", 0x2000560b}, -{"sys/consio.h", "SW_VESA_C132x60", 0x2000560c}, -{"sys/consio.h", "SW_VESA_32K_320", 0x2000560d}, -{"sys/consio.h", "SW_VESA_64K_320", 0x2000560e}, -{"sys/consio.h", "SW_VESA_FULL_320", 0x2000560f}, -{"sys/consio.h", "SW_VESA_32K_640", 0x20005610}, -{"sys/consio.h", "SW_VESA_64K_640", 0x20005611}, -{"sys/consio.h", "SW_VESA_FULL_640", 0x20005612}, -{"sys/consio.h", "SW_VESA_32K_800", 0x20005613}, -{"sys/consio.h", "SW_VESA_64K_800", 0x20005614}, -{"sys/consio.h", "SW_VESA_FULL_800", 0x20005615}, -{"sys/consio.h", "SW_VESA_32K_1024", 0x20005616}, -{"sys/consio.h", "SW_VESA_64K_1024", 0x20005617}, -{"sys/consio.h", "SW_VESA_FULL_1024", 0x20005618}, -{"sys/consio.h", "SW_VESA_32K_1280", 0x20005619}, -{"sys/consio.h", "SW_VESA_64K_1280", 0x2000561a}, -{"sys/consio.h", "SW_VESA_FULL_1280", 0x2000561b}, -{"sys/wormio.h", "WORMIOCFINISHTRACK", 0x20005717}, -{"sys/consio.h", "CONS_IO", 0x20006303}, -{"sys/cdio.h", "CDIOCSETMONO", 0x2000630c}, -{"sys/cdio.h", "CDIOCSETSTERIO", 0x2000630d}, -{"sys/cdio.h", "CDIOCSETSTEREO", 0x2000630d}, -{"sys/cdio.h", "CDIOCSETMUTE", 0x2000630e}, -{"sys/cdio.h", "CDIOCSETLEFT", 0x2000630f}, -{"sys/cdio.h", "CDIOCSETRIGHT", 0x20006310}, -{"sys/cdio.h", "CDIOCSETDEBUG", 0x20006311}, -{"sys/cdio.h", "CDIOCCLRDEBUG", 0x20006312}, -{"sys/cdio.h", "CDIOCPAUSE", 0x20006313}, -{"sys/cdio.h", "CDIOCRESUME", 0x20006314}, -{"sys/cdio.h", "CDIOCRESET", 0x20006315}, -{"sys/cdio.h", "CDIOCSTART", 0x20006316}, -{"sys/cdio.h", "CDIOCSTOP", 0x20006317}, -{"sys/cdio.h", "CDIOCEJECT", 0x20006318}, -{"sys/cdio.h", "CDIOCALLOW", 0x2000631a}, -{"sys/cdio.h", "CDIOCPREVENT", 0x2000631b}, -{"sys/cdio.h", "CDIOCCLOSE", 0x2000631c}, -{"sys/wormio.h", "CDRIOCBLANK", 0x20006364}, -{"sys/cdrio.h", "CDRIOCBLANK", 0x20006364}, -{"sys/cdrio.h", "CDRIOCOPENDISK", 0x20006366}, -{"sys/cdrio.h", "CDRIOCCLOSEDISK", 0x20006367}, -{"sys/consio.h", "CONS_SETWINORG", 0x20006368}, -{"sys/cdrio.h", "CDRIOCCLOSETRACK", 0x20006369}, -{"sys/consio.h", "CONS_SETKBD", 0x2000636e}, -{"sys/consio.h", "CONS_RELKBD", 0x2000636f}, -{"sys/filio.h", "FIOCLEX", 0x20006601}, -{"sys/filio.h", "FIONCLEX", 0x20006602}, -{"machine/iic.h", "I2CSTOP", 0x20006902}, -{"sys/mtio.h", "MTIOCIEOT", 0x20006d03}, -{"sys/mtio.h", "MTIOCEEOT", 0x20006d04}, -{"machine/spigot.h", "SPIGOT_IOPL_ON", 0x20007306}, -{"machine/spigot.h", "SPIGOT_IOPL_OFF", 0x20007307}, -{"machine/cdk.h", "STL_BINTR", 0x20007314}, -{"machine/cdk.h", "STL_BSTART", 0x20007315}, -{"machine/cdk.h", "STL_BSTOP", 0x20007316}, -{"machine/cdk.h", "STL_BRESET", 0x20007317}, -{"sys/ioctl_compat.h", "TIOCHPCL", 0x20007402}, -{"sys/ttycom.h", "TIOCEXCL", 0x2000740d}, -{"sys/ttycom.h", "TIOCNXCL", 0x2000740e}, -{"net/if_ppp.h", "PPPIOCXFERUNIT", 0x2000744e}, -{"sys/ttycom.h", "TIOCDRAIN", 0x2000745e}, -{"sys/ttycom.h", "TIOCSIG", 0x2000745f}, -{"net/if_tun.h", "TUNSIFPID", 0x2000745f}, -{"sys/ttycom.h", "TIOCSCTTY", 0x20007461}, -{"sys/ioctl_compat.h", "OTIOCCONS", 0x20007462}, -{"sys/ttycom.h", "TIOCSTAT", 0x20007465}, -{"sys/ttycom.h", "TIOCSTART", 0x2000746e}, -{"sys/ttycom.h", "TIOCSTOP", 0x2000746f}, -{"sys/ttycom.h", "TIOCNOTTY", 0x20007471}, -{"sys/ttycom.h", "TIOCCDTR", 0x20007478}, -{"machine/pcvt_ioctl.h", "CONSOLE_X_MODE_ON", 0x20007479}, -{"sys/ttycom.h", "TIOCSDTR", 0x20007479}, -{"machine/pcvt_ioctl.h", "CONSOLE_X_MODE_OFF", 0x2000747a}, -{"sys/ttycom.h", "TIOCCBRK", 0x2000747a}, -{"sys/ttycom.h", "TIOCSBRK", 0x2000747b}, -{"sys/consio.h", "VT_RELDISP", 0x20007604}, -{"machine/pcvt_ioctl.h", "VT_RELDISP", 0x20007604}, -{"sys/consio.h", "VT_ACTIVATE", 0x20007605}, -{"machine/pcvt_ioctl.h", "VT_ACTIVATE", 0x20007605}, -{"sys/consio.h", "VT_WAITACTIVE", 0x20007606}, -{"machine/pcvt_ioctl.h", "VT_WAITACTIVE", 0x20007606}, -{"machine/ioctl_ctx.h", "CTX_LIVE", 0x20007801}, -{"machine/ioctl_ctx.h", "CTX_GRAB", 0x20007802}, -{"machine/ioctl_ctx.h", "CTX_H_ORGANIZE", 0x20007803}, -{"machine/ioctl_ctx.h", "CTX_V_ORGANIZE", 0x20007804}, -{"cam/scsi/scsi_ses.h", "SESIOC_GETNOBJ", 0x20530001}, -{"cam/scsi/scsi_ses.h", "SESIOC_GETOBJMAP", 0x20530002}, -{"cam/scsi/scsi_ses.h", "SESIOC_GETENCSTAT", 0x20530003}, -{"cam/scsi/scsi_ses.h", "SESIOC_SETENCSTAT", 0x20530004}, -{"cam/scsi/scsi_ses.h", "SESIOC_GETOBJSTAT", 0x20530005}, -{"cam/scsi/scsi_ses.h", "SESIOC_SETOBJSTAT", 0x20530006}, -{"cam/scsi/scsi_ses.h", "SESIOC_GETTEXT", 0x20530007}, -{"cam/scsi/scsi_ses.h", "SESIOC_INIT", 0x20530008}, -{"machine/ioctl_meteor.h", "METEORGHUE", 0x40017806}, -{"machine/ioctl_meteor.h", "METEORGCHCV", 0x40017809}, -{"machine/ioctl_meteor.h", "METEORGBRIG", 0x4001780e}, -{"machine/ioctl_meteor.h", "METEORGCSAT", 0x4001780f}, -{"machine/ioctl_meteor.h", "METEORGCONT", 0x40017810}, -{"machine/ioctl_meteor.h", "METEORGHWS", 0x40017812}, -{"machine/ioctl_meteor.h", "METEORGVWS", 0x40017813}, -{"machine/ioctl_meteor.h", "METEORGTS", 0x40017814}, -{"machine/ioctl_bt848.h", "RADIO_GETMODE", 0x4001783a}, -{"machine/random.h", "MEM_RETURNIRQ", 0x40027203}, -{"machine/ioctl_meteor.h", "METEORSTATUS", 0x40027805}, -{"machine/ioctl_meteor.h", "METEORGFPS", 0x4002780b}, -{"machine/ioctl_meteor.h", "METEORGBT254", 0x40027811}, -{"machine/ioctl_bt848.h", "REMOTE_GETKEY", 0x40037847}, -{"sys/timepps.h", "PPS_IOC_GETCAP", 0x40043105}, -{"machine/i4b_tel_ioctl.h", "I4B_TEL_GETAUDIOFMT", 0x40044100}, -{"sys/dataacq.h", "AD_MICRO_PERIOD_GET", 0x40044102}, -{"sys/dataacq.h", "AD_NGAINS_GET", 0x40044103}, -{"sys/dataacq.h", "AD_NCHANS_GET", 0x40044104}, -{"machine/soundcard.h", "AIONWRITE", 0x4004410a}, -{"sys/soundcard.h", "AIONWRITE", 0x4004410a}, -{"net/bpf.h", "BIOCGBLEN", 0x40044266}, -{"net/bpf.h", "BIOCGDLT", 0x4004426a}, -{"net/bpf.h", "BIOCVERSION", 0x40044271}, -{"net/bpf.h", "BIOCGRSIG", 0x40044272}, -{"net/bpf.h", "BIOCGHDRCMPLT", 0x40044274}, -{"net/bpf.h", "BIOCGSEESENT", 0x40044276}, -{"cam/scsi/scsi_targetio.h", "TARGIOCFETCHEXCEPTION", 0x40044301}, -{"sys/fbio.h", "FBIOGVIDEO", 0x40044608}, -{"sys/fbio.h", "FBIOGCURMAX", 0x4004461c}, -{"machine/ioctl_fd.h", "FD_GOPTS", 0x40044640}, -{"sys/fbio.h", "FBIO_ADAPTER", 0x40044664}, -{"sys/fbio.h", "FBIO_ADPTYPE", 0x40044665}, -{"sys/fbio.h", "FBIO_GETMODE", 0x40044669}, -{"sys/fbio.h", "FBIO_GETWINORG", 0x4004466b}, -{"sys/fbio.h", "FBIO_GETLINEWIDTH", 0x4004466f}, -{"machine/joystick.h", "JOY_GETTIMEOUT", 0x40044a02}, -{"sys/joystick.h", "JOY_GETTIMEOUT", 0x40044a02}, -{"machine/joystick.h", "JOY_GET_X_OFFSET", 0x40044a05}, -{"sys/joystick.h", "JOY_GET_X_OFFSET", 0x40044a05}, -{"machine/joystick.h", "JOY_GET_Y_OFFSET", 0x40044a06}, -{"sys/joystick.h", "JOY_GET_Y_OFFSET", 0x40044a06}, -{"machine/pcvt_ioctl.h", "KBDGTPMAT", 0x40044b02}, -{"machine/pcvt_ioctl.h", "KBDGREPSW", 0x40044b04}, -{"machine/pcvt_ioctl.h", "KBDGLEDS", 0x40044b06}, -{"sys/kbio.h", "KDGKBMODE", 0x40044b06}, -{"machine/pcvt_ioctl.h", "KBDGLOCK", 0x40044b08}, -{"sys/consio.h", "KDGETMODE", 0x40044b09}, -{"sys/kbio.h", "KDGKBSTATE", 0x40044b13}, -{"sys/kbio.h", "KDGKBTYPE", 0x40044b40}, -{"sys/kbio.h", "KDGETLED", 0x40044b41}, -{"machine/pcvt_ioctl.h", "KDGETLED", 0x40044b41}, -{"machine/mouse.h", "MOUSE_GETLEVEL", 0x40044d04}, -{"machine/soundcard.h", "SOUND_PCM_READ_RATE", 0x40045002}, -{"sys/soundcard.h", "SOUND_PCM_READ_RATE", 0x40045002}, -{"machine/soundcard.h", "SNDCTL_DSP_GETBLKSIZE", 0x40045004}, -{"sys/soundcard.h", "SNDCTL_DSP_GETBLKSIZE", 0x40045004}, -{"sys/soundcard.h", "SOUND_PCM_READ_BITS", 0x40045005}, -{"machine/soundcard.h", "SOUND_PCM_READ_BITS", 0x40045005}, -{"sys/soundcard.h", "SOUND_PCM_READ_CHANNELS", 0x40045006}, -{"machine/soundcard.h", "SOUND_PCM_READ_CHANNELS", 0x40045006}, -{"machine/soundcard.h", "SOUND_PCM_READ_FILTER", 0x40045007}, -{"sys/soundcard.h", "SOUND_PCM_READ_FILTER", 0x40045007}, -{"machine/soundcard.h", "SNDCTL_DSP_GETFMTS", 0x4004500b}, -{"sys/soundcard.h", "SNDCTL_DSP_GETFMTS", 0x4004500b}, -{"machine/soundcard.h", "SNDCTL_DSP_GETCAPS", 0x4004500f}, -{"sys/soundcard.h", "SNDCTL_DSP_GETCAPS", 0x4004500f}, -{"sys/soundcard.h", "SNDCTL_DSP_GETTRIGGER", 0x40045010}, -{"machine/soundcard.h", "SNDCTL_DSP_GETTRIGGER", 0x40045010}, -{"sys/soundcard.h", "SNDCTL_DSP_GETODELAY", 0x40045017}, -{"machine/soundcard.h", "SNDCTL_DSP_GETODELAY", 0x40045017}, -{"machine/soundcard.h", "SNDCTL_SEQ_GETOUTCOUNT", 0x40045104}, -{"sys/soundcard.h", "SNDCTL_SEQ_GETOUTCOUNT", 0x40045104}, -{"machine/soundcard.h", "SNDCTL_SEQ_GETINCOUNT", 0x40045105}, -{"sys/soundcard.h", "SNDCTL_SEQ_GETINCOUNT", 0x40045105}, -{"sys/soundcard.h", "SNDCTL_SEQ_NRSYNTHS", 0x4004510a}, -{"machine/soundcard.h", "SNDCTL_SEQ_NRSYNTHS", 0x4004510a}, -{"sys/soundcard.h", "SNDCTL_SEQ_NRMIDIS", 0x4004510b}, -{"machine/soundcard.h", "SNDCTL_SEQ_NRMIDIS", 0x4004510b}, -{"machine/gsc.h", "GSC_GRES", 0x40045301}, -{"machine/asc_ioctl.h", "ASC_GRES", 0x40045301}, -{"machine/asc_ioctl.h", "ASC_GWIDTH", 0x40045303}, -{"machine/gsc.h", "GSC_GWIDTH", 0x40045303}, -{"machine/asc_ioctl.h", "ASC_GHEIGHT", 0x40045305}, -{"machine/gsc.h", "GSC_GHEIGHT", 0x40045305}, -{"machine/asc_ioctl.h", "ASC_GBLEN", 0x40045307}, -{"machine/gsc.h", "GSC_GBLEN", 0x40045307}, -{"machine/gsc.h", "GSC_GBTIME", 0x40045309}, -{"machine/asc_ioctl.h", "ASC_GBTIME", 0x40045309}, -{"machine/i4b_trace.h", "I4B_TRC_GET", 0x40045400}, -{"sys/ptio.h", "PTIOCGETTIMEOUT", 0x40045401}, -{"sys/snoop.h", "SNPGTTY", 0x40045459}, -{"dev/usb/usb.h", "USB_GET_CONFIG", 0x40045564}, -{"dev/usb/usb.h", "USB_GET_CM_OVER_DATA", 0x40045582}, -{"sys/wormio.h", "WORMIOERROR", 0x40045718}, -{"sys/wormio.h", "WORMIOCREADSESSIONINFO", 0x4004571f}, -{"sys/consio.h", "GIO_ATTR", 0x40046100}, -{"sys/consio.h", "GIO_COLOR", 0x40046300}, -{"sys/consio.h", "CONS_CURRENT", 0x40046301}, -{"sys/consio.h", "CONS_GET", 0x40046302}, -{"sys/cdio.h", "CDIOREADTOCHEADER", 0x40046304}, -{"sys/chio.h", "CHIOGPICKER", 0x40046304}, -{"sys/cdio.h", "CDIOCGETVOL", 0x4004630a}, -{"sys/consio.h", "CONS_IDLE", 0x4004630b}, -{"sys/consio.h", "CONS_GETVERS", 0x4004634a}, -{"sys/consio.h", "CONS_CURRENTADP", 0x40046364}, -{"sys/cdrio.h", "CDRIOCNEXTWRITEABLEADDR", 0x40046365}, -{"sys/wormio.h", "CDRIOCNEXTWRITEABLEADDR", 0x40046365}, -{"sys/cdrio.h", "CDRIOCGETBLOCKSIZE", 0x4004636b}, -{"sys/filio.h", "FIOGETLBA", 0x40046679}, -{"sys/filio.h", "FIODTYPE", 0x4004667a}, -{"sys/filio.h", "FIOGETOWN", 0x4004667b}, -{"sys/filio.h", "FIONREAD", 0x4004667f}, -{"sys/mtio.h", "MTIOCRDSPOS", 0x40046d05}, -{"sys/mtio.h", "MTIOCRDHPOS", 0x40046d06}, -{"sys/mtio.h", "MTIOCGETEOTMODEL", 0x40046d08}, -{"nwfs/nwfs.h", "NWFSIOC_GETCONN", 0x40046e01}, -{"nwfs/nwfs.h", "NWFSIOC_GETNS", 0x40046e03}, -{"sys/pioctl.h", "PIOCGFL", 0x40047007}, -{"netinet/ip_fil.h", "SIOCGETFF", 0x4004723f}, -{"netinet/ip_fil.h", "SIOCIPFFB", 0x40047242}, -{"netinet/ip_fil.h", "SIOCSWAPA", 0x40047245}, -{"sys/sockio.h", "SIOCGHIWAT", 0x40047301}, -{"sys/sockio.h", "SIOCGLOWAT", 0x40047303}, -{"sys/sockio.h", "SIOCATMARK", 0x40047307}, -{"sys/sockio.h", "SIOCGPGRP", 0x40047309}, -{"machine/cdk.h", "STL_GETPFLAG", 0x40047350}, -{"sys/ioctl_compat.h", "OTIOCGETD", 0x40047400}, -{"sys/ttycom.h", "TIOCMODG", 0x40047403}, -{"sys/ttycom.h", "TIOCGETD", 0x4004741a}, -{"net/if_ppp.h", "PPPIOCGMTU", 0x40047449}, -{"net/slip.h", "SLIOCGOUTFILL", 0x40047451}, -{"net/slip.h", "SLIOCGKEEPAL", 0x40047452}, -{"net/if_ppp.h", "PPPIOCGMRU", 0x40047453}, -{"net/if_ppp.h", "PPPIOCGRASYNCMAP", 0x40047455}, -{"sys/ttycom.h", "TIOCGDRAINWAIT", 0x40047456}, -{"net/if_ppp.h", "PPPIOCGUNIT", 0x40047456}, -{"net/slip.h", "SLIOCGUNIT", 0x40047458}, -{"net/if_ppp.h", "PPPIOCGASYNCMAP", 0x40047458}, -{"net/if_tun.h", "TUNGDEBUG", 0x40047459}, -{"net/if_ppp.h", "PPPIOCGFLAGS", 0x4004745a}, -{"sys/ttycom.h", "TIOCMGDTRWAIT", 0x4004745a}, -{"net/if_tun.h", "TUNGIFHEAD", 0x40047461}, -{"sys/ttycom.h", "TIOCMGET", 0x4004746a}, -{"sys/ttycom.h", "TIOCOUTQ", 0x40047473}, -{"sys/ttycom.h", "TIOCGPGRP", 0x40047477}, -{"sys/ioctl_compat.h", "TIOCLGET", 0x4004747c}, -{"sys/consio.h", "VT_OPENQRY", 0x40047601}, -{"machine/pcvt_ioctl.h", "VT_OPENQRY", 0x40047601}, -{"machine/pcvt_ioctl.h", "VT_GETACTIVE", 0x40047607}, -{"sys/consio.h", "VT_GETACTIVE", 0x40047607}, -{"sys/consio.h", "VT_GETINDEX", 0x40047608}, -{"machine/ioctl_meteor.h", "METEORGFMT", 0x40047807}, -{"machine/ioctl_meteor.h", "METEORGINPUT", 0x40047808}, -{"machine/ioctl_meteor.h", "METEORGSIGNAL", 0x4004780c}, -{"machine/ioctl_bt848.h", "TVTUNER_GETCHNL", 0x40047820}, -{"machine/ioctl_bt848.h", "TVTUNER_GETTYPE", 0x40047821}, -{"machine/ioctl_bt848.h", "TVTUNER_GETSTATUS", 0x40047822}, -{"machine/ioctl_bt848.h", "TVTUNER_GETFREQ", 0x40047824}, -{"machine/ioctl_bt848.h", "BT848_GHUE", 0x40047825}, -{"machine/ioctl_bt848.h", "BT848_GBRIG", 0x40047826}, -{"machine/ioctl_bt848.h", "BT848_GCSAT", 0x40047827}, -{"machine/ioctl_bt848.h", "BT848_GCONT", 0x40047828}, -{"machine/ioctl_bt848.h", "BT848_GVSAT", 0x40047829}, -{"machine/ioctl_bt848.h", "BT848_GUSAT", 0x4004782a}, -{"machine/ioctl_bt848.h", "BT848_SCBARS", 0x4004782b}, -{"machine/ioctl_bt848.h", "BT848_CCBARS", 0x4004782c}, -{"machine/ioctl_bt848.h", "BT848_GAUDIO", 0x4004782f}, -{"machine/ioctl_bt848.h", "BT848_GSTATUS", 0x40047831}, -{"machine/ioctl_bt848.h", "TVTUNER_GETAFC", 0x40047836}, -{"machine/ioctl_bt848.h", "BT848_GLNOTCH", 0x40047838}, -{"machine/ioctl_bt848.h", "RADIO_GETFREQ", 0x4004783b}, -{"machine/ioctl_bt848.h", "METEORGACTPIXFMT", 0x40047840}, -{"machine/ioctl_bt848.h", "BT848GFMT", 0x40047843}, -{"machine/ioctl_bt848.h", "BT848GCBUF", 0x40047844}, -{"machine/ioctl_bt848.h", "BT848_GPIO_GET_EN", 0x40047849}, -{"machine/ioctl_bt848.h", "BT848_GPIO_GET_DATA", 0x4004784b}, -{"sys/ioctl_compat.h", "TIOCGETP", 0x40067408}, -{"sys/ioctl_compat.h", "TIOCGETC", 0x40067412}, -{"sys/ioctl_compat.h", "TIOCGLTC", 0x40067474}, -{"sys/soundcard.h", "AIOGSIZE", 0x4008410b}, -{"machine/soundcard.h", "AIOGSIZE", 0x4008410b}, -{"net/bpf.h", "BIOCGRTIMEOUT", 0x4008426e}, -{"net/bpf.h", "BIOCGSTATS", 0x4008426f}, -{"sys/fbio.h", "FBIO_GETDISPSTART", 0x4008466d}, -{"sys/kbio.h", "KDGETREPEAT", 0x40084b67}, -{"sys/soundcard.h", "SNDCTL_DSP_MAPINBUF", 0x40085013}, -{"machine/soundcard.h", "SNDCTL_DSP_MAPINBUF", 0x40085013}, -{"machine/soundcard.h", "SNDCTL_DSP_MAPOUTBUF", 0x40085014}, -{"sys/soundcard.h", "SNDCTL_DSP_MAPOUTBUF", 0x40085014}, -{"sys/chio.h", "CHIOGPARAMS", 0x40086306}, -{"machine/spigot.h", "SPIGOT_GET_INFO", 0x40087304}, -{"net/if_ppp.h", "PPPIOCGIDLE", 0x4008744a}, -{"sys/ttycom.h", "TIOCDCDTIMESTAMP", 0x40087458}, -{"sys/ttycom.h", "TIOCTIMESTAMP", 0x40087459}, -{"net/if_tun.h", "TUNGIFINFO", 0x4008745c}, -{"sys/ttycom.h", "TIOCGWINSZ", 0x40087468}, -{"machine/pcvt_ioctl.h", "VT_GETMODE", 0x40087603}, -{"sys/consio.h", "VT_GETMODE", 0x40087603}, -{"machine/i4b_ioctl.h", "I4B_VR_REQ", 0x400c3409}, -{"machine/perfmon.h", "PMIOTSTAMP", 0x400c3506}, -{"machine/i4b_tel_ioctl.h", "I4B_TEL_VR_REQ", 0x400c4103}, -{"sys/soundcard.h", "SNDCTL_DSP_GETIPTR", 0x400c5011}, -{"machine/soundcard.h", "SNDCTL_DSP_GETIPTR", 0x400c5011}, -{"machine/soundcard.h", "SNDCTL_DSP_GETOPTR", 0x400c5012}, -{"sys/soundcard.h", "SNDCTL_DSP_GETOPTR", 0x400c5012}, -{"machine/i4b_rbch_ioctl.h", "I4B_RBCH_VR_REQ", 0x400c5202}, -{"sys/cdio.h", "CDIOCCAPABILITY", 0x400c631e}, -{"machine/ioctl_meteor.h", "METEORGETGEO", 0x400c7804}, -{"machine/i4b_debug.h", "I4B_CTL_GET_DEBUG", 0x40104300}, -{"machine/soundcard.h", "SNDCTL_DSP_GETOSPACE", 0x4010500c}, -{"sys/soundcard.h", "SNDCTL_DSP_GETOSPACE", 0x4010500c}, -{"machine/soundcard.h", "SNDCTL_DSP_GETISPACE", 0x4010500d}, -{"sys/soundcard.h", "SNDCTL_DSP_GETISPACE", 0x4010500d}, -{"dev/usb/usb.h", "USB_DEVICESTATS", 0x40105505}, -{"machine/soundcard.h", "AIOGFMT", 0x4010660c}, -{"sys/soundcard.h", "AIOGFMT", 0x4010660c}, -{"machine/ioctl_meteor.h", "METEORGVIDEO", 0x4010780d}, -{"machine/ioctl_bt848.h", "BT848_GCAPAREA", 0x40107845}, -{"dev/usb/usb.h", "USB_GET_DEVICE_DESC", 0x40125569}, -{"machine/pcvt_ioctl.h", "KBDMOUSEGET", 0x40144b19}, -{"machine/mouse.h", "MOUSE_GETHWINFO", 0x40144d01}, -{"sys/pioctl.h", "PIOCWAIT", 0x40147004}, -{"sys/pioctl.h", "PIOCSTATUS", 0x40147006}, -{"machine/ioctl_meteor.h", "METEORGCOUNT", 0x4014780a}, -{"sys/fbio.h", "FBIOGTYPE", 0x40184600}, -{"machine/mouse.h", "MOUSE_GETSTATUS", 0x40184d00}, -{"pccard/cardinfo.h", "PIOCGSTATE", 0x40185001}, -{"machine/apm_bios.h", "APMIO_GETINFO_OLD", 0x40185002}, -{"machine/mouse.h", "MOUSE_GETMODE", 0x401c4d02}, -{"sys/timepps.h", "PPS_IOC_GETPARAMS", 0x40203104}, -{"net/bpf.h", "BIOCGETIF", 0x4020426b}, -{"netinet/ip_nat.h", "SIOCGFRST", 0x40207254}, -{"net/if_ppp.h", "PPPIOCGXASYNCMAP", 0x40207450}, -{"sys/kbio.h", "KDGKBINFO", 0x40244b65}, -{"machine/apm_bios.h", "APMIO_NEXTEVENT", 0x40284164}, -{"netgraph/ng_message.h", "NGIOCGINFO", 0x40284e28}, -{"machine/ioctl_fd.h", "FD_GTYPE", 0x402c463e}, -{"sys/ttycom.h", "TIOCGETA", 0x402c7413}, -{"netinet/ip_nat.h", "SIOCGIPST", 0x40387255}, -{"machine/mouse.h", "MOUSE_GETVARS", 0x40404d06}, -{"machine/apm_bios.h", "APMIO_GETINFO", 0x4040500b}, -{"netinet/ip_nat.h", "SIOCGNATS", 0x40407252}, -{"sys/mtio.h", "MTIOCGET", 0x404c6d02}, -{"sys/fbio.h", "FBIOGATTR", 0x40584606}, -{"machine/pcaudioio.h", "AUDIO_GETINFO", 0x40844101}, -{"cam/scsi/scsi_targetio.h", "TARGIOCFETCHATIO", 0x409c4303}, -{"sys/fbio.h", "FBIO_ADPINFO", 0x40a44666}, -{"sys/consio.h", "GIO_SCRNMAP", 0x41006b02}, -{"sys/mtio.h", "MTIOCERRSTAT", 0x41006d07}, -{"machine/ioctl_ctx.h", "CTX_GET_LUT", 0x41007806}, -{"netinet/ip_fil.h", "SIOCGETFS", 0x410c7240}, -{"sys/disklabel.h", "DIOCGDINFO", 0x41146465}, -{"nwfs/nwfs.h", "NWFSIOC_GETEINFO", 0x414d6e02}, -{"dev/usb/usb.h", "USB_GET_DEVICEINFO", 0x41585570}, -{"dev/usb/usb.h", "USB_GET_REPORT_DESC", 0x44045515}, -{"sys/kbio.h", "GIO_DEADKEYMAP", 0x462a6b08}, -{"machine/ioctl_bt848.h", "BT848GCLIP", 0x46407842}, -{"sys/diskslice.h", "DIOCGSLICEINFO", 0x471c646f}, -{"sys/consio.h", "GIO_FONT8x8", 0x48006341}, -{"machine/pcvt_ioctl.h", "GIO_KEYMAP", 0x4a026b06}, -{"sys/kbio.h", "GIO_KEYMAP", 0x4a026b06}, -{"sys/consio.h", "GIO_FONT8x14", 0x4e006343}, -{"machine/soundcard.h", "SNDCTL_COPR_RCVMSG", 0x4fa44309}, -{"sys/soundcard.h", "SNDCTL_COPR_RCVMSG", 0x4fa44309}, -{"sys/consio.h", "GIO_FONT8x16", 0x50006345}, -{"sys/pioctl.h", "PIOCBIS", 0x80007001}, -{"sys/pioctl.h", "PIOCBIC", 0x80007002}, -{"sys/pioctl.h", "PIOCSFL", 0x80007003}, -{"sys/pioctl.h", "PIOCCONT", 0x80007005}, -{"sys/ttycom.h", "TIOCSTI", 0x80017472}, -{"machine/ioctl_meteor.h", "METEORSHUE", 0x80017806}, -{"machine/ioctl_meteor.h", "METEORSCHCV", 0x80017809}, -{"machine/ioctl_meteor.h", "METEORSBRIG", 0x8001780e}, -{"machine/ioctl_meteor.h", "METEORSCSAT", 0x8001780f}, -{"machine/ioctl_meteor.h", "METEORSCONT", 0x80017810}, -{"machine/ioctl_meteor.h", "METEORSHWS", 0x80017812}, -{"machine/ioctl_meteor.h", "METEORSVWS", 0x80017813}, -{"machine/ioctl_meteor.h", "METEORSTS", 0x80017814}, -{"pccard/cardinfo.h", "PIOCSREG", 0x80025065}, -{"sys/cdio.h", "CDIOCPITCH", 0x8002631d}, -{"machine/random.h", "MEM_SETIRQ", 0x80027201}, -{"machine/random.h", "MEM_CLEARIRQ", 0x80027202}, -{"machine/ioctl_meteor.h", "METEORSFPS", 0x8002780b}, -{"machine/ioctl_meteor.h", "METEORSBT254", 0x80027811}, -{"machine/i4b_ioctl.h", "I4B_ALERT_REQ", 0x80043408}, -{"machine/perfmon.h", "PMIOSTART", 0x80043502}, -{"machine/perfmon.h", "PMIOSTOP", 0x80043503}, -{"machine/perfmon.h", "PMIORESET", 0x80043505}, -{"machine/i4b_tel_ioctl.h", "I4B_TEL_SETAUDIOFMT", 0x80044101}, -{"sys/dataacq.h", "AD_MICRO_PERIOD_SET", 0x80044101}, -{"machine/i4b_tel_ioctl.h", "I4B_TEL_EMPTYINPUTQUEUE", 0x80044102}, -{"net/bpf.h", "BIOCIMMEDIATE", 0x80044270}, -{"net/bpf.h", "BIOCSRSIG", 0x80044273}, -{"net/bpf.h", "BIOCSHDRCMPLT", 0x80044275}, -{"net/bpf.h", "BIOCSSEESENT", 0x80044277}, -{"cam/scsi/scsi_targetio.h", "TARGIOCCLEAREXCEPTION", 0x80044302}, -{"machine/i4b_debug.h", "I4B_CTL_CLR_LAPDSTAT", 0x80044305}, -{"sys/fbio.h", "FBIOSVIDEO", 0x80044607}, -{"sys/fbio.h", "FBIOSCURPOS", 0x8004461a}, -{"sys/fbio.h", "FBIOGCURPOS", 0x8004461b}, -{"machine/ioctl_fd.h", "FD_SOPTS", 0x80044641}, -{"machine/ioctl_fd.h", "FD_DEBUG", 0x80044642}, -{"sys/fbio.h", "FBIO_SETMODE", 0x8004466a}, -{"sys/fbio.h", "FBIO_SETWINORG", 0x8004466c}, -{"sys/fbio.h", "FBIO_SETLINEWIDTH", 0x80044670}, -{"machine/joystick.h", "JOY_SETTIMEOUT", 0x80044a01}, -{"sys/joystick.h", "JOY_SETTIMEOUT", 0x80044a01}, -{"machine/joystick.h", "JOY_SET_X_OFFSET", 0x80044a03}, -{"sys/joystick.h", "JOY_SET_X_OFFSET", 0x80044a03}, -{"machine/joystick.h", "JOY_SET_Y_OFFSET", 0x80044a04}, -{"sys/joystick.h", "JOY_SET_Y_OFFSET", 0x80044a04}, -{"machine/pcvt_ioctl.h", "KBDSTPMAT", 0x80044b03}, -{"machine/pcvt_ioctl.h", "KBDSREPSW", 0x80044b05}, -{"machine/pcvt_ioctl.h", "KBDSLEDS", 0x80044b07}, -{"machine/pcvt_ioctl.h", "KBDSLOCK", 0x80044b09}, -{"machine/pcvt_ioctl.h", "KBDRMKEY", 0x80044b13}, -{"machine/mouse.h", "MOUSE_SETLEVEL", 0x80044d05}, -{"sys/soundcard.h", "SNDCTL_DSP_SETBLKSIZE", 0x80045004}, -{"machine/soundcard.h", "SNDCTL_DSP_SETBLKSIZE", 0x80045004}, -{"pccard/cardinfo.h", "PIOCRWFLAG", 0x80045007}, -{"machine/apm_bios.h", "APMIO_DISPLAY", 0x80045009}, -{"pccard/cardinfo.h", "PIOCSVIR", 0x8004500a}, -{"pccard/cardinfo.h", "PIOCSBEEP", 0x8004500b}, -{"machine/soundcard.h", "SNDCTL_DSP_SETTRIGGER", 0x80045010}, -{"sys/soundcard.h", "SNDCTL_DSP_SETTRIGGER", 0x80045010}, -{"sys/soundcard.h", "SNDCTL_SEQ_PERCMODE", 0x80045106}, -{"machine/soundcard.h", "SNDCTL_SEQ_PERCMODE", 0x80045106}, -{"sys/soundcard.h", "SNDCTL_SEQ_TESTMIDI", 0x80045108}, -{"machine/soundcard.h", "SNDCTL_SEQ_TESTMIDI", 0x80045108}, -{"sys/soundcard.h", "SNDCTL_SEQ_RESETSAMPLES", 0x80045109}, -{"machine/soundcard.h", "SNDCTL_SEQ_RESETSAMPLES", 0x80045109}, -{"machine/soundcard.h", "SNDCTL_SEQ_THRESHOLD", 0x8004510d}, -{"sys/soundcard.h", "SNDCTL_SEQ_THRESHOLD", 0x8004510d}, -{"sys/soundcard.h", "SNDCTL_FM_4OP_ENABLE", 0x8004510f}, -{"machine/soundcard.h", "SNDCTL_FM_4OP_ENABLE", 0x8004510f}, -{"machine/gsc.h", "GSC_SRES", 0x80045302}, -{"machine/asc_ioctl.h", "ASC_SRES", 0x80045302}, -{"machine/asc_ioctl.h", "ASC_SWIDTH", 0x80045304}, -{"machine/gsc.h", "GSC_SWIDTH", 0x80045304}, -{"machine/asc_ioctl.h", "ASC_SHEIGHT", 0x80045306}, -{"machine/gsc.h", "GSC_SHEIGHT", 0x80045306}, -{"machine/asc_ioctl.h", "ASC_SBLEN", 0x80045308}, -{"machine/gsc.h", "GSC_SBLEN", 0x80045308}, -{"machine/asc_ioctl.h", "ASC_SBTIME", 0x8004530a}, -{"machine/gsc.h", "GSC_SBTIME", 0x8004530a}, -{"machine/i4b_trace.h", "I4B_TRC_SET", 0x80045401}, -{"sys/ptio.h", "PTIOCSETTIMEOUT", 0x80045402}, -{"machine/i4b_trace.h", "I4B_TRC_RESETA", 0x80045403}, -{"machine/soundcard.h", "SNDCTL_TMR_METRONOME", 0x80045407}, -{"sys/soundcard.h", "SNDCTL_TMR_METRONOME", 0x80045407}, -{"machine/soundcard.h", "SNDCTL_TMR_SELECT", 0x80045408}, -{"sys/soundcard.h", "SNDCTL_TMR_SELECT", 0x80045408}, -{"sys/snoop.h", "SNPSTTY", 0x8004545a}, -{"dev/usb/usb.h", "USB_SETDEBUG", 0x80045502}, -{"dev/usb/usb.h", "USB_SET_IMMED", 0x80045516}, -{"dev/usb/usb.h", "USB_SET_CONFIG", 0x80045565}, -{"dev/usb/usb.h", "USB_SET_SHORT_XFER", 0x80045571}, -{"dev/usb/usb.h", "USB_SET_TIMEOUT", 0x80045572}, -{"dev/usb/usb.h", "USB_SET_CM_OVER_DATA", 0x80045583}, -{"machine/pcvt_ioctl.h", "VGASCREENSAVER", 0x80045670}, -{"machine/pcvt_ioctl.h", "VGASETCOLMS", 0x80045673}, -{"sys/cdio.h", "CDIOCPLAYTRACKS", 0x80046301}, -{"sys/consio.h", "CONS_BLANKTIME", 0x80046304}, -{"sys/chio.h", "CHIOSPICKER", 0x80046305}, -{"sys/consio.h", "CONS_CURSORTYPE", 0x80046307}, -{"sys/chio.h", "CHIOIELEM", 0x80046307}, -{"sys/consio.h", "CONS_BELLTYPE", 0x80046308}, -{"sys/consio.h", "CONS_HISTORY", 0x80046309}, -{"sys/cdio.h", "CDIOCSETPATCH", 0x80046309}, -{"sys/cdio.h", "CDIOCSETVOL", 0x8004630b}, -{"sys/consio.h", "CONS_SAVERMODE", 0x8004630c}, -{"sys/consio.h", "CONS_SAVERSTART", 0x8004630d}, -{"sys/cdrio.h", "CDRIOCWRITESPEED", 0x8004636a}, -{"sys/cdrio.h", "CDRIOCSETBLOCKSIZE", 0x8004636c}, -{"sys/disklabel.h", "DIOCWLABEL", 0x8004646d}, -{"sys/diskslice.h", "DIOCSYNCSLICEINFO", 0x80046470}, -{"sys/filio.h", "FIOSETOWN", 0x8004667c}, -{"sys/filio.h", "FIOASYNC", 0x8004667d}, -{"sys/filio.h", "FIONBIO", 0x8004667e}, -{"sys/mtio.h", "MTIOCSLOCATE", 0x80046d05}, -{"sys/mtio.h", "MTIOCHLOCATE", 0x80046d06}, -{"sys/mtio.h", "MTIOCSETEOTMODEL", 0x80046d08}, -{"machine/lpt.h", "LPT_IRQ", 0x80047001}, -{"netinet/ip_fil.h", "SIOCSETFF", 0x8004723e}, -{"netinet/ip_fil.h", "SIOCFRENB", 0x80047248}, -{"netinet/ip_fil.h", "SIOCFRSYN", 0x80047249}, -{"sys/sockio.h", "SIOCSHIWAT", 0x80047300}, -{"sys/sockio.h", "SIOCSLOWAT", 0x80047302}, -{"machine/spigot.h", "SPIGOT_SETINT", 0x80047305}, -{"sys/sockio.h", "SIOCSPGRP", 0x80047308}, -{"machine/cdk.h", "STL_SETPFLAG", 0x80047351}, -{"sys/ioctl_compat.h", "OTIOCSETD", 0x80047401}, -{"sys/ttycom.h", "TIOCMODS", 0x80047404}, -{"sys/ttycom.h", "TIOCFLUSH", 0x80047410}, -{"sys/ttycom.h", "TIOCSETD", 0x8004741b}, -{"net/if_ppp.h", "PPPIOCSMTU", 0x80047448}, -{"net/slip.h", "SLIOCSUNIT", 0x80047450}, -{"net/if_ppp.h", "PPPIOCSMAXCID", 0x80047451}, -{"net/if_ppp.h", "PPPIOCSMRU", 0x80047452}, -{"net/slip.h", "SLIOCSOUTFILL", 0x80047453}, -{"net/slip.h", "SLIOCSKEEPAL", 0x80047454}, -{"net/if_ppp.h", "PPPIOCSRASYNCMAP", 0x80047454}, -{"sys/ttycom.h", "TIOCSDRAINWAIT", 0x80047457}, -{"net/if_ppp.h", "PPPIOCSASYNCMAP", 0x80047457}, -{"net/if_ppp.h", "PPPIOCSFLAGS", 0x80047459}, -{"net/if_tun.h", "TUNSDEBUG", 0x8004745a}, -{"sys/ttycom.h", "TIOCMSDTRWAIT", 0x8004745b}, -{"net/if_tun.h", "TUNSLMODE", 0x8004745d}, -{"net/if_tun.h", "TUNSIFMODE", 0x8004745e}, -{"net/if_tun.h", "TUNSIFHEAD", 0x80047460}, -{"sys/ttycom.h", "TIOCEXT", 0x80047460}, -{"sys/ttycom.h", "TIOCCONS", 0x80047462}, -{"sys/ttycom.h", "TIOCUCNTL", 0x80047466}, -{"sys/ttycom.h", "TIOCREMOTE", 0x80047469}, -{"sys/ttycom.h", "TIOCMBIC", 0x8004746b}, -{"sys/ttycom.h", "TIOCMBIS", 0x8004746c}, -{"sys/ttycom.h", "TIOCMSET", 0x8004746d}, -{"sys/ttycom.h", "TIOCPKT", 0x80047470}, -{"sys/ttycom.h", "TIOCSPGRP", 0x80047476}, -{"sys/ioctl_compat.h", "TIOCLSET", 0x8004747d}, -{"sys/ioctl_compat.h", "TIOCLBIC", 0x8004747e}, -{"sys/ioctl_compat.h", "TIOCLBIS", 0x8004747f}, -{"machine/ioctl_meteor.h", "METEORCAPTUR", 0x80047801}, -{"machine/ioctl_meteor.h", "METEORSFMT", 0x80047807}, -{"machine/ioctl_meteor.h", "METEORSINPUT", 0x80047808}, -{"machine/ioctl_meteor.h", "METEORSSIGNAL", 0x8004780c}, -{"machine/ioctl_bt848.h", "TVTUNER_SETCHNL", 0x80047820}, -{"machine/ioctl_bt848.h", "TVTUNER_SETTYPE", 0x80047821}, -{"machine/ioctl_bt848.h", "TVTUNER_SETFREQ", 0x80047823}, -{"machine/ioctl_bt848.h", "BT848_SHUE", 0x80047825}, -{"machine/ioctl_bt848.h", "BT848_SBRIG", 0x80047826}, -{"machine/ioctl_bt848.h", "BT848_SCSAT", 0x80047827}, -{"machine/ioctl_bt848.h", "BT848_SCONT", 0x80047828}, -{"machine/ioctl_bt848.h", "BT848_SVSAT", 0x80047829}, -{"machine/ioctl_bt848.h", "BT848_SUSAT", 0x8004782a}, -{"machine/ioctl_bt848.h", "BT848_SAUDIO", 0x8004782e}, -{"machine/ioctl_bt848.h", "BT848_SBTSC", 0x80047830}, -{"machine/ioctl_bt848.h", "TVTUNER_SETAFC", 0x80047835}, -{"machine/ioctl_bt848.h", "BT848_SLNOTCH", 0x80047837}, -{"machine/ioctl_bt848.h", "RADIO_SETMODE", 0x8004783a}, -{"machine/ioctl_bt848.h", "RADIO_SETFREQ", 0x8004783b}, -{"machine/ioctl_bt848.h", "METEORSACTPIXFMT", 0x80047840}, -{"machine/ioctl_bt848.h", "BT848SFMT", 0x80047843}, -{"machine/ioctl_bt848.h", "BT848SCBUF", 0x80047844}, -{"machine/ioctl_bt848.h", "BT848_GPIO_SET_EN", 0x80047848}, -{"machine/ioctl_bt848.h", "BT848_GPIO_SET_DATA", 0x8004784a}, -{"sys/chio.h", "CHIOPOSITION", 0x80066303}, -{"sys/cdio.h", "CDIOCPLAYMSF", 0x80066319}, -{"sys/ioctl_compat.h", "TIOCSETP", 0x80067409}, -{"sys/ioctl_compat.h", "TIOCSETN", 0x8006740a}, -{"sys/ioctl_compat.h", "TIOCSETC", 0x80067411}, -{"sys/ioctl_compat.h", "TIOCSLTC", 0x80067475}, -{"machine/ioctl_meteor.h", "METEORCAPFRM", 0x80067802}, -{"machine/i4b_ioctl.h", "I4B_DISCONNECT_REQ", 0x80083403}, -{"machine/i4b_ioctl.h", "I4B_PROT_IND", 0x8008340a}, -{"machine/perfmon.h", "PMIOSETUP", 0x80083501}, -{"net/bpf.h", "BIOCSETF", 0x80084267}, -{"net/bpf.h", "BIOCSRTIMEOUT", 0x8008426d}, -{"sys/fbio.h", "FBIO_SETDISPSTART", 0x8008466e}, -{"sys/kbio.h", "KDSETREPEAT", 0x80084b66}, -{"pccard/cardinfo.h", "PIOCSPOW", 0x80085009}, -{"sys/soundcard.h", "SNDCTL_SEQ_OUTOFBAND", 0x80085112}, -{"machine/soundcard.h", "SNDCTL_SEQ_OUTOFBAND", 0x80085112}, -{"machine/speaker.h", "SPKRTONE", 0x80085301}, -{"sys/wormio.h", "WORMIOCPREPDISK", 0x80085714}, -{"sys/wormio.h", "WORMIOCFIXATION", 0x80085716}, -{"sys/cdio.h", "CDIOCPLAYBLOCKS", 0x80086302}, -{"sys/disklabel.h", "DIOCGPART", 0x80086468}, -{"sys/mtio.h", "MTIOCTOP", 0x80086d01}, -{"net/if_ppp.h", "PPPIOCSACTIVE", 0x80087446}, -{"net/if_ppp.h", "PPPIOCSPASS", 0x80087447}, -{"net/if_ppp.h", "PPPIOCSNPMODE", 0x8008744b}, -{"net/if_tun.h", "TUNSIFINFO", 0x8008745b}, -{"sys/ttycom.h", "TIOCSWINSZ", 0x80087467}, -{"machine/pcvt_ioctl.h", "CONSOLE_X_BELL", 0x8008747b}, -{"sys/consio.h", "VT_SETMODE", 0x80087602}, -{"machine/pcvt_ioctl.h", "VT_SETMODE", 0x80087602}, -{"sys/chio.h", "CHIOMOVE", 0x800a6301}, -{"sys/timepps.h", "PPS_IOC_KCBIND", 0x800c3107}, -{"machine/i4b_ioctl.h", "I4B_UPDOWN_IND", 0x800c3407}, -{"machine/i4b_ioctl.h", "I4B_CTRL_DOWNLOAD", 0x800c3464}, -{"sys/consio.h", "KDRASTER", 0x800c4b64}, -{"machine/pcvt_ioctl.h", "VGACURSOR", 0x800c5664}, -{"sys/chio.h", "CHIOGSTATUS", 0x800c6308}, -{"sys/cdrio.h", "CDRIOCOPENTRACK", 0x800c6368}, -{"sys/kbio.h", "PIO_KEYMAPENT", 0x800c6b0b}, -{"sys/memrange.h", "MEMRANGE_SET", 0x800c6d33}, -{"net/if_ppp.h", "PPPIOCSCOMPRESS", 0x800c744d}, -{"machine/ioctl_meteor.h", "METEORSETGEO", 0x800c7803}, -{"sys/chio.h", "CHIOEXCHANGE", 0x800e6302}, -{"machine/i4b_ioctl.h", "I4B_DIALOUT_RESP", 0x80103405}, -{"machine/i4b_debug.h", "I4B_CTL_SET_DEBUG", 0x80104301}, -{"cam/scsi/scsi_targetio.h", "TARGCTLIOFREEUNIT", 0x80104308}, -{"netgraph/ng_message.h", "NGIOCSETNAME", 0x80104e29}, -{"pccard/cardinfo.h", "PIOCSIO", 0x80105005}, -{"machine/i4b_trace.h", "I4B_TRC_SETA", 0x80105402}, -{"machine/pcvt_ioctl.h", "VGAWRITEPEL", 0x8010566f}, -{"machine/iic.h", "I2CSTART", 0x80106901}, -{"machine/iic.h", "I2CRSTCARD", 0x80106903}, -{"machine/iic.h", "I2CWRITE", 0x80106904}, -{"machine/iic.h", "I2CREAD", 0x80106905}, -{"machine/ioctl_meteor.h", "METEORSVIDEO", 0x8010780d}, -{"machine/ioctl_bt848.h", "BT848_SCAPAREA", 0x80107845}, -{"machine/i4b_ioctl.h", "I4B_TIMEOUT_UPD", 0x80143406}, -{"machine/soundcard.h", "SNDCTL_COPR_WDATA", 0x80144304}, -{"sys/soundcard.h", "SNDCTL_COPR_WDATA", 0x80144304}, -{"sys/soundcard.h", "SNDCTL_COPR_WCODE", 0x80144305}, -{"machine/soundcard.h", "SNDCTL_COPR_WCODE", 0x80144305}, -{"sys/fbio.h", "FBIOPUTCMAP", 0x80144603}, -{"sys/fbio.h", "FBIOGETCMAP", 0x80144604}, -{"machine/pcvt_ioctl.h", "KBDMOUSESET", 0x80144b1a}, -{"pccard/cardinfo.h", "PIOCSMEM", 0x80145003}, -{"machine/pcvt_ioctl.h", "VGASETFONTATTR", 0x80145666}, -{"machine/smb.h", "SMB_QUICK_WRITE", 0x80146901}, -{"machine/smb.h", "SMB_QUICK_READ", 0x80146902}, -{"machine/smb.h", "SMB_SENDB", 0x80146903}, -{"machine/smb.h", "SMB_RECVB", 0x80146904}, -{"machine/smb.h", "SMB_WRITEB", 0x80146905}, -{"machine/smb.h", "SMB_WRITEW", 0x80146906}, -{"machine/smb.h", "SMB_READB", 0x80146907}, -{"machine/smb.h", "SMB_READW", 0x80146908}, -{"machine/smb.h", "SMB_PCALL", 0x80146909}, -{"machine/smb.h", "SMB_BWRITE", 0x8014690a}, -{"machine/smb.h", "SMB_BREAD", 0x8014690b}, -{"machine/ioctl_meteor.h", "METEORSCOUNT", 0x8014780a}, -{"machine/i4b_ioctl.h", "I4B_ACTIVE_DIAGNOSTIC", 0x80183466}, -{"netatm/atm_ioctl.h", "AIOCCFG", 0x80184180}, -{"sys/ccdvar.h", "CCDIOCCLR", 0x80184611}, -{"sys/fbio.h", "FBIO_GETPALETTE", 0x80184671}, -{"sys/fbio.h", "FBIO_SETPALETTE", 0x80184672}, -{"sys/consio.h", "CONS_SSAVER", 0x80186305}, -{"machine/mouse.h", "MOUSE_SETMODE", 0x801c4d03}, -{"sys/timepps.h", "PPS_IOC_SETPARAMS", 0x80203103}, -{"machine/i4b_ioctl.h", "I4B_CONNECT_RESP", 0x80203402}, -{"net/bpf.h", "BIOCSETIF", 0x8020426c}, -{"machine/i4b_debug.h", "I4B_CTL_CLR_HSCXSTAT", 0x80204303}, -{"sys/sockio.h", "SIOCSIFADDR", 0x8020690c}, -{"sys/sockio.h", "SIOCSIFDSTADDR", 0x8020690e}, -{"sys/sockio.h", "SIOCSIFFLAGS", 0x80206910}, -{"sys/sockio.h", "SIOCSIFBRDADDR", 0x80206913}, -{"sys/sockio.h", "SIOCSIFNETMASK", 0x80206916}, -{"sys/sockio.h", "SIOCSIFMETRIC", 0x80206918}, -{"sys/sockio.h", "SIOCDIFADDR", 0x80206919}, -{"sys/sockio.h", "SIOCADDMULTI", 0x80206931}, -{"sys/sockio.h", "SIOCDELMULTI", 0x80206932}, -{"sys/sockio.h", "SIOCSIFMTU", 0x80206934}, -{"sys/sockio.h", "SIOCSIFPHYS", 0x80206936}, -{"sys/sockio.h", "SIOCSIFGENERIC", 0x80206939}, -{"machine/if_wl_wavelan.h", "SIOCDWLCACHE", 0x80206940}, -{"machine/if_wl_wavelan.h", "SIOCSWLTHR", 0x80206941}, -{"netatalk/phase2.h", "SIOCPHASE1", 0x80206964}, -{"netatalk/phase2.h", "SIOCPHASE2", 0x80206965}, -{"net/if_ppp.h", "PPPIOCSXASYNCMAP", 0x8020744f}, -{"netatm/atm_ioctl.h", "AIOCDEL", 0x80244182}, -{"sys/wormio.h", "WORMIOCWRITESESSION", 0x80245720}, -{"sys/soundcard.h", "SNDCTL_FM_LOAD_INSTR", 0x80285107}, -{"machine/soundcard.h", "SNDCTL_FM_LOAD_INSTR", 0x80285107}, -{"sys/wormio.h", "WORMIOCPREPTRACK", 0x80285715}, -{"machine/i4b_rbch_ioctl.h", "I4B_RBCH_DIALOUT", 0x80295201}, -{"sys/chio.h", "CHIOSETVOLTAG", 0x802a6309}, -{"sys/fbio.h", "FBIOSCURSOR", 0x802c4618}, -{"machine/ioctl_fd.h", "FD_STYPE", 0x802c463f}, -{"machine/pcvt_ioctl.h", "VGALOADCHAR", 0x802c5665}, -{"sys/ttycom.h", "TIOCSETA", 0x802c7414}, -{"sys/ttycom.h", "TIOCSETAW", 0x802c7415}, -{"sys/ttycom.h", "TIOCSETAF", 0x802c7416}, -{"machine/pcvt_ioctl.h", "VGASETSCREEN", 0x80305668}, -{"sys/sockio.h", "SIOCADDRT", 0x8030720a}, -{"sys/sockio.h", "SIOCDELRT", 0x8030720b}, -{"cam/scsi/scsi_targetio.h", "TARGIOCSETISTATE", 0x80344305}, -{"netatm/atm_ioctl.h", "AIOCADD", 0x803c4181}, -{"machine/mouse.h", "MOUSE_SETVARS", 0x80404d07}, -{"sys/sockio.h", "SIOCAIFADDR", 0x8040691a}, -{"sys/sockio.h", "SIOCSIFPHYADDR", 0x80406946}, -{"netinet6/in6_var.h", "SIOCSIFPREFIX_IN6", 0x80406964}, -{"netinet6/in6_var.h", "SIOCDIFPREFIX_IN6", 0x80406966}, -{"netatm/atm_ioctl.h", "AIOCSET", 0x80484184}, -{"machine/pcvt_ioctl.h", "KBDSCKEY", 0x80484b11}, -{"netinet6/in6_var.h", "SIOCAIFPREFIX_IN6", 0x80606967}, -{"netinet6/in6_var.h", "SIOCCIFPREFIX_IN6", 0x80606968}, -{"netinet6/in6_var.h", "SIOCSGIFPREFIX_IN6", 0x80606969}, -{"sys/consio.h", "CONS_SETTERM", 0x80686371}, -{"netinet/ip_nat.h", "SIOCADNAT", 0x80707250}, -{"netinet/ip_nat.h", "SIOCRMNAT", 0x80707251}, -{"netinet6/in6_var.h", "SIOCAIFADDR_IN6", 0x8078691a}, -{"netinet6/in6_var.h", "SIOCSIFPHYADDR_IN6", 0x80786946}, -{"machine/i4b_ioctl.h", "I4B_CONNECT_REQ", 0x80843401}, -{"machine/cronyx.h", "CXIOCSETMODE", 0x80847802}, -{"sys/xrpuio.h", "XRPU_IOC_TIMECOUNTING", 0x80a03601}, -{"machine/ioctl_fd.h", "FD_FORM", 0x80a4463d}, -{"netinet/ip_fil.h", "SIOCADAFR", 0x80c0723c}, -{"netinet/ip_fil.h", "SIOCRMAFR", 0x80c0723d}, -{"netinet/ip_fil.h", "SIOCADIFR", 0x80c07243}, -{"netinet/ip_fil.h", "SIOCRMIFR", 0x80c07244}, -{"netinet/ip_fil.h", "SIOCINAFR", 0x80c07246}, -{"netinet/ip_fil.h", "SIOCINIFR", 0x80c07247}, -{"sys/consio.h", "PIO_SCRNMAP", 0x81006b03}, -{"machine/ioctl_ctx.h", "CTX_SET_LUT", 0x81007805}, -{"sys/disklabel.h", "DIOCSDINFO", 0x81146466}, -{"sys/disklabel.h", "DIOCWDINFO", 0x81146467}, -{"sys/sockio.h", "SIOCALIFADDR", 0x8118691b}, -{"sys/sockio.h", "SIOCDLIFADDR", 0x8118691d}, -{"netinet6/in6_var.h", "SIOCSIFADDR_IN6", 0x8120690c}, -{"netinet6/in6_var.h", "SIOCSIFDSTADDR_IN6", 0x8120690e}, -{"netinet6/in6_var.h", "SIOCSIFNETMASK_IN6", 0x81206916}, -{"netinet6/in6_var.h", "SIOCDIFADDR_IN6", 0x81206919}, -{"sys/kbio.h", "PIO_DEADKEYMAP", 0x862a6b09}, -{"machine/ioctl_bt848.h", "BT848SCLIP", 0x86407842}, -{"sys/consio.h", "PIO_FONT8x8", 0x88006340}, -{"sys/kbio.h", "PIO_KEYMAP", 0x8a026b07}, -{"sys/consio.h", "PIO_FONT8x14", 0x8e006342}, -{"sys/soundcard.h", "SNDCTL_COPR_SENDMSG", 0x8fa44308}, -{"machine/soundcard.h", "SNDCTL_COPR_SENDMSG", 0x8fa44308}, -{"sys/consio.h", "PIO_FONT8x16", 0x90006344}, -{"pccard/cardinfo.h", "PIOCGREG", 0xc0025064}, -{"machine/i4b_ioctl.h", "I4B_CDID_REQ", 0xc0043400}, -{"machine/soundcard.h", "AIOGMIX", 0xc004410d}, -{"sys/soundcard.h", "AIOGMIX", 0xc004410d}, -{"machine/soundcard.h", "AIOSMIX", 0xc004410e}, -{"sys/soundcard.h", "AIOSMIX", 0xc004410e}, -{"machine/soundcard.h", "AIOSTOP", 0xc004410f}, -{"sys/soundcard.h", "AIOSTOP", 0xc004410f}, -{"net/bpf.h", "BIOCSBLEN", 0xc0044266}, -{"sys/vnioctl.h", "VNIOCGSET", 0xc0044602}, -{"sys/vnioctl.h", "VNIOCGCLEAR", 0xc0044603}, -{"sys/vnioctl.h", "VNIOCUSET", 0xc0044604}, -{"sys/vnioctl.h", "VNIOCUCLEAR", 0xc0044605}, -{"machine/soundcard.h", "SNDCTL_DSP_SPEED", 0xc0045002}, -{"sys/soundcard.h", "SNDCTL_DSP_SPEED", 0xc0045002}, -{"sys/soundcard.h", "SNDCTL_DSP_STEREO", 0xc0045003}, -{"machine/soundcard.h", "SNDCTL_DSP_STEREO", 0xc0045003}, -{"machine/soundcard.h", "SNDCTL_DSP_SETFMT", 0xc0045005}, -{"sys/soundcard.h", "SNDCTL_DSP_SETFMT", 0xc0045005}, -{"machine/soundcard.h", "SOUND_PCM_WRITE_CHANNELS", 0xc0045006}, -{"sys/soundcard.h", "SOUND_PCM_WRITE_CHANNELS", 0xc0045006}, -{"machine/soundcard.h", "SOUND_PCM_WRITE_FILTER", 0xc0045007}, -{"sys/soundcard.h", "SOUND_PCM_WRITE_FILTER", 0xc0045007}, -{"pccard/cardinfo.h", "PIOCRWMEM", 0xc0045008}, -{"sys/soundcard.h", "SNDCTL_DSP_SUBDIVIDE", 0xc0045009}, -{"machine/soundcard.h", "SNDCTL_DSP_SUBDIVIDE", 0xc0045009}, -{"machine/soundcard.h", "SNDCTL_DSP_SETFRAGMENT", 0xc004500a}, -{"sys/soundcard.h", "SNDCTL_DSP_SETFRAGMENT", 0xc004500a}, -{"machine/soundcard.h", "SNDCTL_SEQ_CTRLRATE", 0xc0045103}, -{"sys/soundcard.h", "SNDCTL_SEQ_CTRLRATE", 0xc0045103}, -{"sys/soundcard.h", "SNDCTL_SYNTH_MEMAVL", 0xc004510e}, -{"machine/soundcard.h", "SNDCTL_SYNTH_MEMAVL", 0xc004510e}, -{"machine/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0xc0045401}, -{"sys/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0xc0045401}, -{"machine/soundcard.h", "SNDCTL_TMR_TEMPO", 0xc0045405}, -{"sys/soundcard.h", "SNDCTL_TMR_TEMPO", 0xc0045405}, -{"sys/soundcard.h", "SNDCTL_TMR_SOURCE", 0xc0045406}, -{"machine/soundcard.h", "SNDCTL_TMR_SOURCE", 0xc0045406}, -{"net/if_atm.h", "SIOCRAWATM", 0xc004617a}, -{"sys/soundcard.h", "SNDCTL_MIDI_PRETIME", 0xc0046d00}, -{"machine/soundcard.h", "SNDCTL_MIDI_PRETIME", 0xc0046d00}, -{"machine/soundcard.h", "SNDCTL_MIDI_MPUMODE", 0xc0046d01}, -{"sys/soundcard.h", "SNDCTL_MIDI_MPUMODE", 0xc0046d01}, -{"netinet/ip_fil.h", "SIOCIPFFL", 0xc0047241}, -{"netinet/ip_nat.h", "SIOCFLNAT", 0xc0047256}, -{"netinet/ip_nat.h", "SIOCCNATL", 0xc0047257}, -{"machine/ioctl_bt848.h", "BT848_I2CWR", 0xc0047839}, -{"machine/perfmon.h", "PMIOGET", 0xc0083507}, -{"sys/soundcard.h", "AIOSSIZE", 0xc008410b}, -{"machine/soundcard.h", "AIOSSIZE", 0xc008410b}, -{"sys/soundcard.h", "AIOSYNC", 0xc008410f}, -{"machine/soundcard.h", "AIOSYNC", 0xc008410f}, -{"sys/vnioctl.h", "VNIOCATTACH", 0xc0084600}, -{"sys/vnioctl.h", "VNIOCDETACH", 0xc0084601}, -{"net/if_atm.h", "SIOCATMENA", 0xc008617b}, -{"net/if_atm.h", "SIOCATMDIS", 0xc008617c}, -{"sys/cdio.h", "CDIOREADTOCENTRYS", 0xc0086305}, -{"sys/sockio.h", "OSIOCGIFCONF", 0xc0086914}, -{"sys/sockio.h", "SIOCGIFCONF", 0xc0086924}, -{"net/if_ppp.h", "PPPIOCGNPMODE", 0xc008744c}, -{"machine/perfmon.h", "PMIOREAD", 0xc00c3504}, -{"dev/usb/usb.h", "USB_GET_ALTINTERFACE", 0xc00c5566}, -{"dev/usb/usb.h", "USB_SET_ALTINTERFACE", 0xc00c5567}, -{"dev/usb/usb.h", "USB_GET_NO_ALT", 0xc00c5568}, -{"dev/usb/usb.h", "USB_GET_FULL_DESC", 0xc00c556d}, -{"sys/cdio.h", "CDIOCREADSUBCHANNEL", 0xc00c6303}, -{"sys/cdio.h", "CDIOREADTOCENTRY", 0xc00c6306}, -{"sys/kbio.h", "GIO_KEYMAPENT", 0xc00c6b0a}, -{"sys/memrange.h", "MEMRANGE_GET", 0xc00c6d32}, -{"cam/scsi/scsi_targetio.h", "TARGCTLIOALLOCUNIT", 0xc0104307}, -{"pccard/cardinfo.h", "PIOCGIO", 0xc0105004}, -{"dev/usb/usb.h", "USB_GET_CONFIG_DESC", 0xc010556a}, -{"machine/pcvt_ioctl.h", "VGAREADPEL", 0xc010566e}, -{"sys/cdio.h", "CDIOCREADAUDIO", 0xc010631f}, -{"machine/soundcard.h", "AIOSFMT", 0xc010660c}, -{"sys/soundcard.h", "AIOSFMT", 0xc010660c}, -{"sys/pciio.h", "PCIOCREAD", 0xc0107002}, -{"sys/pciio.h", "PCIOCWRITE", 0xc0107003}, -{"sys/pciio.h", "PCIOCATTACHED", 0xc0107004}, -{"machine/i4b_ioctl.h", "I4B_CTRL_INFO_REQ", 0xc0143404}, -{"sys/soundcard.h", "SNDCTL_COPR_RDATA", 0xc0144302}, -{"machine/soundcard.h", "SNDCTL_COPR_RDATA", 0xc0144302}, -{"machine/soundcard.h", "SNDCTL_COPR_RCODE", 0xc0144303}, -{"sys/soundcard.h", "SNDCTL_COPR_RCODE", 0xc0144303}, -{"sys/soundcard.h", "SNDCTL_COPR_RUN", 0xc0144306}, -{"machine/soundcard.h", "SNDCTL_COPR_RUN", 0xc0144306}, -{"machine/soundcard.h", "SNDCTL_COPR_HALT", 0xc0144307}, -{"sys/soundcard.h", "SNDCTL_COPR_HALT", 0xc0144307}, -{"pccard/cardinfo.h", "PIOCGMEM", 0xc0145002}, -{"machine/pcvt_ioctl.h", "VGAGETFONTATTR", 0xc0145667}, -{"sys/wormio.h", "WORMIOCFIRSTWRITABLEADDR", 0xc0145721}, -{"sys/consio.h", "CONS_MOUSECTL", 0xc014630a}, -{"sys/consio.h", "CONS_GETINFO", 0xc0146349}, -{"sys/kbio.h", "GETFKEY", 0xc0146b00}, -{"sys/kbio.h", "SETFKEY", 0xc0146b01}, -{"sys/sockio.h", "SIOCGETVIFCNT", 0xc014720f}, -{"sys/sockio.h", "SIOCGETSGCNT", 0xc0147210}, -{"machine/ioctl_bt848.h", "TVTUNER_GETCHNLSET", 0xc0147846}, -{"sys/ccdvar.h", "CCDIOCSET", 0xc0184610}, -{"machine/apm_bios.h", "APMIO_BIOS", 0xc018500a}, -{"dev/usb/usb.h", "USB_REQUEST", 0xc0185501}, -{"dev/usb/usb.h", "USB_GET_INTERFACE_DESC", 0xc018556b}, -{"dev/usb/usb.h", "USB_GET_ENDPOINT_DESC", 0xc018556c}, -{"dev/usb/usb.h", "USB_DO_REQUEST", 0xc018556f}, -{"machine/pcvt_ioctl.h", "VGAPCVTID", 0xc0185671}, -{"sys/consio.h", "CONS_GSAVER", 0xc0186306}, -{"sys/dvdio.h", "DVDIOCREPORTKEY", 0xc01863c8}, -{"sys/dvdio.h", "DVDIOCSENDKEY", 0xc01863c9}, -{"netinet/ip_nat.h", "SIOCGNATL", 0xc0187253}, -{"machine/soundcard.h", "AIOGCAP", 0xc01c410f}, -{"sys/soundcard.h", "AIOGCAP", 0xc01c410f}, -{"machine/ioctl_bt848.h", "METEORGSUPPIXFMT", 0xc01c7841}, -{"netatm/atm_ioctl.h", "AIOCINFO", 0xc0204185}, -{"machine/i4b_debug.h", "I4B_CTL_GET_HSCXSTAT", 0xc0204302}, -{"sys/sockio.h", "OSIOCGIFADDR", 0xc020690d}, -{"sys/sockio.h", "OSIOCGIFDSTADDR", 0xc020690f}, -{"sys/sockio.h", "SIOCGIFFLAGS", 0xc0206911}, -{"sys/sockio.h", "OSIOCGIFBRDADDR", 0xc0206912}, -{"sys/sockio.h", "OSIOCGIFNETMASK", 0xc0206915}, -{"sys/sockio.h", "SIOCGIFMETRIC", 0xc0206917}, -{"sys/sockio.h", "SIOCGIFADDR", 0xc0206921}, -{"sys/sockio.h", "SIOCGIFDSTADDR", 0xc0206922}, -{"sys/sockio.h", "SIOCGIFBRDADDR", 0xc0206923}, -{"sys/sockio.h", "SIOCGIFNETMASK", 0xc0206925}, -{"sys/sockio.h", "SIOCGIFMTU", 0xc0206933}, -{"sys/sockio.h", "SIOCGIFPHYS", 0xc0206935}, -{"sys/sockio.h", "SIOCSIFMEDIA", 0xc0206937}, -{"sys/sockio.h", "SIOCGIFGENERIC", 0xc020693a}, -{"machine/if_wl_wavelan.h", "SIOCGWLCNWID", 0xc020693c}, -{"machine/if_wl_wavelan.h", "SIOCSWLCNWID", 0xc020693d}, -{"machine/if_wl_wavelan.h", "SIOCGWLPSA", 0xc020693e}, -{"machine/if_wl_wavelan.h", "SIOCSWLPSA", 0xc020693f}, -{"machine/if_wl_wavelan.h", "SIOCGWLEEPROM", 0xc0206942}, -{"machine/if_wl_wavelan.h", "SIOCGWLCACHE", 0xc0206943}, -{"machine/if_wl_wavelan.h", "SIOCGWLCITEM", 0xc0206944}, -{"sys/sockio.h", "SIOCGIFPSRCADDR", 0xc0206947}, -{"sys/sockio.h", "SIOCGIFPDSTADDR", 0xc0206948}, -{"sys/soundcard.h", "SNDCTL_MIDI_MPUCMD", 0xc0216d02}, -{"machine/soundcard.h", "SNDCTL_MIDI_MPUCMD", 0xc0216d02}, -{"sys/pciio.h", "PCIOCGETCONF", 0xc0247001}, -{"netinet6/in6_var.h", "SIOCGETMIFCNT_IN6", 0xc024756b}, -{"machine/pcvt_ioctl.h", "VGAPCVTINFO", 0xc0285672}, -{"sys/sockio.h", "SIOCGIFMEDIA", 0xc0286938}, -{"machine/cronyx.h", "CXIOCGETSTAT", 0xc0287803}, -{"sys/fbio.h", "FBIOGCURSOR", 0xc02c4619}, -{"netinet6/in6_var.h", "SIOCGIFINFO_IN6", 0xc02c694c}, -{"sys/timepps.h", "PPS_IOC_FETCH", 0xc0303106}, -{"machine/pcvt_ioctl.h", "VGAGETSCREEN", 0xc0305669}, -{"netinet6/in6_var.h", "SIOCGNBRINFO_IN6", 0xc030694e}, -{"netinet/ip_fil.h", "SIOCATHST", 0xc030724e}, -{"cam/scsi/scsi_targetio.h", "TARGIOCGETISTATE", 0xc0344306}, -{"netinet/ip_fil.h", "SIOCAUTHW", 0xc038724c}, -{"netinet/ip_fil.h", "SIOCAUTHR", 0xc038724d}, -{"netinet6/in6_var.h", "SIOCGIFPREFIX_IN6", 0xc0406965}, -{"machine/mouse.h", "MOUSE_READSTATE", 0xc0444d08}, -{"machine/mouse.h", "MOUSE_READDATA", 0xc0444d09}, -{"machine/pcvt_ioctl.h", "KBDGCKEY", 0xc0484b10}, -{"machine/pcvt_ioctl.h", "KBDGOKEY", 0xc0484b12}, -{"net/if_ppp.h", "SIOCGPPPCSTATS", 0xc048697a}, -{"net/if_ppp.h", "SIOCGPPPSTATS", 0xc048697b}, -{"netinet6/in6_var.h", "SIOCGETSGCNT_IN6", 0xc050756a}, -{"sys/consio.h", "CONS_GETTERM", 0xc0686370}, -{"machine/i4b_debug.h", "I4B_CTL_GET_LAPDSTAT", 0xc0704304}, -{"machine/soundcard.h", "SNDCTL_MIDI_INFO", 0xc074510c}, -{"sys/soundcard.h", "SNDCTL_MIDI_INFO", 0xc074510c}, -{"machine/comstats.h", "COM_GETPORTSTATS", 0xc080631e}, -{"machine/comstats.h", "COM_CLRPORTSTATS", 0xc080631f}, -{"machine/pcaudioio.h", "AUDIO_SETINFO", 0xc0844102}, -{"machine/cronyx.h", "CXIOCGETMODE", 0xc0847801}, -{"machine/soundcard.h", "SNDCTL_SYNTH_INFO", 0xc08c5102}, -{"sys/soundcard.h", "SNDCTL_SYNTH_INFO", 0xc08c5102}, -{"sys/fbio.h", "FBIO_MODEINFO", 0xc09c4667}, -{"sys/fbio.h", "FBIO_FINDMODE", 0xc09c4668}, -{"sys/consio.h", "CONS_MODEINFO", 0xc09c6366}, -{"sys/consio.h", "CONS_FINDMODE", 0xc09c6367}, -{"sys/consio.h", "CONS_ADPINFO", 0xc0a46365}, -{"machine/comstats.h", "COM_GETBRDSTATS", 0xc0a86320}, -{"pccard/cardinfo.h", "PIOCSDRV", 0xc0ac5006}, -{"netinet/ip_fil.h", "SIOCZRLST", 0xc0c0724b}, -{"machine/ioctl_bt848.h", "BT848_WEEPROM", 0xc1047832}, -{"machine/ioctl_bt848.h", "BT848_REEPROM", 0xc1047833}, -{"machine/ioctl_bt848.h", "BT848_SIGNATURE", 0xc1047834}, -{"dev/usb/usb.h", "USB_GET_STRING_DESC", 0xc108556e}, -{"netinet/ip_fil.h", "SIOCFRZST", 0xc10c724a}, -{"sys/sockio.h", "SIOCGLIFADDR", 0xc118691c}, -{"netinet6/in6_var.h", "SIOCGIFADDR_IN6", 0xc1206921}, -{"netinet6/in6_var.h", "SIOCGIFDSTADDR_IN6", 0xc1206922}, -{"netinet6/in6_var.h", "SIOCGIFNETMASK_IN6", 0xc1206925}, -{"netinet6/in6_var.h", "SIOCGIFPSRCADDR_IN6", 0xc1206947}, -{"netinet6/in6_var.h", "SIOCGIFPDSTADDR_IN6", 0xc1206948}, -{"netinet6/in6_var.h", "SIOCGIFAFLAG_IN6", 0xc1206949}, -{"netinet6/in6_var.h", "SIOCSNDFLUSH_IN6", 0xc120694d}, -{"netinet6/in6_var.h", "SIOCSPFXFLUSH_IN6", 0xc120694f}, -{"netinet6/in6_var.h", "SIOCSRTRFLUSH_IN6", 0xc1206950}, -{"netinet6/in6_var.h", "SIOCGIFALIFETIME_IN6", 0xc1206951}, -{"netinet6/in6_var.h", "SIOCSIFALIFETIME_IN6", 0xc1206952}, -{"netinet6/in6_var.h", "SIOCGIFSTAT_IN6", 0xc1206953}, -{"netinet6/in6_var.h", "SIOCGIFSTAT_ICMP6", 0xc1206954}, -{"netinet6/in6_var.h", "SIOCGDRLST_IN6", 0xc128694a}, -{"dev/usb/usb.h", "USB_DEVICEINFO", 0xc1585504}, -{"cam/scsi/scsi_pass.h", "CAMIOCOMMAND", 0xc2601402}, -{"cam/scsi/scsi_pass.h", "CAMGETPASSTHRU", 0xc2601403}, -{"cam/scsi/scsi_targetio.h", "TARGIOCCOMMAND", 0xc2604304}, -{"sys/sockio.h", "SIOCGIFSTATUS", 0xc331693b}, -{"dev/usb/usb.h", "USB_GET_REPORT", 0xc4045517}, -{"netinet6/in6_var.h", "SIOCGPRLST_IN6", 0xc7b8694b}, -{"sys/dvdio.h", "DVDIOCREADSTRUCTURE", 0xc80c63ca}, -{"machine/soundcard.h", "SNDCTL_COPR_LOAD", 0xcfb04301}, -{"sys/soundcard.h", "SNDCTL_COPR_LOAD", 0xcfb04301}, -{"machine/soundcard.h", "SNDCTL_PMGR_IFACE", 0xcfb85001}, -{"sys/soundcard.h", "SNDCTL_PMGR_IFACE", 0xcfb85001}, -{"sys/soundcard.h", "SNDCTL_PMGR_ACCESS", 0xcfb85110}, -{"machine/soundcard.h", "SNDCTL_PMGR_ACCESS", 0xcfb85110}, diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/i386/signalent.h ybsd_common/usr.local/strace/freebsd/i386/signalent.h --- vendor/strace/freebsd/i386/signalent.h Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/freebsd/i386/signalent.h Wed Dec 31 19:00:00 1969 @@ -1,32 +0,0 @@ - "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 -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/i386/syscall.h ybsd_common/usr.local/strace/freebsd/i386/syscall.h --- vendor/strace/freebsd/i386/syscall.h Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/freebsd/i386/syscall.h Wed Dec 31 19:00:00 1969 @@ -1,274 +0,0 @@ -/* - * Automatically generated by ./../syscalls.pl on Thu Mar 8 18:14:07 2001 - */ - -#define sys_syscall printargs -int sys_exit(); -int sys_fork(); -int sys_read(); -int sys_write(); -int sys_open(); -int sys_close(); -int sys_wait4(); -int sys_creat(); -int sys_link(); -int sys_unlink(); -int sys_chdir(); -int sys_fchdir(); -int sys_mknod(); -int sys_chmod(); -int sys_chown(); -#define sys_break printargs -#define sys_getfsstat printargs -int sys_lseek(); -int sys_getpid(); -#define sys_mount printargs -#define sys_unmount printargs -#define sys_setuid printargs -int sys_getuid(); -#define sys_geteuid printargs -int sys_ptrace(); -int sys_recvmsg(); -int sys_sendmsg(); -int sys_recvfrom(); -int sys_accept(); -int sys_getpeername(); -int sys_getsockname(); -int sys_access(); -int sys_chflags(); -int sys_fchflags(); -#define sys_sync printargs -int sys_kill(); -int sys_stat(); -#define sys_getppid printargs -int sys_lstat(); -int sys_dup(); -int sys_pipe(); -#define sys_getegid printargs -#define sys_profil printargs -#define sys_ktrace printargs -int sys_sigaction(); -int sys_getgid(); -int sys_sigprocmask(); -#define sys_getlogin printargs -#define sys_setlogin printargs -#define sys_acct printargs -int sys_sigpending(); -int sys_sigaltstack(); -int sys_ioctl(); -#define sys_reboot printargs -#define sys_revoke printargs -int sys_symlink(); -int sys_readlink(); -int sys_execve(); -int sys_umask(); -int sys_chroot(); -int sys_fstat(); -#define sys_getkerninfo printargs -int sys_getpagesize(); -int sys_msync(); -int sys_vfork(); -int sys_sbrk(); -#define sys_sstk printargs -int sys_mmap(); -#define sys_vadvise printargs -int sys_munmap(); -int sys_mprotect(); -#define sys_madvise printargs -int sys_mincore(); -int sys_getgroups(); -int sys_setgroups(); -int sys_getpgrp(); -int sys_setpgid(); -int sys_setitimer(); -int sys_wait(); -#define sys_swapon printargs -int sys_getitimer(); -int sys_gethostname(); -int sys_sethostname(); -int sys_getdtablesize(); -int sys_dup2(); -int sys_fcntl(); -int sys_select(); -int sys_fsync(); -int sys_setpriority(); -int sys_socket(); -int sys_connect(); -int sys_accept(); -int sys_getpriority(); -int sys_send(); -int sys_recv(); -#define sys_sigreturn printargs -int sys_bind(); -int sys_setsockopt(); -int sys_listen(); -int sys_sigvec(); -int sys_sigblock(); -int sys_sigsetmask(); -int sys_sigsuspend(); -int sys_sigstack(); -int sys_recvmsg(); -int sys_sendmsg(); -int sys_gettimeofday(); -int sys_getrusage(); -int sys_getsockopt(); -int sys_readv(); -int sys_writev(); -int sys_settimeofday(); -int sys_fchown(); -int sys_fchmod(); -int sys_recvfrom(); -int sys_setreuid(); -int sys_setregid(); -int sys_rename(); -int sys_truncate(); -int sys_ftruncate(); -int sys_flock(); -int sys_mkfifo(); -int sys_sendto(); -int sys_shutdown(); -int sys_socketpair(); -int sys_mkdir(); -int sys_rmdir(); -int sys_utimes(); -int sys_adjtime(); -int sys_getpeername(); -int sys_gethostid(); -#define sys_sethostid printargs -int sys_getrlimit(); -int sys_setrlimit(); -int sys_killpg(); -int sys_setsid(); -int sys_quotactl(); -#define sys_quota printargs -int sys_getsockname(); -#define sys_nfssvc printargs -int sys_getdirentries(); -int sys_statfs(); -int sys_fstatfs(); -#define sys_getfh printargs -int sys_getdomainname(); -int sys_setdomainname(); -int sys_uname(); -#define sys_sysarch printargs -#define sys_rtprio printargs -#define sys_semsys printargs -#define sys_msgsys printargs -#define sys_shmsys printargs -int sys_pread(); -int sys_pwrite(); -#define sys_ntp_adjtime printargs -#define sys_setgid printargs -#define sys_setegid printargs -#define sys_seteuid printargs -int sys_stat(); -int sys_fstat(); -int sys_lstat(); -int sys_pathconf(); -int sys_fpathconf(); -int sys_getrlimit(); -int sys_setrlimit(); -int sys_getdirentries(); -int sys_mmap(); -#define sys___syscall printargs -int sys_lseek(); -int sys_truncate(); -int sys_ftruncate(); -int sys___sysctl(); -#define sys_mlock printargs -#define sys_munlock printargs -#define sys_undelete printargs -#define sys_futimes printargs -int sys_getpgid(); -int sys_poll(); -#define sys___semctl printargs -int sys_semget(); -int sys_semop(); -int sys_msgctl(); -int sys_msgget(); -int sys_msgsnd(); -int sys_msgrcv(); -int sys_shmat(); -int sys_shmctl(); -int sys_shmdt(); -int sys_shmget(); -#define sys_clock_gettime printargs -#define sys_clock_settime printargs -#define sys_clock_getres printargs -#define sys_nanosleep printargs -#define sys_minherit printargs -#define sys_rfork printargs -#define sys_openbsd_poll printargs -#define sys_issetugid printargs -#define sys_lchown printargs -int sys_getdents(); -#define sys_lchmod printargs -#define sys_netbsd_lchown printargs -#define sys_lutimes printargs -#define sys_netbsd_msync printargs -#define sys_nstat printargs -#define sys_nfstat printargs -#define sys_nlstat printargs -#define sys_fhstatfs printargs -#define sys_fhopen printargs -#define sys_fhstat printargs -#define sys_modnext printargs -#define sys_modstat printargs -#define sys_modfnext printargs -#define sys_modfind printargs -#define sys_kldload printargs -#define sys_kldunload printargs -#define sys_kldfind printargs -#define sys_kldnext printargs -#define sys_kldstat printargs -#define sys_kldfirstmod printargs -int sys_getsid(); -int sys_setresuid(); -int sys_setresgid(); -#define sys_aio_return printargs -#define sys_aio_suspend printargs -#define sys_aio_cancel printargs -#define sys_aio_error printargs -#define sys_aio_read printargs -#define sys_aio_write printargs -#define sys_lio_listio printargs -#define sys_yield printargs -#define sys_thr_sleep printargs -#define sys_thr_wakeup printargs -#define sys_mlockall printargs -#define sys_munlockall printargs -int sys___getcwd(); -#define sys_sched_setparam printargs -#define sys_sched_getparam printargs -#define sys_sched_setscheduler printargs -#define sys_sched_getscheduler printargs -#define sys_sched_yield printargs -#define sys_sched_get_priority_max printargs -#define sys_sched_get_priority_min printargs -#define sys_sched_rr_get_interval printargs -#define sys_utrace printargs -int sys_sendfile(); -#define sys_kldsym printargs -#define sys_jail printargs -int sys_sigprocmask(); -int sys_sigsuspend(); -int sys_sigaction(); -int sys_sigpending(); -#define sys_sigreturn printargs -#define sys___acl_get_file printargs -#define sys___acl_set_file printargs -#define sys___acl_get_fd printargs -#define sys___acl_set_fd printargs -#define sys___acl_delete_file printargs -#define sys___acl_delete_fd printargs -#define sys___acl_aclcheck_file printargs -#define sys___acl_aclcheck_fd printargs -#define sys_extattrctl printargs -#define sys_extattr_set_file printargs -#define sys_extattr_get_file printargs -#define sys_extattr_delete_file printargs -#define sys_aio_waitcomplete printargs -#define sys_getresuid printargs -#define sys_getresgid printargs -#define sys_kqueue printargs -#define sys_kevent printargs diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/i386/syscallent.h ybsd_common/usr.local/strace/freebsd/i386/syscallent.h --- vendor/strace/freebsd/i386/syscallent.h Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/freebsd/i386/syscallent.h Wed Dec 31 19:00:00 1969 @@ -1,368 +0,0 @@ -/* - * Automatically generated by ./../syscalls.pl on Thu Mar 8 18:14:07 2001 - */ - - { 1, 0, sys_syscall, "syscall" }, /* 0 */ - { 1, 0, sys_exit, "exit" }, /* 1 */ - { 1, TP, sys_fork, "fork" }, /* 2 */ - { 3, 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_break, "break" }, /* 17 */ - { 3, 0, sys_getfsstat, "getfsstat" }, /* 18 */ - { 3, 0, sys_lseek, "lseek?" }, /* 19 */ - { 1, 0, sys_getpid, "getpid" }, /* 20 */ - { 4, TF, sys_mount, "mount" }, /* 21 */ - { 2, TF, sys_unmount, "unmount" }, /* 22 */ - { 1, 0, sys_setuid, "setuid" }, /* 23 */ - { 1, 0, sys_getuid, "getuid" }, /* 24 */ - { 1, 0, sys_geteuid, "geteuid" }, /* 25 */ - { 4, 0, sys_ptrace, "ptrace" }, /* 26 */ - { 3, TN, sys_recvmsg, "recvmsg" }, /* 27 */ - { 3, TN, sys_sendmsg, "sendmsg" }, /* 28 */ - { 6, TN, sys_recvfrom, "recvfrom" }, /* 29 */ - { 3, TN, sys_accept, "accept" }, /* 30 */ - { 3, TN, sys_getpeername, "getpeername" }, /* 31 */ - { 3, TN, sys_getsockname, "getsockname" }, /* 32 */ - { 2, TF, sys_access, "access" }, /* 33 */ - { 2, TF, sys_chflags, "chflags" }, /* 34 */ - { 2, TF, sys_fchflags, "fchflags" }, /* 35 */ - { 1, 0, sys_sync, "sync" }, /* 36 */ - { 2, TS, sys_kill, "kill" }, /* 37 */ - { 2, TF, sys_stat, "stat?" }, /* 38 */ - { 1, 0, sys_getppid, "getppid" }, /* 39 */ - { 2, TF, sys_lstat, "lstat?" }, /* 40 */ - { 1, 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, "getgid" }, /* 47 */ - { 2, TS, sys_sigprocmask, "sigprocmask?" }, /* 48 */ - { 2, 0, sys_getlogin, "getlogin" }, /* 49 */ - { 1, 0, sys_setlogin, "setlogin" }, /* 50 */ - { 1, TF, sys_acct, "acct" }, /* 51 */ - { 1, TS, sys_sigpending, "sigpending?" }, /* 52 */ - { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 53 */ - { 3, 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 */ - { 3, 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_vadvise, "vadvise" }, /* 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, TS, sys_sigvec, "sigvec?" }, /* 108 */ - { 1, TS, sys_sigblock, "sigblock?" }, /* 109 */ - { 1, TS, sys_sigsetmask, "sigsetmask?" }, /* 110 */ - { 1, TS, sys_sigsuspend, "sigsuspend?" }, /* 111 */ - { 2, TS, sys_sigstack, "sigstack?" }, /* 112 */ - { 3, TN, sys_recvmsg, "recvmsg?" }, /* 113 */ - { 3, TN, sys_sendmsg, "sendmsg?" }, /* 114 */ - { -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 */ - { 3, 0, sys_rtprio, "rtprio" }, /* 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, printargs, "SYS_175" }, /* 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 */ - { -1, 0, printargs, "SYS_184" }, /* 184 */ - { -1, 0, printargs, "SYS_185" }, /* 185 */ - { -1, 0, printargs, "SYS_186" }, /* 186 */ - { -1, 0, printargs, "SYS_187" }, /* 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 */ - { 1, 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 */ - { -1, 0, printargs, "SYS_208" }, /* 208 */ - { 3, TN, sys_poll, "poll" }, /* 209 */ - { -1, 0, printargs, "SYS_210" }, /* 210 */ - { -1, 0, printargs, "SYS_211" }, /* 211 */ - { -1, 0, printargs, "SYS_212" }, /* 212 */ - { -1, 0, printargs, "SYS_213" }, /* 213 */ - { -1, 0, printargs, "SYS_214" }, /* 214 */ - { -1, 0, printargs, "SYS_215" }, /* 215 */ - { -1, 0, printargs, "SYS_216" }, /* 216 */ - { -1, 0, printargs, "SYS_217" }, /* 217 */ - { -1, 0, printargs, "SYS_218" }, /* 218 */ - { -1, 0, printargs, "SYS_219" }, /* 219 */ - { 4, 0, sys___semctl, "__semctl" }, /* 220 */ - { 3, TI, sys_semget, "semget" }, /* 221 */ - { 3, TI, sys_semop, "semop" }, /* 222 */ - { -1, 0, printargs, "SYS_223" }, /* 223 */ - { 3, TI, sys_msgctl, "msgctl" }, /* 224 */ - { 2, TI, sys_msgget, "msgget" }, /* 225 */ - { 4, TI, sys_msgsnd, "msgsnd" }, /* 226 */ - { 5, TI, sys_msgrcv, "msgrcv" }, /* 227 */ - { 3, TI, sys_shmat, "shmat" }, /* 228 */ - { 3, TI, sys_shmctl, "shmctl" }, /* 229 */ - { 1, TI, sys_shmdt, "shmdt" }, /* 230 */ - { 3, TI, sys_shmget, "shmget" }, /* 231 */ - { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 232 */ - { 2, 0, sys_clock_settime, "clock_settime" }, /* 233 */ - { 2, 0, sys_clock_getres, "clock_getres" }, /* 234 */ - { -1, 0, printargs, "SYS_235" }, /* 235 */ - { -1, 0, printargs, "SYS_236" }, /* 236 */ - { -1, 0, printargs, "SYS_237" }, /* 237 */ - { -1, 0, printargs, "SYS_238" }, /* 238 */ - { -1, 0, printargs, "SYS_239" }, /* 239 */ - { 2, 0, sys_nanosleep, "nanosleep" }, /* 240 */ - { -1, 0, printargs, "SYS_241" }, /* 241 */ - { -1, 0, printargs, "SYS_242" }, /* 242 */ - { -1, 0, printargs, "SYS_243" }, /* 243 */ - { -1, 0, printargs, "SYS_244" }, /* 244 */ - { -1, 0, printargs, "SYS_245" }, /* 245 */ - { -1, 0, printargs, "SYS_246" }, /* 246 */ - { -1, 0, printargs, "SYS_247" }, /* 247 */ - { -1, 0, printargs, "SYS_248" }, /* 248 */ - { -1, 0, printargs, "SYS_249" }, /* 249 */ - { 3, 0, sys_minherit, "minherit" }, /* 250 */ - { 1, 0, sys_rfork, "rfork" }, /* 251 */ - { 3, 0, sys_openbsd_poll, "openbsd_poll" }, /* 252 */ - { 1, 0, sys_issetugid, "issetugid" }, /* 253 */ - { 3, TF, sys_lchown, "lchown" }, /* 254 */ - { -1, 0, printargs, "SYS_255" }, /* 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 */ - { -1, 0, printargs, "SYS_270" }, /* 270 */ - { -1, 0, printargs, "SYS_271" }, /* 271 */ - { 3, 0, sys_getdents, "getdents" }, /* 272 */ - { -1, 0, printargs, "SYS_273" }, /* 273 */ - { 2, 0, sys_lchmod, "lchmod" }, /* 274 */ - { 3, 0, sys_netbsd_lchown, "netbsd_lchown" }, /* 275 */ - { 2, 0, sys_lutimes, "lutimes" }, /* 276 */ - { 3, 0, sys_netbsd_msync, "netbsd_msync" }, /* 277 */ - { 2, 0, sys_nstat, "nstat" }, /* 278 */ - { 2, 0, sys_nfstat, "nfstat" }, /* 279 */ - { 2, 0, sys_nlstat, "nlstat" }, /* 280 */ - { -1, 0, printargs, "SYS_281" }, /* 281 */ - { -1, 0, printargs, "SYS_282" }, /* 282 */ - { -1, 0, printargs, "SYS_283" }, /* 283 */ - { -1, 0, printargs, "SYS_284" }, /* 284 */ - { -1, 0, printargs, "SYS_285" }, /* 285 */ - { -1, 0, printargs, "SYS_286" }, /* 286 */ - { -1, 0, printargs, "SYS_287" }, /* 287 */ - { -1, 0, printargs, "SYS_288" }, /* 288 */ - { -1, 0, printargs, "SYS_289" }, /* 289 */ - { -1, 0, printargs, "SYS_290" }, /* 290 */ - { -1, 0, printargs, "SYS_291" }, /* 291 */ - { -1, 0, printargs, "SYS_292" }, /* 292 */ - { -1, 0, printargs, "SYS_293" }, /* 293 */ - { -1, 0, printargs, "SYS_294" }, /* 294 */ - { -1, 0, printargs, "SYS_295" }, /* 295 */ - { -1, 0, printargs, "SYS_296" }, /* 296 */ - { 2, 0, sys_fhstatfs, "fhstatfs" }, /* 297 */ - { 2, 0, sys_fhopen, "fhopen" }, /* 298 */ - { 2, 0, sys_fhstat, "fhstat" }, /* 299 */ - { 1, 0, sys_modnext, "modnext" }, /* 300 */ - { 2, 0, sys_modstat, "modstat" }, /* 301 */ - { 1, 0, sys_modfnext, "modfnext" }, /* 302 */ - { 1, 0, sys_modfind, "modfind" }, /* 303 */ - { 1, 0, sys_kldload, "kldload" }, /* 304 */ - { 1, 0, sys_kldunload, "kldunload" }, /* 305 */ - { 1, 0, sys_kldfind, "kldfind" }, /* 306 */ - { 1, 0, sys_kldnext, "kldnext" }, /* 307 */ - { 2, 0, sys_kldstat, "kldstat" }, /* 308 */ - { 1, 0, sys_kldfirstmod, "kldfirstmod" }, /* 309 */ - { 1, 0, sys_getsid, "getsid" }, /* 310 */ - { 3, 0, sys_setresuid, "setresuid" }, /* 311 */ - { 3, 0, sys_setresgid, "setresgid" }, /* 312 */ - { -1, 0, printargs, "SYS_313" }, /* 313 */ - { 1, 0, sys_aio_return, "aio_return" }, /* 314 */ - { 3, 0, sys_aio_suspend, "aio_suspend" }, /* 315 */ - { 2, 0, sys_aio_cancel, "aio_cancel" }, /* 316 */ - { 1, 0, sys_aio_error, "aio_error" }, /* 317 */ - { 1, 0, sys_aio_read, "aio_read" }, /* 318 */ - { 1, 0, sys_aio_write, "aio_write" }, /* 319 */ - { 4, 0, sys_lio_listio, "lio_listio" }, /* 320 */ - { 1, 0, sys_yield, "yield" }, /* 321 */ - { 1, 0, sys_thr_sleep, "thr_sleep" }, /* 322 */ - { 1, 0, sys_thr_wakeup, "thr_wakeup" }, /* 323 */ - { 1, 0, sys_mlockall, "mlockall" }, /* 324 */ - { 1, 0, sys_munlockall, "munlockall" }, /* 325 */ - { 2, 0, sys___getcwd, "__getcwd" }, /* 326 */ - { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 327 */ - { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 328 */ - { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 329 */ - { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 330 */ - { 1, 0, sys_sched_yield, "sched_yield" }, /* 331 */ - { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max" }, /* 332 */ - { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 333 */ - { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 334 */ - { 2, 0, sys_utrace, "utrace" }, /* 335 */ - { 7, TF, sys_sendfile, "sendfile" }, /* 336 */ - { 3, 0, sys_kldsym, "kldsym" }, /* 337 */ - { 1, 0, sys_jail, "jail" }, /* 338 */ - { -1, 0, printargs, "SYS_339" }, /* 339 */ - { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 340 */ - { 1, TS, sys_sigsuspend, "sigsuspend" }, /* 341 */ - { 3, TS, sys_sigaction, "sigaction" }, /* 342 */ - { 1, TS, sys_sigpending, "sigpending" }, /* 343 */ - { 1, TS, sys_sigreturn, "sigreturn" }, /* 344 */ - { -1, 0, printargs, "SYS_345" }, /* 345 */ - { -1, 0, printargs, "SYS_346" }, /* 346 */ - { 3, 0, sys___acl_get_file, "__acl_get_file" }, /* 347 */ - { 3, 0, sys___acl_set_file, "__acl_set_file" }, /* 348 */ - { 3, 0, sys___acl_get_fd, "__acl_get_fd" }, /* 349 */ - { 3, 0, sys___acl_set_fd, "__acl_set_fd" }, /* 350 */ - { 2, 0, sys___acl_delete_file, "__acl_delete_file" }, /* 351 */ - { 2, 0, sys___acl_delete_fd, "__acl_delete_fd" }, /* 352 */ - { 3, 0, sys___acl_aclcheck_file, "__acl_aclcheck_file" }, /* 353 */ - { 3, 0, sys___acl_aclcheck_fd, "__acl_aclcheck_fd" }, /* 354 */ - { 4, 0, sys_extattrctl, "extattrctl" }, /* 355 */ - { 4, 0, sys_extattr_set_file, "extattr_set_file" }, /* 356 */ - { 4, 0, sys_extattr_get_file, "extattr_get_file" }, /* 357 */ - { 2, 0, sys_extattr_delete_file, "extattr_delete_file" }, /* 358 */ - { 2, 0, sys_aio_waitcomplete, "aio_waitcomplete" }, /* 359 */ - { 3, 0, sys_getresuid, "getresuid" }, /* 360 */ - { 3, 0, sys_getresgid, "getresgid" }, /* 361 */ - { 1, 0, sys_kqueue, "kqueue" }, /* 362 */ - { 6, 0, sys_kevent, "kevent" }, /* 363 */ diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/ioctlent.sh ybsd_common/usr.local/strace/freebsd/ioctlent.sh --- vendor/strace/freebsd/ioctlent.sh Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/freebsd/ioctlent.sh Wed Oct 3 11:25:49 2007 @@ -24,7 +24,6 @@ echo echo '/* XXX obnoxious prerequisites. */' echo '#define COMPAT_43' echo -echo '#include ' echo '#include ' echo '#include ' echo '#include ' @@ -35,22 +34,27 @@ echo '#include ' echo '#include ' echo '#include ' echo '#include ' +if [ -r /usr/include/netatm/atm.h ]; then echo '#include ' echo '#include ' echo '#include ' echo '#include ' +fi echo '#include ' -echo '#include ' -echo '#include ' -echo '#include ' -echo '#include ' -echo '#include ' -echo '#include ' echo '#include ' echo '#include ' echo '#include ' echo '#include ' echo '#include ' +echo '#include ' +echo '#include ' +echo '#include ' +if [ -r /usr/include/bsm/audit.h ]; then +echo '#include ' +fi +if [ -r /usr/include/net/pfvar.h ]; then +echo '#include ' +fi echo '#include ' echo echo "$ioctl_includes" | sed -e 's/^/#include /' diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/x86_64/errnoent1.h ybsd_common/usr.local/strace/freebsd/x86_64/errnoent1.h --- vendor/strace/freebsd/x86_64/errnoent1.h Wed Dec 31 19:00:00 1969 +++ ybsd_common/usr.local/strace/freebsd/x86_64/errnoent1.h Tue Jun 12 12:17:42 2007 @@ -0,0 +1,2 @@ +/* Our second set comes from the i386 files. */ +#include "../errnoent.h" diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/x86_64/ioctlent1.h ybsd_common/usr.local/strace/freebsd/x86_64/ioctlent1.h --- vendor/strace/freebsd/x86_64/ioctlent1.h Wed Dec 31 19:00:00 1969 +++ ybsd_common/usr.local/strace/freebsd/x86_64/ioctlent1.h Tue Jun 12 12:17:42 2007 @@ -0,0 +1,2 @@ +/* Our second set comes from the i386 files. */ +#include "../ioctlent.h" diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/freebsd/x86_64/signalent1.h ybsd_common/usr.local/strace/freebsd/x86_64/signalent1.h --- vendor/strace/freebsd/x86_64/signalent1.h Wed Dec 31 19:00:00 1969 +++ ybsd_common/usr.local/strace/freebsd/x86_64/signalent1.h Tue Jun 12 12:17:42 2007 @@ -0,0 +1,2 @@ +/* Our second set comes from the i386 files. */ +#include "../signalent.h" diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/io.c ybsd_common/usr.local/strace/io.c --- vendor/strace/io.c Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/io.c Tue Jun 12 12:17:42 2007 @@ -192,6 +192,36 @@ struct tcb *tcp; #include #include +#ifndef HAVE_LONG_LONG_OFF_T +int +sys_pread(tcp) +struct tcb *tcp; +{ + if (entering(tcp)) { + tprintf("%ld, ", tcp->u_arg[0]); + } else { + if (syserror(tcp)) + tprintf("%#lx", tcp->u_arg[1]); + else + printstr(tcp, tcp->u_arg[1], tcp->u_rval); + tprintf(", %lu, %#lx", tcp->u_arg[2], tcp->u_arg[4]); + } + return 0; +} + +int +sys_pwrite(tcp) +struct tcb *tcp; +{ + if (entering(tcp)) { + tprintf("%ld, ", tcp->u_arg[0]); + printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); + tprintf(", %lu, %#lx", tcp->u_arg[2], tcp->u_arg[4]); + } + return 0; +} +#endif + int sys_sendfile(tcp) struct tcb *tcp; diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/strace.c ybsd_common/usr.local/strace/strace.c --- vendor/strace/strace.c Thu Jan 10 14:52:53 2008 +++ ybsd_common/usr.local/strace/strace.c Mon Jun 25 20:11:49 2007 @@ -483,7 +483,39 @@ char *argv[]; #ifndef FREEBSD pause(); #else /* FREEBSD */ - kill(getpid(), SIGSTOP); /* stop HERE */ + /* + * Copied from truss. In the old code, the parent + * could send the SIGCONT before the child got here + * and tried to stop. Here we setup the child to + * stop on exec() or exit(). We then force the + * parent to wait until we hit that point before + * continuing. + */ + do { + int fd, flags; + int mask = S_EXEC | S_EXIT; + + fd = open("/proc/curproc/mem", O_WRONLY); + if (fd == -1) { + perror( + "truss: cannot open /proc/curproc/mem"); + exit(2); + } + fcntl(fd, F_SETFD, 1); + if (ioctl(fd, PIOCBIS, mask) == -1) { + perror("truss: PIOCBIS"); + exit(3); + } + flags = PF_LINGER; + /* + * The PF_LINGER flag tells procfs not + * to wake up the process on last + * close; normally, this is the + * behaviour we want. + */ + if (ioctl(fd, PIOCSFL, flags) == -1) + perror("truss: cannot set PF_LINGER"); + fflush(stdout); #endif /* FREEBSD */ #else /* !USE_PROCFS */ if (outf!=stderr) @@ -529,6 +561,10 @@ char *argv[]; #endif /* !USE_PROCFS */ execv(pathname, &argv[optind]); +#ifdef FREEBSD + ioctl(fd, PIOCBIC, ~0); + } while (0); +#endif perror("strace: exec"); _exit(1); break; @@ -716,8 +752,60 @@ int attaching; sprintf(proc, "/proc/%d", tcp->pid); if ((tcp->pfd = open(proc, O_RDWR|O_EXCL)) < 0) { #else /* FREEBSD */ + sprintf(proc, "/proc/%d/mem", tcp->pid); - if ((tcp->pfd = open(proc, O_RDWR)) < 0) { + + if (!attaching) { + int loop; + + if (waitpid(tcp->pid, NULL, WNOHANG) != 0) { + /* + * Process exited before it got to us -- + * meaning the exec failed miserably -- so we + * just quietly exit. + */ + return -1; + } + + /* + * Try 6 times to trace our child, waiting 1/2 second + * each time + */ + for (loop = 6 ;; loop--) { + fflush(stdout); + if (loop != 6) + usleep(500000); + fflush(stdout); + if ((tcp->pfd = open(proc, O_RDWR)) == -1) { + fflush(stdout); + if (loop > 0) + continue; + else + break; + } + fflush(stdout); + if (ioctl(tcp->pfd, PIOCWAIT, &tcp->status) == -1) { + close(tcp->pfd); + tcp->pfd = -1; + fflush(stdout); + if (loop >= 0) + continue; + else + break; + } + if (tcp->status.why == S_EXIT) { + fprintf(stderr, + "strace: process exited before exec'ing"); + ioctl(tcp->pfd, PIOCCONT, 0); + close(tcp->pfd); + wait(NULL); + return -1; + } else + break; + } + } else + tcp->pfd = open(proc, O_RDWR); + if (tcp->pfd < 0) { #endif /* FREEBSD */ perror("strace: open(\"/proc/...\", ...)"); return -1; @@ -747,6 +835,7 @@ int attaching; tcp->pfd_status = -1; #endif /* FREEBSD */ rebuild_pollv(); +#ifndef FREEBSD if (!attaching) { /* * Wait for the child to pause. Because of a race @@ -761,7 +850,6 @@ int attaching; break; } } -#ifndef FREEBSD /* Stop the process so that we own the stop. */ if (IOCTL(tcp->pfd, PIOCSTOP, (char *)NULL) < 0) { perror("strace: PIOCSTOP"); @@ -798,6 +886,12 @@ int attaching; return -1; } arg &= ~PF_LINGER; +#if defined(PF_FORK) + if (followfork) + arg |= PF_FORK; + else + arg &= ~PF_FORK; +#endif if (ioctl(tcp->pfd, PIOCSFL, arg) < 0) { perror("PIOCSFL"); return -1; @@ -857,8 +951,15 @@ int attaching; return -1; } #else /* FREEBSD */ - /* set events flags. */ - arg = S_SIG | S_SCE | S_SCX ; + /* no longer interested in S_EXEC and S_EXIT */ + arg = S_EXEC | S_EXIT; + if (ioctl(tcp->pfd, PIOCBIC, arg) < 0) { + perror("PIOCBIC"); + return -1; + } + + /* set events flags. */ + arg = S_SIG | S_SCE | S_SCX; if(ioctl(tcp->pfd, PIOCBIS, arg) < 0) { perror("PIOCBIS"); return -1; @@ -881,16 +982,16 @@ int attaching; } #endif #endif /* !MIPS*/ -#ifdef FREEBSD - /* wake up the child if it received the SIGSTOP */ - kill(tcp->pid, SIGCONT); -#endif for (;;) { /* Wait for the child to do something. */ if (IOCTL_WSTOP (tcp) < 0) { perror("PIOCWSTOP"); return -1; } +#ifdef FREEBSD + if (tcp->status.PR_WHY == S_EXEC) + break; +#endif if (tcp->status.PR_WHY == PR_SYSENTRY) { tcp->flags &= ~TCB_INSYSCALL; get_scno(tcp); @@ -907,13 +1008,6 @@ int attaching; perror("PIOCRUN"); return -1; } -#ifdef FREEBSD - /* handle the case where we "opened" the child before - it did the kill -STOP */ - if (tcp->status.PR_WHY == PR_SIGNALLED && - tcp->status.PR_WHAT == SIGSTOP) - kill(tcp->pid, SIGCONT); -#endif } #ifndef FREEBSD } @@ -1724,13 +1818,15 @@ trace() struct timeval stime; #ifdef FREEBSD char buf[1024]; + long sec; int len; if ((len = pread(tcp->pfd_status, buf, sizeof(buf) - 1, 0)) > 0) { buf[len] = '\0'; sscanf(buf, "%*s %*d %*d %*d %*d %*d,%*d %*s %*d,%*d %*d,%*d %ld,%ld", - &stime.tv_sec, &stime.tv_usec); + &sec, &stime.tv_usec); + stime.tv_sec = sec; } else stime.tv_sec = stime.tv_usec = 0; #else /* !FREEBSD */ @@ -1787,6 +1883,10 @@ trace() } break; #ifdef FREEBSD + case S_EXEC: + /* handle exec event at the beginning when exec'ing + a new child process. */ + break; case 0: /* handle case we polled for nothing */ continue; #endif diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/syscall.c ybsd_common/usr.local/strace/syscall.c --- vendor/strace/syscall.c Thu Jan 10 14:52:54 2008 +++ ybsd_common/usr.local/strace/syscall.c Tue Jun 12 12:17:42 2007 @@ -1185,6 +1185,7 @@ struct tcb *tcp; perror("pread"); return -1; } +#ifdef I386 switch (regs.r_eax) { case SYS_syscall: case SYS___syscall: @@ -1194,6 +1195,51 @@ struct tcb *tcp; scno = regs.r_eax; break; } +#else /* X86_64 */ + if (!(tcp->flags & TCB_INSYSCALL)) { + static int currpers = -1; + + /* + * Check CS register value to determine 64-bit mode vs. + * 32-bit mode. + */ + switch(regs.r_cs) { + case GSEL(GUCODE_SEL, SEL_UPL): currpers = 0; break; + case GSEL(GUCODE32_SEL, SEL_UPL): currpers = 1; break; + default: + fprintf(stderr, "Unknown value CS=0x%02X while " + "detecting personality of process " + "PID=%d\n", (int)regs.r_cs, tcp->pid); + currpers = current_personality; + break; + } + if (currpers != current_personality) { + const char *names[]={"64 bit", "32 bit"}; + + set_personality(currpers); + printf("[ Process PID=%d runs in %s mode. ]\n", + tcp->pid, names[current_personality]); + } + } + + switch (regs.r_rax) { + case SYS_syscall: + case SYS___syscall: + switch (current_personality) { + case 0: + scno = regs.r_rdi; + break; + case 1: + pread(tcp->pfd, &scno, sizeof(scno), + regs.r_rsp + sizeof(int)); + break; + } + break; + default: + scno = regs.r_rax; + break; + } +#endif #endif /* FREEBSD */ #endif /* !HAVE_PR_SYSCALL */ #endif /* USE_PROCFS */ @@ -1569,6 +1615,7 @@ struct tcb *tcp; #endif /* MIPS */ #endif /* SVR4 */ #ifdef FREEBSD +#ifdef I386 if (regs.r_eflags & PSL_C) { tcp->u_rval = -1; u_error = regs.r_eax; @@ -1578,6 +1625,23 @@ struct tcb *tcp; ((unsigned long long) regs.r_edx << 32) + regs.r_eax; u_error = 0; } +#else /* X86_64 */ + if (regs.r_rflags & PSL_C) { + tcp->u_rval = -1; + u_error = regs.r_rax; + } else { + tcp->u_rval = regs.r_rax; + switch (current_personality) { + case 0: + tcp->u_lrval = regs.r_rax; + break; + case 1: + tcp->u_lrval = (regs.r_rdx << 32) | regs.r_rax; + break; + } + u_error = 0; + } +#endif #endif /* FREEBSD */ tcp->u_error = u_error; return 1; @@ -1735,6 +1799,7 @@ force_result(tcp, error, rval) perror("pread"); return -1; } +#ifdef I386 if (error) { regs.r_eflags |= PSL_C; regs.r_eax = error; @@ -1743,6 +1808,16 @@ force_result(tcp, error, rval) regs.r_eflags &= ~PSL_C; regs.r_eax = rval; } +#else /* X86_64 */ + if (error) { + regs.r_rflags |= PSL_C; + regs.r_rax = error; + } + else { + regs.r_rflags &= ~PSL_C; + regs.r_rax = rval; + } +#endif if (pwrite(tcp->pfd_reg, ®s, sizeof(regs), 0) < 0) { perror("pwrite"); return -1; @@ -2067,6 +2142,7 @@ struct tcb *tcp; tcp->u_nargs = 0; if (tcp->u_nargs > MAX_ARGS) tcp->u_nargs = MAX_ARGS; +#ifdef I386 switch(regs.r_eax) { case SYS___syscall: pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long), @@ -2081,6 +2157,61 @@ struct tcb *tcp; regs.r_esp + sizeof(int)); break; } +#else /* X86_64 */ + switch (current_personality) { + case 0: + { + int i, reg; + + reg = 0; + switch (regs.r_rax) { + case SYS_syscall: + case SYS___syscall: + reg++; + break; + } + + for (i = 0; i < tcp->u_nargs && reg < 6; i++, reg++) { + switch (reg) { + case 0: tcp->u_arg[i] = regs.r_rdi; break; + case 1: tcp->u_arg[i] = regs.r_rsi; break; + case 2: tcp->u_arg[i] = regs.r_rdx; break; + case 3: tcp->u_arg[i] = regs.r_rcx; break; + case 4: tcp->u_arg[i] = regs.r_r8; break; + case 5: tcp->u_arg[i] = regs.r_r9; break; + } + } + if (tcp->u_nargs > i) + pread(tcp->pfd, &tcp->u_arg[i], (tcp->u_nargs - i) * + sizeof(register_t), + regs.r_rsp + sizeof(register_t)); + break; + } + case 1: + { + off_t params; + u_int32_t arg; + int i; + + params = regs.r_rsp + 4; + switch (regs.r_rax) { + case SYS___syscall: + params += 8; + break; + case SYS_syscall: + params += 4; + break; + } + + for (i = 0; i < tcp->u_nargs; i++) { + pread(tcp->pfd, &arg, sizeof(arg), params); + tcp->u_arg[i] = arg; + params += sizeof(arg); + } + break; + } + } +#endif #endif /* FREEBSD */ return 1; } @@ -2455,7 +2586,11 @@ struct tcb *tcp; #ifdef FREEBSD struct reg regs; pread(tcp->pfd_reg, ®s, sizeof(regs), 0); +#ifdef I386 val = regs.r_edx; +#else /* X86_64 */ + val = regs.r_rdx; +#endif #endif return val; } diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/util.c ybsd_common/usr.local/strace/util.c --- vendor/strace/util.c Thu Jan 10 14:52:54 2008 +++ ybsd_common/usr.local/strace/util.c Tue Jun 12 12:17:42 2007 @@ -1012,7 +1012,11 @@ struct tcb *tcp; #ifdef FREEBSD struct reg regs; pread(tcp->pfd_reg, ®s, sizeof(regs), 0); +#ifdef I386 return regs.r_eip; +#else /* X86_64 */ + return regs.r_rip; +#endif #endif /* FREEBSD */ } @@ -1139,7 +1143,11 @@ struct tcb *tcp; #ifdef FREEBSD struct reg regs; pread(tcp->pfd_reg, ®s, sizeof(regs), 0); +#ifdef I386 tprintf("[%08x] ", regs.r_eip); +#else /* X86_64 */ + tprintf("[%08lx] ", regs.r_rip); +#endif #endif /* FREEBSD */ } diff -uprN -x compile -x CVS -I \$FreeBSD vendor/strace/ymakefile ybsd_common/usr.local/strace/ymakefile --- vendor/strace/ymakefile Wed Dec 31 19:00:00 1969 +++ ybsd_common/usr.local/strace/ymakefile Mon Jul 2 18:27:49 2007 @@ -0,0 +1,44 @@ +# $Yahoo: //depot/yahoo/ybsd_common/usr.local/strace/ymakefile#5 $ + +PROG = ${PWD:T} + +ARCH != uname -m | sed -e 's/amd64/x86_64/' + +$(PROG): ent + ./configure + make + +ent: + sh errnoent.sh /sys/sys/errno.h > freebsd/errnoent.h + sh freebsd/ioctlent.sh /usr/include > freebsd/ioctlent.raw + cc -I freebsd ioctlsort.c -o freebsd/ioctlsort + (cd freebsd; ./ioctlsort > ioctlent.h ) + sh signalent.sh /usr/include/sys/signal.h > freebsd/signalent.h + mkdir -p freebsd/${ARCH} + (cd freebsd/${ARCH}; perl ../syscalls.pl /sys/kern/syscalls.master \ + ../syscalls.print ../syscalls.cat > syscallent.h ) +.if ${ARCH} == "x86_64" + mkdir -p freebsd/${ARCH}/compat32 + (cd freebsd/${ARCH}/compat32; perl ../../syscalls.pl \ + /sys/compat/freebsd32/syscalls.master ../../syscalls.print \ + ../../syscalls.cat > syscallent.h ) + (cd freebsd/${ARCH}/compat32; sed -i "" -e '/^#define/!d' syscall.h) + (cd freebsd/${ARCH}; cc -E -include compat32/syscall.h \ + compat32/syscallent.h > syscallent1.h ) +.endif + @touch ent + +install: $(PROG) + $(INSTALL) -C -s -o bin -g bin -m 555 $(PROG) /usr/local/bin/$(PROG) + $(INSTALL) -C -o bin -g bin -m 444 $(PROG).1 /usr/local/man/man1/$(PROG).1 + +clean: + -make distclean + rm -f freebsd/ioctlent.raw freebsd/ioctlsort freebsd/ioctlent.h + rm -f freebsd/errnoent.h freebsd/signalent.h + rm -f freebsd/${ARCH}/syscall.h freebsd/${ARCH}/syscallent.h +.if ${ARCH} == "x86_64" + rm -rf freebsd/${ARCH}/compat32 + rm -f freebsd/${ARCH}/syscallent1.h +.endif + rm -f ent