Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/aout Update for new msgctl()/semctl()/shmctl(), a...



details:   https://anonhg.NetBSD.org/src/rev/235de4e261ce
branches:  trunk
changeset: 475758:235de4e261ce
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Aug 25 04:45:24 1999 +0000

description:
Update for new msgctl()/semctl()/shmctl(), and add fhopen(), fhstat(),
and fhstatfs().

diffstat:

 sys/compat/aout/syscalls.master |  55 +++++++++++++++++++++++++++++++++-------
 1 files changed, 45 insertions(+), 10 deletions(-)

diffs (100 lines):

diff -r 1a0f06c874b3 -r 235de4e261ce sys/compat/aout/syscalls.master
--- a/sys/compat/aout/syscalls.master   Wed Aug 25 04:35:34 1999 +0000
+++ b/sys/compat/aout/syscalls.master   Wed Aug 25 04:45:24 1999 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.4 1999/07/12 21:55:19 kleink Exp $
+       $NetBSD: syscalls.master,v 1.5 1999/08/25 04:45:24 thorpej Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -441,28 +441,36 @@
 #endif /* !LKM */
 ; System calls 220-300 are reserved for use by NetBSD
 #if defined(SYSVSEM) || !defined(_KERNEL)
-220    NOARGS          { int sys___semctl(int semid, int semnum, int cmd, \
-                           union semun *arg); }
+#ifdef COMPAT_14
+220    NOARGS          { int compat_14_sys___semctl(int semid, \
+                           int semnum, int cmd, union __semun *arg); }
+#else
+220    EXCL            compat_14_semctl
+#endif
 221    NOARGS          { int sys_semget(key_t key, int nsems, int semflg); }
 222    NOARGS          { int sys_semop(int semid, struct sembuf *sops, \
                            size_t nsops); }
 223    NOARGS          { int sys_semconfig(int flag); }
 #else
-220    EXCL            semctl
+220    EXCL            compat_14_semctl
 221    EXCL            semget
 222    EXCL            semop
 223    EXCL            semconfig
 #endif
 #if defined(SYSVMSG) || !defined(_KERNEL)
-224    NOARGS          { int sys_msgctl(int msqid, int cmd, \
-                           struct msqid_ds *buf); }
+#ifdef COMPAT_14
+224    NOARGS          { int compat_14_sys_msgctl(int msqid, int cmd, \
+                           struct msqid_ds14 *buf); }
+#else
+224    EXCL            compat_14_sys_msgctl
+#endif
 225    NOARGS          { int sys_msgget(key_t key, int msgflg); }
 226    NOARGS          { int sys_msgsnd(int msqid, const void *msgp, \
                            size_t msgsz, int msgflg); }
 227    NOARGS          { ssize_t sys_msgrcv(int msqid, void *msgp, \
                            size_t msgsz, long msgtyp, int msgflg); }
 #else
-224    EXCL            msgctl
+224    EXCL            compat_14_msgctl
 225    EXCL            msgget
 226    EXCL            msgsnd
 227    EXCL            msgrcv
@@ -470,13 +478,17 @@
 #if defined(SYSVSHM) || !defined(_KERNEL)
 228    NOARGS          { void *sys_shmat(int shmid, const void *shmaddr, \
                            int shmflg); }
-229    NOARGS          { int sys_shmctl(int shmid, int cmd, \
-                           struct shmid_ds *buf); }
+#ifdef COMPAT_14
+229    NOARGS          { int compat_14_sys_shmctl(int shmid, int cmd, \
+                           struct shmid_ds14 *buf); }
+#else
+229    EXCL            compat_14_sys_shmctl
+#endif
 230    NOARGS          { int sys_shmdt(const void *shmaddr); }
 231    NOARGS          { int sys_shmget(key_t key, size_t size, int shmflg); }
 #else
 228    EXCL            shmat
-229    EXCL            shmctl
+229    EXCL            compat_14_shmctl
 230    EXCL            shmdt
 231    EXCL            shmget
 #endif
@@ -575,3 +587,26 @@
 295    NOARGS          { int sys___sigreturn14(struct sigcontext *sigcntxp); }
 296    NOARGS          { int sys___getcwd(char *bufp, size_t length); }
 297    NOARGS          { int sys_fchroot(int fd); }
+298    NOARGS          { int sys_fhopen(const fhandle_t *fhp, int flags); }
+299    NOARGS          { int sys_fhstat(const fhandle_t *fhp, \
+                           struct stat *sb); }
+300    NOARGS          { int sys_fhstatfs(const fhandle_t *fhp, \
+                           struct statfs *buf); }
+#if defined(SYSVSEM) || !defined(_KERNEL)
+301    NOARGS          { int sys___semctl13(int semid, int semnum, int cmd, \
+                           union __semun arg); }
+#else
+301    EXCL            __semctl13
+#endif
+#if defined(SYSVMSG) || !defined(_KERNEL)
+302    NOARGS          { int sys___msgctl13(int msqid, int cmd, \
+                           struct msqid_ds *buf); }
+#else
+302    EXCL            __msgctl13
+#endif
+#if defined(SYSVSHM) || !defined(_KERNEL)
+303    NOARGS          { int sys___shmctl13(int shmid, int cmd, \
+                           struct shmid_ds *buf); }
+#else
+303    EXCL            __shmctl13
+#endif



Home | Main Index | Thread Index | Old Index