summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-15 04:46:32 +0000
committerpeter <peter@FreeBSD.org>1995-12-15 04:46:32 +0000
commite7734481579a66c9373b359458f1e3b2e3cf061b (patch)
tree353999e089a2a89d184257ba63add13532e5d990 /sys
parent54080e6dab809437c3ddcf34b406cb1cb6313d88 (diff)
downloadFreeBSD-src-e7734481579a66c9373b359458f1e3b2e3cf061b.zip
FreeBSD-src-e7734481579a66c9373b359458f1e3b2e3cf061b.tar.gz
Regenerated from syscalls.master...
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c35
-rw-r--r--sys/kern/syscalls.c35
-rw-r--r--sys/sys/syscall-hide.h35
-rw-r--r--sys/sys/syscall.h16
-rw-r--r--sys/sys/sysproto.h100
5 files changed, 215 insertions, 6 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 9d357fa..89004d9 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.19 1995/11/12 04:24:53 bde Exp
+ * created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
*/
#include <sys/types.h>
@@ -270,6 +270,39 @@ struct sysent sysent[] = {
{ 0, (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */
{ 0, (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */
{ 0, (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */
+#ifdef SYSVSEM
+ { 4, (sy_call_t *)__semctl }, /* 220 = __semctl */
+ { 3, (sy_call_t *)semget }, /* 221 = semget */
+ { 3, (sy_call_t *)semop }, /* 222 = semop */
+ { 1, (sy_call_t *)semconfig }, /* 223 = semconfig */
+#else
+ { 0, (sy_call_t *)nosys }, /* 220 = semctl */
+ { 0, (sy_call_t *)nosys }, /* 221 = semget */
+ { 0, (sy_call_t *)nosys }, /* 222 = semop */
+ { 0, (sy_call_t *)nosys }, /* 223 = semconfig */
+#endif
+#ifdef SYSVMSG
+ { 3, (sy_call_t *)msgctl }, /* 224 = msgctl */
+ { 2, (sy_call_t *)msgget }, /* 225 = msgget */
+ { 4, (sy_call_t *)msgsnd }, /* 226 = msgsnd */
+ { 5, (sy_call_t *)msgrcv }, /* 227 = msgrcv */
+#else
+ { 0, (sy_call_t *)nosys }, /* 224 = msgctl */
+ { 0, (sy_call_t *)nosys }, /* 225 = msgget */
+ { 0, (sy_call_t *)nosys }, /* 226 = msgsnd */
+ { 0, (sy_call_t *)nosys }, /* 227 = msgrcv */
+#endif
+#ifdef SYSVSHM
+ { 3, (sy_call_t *)shmat }, /* 228 = shmat */
+ { 3, (sy_call_t *)shmctl }, /* 229 = shmctl */
+ { 1, (sy_call_t *)shmdt }, /* 230 = shmdt */
+ { 3, (sy_call_t *)shmget }, /* 231 = shmget */
+#else
+ { 0, (sy_call_t *)nosys }, /* 228 = shmat */
+ { 0, (sy_call_t *)nosys }, /* 229 = shmctl */
+ { 0, (sy_call_t *)nosys }, /* 230 = shmdt */
+ { 0, (sy_call_t *)nosys }, /* 231 = shmget */
+#endif
};
struct sysentvec aout_sysvec = {
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index e651a9d..4410f78 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.19 1995/11/12 04:24:53 bde Exp
+ * created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
*/
char *syscallnames[] = {
@@ -257,4 +257,37 @@ char *syscallnames[] = {
"lkmnosys", /* 217 = lkmnosys */
"lkmnosys", /* 218 = lkmnosys */
"lkmnosys", /* 219 = lkmnosys */
+#ifdef SYSVSEM
+ "__semctl", /* 220 = __semctl */
+ "semget", /* 221 = semget */
+ "semop", /* 222 = semop */
+ "semconfig", /* 223 = semconfig */
+#else
+ "#220", /* 220 = semctl */
+ "#221", /* 221 = semget */
+ "#222", /* 222 = semop */
+ "#223", /* 223 = semconfig */
+#endif
+#ifdef SYSVMSG
+ "msgctl", /* 224 = msgctl */
+ "msgget", /* 225 = msgget */
+ "msgsnd", /* 226 = msgsnd */
+ "msgrcv", /* 227 = msgrcv */
+#else
+ "#224", /* 224 = msgctl */
+ "#225", /* 225 = msgget */
+ "#226", /* 226 = msgsnd */
+ "#227", /* 227 = msgrcv */
+#endif
+#ifdef SYSVSHM
+ "shmat", /* 228 = shmat */
+ "shmctl", /* 229 = shmctl */
+ "shmdt", /* 230 = shmdt */
+ "shmget", /* 231 = shmget */
+#else
+ "#228", /* 228 = shmat */
+ "#229", /* 229 = shmctl */
+ "#230", /* 230 = shmdt */
+ "#231", /* 231 = shmget */
+#endif
};
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index 7026c71..0ed52ec 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.19 1995/11/12 04:24:53 bde Exp
+ * created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
*/
HIDE_POSIX(fork)
@@ -210,3 +210,36 @@ HIDE_BSD(ftruncate)
HIDE_BSD(__sysctl)
HIDE_BSD(mlock)
HIDE_BSD(munlock)
+#ifdef SYSVSEM
+HIDE_BSD(__semctl)
+HIDE_BSD(semget)
+HIDE_BSD(semop)
+HIDE_BSD(semconfig)
+#else
+HIDE_BSD(semctl)
+HIDE_BSD(semget)
+HIDE_BSD(semop)
+HIDE_BSD(semconfig)
+#endif
+#ifdef SYSVMSG
+HIDE_BSD(msgctl)
+HIDE_BSD(msgget)
+HIDE_BSD(msgsnd)
+HIDE_BSD(msgrcv)
+#else
+HIDE_BSD(msgctl)
+HIDE_BSD(msgget)
+HIDE_BSD(msgsnd)
+HIDE_BSD(msgrcv)
+#endif
+#ifdef SYSVSHM
+HIDE_BSD(shmat)
+HIDE_BSD(shmctl)
+HIDE_BSD(shmdt)
+HIDE_BSD(shmget)
+#else
+HIDE_BSD(shmat)
+HIDE_BSD(shmctl)
+HIDE_BSD(shmdt)
+HIDE_BSD(shmget)
+#endif
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 0c72ade..3db9ed0 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.19 1995/11/12 04:24:53 bde Exp
+ * created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
*/
#define SYS_syscall 0
@@ -190,4 +190,16 @@
#define SYS___sysctl 202
#define SYS_mlock 203
#define SYS_munlock 204
-#define SYS_MAXSYSCALL 220
+#define SYS___semctl 220
+#define SYS_semget 221
+#define SYS_semop 222
+#define SYS_semconfig 223
+#define SYS_msgctl 224
+#define SYS_msgget 225
+#define SYS_msgsnd 226
+#define SYS_msgrcv 227
+#define SYS_shmat 228
+#define SYS_shmctl 229
+#define SYS_shmdt 230
+#define SYS_shmget 231
+#define SYS_MAXSYSCALL 232
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 877eccb..0404da8 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.19 1995/11/12 04:24:53 bde Exp
+ * created from Id: syscalls.master,v 1.20 1995/12/15 04:36:01 peter Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -662,6 +662,74 @@ struct munlock_args {
caddr_t addr;
size_t len;
};
+#ifdef SYSVSEM
+struct __semctl_args {
+ int semid;
+ int semnum;
+ int cmd;
+ union semun * arg;
+};
+struct semget_args {
+ key_t key;
+ int nsems;
+ int semflg;
+};
+struct semop_args {
+ int semid;
+ struct sembuf * sops;
+ u_int nsops;
+};
+struct semconfig_args {
+ int flag;
+};
+#else
+#endif
+#ifdef SYSVMSG
+struct msgctl_args {
+ int msqid;
+ int cmd;
+ struct msqid_ds * buf;
+};
+struct msgget_args {
+ key_t key;
+ int msgflg;
+};
+struct msgsnd_args {
+ int msqid;
+ void * msgp;
+ size_t msgsz;
+ int msgflg;
+};
+struct msgrcv_args {
+ int msqid;
+ void * msgp;
+ size_t msgsz;
+ long msgtyp;
+ int msgflg;
+};
+#else
+#endif
+#ifdef SYSVSHM
+struct shmat_args {
+ int shmid;
+ void * shmaddr;
+ int shmflg;
+};
+struct shmctl_args {
+ int shmid;
+ int cmd;
+ struct shmid_ds * buf;
+};
+struct shmdt_args {
+ void * shmaddr;
+};
+struct shmget_args {
+ key_t key;
+ int size;
+ int shmflg;
+};
+#else
+#endif
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 []));
@@ -828,6 +896,27 @@ int __sysctl __P((struct proc *, struct sysctl_args *, int []));
int mlock __P((struct proc *, struct mlock_args *, int []));
int munlock __P((struct proc *, struct munlock_args *, int []));
int lkmnosys __P((struct proc *, struct nosys_args *, int []));
+#ifdef SYSVSEM
+int __semctl __P((struct proc *, struct __semctl_args *, int []));
+int semget __P((struct proc *, struct semget_args *, int []));
+int semop __P((struct proc *, struct semop_args *, int []));
+int semconfig __P((struct proc *, struct semconfig_args *, int []));
+#else
+#endif
+#ifdef SYSVMSG
+int msgctl __P((struct proc *, struct msgctl_args *, int []));
+int msgget __P((struct proc *, struct msgget_args *, int []));
+int msgsnd __P((struct proc *, struct msgsnd_args *, int []));
+int msgrcv __P((struct proc *, struct msgrcv_args *, int []));
+#else
+#endif
+#ifdef SYSVSHM
+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 []));
+#else
+#endif
#ifdef COMPAT_43
@@ -966,6 +1055,15 @@ struct ogetdirentries_args {
#ifdef LFS
#else
#endif
+#ifdef SYSVSEM
+#else
+#endif
+#ifdef SYSVMSG
+#else
+#endif
+#ifdef SYSVSHM
+#else
+#endif
int ocreat __P((struct proc *, struct ocreat_args *, int []));
int olseek __P((struct proc *, struct olseek_args *, int []));
int ostat __P((struct proc *, struct ostat_args *, int []));
OpenPOWER on IntegriCloud