root/include/linux/sys.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Why isn't this a .c file?  Enquiring minds....
   3  */
   4 
   5 #define sys_clone sys_fork
   6 
   7 extern int sys_setup();
   8 extern int sys_exit();
   9 extern int sys_fork();
  10 extern int sys_read();
  11 extern int sys_write();
  12 extern int sys_open();
  13 extern int sys_close();
  14 extern int sys_waitpid();
  15 extern int sys_creat();
  16 extern int sys_link();
  17 extern int sys_unlink();
  18 extern int sys_execve();
  19 extern int sys_chdir();
  20 extern int sys_time();
  21 extern int sys_mknod();
  22 extern int sys_chmod();
  23 extern int sys_chown();
  24 extern int sys_break();
  25 extern int sys_stat();
  26 extern int sys_lseek();
  27 extern int sys_getpid();
  28 extern int sys_mount();
  29 extern int sys_umount();
  30 extern int sys_setuid();
  31 extern int sys_getuid();
  32 extern int sys_stime();
  33 extern int sys_ptrace();
  34 extern int sys_alarm();
  35 extern int sys_fstat();
  36 extern int sys_pause();
  37 extern int sys_utime();
  38 extern int sys_stty();
  39 extern int sys_gtty();
  40 extern int sys_access();
  41 extern int sys_nice();
  42 extern int sys_ftime();
  43 extern int sys_sync();
  44 extern int sys_kill();
  45 extern int sys_rename();
  46 extern int sys_mkdir();
  47 extern int sys_rmdir();
  48 extern int sys_dup();
  49 extern int sys_pipe();
  50 extern int sys_times();
  51 extern int sys_prof();
  52 extern int sys_brk();
  53 extern int sys_setgid();
  54 extern int sys_getgid();
  55 extern int sys_signal();
  56 extern int sys_geteuid();
  57 extern int sys_getegid();
  58 extern int sys_acct();
  59 extern int sys_phys();
  60 extern int sys_lock();
  61 extern int sys_ioctl();
  62 extern int sys_fcntl();
  63 extern int sys_mpx();
  64 extern int sys_setpgid();
  65 extern int sys_ulimit();
  66 extern int sys_uname();
  67 extern int sys_umask();
  68 extern int sys_chroot();
  69 extern int sys_ustat();
  70 extern int sys_dup2();
  71 extern int sys_getppid();
  72 extern int sys_getpgrp();
  73 extern int sys_setsid();
  74 extern int sys_sigaction();
  75 extern int sys_sgetmask();
  76 extern int sys_ssetmask();
  77 extern int sys_setreuid();
  78 extern int sys_setregid();
  79 extern int sys_sigpending();
  80 extern int sys_sigsuspend();
  81 extern int sys_sethostname();
  82 extern int sys_setrlimit();
  83 extern int sys_getrlimit();
  84 extern int sys_getrusage();
  85 extern int sys_gettimeofday();
  86 extern int sys_settimeofday();
  87 extern int sys_getgroups();
  88 extern int sys_setgroups();
  89 extern int sys_select();
  90 extern int sys_symlink();
  91 extern int sys_lstat();
  92 extern int sys_readlink();
  93 extern int sys_uselib();
  94 extern int sys_swapon();
  95 extern int sys_reboot();
  96 extern int sys_readdir();
  97 extern int sys_mmap();
  98 extern int sys_munmap();
  99 extern int sys_truncate();
 100 extern int sys_ftruncate();
 101 extern int sys_fchmod();
 102 extern int sys_fchown();
 103 extern int sys_getpriority();
 104 extern int sys_setpriority();
 105 extern int sys_profil();
 106 extern int sys_statfs();
 107 extern int sys_fstatfs();
 108 extern int sys_ioperm();
 109 extern int sys_socketcall();
 110 extern int sys_syslog();
 111 extern int sys_getitimer();
 112 extern int sys_setitimer();
 113 extern int sys_newstat();
 114 extern int sys_newlstat();
 115 extern int sys_newfstat();
 116 extern int sys_newuname();
 117 extern int sys_iopl();
 118 extern int sys_vhangup();
 119 extern int sys_idle();
 120 extern int sys_vm86();
 121 extern int sys_wait4();
 122 extern int sys_swapoff();
 123 extern int sys_sysinfo();
 124 extern int sys_ipc();
 125 extern int sys_fsync();
 126 extern int sys_sigreturn();
 127 
 128 fn_ptr sys_call_table[] = { sys_setup, sys_exit, sys_fork, sys_read,
 129 sys_write, sys_open, sys_close, sys_waitpid, sys_creat, sys_link,
 130 sys_unlink, sys_execve, sys_chdir, sys_time, sys_mknod, sys_chmod,
 131 sys_chown, sys_break, sys_stat, sys_lseek, sys_getpid, sys_mount,
 132 sys_umount, sys_setuid, sys_getuid, sys_stime, sys_ptrace, sys_alarm,
 133 sys_fstat, sys_pause, sys_utime, sys_stty, sys_gtty, sys_access,
 134 sys_nice, sys_ftime, sys_sync, sys_kill, sys_rename, sys_mkdir,
 135 sys_rmdir, sys_dup, sys_pipe, sys_times, sys_prof, sys_brk, sys_setgid,
 136 sys_getgid, sys_signal, sys_geteuid, sys_getegid, sys_acct, sys_phys,
 137 sys_lock, sys_ioctl, sys_fcntl, sys_mpx, sys_setpgid, sys_ulimit,
 138 sys_uname, sys_umask, sys_chroot, sys_ustat, sys_dup2, sys_getppid,
 139 sys_getpgrp, sys_setsid, sys_sigaction, sys_sgetmask, sys_ssetmask,
 140 sys_setreuid,sys_setregid, sys_sigsuspend, sys_sigpending,
 141 sys_sethostname, sys_setrlimit, sys_getrlimit, sys_getrusage,
 142 sys_gettimeofday, sys_settimeofday, sys_getgroups, sys_setgroups,
 143 sys_select, sys_symlink, sys_lstat, sys_readlink, sys_uselib,
 144 sys_swapon, sys_reboot, sys_readdir, sys_mmap, sys_munmap, sys_truncate,
 145 sys_ftruncate, sys_fchmod, sys_fchown, sys_getpriority, sys_setpriority,
 146 sys_profil, sys_statfs, sys_fstatfs, sys_ioperm, sys_socketcall,
 147 sys_syslog, sys_setitimer, sys_getitimer, sys_newstat, sys_newlstat,
 148 sys_newfstat, sys_newuname, sys_iopl, sys_vhangup, sys_idle, sys_vm86,
 149 sys_wait4, sys_swapoff, sys_sysinfo, sys_ipc, sys_fsync, sys_sigreturn,
 150 sys_clone };
 151 
 152 /* So we don't have to do any more manual updating.... */
 153 int NR_syscalls = sizeof(sys_call_table)/sizeof(fn_ptr);

/* [previous][next][first][last][top][bottom][index][help] */