Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/dev Pull up revision 1.6 (requested by kleink in ti...



details:   https://anonhg.NetBSD.org/src/rev/bcf6af751832
branches:  netbsd-2-0
changeset: 564794:bcf6af751832
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Jun 11 12:31:41 2005 +0000

description:
Pull up revision 1.6 (requested by kleink in ticket #1988):
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 61c055d8422e -r bcf6af751832 sys/dev/verified_exec.c
--- a/sys/dev/verified_exec.c   Wed Jun 08 11:39:48 2005 +0000
+++ b/sys/dev/verified_exec.c   Sat Jun 11 12:31:41 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: verified_exec.c,v 1.4 2003/07/14 15:47:04 lukem Exp $  */
+/*     $NetBSD: verified_exec.c,v 1.4.2.1 2005/06/11 12:31:41 tron Exp $       */
 
 /*-
  * Copyright (c) 1998-1999 Brett Lymn
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.4 2003/07/14 15:47:04 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.4.2.1 2005/06/11 12:31:41 tron 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