Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/aout propagate changes from kern



details:   https://anonhg.NetBSD.org/src/rev/1f3be51734b3
branches:  trunk
changeset: 473603:1f3be51734b3
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 09 04:27:44 1999 +0000

description:
propagate changes from kern

diffstat:

 sys/compat/aout/syscalls.master |  106 +++++++++++++++++++--------------------
 1 files changed, 52 insertions(+), 54 deletions(-)

diffs (236 lines):

diff -r 04623cee1fbf -r 1f3be51734b3 sys/compat/aout/syscalls.master
--- a/sys/compat/aout/syscalls.master   Wed Jun 09 04:27:01 1999 +0000
+++ b/sys/compat/aout/syscalls.master   Wed Jun 09 04:27:44 1999 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp $
+       $NetBSD: syscalls.master,v 1.3 1999/06/09 04:27:44 christos Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -14,6 +14,7 @@
 ;      STD     always included
 ;      OBSOL   obsolete, not included in system
 ;      UNIMPL  unimplemented, not included in system
+;      EXCL    implemented, but not included in system
 ;      NODEF   included, but don't define the syscall number
 ;      NOARGS  included, but don't define the syscall args structure
 ;      INDIR   included, but don't define the syscall args structure,
@@ -122,11 +123,11 @@
 43     NOARGS          { gid_t sys_getegid(void); }
 44     NOARGS          { int sys_profil(caddr_t samples, size_t size, \
                            u_long offset, u_int scale); }
-#ifdef KTRACE
+#if defined(KTRACE) || !defined(_KERNEL)
 45     STD             { int aout_sys_ktrace(const char *fname, int ops, \
                            int facs, int pid); }
 #else
-45     UNIMPL          ktrace
+45     EXCL            ktrace
 #endif
 46     NOARGS          { int compat_13_sys_sigaction(int signum, \
                            const struct sigaction13 *nsa, \
@@ -233,11 +234,7 @@
                            struct omsghdr *msg, int flags); } orecvmsg
 114    NOARGS          { int compat_43_sys_sendmsg(int s, caddr_t msg, \
                            int flags); } osendmsg
-#ifdef TRACE
-115    NOARGS          { int sys_vtrace(int request, int value); }
-#else
 115    OBSOL           vtrace
-#endif
 116    NOARGS          { int sys_gettimeofday(struct timeval *tp, \
                            struct timezone *tzp); }
 117    NOARGS          { int sys_getrusage(int who, struct rusage *rusage); }
@@ -303,10 +300,10 @@
 152    UNIMPL
 153    UNIMPL
 154    UNIMPL
-#if defined(NFS) || defined(NFSSERVER)
+#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
 155    NOARGS          { int sys_nfssvc(int flag, void *argp); }
 #else
-155    UNIMPL
+155    EXCL            nfssvc
 #endif
 156    NOARGS          { int compat_43_sys_getdirentries(int fd, char *buf, \
                            u_int count, long *basep); } ogetdirentries
@@ -315,11 +312,11 @@
 158    NOARGS          { int sys_fstatfs(int fd, struct statfs *buf); }
 159    UNIMPL
 160    UNIMPL
-#if defined(NFS) || defined(NFSSERVER)
+#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
 161    STD             { int aout_sys_getfh(const char *fname, \
                            fhandle_t *fhp); }
 #else
-161    UNIMPL          getfh
+161    EXCL            getfh
 #endif
 162    NOARGS          { int compat_09_sys_getdomainname(char *domainname, \
                            int len); } ogetdomainname
@@ -332,25 +329,25 @@
 167    UNIMPL
 168    UNIMPL
 ; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
-#if defined(SYSVSEM) && !defined(alpha)
+#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
 169    NOARGS          { int compat_10_sys_semsys(int which, int a2, int a3, \
                            int a4, int a5); } osemsys
 #else
-169    UNIMPL          1.0 semsys
+169    EXCL            1.0 semsys
 #endif
 ; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
-#if defined(SYSVMSG) && !defined(alpha)
+#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
 170    NOARGS          { int compat_10_sys_msgsys(int which, int a2, int a3, \
                            int a4, int a5, int a6); } omsgsys
 #else
-170    UNIMPL          1.0 msgsys
+170    EXCL            1.0 msgsys
 #endif
 ; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
-#if defined(SYSVSHM) && !defined(alpha)
+#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
 171    NOARGS          { int compat_10_sys_shmsys(int which, int a2, int a3, \
                            int a4); } oshmsys
 #else
-171    UNIMPL          1.0 shmsys
+171    EXCL            1.0 shmsys
 #endif
 172    UNIMPL
 173    NOARGS          { ssize_t sys_pread(int fd, void *buf, \
@@ -368,18 +365,19 @@
 181    NOARGS          { int sys_setgid(gid_t gid); }
 182    NOARGS          { int sys_setegid(gid_t egid); }
 183    NOARGS          { int sys_seteuid(uid_t euid); }
-#ifdef LFS
-184    NOARGS          { int lfs_bmapv(fsid_t *fsidp, \
+#if defined(LFS) || !defined(_KERNEL)
+184    NOARGS          { int sys_lfs_bmapv(fsid_t *fsidp, \
                            struct block_info *blkiov, int blkcnt); }
-185    NOARGS          { int lfs_markv(fsid_t *fsidp, \
+185    NOARGS          { int sys_lfs_markv(fsid_t *fsidp, \
                            struct block_info *blkiov, int blkcnt); }
-186    NOARGS          { int lfs_segclean(fsid_t *fsidp, u_long segment); }
-187    NOARGS          { int lfs_segwait(fsid_t *fsidp, struct timeval *tv); }
+186    NOARGS          { int sys_lfs_segclean(fsid_t *fsidp, u_long segment); }
+187    NOARGS          { int sys_lfs_segwait(fsid_t *fsidp, \
+                           struct timeval *tv); }
 #else
-184    UNIMPL
-185    UNIMPL
-186    UNIMPL
-187    UNIMPL
+184    EXCL            lfs_bmapv
+185    EXCL            lfs_markv
+186    EXCL            lfs_segclean
+187    EXCL            lfs_segwait
 #endif
 188    STD             { int aout_compat_12_sys_stat(const char *path, \
                            struct stat12 *ub); } stat12
@@ -418,7 +416,7 @@
 ;
 ; Syscalls 210-219 are reserved for dynamically loaded syscalls
 ;
-#ifdef LKM
+#if defined(LKM) || !defined(_KERNEL)
 210    NODEF           { int sys_lkmnosys(void); }
 211    NODEF           { int sys_lkmnosys(void); }
 212    NODEF           { int sys_lkmnosys(void); }
@@ -430,19 +428,19 @@
 218    NODEF           { int sys_lkmnosys(void); }
 219    NODEF           { int sys_lkmnosys(void); }
 #else  /* !LKM */
-210    UNIMPL
-211    UNIMPL
-212    UNIMPL
-213    UNIMPL
-214    UNIMPL
-215    UNIMPL
-216    UNIMPL
-217    UNIMPL
-218    UNIMPL
-219    UNIMPL
+210    EXCL            lkmnosys
+211    EXCL            lkmnosys
+212    EXCL            lkmnosys
+213    EXCL            lkmnosys
+214    EXCL            lkmnosys
+215    EXCL            lkmnosys
+216    EXCL            lkmnosys
+217    EXCL            lkmnosys
+218    EXCL            lkmnosys
+219    EXCL            lkmnosys
 #endif /* !LKM */
 ; System calls 220-300 are reserved for use by NetBSD
-#ifdef SYSVSEM
+#if defined(SYSVSEM) || !defined(_KERNEL)
 220    NOARGS          { int sys___semctl(int semid, int semnum, int cmd, \
                            union semun *arg); }
 221    NOARGS          { int sys_semget(key_t key, int nsems, int semflg); }
@@ -450,12 +448,12 @@
                            size_t nsops); }
 223    NOARGS          { int sys_semconfig(int flag); }
 #else
-220    UNIMPL          semctl
-221    UNIMPL          semget
-222    UNIMPL          semop
-223    UNIMPL          semconfig
+220    EXCL            semctl
+221    EXCL            semget
+222    EXCL            semop
+223    EXCL            semconfig
 #endif
-#ifdef SYSVMSG
+#if defined(SYSVMSG) || !defined(_KERNEL)
 224    NOARGS          { int sys_msgctl(int msqid, int cmd, \
                            struct msqid_ds *buf); }
 225    NOARGS          { int sys_msgget(key_t key, int msgflg); }
@@ -464,12 +462,12 @@
 227    NOARGS          { ssize_t sys_msgrcv(int msqid, void *msgp, \
                            size_t msgsz, long msgtyp, int msgflg); }
 #else
-224    UNIMPL          msgctl
-225    UNIMPL          msgget
-226    UNIMPL          msgsnd
-227    UNIMPL          msgrcv
+224    EXCL            msgctl
+225    EXCL            msgget
+226    EXCL            msgsnd
+227    EXCL            msgrcv
 #endif
-#ifdef SYSVSHM
+#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, \
@@ -477,10 +475,10 @@
 230    NOARGS          { int sys_shmdt(const void *shmaddr); }
 231    NOARGS          { int sys_shmget(key_t key, size_t size, int shmflg); }
 #else
-228    UNIMPL          shmat
-229    UNIMPL          shmctl
-230    UNIMPL          shmdt
-231    UNIMPL          shmget
+228    EXCL            shmat
+229    EXCL            shmctl
+230    EXCL            shmdt
+231    EXCL            shmget
 #endif
 232    NOARGS          { int sys_clock_gettime(clockid_t clock_id, \
                            struct timespec *tp); }
@@ -554,11 +552,11 @@
                            gid_t gid); }
 286    NOARGS          { pid_t sys_getsid(pid_t pid); }
 287    UNIMPL
-#ifdef KTRACE
+#if defined(KTRACE) || !defined(_KERNEL)
 288    NOARGS          { int sys_fktrace(const int fd, int ops, \
                            int facs, int pid); }
 #else
-288    UNIMPL
+288    EXCL            ktrace
 #endif
 289    NOARGS          { ssize_t sys_preadv(int fd, \
                            const struct iovec *iovp, int iovcnt, \



Home | Main Index | Thread Index | Old Index