* [uml-devel] [patch 2.6.4-rc3] adapt uml to syscalls cleanup
@ 2004-03-10 13:29 Gerd Knorr
0 siblings, 0 replies; only message in thread
From: Gerd Knorr @ 2004-03-10 13:29 UTC (permalink / raw)
To: Jeff Dike, uml devel
Hi,
2.6.4 got a new syscalls.h file with (nearly) all the syscalls listed in
there, thus most declarations in sys_call_table.c are obsolete by now.
The syscall table also needs a bunch of casts due to this.
Gerd
Index: linux-2.6.3/arch/um/kernel/sys_call_table.c
===================================================================
--- linux-2.6.3.orig/arch/um/kernel/sys_call_table.c 2004-03-01 20:11:23.148163488 +0100
+++ linux-2.6.3/arch/um/kernel/sys_call_table.c 2004-03-01 20:44:04.680515052 +0100
@@ -13,257 +13,27 @@
#include "sysdep/syscalls.h"
#include "kern_util.h"
-extern syscall_handler_t sys_restart_syscall;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_exit;
extern syscall_handler_t sys_fork;
-extern syscall_handler_t sys_creat;
-extern syscall_handler_t sys_link;
-extern syscall_handler_t sys_unlink;
-extern syscall_handler_t sys_chdir;
-extern syscall_handler_t sys_mknod;
-extern syscall_handler_t sys_chmod;
-extern syscall_handler_t sys_lchown16;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_stat;
-extern syscall_handler_t sys_getpid;
-extern syscall_handler_t sys_oldumount;
-extern syscall_handler_t sys_setuid16;
-extern syscall_handler_t sys_getuid16;
extern syscall_handler_t sys_ptrace;
-extern syscall_handler_t sys_alarm;
-extern syscall_handler_t sys_fstat;
-extern syscall_handler_t sys_pause;
-extern syscall_handler_t sys_utime;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_access;
-extern syscall_handler_t sys_nice;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_sync;
-extern syscall_handler_t sys_kill;
-extern syscall_handler_t sys_rename;
-extern syscall_handler_t sys_mkdir;
-extern syscall_handler_t sys_rmdir;
extern syscall_handler_t sys_pipe;
-extern syscall_handler_t sys_times;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_brk;
-extern syscall_handler_t sys_setgid16;
-extern syscall_handler_t sys_getgid16;
-extern syscall_handler_t sys_signal;
-extern syscall_handler_t sys_geteuid16;
-extern syscall_handler_t sys_getegid16;
-extern syscall_handler_t sys_acct;
-extern syscall_handler_t sys_umount;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_ioctl;
-extern syscall_handler_t sys_fcntl;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_setpgid;
-extern syscall_handler_t sys_ni_syscall;
extern syscall_handler_t sys_olduname;
-extern syscall_handler_t sys_umask;
-extern syscall_handler_t sys_chroot;
-extern syscall_handler_t sys_ustat;
-extern syscall_handler_t sys_dup2;
-extern syscall_handler_t sys_getppid;
-extern syscall_handler_t sys_getpgrp;
extern syscall_handler_t sys_sigaction;
-extern syscall_handler_t sys_sgetmask;
-extern syscall_handler_t sys_ssetmask;
-extern syscall_handler_t sys_setreuid16;
-extern syscall_handler_t sys_setregid16;
extern syscall_handler_t sys_sigsuspend;
-extern syscall_handler_t sys_sigpending;
-extern syscall_handler_t sys_sethostname;
-extern syscall_handler_t sys_setrlimit;
-extern syscall_handler_t sys_old_getrlimit;
-extern syscall_handler_t sys_getrusage;
-extern syscall_handler_t sys_gettimeofday;
-extern syscall_handler_t sys_settimeofday;
-extern syscall_handler_t sys_getgroups16;
-extern syscall_handler_t sys_setgroups16;
-extern syscall_handler_t sys_symlink;
-extern syscall_handler_t sys_lstat;
-extern syscall_handler_t sys_readlink;
-extern syscall_handler_t sys_swapon;
-extern syscall_handler_t sys_uselib;
-extern syscall_handler_t sys_reboot;
-extern syscall_handler_t old_readdir;
-extern syscall_handler_t sys_munmap;
-extern syscall_handler_t sys_truncate;
-extern syscall_handler_t sys_ftruncate;
-extern syscall_handler_t sys_fchmod;
-extern syscall_handler_t sys_fchown16;
-extern syscall_handler_t sys_getpriority;
-extern syscall_handler_t sys_setpriority;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_statfs;
-extern syscall_handler_t sys_fstatfs;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_socketcall;
-extern syscall_handler_t sys_syslog;
-extern syscall_handler_t sys_setitimer;
-extern syscall_handler_t sys_getitimer;
-extern syscall_handler_t sys_newstat;
-extern syscall_handler_t sys_newlstat;
-extern syscall_handler_t sys_newfstat;
+extern syscall_handler_t old_readdir; /* huh? */
extern syscall_handler_t sys_uname;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_vhangup;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_swapoff;
-extern syscall_handler_t sys_sysinfo;
extern syscall_handler_t sys_ipc;
-extern syscall_handler_t sys_fsync;
extern syscall_handler_t sys_sigreturn;
-extern syscall_handler_t sys_rt_sigreturn;
extern syscall_handler_t sys_clone;
-extern syscall_handler_t sys_setdomainname;
-extern syscall_handler_t sys_newuname;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_adjtimex;
-extern syscall_handler_t sys_mprotect;
-extern syscall_handler_t sys_sigprocmask;
-extern syscall_handler_t sys_init_module;
-extern syscall_handler_t sys_delete_module;
-extern syscall_handler_t sys_quotactl;
-extern syscall_handler_t sys_getpgid;
-extern syscall_handler_t sys_fchdir;
-extern syscall_handler_t sys_bdflush;
-extern syscall_handler_t sys_sysfs;
-extern syscall_handler_t sys_personality;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_setfsuid16;
-extern syscall_handler_t sys_setfsgid16;
-extern syscall_handler_t sys_llseek;
-extern syscall_handler_t sys_getdents;
-extern syscall_handler_t sys_flock;
-extern syscall_handler_t sys_msync;
-extern syscall_handler_t sys_readv;
-extern syscall_handler_t sys_writev;
-extern syscall_handler_t sys_getsid;
-extern syscall_handler_t sys_fdatasync;
-extern syscall_handler_t sys_mlock;
-extern syscall_handler_t sys_munlock;
-extern syscall_handler_t sys_mlockall;
-extern syscall_handler_t sys_munlockall;
-extern syscall_handler_t sys_sched_setparam;
-extern syscall_handler_t sys_sched_getparam;
-extern syscall_handler_t sys_sched_setscheduler;
-extern syscall_handler_t sys_sched_getscheduler;
-extern syscall_handler_t sys_sched_get_priority_max;
-extern syscall_handler_t sys_sched_get_priority_min;
-extern syscall_handler_t sys_sched_rr_get_interval;
-extern syscall_handler_t sys_nanosleep;
-extern syscall_handler_t sys_mremap;
-extern syscall_handler_t sys_setresuid16;
-extern syscall_handler_t sys_getresuid16;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_poll;
-extern syscall_handler_t sys_nfsservctl;
-extern syscall_handler_t sys_setresgid16;
-extern syscall_handler_t sys_getresgid16;
-extern syscall_handler_t sys_prctl;
-extern syscall_handler_t sys_ni_syscall;
+extern syscall_handler_t sys_rt_sigreturn;
extern syscall_handler_t sys_rt_sigaction;
-extern syscall_handler_t sys_rt_sigprocmask;
-extern syscall_handler_t sys_rt_sigpending;
-extern syscall_handler_t sys_rt_sigtimedwait;
-extern syscall_handler_t sys_rt_sigqueueinfo;
extern syscall_handler_t sys_rt_sigsuspend;
-extern syscall_handler_t sys_pread64;
-extern syscall_handler_t sys_pwrite64;
-extern syscall_handler_t sys_chown16;
-extern syscall_handler_t sys_getcwd;
-extern syscall_handler_t sys_capget;
-extern syscall_handler_t sys_capset;
extern syscall_handler_t sys_sigaltstack;
-extern syscall_handler_t sys_sendfile;
-extern syscall_handler_t sys_ni_syscall;
-extern syscall_handler_t sys_ni_syscall;
extern syscall_handler_t sys_vfork;
-extern syscall_handler_t sys_getrlimit;
extern syscall_handler_t sys_mmap2;
-extern syscall_handler_t sys_truncate64;
-extern syscall_handler_t sys_ftruncate64;
-extern syscall_handler_t sys_stat64;
-extern syscall_handler_t sys_lstat64;
-extern syscall_handler_t sys_fstat64;
-extern syscall_handler_t sys_lchown;
-extern syscall_handler_t sys_getuid;
-extern syscall_handler_t sys_getgid;
-extern syscall_handler_t sys_geteuid;
-extern syscall_handler_t sys_getegid;
-extern syscall_handler_t sys_setreuid;
-extern syscall_handler_t sys_setregid;
-extern syscall_handler_t sys_getgroups;
-extern syscall_handler_t sys_setgroups;
-extern syscall_handler_t sys_fchown;
-extern syscall_handler_t sys_setresuid;
-extern syscall_handler_t sys_getresuid;
-extern syscall_handler_t sys_setresgid;
-extern syscall_handler_t sys_getresgid;
-extern syscall_handler_t sys_chown;
-extern syscall_handler_t sys_setuid;
-extern syscall_handler_t sys_setgid;
-extern syscall_handler_t sys_setfsuid;
-extern syscall_handler_t sys_setfsgid;
-extern syscall_handler_t sys_pivot_root;
-extern syscall_handler_t sys_mincore;
-extern syscall_handler_t sys_madvise;
-extern syscall_handler_t sys_fcntl64;
-extern syscall_handler_t sys_getdents64;
-extern syscall_handler_t sys_gettid;
-extern syscall_handler_t sys_readahead;
-extern syscall_handler_t sys_tkill;
-extern syscall_handler_t sys_setxattr;
-extern syscall_handler_t sys_lsetxattr;
-extern syscall_handler_t sys_fsetxattr;
-extern syscall_handler_t sys_getxattr;
-extern syscall_handler_t sys_lgetxattr;
-extern syscall_handler_t sys_fgetxattr;
-extern syscall_handler_t sys_listxattr;
-extern syscall_handler_t sys_llistxattr;
-extern syscall_handler_t sys_flistxattr;
-extern syscall_handler_t sys_removexattr;
-extern syscall_handler_t sys_lremovexattr;
-extern syscall_handler_t sys_fremovexattr;
-extern syscall_handler_t sys_sendfile64;
-extern syscall_handler_t sys_futex;
-extern syscall_handler_t sys_sched_setaffinity;
-extern syscall_handler_t sys_sched_getaffinity;
extern syscall_handler_t sys_set_thread_area;
extern syscall_handler_t sys_get_thread_area;
-extern syscall_handler_t sys_io_setup;
-extern syscall_handler_t sys_io_destroy;
-extern syscall_handler_t sys_io_getevents;
-extern syscall_handler_t sys_io_submit;
-extern syscall_handler_t sys_io_cancel;
-extern syscall_handler_t sys_fadvise64;
-extern syscall_handler_t sys_exit_group;
-extern syscall_handler_t sys_lookup_dcookie;
-extern syscall_handler_t sys_epoll_create;
-extern syscall_handler_t sys_epoll_ctl;
-extern syscall_handler_t sys_epoll_wait;
-extern syscall_handler_t sys_remap_file_pages;
-extern syscall_handler_t sys_set_tid_address;
extern syscall_handler_t sys_timer_create;
-extern syscall_handler_t sys_timer_settime;
-extern syscall_handler_t sys_timer_gettime;
-extern syscall_handler_t sys_timer_getoverrun;
-extern syscall_handler_t sys_timer_delete;
-extern syscall_handler_t sys_clock_settime;
-extern syscall_handler_t sys_clock_gettime;
-extern syscall_handler_t sys_clock_getres;
-extern syscall_handler_t sys_clock_nanosleep;
-extern syscall_handler_t sys_statfs64;
-extern syscall_handler_t sys_fstatfs64;
-extern syscall_handler_t sys_tgkill;
-extern syscall_handler_t sys_utimes;
-extern syscall_handler_t sys_fadvise64_64;
+extern syscall_handler_t sys_execve;
#ifdef CONFIG_NFSD
#define NFSSERVCTL sys_nfsservctl
@@ -284,9 +54,9 @@ extern syscall_handler_t um_stime;
#endif
syscall_handler_t *sys_call_table[] = {
- [ __NR_restart_syscall ] = sys_restart_syscall,
- [ __NR_exit ] = sys_exit,
- [ __NR_fork ] = sys_fork,
+ [ __NR_restart_syscall ] = (syscall_handler_t *) sys_restart_syscall,
+ [ __NR_exit ] = (syscall_handler_t *) sys_exit,
+ [ __NR_fork ] = (syscall_handler_t *) sys_fork,
[ __NR_read ] = (syscall_handler_t *) sys_read,
[ __NR_write ] = (syscall_handler_t *) sys_write,
@@ -294,249 +64,249 @@ syscall_handler_t *sys_call_table[] = {
[ __NR_open ] = (syscall_handler_t *) sys_open,
[ __NR_close ] = (syscall_handler_t *) sys_close,
[ __NR_waitpid ] = (syscall_handler_t *) sys_waitpid,
- [ __NR_creat ] = sys_creat,
- [ __NR_link ] = sys_link,
- [ __NR_unlink ] = sys_unlink,
+ [ __NR_creat ] = (syscall_handler_t *) sys_creat,
+ [ __NR_link ] = (syscall_handler_t *) sys_link,
+ [ __NR_unlink ] = (syscall_handler_t *) sys_unlink,
[ __NR_execve ] = (syscall_handler_t *) sys_execve,
/* declared differently in kern_util.h */
- [ __NR_chdir ] = sys_chdir,
- [ __NR_time ] = um_time,
- [ __NR_mknod ] = sys_mknod,
- [ __NR_chmod ] = sys_chmod,
- [ __NR_lchown ] = sys_lchown16,
- [ __NR_break ] = sys_ni_syscall,
- [ __NR_oldstat ] = sys_stat,
+ [ __NR_chdir ] = (syscall_handler_t *) sys_chdir,
+ [ __NR_time ] = (syscall_handler_t *) um_time,
+ [ __NR_mknod ] = (syscall_handler_t *) sys_mknod,
+ [ __NR_chmod ] = (syscall_handler_t *) sys_chmod,
+ [ __NR_lchown ] = (syscall_handler_t *) sys_lchown16,
+ [ __NR_break ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_oldstat ] = (syscall_handler_t *) sys_stat,
[ __NR_lseek ] = (syscall_handler_t *) sys_lseek,
- [ __NR_getpid ] = sys_getpid,
- [ __NR_mount ] = um_mount,
- [ __NR_umount ] = sys_oldumount,
- [ __NR_setuid ] = sys_setuid16,
- [ __NR_getuid ] = sys_getuid16,
- [ __NR_stime ] = um_stime,
- [ __NR_ptrace ] = sys_ptrace,
- [ __NR_alarm ] = sys_alarm,
- [ __NR_oldfstat ] = sys_fstat,
- [ __NR_pause ] = sys_pause,
- [ __NR_utime ] = sys_utime,
- [ __NR_stty ] = sys_ni_syscall,
- [ __NR_gtty ] = sys_ni_syscall,
- [ __NR_access ] = sys_access,
- [ __NR_nice ] = sys_nice,
- [ __NR_ftime ] = sys_ni_syscall,
- [ __NR_sync ] = sys_sync,
- [ __NR_kill ] = sys_kill,
- [ __NR_rename ] = sys_rename,
- [ __NR_mkdir ] = sys_mkdir,
- [ __NR_rmdir ] = sys_rmdir,
+ [ __NR_getpid ] = (syscall_handler_t *) sys_getpid,
+ [ __NR_mount ] = (syscall_handler_t *) um_mount,
+ [ __NR_umount ] = (syscall_handler_t *) sys_oldumount,
+ [ __NR_setuid ] = (syscall_handler_t *) sys_setuid16,
+ [ __NR_getuid ] = (syscall_handler_t *) sys_getuid16,
+ [ __NR_stime ] = (syscall_handler_t *) um_stime,
+ [ __NR_ptrace ] = (syscall_handler_t *) sys_ptrace,
+ [ __NR_alarm ] = (syscall_handler_t *) sys_alarm,
+ [ __NR_oldfstat ] = (syscall_handler_t *) sys_fstat,
+ [ __NR_pause ] = (syscall_handler_t *) sys_pause,
+ [ __NR_utime ] = (syscall_handler_t *) sys_utime,
+ [ __NR_stty ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_gtty ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_access ] = (syscall_handler_t *) sys_access,
+ [ __NR_nice ] = (syscall_handler_t *) sys_nice,
+ [ __NR_ftime ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_sync ] = (syscall_handler_t *) sys_sync,
+ [ __NR_kill ] = (syscall_handler_t *) sys_kill,
+ [ __NR_rename ] = (syscall_handler_t *) sys_rename,
+ [ __NR_mkdir ] = (syscall_handler_t *) sys_mkdir,
+ [ __NR_rmdir ] = (syscall_handler_t *) sys_rmdir,
/* Declared differently in asm/unistd.h */
[ __NR_dup ] = (syscall_handler_t *) sys_dup,
- [ __NR_pipe ] = sys_pipe,
- [ __NR_times ] = sys_times,
- [ __NR_prof ] = sys_ni_syscall,
- [ __NR_brk ] = sys_brk,
- [ __NR_setgid ] = sys_setgid16,
- [ __NR_getgid ] = sys_getgid16,
- [ __NR_signal ] = sys_signal,
- [ __NR_geteuid ] = sys_geteuid16,
- [ __NR_getegid ] = sys_getegid16,
- [ __NR_acct ] = sys_acct,
- [ __NR_umount2 ] = sys_umount,
- [ __NR_lock ] = sys_ni_syscall,
- [ __NR_ioctl ] = sys_ioctl,
- [ __NR_fcntl ] = sys_fcntl,
- [ __NR_mpx ] = sys_ni_syscall,
- [ __NR_setpgid ] = sys_setpgid,
- [ __NR_ulimit ] = sys_ni_syscall,
- [ __NR_oldolduname ] = sys_olduname,
- [ __NR_umask ] = sys_umask,
- [ __NR_chroot ] = sys_chroot,
- [ __NR_ustat ] = sys_ustat,
- [ __NR_dup2 ] = sys_dup2,
- [ __NR_getppid ] = sys_getppid,
- [ __NR_getpgrp ] = sys_getpgrp,
+ [ __NR_pipe ] = (syscall_handler_t *) sys_pipe,
+ [ __NR_times ] = (syscall_handler_t *) sys_times,
+ [ __NR_prof ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_brk ] = (syscall_handler_t *) sys_brk,
+ [ __NR_setgid ] = (syscall_handler_t *) sys_setgid16,
+ [ __NR_getgid ] = (syscall_handler_t *) sys_getgid16,
+ [ __NR_signal ] = (syscall_handler_t *) sys_signal,
+ [ __NR_geteuid ] = (syscall_handler_t *) sys_geteuid16,
+ [ __NR_getegid ] = (syscall_handler_t *) sys_getegid16,
+ [ __NR_acct ] = (syscall_handler_t *) sys_acct,
+ [ __NR_umount2 ] = (syscall_handler_t *) sys_umount,
+ [ __NR_lock ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_ioctl ] = (syscall_handler_t *) sys_ioctl,
+ [ __NR_fcntl ] = (syscall_handler_t *) sys_fcntl,
+ [ __NR_mpx ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_setpgid ] = (syscall_handler_t *) sys_setpgid,
+ [ __NR_ulimit ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_oldolduname ] = (syscall_handler_t *) sys_olduname,
+ [ __NR_umask ] = (syscall_handler_t *) sys_umask,
+ [ __NR_chroot ] = (syscall_handler_t *) sys_chroot,
+ [ __NR_ustat ] = (syscall_handler_t *) sys_ustat,
+ [ __NR_dup2 ] = (syscall_handler_t *) sys_dup2,
+ [ __NR_getppid ] = (syscall_handler_t *) sys_getppid,
+ [ __NR_getpgrp ] = (syscall_handler_t *) sys_getpgrp,
[ __NR_setsid ] = (syscall_handler_t *) sys_setsid,
- [ __NR_sigaction ] = sys_sigaction,
- [ __NR_sgetmask ] = sys_sgetmask,
- [ __NR_ssetmask ] = sys_ssetmask,
- [ __NR_setreuid ] = sys_setreuid16,
- [ __NR_setregid ] = sys_setregid16,
- [ __NR_sigsuspend ] = sys_sigsuspend,
- [ __NR_sigpending ] = sys_sigpending,
- [ __NR_sethostname ] = sys_sethostname,
- [ __NR_setrlimit ] = sys_setrlimit,
- [ __NR_getrlimit ] = sys_old_getrlimit,
- [ __NR_getrusage ] = sys_getrusage,
- [ __NR_gettimeofday ] = sys_gettimeofday,
- [ __NR_settimeofday ] = sys_settimeofday,
- [ __NR_getgroups ] = sys_getgroups16,
- [ __NR_setgroups ] = sys_setgroups16,
- [ __NR_symlink ] = sys_symlink,
- [ __NR_oldlstat ] = sys_lstat,
- [ __NR_readlink ] = sys_readlink,
- [ __NR_uselib ] = sys_uselib,
+ [ __NR_sigaction ] = (syscall_handler_t *) sys_sigaction,
+ [ __NR_sgetmask ] = (syscall_handler_t *) sys_sgetmask,
+ [ __NR_ssetmask ] = (syscall_handler_t *) sys_ssetmask,
+ [ __NR_setreuid ] = (syscall_handler_t *) sys_setreuid16,
+ [ __NR_setregid ] = (syscall_handler_t *) sys_setregid16,
+ [ __NR_sigsuspend ] = (syscall_handler_t *) sys_sigsuspend,
+ [ __NR_sigpending ] = (syscall_handler_t *) sys_sigpending,
+ [ __NR_sethostname ] = (syscall_handler_t *) sys_sethostname,
+ [ __NR_setrlimit ] = (syscall_handler_t *) sys_setrlimit,
+ [ __NR_getrlimit ] = (syscall_handler_t *) sys_old_getrlimit,
+ [ __NR_getrusage ] = (syscall_handler_t *) sys_getrusage,
+ [ __NR_gettimeofday ] = (syscall_handler_t *) sys_gettimeofday,
+ [ __NR_settimeofday ] = (syscall_handler_t *) sys_settimeofday,
+ [ __NR_getgroups ] = (syscall_handler_t *) sys_getgroups16,
+ [ __NR_setgroups ] = (syscall_handler_t *) sys_setgroups16,
+ [ __NR_symlink ] = (syscall_handler_t *) sys_symlink,
+ [ __NR_oldlstat ] = (syscall_handler_t *) sys_lstat,
+ [ __NR_readlink ] = (syscall_handler_t *) sys_readlink,
+ [ __NR_uselib ] = (syscall_handler_t *) sys_uselib,
[ __NR_swapon ] = (syscall_handler_t *) sys_swapon,
- [ __NR_reboot ] = sys_reboot,
+ [ __NR_reboot ] = (syscall_handler_t *) sys_reboot,
[ __NR_readdir ] = old_readdir,
- [ __NR_munmap ] = sys_munmap,
- [ __NR_truncate ] = sys_truncate,
- [ __NR_ftruncate ] = sys_ftruncate,
- [ __NR_fchmod ] = sys_fchmod,
- [ __NR_fchown ] = sys_fchown16,
- [ __NR_getpriority ] = sys_getpriority,
- [ __NR_setpriority ] = sys_setpriority,
- [ __NR_profil ] = sys_ni_syscall,
- [ __NR_statfs ] = sys_statfs,
- [ __NR_fstatfs ] = sys_fstatfs,
- [ __NR_ioperm ] = sys_ni_syscall,
- [ __NR_socketcall ] = sys_socketcall,
- [ __NR_syslog ] = sys_syslog,
- [ __NR_setitimer ] = sys_setitimer,
- [ __NR_getitimer ] = sys_getitimer,
- [ __NR_stat ] = sys_newstat,
- [ __NR_lstat ] = sys_newlstat,
- [ __NR_fstat ] = sys_newfstat,
- [ __NR_olduname ] = sys_uname,
- [ __NR_iopl ] = sys_ni_syscall,
- [ __NR_vhangup ] = sys_vhangup,
- [ __NR_idle ] = sys_ni_syscall,
+ [ __NR_munmap ] = (syscall_handler_t *) sys_munmap,
+ [ __NR_truncate ] = (syscall_handler_t *) sys_truncate,
+ [ __NR_ftruncate ] = (syscall_handler_t *) sys_ftruncate,
+ [ __NR_fchmod ] = (syscall_handler_t *) sys_fchmod,
+ [ __NR_fchown ] = (syscall_handler_t *) sys_fchown16,
+ [ __NR_getpriority ] = (syscall_handler_t *) sys_getpriority,
+ [ __NR_setpriority ] = (syscall_handler_t *) sys_setpriority,
+ [ __NR_profil ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_statfs ] = (syscall_handler_t *) sys_statfs,
+ [ __NR_fstatfs ] = (syscall_handler_t *) sys_fstatfs,
+ [ __NR_ioperm ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_socketcall ] = (syscall_handler_t *) sys_socketcall,
+ [ __NR_syslog ] = (syscall_handler_t *) sys_syslog,
+ [ __NR_setitimer ] = (syscall_handler_t *) sys_setitimer,
+ [ __NR_getitimer ] = (syscall_handler_t *) sys_getitimer,
+ [ __NR_stat ] = (syscall_handler_t *) sys_newstat,
+ [ __NR_lstat ] = (syscall_handler_t *) sys_newlstat,
+ [ __NR_fstat ] = (syscall_handler_t *) sys_newfstat,
+ [ __NR_olduname ] = (syscall_handler_t *) sys_uname,
+ [ __NR_iopl ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_vhangup ] = (syscall_handler_t *) sys_vhangup,
+ [ __NR_idle ] = (syscall_handler_t *) sys_ni_syscall,
[ __NR_wait4 ] = (syscall_handler_t *) sys_wait4,
[ __NR_swapoff ] = (syscall_handler_t *) sys_swapoff,
- [ __NR_sysinfo ] = sys_sysinfo,
- [ __NR_ipc ] = sys_ipc,
- [ __NR_fsync ] = sys_fsync,
- [ __NR_sigreturn ] = sys_sigreturn,
- [ __NR_clone ] = sys_clone,
- [ __NR_setdomainname ] = sys_setdomainname,
- [ __NR_uname ] = sys_newuname,
- [ __NR_adjtimex ] = sys_adjtimex,
- [ __NR_mprotect ] = sys_mprotect,
- [ __NR_sigprocmask ] = sys_sigprocmask,
- [ __NR_create_module ] = sys_ni_syscall,
- [ __NR_init_module ] = sys_init_module,
- [ __NR_delete_module ] = sys_delete_module,
- [ __NR_get_kernel_syms ] = sys_ni_syscall,
- [ __NR_quotactl ] = sys_quotactl,
- [ __NR_getpgid ] = sys_getpgid,
- [ __NR_fchdir ] = sys_fchdir,
- [ __NR_bdflush ] = sys_bdflush,
- [ __NR_sysfs ] = sys_sysfs,
- [ __NR_personality ] = sys_personality,
- [ __NR_afs_syscall ] = sys_ni_syscall,
- [ __NR_setfsuid ] = sys_setfsuid16,
- [ __NR_setfsgid ] = sys_setfsgid16,
- [ __NR__llseek ] = sys_llseek,
- [ __NR_getdents ] = sys_getdents,
+ [ __NR_sysinfo ] = (syscall_handler_t *) sys_sysinfo,
+ [ __NR_ipc ] = (syscall_handler_t *) sys_ipc,
+ [ __NR_fsync ] = (syscall_handler_t *) sys_fsync,
+ [ __NR_sigreturn ] = (syscall_handler_t *) sys_sigreturn,
+ [ __NR_clone ] = (syscall_handler_t *) sys_clone,
+ [ __NR_setdomainname ] = (syscall_handler_t *) sys_setdomainname,
+ [ __NR_uname ] = (syscall_handler_t *) sys_newuname,
+ [ __NR_adjtimex ] = (syscall_handler_t *) sys_adjtimex,
+ [ __NR_mprotect ] = (syscall_handler_t *) sys_mprotect,
+ [ __NR_sigprocmask ] = (syscall_handler_t *) sys_sigprocmask,
+ [ __NR_create_module ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_init_module ] = (syscall_handler_t *) sys_init_module,
+ [ __NR_delete_module ] = (syscall_handler_t *) sys_delete_module,
+ [ __NR_get_kernel_syms ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_quotactl ] = (syscall_handler_t *) sys_quotactl,
+ [ __NR_getpgid ] = (syscall_handler_t *) sys_getpgid,
+ [ __NR_fchdir ] = (syscall_handler_t *) sys_fchdir,
+ [ __NR_bdflush ] = (syscall_handler_t *) sys_bdflush,
+ [ __NR_sysfs ] = (syscall_handler_t *) sys_sysfs,
+ [ __NR_personality ] = (syscall_handler_t *) sys_personality,
+ [ __NR_afs_syscall ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_setfsuid ] = (syscall_handler_t *) sys_setfsuid16,
+ [ __NR_setfsgid ] = (syscall_handler_t *) sys_setfsgid16,
+ [ __NR__llseek ] = (syscall_handler_t *) sys_llseek,
+ [ __NR_getdents ] = (syscall_handler_t *) sys_getdents,
[ __NR__newselect ] = (syscall_handler_t *) sys_select,
- [ __NR_flock ] = sys_flock,
- [ __NR_msync ] = sys_msync,
- [ __NR_readv ] = sys_readv,
- [ __NR_writev ] = sys_writev,
- [ __NR_getsid ] = sys_getsid,
- [ __NR_fdatasync ] = sys_fdatasync,
+ [ __NR_flock ] = (syscall_handler_t *) sys_flock,
+ [ __NR_msync ] = (syscall_handler_t *) sys_msync,
+ [ __NR_readv ] = (syscall_handler_t *) sys_readv,
+ [ __NR_writev ] = (syscall_handler_t *) sys_writev,
+ [ __NR_getsid ] = (syscall_handler_t *) sys_getsid,
+ [ __NR_fdatasync ] = (syscall_handler_t *) sys_fdatasync,
[ __NR__sysctl ] = (syscall_handler_t *) sys_sysctl,
- [ __NR_mlock ] = sys_mlock,
- [ __NR_munlock ] = sys_munlock,
- [ __NR_mlockall ] = sys_mlockall,
- [ __NR_munlockall ] = sys_munlockall,
- [ __NR_sched_setparam ] = sys_sched_setparam,
- [ __NR_sched_getparam ] = sys_sched_getparam,
- [ __NR_sched_setscheduler ] = sys_sched_setscheduler,
- [ __NR_sched_getscheduler ] = sys_sched_getscheduler,
+ [ __NR_mlock ] = (syscall_handler_t *) sys_mlock,
+ [ __NR_munlock ] = (syscall_handler_t *) sys_munlock,
+ [ __NR_mlockall ] = (syscall_handler_t *) sys_mlockall,
+ [ __NR_munlockall ] = (syscall_handler_t *) sys_munlockall,
+ [ __NR_sched_setparam ] = (syscall_handler_t *) sys_sched_setparam,
+ [ __NR_sched_getparam ] = (syscall_handler_t *) sys_sched_getparam,
+ [ __NR_sched_setscheduler ] = (syscall_handler_t *) sys_sched_setscheduler,
+ [ __NR_sched_getscheduler ] = (syscall_handler_t *) sys_sched_getscheduler,
[ __NR_sched_yield ] = (syscall_handler_t *) yield,
- [ __NR_sched_get_priority_max ] = sys_sched_get_priority_max,
- [ __NR_sched_get_priority_min ] = sys_sched_get_priority_min,
- [ __NR_sched_rr_get_interval ] = sys_sched_rr_get_interval,
- [ __NR_nanosleep ] = sys_nanosleep,
- [ __NR_mremap ] = sys_mremap,
- [ __NR_setresuid ] = sys_setresuid16,
- [ __NR_getresuid ] = sys_getresuid16,
- [ __NR_vm86 ] = sys_ni_syscall,
- [ __NR_query_module ] = sys_ni_syscall,
- [ __NR_poll ] = sys_poll,
- [ __NR_nfsservctl ] = NFSSERVCTL,
- [ __NR_setresgid ] = sys_setresgid16,
- [ __NR_getresgid ] = sys_getresgid16,
- [ __NR_prctl ] = sys_prctl,
- [ __NR_rt_sigreturn ] = sys_rt_sigreturn,
- [ __NR_rt_sigaction ] = sys_rt_sigaction,
- [ __NR_rt_sigprocmask ] = sys_rt_sigprocmask,
- [ __NR_rt_sigpending ] = sys_rt_sigpending,
- [ __NR_rt_sigtimedwait ] = sys_rt_sigtimedwait,
- [ __NR_rt_sigqueueinfo ] = sys_rt_sigqueueinfo,
- [ __NR_rt_sigsuspend ] = sys_rt_sigsuspend,
- [ __NR_pread64 ] = sys_pread64,
- [ __NR_pwrite64 ] = sys_pwrite64,
- [ __NR_chown ] = sys_chown16,
- [ __NR_getcwd ] = sys_getcwd,
- [ __NR_capget ] = sys_capget,
- [ __NR_capset ] = sys_capset,
- [ __NR_sigaltstack ] = sys_sigaltstack,
- [ __NR_sendfile ] = sys_sendfile,
- [ __NR_getpmsg ] = sys_ni_syscall,
- [ __NR_putpmsg ] = sys_ni_syscall,
- [ __NR_vfork ] = sys_vfork,
- [ __NR_ugetrlimit ] = sys_getrlimit,
- [ __NR_mmap2 ] = sys_mmap2,
- [ __NR_truncate64 ] = sys_truncate64,
- [ __NR_ftruncate64 ] = sys_ftruncate64,
- [ __NR_stat64 ] = sys_stat64,
- [ __NR_lstat64 ] = sys_lstat64,
- [ __NR_fstat64 ] = sys_fstat64,
- [ __NR_getdents64 ] = sys_getdents64,
- [ __NR_fcntl64 ] = sys_fcntl64,
- [ 223 ] = sys_ni_syscall,
- [ __NR_gettid ] = sys_gettid,
- [ __NR_readahead ] = sys_readahead,
- [ __NR_setxattr ] = sys_setxattr,
- [ __NR_lsetxattr ] = sys_lsetxattr,
- [ __NR_fsetxattr ] = sys_fsetxattr,
- [ __NR_getxattr ] = sys_getxattr,
- [ __NR_lgetxattr ] = sys_lgetxattr,
- [ __NR_fgetxattr ] = sys_fgetxattr,
- [ __NR_listxattr ] = sys_listxattr,
- [ __NR_llistxattr ] = sys_llistxattr,
- [ __NR_flistxattr ] = sys_flistxattr,
- [ __NR_removexattr ] = sys_removexattr,
- [ __NR_lremovexattr ] = sys_lremovexattr,
- [ __NR_fremovexattr ] = sys_fremovexattr,
- [ __NR_tkill ] = sys_tkill,
- [ __NR_sendfile64 ] = sys_sendfile64,
- [ __NR_futex ] = sys_futex,
- [ __NR_sched_setaffinity ] = sys_sched_setaffinity,
- [ __NR_sched_getaffinity ] = sys_sched_getaffinity,
- [ __NR_set_thread_area ] = sys_ni_syscall,
- [ __NR_get_thread_area ] = sys_ni_syscall,
- [ __NR_io_setup ] = sys_io_setup,
- [ __NR_io_destroy ] = sys_io_destroy,
- [ __NR_io_getevents ] = sys_io_getevents,
- [ __NR_io_submit ] = sys_io_submit,
- [ __NR_io_cancel ] = sys_io_cancel,
- [ __NR_fadvise64 ] = sys_fadvise64,
- [ 251 ] = sys_ni_syscall,
- [ __NR_exit_group ] = sys_exit_group,
- [ __NR_lookup_dcookie ] = sys_lookup_dcookie,
- [ __NR_epoll_create ] = sys_epoll_create,
- [ __NR_epoll_ctl ] = sys_epoll_ctl,
- [ __NR_epoll_wait ] = sys_epoll_wait,
- [ __NR_remap_file_pages ] = sys_remap_file_pages,
- [ __NR_set_tid_address ] = sys_set_tid_address,
- [ __NR_timer_create ] = sys_timer_create,
- [ __NR_timer_settime ] = sys_timer_settime,
- [ __NR_timer_gettime ] = sys_timer_gettime,
- [ __NR_timer_getoverrun ] = sys_timer_getoverrun,
- [ __NR_timer_delete ] = sys_timer_delete,
- [ __NR_clock_settime ] = sys_clock_settime,
- [ __NR_clock_gettime ] = sys_clock_gettime,
- [ __NR_clock_getres ] = sys_clock_getres,
- [ __NR_clock_nanosleep ] = sys_clock_nanosleep,
- [ __NR_statfs64 ] = sys_statfs64,
- [ __NR_fstatfs64 ] = sys_fstatfs64,
- [ __NR_tgkill ] = sys_tgkill,
- [ __NR_utimes ] = sys_utimes,
- [ __NR_fadvise64_64 ] = sys_fadvise64_64,
- [ __NR_vserver ] = sys_ni_syscall,
+ [ __NR_sched_get_priority_max ] = (syscall_handler_t *) sys_sched_get_priority_max,
+ [ __NR_sched_get_priority_min ] = (syscall_handler_t *) sys_sched_get_priority_min,
+ [ __NR_sched_rr_get_interval ] = (syscall_handler_t *) sys_sched_rr_get_interval,
+ [ __NR_nanosleep ] = (syscall_handler_t *) sys_nanosleep,
+ [ __NR_mremap ] = (syscall_handler_t *) sys_mremap,
+ [ __NR_setresuid ] = (syscall_handler_t *) sys_setresuid16,
+ [ __NR_getresuid ] = (syscall_handler_t *) sys_getresuid16,
+ [ __NR_vm86 ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_query_module ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_poll ] = (syscall_handler_t *) sys_poll,
+ [ __NR_nfsservctl ] = (syscall_handler_t *) NFSSERVCTL,
+ [ __NR_setresgid ] = (syscall_handler_t *) sys_setresgid16,
+ [ __NR_getresgid ] = (syscall_handler_t *) sys_getresgid16,
+ [ __NR_prctl ] = (syscall_handler_t *) sys_prctl,
+ [ __NR_rt_sigreturn ] = (syscall_handler_t *) sys_rt_sigreturn,
+ [ __NR_rt_sigaction ] = (syscall_handler_t *) sys_rt_sigaction,
+ [ __NR_rt_sigprocmask ] = (syscall_handler_t *) sys_rt_sigprocmask,
+ [ __NR_rt_sigpending ] = (syscall_handler_t *) sys_rt_sigpending,
+ [ __NR_rt_sigtimedwait ] = (syscall_handler_t *) sys_rt_sigtimedwait,
+ [ __NR_rt_sigqueueinfo ] = (syscall_handler_t *) sys_rt_sigqueueinfo,
+ [ __NR_rt_sigsuspend ] = (syscall_handler_t *) sys_rt_sigsuspend,
+ [ __NR_pread64 ] = (syscall_handler_t *) sys_pread64,
+ [ __NR_pwrite64 ] = (syscall_handler_t *) sys_pwrite64,
+ [ __NR_chown ] = (syscall_handler_t *) sys_chown16,
+ [ __NR_getcwd ] = (syscall_handler_t *) sys_getcwd,
+ [ __NR_capget ] = (syscall_handler_t *) sys_capget,
+ [ __NR_capset ] = (syscall_handler_t *) sys_capset,
+ [ __NR_sigaltstack ] = (syscall_handler_t *) sys_sigaltstack,
+ [ __NR_sendfile ] = (syscall_handler_t *) sys_sendfile,
+ [ __NR_getpmsg ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_putpmsg ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_vfork ] = (syscall_handler_t *) sys_vfork,
+ [ __NR_ugetrlimit ] = (syscall_handler_t *) sys_getrlimit,
+ [ __NR_mmap2 ] = (syscall_handler_t *) sys_mmap2,
+ [ __NR_truncate64 ] = (syscall_handler_t *) sys_truncate64,
+ [ __NR_ftruncate64 ] = (syscall_handler_t *) sys_ftruncate64,
+ [ __NR_stat64 ] = (syscall_handler_t *) sys_stat64,
+ [ __NR_lstat64 ] = (syscall_handler_t *) sys_lstat64,
+ [ __NR_fstat64 ] = (syscall_handler_t *) sys_fstat64,
+ [ __NR_getdents64 ] = (syscall_handler_t *) sys_getdents64,
+ [ __NR_fcntl64 ] = (syscall_handler_t *) sys_fcntl64,
+ [ 223 ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_gettid ] = (syscall_handler_t *) sys_gettid,
+ [ __NR_readahead ] = (syscall_handler_t *) sys_readahead,
+ [ __NR_setxattr ] = (syscall_handler_t *) sys_setxattr,
+ [ __NR_lsetxattr ] = (syscall_handler_t *) sys_lsetxattr,
+ [ __NR_fsetxattr ] = (syscall_handler_t *) sys_fsetxattr,
+ [ __NR_getxattr ] = (syscall_handler_t *) sys_getxattr,
+ [ __NR_lgetxattr ] = (syscall_handler_t *) sys_lgetxattr,
+ [ __NR_fgetxattr ] = (syscall_handler_t *) sys_fgetxattr,
+ [ __NR_listxattr ] = (syscall_handler_t *) sys_listxattr,
+ [ __NR_llistxattr ] = (syscall_handler_t *) sys_llistxattr,
+ [ __NR_flistxattr ] = (syscall_handler_t *) sys_flistxattr,
+ [ __NR_removexattr ] = (syscall_handler_t *) sys_removexattr,
+ [ __NR_lremovexattr ] = (syscall_handler_t *) sys_lremovexattr,
+ [ __NR_fremovexattr ] = (syscall_handler_t *) sys_fremovexattr,
+ [ __NR_tkill ] = (syscall_handler_t *) sys_tkill,
+ [ __NR_sendfile64 ] = (syscall_handler_t *) sys_sendfile64,
+ [ __NR_futex ] = (syscall_handler_t *) sys_futex,
+ [ __NR_sched_setaffinity ] = (syscall_handler_t *) sys_sched_setaffinity,
+ [ __NR_sched_getaffinity ] = (syscall_handler_t *) sys_sched_getaffinity,
+ [ __NR_set_thread_area ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_get_thread_area ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_io_setup ] = (syscall_handler_t *) sys_io_setup,
+ [ __NR_io_destroy ] = (syscall_handler_t *) sys_io_destroy,
+ [ __NR_io_getevents ] = (syscall_handler_t *) sys_io_getevents,
+ [ __NR_io_submit ] = (syscall_handler_t *) sys_io_submit,
+ [ __NR_io_cancel ] = (syscall_handler_t *) sys_io_cancel,
+ [ __NR_fadvise64 ] = (syscall_handler_t *) sys_fadvise64,
+ [ 251 ] = (syscall_handler_t *) sys_ni_syscall,
+ [ __NR_exit_group ] = (syscall_handler_t *) sys_exit_group,
+ [ __NR_lookup_dcookie ] = (syscall_handler_t *) sys_lookup_dcookie,
+ [ __NR_epoll_create ] = (syscall_handler_t *) sys_epoll_create,
+ [ __NR_epoll_ctl ] = (syscall_handler_t *) sys_epoll_ctl,
+ [ __NR_epoll_wait ] = (syscall_handler_t *) sys_epoll_wait,
+ [ __NR_remap_file_pages ] = (syscall_handler_t *) sys_remap_file_pages,
+ [ __NR_set_tid_address ] = (syscall_handler_t *) sys_set_tid_address,
+ [ __NR_timer_create ] = (syscall_handler_t *) sys_timer_create,
+ [ __NR_timer_settime ] = (syscall_handler_t *) sys_timer_settime,
+ [ __NR_timer_gettime ] = (syscall_handler_t *) sys_timer_gettime,
+ [ __NR_timer_getoverrun ] = (syscall_handler_t *) sys_timer_getoverrun,
+ [ __NR_timer_delete ] = (syscall_handler_t *) sys_timer_delete,
+ [ __NR_clock_settime ] = (syscall_handler_t *) sys_clock_settime,
+ [ __NR_clock_gettime ] = (syscall_handler_t *) sys_clock_gettime,
+ [ __NR_clock_getres ] = (syscall_handler_t *) sys_clock_getres,
+ [ __NR_clock_nanosleep ] = (syscall_handler_t *) sys_clock_nanosleep,
+ [ __NR_statfs64 ] = (syscall_handler_t *) sys_statfs64,
+ [ __NR_fstatfs64 ] = (syscall_handler_t *) sys_fstatfs64,
+ [ __NR_tgkill ] = (syscall_handler_t *) sys_tgkill,
+ [ __NR_utimes ] = (syscall_handler_t *) sys_utimes,
+ [ __NR_fadvise64_64 ] = (syscall_handler_t *) sys_fadvise64_64,
+ [ __NR_vserver ] = (syscall_handler_t *) sys_ni_syscall,
ARCH_SYSCALLS
[ LAST_SYSCALL + 1 ... NR_syscalls ] =
Index: linux-2.6.3/arch/um/include/sysdep-i386/syscalls.h
===================================================================
--- linux-2.6.3.orig/arch/um/include/sysdep-i386/syscalls.h 2004-02-20 17:24:52.000000000 +0100
+++ linux-2.6.3/arch/um/include/sysdep-i386/syscalls.h 2004-03-01 20:44:01.329069810 +0100
@@ -14,36 +14,35 @@ typedef long syscall_handler_t(struct pt
extern syscall_handler_t sys_modify_ldt;
extern syscall_handler_t old_mmap_i386;
extern syscall_handler_t old_select;
-extern syscall_handler_t sys_ni_syscall;
#define ARCH_SYSCALLS \
[ __NR_mmap ] = old_mmap_i386, \
[ __NR_select ] = old_select, \
- [ __NR_vm86old ] = sys_ni_syscall, \
- [ __NR_modify_ldt ] = sys_modify_ldt, \
- [ __NR_lchown32 ] = sys_lchown, \
- [ __NR_getuid32 ] = sys_getuid, \
- [ __NR_getgid32 ] = sys_getgid, \
- [ __NR_geteuid32 ] = sys_geteuid, \
- [ __NR_getegid32 ] = sys_getegid, \
- [ __NR_setreuid32 ] = sys_setreuid, \
- [ __NR_setregid32 ] = sys_setregid, \
- [ __NR_getgroups32 ] = sys_getgroups, \
- [ __NR_setgroups32 ] = sys_setgroups, \
- [ __NR_fchown32 ] = sys_fchown, \
- [ __NR_setresuid32 ] = sys_setresuid, \
- [ __NR_getresuid32 ] = sys_getresuid, \
- [ __NR_setresgid32 ] = sys_setresgid, \
- [ __NR_getresgid32 ] = sys_getresgid, \
- [ __NR_chown32 ] = sys_chown, \
- [ __NR_setuid32 ] = sys_setuid, \
- [ __NR_setgid32 ] = sys_setgid, \
- [ __NR_setfsuid32 ] = sys_setfsuid, \
- [ __NR_setfsgid32 ] = sys_setfsgid, \
- [ __NR_pivot_root ] = sys_pivot_root, \
- [ __NR_mincore ] = sys_mincore, \
- [ __NR_madvise ] = sys_madvise, \
- [ 222 ] = sys_ni_syscall,
+ [ __NR_vm86old ] = (syscall_handler_t *) sys_ni_syscall, \
+ [ __NR_modify_ldt ] = (syscall_handler_t *) sys_modify_ldt, \
+ [ __NR_lchown32 ] = (syscall_handler_t *) sys_lchown, \
+ [ __NR_getuid32 ] = (syscall_handler_t *) sys_getuid, \
+ [ __NR_getgid32 ] = (syscall_handler_t *) sys_getgid, \
+ [ __NR_geteuid32 ] = (syscall_handler_t *) sys_geteuid, \
+ [ __NR_getegid32 ] = (syscall_handler_t *) sys_getegid, \
+ [ __NR_setreuid32 ] = (syscall_handler_t *) sys_setreuid, \
+ [ __NR_setregid32 ] = (syscall_handler_t *) sys_setregid, \
+ [ __NR_getgroups32 ] = (syscall_handler_t *) sys_getgroups, \
+ [ __NR_setgroups32 ] = (syscall_handler_t *) sys_setgroups, \
+ [ __NR_fchown32 ] = (syscall_handler_t *) sys_fchown, \
+ [ __NR_setresuid32 ] = (syscall_handler_t *) sys_setresuid, \
+ [ __NR_getresuid32 ] = (syscall_handler_t *) sys_getresuid, \
+ [ __NR_setresgid32 ] = (syscall_handler_t *) sys_setresgid, \
+ [ __NR_getresgid32 ] = (syscall_handler_t *) sys_getresgid, \
+ [ __NR_chown32 ] = (syscall_handler_t *) sys_chown, \
+ [ __NR_setuid32 ] = (syscall_handler_t *) sys_setuid, \
+ [ __NR_setgid32 ] = (syscall_handler_t *) sys_setgid, \
+ [ __NR_setfsuid32 ] = (syscall_handler_t *) sys_setfsuid, \
+ [ __NR_setfsgid32 ] = (syscall_handler_t *) sys_setfsgid, \
+ [ __NR_pivot_root ] = (syscall_handler_t *) sys_pivot_root, \
+ [ __NR_mincore ] = (syscall_handler_t *) sys_mincore, \
+ [ __NR_madvise ] = (syscall_handler_t *) sys_madvise, \
+ [ 222 ] = (syscall_handler_t *) sys_ni_syscall,
/* 222 doesn't yet have a name in include/asm-i386/unistd.h */
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-10 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 13:29 [uml-devel] [patch 2.6.4-rc3] adapt uml to syscalls cleanup Gerd Knorr
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.