summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 06:53:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 06:53:59 +0000
commit7eaa1da8a65b7c1bc8323712e85e7711eb61a588 (patch)
tree7b7aeb5684c84a1635d6c8fb99404e1b0d8e0cd9 /sys/compat
parent2da605b2813701516f4d353e12b3829bf1684a1e (diff)
sync
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd/freebsd_syscall.h24
-rw-r--r--sys/compat/freebsd/freebsd_syscallargs.h22
-rw-r--r--sys/compat/freebsd/freebsd_syscalls.c41
-rw-r--r--sys/compat/freebsd/freebsd_sysent.c80
4 files changed, 156 insertions, 11 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h
index 7f6b9927990..cffafbe18b0 100644
--- a/sys/compat/freebsd/freebsd_syscall.h
+++ b/sys/compat/freebsd/freebsd_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
*/
#define FREEBSD_SYS_syscall 0
@@ -193,4 +193,24 @@
#define FREEBSD_SYS_mlock 203
#define FREEBSD_SYS_munlock 204
#define FREEBSD_SYS_undelete 205
-#define FREEBSD_SYS_MAXSYSCALL 220
+#define FREEBSD_SYS_getpgid 207
+#define FREEBSD_SYS_poll 209
+#define FREEBSD_SYS___semctl 220
+#define FREEBSD_SYS_semget 221
+#define FREEBSD_SYS_semop 222
+#define FREEBSD_SYS_semconfig 223
+#define FREEBSD_SYS_msgctl 224
+#define FREEBSD_SYS_msgget 225
+#define FREEBSD_SYS_msgsnd 226
+#define FREEBSD_SYS_msgrcv 227
+#define FREEBSD_SYS_shmat 228
+#define FREEBSD_SYS_shmctl 229
+#define FREEBSD_SYS_shmdt 230
+#define FREEBSD_SYS_shmget 231
+#define FREEBSD_SYS_nanosleep 240
+#define FREEBSD_SYS_minherit 250
+#define FREEBSD_SYS_rfork 251
+#define FREEBSD_SYS_poll 252
+#define FREEBSD_SYS_issetugid 253
+#define FREEBSD_SYS_lchown 254
+#define FREEBSD_SYS_MAXSYSCALL 255
diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h
index c939b63e44b..7f33a130072 100644
--- a/sys/compat/freebsd/freebsd_syscallargs.h
+++ b/sys/compat/freebsd/freebsd_syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -407,3 +407,23 @@ int sys_munlock __P((struct proc *, void *, register_t *));
int freebsd_sys_undelete __P((struct proc *, void *, register_t *));
#else
#endif
+int sys_getpgid __P((struct proc *, void *, register_t *));
+int sys_poll __P((struct proc *, void *, register_t *));
+int sys___semctl __P((struct proc *, void *, register_t *));
+int sys_semget __P((struct proc *, void *, register_t *));
+int sys_semop __P((struct proc *, void *, register_t *));
+int sys_semconfig __P((struct proc *, void *, register_t *));
+int sys_msgctl __P((struct proc *, void *, register_t *));
+int sys_msgget __P((struct proc *, void *, register_t *));
+int sys_msgsnd __P((struct proc *, void *, register_t *));
+int sys_msgrcv __P((struct proc *, void *, register_t *));
+int sys_shmat __P((struct proc *, void *, register_t *));
+int sys_shmctl __P((struct proc *, void *, register_t *));
+int sys_shmdt __P((struct proc *, void *, register_t *));
+int sys_shmget __P((struct proc *, void *, register_t *));
+int sys_nanosleep __P((struct proc *, void *, register_t *));
+int sys_minherit __P((struct proc *, void *, register_t *));
+int sys_rfork __P((struct proc *, void *, register_t *));
+int sys_poll __P((struct proc *, void *, register_t *));
+int sys_issetugid __P((struct proc *, void *, register_t *));
+int sys_lchown __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c
index e3dcfe6c913..88b92d9076b 100644
--- a/sys/compat/freebsd/freebsd_syscalls.c
+++ b/sys/compat/freebsd/freebsd_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
*/
char *freebsd_syscallnames[] = {
@@ -252,9 +252,9 @@ char *freebsd_syscallnames[] = {
"#205 (unimplemented)", /* 205 = unimplemented */
#endif
"#206 (unimplemented)", /* 206 = unimplemented */
- "#207 (unimplemented)", /* 207 = unimplemented */
+ "getpgid", /* 207 = getpgid */
"#208 (unimplemented)", /* 208 = unimplemented */
- "#209 (unimplemented)", /* 209 = unimplemented */
+ "poll", /* 209 = poll */
"#210 (unimplemented)", /* 210 = unimplemented */
"#211 (unimplemented)", /* 211 = unimplemented */
"#212 (unimplemented)", /* 212 = unimplemented */
@@ -265,4 +265,39 @@ char *freebsd_syscallnames[] = {
"#217 (unimplemented)", /* 217 = unimplemented */
"#218 (unimplemented)", /* 218 = unimplemented */
"#219 (unimplemented)", /* 219 = unimplemented */
+ "__semctl", /* 220 = __semctl */
+ "semget", /* 221 = semget */
+ "semop", /* 222 = semop */
+ "semconfig", /* 223 = semconfig */
+ "msgctl", /* 224 = msgctl */
+ "msgget", /* 225 = msgget */
+ "msgsnd", /* 226 = msgsnd */
+ "msgrcv", /* 227 = msgrcv */
+ "shmat", /* 228 = shmat */
+ "shmctl", /* 229 = shmctl */
+ "shmdt", /* 230 = shmdt */
+ "shmget", /* 231 = shmget */
+ "#232 (unimplemented)", /* 232 = unimplemented */
+ "#233 (unimplemented)", /* 233 = unimplemented */
+ "#234 (unimplemented)", /* 234 = unimplemented */
+ "#235 (unimplemented)", /* 235 = unimplemented */
+ "#236 (unimplemented)", /* 236 = unimplemented */
+ "#237 (unimplemented)", /* 237 = unimplemented */
+ "#238 (unimplemented)", /* 238 = unimplemented */
+ "#239 (unimplemented)", /* 239 = unimplemented */
+ "nanosleep", /* 240 = nanosleep */
+ "#241 (unimplemented)", /* 241 = unimplemented */
+ "#242 (unimplemented)", /* 242 = unimplemented */
+ "#243 (unimplemented)", /* 243 = unimplemented */
+ "#244 (unimplemented)", /* 244 = unimplemented */
+ "#245 (unimplemented)", /* 245 = unimplemented */
+ "#246 (unimplemented)", /* 246 = unimplemented */
+ "#247 (unimplemented)", /* 247 = unimplemented */
+ "#248 (unimplemented)", /* 248 = unimplemented */
+ "#249 (unimplemented)", /* 249 = unimplemented */
+ "minherit", /* 250 = minherit */
+ "rfork", /* 251 = rfork */
+ "poll", /* 252 = poll */
+ "issetugid", /* 253 = issetugid */
+ "lchown", /* 254 = lchown */
};
diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c
index 506da5f0804..a5ed7b1b297 100644
--- a/sys/compat/freebsd/freebsd_sysent.c
+++ b/sys/compat/freebsd/freebsd_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.4 1996/08/02 20:29:12 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.5 1997/11/13 06:53:51 deraadt Exp
*/
#include <sys/param.h>
@@ -481,12 +481,12 @@ struct sysent freebsd_sysent[] = {
#endif
{ 0, 0,
sys_nosys }, /* 206 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 207 = unimplemented */
+ { 1, s(struct sys_getpgid_args),
+ sys_getpgid }, /* 207 = getpgid */
{ 0, 0,
sys_nosys }, /* 208 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 209 = unimplemented */
+ { 3, s(struct sys_poll_args),
+ sys_poll }, /* 209 = poll */
{ 0, 0,
sys_nosys }, /* 210 = unimplemented */
{ 0, 0,
@@ -507,5 +507,75 @@ struct sysent freebsd_sysent[] = {
sys_nosys }, /* 218 = unimplemented */
{ 0, 0,
sys_nosys }, /* 219 = unimplemented */
+ { 4, s(struct sys___semctl_args),
+ sys___semctl }, /* 220 = __semctl */
+ { 3, s(struct sys_semget_args),
+ sys_semget }, /* 221 = semget */
+ { 3, s(struct sys_semop_args),
+ sys_semop }, /* 222 = semop */
+ { 1, s(struct sys_semconfig_args),
+ sys_semconfig }, /* 223 = semconfig */
+ { 3, s(struct sys_msgctl_args),
+ sys_msgctl }, /* 224 = msgctl */
+ { 2, s(struct sys_msgget_args),
+ sys_msgget }, /* 225 = msgget */
+ { 4, s(struct sys_msgsnd_args),
+ sys_msgsnd }, /* 226 = msgsnd */
+ { 5, s(struct sys_msgrcv_args),
+ sys_msgrcv }, /* 227 = msgrcv */
+ { 3, s(struct sys_shmat_args),
+ sys_shmat }, /* 228 = shmat */
+ { 3, s(struct sys_shmctl_args),
+ sys_shmctl }, /* 229 = shmctl */
+ { 1, s(struct sys_shmdt_args),
+ sys_shmdt }, /* 230 = shmdt */
+ { 3, s(struct sys_shmget_args),
+ sys_shmget }, /* 231 = shmget */
+ { 0, 0,
+ sys_nosys }, /* 232 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 233 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 234 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 235 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 236 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 237 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 238 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 239 = unimplemented */
+ { 2, s(struct sys_nanosleep_args),
+ sys_nanosleep }, /* 240 = nanosleep */
+ { 0, 0,
+ sys_nosys }, /* 241 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 242 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 243 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 244 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 245 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 246 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 247 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 248 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 249 = unimplemented */
+ { 3, s(struct sys_minherit_args),
+ sys_minherit }, /* 250 = minherit */
+ { 1, s(struct sys_rfork_args),
+ sys_rfork }, /* 251 = rfork */
+ { 3, s(struct sys_poll_args),
+ sys_poll }, /* 252 = poll */
+ { 0, 0,
+ sys_issetugid }, /* 253 = issetugid */
+ { 3, s(struct sys_lchown_args),
+ sys_lchown }, /* 254 = lchown */
};