Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Use UIO_SYSSPACE for NDINIT. Found by Eike Dehling.



details:   https://anonhg.NetBSD.org/src/rev/477af9b7281c
branches:  trunk
changeset: 579978:477af9b7281c
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Apr 03 17:29:15 2005 +0000

description:
Use UIO_SYSSPACE for NDINIT. Found by Eike Dehling.

diffstat:

 sys/dev/verified_exec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e88dcec5ca0d -r 477af9b7281c sys/dev/verified_exec.c
--- a/sys/dev/verified_exec.c   Sun Apr 03 17:27:15 2005 +0000
+++ b/sys/dev/verified_exec.c   Sun Apr 03 17:29:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: verified_exec.c,v 1.5 2005/02/27 00:26:58 perry Exp $  */
+/*     $NetBSD: verified_exec.c,v 1.6 2005/04/03 17:29:15 martin Exp $ */
 
 /*-
  * Copyright (c) 1998-1999 Brett Lymn
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.5 2005/02/27 00:26:58 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.6 2005/04/03 17:29:15 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -212,7 +212,7 @@
                           * along with it's fingerprint in a list for
                           * exec to use later.
                           */
-                        NDINIT(&nid, LOOKUP, FOLLOW, UIO_USERSPACE,
+                        NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE,
                                params->file, p);
                        if ((error = vn_open(&nid, FREAD, 0)) != 0) {
                                return(error);



Home | Main Index | Thread Index | Old Index