Source-Changes-HG archive

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

[src/yamt-uio_vmspace]: src/sys/compat/svr4 adapt compat/svr4.



details:   https://anonhg.NetBSD.org/src/rev/44f6a9c527e4
branches:  yamt-uio_vmspace
changeset: 586712:44f6a9c527e4
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Feb 05 12:45:28 2006 +0000

description:
adapt compat/svr4.

diffstat:

 sys/compat/svr4/svr4_misc.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 66760a0fdb4e -r 44f6a9c527e4 sys/compat/svr4/svr4_misc.c
--- a/sys/compat/svr4/svr4_misc.c       Sun Feb 05 12:23:56 2006 +0000
+++ b/sys/compat/svr4/svr4_misc.c       Sun Feb 05 12:45:28 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_misc.c,v 1.115 2005/12/24 20:45:08 perry Exp $     */
+/*     $NetBSD: svr4_misc.c,v 1.115.2.1 2006/02/05 12:45:28 yamt Exp $  */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.115 2005/12/24 20:45:08 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.115.2.1 2006/02/05 12:45:28 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -299,10 +299,9 @@
        auio.uio_iov = &aiov;
        auio.uio_iovcnt = 1;
        auio.uio_rw = UIO_READ;
-       auio.uio_segflg = UIO_SYSSPACE;
-       auio.uio_lwp = NULL;
        auio.uio_resid = buflen;
        auio.uio_offset = off;
+       UIO_SETUP_SYSSPACE(&auio);
        /*
          * First we read into the malloc'ed buffer, then
          * we massage it into user space, one record at a time.
@@ -425,10 +424,9 @@
        auio.uio_iov = &aiov;
        auio.uio_iovcnt = 1;
        auio.uio_rw = UIO_READ;
-       auio.uio_segflg = UIO_SYSSPACE;
-       auio.uio_lwp = NULL;
        auio.uio_resid = buflen;
        auio.uio_offset = off;
+       UIO_SETUP_SYSSPACE(&auio);
        /*
          * First we read into the malloc'ed buffer, then
          * we massage it into user space, one record at a time.



Home | Main Index | Thread Index | Old Index