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

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