Revert auto-generation. The Alpha port is broken.

Syncing with it is wrong.
This commit is contained in:
marcel 2000-11-10 21:30:19 +00:00
parent 1add549e84
commit c3aea64316
16 changed files with 1153 additions and 6 deletions

View File

@ -45,7 +45,11 @@
#include <sys/tty.h> #include <sys/tty.h>
#include <machine/../linux/linux.h> #include <machine/../linux/linux.h>
#ifdef __alpha__
#include <linux_proto.h> #include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>
#ifndef __alpha__ #ifndef __alpha__

View File

@ -51,7 +51,11 @@
#include <sys/disklabel.h> #include <sys/disklabel.h>
#include <machine/../linux/linux.h> #include <machine/../linux/linux.h>
#ifdef __alpha__
#include <linux_proto.h> #include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif
#ifdef __alpha__ #ifdef __alpha__
#include <machine/../linux/linux_ioctl.h> #include <machine/../linux/linux_ioctl.h>

View File

@ -36,7 +36,11 @@
#include <sys/shm.h> #include <sys/shm.h>
#include <machine/../linux/linux.h> #include <machine/../linux/linux.h>
#ifdef __alpha__
#include <linux_proto.h> #include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif
#include <compat/linux/linux_ipc.h> #include <compat/linux/linux_ipc.h>
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>

View File

@ -66,7 +66,11 @@
#include <posix4/sched.h> #include <posix4/sched.h>
#include <machine/../linux/linux.h> #include <machine/../linux/linux.h>
#ifdef __alpha__
#include <linux_proto.h> #include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif
#include <compat/linux/linux_mib.h> #include <compat/linux/linux_mib.h>
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>

View File

@ -35,7 +35,11 @@
#include <sys/signalvar.h> #include <sys/signalvar.h>
#include <machine/../linux/linux.h> #include <machine/../linux/linux.h>
#ifdef __alpha__
#include <linux_proto.h> #include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif
#include <compat/linux/linux_signal.h> #include <compat/linux/linux_signal.h>
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>

View File

@ -48,7 +48,11 @@
#include <netinet/ip.h> #include <netinet/ip.h>
#include <machine/../linux/linux.h> #include <machine/../linux/linux.h>
#ifdef __alpha__
#include <linux_proto.h> #include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>
#ifndef __alpha__ #ifndef __alpha__

View File

@ -41,7 +41,11 @@
#include <sys/vnode.h> #include <sys/vnode.h>
#include <machine/../linux/linux.h> #include <machine/../linux/linux.h>
#ifdef __alpha__
#include <linux_proto.h> #include <linux_proto.h>
#else
#include <machine/../linux/linux_proto.h>
#endif
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>
struct linux_newstat { struct linux_newstat {

View File

@ -33,7 +33,7 @@
#include <sys/signal.h> /* for sigval union */ #include <sys/signal.h> /* for sigval union */
#include <linux_syscall.h> #include <i386/linux/linux_syscall.h>
#ifdef MALLOC_DECLARE #ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_LINUX); MALLOC_DECLARE(M_LINUX);

View File

@ -33,7 +33,7 @@
#include <sys/proc.h> #include <sys/proc.h>
#include <i386/linux/linux.h> #include <i386/linux/linux.h>
#include <linux_proto.h> #include <i386/linux/linux_proto.h>
#define DUMMY(s) \ #define DUMMY(s) \
int \ int \

View File

@ -3,7 +3,7 @@
#include "linux_assym.h" /* system definitions */ #include "linux_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */ #include <machine/asmacros.h> /* miscellaneous asm macros */
#include <linux_syscall.h> /* system call numbers */ #include <i386/linux/linux_syscall.h> /* system call numbers */
NON_GPROF_ENTRY(linux_sigcode) NON_GPROF_ENTRY(linux_sigcode)
call *LINUX_SIGF_HANDLER(%esp) call *LINUX_SIGF_HANDLER(%esp)

View File

@ -48,7 +48,7 @@
#include <vm/vm_map.h> #include <vm/vm_map.h>
#include <i386/linux/linux.h> #include <i386/linux/linux.h>
#include <linux_proto.h> #include <i386/linux/linux_proto.h>
#include <compat/linux/linux_ipc.h> #include <compat/linux/linux_ipc.h>
#include <compat/linux/linux_signal.h> #include <compat/linux/linux_signal.h>
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>

View File

@ -0,0 +1,694 @@
/*
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.36 2000/11/09 07:27:55 marcel Exp
*/
#ifndef _LINUX_SYSPROTO_H_
#define _LINUX_SYSPROTO_H_
#include <sys/signal.h>
#include <sys/acl.h>
struct proc;
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
0 : sizeof(register_t) - sizeof(t))
struct linux_setup_args {
register_t dummy;
};
struct linux_fork_args {
register_t dummy;
};
struct linux_open_args {
char * path; char path_[PAD_(char *)];
int flags; char flags_[PAD_(int)];
int mode; char mode_[PAD_(int)];
};
struct linux_waitpid_args {
int pid; char pid_[PAD_(int)];
int * status; char status_[PAD_(int *)];
int options; char options_[PAD_(int)];
};
struct linux_creat_args {
char * path; char path_[PAD_(char *)];
int mode; char mode_[PAD_(int)];
};
struct linux_link_args {
char * path; char path_[PAD_(char *)];
char * to; char to_[PAD_(char *)];
};
struct linux_unlink_args {
char * path; char path_[PAD_(char *)];
};
struct linux_execve_args {
char * path; char path_[PAD_(char *)];
char ** argp; char argp_[PAD_(char **)];
char ** envp; char envp_[PAD_(char **)];
};
struct linux_chdir_args {
char * path; char path_[PAD_(char *)];
};
struct linux_time_args {
linux_time_t * tm; char tm_[PAD_(linux_time_t *)];
};
struct linux_mknod_args {
char * path; char path_[PAD_(char *)];
int mode; char mode_[PAD_(int)];
int dev; char dev_[PAD_(int)];
};
struct linux_chmod_args {
char * path; char path_[PAD_(char *)];
int mode; char mode_[PAD_(int)];
};
struct linux_lchown_args {
char * path; char path_[PAD_(char *)];
int uid; char uid_[PAD_(int)];
int gid; char gid_[PAD_(int)];
};
struct linux_break_args {
char * nsize; char nsize_[PAD_(char *)];
};
struct linux_stat_args {
char * path; char path_[PAD_(char *)];
struct ostat * up; char up_[PAD_(struct ostat *)];
};
struct linux_lseek_args {
int fdes; char fdes_[PAD_(int)];
long off; char off_[PAD_(long)];
int whence; char whence_[PAD_(int)];
};
struct linux_mount_args {
register_t dummy;
};
struct linux_umount_args {
register_t dummy;
};
struct linux_stime_args {
register_t dummy;
};
struct linux_ptrace_args {
register_t dummy;
};
struct linux_alarm_args {
unsigned int secs; char secs_[PAD_(unsigned int)];
};
struct linux_fstat_args {
int fd; char fd_[PAD_(int)];
struct ostat * up; char up_[PAD_(struct ostat *)];
};
struct linux_pause_args {
register_t dummy;
};
struct linux_utime_args {
char * fname; char fname_[PAD_(char *)];
struct linux_utimbuf * times; char times_[PAD_(struct linux_utimbuf *)];
};
struct linux_stty_args {
register_t dummy;
};
struct linux_gtty_args {
register_t dummy;
};
struct linux_access_args {
char * path; char path_[PAD_(char *)];
int flags; char flags_[PAD_(int)];
};
struct linux_nice_args {
int inc; char inc_[PAD_(int)];
};
struct linux_ftime_args {
register_t dummy;
};
struct linux_kill_args {
int pid; char pid_[PAD_(int)];
int signum; char signum_[PAD_(int)];
};
struct linux_rename_args {
char * from; char from_[PAD_(char *)];
char * to; char to_[PAD_(char *)];
};
struct linux_mkdir_args {
char * path; char path_[PAD_(char *)];
int mode; char mode_[PAD_(int)];
};
struct linux_rmdir_args {
char * path; char path_[PAD_(char *)];
};
struct linux_pipe_args {
int * pipefds; char pipefds_[PAD_(int *)];
};
struct linux_times_args {
struct linux_times_argv * buf; char buf_[PAD_(struct linux_times_argv *)];
};
struct linux_prof_args {
register_t dummy;
};
struct linux_brk_args {
char * dsend; char dsend_[PAD_(char *)];
};
struct linux_signal_args {
int sig; char sig_[PAD_(int)];
linux_handler_t handler; char handler_[PAD_(linux_handler_t)];
};
struct linux_umount2_args {
register_t dummy;
};
struct linux_lock_args {
register_t dummy;
};
struct linux_ioctl_args {
int fd; char fd_[PAD_(int)];
u_long cmd; char cmd_[PAD_(u_long)];
int arg; char arg_[PAD_(int)];
};
struct linux_fcntl_args {
int fd; char fd_[PAD_(int)];
int cmd; char cmd_[PAD_(int)];
int arg; char arg_[PAD_(int)];
};
struct linux_mpx_args {
register_t dummy;
};
struct linux_ulimit_args {
register_t dummy;
};
struct linux_olduname_args {
register_t dummy;
};
struct linux_ustat_args {
linux_dev_t dev; char dev_[PAD_(linux_dev_t)];
struct linux_ustat * ubuf; char ubuf_[PAD_(struct linux_ustat *)];
};
struct linux_sigaction_args {
int sig; char sig_[PAD_(int)];
linux_osigaction_t * nsa; char nsa_[PAD_(linux_osigaction_t *)];
linux_osigaction_t * osa; char osa_[PAD_(linux_osigaction_t *)];
};
struct linux_siggetmask_args {
register_t dummy;
};
struct linux_sigsetmask_args {
linux_osigset_t mask; char mask_[PAD_(linux_osigset_t)];
};
struct linux_sigsuspend_args {
int restart; char restart_[PAD_(int)];
linux_osigset_t oldmask; char oldmask_[PAD_(linux_osigset_t)];
linux_osigset_t mask; char mask_[PAD_(linux_osigset_t)];
};
struct linux_sigpending_args {
linux_osigset_t * mask; char mask_[PAD_(linux_osigset_t *)];
};
struct linux_setrlimit_args {
u_int resource; char resource_[PAD_(u_int)];
struct ogetrlimit * rlim; char rlim_[PAD_(struct ogetrlimit *)];
};
struct linux_getrlimit_args {
u_int resource; char resource_[PAD_(u_int)];
struct ogetrlimit * rlim; char rlim_[PAD_(struct ogetrlimit *)];
};
struct linux_getgroups_args {
u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
linux_gid_t * gidset; char gidset_[PAD_(linux_gid_t *)];
};
struct linux_setgroups_args {
u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
linux_gid_t * gidset; char gidset_[PAD_(linux_gid_t *)];
};
struct linux_select_args {
struct linux_select_argv * ptr; char ptr_[PAD_(struct linux_select_argv *)];
};
struct linux_symlink_args {
char * path; char path_[PAD_(char *)];
char * to; char to_[PAD_(char *)];
};
struct linux_readlink_args {
char * name; char name_[PAD_(char *)];
char * buf; char buf_[PAD_(char *)];
int count; char count_[PAD_(int)];
};
struct linux_uselib_args {
char * library; char library_[PAD_(char *)];
};
struct linux_readdir_args {
int fd; char fd_[PAD_(int)];
struct linux_dirent * dent; char dent_[PAD_(struct linux_dirent *)];
unsigned int count; char count_[PAD_(unsigned int)];
};
struct linux_mmap_args {
struct linux_mmap_argv * ptr; char ptr_[PAD_(struct linux_mmap_argv *)];
};
struct linux_truncate_args {
char * path; char path_[PAD_(char *)];
long length; char length_[PAD_(long)];
};
struct linux_statfs_args {
char * path; char path_[PAD_(char *)];
struct linux_statfs_buf * buf; char buf_[PAD_(struct linux_statfs_buf *)];
};
struct linux_fstatfs_args {
int fd; char fd_[PAD_(int)];
struct linux_statfs_buf * buf; char buf_[PAD_(struct linux_statfs_buf *)];
};
struct linux_ioperm_args {
unsigned int start; char start_[PAD_(unsigned int)];
unsigned int length; char length_[PAD_(unsigned int)];
int enable; char enable_[PAD_(int)];
};
struct linux_socketcall_args {
int what; char what_[PAD_(int)];
void * args; char args_[PAD_(void *)];
};
struct linux_ksyslog_args {
int what; char what_[PAD_(int)];
};
struct linux_setitimer_args {
u_int which; char which_[PAD_(u_int)];
struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)];
};
struct linux_getitimer_args {
u_int which; char which_[PAD_(u_int)];
struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
};
struct linux_newstat_args {
char * path; char path_[PAD_(char *)];
struct linux_newstat * buf; char buf_[PAD_(struct linux_newstat *)];
};
struct linux_newlstat_args {
char * path; char path_[PAD_(char *)];
struct linux_newstat * buf; char buf_[PAD_(struct linux_newstat *)];
};
struct linux_newfstat_args {
int fd; char fd_[PAD_(int)];
struct linux_newstat * buf; char buf_[PAD_(struct linux_newstat *)];
};
struct linux_uname_args {
register_t dummy;
};
struct linux_iopl_args {
int level; char level_[PAD_(int)];
};
struct linux_vhangup_args {
register_t dummy;
};
struct linux_idle_args {
register_t dummy;
};
struct linux_vm86old_args {
register_t dummy;
};
struct linux_wait4_args {
int pid; char pid_[PAD_(int)];
int * status; char status_[PAD_(int *)];
int options; char options_[PAD_(int)];
struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
};
struct linux_swapoff_args {
register_t dummy;
};
struct linux_sysinfo_args {
register_t dummy;
};
struct linux_ipc_args {
int what; char what_[PAD_(int)];
int arg1; char arg1_[PAD_(int)];
int arg2; char arg2_[PAD_(int)];
int arg3; char arg3_[PAD_(int)];
caddr_t ptr; char ptr_[PAD_(caddr_t)];
};
struct linux_sigreturn_args {
struct linux_sigcontext * scp; char scp_[PAD_(struct linux_sigcontext *)];
};
struct linux_clone_args {
int flags; char flags_[PAD_(int)];
void * stack; char stack_[PAD_(void *)];
};
struct linux_newuname_args {
struct linux_new_utsname * buf; char buf_[PAD_(struct linux_new_utsname *)];
};
struct linux_modify_ldt_args {
int func; char func_[PAD_(int)];
void * ptr; char ptr_[PAD_(void *)];
size_t bytecount; char bytecount_[PAD_(size_t)];
};
struct linux_adjtimex_args {
register_t dummy;
};
struct linux_sigprocmask_args {
int how; char how_[PAD_(int)];
linux_osigset_t * mask; char mask_[PAD_(linux_osigset_t *)];
linux_osigset_t * omask; char omask_[PAD_(linux_osigset_t *)];
};
struct linux_create_module_args {
register_t dummy;
};
struct linux_init_module_args {
register_t dummy;
};
struct linux_delete_module_args {
register_t dummy;
};
struct linux_get_kernel_syms_args {
register_t dummy;
};
struct linux_quotactl_args {
register_t dummy;
};
struct linux_getpgid_args {
int pid; char pid_[PAD_(int)];
};
struct linux_bdflush_args {
register_t dummy;
};
struct linux_sysfs_args {
int option; char option_[PAD_(int)];
u_long arg1; char arg1_[PAD_(u_long)];
u_long arg2; char arg2_[PAD_(u_long)];
};
struct linux_personality_args {
int per; char per_[PAD_(int)];
};
struct linux_afs_syscall_args {
register_t dummy;
};
struct linux_setfsuid_args {
linux_uid_t uid; char uid_[PAD_(linux_uid_t)];
};
struct linux_setfsgid_args {
linux_gid_t gid; char gid_[PAD_(linux_gid_t)];
};
struct linux_llseek_args {
int fd; char fd_[PAD_(int)];
u_int32_t ohigh; char ohigh_[PAD_(u_int32_t)];
u_int32_t olow; char olow_[PAD_(u_int32_t)];
caddr_t res; char res_[PAD_(caddr_t)];
int whence; char whence_[PAD_(int)];
};
struct linux_getdents_args {
int fd; char fd_[PAD_(int)];
void * dent; char dent_[PAD_(void *)];
unsigned count; char count_[PAD_(unsigned)];
};
struct linux_newselect_args {
int nfds; char nfds_[PAD_(int)];
fd_set * readfds; char readfds_[PAD_(fd_set *)];
fd_set * writefds; char writefds_[PAD_(fd_set *)];
fd_set * exceptfds; char exceptfds_[PAD_(fd_set *)];
struct timeval * timeout; char timeout_[PAD_(struct timeval *)];
};
struct linux_msync_args {
caddr_t addr; char addr_[PAD_(caddr_t)];
int len; char len_[PAD_(int)];
int fl; char fl_[PAD_(int)];
};
struct linux_getsid_args {
linux_pid_t pid; char pid_[PAD_(linux_pid_t)];
};
struct linux_fdatasync_args {
int fd; char fd_[PAD_(int)];
};
struct linux_sysctl_args {
register_t dummy;
};
struct linux_sched_setscheduler_args {
pid_t pid; char pid_[PAD_(pid_t)];
int policy; char policy_[PAD_(int)];
const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
};
struct linux_sched_getscheduler_args {
pid_t pid; char pid_[PAD_(pid_t)];
};
struct linux_mremap_args {
caddr_t addr; char addr_[PAD_(caddr_t)];
int old_len; char old_len_[PAD_(int)];
int new_len; char new_len_[PAD_(int)];
int flags; char flags_[PAD_(int)];
};
struct linux_getresuid_args {
linux_uid_t * ruid; char ruid_[PAD_(linux_uid_t *)];
linux_uid_t * euid; char euid_[PAD_(linux_uid_t *)];
linux_uid_t * suid; char suid_[PAD_(linux_uid_t *)];
};
struct linux_vm86_args {
register_t dummy;
};
struct linux_query_module_args {
register_t dummy;
};
struct linux_nfsservctl_args {
register_t dummy;
};
struct linux_getresgid_args {
linux_gid_t * rgid; char rgid_[PAD_(linux_gid_t *)];
linux_gid_t * egid; char egid_[PAD_(linux_gid_t *)];
linux_gid_t * sgid; char sgid_[PAD_(linux_gid_t *)];
};
struct linux_prctl_args {
register_t dummy;
};
struct linux_rt_sigreturn_args {
struct linux_ucontext * ucp; char ucp_[PAD_(struct linux_ucontext *)];
};
struct linux_rt_sigaction_args {
int sig; char sig_[PAD_(int)];
linux_sigaction_t * act; char act_[PAD_(linux_sigaction_t *)];
linux_sigaction_t * oact; char oact_[PAD_(linux_sigaction_t *)];
size_t sigsetsize; char sigsetsize_[PAD_(size_t)];
};
struct linux_rt_sigprocmask_args {
int how; char how_[PAD_(int)];
linux_sigset_t * mask; char mask_[PAD_(linux_sigset_t *)];
linux_sigset_t * omask; char omask_[PAD_(linux_sigset_t *)];
size_t sigsetsize; char sigsetsize_[PAD_(size_t)];
};
struct linux_rt_sigpending_args {
register_t dummy;
};
struct linux_rt_sigtimedwait_args {
register_t dummy;
};
struct linux_rt_sigqueueinfo_args {
register_t dummy;
};
struct linux_rt_sigsuspend_args {
linux_sigset_t * newset; char newset_[PAD_(linux_sigset_t *)];
size_t sigsetsize; char sigsetsize_[PAD_(size_t)];
};
struct linux_pread_args {
int fd; char fd_[PAD_(int)];
char * buf; char buf_[PAD_(char *)];
size_t nbyte; char nbyte_[PAD_(size_t)];
off_t offset; char offset_[PAD_(off_t)];
};
struct linux_pwrite_args {
int fd; char fd_[PAD_(int)];
const char * buf; char buf_[PAD_(const char *)];
size_t nbyte; char nbyte_[PAD_(size_t)];
off_t offset; char offset_[PAD_(off_t)];
};
struct linux_chown_args {
char * path; char path_[PAD_(char *)];
int uid; char uid_[PAD_(int)];
int gid; char gid_[PAD_(int)];
};
struct linux_getcwd_args {
char * buf; char buf_[PAD_(char *)];
unsigned long bufsize; char bufsize_[PAD_(unsigned long)];
};
struct linux_capget_args {
register_t dummy;
};
struct linux_capset_args {
register_t dummy;
};
struct linux_sigaltstack_args {
const linux_stack_t * uss; char uss_[PAD_(const linux_stack_t *)];
linux_stack_t * uoss; char uoss_[PAD_(linux_stack_t *)];
};
struct linux_sendfile_args {
register_t dummy;
};
struct linux_getpmsg_args {
register_t dummy;
};
struct linux_putpmsg_args {
register_t dummy;
};
struct linux_vfork_args {
register_t dummy;
};
struct linux_ugetrlimit_args {
register_t dummy;
};
struct linux_mmap2_args {
register_t dummy;
};
struct linux_truncate64_args {
register_t dummy;
};
struct linux_ftruncate64_args {
register_t dummy;
};
struct linux_stat64_args {
register_t dummy;
};
struct linux_lstat64_args {
register_t dummy;
};
struct linux_fstat64_args {
register_t dummy;
};
int linux_setup __P((struct proc *, struct linux_setup_args *));
int linux_fork __P((struct proc *, struct linux_fork_args *));
int linux_open __P((struct proc *, struct linux_open_args *));
int linux_waitpid __P((struct proc *, struct linux_waitpid_args *));
int linux_creat __P((struct proc *, struct linux_creat_args *));
int linux_link __P((struct proc *, struct linux_link_args *));
int linux_unlink __P((struct proc *, struct linux_unlink_args *));
int linux_execve __P((struct proc *, struct linux_execve_args *));
int linux_chdir __P((struct proc *, struct linux_chdir_args *));
int linux_time __P((struct proc *, struct linux_time_args *));
int linux_mknod __P((struct proc *, struct linux_mknod_args *));
int linux_chmod __P((struct proc *, struct linux_chmod_args *));
int linux_lchown __P((struct proc *, struct linux_lchown_args *));
int linux_break __P((struct proc *, struct linux_break_args *));
int linux_stat __P((struct proc *, struct linux_stat_args *));
int linux_lseek __P((struct proc *, struct linux_lseek_args *));
int linux_mount __P((struct proc *, struct linux_mount_args *));
int linux_umount __P((struct proc *, struct linux_umount_args *));
int linux_stime __P((struct proc *, struct linux_stime_args *));
int linux_ptrace __P((struct proc *, struct linux_ptrace_args *));
int linux_alarm __P((struct proc *, struct linux_alarm_args *));
int linux_fstat __P((struct proc *, struct linux_fstat_args *));
int linux_pause __P((struct proc *, struct linux_pause_args *));
int linux_utime __P((struct proc *, struct linux_utime_args *));
int linux_stty __P((struct proc *, struct linux_stty_args *));
int linux_gtty __P((struct proc *, struct linux_gtty_args *));
int linux_access __P((struct proc *, struct linux_access_args *));
int linux_nice __P((struct proc *, struct linux_nice_args *));
int linux_ftime __P((struct proc *, struct linux_ftime_args *));
int linux_kill __P((struct proc *, struct linux_kill_args *));
int linux_rename __P((struct proc *, struct linux_rename_args *));
int linux_mkdir __P((struct proc *, struct linux_mkdir_args *));
int linux_rmdir __P((struct proc *, struct linux_rmdir_args *));
int linux_pipe __P((struct proc *, struct linux_pipe_args *));
int linux_times __P((struct proc *, struct linux_times_args *));
int linux_prof __P((struct proc *, struct linux_prof_args *));
int linux_brk __P((struct proc *, struct linux_brk_args *));
int linux_signal __P((struct proc *, struct linux_signal_args *));
int linux_umount2 __P((struct proc *, struct linux_umount2_args *));
int linux_lock __P((struct proc *, struct linux_lock_args *));
int linux_ioctl __P((struct proc *, struct linux_ioctl_args *));
int linux_fcntl __P((struct proc *, struct linux_fcntl_args *));
int linux_mpx __P((struct proc *, struct linux_mpx_args *));
int linux_ulimit __P((struct proc *, struct linux_ulimit_args *));
int linux_olduname __P((struct proc *, struct linux_olduname_args *));
int linux_ustat __P((struct proc *, struct linux_ustat_args *));
int linux_sigaction __P((struct proc *, struct linux_sigaction_args *));
int linux_siggetmask __P((struct proc *, struct linux_siggetmask_args *));
int linux_sigsetmask __P((struct proc *, struct linux_sigsetmask_args *));
int linux_sigsuspend __P((struct proc *, struct linux_sigsuspend_args *));
int linux_sigpending __P((struct proc *, struct linux_sigpending_args *));
int linux_setrlimit __P((struct proc *, struct linux_setrlimit_args *));
int linux_getrlimit __P((struct proc *, struct linux_getrlimit_args *));
int linux_getgroups __P((struct proc *, struct linux_getgroups_args *));
int linux_setgroups __P((struct proc *, struct linux_setgroups_args *));
int linux_select __P((struct proc *, struct linux_select_args *));
int linux_symlink __P((struct proc *, struct linux_symlink_args *));
int linux_readlink __P((struct proc *, struct linux_readlink_args *));
int linux_uselib __P((struct proc *, struct linux_uselib_args *));
int linux_readdir __P((struct proc *, struct linux_readdir_args *));
int linux_mmap __P((struct proc *, struct linux_mmap_args *));
int linux_truncate __P((struct proc *, struct linux_truncate_args *));
int linux_statfs __P((struct proc *, struct linux_statfs_args *));
int linux_fstatfs __P((struct proc *, struct linux_fstatfs_args *));
int linux_ioperm __P((struct proc *, struct linux_ioperm_args *));
int linux_socketcall __P((struct proc *, struct linux_socketcall_args *));
int linux_ksyslog __P((struct proc *, struct linux_ksyslog_args *));
int linux_setitimer __P((struct proc *, struct linux_setitimer_args *));
int linux_getitimer __P((struct proc *, struct linux_getitimer_args *));
int linux_newstat __P((struct proc *, struct linux_newstat_args *));
int linux_newlstat __P((struct proc *, struct linux_newlstat_args *));
int linux_newfstat __P((struct proc *, struct linux_newfstat_args *));
int linux_uname __P((struct proc *, struct linux_uname_args *));
int linux_iopl __P((struct proc *, struct linux_iopl_args *));
int linux_vhangup __P((struct proc *, struct linux_vhangup_args *));
int linux_idle __P((struct proc *, struct linux_idle_args *));
int linux_vm86old __P((struct proc *, struct linux_vm86old_args *));
int linux_wait4 __P((struct proc *, struct linux_wait4_args *));
int linux_swapoff __P((struct proc *, struct linux_swapoff_args *));
int linux_sysinfo __P((struct proc *, struct linux_sysinfo_args *));
int linux_ipc __P((struct proc *, struct linux_ipc_args *));
int linux_sigreturn __P((struct proc *, struct linux_sigreturn_args *));
int linux_clone __P((struct proc *, struct linux_clone_args *));
int linux_newuname __P((struct proc *, struct linux_newuname_args *));
int linux_modify_ldt __P((struct proc *, struct linux_modify_ldt_args *));
int linux_adjtimex __P((struct proc *, struct linux_adjtimex_args *));
int linux_sigprocmask __P((struct proc *, struct linux_sigprocmask_args *));
int linux_create_module __P((struct proc *, struct linux_create_module_args *));
int linux_init_module __P((struct proc *, struct linux_init_module_args *));
int linux_delete_module __P((struct proc *, struct linux_delete_module_args *));
int linux_get_kernel_syms __P((struct proc *, struct linux_get_kernel_syms_args *));
int linux_quotactl __P((struct proc *, struct linux_quotactl_args *));
int linux_getpgid __P((struct proc *, struct linux_getpgid_args *));
int linux_bdflush __P((struct proc *, struct linux_bdflush_args *));
int linux_sysfs __P((struct proc *, struct linux_sysfs_args *));
int linux_personality __P((struct proc *, struct linux_personality_args *));
int linux_afs_syscall __P((struct proc *, struct linux_afs_syscall_args *));
int linux_setfsuid __P((struct proc *, struct linux_setfsuid_args *));
int linux_setfsgid __P((struct proc *, struct linux_setfsgid_args *));
int linux_llseek __P((struct proc *, struct linux_llseek_args *));
int linux_getdents __P((struct proc *, struct linux_getdents_args *));
int linux_newselect __P((struct proc *, struct linux_newselect_args *));
int linux_msync __P((struct proc *, struct linux_msync_args *));
int linux_getsid __P((struct proc *, struct linux_getsid_args *));
int linux_fdatasync __P((struct proc *, struct linux_fdatasync_args *));
int linux_sysctl __P((struct proc *, struct linux_sysctl_args *));
int linux_sched_setscheduler __P((struct proc *, struct linux_sched_setscheduler_args *));
int linux_sched_getscheduler __P((struct proc *, struct linux_sched_getscheduler_args *));
int linux_mremap __P((struct proc *, struct linux_mremap_args *));
int linux_getresuid __P((struct proc *, struct linux_getresuid_args *));
int linux_vm86 __P((struct proc *, struct linux_vm86_args *));
int linux_query_module __P((struct proc *, struct linux_query_module_args *));
int linux_nfsservctl __P((struct proc *, struct linux_nfsservctl_args *));
int linux_getresgid __P((struct proc *, struct linux_getresgid_args *));
int linux_prctl __P((struct proc *, struct linux_prctl_args *));
int linux_rt_sigreturn __P((struct proc *, struct linux_rt_sigreturn_args *));
int linux_rt_sigaction __P((struct proc *, struct linux_rt_sigaction_args *));
int linux_rt_sigprocmask __P((struct proc *, struct linux_rt_sigprocmask_args *));
int linux_rt_sigpending __P((struct proc *, struct linux_rt_sigpending_args *));
int linux_rt_sigtimedwait __P((struct proc *, struct linux_rt_sigtimedwait_args *));
int linux_rt_sigqueueinfo __P((struct proc *, struct linux_rt_sigqueueinfo_args *));
int linux_rt_sigsuspend __P((struct proc *, struct linux_rt_sigsuspend_args *));
int linux_pread __P((struct proc *, struct linux_pread_args *));
int linux_pwrite __P((struct proc *, struct linux_pwrite_args *));
int linux_chown __P((struct proc *, struct linux_chown_args *));
int linux_getcwd __P((struct proc *, struct linux_getcwd_args *));
int linux_capget __P((struct proc *, struct linux_capget_args *));
int linux_capset __P((struct proc *, struct linux_capset_args *));
int linux_sigaltstack __P((struct proc *, struct linux_sigaltstack_args *));
int linux_sendfile __P((struct proc *, struct linux_sendfile_args *));
int linux_getpmsg __P((struct proc *, struct linux_getpmsg_args *));
int linux_putpmsg __P((struct proc *, struct linux_putpmsg_args *));
int linux_vfork __P((struct proc *, struct linux_vfork_args *));
int linux_ugetrlimit __P((struct proc *, struct linux_ugetrlimit_args *));
int linux_mmap2 __P((struct proc *, struct linux_mmap2_args *));
int linux_truncate64 __P((struct proc *, struct linux_truncate64_args *));
int linux_ftruncate64 __P((struct proc *, struct linux_ftruncate64_args *));
int linux_stat64 __P((struct proc *, struct linux_stat64_args *));
int linux_lstat64 __P((struct proc *, struct linux_lstat64_args *));
int linux_fstat64 __P((struct proc *, struct linux_fstat64_args *));
#ifdef COMPAT_43
#endif /* COMPAT_43 */
#undef PAD_
#endif /* !_LINUX_SYSPROTO_H_ */

View File

@ -0,0 +1,207 @@
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.36 2000/11/09 07:27:55 marcel Exp
*/
#define LINUX_SYS_linux_setup 0
#define LINUX_SYS_exit 1
#define LINUX_SYS_linux_fork 2
#define LINUX_SYS_read 3
#define LINUX_SYS_write 4
#define LINUX_SYS_linux_open 5
#define LINUX_SYS_close 6
#define LINUX_SYS_linux_waitpid 7
#define LINUX_SYS_linux_creat 8
#define LINUX_SYS_linux_link 9
#define LINUX_SYS_linux_unlink 10
#define LINUX_SYS_linux_execve 11
#define LINUX_SYS_linux_chdir 12
#define LINUX_SYS_linux_time 13
#define LINUX_SYS_linux_mknod 14
#define LINUX_SYS_linux_chmod 15
#define LINUX_SYS_linux_lchown 16
#define LINUX_SYS_linux_break 17
#define LINUX_SYS_linux_stat 18
#define LINUX_SYS_linux_lseek 19
#define LINUX_SYS_getpid 20
#define LINUX_SYS_linux_mount 21
#define LINUX_SYS_linux_umount 22
#define LINUX_SYS_setuid 23
#define LINUX_SYS_getuid 24
#define LINUX_SYS_linux_stime 25
#define LINUX_SYS_linux_ptrace 26
#define LINUX_SYS_linux_alarm 27
#define LINUX_SYS_linux_fstat 28
#define LINUX_SYS_linux_pause 29
#define LINUX_SYS_linux_utime 30
#define LINUX_SYS_linux_stty 31
#define LINUX_SYS_linux_gtty 32
#define LINUX_SYS_linux_access 33
#define LINUX_SYS_linux_nice 34
#define LINUX_SYS_linux_ftime 35
#define LINUX_SYS_sync 36
#define LINUX_SYS_linux_kill 37
#define LINUX_SYS_linux_rename 38
#define LINUX_SYS_linux_mkdir 39
#define LINUX_SYS_linux_rmdir 40
#define LINUX_SYS_dup 41
#define LINUX_SYS_linux_pipe 42
#define LINUX_SYS_linux_times 43
#define LINUX_SYS_linux_prof 44
#define LINUX_SYS_linux_brk 45
#define LINUX_SYS_setgid 46
#define LINUX_SYS_getgid 47
#define LINUX_SYS_linux_signal 48
#define LINUX_SYS_geteuid 49
#define LINUX_SYS_getegid 50
#define LINUX_SYS_acct 51
#define LINUX_SYS_linux_umount2 52
#define LINUX_SYS_linux_lock 53
#define LINUX_SYS_linux_ioctl 54
#define LINUX_SYS_linux_fcntl 55
#define LINUX_SYS_linux_mpx 56
#define LINUX_SYS_setpgid 57
#define LINUX_SYS_linux_ulimit 58
#define LINUX_SYS_linux_olduname 59
#define LINUX_SYS_umask 60
#define LINUX_SYS_chroot 61
#define LINUX_SYS_linux_ustat 62
#define LINUX_SYS_dup2 63
#define LINUX_SYS_getppid 64
#define LINUX_SYS_getpgrp 65
#define LINUX_SYS_setsid 66
#define LINUX_SYS_linux_sigaction 67
#define LINUX_SYS_linux_siggetmask 68
#define LINUX_SYS_linux_sigsetmask 69
#define LINUX_SYS_setreuid 70
#define LINUX_SYS_setregid 71
#define LINUX_SYS_linux_sigsuspend 72
#define LINUX_SYS_linux_sigpending 73
#define LINUX_SYS_osethostname 74
#define LINUX_SYS_linux_setrlimit 75
#define LINUX_SYS_linux_getrlimit 76
#define LINUX_SYS_getrusage 77
#define LINUX_SYS_gettimeofday 78
#define LINUX_SYS_settimeofday 79
#define LINUX_SYS_linux_getgroups 80
#define LINUX_SYS_linux_setgroups 81
#define LINUX_SYS_linux_select 82
#define LINUX_SYS_linux_symlink 83
#define LINUX_SYS_ostat 84
#define LINUX_SYS_linux_readlink 85
#define LINUX_SYS_linux_uselib 86
#define LINUX_SYS_swapon 87
#define LINUX_SYS_reboot 88
#define LINUX_SYS_linux_readdir 89
#define LINUX_SYS_linux_mmap 90
#define LINUX_SYS_munmap 91
#define LINUX_SYS_linux_truncate 92
#define LINUX_SYS_oftruncate 93
#define LINUX_SYS_fchmod 94
#define LINUX_SYS_fchown 95
#define LINUX_SYS_getpriority 96
#define LINUX_SYS_setpriority 97
#define LINUX_SYS_profil 98
#define LINUX_SYS_linux_statfs 99
#define LINUX_SYS_linux_fstatfs 100
#define LINUX_SYS_linux_ioperm 101
#define LINUX_SYS_linux_socketcall 102
#define LINUX_SYS_linux_ksyslog 103
#define LINUX_SYS_linux_setitimer 104
#define LINUX_SYS_linux_getitimer 105
#define LINUX_SYS_linux_newstat 106
#define LINUX_SYS_linux_newlstat 107
#define LINUX_SYS_linux_newfstat 108
#define LINUX_SYS_linux_uname 109
#define LINUX_SYS_linux_iopl 110
#define LINUX_SYS_linux_vhangup 111
#define LINUX_SYS_linux_idle 112
#define LINUX_SYS_linux_vm86old 113
#define LINUX_SYS_linux_wait4 114
#define LINUX_SYS_linux_swapoff 115
#define LINUX_SYS_linux_sysinfo 116
#define LINUX_SYS_linux_ipc 117
#define LINUX_SYS_fsync 118
#define LINUX_SYS_linux_sigreturn 119
#define LINUX_SYS_linux_clone 120
#define LINUX_SYS_setdomainname 121
#define LINUX_SYS_linux_newuname 122
#define LINUX_SYS_linux_modify_ldt 123
#define LINUX_SYS_linux_adjtimex 124
#define LINUX_SYS_mprotect 125
#define LINUX_SYS_linux_sigprocmask 126
#define LINUX_SYS_linux_create_module 127
#define LINUX_SYS_linux_init_module 128
#define LINUX_SYS_linux_delete_module 129
#define LINUX_SYS_linux_get_kernel_syms 130
#define LINUX_SYS_linux_quotactl 131
#define LINUX_SYS_linux_getpgid 132
#define LINUX_SYS_fchdir 133
#define LINUX_SYS_linux_bdflush 134
#define LINUX_SYS_linux_sysfs 135
#define LINUX_SYS_linux_personality 136
#define LINUX_SYS_linux_afs_syscall 137
#define LINUX_SYS_linux_setfsuid 138
#define LINUX_SYS_linux_setfsgid 139
#define LINUX_SYS_linux_llseek 140
#define LINUX_SYS_linux_getdents 141
#define LINUX_SYS_linux_newselect 142
#define LINUX_SYS_flock 143
#define LINUX_SYS_linux_msync 144
#define LINUX_SYS_readv 145
#define LINUX_SYS_writev 146
#define LINUX_SYS_linux_getsid 147
#define LINUX_SYS_linux_fdatasync 148
#define LINUX_SYS_linux_sysctl 149
#define LINUX_SYS_mlock 150
#define LINUX_SYS_munlock 151
#define LINUX_SYS_mlockall 152
#define LINUX_SYS_munlockall 153
#define LINUX_SYS_sched_setparam 154
#define LINUX_SYS_sched_getparam 155
#define LINUX_SYS_linux_sched_setscheduler 156
#define LINUX_SYS_linux_sched_getscheduler 157
#define LINUX_SYS_sched_yield 158
#define LINUX_SYS_sched_get_priority_max 159
#define LINUX_SYS_sched_get_priority_min 160
#define LINUX_SYS_sched_rr_get_interval 161
#define LINUX_SYS_nanosleep 162
#define LINUX_SYS_linux_mremap 163
#define LINUX_SYS_setresuid 164
#define LINUX_SYS_linux_getresuid 165
#define LINUX_SYS_linux_vm86 166
#define LINUX_SYS_linux_query_module 167
#define LINUX_SYS_poll 168
#define LINUX_SYS_linux_nfsservctl 169
#define LINUX_SYS_setresgid 170
#define LINUX_SYS_linux_getresgid 171
#define LINUX_SYS_linux_prctl 172
#define LINUX_SYS_linux_rt_sigreturn 173
#define LINUX_SYS_linux_rt_sigaction 174
#define LINUX_SYS_linux_rt_sigprocmask 175
#define LINUX_SYS_linux_rt_sigpending 176
#define LINUX_SYS_linux_rt_sigtimedwait 177
#define LINUX_SYS_linux_rt_sigqueueinfo 178
#define LINUX_SYS_linux_rt_sigsuspend 179
#define LINUX_SYS_linux_pread 180
#define LINUX_SYS_linux_pwrite 181
#define LINUX_SYS_linux_chown 182
#define LINUX_SYS_linux_getcwd 183
#define LINUX_SYS_linux_capget 184
#define LINUX_SYS_linux_capset 185
#define LINUX_SYS_linux_sigaltstack 186
#define LINUX_SYS_linux_sendfile 187
#define LINUX_SYS_linux_getpmsg 188
#define LINUX_SYS_linux_putpmsg 189
#define LINUX_SYS_linux_vfork 190
#define LINUX_SYS_linux_ugetrlimit 191
#define LINUX_SYS_linux_mmap2 192
#define LINUX_SYS_linux_truncate64 193
#define LINUX_SYS_linux_ftruncate64 194
#define LINUX_SYS_linux_stat64 195
#define LINUX_SYS_linux_lstat64 196
#define LINUX_SYS_linux_fstat64 197
#define LINUX_SYS_MAXSYSCALL 198

View File

@ -0,0 +1,218 @@
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.36 2000/11/09 07:27:55 marcel Exp
*/
#include "opt_compat.h"
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <i386/linux/linux.h>
#include <i386/linux/linux_proto.h>
#define AS(name) (sizeof(struct name) / sizeof(register_t))
/* The casts are bogus but will do for now. */
struct sysent linux_sysent[] = {
{ 0, (sy_call_t *)linux_setup }, /* 0 = linux_setup */
{ AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
{ 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */
{ AS(read_args), (sy_call_t *)read }, /* 3 = read */
{ AS(write_args), (sy_call_t *)write }, /* 4 = write */
{ AS(linux_open_args), (sy_call_t *)linux_open }, /* 5 = linux_open */
{ AS(close_args), (sy_call_t *)close }, /* 6 = close */
{ AS(linux_waitpid_args), (sy_call_t *)linux_waitpid }, /* 7 = linux_waitpid */
{ AS(linux_creat_args), (sy_call_t *)linux_creat }, /* 8 = linux_creat */
{ AS(linux_link_args), (sy_call_t *)linux_link }, /* 9 = linux_link */
{ AS(linux_unlink_args), (sy_call_t *)linux_unlink }, /* 10 = linux_unlink */
{ AS(linux_execve_args), (sy_call_t *)linux_execve }, /* 11 = linux_execve */
{ AS(linux_chdir_args), (sy_call_t *)linux_chdir }, /* 12 = linux_chdir */
{ AS(linux_time_args), (sy_call_t *)linux_time }, /* 13 = linux_time */
{ AS(linux_mknod_args), (sy_call_t *)linux_mknod }, /* 14 = linux_mknod */
{ AS(linux_chmod_args), (sy_call_t *)linux_chmod }, /* 15 = linux_chmod */
{ AS(linux_lchown_args), (sy_call_t *)linux_lchown }, /* 16 = linux_lchown */
{ AS(linux_break_args), (sy_call_t *)linux_break }, /* 17 = linux_break */
{ AS(linux_stat_args), (sy_call_t *)linux_stat }, /* 18 = linux_stat */
{ AS(linux_lseek_args), (sy_call_t *)linux_lseek }, /* 19 = linux_lseek */
{ 0, (sy_call_t *)getpid }, /* 20 = getpid */
{ 0, (sy_call_t *)linux_mount }, /* 21 = linux_mount */
{ 0, (sy_call_t *)linux_umount }, /* 22 = linux_umount */
{ AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */
{ 0, (sy_call_t *)getuid }, /* 24 = getuid */
{ 0, (sy_call_t *)linux_stime }, /* 25 = linux_stime */
{ 0, (sy_call_t *)linux_ptrace }, /* 26 = linux_ptrace */
{ AS(linux_alarm_args), (sy_call_t *)linux_alarm }, /* 27 = linux_alarm */
{ AS(linux_fstat_args), (sy_call_t *)linux_fstat }, /* 28 = linux_fstat */
{ 0, (sy_call_t *)linux_pause }, /* 29 = linux_pause */
{ AS(linux_utime_args), (sy_call_t *)linux_utime }, /* 30 = linux_utime */
{ 0, (sy_call_t *)linux_stty }, /* 31 = linux_stty */
{ 0, (sy_call_t *)linux_gtty }, /* 32 = linux_gtty */
{ AS(linux_access_args), (sy_call_t *)linux_access }, /* 33 = linux_access */
{ AS(linux_nice_args), (sy_call_t *)linux_nice }, /* 34 = linux_nice */
{ 0, (sy_call_t *)linux_ftime }, /* 35 = linux_ftime */
{ 0, (sy_call_t *)sync }, /* 36 = sync */
{ AS(linux_kill_args), (sy_call_t *)linux_kill }, /* 37 = linux_kill */
{ AS(linux_rename_args), (sy_call_t *)linux_rename }, /* 38 = linux_rename */
{ AS(linux_mkdir_args), (sy_call_t *)linux_mkdir }, /* 39 = linux_mkdir */
{ AS(linux_rmdir_args), (sy_call_t *)linux_rmdir }, /* 40 = linux_rmdir */
{ AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
{ AS(linux_pipe_args), (sy_call_t *)linux_pipe }, /* 42 = linux_pipe */
{ AS(linux_times_args), (sy_call_t *)linux_times }, /* 43 = linux_times */
{ 0, (sy_call_t *)linux_prof }, /* 44 = linux_prof */
{ AS(linux_brk_args), (sy_call_t *)linux_brk }, /* 45 = linux_brk */
{ AS(setgid_args), (sy_call_t *)setgid }, /* 46 = setgid */
{ 0, (sy_call_t *)getgid }, /* 47 = getgid */
{ AS(linux_signal_args), (sy_call_t *)linux_signal }, /* 48 = linux_signal */
{ 0, (sy_call_t *)geteuid }, /* 49 = geteuid */
{ 0, (sy_call_t *)getegid }, /* 50 = getegid */
{ AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */
{ 0, (sy_call_t *)linux_umount2 }, /* 52 = linux_umount2 */
{ 0, (sy_call_t *)linux_lock }, /* 53 = linux_lock */
{ AS(linux_ioctl_args), (sy_call_t *)linux_ioctl }, /* 54 = linux_ioctl */
{ AS(linux_fcntl_args), (sy_call_t *)linux_fcntl }, /* 55 = linux_fcntl */
{ 0, (sy_call_t *)linux_mpx }, /* 56 = linux_mpx */
{ AS(setpgid_args), (sy_call_t *)setpgid }, /* 57 = setpgid */
{ 0, (sy_call_t *)linux_ulimit }, /* 58 = linux_ulimit */
{ 0, (sy_call_t *)linux_olduname }, /* 59 = linux_olduname */
{ AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */
{ AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */
{ AS(linux_ustat_args), (sy_call_t *)linux_ustat }, /* 62 = linux_ustat */
{ AS(dup2_args), (sy_call_t *)dup2 }, /* 63 = dup2 */
{ 0, (sy_call_t *)getppid }, /* 64 = getppid */
{ 0, (sy_call_t *)getpgrp }, /* 65 = getpgrp */
{ 0, (sy_call_t *)setsid }, /* 66 = setsid */
{ AS(linux_sigaction_args), (sy_call_t *)linux_sigaction }, /* 67 = linux_sigaction */
{ 0, (sy_call_t *)linux_siggetmask }, /* 68 = linux_siggetmask */
{ AS(linux_sigsetmask_args), (sy_call_t *)linux_sigsetmask }, /* 69 = linux_sigsetmask */
{ AS(setreuid_args), (sy_call_t *)setreuid }, /* 70 = setreuid */
{ AS(setregid_args), (sy_call_t *)setregid }, /* 71 = setregid */
{ AS(linux_sigsuspend_args), (sy_call_t *)linux_sigsuspend }, /* 72 = linux_sigsuspend */
{ AS(linux_sigpending_args), (sy_call_t *)linux_sigpending }, /* 73 = linux_sigpending */
{ AS(sethostname_args), (sy_call_t *)osethostname }, /* 74 = osethostname */
{ AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit }, /* 75 = linux_setrlimit */
{ AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit }, /* 76 = linux_getrlimit */
{ AS(getrusage_args), (sy_call_t *)getrusage }, /* 77 = getrusage */
{ AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 78 = gettimeofday */
{ AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 79 = settimeofday */
{ AS(linux_getgroups_args), (sy_call_t *)linux_getgroups }, /* 80 = linux_getgroups */
{ AS(linux_setgroups_args), (sy_call_t *)linux_setgroups }, /* 81 = linux_setgroups */
{ AS(linux_select_args), (sy_call_t *)linux_select }, /* 82 = linux_select */
{ AS(linux_symlink_args), (sy_call_t *)linux_symlink }, /* 83 = linux_symlink */
{ AS(ostat_args), (sy_call_t *)ostat }, /* 84 = ostat */
{ AS(linux_readlink_args), (sy_call_t *)linux_readlink }, /* 85 = linux_readlink */
{ AS(linux_uselib_args), (sy_call_t *)linux_uselib }, /* 86 = linux_uselib */
{ AS(swapon_args), (sy_call_t *)swapon }, /* 87 = swapon */
{ AS(reboot_args), (sy_call_t *)reboot }, /* 88 = reboot */
{ AS(linux_readdir_args), (sy_call_t *)linux_readdir }, /* 89 = linux_readdir */
{ AS(linux_mmap_args), (sy_call_t *)linux_mmap }, /* 90 = linux_mmap */
{ AS(munmap_args), (sy_call_t *)munmap }, /* 91 = munmap */
{ AS(linux_truncate_args), (sy_call_t *)linux_truncate }, /* 92 = linux_truncate */
{ AS(oftruncate_args), (sy_call_t *)oftruncate }, /* 93 = oftruncate */
{ AS(fchmod_args), (sy_call_t *)fchmod }, /* 94 = fchmod */
{ AS(fchown_args), (sy_call_t *)fchown }, /* 95 = fchown */
{ AS(getpriority_args), (sy_call_t *)getpriority }, /* 96 = getpriority */
{ AS(setpriority_args), (sy_call_t *)setpriority }, /* 97 = setpriority */
{ AS(profil_args), (sy_call_t *)profil }, /* 98 = profil */
{ AS(linux_statfs_args), (sy_call_t *)linux_statfs }, /* 99 = linux_statfs */
{ AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs }, /* 100 = linux_fstatfs */
{ AS(linux_ioperm_args), (sy_call_t *)linux_ioperm }, /* 101 = linux_ioperm */
{ AS(linux_socketcall_args), (sy_call_t *)linux_socketcall }, /* 102 = linux_socketcall */
{ AS(linux_ksyslog_args), (sy_call_t *)linux_ksyslog }, /* 103 = linux_ksyslog */
{ AS(linux_setitimer_args), (sy_call_t *)linux_setitimer }, /* 104 = linux_setitimer */
{ AS(linux_getitimer_args), (sy_call_t *)linux_getitimer }, /* 105 = linux_getitimer */
{ AS(linux_newstat_args), (sy_call_t *)linux_newstat }, /* 106 = linux_newstat */
{ AS(linux_newlstat_args), (sy_call_t *)linux_newlstat }, /* 107 = linux_newlstat */
{ AS(linux_newfstat_args), (sy_call_t *)linux_newfstat }, /* 108 = linux_newfstat */
{ 0, (sy_call_t *)linux_uname }, /* 109 = linux_uname */
{ AS(linux_iopl_args), (sy_call_t *)linux_iopl }, /* 110 = linux_iopl */
{ 0, (sy_call_t *)linux_vhangup }, /* 111 = linux_vhangup */
{ 0, (sy_call_t *)linux_idle }, /* 112 = linux_idle */
{ 0, (sy_call_t *)linux_vm86old }, /* 113 = linux_vm86old */
{ AS(linux_wait4_args), (sy_call_t *)linux_wait4 }, /* 114 = linux_wait4 */
{ 0, (sy_call_t *)linux_swapoff }, /* 115 = linux_swapoff */
{ 0, (sy_call_t *)linux_sysinfo }, /* 116 = linux_sysinfo */
{ AS(linux_ipc_args), (sy_call_t *)linux_ipc }, /* 117 = linux_ipc */
{ AS(fsync_args), (sy_call_t *)fsync }, /* 118 = fsync */
{ AS(linux_sigreturn_args), (sy_call_t *)linux_sigreturn }, /* 119 = linux_sigreturn */
{ AS(linux_clone_args), (sy_call_t *)linux_clone }, /* 120 = linux_clone */
{ AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 121 = setdomainname */
{ AS(linux_newuname_args), (sy_call_t *)linux_newuname }, /* 122 = linux_newuname */
{ AS(linux_modify_ldt_args), (sy_call_t *)linux_modify_ldt }, /* 123 = linux_modify_ldt */
{ 0, (sy_call_t *)linux_adjtimex }, /* 124 = linux_adjtimex */
{ AS(mprotect_args), (sy_call_t *)mprotect }, /* 125 = mprotect */
{ AS(linux_sigprocmask_args), (sy_call_t *)linux_sigprocmask }, /* 126 = linux_sigprocmask */
{ 0, (sy_call_t *)linux_create_module }, /* 127 = linux_create_module */
{ 0, (sy_call_t *)linux_init_module }, /* 128 = linux_init_module */
{ 0, (sy_call_t *)linux_delete_module }, /* 129 = linux_delete_module */
{ 0, (sy_call_t *)linux_get_kernel_syms }, /* 130 = linux_get_kernel_syms */
{ 0, (sy_call_t *)linux_quotactl }, /* 131 = linux_quotactl */
{ AS(linux_getpgid_args), (sy_call_t *)linux_getpgid }, /* 132 = linux_getpgid */
{ AS(fchdir_args), (sy_call_t *)fchdir }, /* 133 = fchdir */
{ 0, (sy_call_t *)linux_bdflush }, /* 134 = linux_bdflush */
{ AS(linux_sysfs_args), (sy_call_t *)linux_sysfs }, /* 135 = linux_sysfs */
{ AS(linux_personality_args), (sy_call_t *)linux_personality }, /* 136 = linux_personality */
{ 0, (sy_call_t *)linux_afs_syscall }, /* 137 = linux_afs_syscall */
{ AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid }, /* 138 = linux_setfsuid */
{ AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid }, /* 139 = linux_setfsgid */
{ AS(linux_llseek_args), (sy_call_t *)linux_llseek }, /* 140 = linux_llseek */
{ AS(linux_getdents_args), (sy_call_t *)linux_getdents }, /* 141 = linux_getdents */
{ AS(linux_newselect_args), (sy_call_t *)linux_newselect }, /* 142 = linux_newselect */
{ AS(flock_args), (sy_call_t *)flock }, /* 143 = flock */
{ AS(linux_msync_args), (sy_call_t *)linux_msync }, /* 144 = linux_msync */
{ AS(readv_args), (sy_call_t *)readv }, /* 145 = readv */
{ AS(writev_args), (sy_call_t *)writev }, /* 146 = writev */
{ AS(linux_getsid_args), (sy_call_t *)linux_getsid }, /* 147 = linux_getsid */
{ AS(linux_fdatasync_args), (sy_call_t *)linux_fdatasync }, /* 148 = linux_fdatasync */
{ 0, (sy_call_t *)linux_sysctl }, /* 149 = linux_sysctl */
{ AS(mlock_args), (sy_call_t *)mlock }, /* 150 = mlock */
{ AS(munlock_args), (sy_call_t *)munlock }, /* 151 = munlock */
{ AS(mlockall_args), (sy_call_t *)mlockall }, /* 152 = mlockall */
{ 0, (sy_call_t *)munlockall }, /* 153 = munlockall */
{ AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 154 = sched_setparam */
{ AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 155 = sched_getparam */
{ AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler }, /* 156 = linux_sched_setscheduler */
{ AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler }, /* 157 = linux_sched_getscheduler */
{ 0, (sy_call_t *)sched_yield }, /* 158 = sched_yield */
{ AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 159 = sched_get_priority_max */
{ AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 160 = sched_get_priority_min */
{ AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 161 = sched_rr_get_interval */
{ AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 162 = nanosleep */
{ AS(linux_mremap_args), (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */
{ AS(setresuid_args), (sy_call_t *)setresuid }, /* 164 = setresuid */
{ AS(linux_getresuid_args), (sy_call_t *)linux_getresuid }, /* 165 = linux_getresuid */
{ 0, (sy_call_t *)linux_vm86 }, /* 166 = linux_vm86 */
{ 0, (sy_call_t *)linux_query_module }, /* 167 = linux_query_module */
{ AS(poll_args), (sy_call_t *)poll }, /* 168 = poll */
{ 0, (sy_call_t *)linux_nfsservctl }, /* 169 = linux_nfsservctl */
{ AS(setresgid_args), (sy_call_t *)setresgid }, /* 170 = setresgid */
{ AS(linux_getresgid_args), (sy_call_t *)linux_getresgid }, /* 171 = linux_getresgid */
{ 0, (sy_call_t *)linux_prctl }, /* 172 = linux_prctl */
{ AS(linux_rt_sigreturn_args), (sy_call_t *)linux_rt_sigreturn }, /* 173 = linux_rt_sigreturn */
{ AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction }, /* 174 = linux_rt_sigaction */
{ AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask }, /* 175 = linux_rt_sigprocmask */
{ 0, (sy_call_t *)linux_rt_sigpending }, /* 176 = linux_rt_sigpending */
{ 0, (sy_call_t *)linux_rt_sigtimedwait }, /* 177 = linux_rt_sigtimedwait */
{ 0, (sy_call_t *)linux_rt_sigqueueinfo }, /* 178 = linux_rt_sigqueueinfo */
{ AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend }, /* 179 = linux_rt_sigsuspend */
{ AS(linux_pread_args), (sy_call_t *)linux_pread }, /* 180 = linux_pread */
{ AS(linux_pwrite_args), (sy_call_t *)linux_pwrite }, /* 181 = linux_pwrite */
{ AS(linux_chown_args), (sy_call_t *)linux_chown }, /* 182 = linux_chown */
{ AS(linux_getcwd_args), (sy_call_t *)linux_getcwd }, /* 183 = linux_getcwd */
{ 0, (sy_call_t *)linux_capget }, /* 184 = linux_capget */
{ 0, (sy_call_t *)linux_capset }, /* 185 = linux_capset */
{ AS(linux_sigaltstack_args), (sy_call_t *)linux_sigaltstack }, /* 186 = linux_sigaltstack */
{ 0, (sy_call_t *)linux_sendfile }, /* 187 = linux_sendfile */
{ 0, (sy_call_t *)linux_getpmsg }, /* 188 = linux_getpmsg */
{ 0, (sy_call_t *)linux_putpmsg }, /* 189 = linux_putpmsg */
{ 0, (sy_call_t *)linux_vfork }, /* 190 = linux_vfork */
{ 0, (sy_call_t *)linux_ugetrlimit }, /* 191 = linux_ugetrlimit */
{ 0, (sy_call_t *)linux_mmap2 }, /* 192 = linux_mmap2 */
{ 0, (sy_call_t *)linux_truncate64 }, /* 193 = linux_truncate64 */
{ 0, (sy_call_t *)linux_ftruncate64 }, /* 194 = linux_ftruncate64 */
{ 0, (sy_call_t *)linux_stat64 }, /* 195 = linux_stat64 */
{ 0, (sy_call_t *)linux_lstat64 }, /* 196 = linux_lstat64 */
{ 0, (sy_call_t *)linux_fstat64 }, /* 197 = linux_fstat64 */
};

View File

@ -55,7 +55,7 @@
#include <machine/cpu.h> #include <machine/cpu.h>
#include <i386/linux/linux.h> #include <i386/linux/linux.h>
#include <linux_proto.h> #include <i386/linux/linux_proto.h>
#include <compat/linux/linux_util.h> #include <compat/linux/linux_util.h>
MODULE_VERSION(linux, 1); MODULE_VERSION(linux, 1);

View File

@ -27,7 +27,7 @@
#include <sys/sysent.h> #include <sys/sysent.h>
#include <sys/sysproto.h> #include <sys/sysproto.h>
#include <i386/linux/linux.h> #include <i386/linux/linux.h>
#include <linux_proto.h> #include <i386/linux/linux_proto.h>
; #ifdef's, etc. may be included, and are copied to the output files. ; #ifdef's, etc. may be included, and are copied to the output files.