Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Set the veriexec table entry pointer to NULL in get...



details:   https://anonhg.NetBSD.org/src/rev/2d97accaa2b4
branches:  trunk
changeset: 582064:2d97accaa2b4
user:      elad <elad%NetBSD.org@localhost>
date:      Wed Jun 15 16:59:27 2005 +0000

description:
Set the veriexec table entry pointer to NULL in getnewvnode().

diffstat:

 sys/kern/vfs_subr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2d965bae33e2 -r 2d97accaa2b4 sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c       Wed Jun 15 16:58:31 2005 +0000
+++ b/sys/kern/vfs_subr.c       Wed Jun 15 16:59:27 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_subr.c,v 1.248 2005/06/06 12:09:19 yamt Exp $      */
+/*     $NetBSD: vfs_subr.c,v 1.249 2005/06/15 16:59:27 elad Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998, 2004, 2005 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.248 2005/06/06 12:09:19 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.249 2005/06/15 16:59:27 elad Exp $");
 
 #include "opt_inet.h"
 #include "opt_ddb.h"
@@ -589,6 +589,7 @@
                vp->v_socket = NULL;
 #ifdef VERIFIED_EXEC
                vp->fp_status = FINGERPRINT_NOTEVAL;
+               vp->vhe = NULL;
 #endif
        }
        vp->v_type = VNON;



Home | Main Index | Thread Index | Old Index