syscalls.master revision 1.5
1 $Id: syscalls.master,v 1.5 1993/11/10 00:59:10 deraadt Exp $ 2; from: @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; System call name/number master file (or rather, slave, from SunOS). 4; Processed to created sun_sysent.c, sun_syscalls.c and sun_syscall.h. 5 6; Columns: number type nargs name altname/comments 7; number system call number, must be in order 8; type one of STD, OBSOL, UNIMPL, COMPAT 9; nargs number of arguments 10; name name of syscall routine 11; altname name of system call if different 12; for UNIMPL/OBSOL, name continues with comments 13 14; types: 15; STD always included 16; COMPAT included on COMPAT #ifdef 17; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h 18; OBSOL obsolete, not included in system, only specifies name 19; UNIMPL not implemented, placeholder only 20 21; #ifdef's, etc. may be included, and are copied to the output files. 22 230 STD 0 nosys syscall 241 STD 1 rexit exit 252 STD 0 fork 263 STD 3 read 274 STD 3 write 285 STD 3 open 296 STD 1 close 307 STD 4 sun_wait4 318 STD 2 sun_creat 329 STD 2 link 3310 STD 1 unlink 3411 STD 2 sun_execv 3512 STD 1 chdir 3613 COMPAT 0 sun_time 3714 STD 3 mknod 3815 STD 2 chmod 3916 STD 3 chown 4017 STD 1 obreak break 4118 COMPAT 2 sun_stat 4219 STD 3 lseek 4320 STD 0 getpid 4421 OBSOL 1 sun_old_mount 4522 UNIMPL 1 System V umount 4623 COMPAT 1 setuid 4724 STD 0 getuid 4825 COMPAT 1 sun_stime 4926 UNIMPL 5 sun_ptrace 5027 COMPAT 1 sun_alarm 5128 COMPAT 1 sun_fstat 5229 COMPAT 0 sun_pause 5330 COMPAT 2 sun_utime 5431 UNIMPL 0 was stty 5532 UNIMPL 0 was gtty 5633 STD 2 saccess access 5734 COMPAT 1 sun_nice 5835 COMPAT 1 sun_ftime 5936 STD 0 sync 6037 STD 2 kill 6138 STD 2 stat 6239 COMPAT 2 sun_setpgrp 6340 STD 2 lstat 6441 STD 2 dup 6542 STD 0 pipe 6643 COMPAT 1 sun_times 6744 STD 4 profil 6845 UNIMPL 0 nosys 6946 COMPAT 1 sun_setgid 7047 STD 0 getgid 7148 COMPAT 2 sun_ssig 7249 UNIMPL 0 reserved for USG 7350 UNIMPL 0 reserved for USG 7451 STD 1 sysacct acct 7552 UNIMPL 0 nosys 7653 STD 4 sun_mctl 7754 STD 3 sun_ioctl 7855 STD 2 reboot 7956 OBSOL 3 sun_owait3 8057 STD 2 symlink 8158 STD 3 readlink 8259 STD 3 execve 8360 STD 1 umask 8461 STD 1 chroot 8562 STD 2 fstat 8663 UNIMPL 0 nosys 8764 STD 0 getpagesize 8865 STD 3 sun_omsync 8966 STD 0 vfork 9067 OBSOL 0 vread 9168 OBSOL 0 vwrite 9269 STD 1 sbrk 9370 STD 1 sstk 9471 STD 6 sun_mmap mmap 9572 STD 1 ovadvise vadvise 9673 STD 2 munmap 9774 STD 3 mprotect 9875 STD 3 madvise 9976 COMPAT 0 vhangup 10077 COMPAT 0 vlimit 10178 STD 3 mincore 10279 STD 2 getgroups 10380 STD 2 setgroups 10481 STD 1 getpgrp 10582 STD 2 setpgid 10683 STD 3 setitimer 10784 COMPAT 0 wait 10885 STD 1 swapon 10986 STD 2 getitimer 11087 STD 2 gethostname 11188 STD 2 sethostname 11289 STD 0 getdtablesize 11390 STD 2 dup2 11491 UNIMPL 2 getdopt 11592 STD 3 fcntl 11693 STD 5 select 11794 UNIMPL 2 setdopt 11895 STD 1 fsync 11996 STD 3 setpriority 12097 STD 3 socket 12198 STD 3 connect 12299 STD 3 oaccept 123100 STD 2 getpriority 124101 STD 4 osend 125102 STD 4 orecv 126103 UNIMPL 0 old socketaddr 127104 STD 3 bind 128105 STD 5 sun_setsockopt 129106 STD 2 listen 130107 COMPAT 0 vtimes 131108 STD 3 osigvec 132109 STD 1 osigblock 133110 STD 1 osigsetmask 134111 STD 1 sigsuspend 135112 STD 2 sigstack 136113 STD 3 orecvmsg 137114 STD 3 osendmsg 138115 OBSOL 3 vtrace 139116 STD 2 gettimeofday 140117 STD 2 getrusage 141118 STD 5 getsockopt 142119 UNIMPL 0 nosys 143120 STD 3 readv 144121 STD 3 writev 145122 STD 2 settimeofday 146123 STD 3 fchown 147124 STD 2 fchmod 148125 STD 6 orecvfrom 149126 STD 2 osetreuid 150127 STD 2 osetregid 151128 STD 2 rename 152129 STD 2 truncate 153130 STD 2 ftruncate 154131 STD 2 flock 155132 UNIMPL 0 nosys 156133 STD 6 sendto 157134 STD 2 shutdown 158135 STD 5 socketpair 159136 STD 2 mkdir 160137 STD 1 rmdir 161138 STD 2 utimes 162139 STD 1 sigreturn 163140 STD 2 adjtime 164141 STD 3 ogetpeername 165142 STD 0 gethostid 166143 UNIMPL 1 old sethostid 167144 STD 2 getrlimit 168145 STD 2 setrlimit 169146 STD 2 okillpg 170147 UNIMPL 0 nosys 171148 UNIMPL 0 nosys 172149 UNIMPL 0 nosys 173150 STD 3 ogetsockname 174151 UNIMPL 4 getmsg 175152 UNIMPL 4 putmsg 176153 UNIMPL 3 poll 177154 UNIMPL 0 nosys 178155 UNIMPL 0 nosys 179156 STD 4 getdirentries 180157 STD 2 statfs 181158 STD 2 fstatfs 182159 STD 1 sun_unmount 183160 UNIMPL 0 nosys 184161 UNIMPL 0 nosys 185162 STD 2 getdomainname 186163 STD 2 setdomainname 187164 UNIMPL 5 rtschedule 188165 UNIMPL 4 quotactl 189166 UNIMPL 2 exportfs 190167 STD 4 sun_mount 191168 UNIMPL 2 ustat 192169 UNIMPL 5 semsys 193170 UNIMPL 6 msgsys 194#ifdef SYSVSHM 195171 STD 4 shmsys 196#else 197171 UNIMPL 0 nosys 198#endif 199172 STD 4 auditsys 200173 UNIMPL 5 rfssys 201174 STD 3 sun_getdents 202175 STD 1 setsid 203176 STD 1 fchdir 204177 STD 1 sun_fchroot 205178 UNIMPL 0 nosys 206179 UNIMPL 0 nosys 207180 UNIMPL 0 nosys 208181 UNIMPL 0 nosys 209182 UNIMPL 0 nosys 210183 STD 1 sun_sigpending 211184 UNIMPL 0 nosys 212185 STD 2 setpgid 213186 UNIMPL 2 pathconf 214187 UNIMPL 2 fpathconf 215188 UNIMPL 1 sysconf 216189 UNIMPL 1 uname 217