Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/compat/linux/arch Pull up regenerated files (reques...



details:   https://anonhg.NetBSD.org/src/rev/8f84cf0c8057
branches:  netbsd-1-5
changeset: 491468:8f84cf0c8057
user:      he <he%NetBSD.org@localhost>
date:      Tue May 01 08:57:19 2001 +0000

description:
Pull up regenerated files (requested by jdolecek):
  Make it possible to use a different function for unimplemented
  syscalls than sys_nosys(), so that the Linux emulation can avoid
  posting SIGSYS and instead just return ENOSYS.

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h     |    2 +-
 sys/compat/linux/arch/alpha/linux_syscallargs.h |    4 +-
 sys/compat/linux/arch/alpha/linux_syscalls.c    |    2 +-
 sys/compat/linux/arch/alpha/linux_sysent.c      |  470 ++++++++++++------------
 sys/compat/linux/arch/i386/linux_syscall.h      |    4 +-
 sys/compat/linux/arch/i386/linux_syscallargs.h  |    6 +-
 sys/compat/linux/arch/i386/linux_syscalls.c     |    4 +-
 sys/compat/linux/arch/i386/linux_sysent.c       |   90 ++--
 sys/compat/linux/arch/m68k/linux_syscall.h      |    4 +-
 sys/compat/linux/arch/m68k/linux_syscallargs.h  |    6 +-
 sys/compat/linux/arch/m68k/linux_syscalls.c     |    4 +-
 sys/compat/linux/arch/m68k/linux_sysent.c       |  116 ++--
 12 files changed, 356 insertions(+), 356 deletions(-)

diffs (truncated from 1669 to 300 lines):

diff -r 19ba3f8e7f99 -r 8f84cf0c8057 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Tue May 01 08:56:18 2001 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Tue May 01 08:57:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscall.h,v 1.18.4.1 2001/03/30 21:54:01 he Exp $        */
+/*     $NetBSD: linux_syscall.h,v 1.18.4.2 2001/05/01 08:57:19 he Exp $        */
 
 /*
  * System call numbers.
diff -r 19ba3f8e7f99 -r 8f84cf0c8057 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Tue May 01 08:56:18 2001 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Tue May 01 08:57:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscallargs.h,v 1.18.4.1 2001/03/30 21:54:01 he Exp $    */
+/*     $NetBSD: linux_syscallargs.h,v 1.18.4.2 2001/05/01 08:57:20 he Exp $    */
 
 /*
  * System call argument lists.
@@ -430,7 +430,7 @@
  * System call prototypes.
  */
 
-int    sys_nosys       __P((struct proc *, void *, register_t *));
+int    linux_sys_nosys __P((struct proc *, void *, register_t *));
 int    sys_exit        __P((struct proc *, void *, register_t *));
 int    sys_fork        __P((struct proc *, void *, register_t *));
 int    sys_read        __P((struct proc *, void *, register_t *));
diff -r 19ba3f8e7f99 -r 8f84cf0c8057 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Tue May 01 08:56:18 2001 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Tue May 01 08:57:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscalls.c,v 1.18.4.1 2001/03/30 21:54:01 he Exp $       */
+/*     $NetBSD: linux_syscalls.c,v 1.18.4.2 2001/05/01 08:57:20 he Exp $       */
 
 /*
  * System call names.
diff -r 19ba3f8e7f99 -r 8f84cf0c8057 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Tue May 01 08:56:18 2001 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Tue May 01 08:57:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sysent.c,v 1.19.4.1 2001/03/30 21:54:01 he Exp $ */
+/*     $NetBSD: linux_sysent.c,v 1.19.4.2 2001/05/01 08:57:20 he Exp $ */
 
 /*
  * System call switch table.
@@ -29,7 +29,7 @@
 
 struct sysent linux_sysent[] = {
        { 0, 0,
-           sys_nosys },                        /* 0 = syscall */
+           linux_sys_nosys },                  /* 0 = syscall */
        { 1, s(struct sys_exit_args),
            sys_exit },                         /* 1 = exit */
        { 0, 0,
@@ -39,11 +39,11 @@
        { 3, s(struct sys_write_args),
            sys_write },                        /* 4 = write */
        { 0, 0,
-           sys_nosys },                        /* 5 = unimplemented */
+           linux_sys_nosys },                  /* 5 = unimplemented */
        { 1, s(struct sys_close_args),
            sys_close },                        /* 6 = close */
        { 0, 0,
-           sys_nosys },                        /* 7 = unimplemented osf_wait4 */
+           linux_sys_nosys },                  /* 7 = unimplemented osf_wait4 */
        { 2, s(struct linux_sys_creat_args),
            linux_sys_creat },                  /* 8 = creat */
        { 2, s(struct linux_sys_link_args),
@@ -51,7 +51,7 @@
        { 1, s(struct linux_sys_unlink_args),
            linux_sys_unlink },                 /* 10 = unlink */
        { 0, 0,
-           sys_nosys },                        /* 11 = unimplemented */
+           linux_sys_nosys },                  /* 11 = unimplemented */
        { 1, s(struct linux_sys_chdir_args),
            linux_sys_chdir },                  /* 12 = chdir */
        { 1, s(struct sys_fchdir_args),
@@ -65,83 +65,83 @@
        { 1, s(struct linux_sys_brk_args),
            linux_sys_brk },                    /* 17 = brk */
        { 0, 0,
-           sys_nosys },                        /* 18 = unimplemented */
+           linux_sys_nosys },                  /* 18 = unimplemented */
        { 3, s(struct compat_43_sys_lseek_args),
            compat_43_sys_lseek },              /* 19 = lseek */
        { 0, 0,
            sys_getpid },                       /* 20 = getpid */
        { 0, 0,
-           sys_nosys },                        /* 21 = unimplemented osf_mount */
+           linux_sys_nosys },                  /* 21 = unimplemented osf_mount */
        { 0, 0,
-           sys_nosys },                        /* 22 = unimplemented osf_umount */
+           linux_sys_nosys },                  /* 22 = unimplemented osf_umount */
        { 1, s(struct sys_setuid_args),
            sys_setuid },                       /* 23 = setuid */
        { 0, 0,
            sys_getuid },                       /* 24 = getuid */
        { 0, 0,
-           sys_nosys },                        /* 25 = unimplemented */
+           linux_sys_nosys },                  /* 25 = unimplemented */
        { 4, s(struct linux_sys_ptrace_args),
            linux_sys_ptrace },                 /* 26 = ptrace */
        { 0, 0,
-           sys_nosys },                        /* 27 = unimplemented */
+           linux_sys_nosys },                  /* 27 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 28 = unimplemented */
+           linux_sys_nosys },                  /* 28 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 29 = unimplemented */
+           linux_sys_nosys },                  /* 29 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 30 = unimplemented */
+           linux_sys_nosys },                  /* 30 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 31 = unimplemented */
+           linux_sys_nosys },                  /* 31 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 32 = unimplemented */
+           linux_sys_nosys },                  /* 32 = unimplemented */
        { 2, s(struct linux_sys_access_args),
            linux_sys_access },                 /* 33 = access */
        { 0, 0,
-           sys_nosys },                        /* 34 = unimplemented */
+           linux_sys_nosys },                  /* 34 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 35 = unimplemented */
+           linux_sys_nosys },                  /* 35 = unimplemented */
        { 0, 0,
            sys_sync },                         /* 36 = sync */
        { 2, s(struct linux_sys_kill_args),
            linux_sys_kill },                   /* 37 = kill */
        { 0, 0,
-           sys_nosys },                        /* 38 = unimplemented */
+           linux_sys_nosys },                  /* 38 = unimplemented */
        { 2, s(struct sys_setpgid_args),
            sys_setpgid },                      /* 39 = setpgid */
        { 0, 0,
-           sys_nosys },                        /* 40 = unimplemented */
+           linux_sys_nosys },                  /* 40 = unimplemented */
        { 1, s(struct sys_dup_args),
            sys_dup },                          /* 41 = dup */
        { 0, 0,
            linux_sys_pipe },                   /* 42 = pipe */
        { 0, 0,
-           sys_nosys },                        /* 43 = unimplemented osf_set_program_attributes */
+           linux_sys_nosys },                  /* 43 = unimplemented osf_set_program_attributes */
        { 0, 0,
-           sys_nosys },                        /* 44 = unimplemented */
+           linux_sys_nosys },                  /* 44 = unimplemented */
        { 3, s(struct linux_sys_open_args),
            linux_sys_open },                   /* 45 = open */
        { 0, 0,
-           sys_nosys },                        /* 46 = unimplemented */
+           linux_sys_nosys },                  /* 46 = unimplemented */
        { 0, 0,
            sys_getgid },                       /* 47 = getgid */
        { 0, 0,
-           sys_nosys },                        /* 48 = unimplemented osf_sigprocmask */
+           linux_sys_nosys },                  /* 48 = unimplemented osf_sigprocmask */
        { 0, 0,
-           sys_nosys },                        /* 49 = unimplemented */
+           linux_sys_nosys },                  /* 49 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 50 = unimplemented */
+           linux_sys_nosys },                  /* 50 = unimplemented */
        { 1, s(struct sys_acct_args),
            sys_acct },                         /* 51 = acct */
        { 1, s(struct linux_sys_sigpending_args),
            linux_sys_sigpending },             /* 52 = sigpending */
        { 0, 0,
-           sys_nosys },                        /* 53 = unimplemented */
+           linux_sys_nosys },                  /* 53 = unimplemented */
        { 3, s(struct linux_sys_ioctl_args),
            linux_sys_ioctl },                  /* 54 = ioctl */
        { 0, 0,
-           sys_nosys },                        /* 55 = unimplemented */
+           linux_sys_nosys },                  /* 55 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 56 = unimplemented */
+           linux_sys_nosys },                  /* 56 = unimplemented */
        { 2, s(struct linux_sys_symlink_args),
            linux_sys_symlink },                /* 57 = symlink */
        { 3, s(struct linux_sys_readlink_args),
@@ -153,13 +153,13 @@
        { 1, s(struct sys_chroot_args),
            sys_chroot },                       /* 61 = chroot */
        { 0, 0,
-           sys_nosys },                        /* 62 = unimplemented */
+           linux_sys_nosys },                  /* 62 = unimplemented */
        { 0, 0,
            sys_getpgrp },                      /* 63 = getpgrp */
        { 0, 0,
            compat_43_sys_getpagesize },        /* 64 = getpagesize */
        { 0, 0,
-           sys_nosys },                        /* 65 = unimplemented */
+           linux_sys_nosys },                  /* 65 = unimplemented */
        { 0, 0,
            sys___vfork14 },                    /* 66 = __vfork14 */
        { 2, s(struct linux_sys_stat_args),
@@ -167,47 +167,47 @@
        { 2, s(struct linux_sys_lstat_args),
            linux_sys_lstat },                  /* 68 = lstat */
        { 0, 0,
-           sys_nosys },                        /* 69 = unimplemented */
+           linux_sys_nosys },                  /* 69 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 70 = unimplemented */
+           linux_sys_nosys },                  /* 70 = unimplemented */
        { 6, s(struct linux_sys_mmap_args),
            linux_sys_mmap },                   /* 71 = mmap */
        { 0, 0,
-           sys_nosys },                        /* 72 = unimplemented */
+           linux_sys_nosys },                  /* 72 = unimplemented */
        { 2, s(struct sys_munmap_args),
            sys_munmap },                       /* 73 = munmap */
        { 3, s(struct sys_mprotect_args),
            sys_mprotect },                     /* 74 = mprotect */
        { 0, 0,
-           sys_nosys },                        /* 75 = unimplemented madvise */
+           linux_sys_nosys },                  /* 75 = unimplemented madvise */
        { 0, 0,
-           sys_nosys },                        /* 76 = unimplemented vhangup */
+           linux_sys_nosys },                  /* 76 = unimplemented vhangup */
        { 0, 0,
-           sys_nosys },                        /* 77 = unimplemented */
+           linux_sys_nosys },                  /* 77 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 78 = unimplemented */
+           linux_sys_nosys },                  /* 78 = unimplemented */
        { 2, s(struct sys_getgroups_args),
            sys_getgroups },                    /* 79 = getgroups */
        { 2, s(struct sys_setgroups_args),
            sys_setgroups },                    /* 80 = setgroups */
        { 0, 0,
-           sys_nosys },                        /* 81 = unimplemented */
+           linux_sys_nosys },                  /* 81 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 82 = unimplemented setpgrp */
+           linux_sys_nosys },                  /* 82 = unimplemented setpgrp */
        { 0, 0,
-           sys_nosys },                        /* 83 = unimplemented osf_setitimer */
+           linux_sys_nosys },                  /* 83 = unimplemented osf_setitimer */
        { 0, 0,
-           sys_nosys },                        /* 84 = unimplemented */
+           linux_sys_nosys },                  /* 84 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 85 = unimplemented */
+           linux_sys_nosys },                  /* 85 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 86 = unimplemented osf_getitimer */
+           linux_sys_nosys },                  /* 86 = unimplemented osf_getitimer */
        { 2, s(struct compat_43_sys_gethostname_args),
            compat_43_sys_gethostname },        /* 87 = gethostname */
        { 2, s(struct compat_43_sys_sethostname_args),
            compat_43_sys_sethostname },        /* 88 = sethostname */
        { 0, 0,
-           sys_nosys },                        /* 89 = unimplemented getdtablesize */
+           linux_sys_nosys },                  /* 89 = unimplemented getdtablesize */
        { 2, s(struct sys_dup2_args),
            sys_dup2 },                         /* 90 = dup2 */
        { 2, s(struct linux_sys_fstat_args),
@@ -215,7 +215,7 @@
        { 3, s(struct linux_sys_fcntl_args),
            linux_sys_fcntl },                  /* 92 = fcntl */
        { 0, 0,
-           sys_nosys },                        /* 93 = unimplemented osf_select */
+           linux_sys_nosys },                  /* 93 = unimplemented osf_select */
        { 3, s(struct sys_poll_args),
            sys_poll },                         /* 94 = poll */
        { 1, s(struct sys_fsync_args),
@@ -243,37 +243,37 @@
        { 2, s(struct sys_listen_args),
            sys_listen },                       /* 106 = listen */
        { 0, 0,
-           sys_nosys },                        /* 107 = unimplemented */
+           linux_sys_nosys },                  /* 107 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 108 = unimplemented */
+           linux_sys_nosys },                  /* 108 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 109 = unimplemented */
+           linux_sys_nosys },                  /* 109 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 110 = unimplemented */
+           linux_sys_nosys },                  /* 110 = unimplemented */
        { 3, s(struct linux_sys_sigsuspend_args),
            linux_sys_sigsuspend },             /* 111 = sigsuspend */
        { 0, 0,
-           sys_nosys },                        /* 112 = unimplemented */
+           linux_sys_nosys },                  /* 112 = unimplemented */
        { 3, s(struct sys_recvmsg_args),
            sys_recvmsg },                      /* 113 = recvmsg */
        { 3, s(struct sys_sendmsg_args),
            sys_sendmsg },                      /* 114 = sendmsg */
        { 0, 0,
-           sys_nosys },                        /* 115 = unimplemented */
+           linux_sys_nosys },                  /* 115 = unimplemented */
        { 0, 0,
-           sys_nosys },                        /* 116 = unimplemented osf_gettimeofday */



Home | Main Index | Thread Index | Old Index