root/include/linux/sys.h

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

INCLUDED FROM


   1 /*
   2  * system call entry points
   3  */
   4 
   5 #define sys_clone sys_fork
   6 
   7 #ifdef __cplusplus
   8 extern "C" {
   9 #endif
  10 
  11 extern int sys_setup();         /* 0 */
  12 extern int sys_exit();
  13 extern int sys_fork();
  14 extern int sys_read();
  15 extern int sys_write();
  16 extern int sys_open();          /* 5 */
  17 extern int sys_close();
  18 extern int sys_waitpid();
  19 extern int sys_creat();
  20 extern int sys_link();
  21 extern int sys_unlink();        /* 10 */
  22 extern int sys_execve();
  23 extern int sys_chdir();
  24 extern int sys_time();
  25 extern int sys_mknod();
  26 extern int sys_chmod();         /* 15 */
  27 extern int sys_chown();
  28 extern int sys_break();
  29 extern int sys_stat();
  30 extern int sys_lseek();
  31 extern int sys_getpid();        /* 20 */
  32 extern int sys_mount();
  33 extern int sys_umount();
  34 extern int sys_setuid();
  35 extern int sys_getuid();
  36 extern int sys_stime();         /* 25 */
  37 extern int sys_ptrace();
  38 extern int sys_alarm();
  39 extern int sys_fstat();
  40 extern int sys_pause();
  41 extern int sys_utime();         /* 30 */
  42 extern int sys_stty();
  43 extern int sys_gtty();
  44 extern int sys_access();
  45 extern int sys_nice();
  46 extern int sys_ftime();         /* 35 */
  47 extern int sys_sync();
  48 extern int sys_kill();
  49 extern int sys_rename();
  50 extern int sys_mkdir();
  51 extern int sys_rmdir();         /* 40 */
  52 extern int sys_dup();
  53 extern int sys_pipe();
  54 extern int sys_times();
  55 extern int sys_prof();
  56 extern int sys_brk();           /* 45 */
  57 extern int sys_setgid();
  58 extern int sys_getgid();
  59 extern int sys_signal();
  60 extern int sys_geteuid();
  61 extern int sys_getegid();       /* 50 */
  62 extern int sys_acct();
  63 extern int sys_phys();
  64 extern int sys_lock();
  65 extern int sys_ioctl();
  66 extern int sys_fcntl();         /* 55 */
  67 extern int sys_mpx();
  68 extern int sys_setpgid();
  69 extern int sys_ulimit();
  70 extern int sys_uname();
  71 extern int sys_umask();         /* 60 */
  72 extern int sys_chroot();
  73 extern int sys_ustat();
  74 extern int sys_dup2();
  75 extern int sys_getppid();
  76 extern int sys_getpgrp();       /* 65 */
  77 extern int sys_setsid();
  78 extern int sys_sigaction();
  79 extern int sys_sgetmask();
  80 extern int sys_ssetmask();
  81 extern int sys_setreuid();      /* 70 */
  82 extern int sys_setregid();
  83 extern int sys_sigpending();
  84 extern int sys_sigsuspend();
  85 extern int sys_sethostname();
  86 extern int sys_setrlimit();     /* 75 */
  87 extern int sys_getrlimit();
  88 extern int sys_getrusage();
  89 extern int sys_gettimeofday();
  90 extern int sys_settimeofday();
  91 extern int sys_getgroups();     /* 80 */
  92 extern int sys_setgroups();
  93 extern int sys_select();
  94 extern int sys_symlink();
  95 extern int sys_lstat();
  96 extern int sys_readlink();      /* 85 */
  97 extern int sys_uselib();
  98 extern int sys_swapon();
  99 extern int sys_reboot();
 100 extern int sys_readdir();
 101 extern int sys_mmap();          /* 90 */
 102 extern int sys_munmap();
 103 extern int sys_truncate();
 104 extern int sys_ftruncate();
 105 extern int sys_fchmod();
 106 extern int sys_fchown();        /* 95 */
 107 extern int sys_getpriority();
 108 extern int sys_setpriority();
 109 extern int sys_profil();
 110 extern int sys_statfs();
 111 extern int sys_fstatfs();       /* 100 */
 112 extern int sys_ioperm();
 113 extern int sys_socketcall();
 114 extern int sys_syslog();
 115 extern int sys_getitimer();
 116 extern int sys_setitimer();     /* 105 */
 117 extern int sys_newstat();
 118 extern int sys_newlstat();
 119 extern int sys_newfstat();
 120 extern int sys_newuname();
 121 extern int sys_iopl();          /* 110 */
 122 extern int sys_vhangup();
 123 extern int sys_idle();
 124 extern int sys_vm86();
 125 extern int sys_wait4();
 126 extern int sys_swapoff();       /* 115 */
 127 extern int sys_sysinfo();
 128 extern int sys_ipc();
 129 extern int sys_fsync();
 130 extern int sys_sigreturn();
 131 extern int sys_setdomainname(); /* 120 */
 132 extern int sys_olduname();
 133 extern int sys_old_syscall();
 134 extern int sys_modify_ldt();
 135 extern int sys_adjtimex();
 136 extern int sys_mprotect();      /* 125 */
 137 extern int sys_sigprocmask();
 138 extern int sys_create_module();
 139 extern int sys_init_module();
 140 extern int sys_delete_module();
 141 extern int sys_get_kernel_syms(); /* 130 */
 142 
 143 /*
 144  * These are system calls that will be removed at some time
 145  * due to newer versions existing..
 146  */
 147 #ifdef notdef
 148 #define sys_waitpid     sys_old_syscall /* sys_wait4    */
 149 #define sys_olduname    sys_old_syscall /* sys_newuname */
 150 #define sys_uname       sys_old_syscall /* sys_newuname */
 151 #define sys_stat        sys_old_syscall /* sys_newstat  */
 152 #define sys_fstat       sys_old_syscall /* sys_newfstat */
 153 #define sys_lstat       sys_old_syscall /* sys_newlstat */
 154 #define sys_signal      sys_old_syscall /* sys_sigaction */
 155 #define sys_sgetmask    sys_old_syscall /* sys_sigprocmask */
 156 #define sys_ssetmask    sys_old_syscall /* sig_sigprocmask */
 157 #endif
 158 
 159 typedef int (*fn_ptr)();
 160 
 161 #ifdef __cplusplus
 162 }
 163 #endif
 164 

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