Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Oops - forgot to remove it in previous commit. Chec...



details:   https://anonhg.NetBSD.org/src/rev/8afb2358c37b
branches:  trunk
changeset: 582016:8afb2358c37b
user:      elad <elad%NetBSD.org@localhost>
date:      Mon Jun 13 20:23:15 2005 +0000

description:
Oops - forgot to remove it in previous commit. Checking the fingerprint
status is enough here.

diffstat:

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

diffs (27 lines):

diff -r a0b41a118aa4 -r 8afb2358c37b sys/kern/kern_verifiedexec.c
--- a/sys/kern/kern_verifiedexec.c      Mon Jun 13 20:17:54 2005 +0000
+++ b/sys/kern/kern_verifiedexec.c      Mon Jun 13 20:23:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_verifiedexec.c,v 1.20 2005/06/13 20:17:54 elad Exp $      */
+/*     $NetBSD: kern_verifiedexec.c,v 1.21 2005/06/13 20:23:15 elad Exp $      */
 
 /*-
  * Copyright 2005 Elad Efrat <elad%bsd.org.il@localhost>
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_verifiedexec.c,v 1.20 2005/06/13 20:17:54 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_verifiedexec.c,v 1.21 2005/06/13 20:23:15 elad Exp $");
 
 #include <sys/param.h>
 #include <sys/mount.h>
@@ -357,7 +357,7 @@
         int error = 0;
 
        /* Evaluate fingerprint if needed and set the status on the vp. */
-       if ((vp->vhe == NULL) || (vp->fp_status == FINGERPRINT_NOTEVAL)) {
+       if (vp->fp_status == FINGERPRINT_NOTEVAL) {
                vp->vhe = veriexec_lookup(va->va_fsid, va->va_fileid);
                if (vp->vhe == NULL) {
                        vp->fp_status = FINGERPRINT_NOENTRY;



Home | Main Index | Thread Index | Old Index