diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 61d60e81469b..d7024c5ae742 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from Id: syscalls.master,v 1.23 1996/01/08 04:13:25 peter Exp + * created from Id: syscalls.master,v 1.26 1996/02/23 18:20:44 peter Exp */ #include @@ -138,7 +138,7 @@ struct sysent sysent[] = { { 2, (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */ { 2, (sy_call_t *)getrusage }, /* 117 = getrusage */ { 5, (sy_call_t *)getsockopt }, /* 118 = getsockopt */ - { 0, (sy_call_t *)nosys }, /* 119 = nosys */ + { 0, (sy_call_t *)nosys }, /* 119 = resuba */ { 3, (sy_call_t *)readv }, /* 120 = readv */ { 3, (sy_call_t *)writev }, /* 121 = writev */ { 2, (sy_call_t *)settimeofday }, /* 122 = settimeofday */ @@ -170,9 +170,9 @@ struct sysent sysent[] = { { 4, (sy_call_t *)quotactl }, /* 148 = quotactl */ { compat(0,quota) }, /* 149 = old quota */ { compat(3,getsockname) }, /* 150 = old getsockname */ - { 0, (sy_call_t *)nosys }, /* 151 = nosys */ - { 0, (sy_call_t *)nosys }, /* 152 = nosys */ - { 0, (sy_call_t *)nosys }, /* 153 = nosys */ + { 0, (sy_call_t *)nosys }, /* 151 = sem_lock */ + { 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */ + { 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */ { 0, (sy_call_t *)nosys }, /* 154 = nosys */ #ifdef NFS { 2, (sy_call_t *)nfssvc }, /* 155 = nfssvc */ @@ -204,9 +204,9 @@ struct sysent sysent[] = { { 0, (sy_call_t *)nosys }, /* 174 = nosys */ { 0, (sy_call_t *)nosys }, /* 175 = nosys */ { 1, (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */ - { 0, (sy_call_t *)nosys }, /* 177 = nosys */ - { 0, (sy_call_t *)nosys }, /* 178 = nosys */ - { 0, (sy_call_t *)nosys }, /* 179 = nosys */ + { 0, (sy_call_t *)nosys }, /* 177 = sfork */ + { 0, (sy_call_t *)nosys }, /* 178 = getdescriptor */ + { 0, (sy_call_t *)nosys }, /* 179 = setdescriptor */ { 0, (sy_call_t *)nosys }, /* 180 = nosys */ { 1, (sy_call_t *)setgid }, /* 181 = setgid */ { 1, (sy_call_t *)setegid }, /* 182 = setegid */ @@ -266,6 +266,26 @@ struct sysent sysent[] = { { 3, (sy_call_t *)shmctl }, /* 229 = shmctl */ { 1, (sy_call_t *)shmdt }, /* 230 = shmdt */ { 3, (sy_call_t *)shmget }, /* 231 = shmget */ + { 0, (sy_call_t *)nosys }, /* 232 = nosys */ + { 0, (sy_call_t *)nosys }, /* 233 = nosys */ + { 0, (sy_call_t *)nosys }, /* 234 = nosys */ + { 0, (sy_call_t *)nosys }, /* 235 = nosys */ + { 0, (sy_call_t *)nosys }, /* 236 = nosys */ + { 0, (sy_call_t *)nosys }, /* 237 = nosys */ + { 0, (sy_call_t *)nosys }, /* 238 = nosys */ + { 0, (sy_call_t *)nosys }, /* 239 = nosys */ + { 0, (sy_call_t *)nosys }, /* 240 = nosys */ + { 0, (sy_call_t *)nosys }, /* 241 = nosys */ + { 0, (sy_call_t *)nosys }, /* 242 = nosys */ + { 0, (sy_call_t *)nosys }, /* 243 = nosys */ + { 0, (sy_call_t *)nosys }, /* 244 = nosys */ + { 0, (sy_call_t *)nosys }, /* 245 = nosys */ + { 0, (sy_call_t *)nosys }, /* 246 = nosys */ + { 0, (sy_call_t *)nosys }, /* 247 = nosys */ + { 0, (sy_call_t *)nosys }, /* 248 = nosys */ + { 0, (sy_call_t *)nosys }, /* 249 = nosys */ + { 3, (sy_call_t *)minherit }, /* 250 = minherit */ + { 1, (sy_call_t *)rfork }, /* 251 = rfork */ }; struct sysentvec aout_sysvec = { diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 345ac09fc641..7ac8b69f7c6a 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from Id: syscalls.master,v 1.23 1996/01/08 04:13:25 peter Exp + * created from Id: syscalls.master,v 1.26 1996/02/23 18:20:44 peter Exp */ char *syscallnames[] = { @@ -125,7 +125,7 @@ char *syscallnames[] = { "gettimeofday", /* 116 = gettimeofday */ "getrusage", /* 117 = getrusage */ "getsockopt", /* 118 = getsockopt */ - "#119", /* 119 = nosys */ + "#119", /* 119 = resuba */ "readv", /* 120 = readv */ "writev", /* 121 = writev */ "settimeofday", /* 122 = settimeofday */ @@ -157,9 +157,9 @@ char *syscallnames[] = { "quotactl", /* 148 = quotactl */ "old.quota", /* 149 = old quota */ "old.getsockname", /* 150 = old getsockname */ - "#151", /* 151 = nosys */ - "#152", /* 152 = nosys */ - "#153", /* 153 = nosys */ + "#151", /* 151 = sem_lock */ + "#152", /* 152 = sem_wakeup */ + "#153", /* 153 = asyncdaemon */ "#154", /* 154 = nosys */ #ifdef NFS "nfssvc", /* 155 = nfssvc */ @@ -191,9 +191,9 @@ char *syscallnames[] = { "#174", /* 174 = nosys */ "#175", /* 175 = nosys */ "ntp_adjtime", /* 176 = ntp_adjtime */ - "#177", /* 177 = nosys */ - "#178", /* 178 = nosys */ - "#179", /* 179 = nosys */ + "#177", /* 177 = sfork */ + "#178", /* 178 = getdescriptor */ + "#179", /* 179 = setdescriptor */ "#180", /* 180 = nosys */ "setgid", /* 181 = setgid */ "setegid", /* 182 = setegid */ @@ -253,4 +253,24 @@ char *syscallnames[] = { "shmctl", /* 229 = shmctl */ "shmdt", /* 230 = shmdt */ "shmget", /* 231 = shmget */ + "#232", /* 232 = nosys */ + "#233", /* 233 = nosys */ + "#234", /* 234 = nosys */ + "#235", /* 235 = nosys */ + "#236", /* 236 = nosys */ + "#237", /* 237 = nosys */ + "#238", /* 238 = nosys */ + "#239", /* 239 = nosys */ + "#240", /* 240 = nosys */ + "#241", /* 241 = nosys */ + "#242", /* 242 = nosys */ + "#243", /* 243 = nosys */ + "#244", /* 244 = nosys */ + "#245", /* 245 = nosys */ + "#246", /* 246 = nosys */ + "#247", /* 247 = nosys */ + "#248", /* 248 = nosys */ + "#249", /* 249 = nosys */ + "minherit", /* 250 = minherit */ + "rfork", /* 251 = rfork */ }; diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h index 3d42d880a60c..ab5d35f1450c 100644 --- a/sys/sys/syscall-hide.h +++ b/sys/sys/syscall-hide.h @@ -2,7 +2,7 @@ * System call hiders. * * DO NOT EDIT-- this file is automatically generated. - * created from Id: syscalls.master,v 1.23 1996/01/08 04:13:25 peter Exp + * created from Id: syscalls.master,v 1.26 1996/02/23 18:20:44 peter Exp */ HIDE_POSIX(fork) @@ -208,3 +208,5 @@ HIDE_BSD(shmat) HIDE_BSD(shmctl) HIDE_BSD(shmdt) HIDE_BSD(shmget) +HIDE_BSD(minherit) +HIDE_BSD(rfork) diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 306ded560982..b3ebb569e486 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from Id: syscalls.master,v 1.23 1996/01/08 04:13:25 peter Exp + * created from Id: syscalls.master,v 1.26 1996/02/23 18:20:44 peter Exp */ #define SYS_syscall 0 @@ -202,4 +202,6 @@ #define SYS_shmctl 229 #define SYS_shmdt 230 #define SYS_shmget 231 -#define SYS_MAXSYSCALL 232 +#define SYS_minherit 250 +#define SYS_rfork 251 +#define SYS_MAXSYSCALL 252 diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 356169a04eef..b9609d2feb62 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -2,7 +2,7 @@ * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. - * created from Id: syscalls.master,v 1.23 1996/01/08 04:13:25 peter Exp + * created from Id: syscalls.master,v 1.26 1996/02/23 18:20:44 peter Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -252,6 +252,9 @@ struct msync_args { int len; int flags; }; +struct vfork_args { + int dummy; +}; struct sbrk_args { int incr; }; @@ -709,6 +712,14 @@ struct shmget_args { int size; int shmflg; }; +struct minherit_args { + caddr_t addr; + size_t len; + int inherit; +}; +struct rfork_args { + int flags; +}; int nosys __P((struct proc *, struct nosys_args *, int [])); __dead void exit __P((struct proc *, struct rexit_args *, int [])); int fork __P((struct proc *, struct fork_args *, int [])); @@ -767,7 +778,7 @@ int execve __P((struct proc *, struct execve_args *, int [])); mode_t umask __P((struct proc *, struct umask_args *, int [])); int chroot __P((struct proc *, struct chroot_args *, int [])); int msync __P((struct proc *, struct msync_args *, int [])); -int vfork __P((struct proc *, struct fork_args *, int [])); +int vfork __P((struct proc *, struct vfork_args *, int [])); int sbrk __P((struct proc *, struct sbrk_args *, int [])); int sstk __P((struct proc *, struct sstk_args *, int [])); int ovadvise __P((struct proc *, struct ovadvise_args *, int [])); @@ -875,6 +886,8 @@ int shmat __P((struct proc *, struct shmat_args *, int [])); int shmctl __P((struct proc *, struct shmctl_args *, int [])); int shmdt __P((struct proc *, struct shmdt_args *, int [])); int shmget __P((struct proc *, struct shmget_args *, int [])); +int minherit __P((struct proc *, struct minherit_args *, int [])); +int rfork __P((struct proc *, struct rfork_args *, int [])); #ifdef COMPAT_43