sparc: delete personality 1
Personality 1 for sparc and sparc64 appears to be an old attempt to support stracing Solaris binaries. It stalled after the only syscall, solaris_open, was covered: all other solaris_foo's are printargs. This change deletes personality 1. Now sparc is an one-personality arch, and sparc64 is a two-personality one. For clarity, pure renaming of personality 2 files to personality 1 for sparc64 is performed in the next commit - this prevents a state where syscallent1.h seems to indergo a lot of changes, where in fact in is deleted, and then replaced by syscallent2.h Therefore, tree at this commit will not build. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
602d717a62
commit
df4dd8b540
12
Makefile.am
12
Makefile.am
@ -434,46 +434,34 @@ EXTRA_DIST = \
|
||||
linux/sparc/arch_regs.c \
|
||||
linux/sparc/arch_regs.h \
|
||||
linux/sparc/arch_sigreturn.c \
|
||||
linux/sparc/dummy2.h \
|
||||
linux/sparc/errnoent.h \
|
||||
linux/sparc/errnoent1.h \
|
||||
linux/sparc/gen.pl \
|
||||
linux/sparc/get_error.c \
|
||||
linux/sparc/get_scno.c \
|
||||
linux/sparc/get_syscall_args.c \
|
||||
linux/sparc/ioctlent1.h \
|
||||
linux/sparc/ioctls_arch0.h \
|
||||
linux/sparc/ioctls_inc0.h \
|
||||
linux/sparc/print_pc.c \
|
||||
linux/sparc/signalent.h \
|
||||
linux/sparc/signalent1.h \
|
||||
linux/sparc/syscall1.h \
|
||||
linux/sparc/syscallent.h \
|
||||
linux/sparc/syscallent1.h \
|
||||
linux/sparc/userent.h \
|
||||
linux/sparc64/arch_getrval2.c \
|
||||
linux/sparc64/arch_regs.c \
|
||||
linux/sparc64/arch_regs.h \
|
||||
linux/sparc64/arch_sigreturn.c \
|
||||
linux/sparc64/dummy2.h \
|
||||
linux/sparc64/errnoent.h \
|
||||
linux/sparc64/errnoent1.h \
|
||||
linux/sparc64/errnoent2.h \
|
||||
linux/sparc64/get_error.c \
|
||||
linux/sparc64/get_scno.c \
|
||||
linux/sparc64/get_syscall_args.c\
|
||||
linux/sparc64/ioctlent1.h \
|
||||
linux/sparc64/ioctls_arch0.h \
|
||||
linux/sparc64/ioctls_arch2.h \
|
||||
linux/sparc64/ioctls_inc0.h \
|
||||
linux/sparc64/ioctls_inc2.h \
|
||||
linux/sparc64/print_pc.c \
|
||||
linux/sparc64/signalent.h \
|
||||
linux/sparc64/signalent1.h \
|
||||
linux/sparc64/signalent2.h \
|
||||
linux/sparc64/syscall1.h \
|
||||
linux/sparc64/syscallent.h \
|
||||
linux/sparc64/syscallent1.h \
|
||||
linux/sparc64/syscallent2.h \
|
||||
linux/sparc64/userent.h \
|
||||
linux/subcall.h \
|
||||
|
9
defs.h
9
defs.h
@ -152,14 +152,11 @@ extern char *stpcpy(char *dst, const char *src);
|
||||
|
||||
#if defined(SPARC) || defined(SPARC64)
|
||||
# define PERSONALITY0_WORDSIZE 4
|
||||
# define PERSONALITY1_WORDSIZE 4
|
||||
# if defined(SPARC64)
|
||||
# define SUPPORTED_PERSONALITIES 3
|
||||
# define PERSONALITY2_WORDSIZE 8
|
||||
# else
|
||||
# define SUPPORTED_PERSONALITIES 2
|
||||
# endif /* SPARC64 */
|
||||
#endif /* SPARC[64] */
|
||||
# define PERSONALITY1_WORDSIZE 8
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef X86_64
|
||||
# define SUPPORTED_PERSONALITIES 3
|
||||
|
@ -1,276 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* still unfinished */
|
||||
|
||||
#define solaris_sysmp printargs
|
||||
#define solaris_sginap printargs
|
||||
#define solaris_sgikopt printargs
|
||||
#define solaris_sysmips printargs
|
||||
#define solaris_sigreturn printargs
|
||||
#define solaris_recvmsg printargs
|
||||
#define solaris_sendmsg printargs
|
||||
#define solaris_nfssvc printargs
|
||||
#define solaris_getfh printargs
|
||||
#define solaris_async_daemon printargs
|
||||
#define solaris_exportfs printargs
|
||||
#define solaris_BSD_getime printargs
|
||||
#define solaris_sproc printargs
|
||||
#define solaris_procblk printargs
|
||||
#define solaris_sprocsp printargs
|
||||
#define solaris_msync printargs
|
||||
#define solaris_madvise printargs
|
||||
#define solaris_pagelock printargs
|
||||
#define solaris_quotactl printargs
|
||||
#define solaris_cacheflush printargs
|
||||
#define solaris_cachectl printargs
|
||||
#define solaris_nuname printargs
|
||||
#define solaris_sigpoll printargs
|
||||
#define solaris_swapctl printargs
|
||||
#define solaris_sigstack printargs
|
||||
#define solaris_sigsendset printargs
|
||||
#define solaris_priocntl printargs
|
||||
#define solaris_ksigqueue printargs
|
||||
#define solaris_lwp_sema_wait printargs
|
||||
#define solaris_memcntl printargs
|
||||
#define solaris_syscall printargs
|
||||
#define solaris_clocal printargs
|
||||
#define solaris_syssun printargs
|
||||
#define solaris_sysi86 printargs
|
||||
#define solaris_sysmachine printargs
|
||||
#define solaris_plock printargs
|
||||
#define solaris_pathconf printargs
|
||||
#define solaris_sigtimedwait printargs
|
||||
#define solaris_ulimit printargs
|
||||
#define solaris_ptrace printargs
|
||||
#define solaris_stty printargs
|
||||
#define solaris_lwp_info printargs
|
||||
#define solaris_priocntlsys printargs
|
||||
#define solaris_hrtsys printargs
|
||||
#define solaris_xenix printargs
|
||||
#define solaris_statfs printargs
|
||||
#define solaris_fstatfs printargs
|
||||
#define solaris_statvfs printargs
|
||||
#define solaris_fstatvfs printargs
|
||||
#define solaris_fork1 printargs
|
||||
#define solaris_sigsendsys printargs
|
||||
#define solaris_gtty printargs
|
||||
#define solaris_vtrace printargs
|
||||
#define solaris_fpathconf printargs
|
||||
#define solaris_evsys printargs
|
||||
#define solaris_acct printargs
|
||||
#define solaris_exec printargs
|
||||
#define solaris_lwp_sema_post printargs
|
||||
#define solaris_nfssys printargs
|
||||
#define solaris_sigaltstack printargs
|
||||
#define solaris_uadmin printargs
|
||||
#define solaris_umount printargs
|
||||
#define solaris_modctl printargs
|
||||
#define solaris_acancel printargs
|
||||
#define solaris_async printargs
|
||||
#define solaris_evtrapret printargs
|
||||
#define solaris_lwp_create printargs
|
||||
#define solaris_lwp_exit printargs
|
||||
#define solaris_lwp_suspend printargs
|
||||
#define solaris_lwp_continue printargs
|
||||
#define solaris_lwp_kill printargs
|
||||
#define solaris_lwp_self printargs
|
||||
#define solaris_lwp_setprivate printargs
|
||||
#define solaris_lwp_getprivate printargs
|
||||
#define solaris_lwp_wait printargs
|
||||
#define solaris_lwp_mutex_unlock printargs
|
||||
#define solaris_lwp_mutex_lock printargs
|
||||
#define solaris_lwp_cond_wait printargs
|
||||
#define solaris_lwp_cond_signal printargs
|
||||
#define solaris_lwp_cond_broadcast printargs
|
||||
#define solaris_llseek printargs
|
||||
#define solaris_inst_sync printargs
|
||||
#define solaris_auditsys printargs
|
||||
#define solaris_processor_bind printargs
|
||||
#define solaris_processor_info printargs
|
||||
#define solaris_p_online printargs
|
||||
#define solaris_sigqueue printargs
|
||||
#define solaris_clock_gettime printargs
|
||||
#define solaris_clock_settime printargs
|
||||
#define solaris_clock_getres printargs
|
||||
#define solaris_nanosleep printargs
|
||||
#define solaris_timer_create printargs
|
||||
#define solaris_timer_delete printargs
|
||||
#define solaris_timer_settime printargs
|
||||
#define solaris_timer_gettime printargs
|
||||
#define solaris_timer_getoverrun printargs
|
||||
#define solaris_signal printargs
|
||||
#define solaris_sigset printargs
|
||||
#define solaris_sighold printargs
|
||||
#define solaris_sigrelse printargs
|
||||
#define solaris_sigignore printargs
|
||||
#define solaris_sigpause printargs
|
||||
#define solaris_msgctl printargs
|
||||
#define solaris_msgget printargs
|
||||
#define solaris_msgrcv printargs
|
||||
#define solaris_msgsnd printargs
|
||||
#define solaris_shmat printargs
|
||||
#define solaris_shmctl printargs
|
||||
#define solaris_shmdt printargs
|
||||
#define solaris_shmget printargs
|
||||
#define solaris_semctl printargs
|
||||
#define solaris_semget printargs
|
||||
#define solaris_semop printargs
|
||||
#define solaris_olduname printargs
|
||||
#define solaris_ustat printargs
|
||||
#define solaris_fusers printargs
|
||||
#define solaris_sysfs1 printargs
|
||||
#define solaris_sysfs2 printargs
|
||||
#define solaris_sysfs3 printargs
|
||||
|
||||
/* like another call */
|
||||
#define solaris_lchown solaris_chown
|
||||
#define solaris_setuid solaris_close
|
||||
#define solaris_seteuid solaris_close
|
||||
#define solaris_setgid solaris_close
|
||||
#define solaris_setegid solaris_close
|
||||
#define solaris_vhangup solaris_close
|
||||
#define solaris_fdsync solaris_close
|
||||
#define solaris_sigfillset solaris_sigpending
|
||||
#define solaris_vfork solaris_fork
|
||||
#define solaris_ksigaction solaris_sigaction
|
||||
#define solaris_BSDgetpgrp solaris_getpgrp
|
||||
#define solaris_BSDsetpgrp solaris_setpgrp
|
||||
#define solaris_waitsys solaris_waitid
|
||||
|
||||
/* printargs does the right thing */
|
||||
#define solaris_sync printargs
|
||||
#define solaris_profil printargs
|
||||
#define solaris_yield printargs
|
||||
#define solaris_pause printargs
|
||||
#define solaris_sethostid printargs
|
||||
|
||||
/* subfunction entry points */
|
||||
#define solaris_pgrpsys printargs
|
||||
#define solaris_sigcall printargs
|
||||
#define solaris_msgsys printargs
|
||||
#define solaris_shmsys printargs
|
||||
#define solaris_semsys printargs
|
||||
#define solaris_utssys printargs
|
||||
#define solaris_sysfs printargs
|
||||
#define solaris_spcall printargs
|
||||
#define solaris_context printargs
|
||||
|
||||
/* same as linux */
|
||||
#define solaris_exit sys_exit
|
||||
#define solaris_fork sys_fork
|
||||
#define solaris_read sys_read
|
||||
#define solaris_write sys_write
|
||||
#define solaris_close sys_close
|
||||
#define solaris_creat sys_creat
|
||||
#define solaris_link sys_link
|
||||
#define solaris_unlink sys_unlink
|
||||
#define solaris_chdir sys_chdir
|
||||
#define solaris_time sys_time
|
||||
#define solaris_chmod sys_chmod
|
||||
#define solaris_lseek sys_lseek
|
||||
#define solaris_stime sys_stime
|
||||
#define solaris_alarm sys_alarm
|
||||
#define solaris_utime sys_utime
|
||||
#define solaris_access sys_access
|
||||
#define solaris_nice sys_nice
|
||||
#define solaris_dup sys_dup
|
||||
#define solaris_pipe sys_pipe
|
||||
#define solaris_times sys_times
|
||||
#define solaris_execve sys_execve
|
||||
#define solaris_umask sys_umask
|
||||
#define solaris_chroot sys_chroot
|
||||
#define solaris_rmdir sys_rmdir
|
||||
#define solaris_mkdir sys_mkdir
|
||||
#define solaris_getdents sys_getdents
|
||||
#define solaris_poll sys_poll
|
||||
#define solaris_symlink sys_symlink
|
||||
#define solaris_readlink sys_readlink
|
||||
#define solaris_setgroups sys_setgroups
|
||||
#define solaris_getgroups sys_getgroups
|
||||
#define solaris_fchmod sys_fchmod
|
||||
#define solaris_fchown sys_fchown
|
||||
#define solaris_mprotect sys_mprotect
|
||||
#define solaris_munmap sys_munmap
|
||||
#define solaris_readv sys_readv
|
||||
#define solaris_writev sys_writev
|
||||
#define solaris_chown sys_chown
|
||||
#define solaris_rename sys_rename
|
||||
#define solaris_gettimeofday sys_gettimeofday
|
||||
#define solaris_getitimer sys_getitimer
|
||||
#define solaris_setitimer sys_setitimer
|
||||
#define solaris_brk sys_brk
|
||||
#define solaris_mmap sys_mmap
|
||||
#define solaris_getsid sys_getsid
|
||||
#define solaris_setsid sys_setsid
|
||||
#define solaris_getpgid sys_getpgid
|
||||
#define solaris_setpgid sys_setpgid
|
||||
#define solaris_getpgrp sys_getpgrp
|
||||
|
||||
/* These are handled according to current_personality */
|
||||
#define solaris_xstat sys_xstat
|
||||
#define solaris_fxstat sys_fxstat
|
||||
#define solaris_lxstat sys_xstat
|
||||
#define solaris_xmknod sys_xmknod
|
||||
#define solaris_stat sys_stat
|
||||
#define solaris_fstat sys_fstat
|
||||
#define solaris_lstat sys_lstat
|
||||
#define solaris_pread sys_pread
|
||||
#define solaris_pwrite sys_pwrite
|
||||
#define solaris_ioctl sys_ioctl
|
||||
#define solaris_mknod sys_mknod
|
||||
|
||||
/* To be done */
|
||||
#define solaris_mount printargs
|
||||
#define solaris_sysinfo printargs
|
||||
#define solaris_sysconfig printargs
|
||||
#define solaris_getpmsg printargs
|
||||
#define solaris_putpmsg printargs
|
||||
#define solaris_wait printargs
|
||||
#define solaris_waitid printargs
|
||||
#define solaris_sigsuspend printargs
|
||||
#define solaris_setpgrp printargs
|
||||
#define solaris_getcontext printargs
|
||||
#define solaris_setcontext printargs
|
||||
#define solaris_getpid printargs
|
||||
#define solaris_getuid printargs
|
||||
#define solaris_kill printargs
|
||||
#define solaris_getgid printargs
|
||||
#define solaris_fcntl printargs
|
||||
#define solaris_getmsg printargs
|
||||
#define solaris_putmsg printargs
|
||||
#define solaris_sigprocmask printargs
|
||||
#define solaris_sigaction printargs
|
||||
#define solaris_sigpending printargs
|
||||
#define solaris_mincore printargs
|
||||
#define solaris_fchdir printargs
|
||||
#define solaris_setrlimit printargs
|
||||
#define solaris_getrlimit printargs
|
||||
#define solaris_uname printargs
|
||||
#define solaris_adjtime printargs
|
||||
#define solaris_fchroot printargs
|
||||
#define solaris_utimes printargs
|
@ -1,116 +0,0 @@
|
||||
[ 1] = "EPERM",
|
||||
[ 2] = "ENOENT",
|
||||
[ 3] = "ESRCH",
|
||||
[ 4] = "EINTR",
|
||||
[ 5] = "EIO",
|
||||
[ 6] = "ENXIO",
|
||||
[ 7] = "E2BIG",
|
||||
[ 8] = "ENOEXEC",
|
||||
[ 9] = "EBADF",
|
||||
[ 10] = "ECHILD",
|
||||
[ 11] = "EAGAIN",
|
||||
[ 12] = "ENOMEM",
|
||||
[ 13] = "EACCES",
|
||||
[ 14] = "EFAULT",
|
||||
[ 15] = "ENOTBLK",
|
||||
[ 16] = "EBUSY",
|
||||
[ 17] = "EEXIST",
|
||||
[ 18] = "EXDEV",
|
||||
[ 19] = "ENODEV",
|
||||
[ 20] = "ENOTDIR",
|
||||
[ 21] = "EISDIR",
|
||||
[ 22] = "EINVAL",
|
||||
[ 23] = "ENFILE",
|
||||
[ 24] = "EMFILE",
|
||||
[ 25] = "ENOTTY",
|
||||
[ 26] = "ETXTBSY",
|
||||
[ 27] = "EFBIG",
|
||||
[ 28] = "ENOSPC",
|
||||
[ 29] = "ESPIPE",
|
||||
[ 30] = "EROFS",
|
||||
[ 31] = "EMLINK",
|
||||
[ 32] = "EPIPE",
|
||||
[ 33] = "EDOM",
|
||||
[ 34] = "ERANGE",
|
||||
[ 35] = "ENOMSG",
|
||||
[ 36] = "EIDRM",
|
||||
[ 37] = "ECHRNG",
|
||||
[ 38] = "EL2NSYNC",
|
||||
[ 39] = "EL3HLT",
|
||||
[ 40] = "EL3RST",
|
||||
[ 41] = "ELNRNG",
|
||||
[ 42] = "EUNATCH",
|
||||
[ 43] = "ENOCSI",
|
||||
[ 44] = "EL2HLT",
|
||||
[ 45] = "EDEADLK",
|
||||
[ 46] = "ENOLCK",
|
||||
[ 47] = "ECANCELED",
|
||||
[ 48] = "ENOTSUP",
|
||||
[ 50] = "EBADE",
|
||||
[ 51] = "EBADR",
|
||||
[ 52] = "EXFULL",
|
||||
[ 53] = "ENOANO",
|
||||
[ 54] = "EBADRQC",
|
||||
[ 55] = "EBADSLT",
|
||||
[ 56] = "EDEADLOCK",
|
||||
[ 57] = "EBFONT",
|
||||
[ 60] = "ENOSTR",
|
||||
[ 61] = "ENODATA",
|
||||
[ 62] = "ETIME",
|
||||
[ 63] = "ENOSR",
|
||||
[ 64] = "ENONET",
|
||||
[ 65] = "ENOPKG",
|
||||
[ 66] = "EREMOTE",
|
||||
[ 67] = "ENOLINK",
|
||||
[ 68] = "EADV",
|
||||
[ 69] = "ESRMNT",
|
||||
[ 70] = "ECOMM",
|
||||
[ 71] = "EPROTO",
|
||||
[ 74] = "EMULTIHOP",
|
||||
[ 77] = "EBADMSG",
|
||||
[ 78] = "ENAMETOOLONG",
|
||||
[ 79] = "EOVERFLOW",
|
||||
[ 80] = "ENOTUNIQ",
|
||||
[ 81] = "EBADFD",
|
||||
[ 82] = "EREMCHG",
|
||||
[ 83] = "ELIBACC",
|
||||
[ 84] = "ELIBBAD",
|
||||
[ 85] = "ELIBSCN",
|
||||
[ 86] = "ELIBMAX",
|
||||
[ 87] = "ELIBEXEC",
|
||||
[ 88] = "EILSEQ",
|
||||
[ 89] = "ENOSYS",
|
||||
[ 90] = "ELOOP",
|
||||
[ 91] = "ERESTART",
|
||||
[ 92] = "ESTRPIPE",
|
||||
[ 93] = "ENOTEMPTY",
|
||||
[ 94] = "EUSERS",
|
||||
[ 95] = "ENOTSOCK",
|
||||
[ 96] = "EDESTADDRREQ",
|
||||
[ 97] = "EMSGSIZE",
|
||||
[ 98] = "EPROTOTYPE",
|
||||
[ 99] = "ENOPROTOOPT",
|
||||
[120] = "EPROTONOSUPPORT",
|
||||
[121] = "ESOCKTNOSUPPORT",
|
||||
[122] = "EOPNOTSUPP",
|
||||
[123] = "EPFNOSUPPORT",
|
||||
[124] = "EAFNOSUPPORT",
|
||||
[125] = "EADDRINUSE",
|
||||
[126] = "EADDRNOTAVAIL",
|
||||
[127] = "ENETDOWN",
|
||||
[128] = "ENETUNREACH",
|
||||
[129] = "ENETRESET",
|
||||
[130] = "ECONNABORTED",
|
||||
[131] = "ECONNRESET",
|
||||
[132] = "ENOBUFS",
|
||||
[133] = "EISCONN",
|
||||
[134] = "ENOTCONN",
|
||||
[143] = "ESHUTDOWN",
|
||||
[144] = "ETOOMANYREFS",
|
||||
[145] = "ETIMEDOUT",
|
||||
[146] = "ECONNREFUSED",
|
||||
[147] = "EHOSTDOWN",
|
||||
[148] = "EHOSTUNREACH",
|
||||
[149] = "EALREADY",
|
||||
[150] = "EINPROGRESS",
|
||||
[151] = "ESTALE",
|
@ -13,7 +13,7 @@ case 0x91d02010:
|
||||
break;
|
||||
case 0x91d0206d:
|
||||
/* Linux/SPARC64 syscall trap. */
|
||||
update_personality(tcp, 2);
|
||||
update_personality(tcp, 1);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
@ -1,429 +0,0 @@
|
||||
{"DKIOCGGEOM", 0x401},
|
||||
{"DKIOCSGEOM", 0x402},
|
||||
{"DKIOCINFO", 0x403},
|
||||
{"DKIOCSAPART", 0x404},
|
||||
{"DKIOCGAPART", 0x405},
|
||||
{"DKIOCEJECT", 0x406},
|
||||
{"DKIOCLOCK", 0x407},
|
||||
{"DKIOCUNLOCK", 0x408},
|
||||
{"DKIOCGVTOC", 0x40b},
|
||||
{"DKIOCSVTOC", 0x40c},
|
||||
{"DKIOCSTATE", 0x40d},
|
||||
{"FDIOGCHAR", 0x433},
|
||||
{"FDIOSCHAR", 0x434},
|
||||
{"FDEJECT", 0x435},
|
||||
{"FDGETCHANGE", 0x436},
|
||||
{"FDGETDRIVECHAR", 0x437},
|
||||
{"FDSETDRIVECHAR", 0x438},
|
||||
{"FDGETSEARCH", 0x439},
|
||||
{"FDSETSEARCH", 0x43a},
|
||||
{"FDIOCMD", 0x43b},
|
||||
{"FDRAW", 0x446},
|
||||
{"FDDEFGEOCHAR", 0x456},
|
||||
{"HDKIOCSTYPE", 0x465},
|
||||
{"HDKIOCGTYPE", 0x466},
|
||||
{"HDKIOCSBAD", 0x467},
|
||||
{"HDKIOCGBAD", 0x468},
|
||||
{"HDKIOCSCMD", 0x469},
|
||||
{"HDKIOCGDIAG", 0x46a},
|
||||
{"CDROMPAUSE", 0x497},
|
||||
{"CDROMRESUME", 0x498},
|
||||
{"CDROMPLAYMSF", 0x499},
|
||||
{"CDROMPLAYTRKIND", 0x49a},
|
||||
{"CDROMREADTOCHDR", 0x49b},
|
||||
{"CDROMREADTOCENTRY", 0x49c},
|
||||
{"CDROMSTOP", 0x49d},
|
||||
{"CDROMSTART", 0x49e},
|
||||
{"CDROMEJECT", 0x49f},
|
||||
{"CDROMVOLCTRL", 0x4a0},
|
||||
{"CDROMSUBCHNL", 0x4a1},
|
||||
{"CDROMREADMODE2", 0x4a2},
|
||||
{"CDROMREADMODE1", 0x4a3},
|
||||
{"CDROMREADOFFSET", 0x4a4},
|
||||
{"CDROMGBLKMODE", 0x4a5},
|
||||
{"CDROMSBLKMODE", 0x4a6},
|
||||
{"CDROMCDDA", 0x4a7},
|
||||
{"CDROMCDXA", 0x4a8},
|
||||
{"CDROMSUBCODE", 0x4a9},
|
||||
{"CDROMGDRVSPEED", 0x4aa},
|
||||
{"CDROMSDRVSPEED", 0x4ab},
|
||||
{"USCSICMD", 0x4c9},
|
||||
{"SBIOCSTIME", 0x4201},
|
||||
{"SBIOCGTIME", 0x4202},
|
||||
{"SBIOCCTIME", 0x4203},
|
||||
{"SBIOCSCHUNK", 0x4204},
|
||||
{"SBIOCGCHUNK", 0x4205},
|
||||
{"SBIOCSSNAP", 0x4206},
|
||||
{"SBIOCGSNAP", 0x4207},
|
||||
{"SBIOCSFLAGS", 0x4208},
|
||||
{"SBIOCGFLAGS", 0x4209},
|
||||
{"LDOPEN", 0x4400},
|
||||
{"LDCLOSE", 0x4401},
|
||||
{"DLIOCRAW", 0x4401},
|
||||
{"SAD_SAP", 0x4401},
|
||||
{"LDCHG", 0x4402},
|
||||
{"SAD_GAP", 0x4402},
|
||||
{"SAD_VML", 0x4403},
|
||||
{"LDGETT", 0x4408},
|
||||
{"LDSETT", 0x4409},
|
||||
{"DL_IOC_HDR_INFO", 0x440a},
|
||||
{"LDSMAP", 0x446e},
|
||||
{"LDGMAP", 0x446f},
|
||||
{"LDNMAP", 0x4470},
|
||||
{"LDEMAP", 0x4471},
|
||||
{"LDDMAP", 0x4472},
|
||||
{"FBIOGTYPE", 0x4600},
|
||||
{"FBIOGINFO", 0x4602},
|
||||
{"FBIOPUTCMAP", 0x4603},
|
||||
{"FBIOGETCMAP", 0x4604},
|
||||
{"FBIOSATTR", 0x4605},
|
||||
{"FBIOGATTR", 0x4606},
|
||||
{"FBIOSVIDEO", 0x4607},
|
||||
{"FBIOGVIDEO", 0x4608},
|
||||
{"FBIOVERTICAL", 0x4609},
|
||||
{"GRABPAGEALLOC", 0x460a},
|
||||
{"GRABPAGEFREE", 0x460b},
|
||||
{"GRABATTACH", 0x460c},
|
||||
{"FBIOGPLNGRP", 0x460d},
|
||||
{"FBIOGCMSIZE", 0x460e},
|
||||
{"FBIOSCMSIZE", 0x460f},
|
||||
{"FBIOSCMS", 0x4610},
|
||||
{"FBIOAVAILPLNGRP", 0x4611},
|
||||
{"FBIODBLGINFO", 0x4612},
|
||||
{"FBIODBLSINFO", 0x4613},
|
||||
{"FBIOSWINFD", 0x4614},
|
||||
{"FBIOSAVWINFD", 0x4615},
|
||||
{"FBIORESWINFD", 0x4616},
|
||||
{"FBIOSRWINFD", 0x4617},
|
||||
{"VIS_SETCURSOR", 0x4618},
|
||||
{"FBIOSCURSOR", 0x4618},
|
||||
{"FBIOGCURSOR", 0x4619},
|
||||
{"VIS_GETCURSOR", 0x4619},
|
||||
{"FBIOSCURPOS", 0x461a},
|
||||
{"VIS_MOVECURSOR", 0x461a},
|
||||
{"FBIOGCURPOS", 0x461b},
|
||||
{"VIS_GETCURSORPOS", 0x461b},
|
||||
{"FBIOGCURMAX", 0x461c},
|
||||
{"GRABLOCKINFO", 0x461d},
|
||||
{"FBIO_WID_ALLOC", 0x461e},
|
||||
{"FBIO_WID_FREE", 0x461f},
|
||||
{"FBIO_WID_PUT", 0x4620},
|
||||
{"FBIO_WID_GET", 0x4621},
|
||||
{"FBIO_DEVID", 0x4622},
|
||||
{"FBIO_U_RST", 0x4623},
|
||||
{"FBIO_FULLSCREEN_ELIMINATION_GROUPS", 0x4624},
|
||||
{"FBIO_WID_DBL_SET", 0x4625},
|
||||
{"FBIOVRTOFFSET", 0x4626},
|
||||
{"FBIOGXINFO", 0x4627},
|
||||
{"FBIOMONINFO", 0x4628},
|
||||
{"FBIOPUTCMAPI", 0x4629},
|
||||
{"FBIOGETCMAPI", 0x462a},
|
||||
{"FBIO_ASSIGNWID", 0x462b},
|
||||
{"FBIO_STEREO", 0x462c},
|
||||
{"GP1IO_PUT_INFO", 0x4700},
|
||||
{"GP1IO_GET_STATIC_BLOCK", 0x4701},
|
||||
{"GP1IO_FREE_STATIC_BLOCK", 0x4702},
|
||||
{"GP1IO_GET_GBUFFER_STATE", 0x4703},
|
||||
{"GP1IO_CHK_GP", 0x4704},
|
||||
{"GP1IO_GET_RESTART_COUNT", 0x4705},
|
||||
{"GP1IO_REDIRECT_DEVFB", 0x4706},
|
||||
{"GP1IO_GET_REQDEV", 0x4707},
|
||||
{"GP1IO_GET_TRUMINORDEV", 0x4708},
|
||||
{"GP1IO_CHK_FOR_GBUFFER", 0x4709},
|
||||
{"GP1IO_SET_USING_GBUFFER", 0x470a},
|
||||
{"GP1IO_INFO_STATIC_BLOCK", 0x470b},
|
||||
{"O_SI_GETUDATA", 0x4965},
|
||||
{"SI_SHUTDOWN", 0x4966},
|
||||
{"SI_LISTEN", 0x4967},
|
||||
{"SI_SETMYNAME", 0x4968},
|
||||
{"SI_SETPEERNAME", 0x4969},
|
||||
{"SI_GETINTRANSIT", 0x496a},
|
||||
{"SI_SOCKPARAMS", 0x496d},
|
||||
{"SI_GETUDATA", 0x496e},
|
||||
{"I_TRCLOG", 0x4c01},
|
||||
{"I_ERRLOG", 0x4c02},
|
||||
{"I_CONSLOG", 0x4c03},
|
||||
{"MDI_RESET", 0x4d01},
|
||||
{"MDI_GET_CFGINFO", 0x4d02},
|
||||
{"MDI_SET_PIXELMODE", 0x4d03},
|
||||
{"MDI_SET_COUNTERS", 0x4d04},
|
||||
{"MDI_SET_PPR", 0x4d05},
|
||||
{"MDI_VRT_CNTL", 0x4d06},
|
||||
{"MDI_SET_CLUT", 0x4d07},
|
||||
{"MDI_GET_CLUT", 0x4d08},
|
||||
{"MDI_SET_XLUT", 0x4d09},
|
||||
{"MDI_GET_XLUT", 0x4d0a},
|
||||
{"MDI_GAMMA_CORRECT", 0x4d0b},
|
||||
{"MDI_SET_GAMMALUT", 0x4d0c},
|
||||
{"MDI_GET_GAMMALUT", 0x4d0d},
|
||||
{"MDI_SET_DEGAMMALUT", 0x4d0e},
|
||||
{"MDI_GET_DEGAMMALUT", 0x4d0f},
|
||||
{"MDI_GET_BUFFER_INFO", 0x4d10},
|
||||
{"MDI_SET_CURSOR", 0x4d11},
|
||||
{"MDI_GET_DIAGINFO", 0x4d12},
|
||||
{"MDI_SET_RESOLUTION", 0x4d13},
|
||||
{"SET_MONITOR_POWER", 0x4d14},
|
||||
{"OPROMGETBOOTARGS", 0x4f0c},
|
||||
{"PFIOCSETF", 0x5001},
|
||||
{"I_NREAD", 0x5301},
|
||||
{"I_PUSH", 0x5302},
|
||||
{"I_POP", 0x5303},
|
||||
{"I_LOOK", 0x5304},
|
||||
{"I_FLUSH", 0x5305},
|
||||
{"I_SRDOPT", 0x5306},
|
||||
{"I_GRDOPT", 0x5307},
|
||||
{"I_STR", 0x5308},
|
||||
{"I_SETSIG", 0x5309},
|
||||
{"I_GETSIG", 0x530a},
|
||||
{"I_FIND", 0x530b},
|
||||
{"I_LINK", 0x530c},
|
||||
{"I_UNLINK", 0x530d},
|
||||
{"I_RECVFD", 0x530e},
|
||||
{"I_PEEK", 0x530f},
|
||||
{"I_FDINSERT", 0x5310},
|
||||
{"I_SENDFD", 0x5311},
|
||||
{"I_SWROPT", 0x5313},
|
||||
{"I_GWROPT", 0x5314},
|
||||
{"I_LIST", 0x5315},
|
||||
{"I_PLINK", 0x5316},
|
||||
{"I_PUNLINK", 0x5317},
|
||||
{"I_SETEV", 0x5318},
|
||||
{"I_GETEV", 0x5319},
|
||||
{"I_STREV", 0x531a},
|
||||
{"I_UNSTREV", 0x531b},
|
||||
{"I_FLUSHBAND", 0x531c},
|
||||
{"I_CKBAND", 0x531d},
|
||||
{"I_GETBAND", 0x531e},
|
||||
{"I_ATMARK", 0x531f},
|
||||
{"I_SETCLTIME", 0x5320},
|
||||
{"I_GETCLTIME", 0x5321},
|
||||
{"I_CANPUT", 0x5322},
|
||||
{"TCGETA", 0x5401},
|
||||
{"TCSETA", 0x5402},
|
||||
{"TCSETAW", 0x5403},
|
||||
{"TCSETAF", 0x5404},
|
||||
{"TCSBRK", 0x5405},
|
||||
{"TCXONC", 0x5406},
|
||||
{"TCFLSH", 0x5407},
|
||||
{"TIOCKBON", 0x5408},
|
||||
{"TIOCKBOF", 0x5409},
|
||||
{"KBENABLED", 0x540a},
|
||||
{"TCGETS", 0x540d},
|
||||
{"TCSETS", 0x540e},
|
||||
{"TCSANOW", 0x540e},
|
||||
{"TCSADRAIN", 0x540f},
|
||||
{"TCSETSW", 0x540f},
|
||||
{"TCSAFLUSH", 0x5410},
|
||||
{"TCSETSF", 0x5410},
|
||||
{"TCDSET", 0x5420},
|
||||
{"TCDSET", 0x5420},
|
||||
{"RTS_TOG", 0x5421},
|
||||
{"TIOCSWINSZ", 0x5467},
|
||||
{"TIOCSWINSZ", 0x5467},
|
||||
{"TIOCGWINSZ", 0x5468},
|
||||
{"TIOCGWINSZ", 0x5468},
|
||||
{"TIOCGSOFTCAR", 0x5469},
|
||||
{"TIOCSSOFTCAR", 0x546a},
|
||||
{"TI_GETINFO", 0x548c},
|
||||
{"TI_OPTMGMT", 0x548d},
|
||||
{"TI_BIND", 0x548e},
|
||||
{"TI_UNBIND", 0x548f},
|
||||
{"TI_GETMYNAME", 0x5490},
|
||||
{"TI_GETPEERNAME", 0x5491},
|
||||
{"TI_SETMYNAME", 0x5492},
|
||||
{"TI_SETPEERNAME", 0x5493},
|
||||
{"TCGETX", 0x5801},
|
||||
{"TCSETX", 0x5802},
|
||||
{"TCSETXW", 0x5803},
|
||||
{"TCSETXF", 0x5804},
|
||||
{"DIOCGETC", 0x6401},
|
||||
{"DIOCGETB", 0x6402},
|
||||
{"DIOCSETE", 0x6403},
|
||||
{"DIOCGETP", 0x6408},
|
||||
{"DIOCSETP", 0x6409},
|
||||
{"JBOOT", 0x6a01},
|
||||
{"JTERM", 0x6a02},
|
||||
{"JMPX", 0x6a03},
|
||||
{"JWINSIZE", 0x6a05},
|
||||
{"JZOMBOOT", 0x6a07},
|
||||
{"JAGENT", 0x6a09},
|
||||
{"JTRUN", 0x6a0a},
|
||||
{"JXTPROTO", 0x6a0b},
|
||||
{"KIOCTRANS", 0x6b00},
|
||||
{"KIOCSETKEY", 0x6b01},
|
||||
{"KIOCGETKEY", 0x6b02},
|
||||
{"KIOCGTRANS", 0x6b05},
|
||||
{"KIOCTRANSABLE", 0x6b06},
|
||||
{"KIOCGTRANSABLE", 0x6b07},
|
||||
{"KIOCCMD", 0x6b08},
|
||||
{"KIOCTYPE", 0x6b09},
|
||||
{"KIOCSDIRECT", 0x6b0a},
|
||||
{"KIOCGDIRECT", 0x6b0b},
|
||||
{"KIOCSKEY", 0x6b0c},
|
||||
{"KIOCGKEY", 0x6b0d},
|
||||
{"KIOCSLED", 0x6b0e},
|
||||
{"KIOCGLED", 0x6b0f},
|
||||
{"KIOCSCOMPAT", 0x6b10},
|
||||
{"KIOCGCOMPAT", 0x6b11},
|
||||
{"KIOCLAYOUT", 0x6b14},
|
||||
{"LIOCGETP", 0x6c01},
|
||||
{"LIOCSETP", 0x6c02},
|
||||
{"LIOCGETS", 0x6c05},
|
||||
{"LIOCSETS", 0x6c06},
|
||||
{"MTIOCTOP", 0x6d01},
|
||||
{"MSIOGETPARMS", 0x6d01},
|
||||
{"MSIOSETPARMS", 0x6d02},
|
||||
{"MTIOCGET", 0x6d02},
|
||||
{"MTIOCGETDRIVETYPE", 0x6d03},
|
||||
{"PIOCSTATUS", 0x7101},
|
||||
{"PIOCSTOP", 0x7102},
|
||||
{"PIOCWSTOP", 0x7103},
|
||||
{"PIOCRUN", 0x7104},
|
||||
{"PIOCGTRACE", 0x7105},
|
||||
{"PIOCSTRACE", 0x7106},
|
||||
{"PIOCSSIG", 0x7107},
|
||||
{"PIOCKILL", 0x7108},
|
||||
{"PIOCUNKILL", 0x7109},
|
||||
{"PIOCGHOLD", 0x710a},
|
||||
{"PIOCSHOLD", 0x710b},
|
||||
{"PIOCMAXSIG", 0x710c},
|
||||
{"PIOCACTION", 0x710d},
|
||||
{"PIOCGFAULT", 0x710e},
|
||||
{"PIOCSFAULT", 0x710f},
|
||||
{"PIOCCFAULT", 0x7110},
|
||||
{"PIOCGENTRY", 0x7111},
|
||||
{"PIOCSENTRY", 0x7112},
|
||||
{"PIOCGEXIT", 0x7113},
|
||||
{"PIOCSEXIT", 0x7114},
|
||||
{"PIOCSFORK", 0x7115},
|
||||
{"PIOCRFORK", 0x7116},
|
||||
{"PIOCSRLC", 0x7117},
|
||||
{"PIOCRRLC", 0x7118},
|
||||
{"PIOCGREG", 0x7119},
|
||||
{"PIOCSREG", 0x711a},
|
||||
{"PIOCGFPREG", 0x711b},
|
||||
{"PIOCSFPREG", 0x711c},
|
||||
{"PIOCNICE", 0x711d},
|
||||
{"PIOCPSINFO", 0x711e},
|
||||
{"PIOCNMAP", 0x711f},
|
||||
{"PIOCMAP", 0x7120},
|
||||
{"PIOCOPENM", 0x7121},
|
||||
{"PIOCCRED", 0x7122},
|
||||
{"PIOCGROUPS", 0x7123},
|
||||
{"PIOCGETPR", 0x7124},
|
||||
{"PIOCGETU", 0x7125},
|
||||
{"PIOCSET", 0x7126},
|
||||
{"PIOCRESET", 0x7127},
|
||||
{"PIOCNWATCH", 0x7128},
|
||||
{"PIOCGWATCH", 0x7129},
|
||||
{"PIOCSWATCH", 0x712a},
|
||||
{"PIOCUSAGE", 0x712b},
|
||||
{"PIOCOPENPD", 0x712c},
|
||||
{"PIOCLWPIDS", 0x712d},
|
||||
{"PIOCOPENLWP", 0x712e},
|
||||
{"PIOCLSTATUS", 0x712f},
|
||||
{"PIOCLUSAGE", 0x7130},
|
||||
{"PIOCNAUXV", 0x7131},
|
||||
{"PIOCAUXV", 0x7132},
|
||||
{"PIOCGWIN", 0x7165},
|
||||
{"TIOCGETD", 0x7400},
|
||||
{"TIOCGETD", 0x7400},
|
||||
{"TIOCSETD", 0x7401},
|
||||
{"TIOCSETD", 0x7401},
|
||||
{"TIOCHPCL", 0x7402},
|
||||
{"TIOCHPCL", 0x7402},
|
||||
{"TIOCGETP", 0x7408},
|
||||
{"TIOCGETP", 0x7408},
|
||||
{"TIOCSETP", 0x7409},
|
||||
{"TIOCSETP", 0x7409},
|
||||
{"TIOCSETN", 0x740a},
|
||||
{"TIOCSETN", 0x740a},
|
||||
{"TIOCEXCL", 0x740d},
|
||||
{"TIOCEXCL", 0x740d},
|
||||
{"TIOCNXCL", 0x740e},
|
||||
{"TIOCNXCL", 0x740e},
|
||||
{"TIOCFLUSH", 0x7410},
|
||||
{"TIOCFLUSH", 0x7410},
|
||||
{"TIOCSETC", 0x7411},
|
||||
{"TIOCSETC", 0x7411},
|
||||
{"TIOCGETC", 0x7412},
|
||||
{"TIOCGETC", 0x7412},
|
||||
{"TIOCGPGRP", 0x7414},
|
||||
{"TIOCSPGRP", 0x7415},
|
||||
{"TIOCGSID", 0x7416},
|
||||
{"TIOCSTI", 0x7417},
|
||||
{"TIOCSSID", 0x7418},
|
||||
{"TIOCMSET", 0x741a},
|
||||
{"TIOCMBIS", 0x741b},
|
||||
{"TIOCMBIC", 0x741c},
|
||||
{"TIOCMGET", 0x741d},
|
||||
{"TIOCREMOTE", 0x741e},
|
||||
{"TIOCREMOTE", 0x741e},
|
||||
{"TIOCSIGNAL", 0x741f},
|
||||
{"TIOCSTART", 0x746e},
|
||||
{"TIOCSTART", 0x746e},
|
||||
{"TIOCSTOP", 0x746f},
|
||||
{"TIOCSTOP", 0x746f},
|
||||
{"TIOCNOTTY", 0x7471},
|
||||
{"TIOCNOTTY", 0x7471},
|
||||
{"TIOCOUTQ", 0x7473},
|
||||
{"TIOCOUTQ", 0x7473},
|
||||
{"TIOCGLTC", 0x7474},
|
||||
{"TIOCGLTC", 0x7474},
|
||||
{"TIOCSLTC", 0x7475},
|
||||
{"TIOCSLTC", 0x7475},
|
||||
{"TIOCCDTR", 0x7478},
|
||||
{"TIOCCDTR", 0x7478},
|
||||
{"TIOCSDTR", 0x7479},
|
||||
{"TIOCSDTR", 0x7479},
|
||||
{"TIOCCBRK", 0x747a},
|
||||
{"TIOCCBRK", 0x747a},
|
||||
{"TIOCSBRK", 0x747b},
|
||||
{"TIOCSBRK", 0x747b},
|
||||
{"TIOCLGET", 0x747c},
|
||||
{"TIOCLGET", 0x747c},
|
||||
{"TIOCLSET", 0x747d},
|
||||
{"TIOCLSET", 0x747d},
|
||||
{"TIOCLBIC", 0x747e},
|
||||
{"TIOCLBIC", 0x747e},
|
||||
{"TIOCLBIS", 0x747f},
|
||||
{"TIOCLBIS", 0x747f},
|
||||
{"VOLIOCMAP", 0x7601},
|
||||
{"VUIDSFORMAT", 0x7601},
|
||||
{"VUIDSFORMAT", 0x7601},
|
||||
{"VUIDGFORMAT", 0x7602},
|
||||
{"VUIDGFORMAT", 0x7602},
|
||||
{"VOLIOCUNMAP", 0x7602},
|
||||
{"VOLIOCEVENT", 0x7603},
|
||||
{"VUIDSADDR", 0x7603},
|
||||
{"VUIDSADDR", 0x7603},
|
||||
{"VUIDGADDR", 0x7604},
|
||||
{"VUIDGADDR", 0x7604},
|
||||
{"VOLIOCEJECT", 0x7604},
|
||||
{"VOLIOCCHECK", 0x7605},
|
||||
{"VOLIOCINUSE", 0x7606},
|
||||
{"VOLIOCDGATTR", 0x7607},
|
||||
{"VOLIOCDSATTR", 0x7608},
|
||||
{"VOLIOCDCHECK", 0x7609},
|
||||
{"VOLIOCCANCEL", 0x760a},
|
||||
{"VOLIOCINFO", 0x760b},
|
||||
{"VOLIOCSATTR", 0x760c},
|
||||
{"VOLIOCGATTR", 0x760d},
|
||||
{"VOLIOCDINUSE", 0x760e},
|
||||
{"VOLIOCDAEMON", 0x760f},
|
||||
{"VOLIOCFLAGS", 0x7610},
|
||||
{"VOLIOCEXTRA4", 0x7611},
|
||||
{"VOLIOCEXTRA5", 0x7612},
|
||||
{"VOLIOCEXTRA6", 0x7613},
|
||||
{"VOLIOCEXTRA7", 0x7614},
|
||||
{"S_IOCGETMODE", 0x7a01},
|
||||
{"S_IOCSETMODE", 0x7a02},
|
||||
{"S_IOCGETSTATS", 0x7a03},
|
||||
{"S_IOCCLRSTATS", 0x7a04},
|
||||
{"S_IOCGETSPEED", 0x7a05},
|
||||
{"S_IOCGETMRU", 0x7a06},
|
||||
{"S_IOCSETMRU", 0x7a07},
|
||||
{"S_IOCGETMTU", 0x7a08},
|
||||
{"S_IOCSETMTU", 0x7a09},
|
||||
{"S_IOCGETMCTL", 0x7a0a},
|
||||
{"TL_IOC_CREDOPT", 0x544c01},
|
@ -1,36 +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 */
|
||||
"SIGUSR1", /* 16 */
|
||||
"SIGUSR2", /* 17 */
|
||||
"SIGCHLD", /* 18 */
|
||||
"SIGPWR", /* 19 */
|
||||
"SIGWINCH", /* 20 */
|
||||
"SIGURG", /* 21 */
|
||||
"SIGPOLL", /* 22 */
|
||||
"SIGSTOP", /* 23 */
|
||||
"SIGTSTP", /* 24 */
|
||||
"SIGCONT", /* 25 */
|
||||
"SIGTTIN", /* 26 */
|
||||
"SIGTTOU", /* 27 */
|
||||
"SIGVTALRM", /* 28 */
|
||||
"SIGPROF", /* 29 */
|
||||
"SIGXCPU", /* 30 */
|
||||
"SIGXFSZ", /* 31 */
|
||||
"SIGWAITING", /* 32 */
|
||||
"SIGLWP", /* 33 */
|
||||
"SIGFREEZE", /* 34 */
|
||||
"SIGTHAW", /* 35 */
|
@ -1,498 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define SOLARIS_syscall 0
|
||||
#define SOLARIS_exit 1
|
||||
#define SOLARIS_fork 2
|
||||
#define SOLARIS_read 3
|
||||
#define SOLARIS_write 4
|
||||
#define SOLARIS_open 5
|
||||
#define SOLARIS_close 6
|
||||
#define SOLARIS_wait 7
|
||||
#define SOLARIS_creat 8
|
||||
#define SOLARIS_link 9
|
||||
#define SOLARIS_unlink 10
|
||||
#define SOLARIS_exec 11
|
||||
#define SOLARIS_chdir 12
|
||||
#define SOLARIS_time 13
|
||||
#define SOLARIS_mknod 14
|
||||
#define SOLARIS_chmod 15
|
||||
#define SOLARIS_chown 16
|
||||
#define SOLARIS_brk 17
|
||||
#define SOLARIS_stat 18
|
||||
#define SOLARIS_lseek 19
|
||||
#define SOLARIS_getpid 20
|
||||
#define SOLARIS_mount 21
|
||||
#define SOLARIS_umount 22
|
||||
#define SOLARIS_setuid 23
|
||||
#define SOLARIS_getuid 24
|
||||
#define SOLARIS_stime 25
|
||||
#define SOLARIS_ptrace 26
|
||||
#define SOLARIS_alarm 27
|
||||
#define SOLARIS_fstat 28
|
||||
#define SOLARIS_pause 29
|
||||
#define SOLARIS_utime 30
|
||||
#define SOLARIS_stty 31
|
||||
#define SOLARIS_gtty 32
|
||||
#define SOLARIS_access 33
|
||||
#define SOLARIS_nice 34
|
||||
#define SOLARIS_statfs 35
|
||||
#define SOLARIS_sync 36
|
||||
#define SOLARIS_kill 37
|
||||
#define SOLARIS_fstatfs 38
|
||||
#define SOLARIS_pgrpsys 39
|
||||
#define SOLARIS_xenix 40
|
||||
#define SOLARIS_dup 41
|
||||
#define SOLARIS_pipe 42
|
||||
#define SOLARIS_times 43
|
||||
#define SOLARIS_profil 44
|
||||
#define SOLARIS_plock 45
|
||||
#define SOLARIS_setgid 46
|
||||
#define SOLARIS_getgid 47
|
||||
#define SOLARIS_signal 48
|
||||
#define SOLARIS_msgsys 49
|
||||
#define SOLARIS_syssun 50
|
||||
#define SOLARIS_acct 51
|
||||
#define SOLARIS_shmsys 52
|
||||
#define SOLARIS_semsys 53
|
||||
#define SOLARIS_ioctl 54
|
||||
#define SOLARIS_uadmin 55
|
||||
#define SOLARIS_utssys 57
|
||||
#define SOLARIS_fdsync 58
|
||||
#define SOLARIS_execve 59
|
||||
#define SOLARIS_umask 60
|
||||
#define SOLARIS_chroot 61
|
||||
#define SOLARIS_fcntl 62
|
||||
#define SOLARIS_ulimit 63
|
||||
#define SOLARIS_rmdir 79
|
||||
#define SOLARIS_mkdir 80
|
||||
#define SOLARIS_getdents 81
|
||||
#define SOLARIS_sysfs 84
|
||||
#define SOLARIS_getmsg 85
|
||||
#define SOLARIS_putmsg 86
|
||||
#define SOLARIS_poll 87
|
||||
#define SOLARIS_lstat 88
|
||||
#define SOLARIS_symlink 89
|
||||
#define SOLARIS_readlink 90
|
||||
#define SOLARIS_setgroups 91
|
||||
#define SOLARIS_getgroups 92
|
||||
#define SOLARIS_fchmod 93
|
||||
#define SOLARIS_fchown 94
|
||||
#define SOLARIS_sigprocmask 95
|
||||
#define SOLARIS_sigsuspend 96
|
||||
#define SOLARIS_sigaltstack 97
|
||||
#define SOLARIS_sigaction 98
|
||||
#define SOLARIS_sigpending 99
|
||||
#define SOLARIS_context 100
|
||||
#define SOLARIS_evsys 101
|
||||
#define SOLARIS_evtrapret 102
|
||||
#define SOLARIS_statvfs 103
|
||||
#define SOLARIS_fstatvfs 104
|
||||
#define SOLARIS_nfssys 106
|
||||
#define SOLARIS_waitsys 107
|
||||
#define SOLARIS_sigsendsys 108
|
||||
#define SOLARIS_hrtsys 109
|
||||
#define SOLARIS_acancel 110
|
||||
#define SOLARIS_async 111
|
||||
#define SOLARIS_priocntlsys 112
|
||||
#define SOLARIS_pathconf 113
|
||||
#define SOLARIS_mincore 114
|
||||
#define SOLARIS_mmap 115
|
||||
#define SOLARIS_mprotect 116
|
||||
#define SOLARIS_munmap 117
|
||||
#define SOLARIS_fpathconf 118
|
||||
#define SOLARIS_vfork 119
|
||||
#define SOLARIS_fchdir 120
|
||||
#define SOLARIS_readv 121
|
||||
#define SOLARIS_writev 122
|
||||
#define SOLARIS_xstat 123
|
||||
#define SOLARIS_lxstat 124
|
||||
#define SOLARIS_fxstat 125
|
||||
#define SOLARIS_xmknod 126
|
||||
#define SOLARIS_clocal 127
|
||||
#define SOLARIS_setrlimit 128
|
||||
#define SOLARIS_getrlimit 129
|
||||
#define SOLARIS_lchown 130
|
||||
#define SOLARIS_memcntl 131
|
||||
#define SOLARIS_getpmsg 132
|
||||
#define SOLARIS_putpmsg 133
|
||||
#define SOLARIS_rename 134
|
||||
#define SOLARIS_uname 135
|
||||
#define SOLARIS_setegid 136
|
||||
#define SOLARIS_sysconfig 137
|
||||
#define SOLARIS_adjtime 138
|
||||
#define SOLARIS_systeminfo 139
|
||||
#define SOLARIS_seteuid 141
|
||||
#define SOLARIS_vtrace 142
|
||||
#define SOLARIS_fork1 143
|
||||
#define SOLARIS_sigtimedwait 144
|
||||
#define SOLARIS_lwp_info 145
|
||||
#define SOLARIS_yield 146
|
||||
#define SOLARIS_lwp_sema_wait 147
|
||||
#define SOLARIS_lwp_sema_post 148
|
||||
#define SOLARIS_modctl 152
|
||||
#define SOLARIS_fchroot 153
|
||||
#define SOLARIS_utimes 154
|
||||
#define SOLARIS_vhangup 155
|
||||
#define SOLARIS_gettimeofday 156
|
||||
#define SOLARIS_getitimer 157
|
||||
#define SOLARIS_setitimer 158
|
||||
#define SOLARIS_lwp_create 159
|
||||
#define SOLARIS_lwp_exit 160
|
||||
#define SOLARIS_lwp_suspend 161
|
||||
#define SOLARIS_lwp_continue 162
|
||||
#define SOLARIS_lwp_kill 163
|
||||
#define SOLARIS_lwp_self 164
|
||||
#define SOLARIS_lwp_setprivate 165
|
||||
#define SOLARIS_lwp_getprivate 166
|
||||
#define SOLARIS_lwp_wait 167
|
||||
#define SOLARIS_lwp_mutex_unlock 168
|
||||
#define SOLARIS_lwp_mutex_lock 169
|
||||
#define SOLARIS_lwp_cond_wait 170
|
||||
#define SOLARIS_lwp_cond_signal 171
|
||||
#define SOLARIS_lwp_cond_broadcast 172
|
||||
#define SOLARIS_pread 173
|
||||
#define SOLARIS_pwrite 174
|
||||
#define SOLARIS_llseek 175
|
||||
#define SOLARIS_inst_sync 176
|
||||
#define SOLARIS_kaio 178
|
||||
#define SOLARIS_tsolsys 184
|
||||
#define SOLARIS_acl 185
|
||||
#define SOLARIS_auditsys 186
|
||||
#define SOLARIS_processor_bind 187
|
||||
#define SOLARIS_processor_info 188
|
||||
#define SOLARIS_p_online 189
|
||||
#define SOLARIS_sigqueue 190
|
||||
#define SOLARIS_clock_gettime 191
|
||||
#define SOLARIS_clock_settime 192
|
||||
#define SOLARIS_clock_getres 193
|
||||
#define SOLARIS_timer_create 194
|
||||
#define SOLARIS_timer_delete 195
|
||||
#define SOLARIS_timer_settime 196
|
||||
#define SOLARIS_timer_gettime 197
|
||||
#define SOLARIS_timer_getoverrun 198
|
||||
#define SOLARIS_nanosleep 199
|
||||
#define SOLARIS_facl 200
|
||||
#define SOLARIS_door 201
|
||||
#define SOLARIS_setreuid 202
|
||||
#define SOLARIS_setregid 203
|
||||
#define SOLARIS_signotifywait 210
|
||||
#define SOLARIS_lwp_sigredirect 211
|
||||
#define SOLARIS_lwp_alarm 212
|
||||
|
||||
#include "dummy2.h"
|
||||
|
||||
extern int solaris_syscall();
|
||||
extern int solaris_exit();
|
||||
extern int solaris_fork();
|
||||
extern int solaris_read();
|
||||
extern int solaris_write();
|
||||
extern int solaris_open();
|
||||
extern int solaris_close();
|
||||
extern int solaris_wait();
|
||||
extern int solaris_creat();
|
||||
extern int solaris_link();
|
||||
extern int solaris_unlink();
|
||||
extern int solaris_exec();
|
||||
extern int solaris_chdir();
|
||||
extern int solaris_time();
|
||||
extern int solaris_mknod();
|
||||
extern int solaris_chmod();
|
||||
extern int solaris_chown();
|
||||
extern int solaris_brk();
|
||||
extern int solaris_stat();
|
||||
extern int solaris_lseek();
|
||||
extern int solaris_getpid();
|
||||
extern int solaris_mount();
|
||||
extern int solaris_umount();
|
||||
extern int solaris_setuid();
|
||||
extern int solaris_getuid();
|
||||
extern int solaris_stime();
|
||||
extern int solaris_ptrace();
|
||||
extern int solaris_alarm();
|
||||
extern int solaris_fstat();
|
||||
extern int solaris_pause();
|
||||
extern int solaris_utime();
|
||||
extern int solaris_stty();
|
||||
extern int solaris_gtty();
|
||||
extern int solaris_access();
|
||||
extern int solaris_nice();
|
||||
extern int solaris_statfs();
|
||||
extern int solaris_sync();
|
||||
extern int solaris_kill();
|
||||
extern int solaris_fstatfs();
|
||||
extern int solaris_pgrpsys();
|
||||
extern int solaris_setpgrp();
|
||||
extern int solaris_xenix();
|
||||
extern int solaris_syssgi();
|
||||
extern int solaris_dup();
|
||||
extern int solaris_pipe();
|
||||
extern int solaris_times();
|
||||
extern int solaris_profil();
|
||||
extern int solaris_plock();
|
||||
extern int solaris_setgid();
|
||||
extern int solaris_getgid();
|
||||
extern int solaris_sigcall();
|
||||
extern int solaris_msgsys();
|
||||
extern int solaris_syssun();
|
||||
extern int solaris_sysi86();
|
||||
extern int solaris_sysmips();
|
||||
extern int solaris_sysmachine();
|
||||
extern int solaris_acct();
|
||||
extern int solaris_shmsys();
|
||||
extern int solaris_semsys();
|
||||
extern int solaris_ioctl();
|
||||
extern int solaris_uadmin();
|
||||
extern int solaris_utssys();
|
||||
extern int solaris_fdsync();
|
||||
extern int solaris_execve();
|
||||
extern int solaris_umask();
|
||||
extern int solaris_chroot();
|
||||
extern int solaris_fcntl();
|
||||
extern int solaris_ulimit();
|
||||
extern int solaris_rmdir();
|
||||
extern int solaris_mkdir();
|
||||
extern int solaris_getdents();
|
||||
extern int solaris_sysfs();
|
||||
extern int solaris_getmsg();
|
||||
extern int solaris_putmsg();
|
||||
extern int solaris_poll();
|
||||
extern int solaris_lstat();
|
||||
extern int solaris_symlink();
|
||||
extern int solaris_readlink();
|
||||
extern int solaris_setgroups();
|
||||
extern int solaris_getgroups();
|
||||
extern int solaris_fchmod();
|
||||
extern int solaris_fchown();
|
||||
extern int solaris_sigprocmask();
|
||||
extern int solaris_sigsuspend();
|
||||
extern int solaris_sigaltstack();
|
||||
extern int solaris_sigaction();
|
||||
extern int solaris_spcall();
|
||||
extern int solaris_context();
|
||||
extern int solaris_evsys();
|
||||
extern int solaris_evtrapret();
|
||||
extern int solaris_statvfs();
|
||||
extern int solaris_fstatvfs();
|
||||
extern int solaris_nfssys();
|
||||
extern int solaris_waitid();
|
||||
extern int solaris_sigsendsys();
|
||||
extern int solaris_hrtsys();
|
||||
extern int solaris_acancel();
|
||||
extern int solaris_async();
|
||||
extern int solaris_priocntlsys();
|
||||
extern int solaris_pathconf();
|
||||
extern int solaris_mincore();
|
||||
extern int solaris_mmap();
|
||||
extern int solaris_mprotect();
|
||||
extern int solaris_munmap();
|
||||
extern int solaris_fpathconf();
|
||||
extern int solaris_vfork();
|
||||
extern int solaris_fchdir();
|
||||
extern int solaris_readv();
|
||||
extern int solaris_writev();
|
||||
extern int solaris_xstat();
|
||||
extern int solaris_lxstat();
|
||||
extern int solaris_fxstat();
|
||||
extern int solaris_xmknod();
|
||||
extern int solaris_clocal();
|
||||
extern int solaris_setrlimit();
|
||||
extern int solaris_getrlimit();
|
||||
extern int solaris_lchown();
|
||||
extern int solaris_memcntl();
|
||||
extern int solaris_getpmsg();
|
||||
extern int solaris_putpmsg();
|
||||
extern int solaris_rename();
|
||||
extern int solaris_uname();
|
||||
extern int solaris_setegid();
|
||||
extern int solaris_sysconfig();
|
||||
extern int solaris_adjtime();
|
||||
extern int solaris_sysinfo();
|
||||
extern int solaris_seteuid();
|
||||
extern int solaris_vtrace();
|
||||
extern int solaris_fork1();
|
||||
extern int solaris_sigtimedwait();
|
||||
extern int solaris_lwp_info();
|
||||
extern int solaris_yield();
|
||||
extern int solaris_lwp_sema_wait();
|
||||
extern int solaris_lwp_sema_post();
|
||||
extern int solaris_modctl();
|
||||
extern int solaris_fchroot();
|
||||
extern int solaris_utimes();
|
||||
extern int solaris_vhangup();
|
||||
extern int solaris_gettimeofday();
|
||||
extern int solaris_getitimer();
|
||||
extern int solaris_setitimer();
|
||||
extern int solaris_lwp_create();
|
||||
extern int solaris_lwp_exit();
|
||||
extern int solaris_lwp_suspend();
|
||||
extern int solaris_lwp_continue();
|
||||
extern int solaris_lwp_kill();
|
||||
extern int solaris_lwp_self();
|
||||
extern int solaris_lwp_setprivate();
|
||||
extern int solaris_lwp_getprivate();
|
||||
extern int solaris_lwp_wait();
|
||||
extern int solaris_lwp_mutex_unlock();
|
||||
extern int solaris_lwp_mutex_lock();
|
||||
extern int solaris_lwp_cond_wait();
|
||||
extern int solaris_lwp_cond_signal();
|
||||
extern int solaris_lwp_cond_broadcast();
|
||||
extern int solaris_pread();
|
||||
extern int solaris_pwrite();
|
||||
extern int solaris_llseek();
|
||||
extern int solaris_inst_sync();
|
||||
extern int solaris_auditsys();
|
||||
extern int solaris_processor_bind();
|
||||
extern int solaris_processor_info();
|
||||
extern int solaris_p_online();
|
||||
extern int solaris_sigqueue();
|
||||
extern int solaris_clock_gettime();
|
||||
extern int solaris_clock_settime();
|
||||
extern int solaris_clock_getres();
|
||||
extern int solaris_timer_create();
|
||||
extern int solaris_timer_delete();
|
||||
extern int solaris_timer_settime();
|
||||
extern int solaris_timer_gettime();
|
||||
extern int solaris_timer_getoverrun();
|
||||
extern int solaris_nanosleep();
|
||||
|
||||
/* solaris_pgrpsys subcalls */
|
||||
|
||||
extern int solaris_getpgrp(), solaris_setpgrp(), solaris_getsid();
|
||||
extern int solaris_setsid(), solaris_getpgid(), solaris_setpgid();
|
||||
|
||||
#define SOLARIS_pgrpsys_subcall 300
|
||||
#define SOLARIS_getpgrp (SOLARIS_pgrpsys_subcall + 0)
|
||||
#define SOLARIS_setpgrp (SOLARIS_pgrpsys_subcall + 1)
|
||||
#define SOLARIS_getsid (SOLARIS_pgrpsys_subcall + 2)
|
||||
#define SOLARIS_setsid (SOLARIS_pgrpsys_subcall + 3)
|
||||
#define SOLARIS_getpgid (SOLARIS_pgrpsys_subcall + 4)
|
||||
#define SOLARIS_setpgid (SOLARIS_pgrpsys_subcall + 5)
|
||||
|
||||
#define SOLARIS_pgrpsys_nsubcalls 6
|
||||
|
||||
/* solaris_sigcall subcalls */
|
||||
|
||||
#undef SOLARIS_signal
|
||||
#define SOLARIS_sigcall 48
|
||||
|
||||
extern int solaris_signal(), solaris_sigset(), solaris_sighold();
|
||||
extern int solaris_sigrelse(), solaris_sigignore(), solaris_sigpause();
|
||||
|
||||
#define SOLARIS_sigcall_subcall 310
|
||||
#define SOLARIS_signal (SOLARIS_sigcall_subcall + 0)
|
||||
#define SOLARIS_sigset (SOLARIS_sigcall_subcall + 1)
|
||||
#define SOLARIS_sighold (SOLARIS_sigcall_subcall + 2)
|
||||
#define SOLARIS_sigrelse (SOLARIS_sigcall_subcall + 3)
|
||||
#define SOLARIS_sigignore (SOLARIS_sigcall_subcall + 4)
|
||||
#define SOLARIS_sigpause (SOLARIS_sigcall_subcall + 5)
|
||||
|
||||
#define SOLARIS_sigcall_nsubcalls 6
|
||||
|
||||
/* msgsys subcalls */
|
||||
|
||||
extern int solaris_msgget(), solaris_msgctl(), solaris_msgrcv(), solaris_msgsnd();
|
||||
|
||||
#define SOLARIS_msgsys_subcall 320
|
||||
#define SOLARIS_msgget (SOLARIS_msgsys_subcall + 0)
|
||||
#define SOLARIS_msgctl (SOLARIS_msgsys_subcall + 1)
|
||||
#define SOLARIS_msgrcv (SOLARIS_msgsys_subcall + 2)
|
||||
#define SOLARIS_msgsnd (SOLARIS_msgsys_subcall + 3)
|
||||
|
||||
#define SOLARIS_msgsys_nsubcalls 4
|
||||
|
||||
/* shmsys subcalls */
|
||||
|
||||
extern int solaris_shmat(), solaris_shmctl(), solaris_shmdt(), solaris_shmget();
|
||||
|
||||
#define SOLARIS_shmsys_subcall 330
|
||||
#define SOLARIS_shmat (SOLARIS_shmsys_subcall + 0)
|
||||
#define SOLARIS_shmctl (SOLARIS_shmsys_subcall + 1)
|
||||
#define SOLARIS_shmdt (SOLARIS_shmsys_subcall + 2)
|
||||
#define SOLARIS_shmget (SOLARIS_shmsys_subcall + 3)
|
||||
|
||||
#define SOLARIS_shmsys_nsubcalls 4
|
||||
|
||||
/* semsys subcalls */
|
||||
|
||||
extern int solaris_semctl(), solaris_semget(), solaris_semop();
|
||||
|
||||
#define SOLARIS_semsys_subcall 340
|
||||
#define SOLARIS_semctl (SOLARIS_semsys_subcall + 0)
|
||||
#define SOLARIS_semget (SOLARIS_semsys_subcall + 1)
|
||||
#define SOLARIS_semop (SOLARIS_semsys_subcall + 2)
|
||||
|
||||
#define SOLARIS_semsys_nsubcalls 3
|
||||
|
||||
/* utssys subcalls */
|
||||
|
||||
extern int solaris_olduname(), solaris_ustat(), solaris_fusers();
|
||||
|
||||
#define SOLARIS_utssys_subcall 350
|
||||
|
||||
#define SOLARIS_olduname (SOLARIS_utssys_subcall + 0)
|
||||
/* 1 is unused */
|
||||
#define SOLARIS_ustat (SOLARIS_utssys_subcall + 2)
|
||||
#define SOLARIS_fusers (SOLARIS_utssys_subcall + 3)
|
||||
|
||||
#define SOLARIS_utssys_nsubcalls 4
|
||||
|
||||
/* sysfs subcalls */
|
||||
|
||||
extern int solaris_sysfs1(), solaris_sysfs2(), solaris_sysfs3();
|
||||
|
||||
#define SOLARIS_sysfs_subcall 360
|
||||
/* 0 is unused */
|
||||
#define SOLARIS_sysfs1 (SOLARIS_sysfs_subcall + 1)
|
||||
#define SOLARIS_sysfs2 (SOLARIS_sysfs_subcall + 2)
|
||||
#define SOLARIS_sysfs3 (SOLARIS_sysfs_subcall + 3)
|
||||
|
||||
#define SOLARIS_sysfs_nsubcalls 4
|
||||
|
||||
/* solaris_spcall subcalls */
|
||||
|
||||
#undef SOLARIS_sigpending
|
||||
#define SOLARIS_spcall 99
|
||||
|
||||
extern int solaris_sigpending(), solaris_sigfillset();
|
||||
|
||||
#define SOLARIS_spcall_subcall 370
|
||||
/* 0 is unused */
|
||||
#define SOLARIS_sigpending (SOLARIS_spcall_subcall + 1)
|
||||
#define SOLARIS_sigfillset (SOLARIS_spcall_subcall + 2)
|
||||
|
||||
#define SOLARIS_spcall_nsubcalls 3
|
||||
|
||||
/* solaris_context subcalls */
|
||||
|
||||
extern int solaris_getcontext(), solaris_setcontext();
|
||||
|
||||
#define SOLARIS_context_subcall 380
|
||||
#define SOLARIS_getcontext (SOLARIS_context_subcall + 0)
|
||||
#define SOLARIS_setcontext (SOLARIS_context_subcall + 1)
|
||||
|
||||
#define SOLARIS_context_nsubcalls 2
|
@ -1,437 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
{ 6, 0, solaris_syscall, "syscall" }, /* 0 */
|
||||
{ 6, TP, solaris_exit, "_exit" }, /* 1 */
|
||||
{ 6, TP, solaris_fork, "fork" }, /* 2 */
|
||||
{ 6, 0, solaris_read, "read" }, /* 3 */
|
||||
{ 6, 0, solaris_write, "write" }, /* 4 */
|
||||
{ 6, TF, solaris_open, "open" }, /* 5 */
|
||||
{ 6, 0, solaris_close, "close" }, /* 6 */
|
||||
{ 6, TP, solaris_wait, "wait" }, /* 7 */
|
||||
{ 6, TF, solaris_creat, "creat" }, /* 8 */
|
||||
{ 6, TF, solaris_link, "link" }, /* 9 */
|
||||
{ 6, TF, solaris_unlink, "unlink" }, /* 10 */
|
||||
{ 6, TF|TP, solaris_exec, "exec" }, /* 11 */
|
||||
{ 6, TF, solaris_chdir, "chdir" }, /* 12 */
|
||||
{ 6, 0, solaris_time, "time" }, /* 13 */
|
||||
{ 6, TF, solaris_mknod, "mknod" }, /* 14 */
|
||||
{ 6, TF, solaris_chmod, "chmod" }, /* 15 */
|
||||
{ 6, TF, solaris_chown, "chown" }, /* 16 */
|
||||
{ 6, 0, solaris_brk, "brk" }, /* 17 */
|
||||
{ 6, TF, solaris_stat, "stat" }, /* 18 */
|
||||
{ 6, 0, solaris_lseek, "lseek" }, /* 19 */
|
||||
{ 6, 0, solaris_getpid, "getpid" }, /* 20 */
|
||||
{ 6, TF, solaris_mount, "mount" }, /* 21 */
|
||||
{ 6, TF, solaris_umount, "umount" }, /* 22 */
|
||||
{ 6, 0, solaris_setuid, "setuid" }, /* 23 */
|
||||
{ 6, 0, solaris_getuid, "getuid" }, /* 24 */
|
||||
{ 6, 0, solaris_stime, "stime" }, /* 25 */
|
||||
{ 6, 0, solaris_ptrace, "ptrace" }, /* 26 */
|
||||
{ 6, 0, solaris_alarm, "alarm" }, /* 27 */
|
||||
{ 6, 0, solaris_fstat, "fstat" }, /* 28 */
|
||||
{ 6, TS, solaris_pause, "pause" }, /* 29 */
|
||||
{ 6, TF, solaris_utime, "utime" }, /* 30 */
|
||||
{ 6, 0, solaris_stty, "stty" }, /* 31 */
|
||||
{ 6, 0, solaris_gtty, "gtty" }, /* 32 */
|
||||
{ 6, TF, solaris_access, "access" }, /* 33 */
|
||||
{ 6, 0, solaris_nice, "nice" }, /* 34 */
|
||||
{ 6, TF, solaris_statfs, "statfs" }, /* 35 */
|
||||
{ 6, 0, solaris_sync, "sync" }, /* 36 */
|
||||
{ 6, TS, solaris_kill, "kill" }, /* 37 */
|
||||
{ 6, 0, solaris_fstatfs, "fstatfs" }, /* 38 */
|
||||
{ 6, 0, solaris_pgrpsys, "pgrpsys" }, /* 39 */
|
||||
{ 6, 0, solaris_xenix, "xenix" }, /* 40 */
|
||||
{ 6, 0, solaris_dup, "dup" }, /* 41 */
|
||||
{ 6, 0, solaris_pipe, "pipe" }, /* 42 */
|
||||
{ 6, 0, solaris_times, "times" }, /* 43 */
|
||||
{ 6, 0, solaris_profil, "profil" }, /* 44 */
|
||||
{ 6, 0, solaris_plock, "plock" }, /* 45 */
|
||||
{ 6, 0, solaris_setgid, "setgid" }, /* 46 */
|
||||
{ 6, 0, solaris_getgid, "getgid" }, /* 47 */
|
||||
{ 6, 0, solaris_sigcall, "sigcall" }, /* 48 */
|
||||
{ 6, TI, solaris_msgsys, "msgsys" }, /* 49 */
|
||||
{ 6, 0, solaris_syssun, "syssun" }, /* 50 */
|
||||
{ 6, TF, solaris_acct, "acct" }, /* 51 */
|
||||
{ 6, TI, solaris_shmsys, "shmsys" }, /* 52 */
|
||||
{ 6, TI, solaris_semsys, "semsys" }, /* 53 */
|
||||
{ 6, 0, solaris_ioctl, "ioctl" }, /* 54 */
|
||||
{ 6, 0, solaris_uadmin, "uadmin" }, /* 55 */
|
||||
{ 6, 0, solaris_sysmp, "sysmp" }, /* 56 */
|
||||
{ 6, 0, solaris_utssys, "utssys" }, /* 57 */
|
||||
{ 6, 0, solaris_fdsync, "fdsync" }, /* 58 */
|
||||
{ 6, TF|TP, solaris_execve, "execve" }, /* 59 */
|
||||
{ 6, 0, solaris_umask, "umask" }, /* 60 */
|
||||
{ 6, TF, solaris_chroot, "chroot" }, /* 61 */
|
||||
{ 6, 0, solaris_fcntl, "fcntl" }, /* 62 */
|
||||
{ 6, 0, solaris_ulimit, "ulimit" }, /* 63 */
|
||||
{ 6, 0, NULL, NULL }, /* 64 */
|
||||
{ 6, 0, NULL, NULL }, /* 65 */
|
||||
{ 6, 0, NULL, NULL }, /* 66 */
|
||||
{ 6, 0, NULL, NULL }, /* 67 */
|
||||
{ 6, 0, NULL, NULL }, /* 68 */
|
||||
{ 6, 0, NULL, NULL }, /* 69 */
|
||||
{ 6, 0, NULL, NULL }, /* 70 */
|
||||
{ 6, 0, NULL, NULL }, /* 71 */
|
||||
{ 6, 0, NULL, NULL }, /* 72 */
|
||||
{ 6, 0, NULL, NULL }, /* 73 */
|
||||
{ 6, 0, NULL, NULL }, /* 74 */
|
||||
{ 6, 0, NULL, NULL }, /* 75 */
|
||||
{ 6, 0, NULL, NULL }, /* 76 */
|
||||
{ 6, 0, NULL, NULL }, /* 77 */
|
||||
{ 6, 0, NULL, NULL }, /* 78 */
|
||||
{ 6, TF, solaris_rmdir, "rmdir" }, /* 79 */
|
||||
{ 6, TF, solaris_mkdir, "mkdir" }, /* 80 */
|
||||
{ 6, 0, solaris_getdents, "getdents" }, /* 81 */
|
||||
{ 6, 0, solaris_sginap, "sginap" }, /* 82 */
|
||||
{ 6, 0, solaris_sgikopt, "sgikopt" }, /* 83 */
|
||||
{ 6, 0, solaris_sysfs, "sysfs" }, /* 84 */
|
||||
{ 6, TN, sys_getmsg, "getmsg" }, /* 85 */
|
||||
{ 6, TN, sys_putmsg, "putmsg" }, /* 86 */
|
||||
{ 6, TN, solaris_poll, "poll" }, /* 87 */
|
||||
{ 6, TF, solaris_lstat, "lstat" }, /* 88 */
|
||||
{ 6, TF, solaris_symlink, "symlink" }, /* 89 */
|
||||
{ 6, TF, solaris_readlink, "readlink" }, /* 90 */
|
||||
{ 6, 0, solaris_setgroups, "setgroups" }, /* 91 */
|
||||
{ 6, 0, solaris_getgroups, "getgroups" }, /* 92 */
|
||||
{ 6, 0, solaris_fchmod, "fchmod" }, /* 93 */
|
||||
{ 6, 0, solaris_fchown, "fchown" }, /* 94 */
|
||||
{ 6, TS, solaris_sigprocmask, "sigprocmask" }, /* 95 */
|
||||
{ 6, TS, solaris_sigsuspend, "sigsuspend" }, /* 96 */
|
||||
{ 6, TS, solaris_sigaltstack, "sigaltstack" }, /* 97 */
|
||||
{ 6, TS, solaris_sigaction, "sigaction" }, /* 98 */
|
||||
{ 6, 0, solaris_spcall, "spcall" }, /* 99 */
|
||||
{ 6, 0, solaris_context, "context" }, /* 100 */
|
||||
{ 6, 0, solaris_evsys, "evsys" }, /* 101 */
|
||||
{ 6, 0, solaris_evtrapret, "evtrapret" }, /* 102 */
|
||||
{ 6, TF, solaris_statvfs, "statvfs" }, /* 103 */
|
||||
{ 6, 0, solaris_fstatvfs, "fstatvfs" }, /* 104 */
|
||||
{ 6, 0, NULL, NULL }, /* 105 */
|
||||
{ 6, 0, solaris_nfssys, "nfssys" }, /* 106 */
|
||||
{ 6, TP, solaris_waitid, "waitid" }, /* 107 */
|
||||
{ 6, 0, solaris_sigsendsys, "sigsendsys" }, /* 108 */
|
||||
{ 6, 0, solaris_hrtsys, "hrtsys" }, /* 109 */
|
||||
{ 6, 0, solaris_acancel, "acancel" }, /* 110 */
|
||||
{ 6, 0, solaris_async, "async" }, /* 111 */
|
||||
{ 6, 0, solaris_priocntlsys, "priocntlsys" }, /* 112 */
|
||||
{ 6, TF, solaris_pathconf, "pathconf" }, /* 113 */
|
||||
{ 6, 0, solaris_mincore, "mincore" }, /* 114 */
|
||||
{ 6, TD|TM, solaris_mmap, "mmap" }, /* 115 */
|
||||
{ 6, 0, solaris_mprotect, "mprotect" }, /* 116 */
|
||||
{ 6, 0, solaris_munmap, "munmap" }, /* 117 */
|
||||
{ 6, 0, solaris_fpathconf, "fpathconf" }, /* 118 */
|
||||
{ 6, TP, solaris_vfork, "vfork" }, /* 119 */
|
||||
{ 6, 0, solaris_fchdir, "fchdir" }, /* 120 */
|
||||
{ 6, 0, solaris_readv, "readv" }, /* 121 */
|
||||
{ 6, 0, solaris_writev, "writev" }, /* 122 */
|
||||
{ 6, TF, solaris_xstat, "xstat" }, /* 123 */
|
||||
{ 6, TF, solaris_lxstat, "lxstat" }, /* 124 */
|
||||
{ 6, 0, solaris_fxstat, "fxstat" }, /* 125 */
|
||||
{ 6, TF, solaris_xmknod, "xmknod" }, /* 126 */
|
||||
{ 6, 0, solaris_clocal, "clocal" }, /* 127 */
|
||||
{ 6, 0, solaris_setrlimit, "setrlimit" }, /* 128 */
|
||||
{ 6, 0, solaris_getrlimit, "getrlimit" }, /* 129 */
|
||||
{ 6, TF, solaris_lchown, "lchown" }, /* 130 */
|
||||
{ 6, 0, solaris_memcntl, "memcntl" }, /* 131 */
|
||||
{ 6, TN, solaris_getpmsg, "getpmsg" }, /* 132 */
|
||||
{ 6, TN, solaris_putpmsg, "putpmsg" }, /* 133 */
|
||||
{ 6, TF, solaris_rename, "rename" }, /* 134 */
|
||||
{ 6, 0, solaris_uname, "uname" }, /* 135 */
|
||||
{ 6, 0, solaris_setegid, "setegid" }, /* 136 */
|
||||
{ 6, 0, solaris_sysconfig, "sysconfig" }, /* 137 */
|
||||
{ 6, 0, solaris_adjtime, "adjtime" }, /* 138 */
|
||||
{ 6, 0, solaris_sysinfo, "sysinfo" }, /* 139 */
|
||||
{ 6, 0, NULL, NULL }, /* 140 */
|
||||
{ 6, 0, solaris_seteuid, "seteuid" }, /* 141 */
|
||||
{ 6, 0, solaris_vtrace, "vtrace" }, /* 142 */
|
||||
{ 6, TP, solaris_fork1, "fork1" }, /* 143 */
|
||||
{ 6, TS, solaris_sigtimedwait, "sigtimedwait" }, /* 144 */
|
||||
{ 6, 0, solaris_lwp_info, "lwp_info" }, /* 145 */
|
||||
{ 6, 0, solaris_yield, "yield" }, /* 146 */
|
||||
{ 6, 0, solaris_lwp_sema_wait, "lwp_sema_wait" }, /* 147 */
|
||||
{ 6, 0, solaris_lwp_sema_post, "lwp_sema_post" }, /* 148 */
|
||||
{ 6, 0, NULL, NULL }, /* 149 */
|
||||
{ 6, 0, NULL, NULL }, /* 150 */
|
||||
{ 6, 0, NULL, NULL }, /* 151 */
|
||||
{ 6, 0, solaris_modctl, "modctl" }, /* 152 */
|
||||
{ 6, 0, solaris_fchroot, "fchroot" }, /* 153 */
|
||||
{ 6, TF, solaris_utimes, "utimes" }, /* 154 */
|
||||
{ 6, 0, solaris_vhangup, "vhangup" }, /* 155 */
|
||||
{ 6, 0, solaris_gettimeofday, "gettimeofday" }, /* 156 */
|
||||
{ 6, 0, solaris_getitimer, "getitimer" }, /* 157 */
|
||||
{ 6, 0, solaris_setitimer, "setitimer" }, /* 158 */
|
||||
{ 6, 0, solaris_lwp_create, "lwp_create" }, /* 159 */
|
||||
{ 6, 0, solaris_lwp_exit, "lwp_exit" }, /* 160 */
|
||||
{ 6, 0, solaris_lwp_suspend, "lwp_suspend" }, /* 161 */
|
||||
{ 6, 0, solaris_lwp_continue, "lwp_continue" }, /* 162 */
|
||||
{ 6, 0, solaris_lwp_kill, "lwp_kill" }, /* 163 */
|
||||
{ 6, 0, solaris_lwp_self, "lwp_self" }, /* 164 */
|
||||
{ 6, 0, solaris_lwp_setprivate, "lwp_setprivate"}, /* 165 */
|
||||
{ 6, 0, solaris_lwp_getprivate, "lwp_getprivate"}, /* 166 */
|
||||
{ 6, 0, solaris_lwp_wait, "lwp_wait" }, /* 167 */
|
||||
{ 6, 0, solaris_lwp_mutex_unlock,"lwp_mutex_unlock"}, /* 168 */
|
||||
{ 6, 0, solaris_lwp_mutex_lock, "lwp_mutex_lock"}, /* 169 */
|
||||
{ 6, 0, solaris_lwp_cond_wait, "lwp_cond_wait"}, /* 170 */
|
||||
{ 6, 0, solaris_lwp_cond_signal,"lwp_cond_signal"}, /* 171 */
|
||||
{ 6, 0, solaris_lwp_cond_broadcast,"lwp_cond_broadcast"}, /* 172 */
|
||||
{ 6, 0, solaris_pread, "pread" }, /* 173 */
|
||||
{ 6, 0, solaris_pwrite, "pwrite" }, /* 174 */
|
||||
{ 6, 0, solaris_llseek, "llseek" }, /* 175 */
|
||||
{ 6, 0, solaris_inst_sync, "inst_sync" }, /* 176 */
|
||||
{ 6, 0, NULL, NULL }, /* 177 */
|
||||
{ 6, 0, NULL, NULL }, /* 178 */
|
||||
{ 6, 0, NULL, NULL }, /* 179 */
|
||||
{ 6, 0, NULL, NULL }, /* 180 */
|
||||
{ 6, 0, NULL, NULL }, /* 181 */
|
||||
{ 6, 0, NULL, NULL }, /* 182 */
|
||||
{ 6, 0, NULL, NULL }, /* 183 */
|
||||
{ 6, 0, NULL, NULL }, /* 184 */
|
||||
{ 6, 0, NULL, NULL }, /* 185 */
|
||||
{ 6, 0, solaris_auditsys, "auditsys" }, /* 186 */
|
||||
{ 6, 0, solaris_processor_bind, "processor_bind"}, /* 187 */
|
||||
{ 6, 0, solaris_processor_info, "processor_info"}, /* 188 */
|
||||
{ 6, 0, solaris_p_online, "p_online" }, /* 189 */
|
||||
{ 6, 0, solaris_sigqueue, "sigqueue" }, /* 190 */
|
||||
{ 6, 0, solaris_clock_gettime, "clock_gettime" }, /* 191 */
|
||||
{ 6, 0, solaris_clock_settime, "clock_settime" }, /* 192 */
|
||||
{ 6, 0, solaris_clock_getres, "clock_getres" }, /* 193 */
|
||||
{ 6, 0, solaris_timer_create, "timer_create" }, /* 194 */
|
||||
{ 6, 0, solaris_timer_delete, "timer_delete" }, /* 195 */
|
||||
{ 6, 0, solaris_timer_settime, "timer_settime" }, /* 196 */
|
||||
{ 6, 0, solaris_timer_gettime, "timer_gettime" }, /* 197 */
|
||||
{ 6, 0, solaris_timer_getoverrun,"timer_getoverrun"}, /* 198 */
|
||||
{ 6, 0, solaris_nanosleep, "nanosleep" }, /* 199 */
|
||||
{ 6, 0, NULL, NULL }, /* 200 */
|
||||
{ 6, 0, NULL, NULL }, /* 201 */
|
||||
{ 6, 0, NULL, NULL }, /* 202 */
|
||||
{ 6, 0, NULL, NULL }, /* 203 */
|
||||
{ 6, 0, NULL, NULL }, /* 204 */
|
||||
{ 6, 0, NULL, NULL }, /* 205 */
|
||||
{ 6, 0, NULL, NULL }, /* 206 */
|
||||
{ 6, 0, NULL, NULL }, /* 207 */
|
||||
{ 6, 0, NULL, NULL }, /* 208 */
|
||||
{ 6, 0, NULL, NULL }, /* 209 */
|
||||
{ 6, 0, NULL, NULL }, /* 210 */
|
||||
{ 6, 0, NULL, NULL }, /* 211 */
|
||||
{ 6, 0, NULL, NULL }, /* 212 */
|
||||
{ 6, 0, NULL, NULL }, /* 213 */
|
||||
{ 6, 0, NULL, NULL }, /* 214 */
|
||||
{ 6, 0, NULL, NULL }, /* 215 */
|
||||
{ 6, 0, NULL, NULL }, /* 216 */
|
||||
{ 6, 0, NULL, NULL }, /* 217 */
|
||||
{ 6, 0, NULL, NULL }, /* 218 */
|
||||
{ 6, 0, NULL, NULL }, /* 219 */
|
||||
{ 6, 0, NULL, NULL }, /* 220 */
|
||||
{ 6, 0, NULL, NULL }, /* 221 */
|
||||
{ 6, 0, NULL, NULL }, /* 222 */
|
||||
{ 6, 0, NULL, NULL }, /* 223 */
|
||||
{ 6, 0, NULL, NULL }, /* 224 */
|
||||
{ 6, 0, NULL, NULL }, /* 225 */
|
||||
{ 6, 0, NULL, NULL }, /* 226 */
|
||||
{ 6, 0, NULL, NULL }, /* 227 */
|
||||
{ 6, 0, NULL, NULL }, /* 228 */
|
||||
{ 6, 0, NULL, NULL }, /* 229 */
|
||||
{ 6, 0, NULL, NULL }, /* 230 */
|
||||
{ 6, 0, NULL, NULL }, /* 231 */
|
||||
{ 6, 0, NULL, NULL }, /* 232 */
|
||||
{ 6, 0, NULL, NULL }, /* 233 */
|
||||
{ 6, 0, NULL, NULL }, /* 234 */
|
||||
{ 6, 0, NULL, NULL }, /* 235 */
|
||||
{ 6, 0, NULL, NULL }, /* 236 */
|
||||
{ 6, 0, NULL, NULL }, /* 237 */
|
||||
{ 6, 0, NULL, NULL }, /* 238 */
|
||||
{ 6, 0, NULL, NULL }, /* 239 */
|
||||
{ 6, 0, NULL, NULL }, /* 240 */
|
||||
{ 6, 0, NULL, NULL }, /* 241 */
|
||||
{ 6, 0, NULL, NULL }, /* 242 */
|
||||
{ 6, 0, NULL, NULL }, /* 243 */
|
||||
{ 6, 0, NULL, NULL }, /* 244 */
|
||||
{ 6, 0, NULL, NULL }, /* 245 */
|
||||
{ 6, 0, NULL, NULL }, /* 246 */
|
||||
{ 6, 0, NULL, NULL }, /* 247 */
|
||||
{ 6, 0, NULL, NULL }, /* 248 */
|
||||
{ 6, 0, NULL, NULL }, /* 249 */
|
||||
{ 6, 0, NULL, NULL }, /* 250 */
|
||||
{ 6, 0, NULL, NULL }, /* 251 */
|
||||
{ 6, 0, NULL, NULL }, /* 252 */
|
||||
{ 6, 0, NULL, NULL }, /* 253 */
|
||||
{ 6, 0, NULL, NULL }, /* 254 */
|
||||
{ 6, 0, NULL, NULL }, /* 255 */
|
||||
{ 6, 0, NULL, NULL }, /* 256 */
|
||||
{ 6, 0, NULL, NULL }, /* 257 */
|
||||
{ 6, 0, NULL, NULL }, /* 258 */
|
||||
{ 6, 0, NULL, NULL }, /* 259 */
|
||||
{ 6, 0, NULL, NULL }, /* 260 */
|
||||
{ 6, 0, NULL, NULL }, /* 261 */
|
||||
{ 6, 0, NULL, NULL }, /* 262 */
|
||||
{ 6, 0, NULL, NULL }, /* 263 */
|
||||
{ 6, 0, NULL, NULL }, /* 264 */
|
||||
{ 6, 0, NULL, NULL }, /* 265 */
|
||||
{ 6, 0, NULL, NULL }, /* 266 */
|
||||
{ 6, 0, NULL, NULL }, /* 267 */
|
||||
{ 6, 0, NULL, NULL }, /* 268 */
|
||||
{ 6, 0, NULL, NULL }, /* 269 */
|
||||
{ 6, 0, NULL, NULL }, /* 270 */
|
||||
{ 6, 0, NULL, NULL }, /* 271 */
|
||||
{ 6, 0, NULL, NULL }, /* 272 */
|
||||
{ 6, 0, NULL, NULL }, /* 273 */
|
||||
{ 6, 0, NULL, NULL }, /* 274 */
|
||||
{ 6, 0, NULL, NULL }, /* 275 */
|
||||
{ 6, 0, NULL, NULL }, /* 276 */
|
||||
{ 6, 0, NULL, NULL }, /* 277 */
|
||||
{ 6, 0, NULL, NULL }, /* 278 */
|
||||
{ 6, 0, NULL, NULL }, /* 279 */
|
||||
{ 6, 0, NULL, NULL }, /* 280 */
|
||||
{ 6, 0, NULL, NULL }, /* 281 */
|
||||
{ 6, 0, NULL, NULL }, /* 282 */
|
||||
{ 6, 0, NULL, NULL }, /* 283 */
|
||||
{ 6, 0, NULL, NULL }, /* 284 */
|
||||
{ 6, 0, NULL, NULL }, /* 285 */
|
||||
{ 6, 0, NULL, NULL }, /* 286 */
|
||||
{ 6, 0, NULL, NULL }, /* 287 */
|
||||
{ 6, 0, NULL, NULL }, /* 288 */
|
||||
{ 6, 0, NULL, NULL }, /* 289 */
|
||||
{ 6, 0, NULL, NULL }, /* 290 */
|
||||
{ 6, 0, NULL, NULL }, /* 291 */
|
||||
{ 6, 0, NULL, NULL }, /* 292 */
|
||||
{ 6, 0, NULL, NULL }, /* 293 */
|
||||
{ 6, 0, NULL, NULL }, /* 294 */
|
||||
{ 6, 0, NULL, NULL }, /* 295 */
|
||||
{ 6, 0, NULL, NULL }, /* 296 */
|
||||
{ 6, 0, NULL, NULL }, /* 297 */
|
||||
{ 6, 0, NULL, NULL }, /* 298 */
|
||||
{ 6, 0, NULL, NULL }, /* 299 */
|
||||
|
||||
{ 6, 0, solaris_getpgrp, "getpgrp" }, /* 300 */
|
||||
{ 6, 0, solaris_setpgrp, "setpgrp" }, /* 301 */
|
||||
{ 6, 0, solaris_getsid, "getsid" }, /* 302 */
|
||||
{ 6, 0, solaris_setsid, "setsid" }, /* 303 */
|
||||
{ 6, 0, solaris_getpgid, "getpgid" }, /* 304 */
|
||||
{ 6, 0, solaris_setpgid, "setpgid" }, /* 305 */
|
||||
{ 6, 0, NULL, NULL }, /* 306 */
|
||||
{ 6, 0, NULL, NULL }, /* 307 */
|
||||
{ 6, 0, NULL, NULL }, /* 308 */
|
||||
{ 6, 0, NULL, NULL }, /* 309 */
|
||||
|
||||
{ 6, TS, solaris_signal, "signal" }, /* 310 */
|
||||
{ 6, TS, solaris_sigset, "sigset" }, /* 311 */
|
||||
{ 6, TS, solaris_sighold, "sighold" }, /* 312 */
|
||||
{ 6, TS, solaris_sigrelse, "sigrelse" }, /* 313 */
|
||||
{ 6, TS, solaris_sigignore, "sigignore" }, /* 314 */
|
||||
{ 6, TS, solaris_sigpause, "sigpause" }, /* 315 */
|
||||
{ 6, 0, NULL, NULL }, /* 316 */
|
||||
{ 6, 0, NULL, NULL }, /* 317 */
|
||||
{ 6, 0, NULL, NULL }, /* 318 */
|
||||
{ 6, 0, NULL, NULL }, /* 319 */
|
||||
|
||||
{ 6, TI, solaris_msgget, "msgget" }, /* 320 */
|
||||
{ 6, TI, solaris_msgctl, "msgctl" }, /* 321 */
|
||||
{ 6, TI, solaris_msgrcv, "msgrcv" }, /* 322 */
|
||||
{ 6, TI, solaris_msgsnd, "msgsnd" }, /* 323 */
|
||||
{ 6, 0, NULL, NULL }, /* 324 */
|
||||
{ 6, 0, NULL, NULL }, /* 325 */
|
||||
{ 6, 0, NULL, NULL }, /* 326 */
|
||||
{ 6, 0, NULL, NULL }, /* 327 */
|
||||
{ 6, 0, NULL, NULL }, /* 328 */
|
||||
{ 6, 0, NULL, NULL }, /* 329 */
|
||||
|
||||
{ 6, TI|TM, solaris_shmat, "shmat" }, /* 330 */
|
||||
{ 6, TI, solaris_shmctl, "shmctl" }, /* 331 */
|
||||
{ 6, TI|TM, solaris_shmdt, "shmdt" }, /* 332 */
|
||||
{ 6, TI, solaris_shmget, "shmget" }, /* 333 */
|
||||
{ 6, 0, NULL, NULL }, /* 334 */
|
||||
{ 6, 0, NULL, NULL }, /* 335 */
|
||||
{ 6, 0, NULL, NULL }, /* 336 */
|
||||
{ 6, 0, NULL, NULL }, /* 337 */
|
||||
{ 6, 0, NULL, NULL }, /* 338 */
|
||||
{ 6, 0, NULL, NULL }, /* 339 */
|
||||
|
||||
{ 6, TI, solaris_semctl, "semctl" }, /* 340 */
|
||||
{ 6, TI, solaris_semget, "semget" }, /* 341 */
|
||||
{ 6, TI, solaris_semop, "semop" }, /* 342 */
|
||||
{ 6, 0, NULL, NULL }, /* 343 */
|
||||
{ 6, 0, NULL, NULL }, /* 344 */
|
||||
{ 6, 0, NULL, NULL }, /* 345 */
|
||||
{ 6, 0, NULL, NULL }, /* 346 */
|
||||
{ 6, 0, NULL, NULL }, /* 347 */
|
||||
{ 6, 0, NULL, NULL }, /* 348 */
|
||||
{ 6, 0, NULL, NULL }, /* 349 */
|
||||
|
||||
{ 6, 0, solaris_olduname, "olduname" }, /* 350 */
|
||||
{ 6, 0, printargs, "utssys1" }, /* 351 */
|
||||
{ 6, 0, solaris_ustat, "ustat" }, /* 352 */
|
||||
{ 6, 0, solaris_fusers, "fusers" }, /* 353 */
|
||||
{ 6, 0, NULL, NULL }, /* 354 */
|
||||
{ 6, 0, NULL, NULL }, /* 355 */
|
||||
{ 6, 0, NULL, NULL }, /* 356 */
|
||||
{ 6, 0, NULL, NULL }, /* 357 */
|
||||
{ 6, 0, NULL, NULL }, /* 358 */
|
||||
{ 6, 0, NULL, NULL }, /* 359 */
|
||||
|
||||
{ 6, 0, printargs, "sysfs0" }, /* 360 */
|
||||
{ 6, 0, solaris_sysfs1, "sysfs1" }, /* 361 */
|
||||
{ 6, 0, solaris_sysfs2, "sysfs2" }, /* 362 */
|
||||
{ 6, 0, solaris_sysfs3, "sysfs3" }, /* 363 */
|
||||
{ 6, 0, NULL, NULL }, /* 364 */
|
||||
{ 6, 0, NULL, NULL }, /* 365 */
|
||||
{ 6, 0, NULL, NULL }, /* 366 */
|
||||
{ 6, 0, NULL, NULL }, /* 367 */
|
||||
{ 6, 0, NULL, NULL }, /* 368 */
|
||||
{ 6, 0, NULL, NULL }, /* 369 */
|
||||
|
||||
{ 6, 0, printargs, "spcall0" }, /* 370 */
|
||||
{ 6, TS, solaris_sigpending, "sigpending" }, /* 371 */
|
||||
{ 6, TS, solaris_sigfillset, "sigfillset" }, /* 372 */
|
||||
{ 6, 0, NULL, NULL }, /* 373 */
|
||||
{ 6, 0, NULL, NULL }, /* 374 */
|
||||
{ 6, 0, NULL, NULL }, /* 375 */
|
||||
{ 6, 0, NULL, NULL }, /* 376 */
|
||||
{ 6, 0, NULL, NULL }, /* 377 */
|
||||
{ 6, 0, NULL, NULL }, /* 378 */
|
||||
{ 6, 0, NULL, NULL }, /* 379 */
|
||||
|
||||
{ 6, 0, solaris_getcontext, "getcontext" }, /* 380 */
|
||||
{ 6, 0, solaris_setcontext, "setcontext" }, /* 381 */
|
||||
{ 6, 0, NULL, NULL }, /* 382 */
|
||||
{ 6, 0, NULL, NULL }, /* 383 */
|
||||
{ 6, 0, NULL, NULL }, /* 384 */
|
||||
{ 6, 0, NULL, NULL }, /* 385 */
|
||||
{ 6, 0, NULL, NULL }, /* 386 */
|
||||
{ 6, 0, NULL, NULL }, /* 387 */
|
||||
{ 6, 0, NULL, NULL }, /* 388 */
|
||||
{ 6, 0, NULL, NULL }, /* 389 */
|
||||
|
||||
{ 6, 0, NULL, NULL }, /* 390 */
|
||||
{ 6, 0, NULL, NULL }, /* 391 */
|
||||
{ 6, 0, NULL, NULL }, /* 392 */
|
||||
{ 6, 0, NULL, NULL }, /* 393 */
|
||||
{ 6, 0, NULL, NULL }, /* 394 */
|
||||
{ 6, 0, NULL, NULL }, /* 395 */
|
||||
{ 6, 0, NULL, NULL }, /* 396 */
|
||||
{ 6, 0, NULL, NULL }, /* 397 */
|
||||
{ 6, 0, NULL, NULL }, /* 398 */
|
||||
{ 6, 0, NULL, NULL }, /* 399 */
|
@ -1,276 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* still unfinished */
|
||||
|
||||
#define solaris_sysmp printargs
|
||||
#define solaris_sginap printargs
|
||||
#define solaris_sgikopt printargs
|
||||
#define solaris_sysmips printargs
|
||||
#define solaris_sigreturn printargs
|
||||
#define solaris_recvmsg printargs
|
||||
#define solaris_sendmsg printargs
|
||||
#define solaris_nfssvc printargs
|
||||
#define solaris_getfh printargs
|
||||
#define solaris_async_daemon printargs
|
||||
#define solaris_exportfs printargs
|
||||
#define solaris_BSD_getime printargs
|
||||
#define solaris_sproc printargs
|
||||
#define solaris_procblk printargs
|
||||
#define solaris_sprocsp printargs
|
||||
#define solaris_msync printargs
|
||||
#define solaris_madvise printargs
|
||||
#define solaris_pagelock printargs
|
||||
#define solaris_quotactl printargs
|
||||
#define solaris_cacheflush printargs
|
||||
#define solaris_cachectl printargs
|
||||
#define solaris_nuname printargs
|
||||
#define solaris_sigpoll printargs
|
||||
#define solaris_swapctl printargs
|
||||
#define solaris_sigstack printargs
|
||||
#define solaris_sigsendset printargs
|
||||
#define solaris_priocntl printargs
|
||||
#define solaris_ksigqueue printargs
|
||||
#define solaris_lwp_sema_wait printargs
|
||||
#define solaris_memcntl printargs
|
||||
#define solaris_syscall printargs
|
||||
#define solaris_clocal printargs
|
||||
#define solaris_syssun printargs
|
||||
#define solaris_sysi86 printargs
|
||||
#define solaris_sysmachine printargs
|
||||
#define solaris_plock printargs
|
||||
#define solaris_pathconf printargs
|
||||
#define solaris_sigtimedwait printargs
|
||||
#define solaris_ulimit printargs
|
||||
#define solaris_ptrace printargs
|
||||
#define solaris_stty printargs
|
||||
#define solaris_lwp_info printargs
|
||||
#define solaris_priocntlsys printargs
|
||||
#define solaris_hrtsys printargs
|
||||
#define solaris_xenix printargs
|
||||
#define solaris_statfs printargs
|
||||
#define solaris_fstatfs printargs
|
||||
#define solaris_statvfs printargs
|
||||
#define solaris_fstatvfs printargs
|
||||
#define solaris_fork1 printargs
|
||||
#define solaris_sigsendsys printargs
|
||||
#define solaris_gtty printargs
|
||||
#define solaris_vtrace printargs
|
||||
#define solaris_fpathconf printargs
|
||||
#define solaris_evsys printargs
|
||||
#define solaris_acct printargs
|
||||
#define solaris_exec printargs
|
||||
#define solaris_lwp_sema_post printargs
|
||||
#define solaris_nfssys printargs
|
||||
#define solaris_sigaltstack printargs
|
||||
#define solaris_uadmin printargs
|
||||
#define solaris_umount printargs
|
||||
#define solaris_modctl printargs
|
||||
#define solaris_acancel printargs
|
||||
#define solaris_async printargs
|
||||
#define solaris_evtrapret printargs
|
||||
#define solaris_lwp_create printargs
|
||||
#define solaris_lwp_exit printargs
|
||||
#define solaris_lwp_suspend printargs
|
||||
#define solaris_lwp_continue printargs
|
||||
#define solaris_lwp_kill printargs
|
||||
#define solaris_lwp_self printargs
|
||||
#define solaris_lwp_setprivate printargs
|
||||
#define solaris_lwp_getprivate printargs
|
||||
#define solaris_lwp_wait printargs
|
||||
#define solaris_lwp_mutex_unlock printargs
|
||||
#define solaris_lwp_mutex_lock printargs
|
||||
#define solaris_lwp_cond_wait printargs
|
||||
#define solaris_lwp_cond_signal printargs
|
||||
#define solaris_lwp_cond_broadcast printargs
|
||||
#define solaris_llseek printargs
|
||||
#define solaris_inst_sync printargs
|
||||
#define solaris_auditsys printargs
|
||||
#define solaris_processor_bind printargs
|
||||
#define solaris_processor_info printargs
|
||||
#define solaris_p_online printargs
|
||||
#define solaris_sigqueue printargs
|
||||
#define solaris_clock_gettime printargs
|
||||
#define solaris_clock_settime printargs
|
||||
#define solaris_clock_getres printargs
|
||||
#define solaris_nanosleep printargs
|
||||
#define solaris_timer_create printargs
|
||||
#define solaris_timer_delete printargs
|
||||
#define solaris_timer_settime printargs
|
||||
#define solaris_timer_gettime printargs
|
||||
#define solaris_timer_getoverrun printargs
|
||||
#define solaris_signal printargs
|
||||
#define solaris_sigset printargs
|
||||
#define solaris_sighold printargs
|
||||
#define solaris_sigrelse printargs
|
||||
#define solaris_sigignore printargs
|
||||
#define solaris_sigpause printargs
|
||||
#define solaris_msgctl printargs
|
||||
#define solaris_msgget printargs
|
||||
#define solaris_msgrcv printargs
|
||||
#define solaris_msgsnd printargs
|
||||
#define solaris_shmat printargs
|
||||
#define solaris_shmctl printargs
|
||||
#define solaris_shmdt printargs
|
||||
#define solaris_shmget printargs
|
||||
#define solaris_semctl printargs
|
||||
#define solaris_semget printargs
|
||||
#define solaris_semop printargs
|
||||
#define solaris_olduname printargs
|
||||
#define solaris_ustat printargs
|
||||
#define solaris_fusers printargs
|
||||
#define solaris_sysfs1 printargs
|
||||
#define solaris_sysfs2 printargs
|
||||
#define solaris_sysfs3 printargs
|
||||
|
||||
/* like another call */
|
||||
#define solaris_lchown solaris_chown
|
||||
#define solaris_setuid solaris_close
|
||||
#define solaris_seteuid solaris_close
|
||||
#define solaris_setgid solaris_close
|
||||
#define solaris_setegid solaris_close
|
||||
#define solaris_vhangup solaris_close
|
||||
#define solaris_fdsync solaris_close
|
||||
#define solaris_sigfillset solaris_sigpending
|
||||
#define solaris_vfork solaris_fork
|
||||
#define solaris_ksigaction solaris_sigaction
|
||||
#define solaris_BSDgetpgrp solaris_getpgrp
|
||||
#define solaris_BSDsetpgrp solaris_setpgrp
|
||||
#define solaris_waitsys solaris_waitid
|
||||
|
||||
/* printargs does the right thing */
|
||||
#define solaris_sync printargs
|
||||
#define solaris_profil printargs
|
||||
#define solaris_yield printargs
|
||||
#define solaris_pause printargs
|
||||
#define solaris_sethostid printargs
|
||||
|
||||
/* subfunction entry points */
|
||||
#define solaris_pgrpsys printargs
|
||||
#define solaris_sigcall printargs
|
||||
#define solaris_msgsys printargs
|
||||
#define solaris_shmsys printargs
|
||||
#define solaris_semsys printargs
|
||||
#define solaris_utssys printargs
|
||||
#define solaris_sysfs printargs
|
||||
#define solaris_spcall printargs
|
||||
#define solaris_context printargs
|
||||
|
||||
/* same as linux */
|
||||
#define solaris_exit sys_exit
|
||||
#define solaris_fork sys_fork
|
||||
#define solaris_read sys_read
|
||||
#define solaris_write sys_write
|
||||
#define solaris_close sys_close
|
||||
#define solaris_creat sys_creat
|
||||
#define solaris_link sys_link
|
||||
#define solaris_unlink sys_unlink
|
||||
#define solaris_chdir sys_chdir
|
||||
#define solaris_time sys_time
|
||||
#define solaris_chmod sys_chmod
|
||||
#define solaris_lseek sys_lseek
|
||||
#define solaris_stime sys_stime
|
||||
#define solaris_alarm sys_alarm
|
||||
#define solaris_utime sys_utime
|
||||
#define solaris_access sys_access
|
||||
#define solaris_nice sys_nice
|
||||
#define solaris_dup sys_dup
|
||||
#define solaris_pipe sys_pipe
|
||||
#define solaris_times sys_times
|
||||
#define solaris_execve sys_execve
|
||||
#define solaris_umask sys_umask
|
||||
#define solaris_chroot sys_chroot
|
||||
#define solaris_rmdir sys_rmdir
|
||||
#define solaris_mkdir sys_mkdir
|
||||
#define solaris_getdents sys_getdents
|
||||
#define solaris_poll sys_poll
|
||||
#define solaris_symlink sys_symlink
|
||||
#define solaris_readlink sys_readlink
|
||||
#define solaris_setgroups sys_setgroups
|
||||
#define solaris_getgroups sys_getgroups
|
||||
#define solaris_fchmod sys_fchmod
|
||||
#define solaris_fchown sys_fchown
|
||||
#define solaris_mprotect sys_mprotect
|
||||
#define solaris_munmap sys_munmap
|
||||
#define solaris_readv sys_readv
|
||||
#define solaris_writev sys_writev
|
||||
#define solaris_chown sys_chown
|
||||
#define solaris_rename sys_rename
|
||||
#define solaris_gettimeofday sys_gettimeofday
|
||||
#define solaris_getitimer sys_getitimer
|
||||
#define solaris_setitimer sys_setitimer
|
||||
#define solaris_brk sys_brk
|
||||
#define solaris_mmap sys_mmap
|
||||
#define solaris_getsid sys_getsid
|
||||
#define solaris_setsid sys_setsid
|
||||
#define solaris_getpgid sys_getpgid
|
||||
#define solaris_setpgid sys_setpgid
|
||||
#define solaris_getpgrp sys_getpgrp
|
||||
|
||||
/* These are handled according to current_personality */
|
||||
#define solaris_xstat sys_xstat
|
||||
#define solaris_fxstat sys_fxstat
|
||||
#define solaris_lxstat sys_xstat
|
||||
#define solaris_xmknod sys_xmknod
|
||||
#define solaris_stat sys_stat
|
||||
#define solaris_fstat sys_fstat
|
||||
#define solaris_lstat sys_lstat
|
||||
#define solaris_pread sys_pread
|
||||
#define solaris_pwrite sys_pwrite
|
||||
#define solaris_ioctl sys_ioctl
|
||||
#define solaris_mknod sys_mknod
|
||||
|
||||
/* To be done */
|
||||
#define solaris_mount printargs
|
||||
#define solaris_sysinfo printargs
|
||||
#define solaris_sysconfig printargs
|
||||
#define solaris_getpmsg printargs
|
||||
#define solaris_putpmsg printargs
|
||||
#define solaris_wait printargs
|
||||
#define solaris_waitid printargs
|
||||
#define solaris_sigsuspend printargs
|
||||
#define solaris_setpgrp printargs
|
||||
#define solaris_getcontext printargs
|
||||
#define solaris_setcontext printargs
|
||||
#define solaris_getpid printargs
|
||||
#define solaris_getuid printargs
|
||||
#define solaris_kill printargs
|
||||
#define solaris_getgid printargs
|
||||
#define solaris_fcntl printargs
|
||||
#define solaris_getmsg printargs
|
||||
#define solaris_putmsg printargs
|
||||
#define solaris_sigprocmask printargs
|
||||
#define solaris_sigaction printargs
|
||||
#define solaris_sigpending printargs
|
||||
#define solaris_mincore printargs
|
||||
#define solaris_fchdir printargs
|
||||
#define solaris_setrlimit printargs
|
||||
#define solaris_getrlimit printargs
|
||||
#define solaris_uname printargs
|
||||
#define solaris_adjtime printargs
|
||||
#define solaris_fchroot printargs
|
||||
#define solaris_utimes printargs
|
@ -1 +0,0 @@
|
||||
#include "sparc/errnoent1.h"
|
@ -1 +0,0 @@
|
||||
#include "sparc/ioctlent1.h"
|
@ -1 +0,0 @@
|
||||
#include "sparc/signalent1.h"
|
@ -1,498 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define SOLARIS_syscall 0
|
||||
#define SOLARIS_exit 1
|
||||
#define SOLARIS_fork 2
|
||||
#define SOLARIS_read 3
|
||||
#define SOLARIS_write 4
|
||||
#define SOLARIS_open 5
|
||||
#define SOLARIS_close 6
|
||||
#define SOLARIS_wait 7
|
||||
#define SOLARIS_creat 8
|
||||
#define SOLARIS_link 9
|
||||
#define SOLARIS_unlink 10
|
||||
#define SOLARIS_exec 11
|
||||
#define SOLARIS_chdir 12
|
||||
#define SOLARIS_time 13
|
||||
#define SOLARIS_mknod 14
|
||||
#define SOLARIS_chmod 15
|
||||
#define SOLARIS_chown 16
|
||||
#define SOLARIS_brk 17
|
||||
#define SOLARIS_stat 18
|
||||
#define SOLARIS_lseek 19
|
||||
#define SOLARIS_getpid 20
|
||||
#define SOLARIS_mount 21
|
||||
#define SOLARIS_umount 22
|
||||
#define SOLARIS_setuid 23
|
||||
#define SOLARIS_getuid 24
|
||||
#define SOLARIS_stime 25
|
||||
#define SOLARIS_ptrace 26
|
||||
#define SOLARIS_alarm 27
|
||||
#define SOLARIS_fstat 28
|
||||
#define SOLARIS_pause 29
|
||||
#define SOLARIS_utime 30
|
||||
#define SOLARIS_stty 31
|
||||
#define SOLARIS_gtty 32
|
||||
#define SOLARIS_access 33
|
||||
#define SOLARIS_nice 34
|
||||
#define SOLARIS_statfs 35
|
||||
#define SOLARIS_sync 36
|
||||
#define SOLARIS_kill 37
|
||||
#define SOLARIS_fstatfs 38
|
||||
#define SOLARIS_pgrpsys 39
|
||||
#define SOLARIS_xenix 40
|
||||
#define SOLARIS_dup 41
|
||||
#define SOLARIS_pipe 42
|
||||
#define SOLARIS_times 43
|
||||
#define SOLARIS_profil 44
|
||||
#define SOLARIS_plock 45
|
||||
#define SOLARIS_setgid 46
|
||||
#define SOLARIS_getgid 47
|
||||
#define SOLARIS_signal 48
|
||||
#define SOLARIS_msgsys 49
|
||||
#define SOLARIS_syssun 50
|
||||
#define SOLARIS_acct 51
|
||||
#define SOLARIS_shmsys 52
|
||||
#define SOLARIS_semsys 53
|
||||
#define SOLARIS_ioctl 54
|
||||
#define SOLARIS_uadmin 55
|
||||
#define SOLARIS_utssys 57
|
||||
#define SOLARIS_fdsync 58
|
||||
#define SOLARIS_execve 59
|
||||
#define SOLARIS_umask 60
|
||||
#define SOLARIS_chroot 61
|
||||
#define SOLARIS_fcntl 62
|
||||
#define SOLARIS_ulimit 63
|
||||
#define SOLARIS_rmdir 79
|
||||
#define SOLARIS_mkdir 80
|
||||
#define SOLARIS_getdents 81
|
||||
#define SOLARIS_sysfs 84
|
||||
#define SOLARIS_getmsg 85
|
||||
#define SOLARIS_putmsg 86
|
||||
#define SOLARIS_poll 87
|
||||
#define SOLARIS_lstat 88
|
||||
#define SOLARIS_symlink 89
|
||||
#define SOLARIS_readlink 90
|
||||
#define SOLARIS_setgroups 91
|
||||
#define SOLARIS_getgroups 92
|
||||
#define SOLARIS_fchmod 93
|
||||
#define SOLARIS_fchown 94
|
||||
#define SOLARIS_sigprocmask 95
|
||||
#define SOLARIS_sigsuspend 96
|
||||
#define SOLARIS_sigaltstack 97
|
||||
#define SOLARIS_sigaction 98
|
||||
#define SOLARIS_sigpending 99
|
||||
#define SOLARIS_context 100
|
||||
#define SOLARIS_evsys 101
|
||||
#define SOLARIS_evtrapret 102
|
||||
#define SOLARIS_statvfs 103
|
||||
#define SOLARIS_fstatvfs 104
|
||||
#define SOLARIS_nfssys 106
|
||||
#define SOLARIS_waitsys 107
|
||||
#define SOLARIS_sigsendsys 108
|
||||
#define SOLARIS_hrtsys 109
|
||||
#define SOLARIS_acancel 110
|
||||
#define SOLARIS_async 111
|
||||
#define SOLARIS_priocntlsys 112
|
||||
#define SOLARIS_pathconf 113
|
||||
#define SOLARIS_mincore 114
|
||||
#define SOLARIS_mmap 115
|
||||
#define SOLARIS_mprotect 116
|
||||
#define SOLARIS_munmap 117
|
||||
#define SOLARIS_fpathconf 118
|
||||
#define SOLARIS_vfork 119
|
||||
#define SOLARIS_fchdir 120
|
||||
#define SOLARIS_readv 121
|
||||
#define SOLARIS_writev 122
|
||||
#define SOLARIS_xstat 123
|
||||
#define SOLARIS_lxstat 124
|
||||
#define SOLARIS_fxstat 125
|
||||
#define SOLARIS_xmknod 126
|
||||
#define SOLARIS_clocal 127
|
||||
#define SOLARIS_setrlimit 128
|
||||
#define SOLARIS_getrlimit 129
|
||||
#define SOLARIS_lchown 130
|
||||
#define SOLARIS_memcntl 131
|
||||
#define SOLARIS_getpmsg 132
|
||||
#define SOLARIS_putpmsg 133
|
||||
#define SOLARIS_rename 134
|
||||
#define SOLARIS_uname 135
|
||||
#define SOLARIS_setegid 136
|
||||
#define SOLARIS_sysconfig 137
|
||||
#define SOLARIS_adjtime 138
|
||||
#define SOLARIS_systeminfo 139
|
||||
#define SOLARIS_seteuid 141
|
||||
#define SOLARIS_vtrace 142
|
||||
#define SOLARIS_fork1 143
|
||||
#define SOLARIS_sigtimedwait 144
|
||||
#define SOLARIS_lwp_info 145
|
||||
#define SOLARIS_yield 146
|
||||
#define SOLARIS_lwp_sema_wait 147
|
||||
#define SOLARIS_lwp_sema_post 148
|
||||
#define SOLARIS_modctl 152
|
||||
#define SOLARIS_fchroot 153
|
||||
#define SOLARIS_utimes 154
|
||||
#define SOLARIS_vhangup 155
|
||||
#define SOLARIS_gettimeofday 156
|
||||
#define SOLARIS_getitimer 157
|
||||
#define SOLARIS_setitimer 158
|
||||
#define SOLARIS_lwp_create 159
|
||||
#define SOLARIS_lwp_exit 160
|
||||
#define SOLARIS_lwp_suspend 161
|
||||
#define SOLARIS_lwp_continue 162
|
||||
#define SOLARIS_lwp_kill 163
|
||||
#define SOLARIS_lwp_self 164
|
||||
#define SOLARIS_lwp_setprivate 165
|
||||
#define SOLARIS_lwp_getprivate 166
|
||||
#define SOLARIS_lwp_wait 167
|
||||
#define SOLARIS_lwp_mutex_unlock 168
|
||||
#define SOLARIS_lwp_mutex_lock 169
|
||||
#define SOLARIS_lwp_cond_wait 170
|
||||
#define SOLARIS_lwp_cond_signal 171
|
||||
#define SOLARIS_lwp_cond_broadcast 172
|
||||
#define SOLARIS_pread 173
|
||||
#define SOLARIS_pwrite 174
|
||||
#define SOLARIS_llseek 175
|
||||
#define SOLARIS_inst_sync 176
|
||||
#define SOLARIS_kaio 178
|
||||
#define SOLARIS_tsolsys 184
|
||||
#define SOLARIS_acl 185
|
||||
#define SOLARIS_auditsys 186
|
||||
#define SOLARIS_processor_bind 187
|
||||
#define SOLARIS_processor_info 188
|
||||
#define SOLARIS_p_online 189
|
||||
#define SOLARIS_sigqueue 190
|
||||
#define SOLARIS_clock_gettime 191
|
||||
#define SOLARIS_clock_settime 192
|
||||
#define SOLARIS_clock_getres 193
|
||||
#define SOLARIS_timer_create 194
|
||||
#define SOLARIS_timer_delete 195
|
||||
#define SOLARIS_timer_settime 196
|
||||
#define SOLARIS_timer_gettime 197
|
||||
#define SOLARIS_timer_getoverrun 198
|
||||
#define SOLARIS_nanosleep 199
|
||||
#define SOLARIS_facl 200
|
||||
#define SOLARIS_door 201
|
||||
#define SOLARIS_setreuid 202
|
||||
#define SOLARIS_setregid 203
|
||||
#define SOLARIS_signotifywait 210
|
||||
#define SOLARIS_lwp_sigredirect 211
|
||||
#define SOLARIS_lwp_alarm 212
|
||||
|
||||
#include "dummy2.h"
|
||||
|
||||
extern int solaris_syscall();
|
||||
extern int solaris_exit();
|
||||
extern int solaris_fork();
|
||||
extern int solaris_read();
|
||||
extern int solaris_write();
|
||||
extern int solaris_open();
|
||||
extern int solaris_close();
|
||||
extern int solaris_wait();
|
||||
extern int solaris_creat();
|
||||
extern int solaris_link();
|
||||
extern int solaris_unlink();
|
||||
extern int solaris_exec();
|
||||
extern int solaris_chdir();
|
||||
extern int solaris_time();
|
||||
extern int solaris_mknod();
|
||||
extern int solaris_chmod();
|
||||
extern int solaris_chown();
|
||||
extern int solaris_brk();
|
||||
extern int solaris_stat();
|
||||
extern int solaris_lseek();
|
||||
extern int solaris_getpid();
|
||||
extern int solaris_mount();
|
||||
extern int solaris_umount();
|
||||
extern int solaris_setuid();
|
||||
extern int solaris_getuid();
|
||||
extern int solaris_stime();
|
||||
extern int solaris_ptrace();
|
||||
extern int solaris_alarm();
|
||||
extern int solaris_fstat();
|
||||
extern int solaris_pause();
|
||||
extern int solaris_utime();
|
||||
extern int solaris_stty();
|
||||
extern int solaris_gtty();
|
||||
extern int solaris_access();
|
||||
extern int solaris_nice();
|
||||
extern int solaris_statfs();
|
||||
extern int solaris_sync();
|
||||
extern int solaris_kill();
|
||||
extern int solaris_fstatfs();
|
||||
extern int solaris_pgrpsys();
|
||||
extern int solaris_setpgrp();
|
||||
extern int solaris_xenix();
|
||||
extern int solaris_syssgi();
|
||||
extern int solaris_dup();
|
||||
extern int solaris_pipe();
|
||||
extern int solaris_times();
|
||||
extern int solaris_profil();
|
||||
extern int solaris_plock();
|
||||
extern int solaris_setgid();
|
||||
extern int solaris_getgid();
|
||||
extern int solaris_sigcall();
|
||||
extern int solaris_msgsys();
|
||||
extern int solaris_syssun();
|
||||
extern int solaris_sysi86();
|
||||
extern int solaris_sysmips();
|
||||
extern int solaris_sysmachine();
|
||||
extern int solaris_acct();
|
||||
extern int solaris_shmsys();
|
||||
extern int solaris_semsys();
|
||||
extern int solaris_ioctl();
|
||||
extern int solaris_uadmin();
|
||||
extern int solaris_utssys();
|
||||
extern int solaris_fdsync();
|
||||
extern int solaris_execve();
|
||||
extern int solaris_umask();
|
||||
extern int solaris_chroot();
|
||||
extern int solaris_fcntl();
|
||||
extern int solaris_ulimit();
|
||||
extern int solaris_rmdir();
|
||||
extern int solaris_mkdir();
|
||||
extern int solaris_getdents();
|
||||
extern int solaris_sysfs();
|
||||
extern int solaris_getmsg();
|
||||
extern int solaris_putmsg();
|
||||
extern int solaris_poll();
|
||||
extern int solaris_lstat();
|
||||
extern int solaris_symlink();
|
||||
extern int solaris_readlink();
|
||||
extern int solaris_setgroups();
|
||||
extern int solaris_getgroups();
|
||||
extern int solaris_fchmod();
|
||||
extern int solaris_fchown();
|
||||
extern int solaris_sigprocmask();
|
||||
extern int solaris_sigsuspend();
|
||||
extern int solaris_sigaltstack();
|
||||
extern int solaris_sigaction();
|
||||
extern int solaris_spcall();
|
||||
extern int solaris_context();
|
||||
extern int solaris_evsys();
|
||||
extern int solaris_evtrapret();
|
||||
extern int solaris_statvfs();
|
||||
extern int solaris_fstatvfs();
|
||||
extern int solaris_nfssys();
|
||||
extern int solaris_waitid();
|
||||
extern int solaris_sigsendsys();
|
||||
extern int solaris_hrtsys();
|
||||
extern int solaris_acancel();
|
||||
extern int solaris_async();
|
||||
extern int solaris_priocntlsys();
|
||||
extern int solaris_pathconf();
|
||||
extern int solaris_mincore();
|
||||
extern int solaris_mmap();
|
||||
extern int solaris_mprotect();
|
||||
extern int solaris_munmap();
|
||||
extern int solaris_fpathconf();
|
||||
extern int solaris_vfork();
|
||||
extern int solaris_fchdir();
|
||||
extern int solaris_readv();
|
||||
extern int solaris_writev();
|
||||
extern int solaris_xstat();
|
||||
extern int solaris_lxstat();
|
||||
extern int solaris_fxstat();
|
||||
extern int solaris_xmknod();
|
||||
extern int solaris_clocal();
|
||||
extern int solaris_setrlimit();
|
||||
extern int solaris_getrlimit();
|
||||
extern int solaris_lchown();
|
||||
extern int solaris_memcntl();
|
||||
extern int solaris_getpmsg();
|
||||
extern int solaris_putpmsg();
|
||||
extern int solaris_rename();
|
||||
extern int solaris_uname();
|
||||
extern int solaris_setegid();
|
||||
extern int solaris_sysconfig();
|
||||
extern int solaris_adjtime();
|
||||
extern int solaris_sysinfo();
|
||||
extern int solaris_seteuid();
|
||||
extern int solaris_vtrace();
|
||||
extern int solaris_fork1();
|
||||
extern int solaris_sigtimedwait();
|
||||
extern int solaris_lwp_info();
|
||||
extern int solaris_yield();
|
||||
extern int solaris_lwp_sema_wait();
|
||||
extern int solaris_lwp_sema_post();
|
||||
extern int solaris_modctl();
|
||||
extern int solaris_fchroot();
|
||||
extern int solaris_utimes();
|
||||
extern int solaris_vhangup();
|
||||
extern int solaris_gettimeofday();
|
||||
extern int solaris_getitimer();
|
||||
extern int solaris_setitimer();
|
||||
extern int solaris_lwp_create();
|
||||
extern int solaris_lwp_exit();
|
||||
extern int solaris_lwp_suspend();
|
||||
extern int solaris_lwp_continue();
|
||||
extern int solaris_lwp_kill();
|
||||
extern int solaris_lwp_self();
|
||||
extern int solaris_lwp_setprivate();
|
||||
extern int solaris_lwp_getprivate();
|
||||
extern int solaris_lwp_wait();
|
||||
extern int solaris_lwp_mutex_unlock();
|
||||
extern int solaris_lwp_mutex_lock();
|
||||
extern int solaris_lwp_cond_wait();
|
||||
extern int solaris_lwp_cond_signal();
|
||||
extern int solaris_lwp_cond_broadcast();
|
||||
extern int solaris_pread();
|
||||
extern int solaris_pwrite();
|
||||
extern int solaris_llseek();
|
||||
extern int solaris_inst_sync();
|
||||
extern int solaris_auditsys();
|
||||
extern int solaris_processor_bind();
|
||||
extern int solaris_processor_info();
|
||||
extern int solaris_p_online();
|
||||
extern int solaris_sigqueue();
|
||||
extern int solaris_clock_gettime();
|
||||
extern int solaris_clock_settime();
|
||||
extern int solaris_clock_getres();
|
||||
extern int solaris_timer_create();
|
||||
extern int solaris_timer_delete();
|
||||
extern int solaris_timer_settime();
|
||||
extern int solaris_timer_gettime();
|
||||
extern int solaris_timer_getoverrun();
|
||||
extern int solaris_nanosleep();
|
||||
|
||||
/* solaris_pgrpsys subcalls */
|
||||
|
||||
extern int solaris_getpgrp(), solaris_setpgrp(), solaris_getsid();
|
||||
extern int solaris_setsid(), solaris_getpgid(), solaris_setpgid();
|
||||
|
||||
#define SOLARIS_pgrpsys_subcall 300
|
||||
#define SOLARIS_getpgrp (SOLARIS_pgrpsys_subcall + 0)
|
||||
#define SOLARIS_setpgrp (SOLARIS_pgrpsys_subcall + 1)
|
||||
#define SOLARIS_getsid (SOLARIS_pgrpsys_subcall + 2)
|
||||
#define SOLARIS_setsid (SOLARIS_pgrpsys_subcall + 3)
|
||||
#define SOLARIS_getpgid (SOLARIS_pgrpsys_subcall + 4)
|
||||
#define SOLARIS_setpgid (SOLARIS_pgrpsys_subcall + 5)
|
||||
|
||||
#define SOLARIS_pgrpsys_nsubcalls 6
|
||||
|
||||
/* solaris_sigcall subcalls */
|
||||
|
||||
#undef SOLARIS_signal
|
||||
#define SOLARIS_sigcall 48
|
||||
|
||||
extern int solaris_signal(), solaris_sigset(), solaris_sighold();
|
||||
extern int solaris_sigrelse(), solaris_sigignore(), solaris_sigpause();
|
||||
|
||||
#define SOLARIS_sigcall_subcall 310
|
||||
#define SOLARIS_signal (SOLARIS_sigcall_subcall + 0)
|
||||
#define SOLARIS_sigset (SOLARIS_sigcall_subcall + 1)
|
||||
#define SOLARIS_sighold (SOLARIS_sigcall_subcall + 2)
|
||||
#define SOLARIS_sigrelse (SOLARIS_sigcall_subcall + 3)
|
||||
#define SOLARIS_sigignore (SOLARIS_sigcall_subcall + 4)
|
||||
#define SOLARIS_sigpause (SOLARIS_sigcall_subcall + 5)
|
||||
|
||||
#define SOLARIS_sigcall_nsubcalls 6
|
||||
|
||||
/* msgsys subcalls */
|
||||
|
||||
extern int solaris_msgget(), solaris_msgctl(), solaris_msgrcv(), solaris_msgsnd();
|
||||
|
||||
#define SOLARIS_msgsys_subcall 320
|
||||
#define SOLARIS_msgget (SOLARIS_msgsys_subcall + 0)
|
||||
#define SOLARIS_msgctl (SOLARIS_msgsys_subcall + 1)
|
||||
#define SOLARIS_msgrcv (SOLARIS_msgsys_subcall + 2)
|
||||
#define SOLARIS_msgsnd (SOLARIS_msgsys_subcall + 3)
|
||||
|
||||
#define SOLARIS_msgsys_nsubcalls 4
|
||||
|
||||
/* shmsys subcalls */
|
||||
|
||||
extern int solaris_shmat(), solaris_shmctl(), solaris_shmdt(), solaris_shmget();
|
||||
|
||||
#define SOLARIS_shmsys_subcall 330
|
||||
#define SOLARIS_shmat (SOLARIS_shmsys_subcall + 0)
|
||||
#define SOLARIS_shmctl (SOLARIS_shmsys_subcall + 1)
|
||||
#define SOLARIS_shmdt (SOLARIS_shmsys_subcall + 2)
|
||||
#define SOLARIS_shmget (SOLARIS_shmsys_subcall + 3)
|
||||
|
||||
#define SOLARIS_shmsys_nsubcalls 4
|
||||
|
||||
/* semsys subcalls */
|
||||
|
||||
extern int solaris_semctl(), solaris_semget(), solaris_semop();
|
||||
|
||||
#define SOLARIS_semsys_subcall 340
|
||||
#define SOLARIS_semctl (SOLARIS_semsys_subcall + 0)
|
||||
#define SOLARIS_semget (SOLARIS_semsys_subcall + 1)
|
||||
#define SOLARIS_semop (SOLARIS_semsys_subcall + 2)
|
||||
|
||||
#define SOLARIS_semsys_nsubcalls 3
|
||||
|
||||
/* utssys subcalls */
|
||||
|
||||
extern int solaris_olduname(), solaris_ustat(), solaris_fusers();
|
||||
|
||||
#define SOLARIS_utssys_subcall 350
|
||||
|
||||
#define SOLARIS_olduname (SOLARIS_utssys_subcall + 0)
|
||||
/* 1 is unused */
|
||||
#define SOLARIS_ustat (SOLARIS_utssys_subcall + 2)
|
||||
#define SOLARIS_fusers (SOLARIS_utssys_subcall + 3)
|
||||
|
||||
#define SOLARIS_utssys_nsubcalls 4
|
||||
|
||||
/* sysfs subcalls */
|
||||
|
||||
extern int solaris_sysfs1(), solaris_sysfs2(), solaris_sysfs3();
|
||||
|
||||
#define SOLARIS_sysfs_subcall 360
|
||||
/* 0 is unused */
|
||||
#define SOLARIS_sysfs1 (SOLARIS_sysfs_subcall + 1)
|
||||
#define SOLARIS_sysfs2 (SOLARIS_sysfs_subcall + 2)
|
||||
#define SOLARIS_sysfs3 (SOLARIS_sysfs_subcall + 3)
|
||||
|
||||
#define SOLARIS_sysfs_nsubcalls 4
|
||||
|
||||
/* solaris_spcall subcalls */
|
||||
|
||||
#undef SOLARIS_sigpending
|
||||
#define SOLARIS_spcall 99
|
||||
|
||||
extern int solaris_sigpending(), solaris_sigfillset();
|
||||
|
||||
#define SOLARIS_spcall_subcall 370
|
||||
/* 0 is unused */
|
||||
#define SOLARIS_sigpending (SOLARIS_spcall_subcall + 1)
|
||||
#define SOLARIS_sigfillset (SOLARIS_spcall_subcall + 2)
|
||||
|
||||
#define SOLARIS_spcall_nsubcalls 3
|
||||
|
||||
/* solaris_context subcalls */
|
||||
|
||||
extern int solaris_getcontext(), solaris_setcontext();
|
||||
|
||||
#define SOLARIS_context_subcall 380
|
||||
#define SOLARIS_getcontext (SOLARIS_context_subcall + 0)
|
||||
#define SOLARIS_setcontext (SOLARIS_context_subcall + 1)
|
||||
|
||||
#define SOLARIS_context_nsubcalls 2
|
@ -1 +0,0 @@
|
||||
#include "../sparc/syscallent1.h"
|
@ -348,7 +348,6 @@ int sys_sram_alloc();
|
||||
#endif
|
||||
|
||||
#if defined SPARC || defined SPARC64
|
||||
#include "sparc/syscall1.h"
|
||||
int sys_execv();
|
||||
int sys_getmsg();
|
||||
int sys_putmsg();
|
||||
|
21
open.c
21
open.c
@ -120,24 +120,3 @@ sys_creat(struct tcb *tcp)
|
||||
}
|
||||
return RVAL_FD;
|
||||
}
|
||||
|
||||
#if defined(SPARC) || defined(SPARC64)
|
||||
# include "xlat/openmodessol.h"
|
||||
|
||||
int
|
||||
solaris_open(struct tcb *tcp)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
printpath(tcp, tcp->u_arg[0]);
|
||||
tprints(", ");
|
||||
/* flags */
|
||||
printflags(openmodessol, tcp->u_arg[1] + 1, "O_???");
|
||||
if (tcp->u_arg[1] & 0x100) {
|
||||
/* mode */
|
||||
tprintf(", %#lo", tcp->u_arg[2]);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* SPARC || SPARC64 */
|
||||
|
Loading…
Reference in New Issue
Block a user