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



details:   https://anonhg.NetBSD.org/src/rev/8060a8585e9a
branches:  netbsd-1-5
changeset: 492981:8060a8585e9a
user:      he <he%NetBSD.org@localhost>
date:      Wed Mar 20 23:38:56 2002 +0000

description:
Pull up regenerated files (requested by dmcmahill):
  Add entry for flock(), needed by Netscape communicator.

diffstat:

 sys/compat/osf1/osf1_syscall.h     |   7 +++++--
 sys/compat/osf1/osf1_syscallargs.h |  27 ++++++++++++++-------------
 sys/compat/osf1/osf1_syscalls.c    |   6 +++---
 sys/compat/osf1/osf1_sysent.c      |   8 ++++----
 4 files changed, 26 insertions(+), 22 deletions(-)

diffs (131 lines):

diff -r bed50b7e1d43 -r 8060a8585e9a sys/compat/osf1/osf1_syscall.h
--- a/sys/compat/osf1/osf1_syscall.h    Wed Mar 20 23:37:18 2002 +0000
+++ b/sys/compat/osf1/osf1_syscall.h    Wed Mar 20 23:38:56 2002 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscall.h,v 1.36 1999/05/10 06:00:10 cgd Exp $    */
+/*     $NetBSD: osf1_syscall.h,v 1.36.12.1 2002/03/20 23:38:56 he Exp $        */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.30 1999/05/10 05:58:44 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.30.12.1 2002/03/20 23:37:18 he Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -288,6 +288,9 @@
 /* syscall: "ftruncate" ret: "int" args: "int" "off_t" */
 #define        OSF1_SYS_ftruncate      130
 
+/* syscall: "flock" ret: "int" args: "int" "int" */
+#define        OSF1_SYS_flock  131
+
 /* syscall: "setgid" ret: "int" args: "gid_t" */
 #define        OSF1_SYS_setgid 132
 
diff -r bed50b7e1d43 -r 8060a8585e9a sys/compat/osf1/osf1_syscallargs.h
--- a/sys/compat/osf1/osf1_syscallargs.h        Wed Mar 20 23:37:18 2002 +0000
+++ b/sys/compat/osf1/osf1_syscallargs.h        Wed Mar 20 23:38:56 2002 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscallargs.h,v 1.36 1999/05/10 06:00:11 cgd Exp $        */
+/*     $NetBSD: osf1_syscallargs.h,v 1.36.12.1 2002/03/20 23:38:57 he Exp $    */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.30 1999/05/10 05:58:44 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.30.12.1 2002/03/20 23:37:18 he Exp 
  */
 
 #ifndef _OSF1_SYS__SYSCALLARGS_H_
@@ -14,17 +14,17 @@
 #undef syscallarg
 #endif
 
-#define        syscallarg(x)                                                           \
-               union {                                                         \
-                       register_t pad;                                         \
-                       struct { x datum; } le;                                 \
-                       struct {                                                \
-                               int8_t pad[ (sizeof (register_t) < sizeof (x))  \
-                                       ? 0                                     \
-                                       : sizeof (register_t) - sizeof (x)];    \
-                               x datum;                                        \
-                       } be;                                                   \
-               }
+#define        syscallarg(x)                                                   \
+       union {                                                         \
+               register_t pad;                                         \
+               struct { x datum; } le;                                 \
+               struct {                                                \
+                       int8_t pad[ (sizeof (register_t) < sizeof (x))  \
+                               ? 0                                     \
+                               : sizeof (register_t) - sizeof (x)];    \
+                       x datum;                                        \
+               } be;                                                   \
+       }
 
 struct osf1_sys_wait4_args {
        syscallarg(int) pid;
@@ -429,6 +429,7 @@
 int    sys___posix_rename      __P((struct proc *, void *, register_t *));
 int    osf1_sys_truncate       __P((struct proc *, void *, register_t *));
 int    osf1_sys_ftruncate      __P((struct proc *, void *, register_t *));
+int    sys_flock       __P((struct proc *, void *, register_t *));
 int    osf1_sys_setgid __P((struct proc *, void *, register_t *));
 int    osf1_sys_sendto __P((struct proc *, void *, register_t *));
 int    sys_shutdown    __P((struct proc *, void *, register_t *));
diff -r bed50b7e1d43 -r 8060a8585e9a sys/compat/osf1/osf1_syscalls.c
--- a/sys/compat/osf1/osf1_syscalls.c   Wed Mar 20 23:37:18 2002 +0000
+++ b/sys/compat/osf1/osf1_syscalls.c   Wed Mar 20 23:38:56 2002 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscalls.c,v 1.34 1999/05/10 06:00:11 cgd Exp $   */
+/*     $NetBSD: osf1_syscalls.c,v 1.34.12.1 2002/03/20 23:38:57 he Exp $       */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.30 1999/05/10 05:58:44 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.30.12.1 2002/03/20 23:37:18 he Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -151,7 +151,7 @@
        "__posix_rename",                       /* 128 = __posix_rename */
        "truncate",                     /* 129 = truncate */
        "ftruncate",                    /* 130 = ftruncate */
-       "#131 (unimplemented flock)",           /* 131 = unimplemented flock */
+       "flock",                        /* 131 = flock */
        "setgid",                       /* 132 = setgid */
        "sendto",                       /* 133 = sendto */
        "shutdown",                     /* 134 = shutdown */
diff -r bed50b7e1d43 -r 8060a8585e9a sys/compat/osf1/osf1_sysent.c
--- a/sys/compat/osf1/osf1_sysent.c     Wed Mar 20 23:37:18 2002 +0000
+++ b/sys/compat/osf1/osf1_sysent.c     Wed Mar 20 23:38:56 2002 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_sysent.c,v 1.36 1999/05/10 06:00:11 cgd Exp $     */
+/*     $NetBSD: osf1_sysent.c,v 1.36.12.1 2002/03/20 23:38:57 he Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.30 1999/05/10 05:58:44 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.30.12.1 2002/03/20 23:37:18 he Exp 
  */
 
 #include "opt_compat_43.h"
@@ -282,8 +282,8 @@
            osf1_sys_truncate },                /* 129 = truncate */
        { 2, s(struct osf1_sys_ftruncate_args),
            osf1_sys_ftruncate },               /* 130 = ftruncate */
-       { 0, 0,
-           sys_nosys },                        /* 131 = unimplemented flock */
+       { 2, s(struct sys_flock_args),
+           sys_flock },                        /* 131 = flock */
        { 1, s(struct osf1_sys_setgid_args),
            osf1_sys_setgid },                  /* 132 = setgid */
        { 6, s(struct osf1_sys_sendto_args),



Home | Main Index | Thread Index | Old Index