BSD 4_3_Net_2 release
[unix-history] / usr / src / sys / kern / syscalls.master
index 51f0c8c..a745f20 100644 (file)
@@ -1,4 +1,4 @@
-       @(#)syscalls.master     7.18 (Berkeley) %G%
+       @(#)syscalls.master     7.26 (Berkeley) 3/25/91
 ; System call name/number master file.
 ; Processed to created init_sysent.c, syscalls.c and syscall.h.
 
 ; System call name/number master file.
 ; Processed to created init_sysent.c, syscalls.c and syscall.h.
 
@@ -13,6 +13,7 @@
 ; types:
 ;      STD     always included
 ;      COMPAT  included on COMPAT #ifdef
 ; types:
 ;      STD     always included
 ;      COMPAT  included on COMPAT #ifdef
+;      LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
 ;      OBSOL   obsolete, not included in system, only specifies name
 ;      UNIMPL  not implemented, placeholder only
 
 ;      OBSOL   obsolete, not included in system, only specifies name
 ;      UNIMPL  not implemented, placeholder only
 
 5      STD     3 open
 6      STD     1 close
 7      STD     4 wait4
 5      STD     3 open
 6      STD     1 close
 7      STD     4 wait4
-8      STD     2 creat
+8      COMPAT  2 creat
 9      STD     2 link
 10     STD     1 unlink
 9      STD     2 link
 10     STD     1 unlink
-11     STD     2 execv
+11     OBSOL   2 execv
 12     STD     1 chdir
 13     STD     1 fchdir
 14     STD     3 mknod
 15     STD     2 chmod
 16     STD     3 chown
 12     STD     1 chdir
 13     STD     1 fchdir
 14     STD     3 mknod
 15     STD     2 chmod
 16     STD     3 chown
-17     STD     1 obreak
+17     STD     1 obreak break
 18     STD     3 getfsstat
 19     STD     3 lseek
 20     STD     0 getpid
 21     STD     4 mount
 22     STD     2 unmount
 18     STD     3 getfsstat
 19     STD     3 lseek
 20     STD     0 getpid
 21     STD     4 mount
 22     STD     2 unmount
-23     OBSOL   0 setuid
+23     STD     1 setuid
 24     STD     0 getuid
 24     STD     0 getuid
-25     OBSOL   0 stime
+25     STD     0 geteuid
 26     STD     4 ptrace
 27     STD     3 recvmsg
 28     STD     3 sendmsg
 26     STD     4 ptrace
 27     STD     3 recvmsg
 28     STD     3 sendmsg
 36     STD     0 sync
 37     STD     2 kill
 38     STD     2 stat
 36     STD     0 sync
 37     STD     2 kill
 38     STD     2 stat
-39     OBSOL   0 setpgrp
+39     STD     0 getppid
 40     STD     2 lstat
 41     STD     2 dup
 42     STD     0 pipe
 40     STD     2 lstat
 41     STD     2 dup
 42     STD     0 pipe
-43     OBSOL   0 times
+43     STD     0 getegid
 44     STD     4 profil
 #ifdef KTRACE
 45     STD     4 ktrace
 #else
 44     STD     4 profil
 #ifdef KTRACE
 45     STD     4 ktrace
 #else
-45     UNIMPL  0 nosys
+45     UNIMPL  0 ktrace
 #endif
 46     STD     3 sigaction
 47     STD     0 getgid
 48     STD     2 sigprocmask
 49     STD     2 getlogin
 #endif
 46     STD     3 sigaction
 47     STD     0 getgid
 48     STD     2 sigprocmask
 49     STD     2 getlogin
-50     STD     2 setlogin
+50     STD     1 setlogin
 51     STD     1 sysacct acct
 52     STD     0 sigpending
 #ifdef notyet
 51     STD     1 sysacct acct
 52     STD     0 sigpending
 #ifdef notyet
@@ -88,7 +89,7 @@
 #endif
 54     STD     3 ioctl
 55     STD     1 reboot
 #endif
 54     STD     3 ioctl
 55     STD     1 reboot
-56     STD     2 revoke
+56     STD     1 revoke
 57     STD     2 symlink
 58     STD     3 readlink
 59     STD     3 execve
 57     STD     2 symlink
 58     STD     3 readlink
 59     STD     3 execve
 69     STD     1 sbrk
 70     STD     1 sstk
 71     STD     6 smmap mmap
 69     STD     1 sbrk
 70     STD     1 sstk
 71     STD     6 smmap mmap
-72     STD     1 ovadvise
+72     STD     1 ovadvise vadvise
 73     STD     2 munmap
 74     STD     3 mprotect
 75     STD     3 madvise
 73     STD     2 munmap
 74     STD     3 mprotect
 75     STD     3 madvise
-76     COMPAT  0 vhangup
+76     OBSOL   0 vhangup
 77     OBSOL   0 vlimit
 78     STD     3 mincore
 79     STD     2 getgroups
 80     STD     2 setgroups
 81     STD     1 getpgrp
 77     OBSOL   0 vlimit
 78     STD     3 mincore
 79     STD     2 getgroups
 80     STD     2 setgroups
 81     STD     1 getpgrp
-82     STD     2 setpgrp
+82     STD     2 setpgid
 83     STD     3 setitimer
 84     COMPAT  0 wait
 85     STD     1 swapon
 83     STD     3 setitimer
 84     COMPAT  0 wait
 85     STD     1 swapon
 123    STD     3 fchown
 124    STD     2 fchmod
 125    COMPAT  6 recvfrom
 123    STD     3 fchown
 124    STD     2 fchmod
 125    COMPAT  6 recvfrom
-126    STD     2 setreuid
-127    STD     2 setregid
+126    LIBCOMPAT       2 setreuid
+127    LIBCOMPAT       2 setregid
 128    STD     2 rename
 129    STD     2 truncate
 130    STD     2 ftruncate
 128    STD     2 rename
 129    STD     2 truncate
 130    STD     2 ftruncate
 146    COMPAT  2 killpg
 147    STD     0 setsid
 148    STD     4 quotactl
 146    COMPAT  2 killpg
 147    STD     0 setsid
 148    STD     4 quotactl
-149    STD     4 oldquota quota
+149    COMPAT  4 quota
 150    COMPAT  3 getsockname
 
 ; Syscalls 151-180 inclusive are reserved for vendor-specific
 ; system calls.  (This includes various calls added for compatibity
 ; with other Unix variants.)
 150    COMPAT  3 getsockname
 
 ; Syscalls 151-180 inclusive are reserved for vendor-specific
 ; system calls.  (This includes various calls added for compatibity
 ; with other Unix variants.)
+; Some of these calls are now supported by BSD...
 151    UNIMPL  0 nosys
 152    UNIMPL  0 nosys
 153    UNIMPL  0 nosys
 154    UNIMPL  0 nosys
 #ifdef NFS
 151    UNIMPL  0 nosys
 152    UNIMPL  0 nosys
 153    UNIMPL  0 nosys
 154    UNIMPL  0 nosys
 #ifdef NFS
-155    STD     3 nfssvc
+155    STD     5 nfssvc
 #else
 155    UNIMPL  0 nosys
 #endif
 #else
 155    UNIMPL  0 nosys
 #endif
 168    UNIMPL  0 nosys
 169    UNIMPL  0 nosys
 170    UNIMPL  0 nosys
 168    UNIMPL  0 nosys
 169    UNIMPL  0 nosys
 170    UNIMPL  0 nosys
+#ifdef SYSVSHM
+171    STD     4 shmsys
+#else
 171    UNIMPL  0 nosys
 171    UNIMPL  0 nosys
+#endif
 172    UNIMPL  0 nosys
 173    UNIMPL  0 nosys
 174    UNIMPL  0 nosys
 172    UNIMPL  0 nosys
 173    UNIMPL  0 nosys
 174    UNIMPL  0 nosys
 179    UNIMPL  0 nosys
 180    UNIMPL  0 nosys
 
 179    UNIMPL  0 nosys
 180    UNIMPL  0 nosys
 
-; Syscalls above 180 are used by BSD
-181    UNIMPL  0 nosys
-182    UNIMPL  0 nosys
-183    UNIMPL  0 nosys
+; Syscalls 180-199 are used by/reserved for BSD
+181    STD     1 setgid
+182    STD     1 setegid
+183    STD     1 seteuid
 184    UNIMPL  0 nosys
 185    UNIMPL  0 nosys
 186    UNIMPL  0 nosys
 184    UNIMPL  0 nosys
 185    UNIMPL  0 nosys
 186    UNIMPL  0 nosys