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/freebsd Pull up regenerated files (requested...



details:   https://anonhg.NetBSD.org/src/rev/92d0dc7018c2
branches:  netbsd-1-5
changeset: 492924:92d0dc7018c2
user:      he <he%NetBSD.org@localhost>
date:      Wed Mar 06 22:05:13 2002 +0000

description:
Pull up regenerated files (requested by jonathan):
  Add support for FreeBSD 4.x signals; fixes PR#9769.

diffstat:

 sys/compat/freebsd/freebsd_syscall.h     |  17 +++++++++++++++--
 sys/compat/freebsd/freebsd_syscallargs.h |  17 +++++++++++++++--
 sys/compat/freebsd/freebsd_syscalls.c    |  17 +++++++++++------
 sys/compat/freebsd/freebsd_sysent.c      |  26 ++++++++++++++++----------
 4 files changed, 57 insertions(+), 20 deletions(-)

diffs (197 lines):

diff -r 3e86736754f7 -r 92d0dc7018c2 sys/compat/freebsd/freebsd_syscall.h
--- a/sys/compat/freebsd/freebsd_syscall.h      Wed Mar 06 22:04:25 2002 +0000
+++ b/sys/compat/freebsd/freebsd_syscall.h      Wed Mar 06 22:05:13 2002 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: freebsd_syscall.h,v 1.33 2000/05/23 16:05:51 tv Exp $  */
+/*     $NetBSD: freebsd_syscall.h,v 1.33.4.1 2002/03/06 22:05:13 he Exp $      */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.26 2000/04/21 16:18:16 minoura Exp 
+ * created from        NetBSD: syscalls.master,v 1.27.4.1 2002/03/06 22:04:25 he Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -487,6 +487,7 @@
 /* syscall: "freebsd_ntp_adjtime" ret: "int" args: "struct freebsd_timex *" */
 #define        FREEBSD_SYS_freebsd_ntp_adjtime 176
 
+                               /* 176 is excluded ntp_adjtime */
 /* syscall: "setgid" ret: "int" args: "gid_t" */
 #define        FREEBSD_SYS_setgid      181
 
@@ -661,4 +662,16 @@
 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
 #define        FREEBSD_SYS___getcwd    326
 
+/* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */
+#define        FREEBSD_SYS___sigprocmask14     340
+
+/* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
+#define        FREEBSD_SYS___sigsuspend14      341
+
+/* syscall: "sigaction4" ret: "int" args: "int" "const struct freebsd_sigaction4 *" "struct freebsd_sigaction4 *" */
+#define        FREEBSD_SYS_sigaction4  342
+
+/* syscall: "__sigpending14" ret: "int" args: "const sigset_t *" */
+#define        FREEBSD_SYS___sigpending14      343
+
 #define        FREEBSD_SYS_MAXSYSCALL  364
diff -r 3e86736754f7 -r 92d0dc7018c2 sys/compat/freebsd/freebsd_syscallargs.h
--- a/sys/compat/freebsd/freebsd_syscallargs.h  Wed Mar 06 22:04:25 2002 +0000
+++ b/sys/compat/freebsd/freebsd_syscallargs.h  Wed Mar 06 22:05:13 2002 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: freebsd_syscallargs.h,v 1.33 2000/05/23 16:05:51 tv Exp $      */
+/*     $NetBSD: freebsd_syscallargs.h,v 1.33.4.1 2002/03/06 22:05:13 he Exp $  */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.26 2000/04/21 16:18:16 minoura Exp 
+ * created from        NetBSD: syscalls.master,v 1.27.4.1 2002/03/06 22:04:25 he Exp 
  */
 
 #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
@@ -246,6 +246,12 @@
        syscallarg(int) gid;
 };
 
+struct freebsd_sys_sigaction4_args {
+       syscallarg(int) signum;
+       syscallarg(const struct freebsd_sigaction4 *) nsa;
+       syscallarg(struct freebsd_sigaction4 *) osa;
+};
+
 /*
  * System call prototypes.
  */
@@ -427,7 +433,10 @@
 #endif
 int    sys_pread       __P((struct proc *, void *, register_t *));
 int    sys_pwrite      __P((struct proc *, void *, register_t *));
+#ifdef NTP
 int    freebsd_ntp_adjtime     __P((struct proc *, void *, register_t *));
+#else
+#endif
 int    sys_setgid      __P((struct proc *, void *, register_t *));
 int    sys_setegid     __P((struct proc *, void *, register_t *));
 int    sys_seteuid     __P((struct proc *, void *, register_t *));
@@ -504,4 +513,8 @@
 int    sys_mlockall    __P((struct proc *, void *, register_t *));
 int    sys_munlockall  __P((struct proc *, void *, register_t *));
 int    sys___getcwd    __P((struct proc *, void *, register_t *));
+int    sys___sigprocmask14     __P((struct proc *, void *, register_t *));
+int    sys___sigsuspend14      __P((struct proc *, void *, register_t *));
+int    freebsd_sys_sigaction4  __P((struct proc *, void *, register_t *));
+int    sys___sigpending14      __P((struct proc *, void *, register_t *));
 #endif /* _FREEBSD_SYS__SYSCALLARGS_H_ */
diff -r 3e86736754f7 -r 92d0dc7018c2 sys/compat/freebsd/freebsd_syscalls.c
--- a/sys/compat/freebsd/freebsd_syscalls.c     Wed Mar 06 22:04:25 2002 +0000
+++ b/sys/compat/freebsd/freebsd_syscalls.c     Wed Mar 06 22:05:13 2002 +0000
@@ -1,15 +1,16 @@
-/*     $NetBSD: freebsd_syscalls.c,v 1.32 2000/05/23 16:05:51 tv Exp $ */
+/*     $NetBSD: freebsd_syscalls.c,v 1.32.4.1 2002/03/06 22:05:13 he Exp $     */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.26 2000/04/21 16:18:16 minoura Exp 
+ * created from        NetBSD: syscalls.master,v 1.27.4.1 2002/03/06 22:04:25 he Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
 #include "opt_ktrace.h"
 #include "opt_nfsserver.h"
+#include "opt_ntp.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
 #include "fs_lfs.h"
@@ -228,7 +229,11 @@
        "pread",                        /* 173 = pread */
        "pwrite",                       /* 174 = pwrite */
        "#175 (unimplemented)",         /* 175 = unimplemented */
+#ifdef NTP
        "freebsd_ntp_adjtime",                  /* 176 = freebsd_ntp_adjtime */
+#else
+       "#176 (excluded ntp_adjtime)",          /* 176 = excluded ntp_adjtime */
+#endif
        "#177 (unimplemented sfork)",           /* 177 = unimplemented sfork */
        "#178 (unimplemented getdescriptor)",           /* 178 = unimplemented getdescriptor */
        "#179 (unimplemented setdescriptor)",           /* 179 = unimplemented setdescriptor */
@@ -428,10 +433,10 @@
        "#337 (unimplemented kldsym)",          /* 337 = unimplemented kldsym */
        "#338 (unimplemented jail)",            /* 338 = unimplemented jail */
        "#339 (unimplemented pioctl)",          /* 339 = unimplemented pioctl */
-       "#340 (unimplemented 4.0 sigprocmask)",         /* 340 = unimplemented 4.0 sigprocmask */
-       "#341 (unimplemented 4.0 sigsuspend)",          /* 341 = unimplemented 4.0 sigsuspend */
-       "#342 (unimplemented 4.0 sigaction)",           /* 342 = unimplemented 4.0 sigaction */
-       "#343 (unimplemented 4.0 sigpending)",          /* 343 = unimplemented 4.0 sigpending */
+       "__sigprocmask14",                      /* 340 = __sigprocmask14 */
+       "__sigsuspend14",                       /* 341 = __sigsuspend14 */
+       "sigaction4",                   /* 342 = sigaction4 */
+       "__sigpending14",                       /* 343 = __sigpending14 */
        "#344 (unimplemented 4.0 sigreturn)",           /* 344 = unimplemented 4.0 sigreturn */
        "#345 (unimplemented sigtimedwait)",            /* 345 = unimplemented sigtimedwait */
        "#346 (unimplemented sigwaitinfo)",             /* 346 = unimplemented sigwaitinfo */
diff -r 3e86736754f7 -r 92d0dc7018c2 sys/compat/freebsd/freebsd_sysent.c
--- a/sys/compat/freebsd/freebsd_sysent.c       Wed Mar 06 22:04:25 2002 +0000
+++ b/sys/compat/freebsd/freebsd_sysent.c       Wed Mar 06 22:05:13 2002 +0000
@@ -1,14 +1,15 @@
-/*     $NetBSD: freebsd_sysent.c,v 1.34 2000/05/23 16:05:51 tv Exp $   */
+/*     $NetBSD: freebsd_sysent.c,v 1.34.4.1 2002/03/06 22:05:13 he Exp $       */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.26 2000/04/21 16:18:16 minoura Exp 
+ * created from        NetBSD: syscalls.master,v 1.27.4.1 2002/03/06 22:04:25 he Exp 
  */
 
 #include "opt_ktrace.h"
 #include "opt_nfsserver.h"
+#include "opt_ntp.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
 #include "fs_lfs.h"
@@ -411,8 +412,13 @@
            sys_pwrite },                       /* 174 = pwrite */
        { 0, 0,
            sys_nosys },                        /* 175 = unimplemented */
+#ifdef NTP
        { 1, s(struct freebsd_ntp_adjtime_args),
            freebsd_ntp_adjtime },              /* 176 = freebsd_ntp_adjtime */
+#else
+       { 0, 0,
+           sys_nosys },                        /* 176 = excluded ntp_adjtime */
+#endif
        { 0, 0,
            sys_nosys },                        /* 177 = unimplemented sfork */
        { 0, 0,
@@ -793,14 +799,14 @@
            sys_nosys },                        /* 338 = unimplemented jail */
        { 0, 0,
            sys_nosys },                        /* 339 = unimplemented pioctl */
-       { 0, 0,
-           sys_nosys },                        /* 340 = unimplemented 4.0 sigprocmask */
-       { 0, 0,
-           sys_nosys },                        /* 341 = unimplemented 4.0 sigsuspend */
-       { 0, 0,
-           sys_nosys },                        /* 342 = unimplemented 4.0 sigaction */
-       { 0, 0,
-           sys_nosys },                        /* 343 = unimplemented 4.0 sigpending */
+       { 3, s(struct sys___sigprocmask14_args),
+           sys___sigprocmask14 },              /* 340 = __sigprocmask14 */
+       { 1, s(struct sys___sigsuspend14_args),
+           sys___sigsuspend14 },               /* 341 = __sigsuspend14 */
+       { 3, s(struct freebsd_sys_sigaction4_args),
+           freebsd_sys_sigaction4 },           /* 342 = sigaction4 */
+       { 1, s(struct sys___sigpending14_args),
+           sys___sigpending14 },               /* 343 = __sigpending14 */
        { 0, 0,
            sys_nosys },                        /* 344 = unimplemented 4.0 sigreturn */
        { 0, 0,



Home | Main Index | Thread Index | Old Index