00001 #define NCALLS 95 /* number of system calls allowed */ 00002 00003 #define EXIT 1 00004 #define FORK 2 00005 #define READ 3 00006 #define WRITE 4 00007 #define OPEN 5 00008 #define CLOSE 6 00009 #define WAIT 7 00010 #define CREAT 8 00011 #define LINK 9 00012 #define UNLINK 10 00013 #define WAITPID 11 00014 #define CHDIR 12 00015 #define TIME 13 00016 #define MKNOD 14 00017 #define CHMOD 15 00018 #define CHOWN 16 00019 #define BRK 17 00020 #define STAT 18 00021 #define LSEEK 19 00022 #define GETPID 20 00023 #define MOUNT 21 00024 #define UMOUNT 22 00025 #define SETUID 23 00026 #define GETUID 24 00027 #define STIME 25 00028 #define PTRACE 26 00029 #define ALARM 27 00030 #define FSTAT 28 00031 #define PAUSE 29 00032 #define UTIME 30 00033 #define ACCESS 33 00034 #define SYNC 36 00035 #define KILL 37 00036 #define RENAME 38 00037 #define MKDIR 39 00038 #define RMDIR 40 00039 #define DUP 41 00040 #define PIPE 42 00041 #define TIMES 43 00042 #define SYMLINK 45 00043 #define SETGID 46 00044 #define GETGID 47 00045 #define SIGNAL 48 00046 #define RDLNK 49 00047 #define LSTAT 50 00048 #define IOCTL 54 00049 #define FCNTL 55 00050 #define EXEC 59 00051 #define UMASK 60 00052 #define CHROOT 61 00053 #define SETSID 62 00054 #define GETPGRP 63 00055 00056 /* The following are not system calls, but are processed like them. */ 00057 #define UNPAUSE 65 /* to MM or FS: check for EINTR */ 00058 #define REVIVE 67 /* to FS: revive a sleeping process */ 00059 #define TASK_REPLY 68 /* to FS: reply code from tty task */ 00060 00061 /* Posix signal handling. */ 00062 #define SIGACTION 71 00063 #define SIGSUSPEND 72 00064 #define SIGPENDING 73 00065 #define SIGPROCMASK 74 00066 #define SIGRETURN 75 00067 00068 #define REBOOT 76 /* to PM */ 00069 00070 /* MINIX specific calls, e.g., to support system services. */ 00071 #define SVRCTL 77 00072 #define PROCSTAT 78 /* to PM */ 00073 #define GETSYSINFO 79 /* to PM or FS */ 00074 #define GETPROCNR 80 /* to PM */ 00075 #define DEVCTL 81 /* to FS */ 00076 #define FSTATFS 82 /* to FS */ 00077 #define ALLOCMEM 83 /* to PM */ 00078 #define FREEMEM 84 /* to PM */ 00079 #define SELECT 85 /* to FS */ 00080 #define FCHDIR 86 /* to FS */ 00081 #define FSYNC 87 /* to FS */ 00082 #define GETPRIORITY 88 /* to PM */ 00083 #define SETPRIORITY 89 /* to PM */ 00084 #define GETTIMEOFDAY 90 /* to PM */ 00085 #define SETEUID 91 /* to PM */ 00086 #define SETEGID 92 /* to PM */ 00087 #define TRUNCATE 93 /* to FS */ 00088 #define FTRUNCATE 94 /* to FS */
1.4.6