Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 06/13/2005 20:17:54
Module Name:	src
Committed By:	elad
Date:		Mon Jun 13 20:17:54 UTC 2005

Modified Files:
	src/sys/kern: kern_verifiedexec.c
	src/sys/sys: vnode.h

Log Message:
More veriexec refactoring.

  - Use u_char for the fingerprint status.
  - Add a pointer to the vnode's veriexec hash table entry in the vnode
    struct. This saves a lookup and will also used by planned features.
  - When removing a file from the tables, set the vnode fingerprint status
    to NOENTRY.
  - Add switch to do flag-specific handling in veriexec_verify(). At the
    moment this prevents execution of FILE entries in strict level 2, but
    it will also be used by planned features.
  - Use memset() instead of bzero().
  - Various cosmetic changes.


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/kern/kern_verifiedexec.c
cvs rdiff -r1.137 -r1.138 src/sys/sys/vnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.