Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Use vmspace of calling [rump kerne...
details: https://anonhg.NetBSD.org/src/rev/550768985ce3
branches: trunk
changeset: 337123:550768985ce3
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Apr 03 16:37:02 2015 +0000
description:
Use vmspace of calling [rump kernel] process instead of sysspace.
diffstat:
sys/rump/librump/rumpkern/accessors.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cfb5d126a01e -r 550768985ce3 sys/rump/librump/rumpkern/accessors.c
--- a/sys/rump/librump/rumpkern/accessors.c Fri Apr 03 15:52:50 2015 +0000
+++ b/sys/rump/librump/rumpkern/accessors.c Fri Apr 03 16:37:02 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: accessors.c,v 1.1 2014/04/25 18:25:38 pooka Exp $ */
+/* $NetBSD: accessors.c,v 1.2 2015/04/03 16:37:02 pooka Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: accessors.c,v 1.1 2014/04/25 18:25:38 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: accessors.c,v 1.2 2015/04/03 16:37:02 pooka Exp $");
#include <sys/param.h>
#include <sys/kauth.h>
@@ -68,7 +68,7 @@
uio->uio_offset = offset;
uio->uio_resid = bufsize;
uio->uio_rw = uiorw;
- UIO_SETUP_SYSSPACE(uio);
+ uio->uio_vmspace = curproc->p_vmspace;
return uio;
}
Home |
Main Index |
Thread Index |
Old Index