Update for new msgctl()/semctl()/shmctl(), and add fhopen(), fhstat(),

and fhstatfs().
This commit is contained in:
thorpej 1999-08-25 04:45:24 +00:00
parent 708b54cada
commit 943b6fe91f
1 changed files with 45 additions and 10 deletions

View File

@ -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 ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@ -441,28 +441,36 @@
#endif /* !LKM */ #endif /* !LKM */
; System calls 220-300 are reserved for use by NetBSD ; System calls 220-300 are reserved for use by NetBSD
#if defined(SYSVSEM) || !defined(_KERNEL) #if defined(SYSVSEM) || !defined(_KERNEL)
220 NOARGS { int sys___semctl(int semid, int semnum, int cmd, \ #ifdef COMPAT_14
union semun *arg); } 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); } 221 NOARGS { int sys_semget(key_t key, int nsems, int semflg); }
222 NOARGS { int sys_semop(int semid, struct sembuf *sops, \ 222 NOARGS { int sys_semop(int semid, struct sembuf *sops, \
size_t nsops); } size_t nsops); }
223 NOARGS { int sys_semconfig(int flag); } 223 NOARGS { int sys_semconfig(int flag); }
#else #else
220 EXCL semctl 220 EXCL compat_14_semctl
221 EXCL semget 221 EXCL semget
222 EXCL semop 222 EXCL semop
223 EXCL semconfig 223 EXCL semconfig
#endif #endif
#if defined(SYSVMSG) || !defined(_KERNEL) #if defined(SYSVMSG) || !defined(_KERNEL)
224 NOARGS { int sys_msgctl(int msqid, int cmd, \ #ifdef COMPAT_14
struct msqid_ds *buf); } 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); } 225 NOARGS { int sys_msgget(key_t key, int msgflg); }
226 NOARGS { int sys_msgsnd(int msqid, const void *msgp, \ 226 NOARGS { int sys_msgsnd(int msqid, const void *msgp, \
size_t msgsz, int msgflg); } size_t msgsz, int msgflg); }
227 NOARGS { ssize_t sys_msgrcv(int msqid, void *msgp, \ 227 NOARGS { ssize_t sys_msgrcv(int msqid, void *msgp, \
size_t msgsz, long msgtyp, int msgflg); } size_t msgsz, long msgtyp, int msgflg); }
#else #else
224 EXCL msgctl 224 EXCL compat_14_msgctl
225 EXCL msgget 225 EXCL msgget
226 EXCL msgsnd 226 EXCL msgsnd
227 EXCL msgrcv 227 EXCL msgrcv
@ -470,13 +478,17 @@
#if defined(SYSVSHM) || !defined(_KERNEL) #if defined(SYSVSHM) || !defined(_KERNEL)
228 NOARGS { void *sys_shmat(int shmid, const void *shmaddr, \ 228 NOARGS { void *sys_shmat(int shmid, const void *shmaddr, \
int shmflg); } int shmflg); }
229 NOARGS { int sys_shmctl(int shmid, int cmd, \ #ifdef COMPAT_14
struct shmid_ds *buf); } 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); } 230 NOARGS { int sys_shmdt(const void *shmaddr); }
231 NOARGS { int sys_shmget(key_t key, size_t size, int shmflg); } 231 NOARGS { int sys_shmget(key_t key, size_t size, int shmflg); }
#else #else
228 EXCL shmat 228 EXCL shmat
229 EXCL shmctl 229 EXCL compat_14_shmctl
230 EXCL shmdt 230 EXCL shmdt
231 EXCL shmget 231 EXCL shmget
#endif #endif
@ -575,3 +587,26 @@
295 NOARGS { int sys___sigreturn14(struct sigcontext *sigcntxp); } 295 NOARGS { int sys___sigreturn14(struct sigcontext *sigcntxp); }
296 NOARGS { int sys___getcwd(char *bufp, size_t length); } 296 NOARGS { int sys___getcwd(char *bufp, size_t length); }
297 NOARGS { int sys_fchroot(int fd); } 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