diff options
author | marcel <marcel@FreeBSD.org> | 2000-12-03 01:30:31 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-12-03 01:30:31 +0000 |
commit | 561104748931a3f0db188d4465837a7a1ec3ee2e (patch) | |
tree | 228a230a52b2199cd59363b792b88ab6e4560409 | |
parent | ccdb84bb6b683a9915daaecd5226ff980a394e28 (diff) | |
download | FreeBSD-src-561104748931a3f0db188d4465837a7a1ec3ee2e.zip FreeBSD-src-561104748931a3f0db188d4465837a7a1ec3ee2e.tar.gz |
Don't auto-generate the syscalls.
-rw-r--r-- | sys/alpha/linux/linux.h | 2 | ||||
-rw-r--r-- | sys/alpha/linux/linux_dummy.c | 2 | ||||
-rw-r--r-- | sys/alpha/linux/linux_locore.s | 5 | ||||
-rw-r--r-- | sys/alpha/linux/linux_machdep.c | 2 | ||||
-rw-r--r-- | sys/alpha/linux/linux_proto.h | 639 | ||||
-rw-r--r-- | sys/alpha/linux/linux_syscall.h | 188 | ||||
-rw-r--r-- | sys/alpha/linux/linux_sysent.c | 391 | ||||
-rw-r--r-- | sys/alpha/linux/linux_sysvec.c | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_file.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_ipc.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_misc.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_signal.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_socket.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_stats.c | 4 | ||||
-rw-r--r-- | sys/modules/linux/Makefile | 18 |
16 files changed, 1226 insertions, 51 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index 4000866..b76ef59 100644 --- a/sys/alpha/linux/linux.h +++ b/sys/alpha/linux/linux.h @@ -31,7 +31,7 @@ #ifndef _ALPHA_LINUX_LINUX_H_ #define _ALPHA_LINUX_LINUX_H_ -#include <linux_syscall.h> +#include <alpha/linux/linux_syscall.h> #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_LINUX); diff --git a/sys/alpha/linux/linux_dummy.c b/sys/alpha/linux/linux_dummy.c index c44e628..5afe18c 100644 --- a/sys/alpha/linux/linux_dummy.c +++ b/sys/alpha/linux/linux_dummy.c @@ -34,7 +34,7 @@ #include <sys/proc.h> #include <alpha/linux/linux.h> -#include <linux_proto.h> +#include <alpha/linux/linux_proto.h> #include <compat/linux/linux_util.h> diff --git a/sys/alpha/linux/linux_locore.s b/sys/alpha/linux/linux_locore.s index b863c80..1ed699d 100644 --- a/sys/alpha/linux/linux_locore.s +++ b/sys/alpha/linux/linux_locore.s @@ -1,8 +1,7 @@ /* $FreeBSD$ */ - -#include <machine/asm.h> -#include <linux_syscall.h> +#include <machine/asm.h> +#include <alpha/linux/linux_syscall.h> /* * Signal "trampoline" code. Invoked from RTE setup by sendsig(). diff --git a/sys/alpha/linux/linux_machdep.c b/sys/alpha/linux/linux_machdep.c index 3e51d89..389b2f0 100644 --- a/sys/alpha/linux/linux_machdep.c +++ b/sys/alpha/linux/linux_machdep.c @@ -43,7 +43,7 @@ #include <sys/user.h> #include <alpha/linux/linux.h> -#include <linux_proto.h> +#include <alpha/linux/linux_proto.h> #include <compat/linux/linux_signal.h> #include <compat/linux/linux_util.h> diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h new file mode 100644 index 0000000..269a243 --- /dev/null +++ b/sys/alpha/linux/linux_proto.h @@ -0,0 +1,639 @@ +/* + * System call prototypes. + * + * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.42 2000/12/03 01:28:51 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_fork_args { + register_t dummy; +}; +struct osf1_wait4_args { + int pid; char pid_[PAD_(int)]; + int * status; char status_[PAD_(int *)]; + int options; char options_[PAD_(int)]; + struct osf1_rusage * rusage; char rusage_[PAD_(struct osf1_rusage *)]; +}; +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_chdir_args { + char * path; char path_[PAD_(char *)]; +}; +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_chown_args { + char * path; char path_[PAD_(char *)]; + int uid; char uid_[PAD_(int)]; + int gid; char gid_[PAD_(int)]; +}; +struct linux_brk_args { + char * dsend; char dsend_[PAD_(char *)]; +}; +struct linux_lseek_args { + int fdes; char fdes_[PAD_(int)]; + long off; char off_[PAD_(long)]; + int whence; char whence_[PAD_(int)]; +}; +struct linux_umount_args { + register_t dummy; +}; +struct linux_ptrace_args { + register_t dummy; +}; +struct linux_access_args { + char * path; char path_[PAD_(char *)]; + int flags; char flags_[PAD_(int)]; +}; +struct linux_kill_args { + int pid; char pid_[PAD_(int)]; + int signum; char signum_[PAD_(int)]; +}; +struct linux_open_args { + char * path; char path_[PAD_(char *)]; + int flags; char flags_[PAD_(int)]; + int mode; char mode_[PAD_(int)]; +}; +struct osf1_sigprocmask_args { + int how; char how_[PAD_(int)]; + u_long mask; char mask_[PAD_(u_long)]; +}; +struct linux_ioctl_args { + int fd; char fd_[PAD_(int)]; + u_long cmd; char cmd_[PAD_(u_long)]; + u_long arg; char arg_[PAD_(u_long)]; +}; +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_execve_args { + char * path; char path_[PAD_(char *)]; + char ** argp; char argp_[PAD_(char **)]; + char ** envp; char envp_[PAD_(char **)]; +}; +struct linux_vfork_args { + register_t dummy; +}; +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_mmap_args { + caddr_t addr; char addr_[PAD_(caddr_t)]; + size_t len; char len_[PAD_(size_t)]; + int prot; char prot_[PAD_(int)]; + int flags; char flags_[PAD_(int)]; + int fd; char fd_[PAD_(int)]; + off_t pos; char pos_[PAD_(off_t)]; +}; +struct linux_munmap_args { + caddr_t addr; char addr_[PAD_(caddr_t)]; + u_long len; char len_[PAD_(u_long)]; +}; +struct linux_mprotect_args { + caddr_t addr; char addr_[PAD_(caddr_t)]; + size_t len; char len_[PAD_(size_t)]; + int prot; char prot_[PAD_(int)]; +}; +struct linux_vhangup_args { + register_t dummy; +}; +struct linux_setgroups_args { + u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; + linux_gid_t * gidset; char gidset_[PAD_(linux_gid_t *)]; +}; +struct linux_getgroups_args { + u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; + linux_gid_t * gidset; char gidset_[PAD_(linux_gid_t *)]; +}; +struct linux_setpgid_args { + int pid; char pid_[PAD_(int)]; + int pgid; char pgid_[PAD_(int)]; +}; +struct osf1_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_newfstat_args { + int fd; char fd_[PAD_(int)]; + struct linux_newstat * buf; char buf_[PAD_(struct linux_newstat *)]; +}; +struct linux_fcntl_args { + int fd; char fd_[PAD_(int)]; + int cmd; char cmd_[PAD_(int)]; + u_long arg; char arg_[PAD_(u_long)]; +}; +struct osf1_select_args { + u_int nd; char nd_[PAD_(u_int)]; + fd_set * in; char in_[PAD_(fd_set *)]; + fd_set * ou; char ou_[PAD_(fd_set *)]; + fd_set * ex; char ex_[PAD_(fd_set *)]; + struct timeval * tv; char tv_[PAD_(struct timeval *)]; +}; +struct osf1_socket_args { + int domain; char domain_[PAD_(int)]; + int type; char type_[PAD_(int)]; + int protocol; char protocol_[PAD_(int)]; +}; +struct linux_connect_args { + int s; char s_[PAD_(int)]; + caddr_t name; char name_[PAD_(caddr_t)]; + int namelen; char namelen_[PAD_(int)]; +}; +struct osf1_sigreturn_args { + struct osigcontext * sigcntxp; char sigcntxp_[PAD_(struct osigcontext *)]; +}; +struct osf1_sigsuspend_args { + unsigned long ss; char ss_[PAD_(unsigned long)]; +}; +struct osf1_gettimeofday_args { + struct timeval * tp; char tp_[PAD_(struct timeval *)]; + struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; +}; +struct osf1_getrusage_args { + long who; char who_[PAD_(long)]; + void * rusage; char rusage_[PAD_(void *)]; +}; +struct linux_rename_args { + char * from; char from_[PAD_(char *)]; + char * to; char to_[PAD_(char *)]; +}; +struct linux_truncate_args { + char * path; char path_[PAD_(char *)]; + long length; char length_[PAD_(long)]; +}; +struct osf1_sendto_args { + int s; char s_[PAD_(int)]; + caddr_t buf; char buf_[PAD_(caddr_t)]; + size_t len; char len_[PAD_(size_t)]; + int flags; char flags_[PAD_(int)]; + struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; + int tolen; char tolen_[PAD_(int)]; +}; +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_getrlimit_args { + u_int resource; char resource_[PAD_(u_int)]; + struct rlimit * rlim; char rlim_[PAD_(struct rlimit *)]; +}; +struct linux_setrlimit_args { + u_int resource; char resource_[PAD_(u_int)]; + struct rlimit * rlim; char rlim_[PAD_(struct rlimit *)]; +}; +struct linux_quotactl_args { + register_t dummy; +}; +struct osf1_sigaction_args { + int sig; char sig_[PAD_(int)]; + struct osf1_sigaction * nsa; char nsa_[PAD_(struct osf1_sigaction *)]; + struct osf1_sigaction * osa; char osa_[PAD_(struct osf1_sigaction *)]; +}; +struct linux_msgctl_args { + int arg1; char arg1_[PAD_(int)]; + int arg2; char arg2_[PAD_(int)]; + caddr_t ptr; char ptr_[PAD_(caddr_t)]; +}; +struct linux_msgget_args { + int arg1; char arg1_[PAD_(int)]; + int arg2; char arg2_[PAD_(int)]; +}; +struct linux_msgrcv_args { + int arg1; char arg1_[PAD_(int)]; + caddr_t ptr; char ptr_[PAD_(caddr_t)]; + size_t arg2; char arg2_[PAD_(size_t)]; + long arg3; char arg3_[PAD_(long)]; + int arg4; char arg4_[PAD_(int)]; +}; +struct linux_msgsnd_args { + int arg1; char arg1_[PAD_(int)]; + caddr_t ptr; char ptr_[PAD_(caddr_t)]; + size_t arg2; char arg2_[PAD_(size_t)]; + long arg3; char arg3_[PAD_(long)]; + int arg4; char arg4_[PAD_(int)]; +}; +struct linux_semctl_args { + 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_semget_args { + int arg1; char arg1_[PAD_(int)]; + int arg2; char arg2_[PAD_(int)]; + int arg3; char arg3_[PAD_(int)]; +}; +struct linux_semop_args { + int arg1; char arg1_[PAD_(int)]; + caddr_t ptr; char ptr_[PAD_(caddr_t)]; + int arg2; char arg2_[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_shmat_args { + int arg1; char arg1_[PAD_(int)]; + caddr_t ptr; char ptr_[PAD_(caddr_t)]; + int arg2; char arg2_[PAD_(int)]; + caddr_t arg3; char arg3_[PAD_(caddr_t)]; +}; +struct linux_shmctl_args { + int arg1; char arg1_[PAD_(int)]; + int arg2; char arg2_[PAD_(int)]; + caddr_t ptr; char ptr_[PAD_(caddr_t)]; +}; +struct linux_shmdt_args { + caddr_t ptr; char ptr_[PAD_(caddr_t)]; +}; +struct linux_shmget_args { + int arg1; char arg1_[PAD_(int)]; + size_t arg2; char arg2_[PAD_(size_t)]; + int arg3; char arg3_[PAD_(int)]; +}; +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_getpgid_args { + int pid; char pid_[PAD_(int)]; +}; +struct linux_getsid_args { + linux_pid_t pid; char pid_[PAD_(linux_pid_t)]; +}; +struct osf1_sysinfo_args { + int cmd; char cmd_[PAD_(int)]; + char * buf; char buf_[PAD_(char *)]; + long count; char count_[PAD_(long)]; +}; +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 osf1_getsysinfo_args { + u_long op; char op_[PAD_(u_long)]; + caddr_t buffer; char buffer_[PAD_(caddr_t)]; + u_long nbytes; char nbytes_[PAD_(u_long)]; + caddr_t arg; char arg_[PAD_(caddr_t)]; + u_long flag; char flag_[PAD_(u_long)]; +}; +struct osf1_setsysinfo_args { + u_long op; char op_[PAD_(u_long)]; + caddr_t buffer; char buffer_[PAD_(caddr_t)]; + u_long nbytes; char nbytes_[PAD_(u_long)]; + caddr_t arg; char arg_[PAD_(caddr_t)]; + u_long flag; char flag_[PAD_(u_long)]; +}; +struct linux_afs_syscall_args { + register_t dummy; +}; +struct linux_bdflush_args { + register_t dummy; +}; +struct linux_mount_args { + register_t dummy; +}; +struct linux_swapoff_args { + register_t dummy; +}; +struct linux_getdents_args { + int fd; char fd_[PAD_(int)]; + void * dent; char dent_[PAD_(void *)]; + unsigned count; char count_[PAD_(unsigned)]; +}; +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_ksyslog_args { + int what; char what_[PAD_(int)]; +}; +struct linux_clone_args { + int flags; char flags_[PAD_(int)]; + void * stack; char stack_[PAD_(void *)]; +}; +struct linux_uselib_args { + char * library; char library_[PAD_(char *)]; +}; +struct linux_sysinfo_args { + register_t dummy; +}; +struct linux_sysctl_args { + register_t dummy; +}; +struct linux_idle_args { + register_t dummy; +}; +struct linux_times_args { + struct linux_times_argv * buf; char buf_[PAD_(struct linux_times_argv *)]; +}; +struct linux_personality_args { + int per; char per_[PAD_(int)]; +}; +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_ustat_args { + linux_dev_t dev; char dev_[PAD_(linux_dev_t)]; + struct linux_ustat * ubuf; char ubuf_[PAD_(struct linux_ustat *)]; +}; +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_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_newuname_args { + struct linux_newuname_t * buf; char buf_[PAD_(struct linux_newuname_t *)]; +}; +struct linux_mremap_args { + caddr_t addr; char addr_[PAD_(caddr_t)]; + u_long old_len; char old_len_[PAD_(u_long)]; + u_long new_len; char new_len_[PAD_(u_long)]; + u_long flags; char flags_[PAD_(u_long)]; +}; +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_query_module_args { + register_t dummy; +}; +struct linux_prctl_args { + register_t dummy; +}; +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_rt_sigreturn_args { + register_t dummy; +}; +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_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_getitimer_args { + u_int which; char which_[PAD_(u_int)]; + struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; +}; +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_utime_args { + char * fname; char fname_[PAD_(char *)]; + struct linux_utimbuf * times; char times_[PAD_(struct linux_utimbuf *)]; +}; +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_adjtimex_args { + register_t dummy; +}; +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_sendfile_args { + register_t dummy; +}; +int linux_fork __P((struct proc *, struct linux_fork_args *)); +int osf1_wait4 __P((struct proc *, struct osf1_wait4_args *)); +int linux_link __P((struct proc *, struct linux_link_args *)); +int linux_unlink __P((struct proc *, struct linux_unlink_args *)); +int linux_chdir __P((struct proc *, struct linux_chdir_args *)); +int linux_mknod __P((struct proc *, struct linux_mknod_args *)); +int linux_chmod __P((struct proc *, struct linux_chmod_args *)); +int linux_chown __P((struct proc *, struct linux_chown_args *)); +int linux_brk __P((struct proc *, struct linux_brk_args *)); +int linux_lseek __P((struct proc *, struct linux_lseek_args *)); +int linux_umount __P((struct proc *, struct linux_umount_args *)); +int linux_ptrace __P((struct proc *, struct linux_ptrace_args *)); +int linux_access __P((struct proc *, struct linux_access_args *)); +int linux_kill __P((struct proc *, struct linux_kill_args *)); +int linux_open __P((struct proc *, struct linux_open_args *)); +int osf1_sigprocmask __P((struct proc *, struct osf1_sigprocmask_args *)); +int linux_ioctl __P((struct proc *, struct linux_ioctl_args *)); +int linux_symlink __P((struct proc *, struct linux_symlink_args *)); +int linux_readlink __P((struct proc *, struct linux_readlink_args *)); +int linux_execve __P((struct proc *, struct linux_execve_args *)); +int linux_vfork __P((struct proc *, struct linux_vfork_args *)); +int linux_newstat __P((struct proc *, struct linux_newstat_args *)); +int linux_newlstat __P((struct proc *, struct linux_newlstat_args *)); +int linux_mmap __P((struct proc *, struct linux_mmap_args *)); +int linux_munmap __P((struct proc *, struct linux_munmap_args *)); +int linux_mprotect __P((struct proc *, struct linux_mprotect_args *)); +int linux_vhangup __P((struct proc *, struct linux_vhangup_args *)); +int linux_setgroups __P((struct proc *, struct linux_setgroups_args *)); +int linux_getgroups __P((struct proc *, struct linux_getgroups_args *)); +int linux_setpgid __P((struct proc *, struct linux_setpgid_args *)); +int osf1_setitimer __P((struct proc *, struct osf1_setitimer_args *)); +int linux_newfstat __P((struct proc *, struct linux_newfstat_args *)); +int linux_fcntl __P((struct proc *, struct linux_fcntl_args *)); +int osf1_select __P((struct proc *, struct osf1_select_args *)); +int osf1_socket __P((struct proc *, struct osf1_socket_args *)); +int linux_connect __P((struct proc *, struct linux_connect_args *)); +int osf1_sigreturn __P((struct proc *, struct osf1_sigreturn_args *)); +int osf1_sigsuspend __P((struct proc *, struct osf1_sigsuspend_args *)); +int osf1_gettimeofday __P((struct proc *, struct osf1_gettimeofday_args *)); +int osf1_getrusage __P((struct proc *, struct osf1_getrusage_args *)); +int linux_rename __P((struct proc *, struct linux_rename_args *)); +int linux_truncate __P((struct proc *, struct linux_truncate_args *)); +int osf1_sendto __P((struct proc *, struct osf1_sendto_args *)); +int linux_mkdir __P((struct proc *, struct linux_mkdir_args *)); +int linux_rmdir __P((struct proc *, struct linux_rmdir_args *)); +int linux_getrlimit __P((struct proc *, struct linux_getrlimit_args *)); +int linux_setrlimit __P((struct proc *, struct linux_setrlimit_args *)); +int linux_quotactl __P((struct proc *, struct linux_quotactl_args *)); +int osf1_sigaction __P((struct proc *, struct osf1_sigaction_args *)); +int linux_msgctl __P((struct proc *, struct linux_msgctl_args *)); +int linux_msgget __P((struct proc *, struct linux_msgget_args *)); +int linux_msgrcv __P((struct proc *, struct linux_msgrcv_args *)); +int linux_msgsnd __P((struct proc *, struct linux_msgsnd_args *)); +int linux_semctl __P((struct proc *, struct linux_semctl_args *)); +int linux_semget __P((struct proc *, struct linux_semget_args *)); +int linux_semop __P((struct proc *, struct linux_semop_args *)); +int linux_lchown __P((struct proc *, struct linux_lchown_args *)); +int linux_shmat __P((struct proc *, struct linux_shmat_args *)); +int linux_shmctl __P((struct proc *, struct linux_shmctl_args *)); +int linux_shmdt __P((struct proc *, struct linux_shmdt_args *)); +int linux_shmget __P((struct proc *, struct linux_shmget_args *)); +int linux_msync __P((struct proc *, struct linux_msync_args *)); +int linux_getpgid __P((struct proc *, struct linux_getpgid_args *)); +int linux_getsid __P((struct proc *, struct linux_getsid_args *)); +int osf1_sysinfo __P((struct proc *, struct osf1_sysinfo_args *)); +int linux_sysfs __P((struct proc *, struct linux_sysfs_args *)); +int osf1_getsysinfo __P((struct proc *, struct osf1_getsysinfo_args *)); +int osf1_setsysinfo __P((struct proc *, struct osf1_setsysinfo_args *)); +int linux_afs_syscall __P((struct proc *, struct linux_afs_syscall_args *)); +int linux_bdflush __P((struct proc *, struct linux_bdflush_args *)); +int linux_mount __P((struct proc *, struct linux_mount_args *)); +int linux_swapoff __P((struct proc *, struct linux_swapoff_args *)); +int linux_getdents __P((struct proc *, struct linux_getdents_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_ksyslog __P((struct proc *, struct linux_ksyslog_args *)); +int linux_clone __P((struct proc *, struct linux_clone_args *)); +int linux_uselib __P((struct proc *, struct linux_uselib_args *)); +int linux_sysinfo __P((struct proc *, struct linux_sysinfo_args *)); +int linux_sysctl __P((struct proc *, struct linux_sysctl_args *)); +int linux_idle __P((struct proc *, struct linux_idle_args *)); +int linux_times __P((struct proc *, struct linux_times_args *)); +int linux_personality __P((struct proc *, struct linux_personality_args *)); +int linux_setfsuid __P((struct proc *, struct linux_setfsuid_args *)); +int linux_setfsgid __P((struct proc *, struct linux_setfsgid_args *)); +int linux_ustat __P((struct proc *, struct linux_ustat_args *)); +int linux_statfs __P((struct proc *, struct linux_statfs_args *)); +int linux_fstatfs __P((struct proc *, struct linux_fstatfs_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_newuname __P((struct proc *, struct linux_newuname_args *)); +int linux_mremap __P((struct proc *, struct linux_mremap_args *)); +int linux_nfsservctl __P((struct proc *, struct linux_nfsservctl_args *)); +int linux_getresgid __P((struct proc *, struct linux_getresgid_args *)); +int linux_query_module __P((struct proc *, struct linux_query_module_args *)); +int linux_prctl __P((struct proc *, struct linux_prctl_args *)); +int linux_pread __P((struct proc *, struct linux_pread_args *)); +int linux_pwrite __P((struct proc *, struct linux_pwrite_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_newselect __P((struct proc *, struct linux_newselect_args *)); +int linux_getitimer __P((struct proc *, struct linux_getitimer_args *)); +int linux_setitimer __P((struct proc *, struct linux_setitimer_args *)); +int linux_utime __P((struct proc *, struct linux_utime_args *)); +int linux_wait4 __P((struct proc *, struct linux_wait4_args *)); +int linux_adjtimex __P((struct proc *, struct linux_adjtimex_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_sendfile __P((struct proc *, struct linux_sendfile_args *)); + +#ifdef COMPAT_43 + + +#endif /* COMPAT_43 */ + +#undef PAD_ + +#endif /* !_LINUX_SYSPROTO_H_ */ diff --git a/sys/alpha/linux/linux_syscall.h b/sys/alpha/linux/linux_syscall.h new file mode 100644 index 0000000..64973ce --- /dev/null +++ b/sys/alpha/linux/linux_syscall.h @@ -0,0 +1,188 @@ +/* + * System call numbers. + * + * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.42 2000/12/03 01:28:51 marcel Exp + */ + +#define LINUX_SYS_exit 1 +#define LINUX_SYS_linux_fork 2 +#define LINUX_SYS_read 3 +#define LINUX_SYS_write 4 +#define LINUX_SYS_close 6 +#define LINUX_SYS_osf1_wait4 7 +#define LINUX_SYS_linux_link 9 +#define LINUX_SYS_linux_unlink 10 +#define LINUX_SYS_linux_chdir 12 +#define LINUX_SYS_fchdir 13 +#define LINUX_SYS_linux_mknod 14 +#define LINUX_SYS_linux_chmod 15 +#define LINUX_SYS_linux_chown 16 +#define LINUX_SYS_linux_brk 17 +#define LINUX_SYS_linux_lseek 19 +#define LINUX_SYS_getpid 20 +#define LINUX_SYS_linux_umount 22 +#define LINUX_SYS_setuid 23 +#define LINUX_SYS_getuid 24 +#define LINUX_SYS_linux_ptrace 26 +#define LINUX_SYS_linux_access 33 +#define LINUX_SYS_sync 36 +#define LINUX_SYS_linux_kill 37 +#define LINUX_SYS_setpgid 39 +#define LINUX_SYS_dup 41 +#define LINUX_SYS_pipe 42 +#define LINUX_SYS_linux_open 45 +#define LINUX_SYS_getgid 47 +#define LINUX_SYS_osf1_sigprocmask 48 +#define LINUX_SYS_acct 51 +#define LINUX_SYS_linux_ioctl 54 +#define LINUX_SYS_linux_symlink 57 +#define LINUX_SYS_linux_readlink 58 +#define LINUX_SYS_linux_execve 59 +#define LINUX_SYS_umask 60 +#define LINUX_SYS_chroot 61 +#define LINUX_SYS_getpgrp 63 +#define LINUX_SYS_linux_vfork 66 +#define LINUX_SYS_linux_newstat 67 +#define LINUX_SYS_linux_newlstat 68 +#define LINUX_SYS_linux_mmap 71 +#define LINUX_SYS_linux_munmap 73 +#define LINUX_SYS_linux_mprotect 74 +#define LINUX_SYS_linux_vhangup 76 +#define LINUX_SYS_linux_setgroups 79 +#define LINUX_SYS_linux_getgroups 80 +#define LINUX_SYS_linux_setpgid 82 +#define LINUX_SYS_osf1_setitimer 83 +#define LINUX_SYS_osethostname 88 +#define LINUX_SYS_dup2 90 +#define LINUX_SYS_linux_newfstat 91 +#define LINUX_SYS_linux_fcntl 92 +#define LINUX_SYS_osf1_select 93 +#define LINUX_SYS_poll 94 +#define LINUX_SYS_fsync 95 +#define LINUX_SYS_setpriority 96 +#define LINUX_SYS_osf1_socket 97 +#define LINUX_SYS_linux_connect 98 +#define LINUX_SYS_accept 99 +#define LINUX_SYS_osend 101 +#define LINUX_SYS_orecv 102 +#define LINUX_SYS_osf1_sigreturn 103 +#define LINUX_SYS_bind 104 +#define LINUX_SYS_setsockopt 105 +#define LINUX_SYS_listen 106 +#define LINUX_SYS_osf1_sigsuspend 111 +#define LINUX_SYS_osf1_gettimeofday 116 +#define LINUX_SYS_osf1_getrusage 117 +#define LINUX_SYS_getsockopt 118 +#define LINUX_SYS_readv 120 +#define LINUX_SYS_writev 121 +#define LINUX_SYS_fchown 123 +#define LINUX_SYS_fchmod 124 +#define LINUX_SYS_recvfrom 125 +#define LINUX_SYS_setreuid 126 +#define LINUX_SYS_setregid 127 +#define LINUX_SYS_linux_rename 128 +#define LINUX_SYS_linux_truncate 129 +#define LINUX_SYS_oftruncate 130 +#define LINUX_SYS_flock 131 +#define LINUX_SYS_setgid 132 +#define LINUX_SYS_osf1_sendto 133 +#define LINUX_SYS_shutdown 134 +#define LINUX_SYS_linux_mkdir 136 +#define LINUX_SYS_linux_rmdir 137 +#define LINUX_SYS_utimes 138 +#define LINUX_SYS_ogetpeername 141 +#define LINUX_SYS_linux_getrlimit 144 +#define LINUX_SYS_linux_setrlimit 145 +#define LINUX_SYS_setsid 147 +#define LINUX_SYS_linux_quotactl 148 +#define LINUX_SYS_getsockname 150 +#define LINUX_SYS_osf1_sigaction 156 +#define LINUX_SYS_setdomainname 166 +#define LINUX_SYS_linux_msgctl 200 +#define LINUX_SYS_linux_msgget 201 +#define LINUX_SYS_linux_msgrcv 202 +#define LINUX_SYS_linux_msgsnd 203 +#define LINUX_SYS_linux_semctl 204 +#define LINUX_SYS_linux_semget 205 +#define LINUX_SYS_linux_semop 206 +#define LINUX_SYS_linux_lchown 208 +#define LINUX_SYS_linux_shmat 209 +#define LINUX_SYS_linux_shmctl 210 +#define LINUX_SYS_linux_shmdt 211 +#define LINUX_SYS_linux_shmget 212 +#define LINUX_SYS_linux_msync 217 +#define LINUX_SYS_linux_getpgid 233 +#define LINUX_SYS_linux_getsid 234 +#define LINUX_SYS_osf1_sysinfo 241 +#define LINUX_SYS_linux_sysfs 255 +#define LINUX_SYS_osf1_getsysinfo 256 +#define LINUX_SYS_osf1_setsysinfo 257 +#define LINUX_SYS_linux_afs_syscall 258 +#define LINUX_SYS_linux_bdflush 300 +#define LINUX_SYS_linux_mount 302 +#define LINUX_SYS_linux_swapoff 304 +#define LINUX_SYS_linux_getdents 305 +#define LINUX_SYS_linux_create_module 306 +#define LINUX_SYS_linux_init_module 307 +#define LINUX_SYS_linux_delete_module 308 +#define LINUX_SYS_linux_get_kernel_syms 309 +#define LINUX_SYS_linux_ksyslog 310 +#define LINUX_SYS_reboot 311 +#define LINUX_SYS_linux_clone 312 +#define LINUX_SYS_linux_uselib 313 +#define LINUX_SYS_mlock 314 +#define LINUX_SYS_munlock 315 +#define LINUX_SYS_mlockall 316 +#define LINUX_SYS_munlockall 317 +#define LINUX_SYS_linux_sysinfo 318 +#define LINUX_SYS_linux_sysctl 319 +#define LINUX_SYS_linux_idle 320 +#define LINUX_SYS_swapon 322 +#define LINUX_SYS_linux_times 323 +#define LINUX_SYS_linux_personality 324 +#define LINUX_SYS_linux_setfsuid 325 +#define LINUX_SYS_linux_setfsgid 326 +#define LINUX_SYS_linux_ustat 327 +#define LINUX_SYS_linux_statfs 328 +#define LINUX_SYS_linux_fstatfs 329 +#define LINUX_SYS_sched_setparam 330 +#define LINUX_SYS_sched_getparam 331 +#define LINUX_SYS_linux_sched_setscheduler 332 +#define LINUX_SYS_linux_sched_getscheduler 333 +#define LINUX_SYS_sched_yield 334 +#define LINUX_SYS_sched_get_priority_max 335 +#define LINUX_SYS_sched_get_priority_min 336 +#define LINUX_SYS_sched_rr_get_interval 337 +#define LINUX_SYS_linux_newuname 339 +#define LINUX_SYS_nanosleep 340 +#define LINUX_SYS_linux_mremap 341 +#define LINUX_SYS_linux_nfsservctl 342 +#define LINUX_SYS_setresgid 343 +#define LINUX_SYS_linux_getresgid 344 +#define LINUX_SYS_linux_query_module 347 +#define LINUX_SYS_linux_prctl 348 +#define LINUX_SYS_linux_pread 349 +#define LINUX_SYS_linux_pwrite 350 +#define LINUX_SYS_linux_rt_sigreturn 351 +#define LINUX_SYS_linux_rt_sigaction 352 +#define LINUX_SYS_linux_rt_sigprocmask 353 +#define LINUX_SYS_linux_rt_sigpending 354 +#define LINUX_SYS_linux_rt_sigtimedwait 355 +#define LINUX_SYS_linux_rt_sigqueueinfo 356 +#define LINUX_SYS_linux_rt_sigsuspend 357 +#define LINUX_SYS_linux_newselect 358 +#define LINUX_SYS_gettimeofday 359 +#define LINUX_SYS_settimeofday 360 +#define LINUX_SYS_linux_getitimer 361 +#define LINUX_SYS_linux_setitimer 362 +#define LINUX_SYS_linux_utime 363 +#define LINUX_SYS_getrusage 364 +#define LINUX_SYS_linux_wait4 365 +#define LINUX_SYS_linux_adjtimex 366 +#define LINUX_SYS_linux_getcwd 367 +#define LINUX_SYS_linux_capget 368 +#define LINUX_SYS_linux_capset 369 +#define LINUX_SYS_linux_sendfile 370 +#define LINUX_SYS_MAXSYSCALL 371 diff --git a/sys/alpha/linux/linux_sysent.c b/sys/alpha/linux/linux_sysent.c new file mode 100644 index 0000000..26f2bc6 --- /dev/null +++ b/sys/alpha/linux/linux_sysent.c @@ -0,0 +1,391 @@ +/* + * System call switch table. + * + * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.42 2000/12/03 01:28:51 marcel Exp + */ + +#include "opt_compat.h" +#include <sys/param.h> +#include <sys/sysent.h> +#include <sys/sysproto.h> +#include <alpha/linux/linux.h> +#include <alpha/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 *)nosys }, /* 0 = */ + { 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 */ + { 0, (sy_call_t *)nosys }, /* 5 = */ + { AS(close_args), (sy_call_t *)close }, /* 6 = close */ + { AS(osf1_wait4_args), (sy_call_t *)osf1_wait4 }, /* 7 = osf1_wait4 */ + { 0, (sy_call_t *)nosys }, /* 8 = */ + { AS(linux_link_args), (sy_call_t *)linux_link }, /* 9 = linux_link */ + { AS(linux_unlink_args), (sy_call_t *)linux_unlink }, /* 10 = linux_unlink */ + { 0, (sy_call_t *)nosys }, /* 11 = */ + { AS(linux_chdir_args), (sy_call_t *)linux_chdir }, /* 12 = linux_chdir */ + { AS(fchdir_args), (sy_call_t *)fchdir }, /* 13 = fchdir */ + { 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_chown_args), (sy_call_t *)linux_chown }, /* 16 = linux_chown */ + { AS(linux_brk_args), (sy_call_t *)linux_brk }, /* 17 = linux_brk */ + { 0, (sy_call_t *)nosys }, /* 18 = */ + { AS(linux_lseek_args), (sy_call_t *)linux_lseek }, /* 19 = linux_lseek */ + { 0, (sy_call_t *)getpid }, /* 20 = getpid */ + { 0, (sy_call_t *)nosys }, /* 21 = */ + { 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 *)nosys }, /* 25 = */ + { 0, (sy_call_t *)linux_ptrace }, /* 26 = linux_ptrace */ + { 0, (sy_call_t *)nosys }, /* 27 = */ + { 0, (sy_call_t *)nosys }, /* 28 = */ + { 0, (sy_call_t *)nosys }, /* 29 = */ + { 0, (sy_call_t *)nosys }, /* 30 = */ + { 0, (sy_call_t *)nosys }, /* 31 = */ + { 0, (sy_call_t *)nosys }, /* 32 = */ + { AS(linux_access_args), (sy_call_t *)linux_access }, /* 33 = linux_access */ + { 0, (sy_call_t *)nosys }, /* 34 = */ + { 0, (sy_call_t *)nosys }, /* 35 = */ + { 0, (sy_call_t *)sync }, /* 36 = sync */ + { AS(linux_kill_args), (sy_call_t *)linux_kill }, /* 37 = linux_kill */ + { 0, (sy_call_t *)nosys }, /* 38 = */ + { AS(setpgid_args), (sy_call_t *)setpgid }, /* 39 = setpgid */ + { 0, (sy_call_t *)nosys }, /* 40 = */ + { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ + { 0, (sy_call_t *)pipe }, /* 42 = pipe */ + { 0, (sy_call_t *)nosys }, /* 43 = */ + { 0, (sy_call_t *)nosys }, /* 44 = */ + { AS(linux_open_args), (sy_call_t *)linux_open }, /* 45 = linux_open */ + { 0, (sy_call_t *)nosys }, /* 46 = */ + { 0, (sy_call_t *)getgid }, /* 47 = getgid */ + { AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask }, /* 48 = osf1_sigprocmask */ + { 0, (sy_call_t *)nosys }, /* 49 = */ + { 0, (sy_call_t *)nosys }, /* 50 = */ + { AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */ + { 0, (sy_call_t *)nosys }, /* 52 = */ + { 0, (sy_call_t *)nosys }, /* 53 = */ + { AS(linux_ioctl_args), (sy_call_t *)linux_ioctl }, /* 54 = linux_ioctl */ + { 0, (sy_call_t *)nosys }, /* 55 = */ + { 0, (sy_call_t *)nosys }, /* 56 = */ + { AS(linux_symlink_args), (sy_call_t *)linux_symlink }, /* 57 = linux_symlink */ + { AS(linux_readlink_args), (sy_call_t *)linux_readlink }, /* 58 = linux_readlink */ + { AS(linux_execve_args), (sy_call_t *)linux_execve }, /* 59 = linux_execve */ + { AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ + { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ + { 0, (sy_call_t *)nosys }, /* 62 = */ + { 0, (sy_call_t *)getpgrp }, /* 63 = getpgrp */ + { 0, (sy_call_t *)nosys }, /* 64 = getpagesize */ + { 0, (sy_call_t *)nosys }, /* 65 = */ + { 0, (sy_call_t *)linux_vfork }, /* 66 = linux_vfork */ + { AS(linux_newstat_args), (sy_call_t *)linux_newstat }, /* 67 = linux_newstat */ + { AS(linux_newlstat_args), (sy_call_t *)linux_newlstat }, /* 68 = linux_newlstat */ + { 0, (sy_call_t *)nosys }, /* 69 = */ + { 0, (sy_call_t *)nosys }, /* 70 = */ + { AS(linux_mmap_args), (sy_call_t *)linux_mmap }, /* 71 = linux_mmap */ + { 0, (sy_call_t *)nosys }, /* 72 = */ + { AS(linux_munmap_args), (sy_call_t *)linux_munmap }, /* 73 = linux_munmap */ + { AS(linux_mprotect_args), (sy_call_t *)linux_mprotect }, /* 74 = linux_mprotect */ + { 0, (sy_call_t *)nosys }, /* 75 = madvise */ + { 0, (sy_call_t *)linux_vhangup }, /* 76 = linux_vhangup */ + { 0, (sy_call_t *)nosys }, /* 77 = */ + { 0, (sy_call_t *)nosys }, /* 78 = */ + { AS(linux_setgroups_args), (sy_call_t *)linux_setgroups }, /* 79 = linux_setgroups */ + { AS(linux_getgroups_args), (sy_call_t *)linux_getgroups }, /* 80 = linux_getgroups */ + { 0, (sy_call_t *)nosys }, /* 81 = */ + { AS(linux_setpgid_args), (sy_call_t *)linux_setpgid }, /* 82 = linux_setpgid */ + { AS(osf1_setitimer_args), (sy_call_t *)osf1_setitimer }, /* 83 = osf1_setitimer */ + { 0, (sy_call_t *)nosys }, /* 84 = */ + { 0, (sy_call_t *)nosys }, /* 85 = */ + { 0, (sy_call_t *)nosys }, /* 86 = */ + { 0, (sy_call_t *)nosys }, /* 87 = gethostname */ + { AS(sethostname_args), (sy_call_t *)osethostname }, /* 88 = osethostname */ + { 0, (sy_call_t *)nosys }, /* 89 = getdtablesize */ + { AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */ + { AS(linux_newfstat_args), (sy_call_t *)linux_newfstat }, /* 91 = linux_newfstat */ + { AS(linux_fcntl_args), (sy_call_t *)linux_fcntl }, /* 92 = linux_fcntl */ + { AS(osf1_select_args), (sy_call_t *)osf1_select }, /* 93 = osf1_select */ + { AS(poll_args), (sy_call_t *)poll }, /* 94 = poll */ + { AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */ + { AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */ + { AS(osf1_socket_args), (sy_call_t *)osf1_socket }, /* 97 = osf1_socket */ + { AS(linux_connect_args), (sy_call_t *)linux_connect }, /* 98 = linux_connect */ + { AS(accept_args), (sy_call_t *)oaccept }, /* 99 = accept */ + { 0, (sy_call_t *)nosys }, /* 100 = */ + { AS(osend_args), (sy_call_t *)osend }, /* 101 = osend */ + { AS(orecv_args), (sy_call_t *)orecv }, /* 102 = orecv */ + { AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn }, /* 103 = osf1_sigreturn */ + { AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */ + { AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */ + { AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */ + { 0, (sy_call_t *)nosys }, /* 107 = */ + { 0, (sy_call_t *)nosys }, /* 108 = */ + { 0, (sy_call_t *)nosys }, /* 109 = */ + { 0, (sy_call_t *)nosys }, /* 110 = */ + { AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend }, /* 111 = osf1_sigsuspend */ + { 0, (sy_call_t *)nosys }, /* 112 = */ + { 0, (sy_call_t *)nosys }, /* 113 = recvmsg */ + { 0, (sy_call_t *)nosys }, /* 114 = sendmsg */ + { 0, (sy_call_t *)nosys }, /* 115 = */ + { AS(osf1_gettimeofday_args), (sy_call_t *)osf1_gettimeofday }, /* 116 = osf1_gettimeofday */ + { AS(osf1_getrusage_args), (sy_call_t *)osf1_getrusage }, /* 117 = osf1_getrusage */ + { AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */ + { 0, (sy_call_t *)nosys }, /* 119 = */ + { AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */ + { AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */ + { 0, (sy_call_t *)nosys }, /* 122 = */ + { AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */ + { AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */ + { AS(recvfrom_args), (sy_call_t *)orecvfrom }, /* 125 = recvfrom */ + { AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */ + { AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */ + { AS(linux_rename_args), (sy_call_t *)linux_rename }, /* 128 = linux_rename */ + { AS(linux_truncate_args), (sy_call_t *)linux_truncate }, /* 129 = linux_truncate */ + { AS(oftruncate_args), (sy_call_t *)oftruncate }, /* 130 = oftruncate */ + { AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */ + { AS(setgid_args), (sy_call_t *)setgid }, /* 132 = setgid */ + { AS(osf1_sendto_args), (sy_call_t *)osf1_sendto }, /* 133 = osf1_sendto */ + { AS(shutdown_args), (sy_call_t *)shutdown }, /* 134 = shutdown */ + { 0, (sy_call_t *)nosys }, /* 135 = socketpair */ + { AS(linux_mkdir_args), (sy_call_t *)linux_mkdir }, /* 136 = linux_mkdir */ + { AS(linux_rmdir_args), (sy_call_t *)linux_rmdir }, /* 137 = linux_rmdir */ + { AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */ + { 0, (sy_call_t *)nosys }, /* 139 = */ + { 0, (sy_call_t *)nosys }, /* 140 = */ + { AS(ogetpeername_args), (sy_call_t *)ogetpeername }, /* 141 = ogetpeername */ + { 0, (sy_call_t *)nosys }, /* 142 = */ + { 0, (sy_call_t *)nosys }, /* 143 = */ + { AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit }, /* 144 = linux_getrlimit */ + { AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit }, /* 145 = linux_setrlimit */ + { 0, (sy_call_t *)nosys }, /* 146 = */ + { 0, (sy_call_t *)setsid }, /* 147 = setsid */ + { 0, (sy_call_t *)linux_quotactl }, /* 148 = linux_quotactl */ + { 0, (sy_call_t *)nosys }, /* 149 = */ + { AS(getsockname_args), (sy_call_t *)ogetsockname }, /* 150 = getsockname */ + { 0, (sy_call_t *)nosys }, /* 151 = */ + { 0, (sy_call_t *)nosys }, /* 152 = */ + { 0, (sy_call_t *)nosys }, /* 153 = */ + { 0, (sy_call_t *)nosys }, /* 154 = */ + { 0, (sy_call_t *)nosys }, /* 155 = */ + { AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction }, /* 156 = osf1_sigaction */ + { 0, (sy_call_t *)nosys }, /* 157 = */ + { 0, (sy_call_t *)nosys }, /* 158 = */ + { 0, (sy_call_t *)nosys }, /* 159 = */ + { 0, (sy_call_t *)nosys }, /* 160 = */ + { 0, (sy_call_t *)nosys }, /* 161 = */ + { 0, (sy_call_t *)nosys }, /* 162 = */ + { 0, (sy_call_t *)nosys }, /* 163 = */ + { 0, (sy_call_t *)nosys }, /* 164 = */ + { 0, (sy_call_t *)nosys }, /* 165 = */ + { AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 166 = setdomainname */ + { 0, (sy_call_t *)nosys }, /* 167 = */ + { 0, (sy_call_t *)nosys }, /* 168 = */ + { 0, (sy_call_t *)nosys }, /* 169 = */ + { 0, (sy_call_t *)nosys }, /* 170 = */ + { 0, (sy_call_t *)nosys }, /* 171 = */ + { 0, (sy_call_t *)nosys }, /* 172 = */ + { 0, (sy_call_t *)nosys }, /* 173 = */ + { 0, (sy_call_t *)nosys }, /* 174 = */ + { 0, (sy_call_t *)nosys }, /* 175 = */ + { 0, (sy_call_t *)nosys }, /* 176 = */ + { 0, (sy_call_t *)nosys }, /* 177 = */ + { 0, (sy_call_t *)nosys }, /* 178 = */ + { 0, (sy_call_t *)nosys }, /* 179 = */ + { 0, (sy_call_t *)nosys }, /* 180 = */ + { 0, (sy_call_t *)nosys }, /* 181 = */ + { 0, (sy_call_t *)nosys }, /* 182 = */ + { 0, (sy_call_t *)nosys }, /* 183 = */ + { 0, (sy_call_t *)nosys }, /* 184 = */ + { 0, (sy_call_t *)nosys }, /* 185 = */ + { 0, (sy_call_t *)nosys }, /* 186 = */ + { 0, (sy_call_t *)nosys }, /* 187 = */ + { 0, (sy_call_t *)nosys }, /* 188 = */ + { 0, (sy_call_t *)nosys }, /* 189 = */ + { 0, (sy_call_t *)nosys }, /* 190 = */ + { 0, (sy_call_t *)nosys }, /* 191 = */ + { 0, (sy_call_t *)nosys }, /* 192 = */ + { 0, (sy_call_t *)nosys }, /* 193 = */ + { 0, (sy_call_t *)nosys }, /* 194 = */ + { 0, (sy_call_t *)nosys }, /* 195 = */ + { 0, (sy_call_t *)nosys }, /* 196 = */ + { 0, (sy_call_t *)nosys }, /* 197 = */ + { 0, (sy_call_t *)nosys }, /* 198 = */ + { 0, (sy_call_t *)nosys }, /* 199 = */ + { AS(linux_msgctl_args), (sy_call_t *)linux_msgctl }, /* 200 = linux_msgctl */ + { AS(linux_msgget_args), (sy_call_t *)linux_msgget }, /* 201 = linux_msgget */ + { AS(linux_msgrcv_args), (sy_call_t *)linux_msgrcv }, /* 202 = linux_msgrcv */ + { AS(linux_msgsnd_args), (sy_call_t *)linux_msgsnd }, /* 203 = linux_msgsnd */ + { AS(linux_semctl_args), (sy_call_t *)linux_semctl }, /* 204 = linux_semctl */ + { AS(linux_semget_args), (sy_call_t *)linux_semget }, /* 205 = linux_semget */ + { AS(linux_semop_args), (sy_call_t *)linux_semop }, /* 206 = linux_semop */ + { 0, (sy_call_t *)nosys }, /* 207 = */ + { AS(linux_lchown_args), (sy_call_t *)linux_lchown }, /* 208 = linux_lchown */ + { AS(linux_shmat_args), (sy_call_t *)linux_shmat }, /* 209 = linux_shmat */ + { AS(linux_shmctl_args), (sy_call_t *)linux_shmctl }, /* 210 = linux_shmctl */ + { AS(linux_shmdt_args), (sy_call_t *)linux_shmdt }, /* 211 = linux_shmdt */ + { AS(linux_shmget_args), (sy_call_t *)linux_shmget }, /* 212 = linux_shmget */ + { 0, (sy_call_t *)nosys }, /* 213 = */ + { 0, (sy_call_t *)nosys }, /* 214 = */ + { 0, (sy_call_t *)nosys }, /* 215 = */ + { 0, (sy_call_t *)nosys }, /* 216 = */ + { AS(linux_msync_args), (sy_call_t *)linux_msync }, /* 217 = linux_msync */ + { 0, (sy_call_t *)nosys }, /* 218 = */ + { 0, (sy_call_t *)nosys }, /* 219 = */ + { 0, (sy_call_t *)nosys }, /* 220 = */ + { 0, (sy_call_t *)nosys }, /* 221 = */ + { 0, (sy_call_t *)nosys }, /* 222 = */ + { 0, (sy_call_t *)nosys }, /* 223 = */ + { 0, (sy_call_t *)nosys }, /* 224 = */ + { 0, (sy_call_t *)nosys }, /* 225 = */ + { 0, (sy_call_t *)nosys }, /* 226 = */ + { 0, (sy_call_t *)nosys }, /* 227 = */ + { 0, (sy_call_t *)nosys }, /* 228 = */ + { 0, (sy_call_t *)nosys }, /* 229 = */ + { 0, (sy_call_t *)nosys }, /* 230 = */ + { 0, (sy_call_t *)nosys }, /* 231 = */ + { 0, (sy_call_t *)nosys }, /* 232 = */ + { AS(linux_getpgid_args), (sy_call_t *)linux_getpgid }, /* 233 = linux_getpgid */ + { AS(linux_getsid_args), (sy_call_t *)linux_getsid }, /* 234 = linux_getsid */ + { 0, (sy_call_t *)nosys }, /* 235 = sigaltstack */ + { 0, (sy_call_t *)nosys }, /* 236 = */ + { 0, (sy_call_t *)nosys }, /* 237 = */ + { 0, (sy_call_t *)nosys }, /* 238 = */ + { 0, (sy_call_t *)nosys }, /* 239 = */ + { 0, (sy_call_t *)nosys }, /* 240 = */ + { AS(osf1_sysinfo_args), (sy_call_t *)osf1_sysinfo }, /* 241 = osf1_sysinfo */ + { 0, (sy_call_t *)nosys }, /* 242 = */ + { 0, (sy_call_t *)nosys }, /* 243 = */ + { 0, (sy_call_t *)nosys }, /* 244 = */ + { 0, (sy_call_t *)nosys }, /* 245 = */ + { 0, (sy_call_t *)nosys }, /* 246 = */ + { 0, (sy_call_t *)nosys }, /* 247 = */ + { 0, (sy_call_t *)nosys }, /* 248 = */ + { 0, (sy_call_t *)nosys }, /* 249 = */ + { 0, (sy_call_t *)nosys }, /* 250 = */ + { 0, (sy_call_t *)nosys }, /* 251 = */ + { 0, (sy_call_t *)nosys }, /* 252 = */ + { 0, (sy_call_t *)nosys }, /* 253 = */ + { 0, (sy_call_t *)nosys }, /* 254 = */ + { AS(linux_sysfs_args), (sy_call_t *)linux_sysfs }, /* 255 = linux_sysfs */ + { AS(osf1_getsysinfo_args), (sy_call_t *)osf1_getsysinfo }, /* 256 = osf1_getsysinfo */ + { AS(osf1_setsysinfo_args), (sy_call_t *)osf1_setsysinfo }, /* 257 = osf1_setsysinfo */ + { 0, (sy_call_t *)linux_afs_syscall }, /* 258 = linux_afs_syscall */ + { 0, (sy_call_t *)nosys }, /* 259 = */ + { 0, (sy_call_t *)nosys }, /* 260 = */ + { 0, (sy_call_t *)nosys }, /* 261 = */ + { 0, (sy_call_t *)nosys }, /* 262 = */ + { 0, (sy_call_t *)nosys }, /* 263 = */ + { 0, (sy_call_t *)nosys }, /* 264 = */ + { 0, (sy_call_t *)nosys }, /* 265 = */ + { 0, (sy_call_t *)nosys }, /* 266 = */ + { 0, (sy_call_t *)nosys }, /* 267 = */ + { 0, (sy_call_t *)nosys }, /* 268 = */ + { 0, (sy_call_t *)nosys }, /* 269 = */ + { 0, (sy_call_t *)nosys }, /* 270 = */ + { 0, (sy_call_t *)nosys }, /* 271 = */ + { 0, (sy_call_t *)nosys }, /* 272 = */ + { 0, (sy_call_t *)nosys }, /* 273 = */ + { 0, (sy_call_t *)nosys }, /* 274 = */ + { 0, (sy_call_t *)nosys }, /* 275 = */ + { 0, (sy_call_t *)nosys }, /* 276 = */ + { 0, (sy_call_t *)nosys }, /* 277 = */ + { 0, (sy_call_t *)nosys }, /* 278 = */ + { 0, (sy_call_t *)nosys }, /* 279 = */ + { 0, (sy_call_t *)nosys }, /* 280 = */ + { 0, (sy_call_t *)nosys }, /* 281 = */ + { 0, (sy_call_t *)nosys }, /* 282 = */ + { 0, (sy_call_t *)nosys }, /* 283 = */ + { 0, (sy_call_t *)nosys }, /* 284 = */ + { 0, (sy_call_t *)nosys }, /* 285 = */ + { 0, (sy_call_t *)nosys }, /* 286 = */ + { 0, (sy_call_t *)nosys }, /* 287 = */ + { 0, (sy_call_t *)nosys }, /* 288 = */ + { 0, (sy_call_t *)nosys }, /* 289 = */ + { 0, (sy_call_t *)nosys }, /* 290 = */ + { 0, (sy_call_t *)nosys }, /* 291 = */ + { 0, (sy_call_t *)nosys }, /* 292 = */ + { 0, (sy_call_t *)nosys }, /* 293 = */ + { 0, (sy_call_t *)nosys }, /* 294 = */ + { 0, (sy_call_t *)nosys }, /* 295 = */ + { 0, (sy_call_t *)nosys }, /* 296 = */ + { 0, (sy_call_t *)nosys }, /* 297 = */ + { 0, (sy_call_t *)nosys }, /* 298 = */ + { 0, (sy_call_t *)nosys }, /* 299 = */ + { 0, (sy_call_t *)linux_bdflush }, /* 300 = linux_bdflush */ + { 0, (sy_call_t *)nosys }, /* 301 = sethae */ + { 0, (sy_call_t *)linux_mount }, /* 302 = linux_mount */ + { 0, (sy_call_t *)nosys }, /* 303 = old_adjtimex */ + { 0, (sy_call_t *)linux_swapoff }, /* 304 = linux_swapoff */ + { AS(linux_getdents_args), (sy_call_t *)linux_getdents }, /* 305 = linux_getdents */ + { 0, (sy_call_t *)linux_create_module }, /* 306 = linux_create_module */ + { 0, (sy_call_t *)linux_init_module }, /* 307 = linux_init_module */ + { 0, (sy_call_t *)linux_delete_module }, /* 308 = linux_delete_module */ + { 0, (sy_call_t *)linux_get_kernel_syms }, /* 309 = linux_get_kernel_syms */ + { AS(linux_ksyslog_args), (sy_call_t *)linux_ksyslog }, /* 310 = linux_ksyslog */ + { AS(reboot_args), (sy_call_t *)reboot }, /* 311 = reboot */ + { AS(linux_clone_args), (sy_call_t *)linux_clone }, /* 312 = linux_clone */ + { AS(linux_uselib_args), (sy_call_t *)linux_uselib }, /* 313 = linux_uselib */ + { AS(mlock_args), (sy_call_t *)mlock }, /* 314 = mlock */ + { AS(munlock_args), (sy_call_t *)munlock }, /* 315 = munlock */ + { AS(mlockall_args), (sy_call_t *)mlockall }, /* 316 = mlockall */ + { 0, (sy_call_t *)munlockall }, /* 317 = munlockall */ + { 0, (sy_call_t *)linux_sysinfo }, /* 318 = linux_sysinfo */ + { 0, (sy_call_t *)linux_sysctl }, /* 319 = linux_sysctl */ + { 0, (sy_call_t *)linux_idle }, /* 320 = linux_idle */ + { 0, (sy_call_t *)nosys }, /* 321 = old_umount */ + { AS(swapon_args), (sy_call_t *)swapon }, /* 322 = swapon */ + { AS(linux_times_args), (sy_call_t *)linux_times }, /* 323 = linux_times */ + { AS(linux_personality_args), (sy_call_t *)linux_personality }, /* 324 = linux_personality */ + { AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid }, /* 325 = linux_setfsuid */ + { AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid }, /* 326 = linux_setfsgid */ + { AS(linux_ustat_args), (sy_call_t *)linux_ustat }, /* 327 = linux_ustat */ + { AS(linux_statfs_args), (sy_call_t *)linux_statfs }, /* 328 = linux_statfs */ + { AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs }, /* 329 = linux_fstatfs */ + { AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 330 = sched_setparam */ + { AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 331 = sched_getparam */ + { AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler }, /* 332 = linux_sched_setscheduler */ + { AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler }, /* 333 = linux_sched_getscheduler */ + { 0, (sy_call_t *)sched_yield }, /* 334 = sched_yield */ + { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 335 = sched_get_priority_max */ + { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 336 = sched_get_priority_min */ + { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 337 = sched_rr_get_interval */ + { 0, (sy_call_t *)nosys }, /* 338 = afs_syscall */ + { AS(linux_newuname_args), (sy_call_t *)linux_newuname }, /* 339 = linux_newuname */ + { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 340 = nanosleep */ + { AS(linux_mremap_args), (sy_call_t *)linux_mremap }, /* 341 = linux_mremap */ + { 0, (sy_call_t *)linux_nfsservctl }, /* 342 = linux_nfsservctl */ + { AS(setresgid_args), (sy_call_t *)setresgid }, /* 343 = setresgid */ + { AS(linux_getresgid_args), (sy_call_t *)linux_getresgid }, /* 344 = linux_getresgid */ + { 0, (sy_call_t *)nosys }, /* 345 = pciconfig_read */ + { 0, (sy_call_t *)nosys }, /* 346 = pciconfig_write */ + { 0, (sy_call_t *)linux_query_module }, /* 347 = linux_query_module */ + { 0, (sy_call_t *)linux_prctl }, /* 348 = linux_prctl */ + { AS(linux_pread_args), (sy_call_t *)linux_pread }, /* 349 = linux_pread */ + { AS(linux_pwrite_args), (sy_call_t *)linux_pwrite }, /* 350 = linux_pwrite */ + { 0, (sy_call_t *)linux_rt_sigreturn }, /* 351 = linux_rt_sigreturn */ + { AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction }, /* 352 = linux_rt_sigaction */ + { AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask }, /* 353 = linux_rt_sigprocmask */ + { 0, (sy_call_t *)linux_rt_sigpending }, /* 354 = linux_rt_sigpending */ + { 0, (sy_call_t *)linux_rt_sigtimedwait }, /* 355 = linux_rt_sigtimedwait */ + { 0, (sy_call_t *)linux_rt_sigqueueinfo }, /* 356 = linux_rt_sigqueueinfo */ + { AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend }, /* 357 = linux_rt_sigsuspend */ + { AS(linux_newselect_args), (sy_call_t *)linux_newselect }, /* 358 = linux_newselect */ + { AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 359 = gettimeofday */ + { AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 360 = settimeofday */ + { AS(linux_getitimer_args), (sy_call_t *)linux_getitimer }, /* 361 = linux_getitimer */ + { AS(linux_setitimer_args), (sy_call_t *)linux_setitimer }, /* 362 = linux_setitimer */ + { AS(linux_utime_args), (sy_call_t *)linux_utime }, /* 363 = linux_utime */ + { AS(getrusage_args), (sy_call_t *)getrusage }, /* 364 = getrusage */ + { AS(linux_wait4_args), (sy_call_t *)linux_wait4 }, /* 365 = linux_wait4 */ + { 0, (sy_call_t *)linux_adjtimex }, /* 366 = linux_adjtimex */ + { AS(linux_getcwd_args), (sy_call_t *)linux_getcwd }, /* 367 = linux_getcwd */ + { 0, (sy_call_t *)linux_capget }, /* 368 = linux_capget */ + { 0, (sy_call_t *)linux_capset }, /* 369 = linux_capset */ + { 0, (sy_call_t *)linux_sendfile }, /* 370 = linux_sendfile */ +}; diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index 0c4bfc1..42ac4b5 100644 --- a/sys/alpha/linux/linux_sysvec.c +++ b/sys/alpha/linux/linux_sysvec.c @@ -55,7 +55,7 @@ #include <machine/md_var.h> #include <alpha/linux/linux.h> -#include <linux_proto.h> +#include <alpha/linux/linux_proto.h> #include <compat/linux/linux_util.h> #undef szsigcode diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index cb84915..d0e531b 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -45,11 +45,7 @@ #include <sys/tty.h> #include <machine/../linux/linux.h> -#ifdef __alpha__ -#include <linux_proto.h> -#else #include <machine/../linux/linux_proto.h> -#endif #include <compat/linux/linux_util.h> #ifndef __alpha__ diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 81f476c..f6fae19 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -51,11 +51,7 @@ #include <sys/disklabel.h> #include <machine/../linux/linux.h> -#ifdef __alpha__ -#include <linux_proto.h> -#else #include <machine/../linux/linux_proto.h> -#endif #ifdef __alpha__ #include <machine/../linux/linux_ioctl.h> diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c index 37b5ed5..e68580f 100644 --- a/sys/compat/linux/linux_ipc.c +++ b/sys/compat/linux/linux_ipc.c @@ -36,11 +36,7 @@ #include <sys/shm.h> #include <machine/../linux/linux.h> -#ifdef __alpha__ -#include <linux_proto.h> -#else #include <machine/../linux/linux_proto.h> -#endif #include <compat/linux/linux_ipc.h> #include <compat/linux/linux_util.h> diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index f764342..8e1b7b1 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -66,11 +66,7 @@ #include <posix4/sched.h> #include <machine/../linux/linux.h> -#ifdef __alpha__ -#include <linux_proto.h> -#else #include <machine/../linux/linux_proto.h> -#endif #include <compat/linux/linux_mib.h> #include <compat/linux/linux_util.h> diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index 47c622d..2bd755a 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -35,11 +35,7 @@ #include <sys/signalvar.h> #include <machine/../linux/linux.h> -#ifdef __alpha__ -#include <linux_proto.h> -#else #include <machine/../linux/linux_proto.h> -#endif #include <compat/linux/linux_signal.h> #include <compat/linux/linux_util.h> diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index cfc7179..fc63126 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -48,11 +48,7 @@ #include <netinet/ip.h> #include <machine/../linux/linux.h> -#ifdef __alpha__ -#include <linux_proto.h> -#else #include <machine/../linux/linux_proto.h> -#endif #include <compat/linux/linux_util.h> #ifndef __alpha__ diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c index 9f0468f..fa91a2d 100644 --- a/sys/compat/linux/linux_stats.c +++ b/sys/compat/linux/linux_stats.c @@ -41,11 +41,7 @@ #include <sys/vnode.h> #include <machine/../linux/linux.h> -#ifdef __alpha__ -#include <linux_proto.h> -#else #include <machine/../linux/linux_proto.h> -#endif #include <compat/linux/linux_util.h> struct linux_newstat { diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index a8ae536..ff58b39 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -7,7 +7,7 @@ MAINTAINER= marcel@FreeBSD.org KMOD= linux SRCS= linux_file.c linux_ioctl.c linux_ipc.c linux_machdep.c linux_misc.c \ linux_signal.c linux_socket.c linux_stats.c linux_mib.c \ - linux_dummy.c linux_sysvec.c linux_util.c \ + linux_dummy.c linux_sysent.c linux_sysvec.c linux_util.c \ opt_compat.h opt_linux.h opt_vmpage.h vnode_if.h OBJS= linux_locore.o @@ -28,24 +28,10 @@ linux_locore.o: linux_locore.s linux_assym.h ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ ${.IMPSRC} -o ${.TARGET} -linux_genassym.o: linux_genassym.c linux.h @ machine ${GENSYSCALL} +linux_genassym.o: linux_genassym.c linux.h @ machine ${CC} -c ${CFLAGS} ${.IMPSRC} opt_compat.h: echo "#define COMPAT_43 1" > opt_compat.h -GENSYSCALL= linux_sysent.c linux_syscall.h linux_proto.h -SRCS+= ${GENSYSCALL} -CLEANFILES+= ${GENSYSCALL} - -.ORDER: ${GENSYSCALL} -${GENSYSCALL}: @/kern/makesyscalls.sh \ - @/${MACHINE_ARCH}/linux/syscalls.master \ - @/${MACHINE_ARCH}/linux/syscalls.conf - sh @/kern/makesyscalls.sh @/${MACHINE_ARCH}/linux/syscalls.master \ - @/${MACHINE_ARCH}/linux/syscalls.conf - sed -e 's|${MACHINE_ARCH}/linux/linux_proto\.h|linux_proto.h|g' \ - linux_sysent.c > linux_sysent.c.fixup - mv -f linux_sysent.c.fixup linux_sysent.c - .include <bsd.kmod.mk> |