Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/kern Pull up revision 1.250 (requested by elad in tic...



details:   https://anonhg.NetBSD.org/src/rev/912b08bb894c
branches:  netbsd-3
changeset: 576381:912b08bb894c
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Jul 02 15:53:52 2005 +0000

description:
Pull up revision 1.250 (requested by elad in ticket #487):
- Avoid pollution of struct vnode. Save the fingerprint evaluation status
in the veriexec table entry; the lookups are very cheap now. Suggested
by Chuq.
- Handle non-regular (!VREG) files correctly).
- Remove (no longer needed) FINGERPRINT_NOENTRY.

diffstat:

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

diffs (29 lines):

diff -r 08103ac3fbef -r 912b08bb894c sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c       Sat Jul 02 15:53:46 2005 +0000
+++ b/sys/kern/vfs_subr.c       Sat Jul 02 15:53:52 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_subr.c,v 1.243.2.2 2005/07/02 15:49:05 tron Exp $  */
+/*     $NetBSD: vfs_subr.c,v 1.243.2.3 2005/07/02 15:53:52 tron 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.243.2.2 2005/07/02 15:49:05 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.243.2.3 2005/07/02 15:53:52 tron Exp $");
 
 #include "opt_inet.h"
 #include "opt_ddb.h"
@@ -604,10 +604,6 @@
                }
                vp->v_flag = 0;
                vp->v_socket = NULL;
-#ifdef VERIFIED_EXEC
-               vp->fp_status = FINGERPRINT_NOTEVAL;
-               vp->vhe = NULL;
-#endif
        }
        vp->v_type = VNON;
        vp->v_vnlock = &vp->v_lock;



Home | Main Index | Thread Index | Old Index