Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/compat/ultrix Pull up regenerated files (requested ...



details:   https://anonhg.NetBSD.org/src/rev/21024c9f3535
branches:  netbsd-1-4
changeset: 470228:21024c9f3535
user:      he <he%NetBSD.org@localhost>
date:      Mon Jan 31 20:42:48 2000 +0000

description:
Pull up regenerated files (requested by mhitch):
  Emulate Ultrix fcntl(F_SETLK) & Co. so the Ultrix seti@home client
  works.

diffstat:

 sys/compat/ultrix/ultrix_syscall.h     |   2 +-
 sys/compat/ultrix/ultrix_syscallargs.h |  10 ++++++++--
 sys/compat/ultrix/ultrix_syscalls.c    |   2 +-
 sys/compat/ultrix/ultrix_sysent.c      |   6 +++---
 4 files changed, 13 insertions(+), 7 deletions(-)

diffs (69 lines):

diff -r 8c69fa9b9ac4 -r 21024c9f3535 sys/compat/ultrix/ultrix_syscall.h
--- a/sys/compat/ultrix/ultrix_syscall.h        Mon Jan 31 20:42:03 2000 +0000
+++ b/sys/compat/ultrix/ultrix_syscall.h        Mon Jan 31 20:42:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_syscall.h,v 1.36 1999/02/09 20:32:47 christos Exp $     */
+/*     $NetBSD: ultrix_syscall.h,v 1.36.2.1 2000/01/31 20:42:48 he Exp $       */
 
 /*
  * System call numbers.
diff -r 8c69fa9b9ac4 -r 21024c9f3535 sys/compat/ultrix/ultrix_syscallargs.h
--- a/sys/compat/ultrix/ultrix_syscallargs.h    Mon Jan 31 20:42:03 2000 +0000
+++ b/sys/compat/ultrix/ultrix_syscallargs.h    Mon Jan 31 20:42:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_syscallargs.h,v 1.30 1999/02/09 20:32:47 christos Exp $ */
+/*     $NetBSD: ultrix_syscallargs.h,v 1.30.2.1 2000/01/31 20:42:49 he Exp $   */
 
 /*
  * System call argument lists.
@@ -103,6 +103,12 @@
        syscallarg(struct rusage *) rusage;
 };
 
+struct ultrix_sys_fcntl_args {
+       syscallarg(int) fd;
+       syscallarg(int) cmd;
+       syscallarg(void *) arg;
+};
+
 struct ultrix_sys_select_args {
        syscallarg(u_int) nd;
        syscallarg(fd_set *) in;
@@ -292,7 +298,7 @@
 int    compat_43_sys_sethostname       __P((struct proc *, void *, register_t *));
 int    compat_43_sys_getdtablesize     __P((struct proc *, void *, register_t *));
 int    sys_dup2        __P((struct proc *, void *, register_t *));
-int    sys_fcntl       __P((struct proc *, void *, register_t *));
+int    ultrix_sys_fcntl        __P((struct proc *, void *, register_t *));
 int    ultrix_sys_select       __P((struct proc *, void *, register_t *));
 int    sys_fsync       __P((struct proc *, void *, register_t *));
 int    sys_setpriority __P((struct proc *, void *, register_t *));
diff -r 8c69fa9b9ac4 -r 21024c9f3535 sys/compat/ultrix/ultrix_syscalls.c
--- a/sys/compat/ultrix/ultrix_syscalls.c       Mon Jan 31 20:42:03 2000 +0000
+++ b/sys/compat/ultrix/ultrix_syscalls.c       Mon Jan 31 20:42:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_syscalls.c,v 1.34 1999/02/09 20:32:47 christos Exp $    */
+/*     $NetBSD: ultrix_syscalls.c,v 1.34.2.1 2000/01/31 20:42:50 he Exp $      */
 
 /*
  * System call names.
diff -r 8c69fa9b9ac4 -r 21024c9f3535 sys/compat/ultrix/ultrix_sysent.c
--- a/sys/compat/ultrix/ultrix_sysent.c Mon Jan 31 20:42:03 2000 +0000
+++ b/sys/compat/ultrix/ultrix_sysent.c Mon Jan 31 20:42:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_sysent.c,v 1.35 1999/02/09 20:32:47 christos Exp $      */
+/*     $NetBSD: ultrix_sysent.c,v 1.35.2.1 2000/01/31 20:42:49 he Exp $        */
 
 /*
  * System call switch table.
@@ -203,8 +203,8 @@
            sys_dup2 },                         /* 90 = dup2 */
        { 0, 0,
            sys_nosys },                        /* 91 = unimplemented getdopt */
-       { 3, s(struct sys_fcntl_args),
-           sys_fcntl },                        /* 92 = fcntl */
+       { 3, s(struct ultrix_sys_fcntl_args),
+           ultrix_sys_fcntl },                 /* 92 = fcntl */
        { 5, s(struct ultrix_sys_select_args),
            ultrix_sys_select },                /* 93 = select */
        { 0, 0,



Home | Main Index | Thread Index | Old Index