NetBSD/etc/rc.d/veriexec
blymn 8387760ed1 Rototill of the verified exec functionality.
* We now use hash tables instead of a list to store the in kernel
    fingerprints.
  * Fingerprint methods handling has been made more flexible, it is now
    even simpler to add new methods.
  * the loader no longer passes in magic numbers representing the
    fingerprint method so veriexecctl is not longer kernel specific.
  * fingerprint methods can be tailored out using options in the kernel
    config file.
  * more fingerprint methods added - rmd160, sha256/384/512
  * veriexecctl can now report the fingerprint methods supported by the
    running kernel.
  * regularised the naming of some portions of veriexec.
2005-04-20 13:44:45 +00:00

25 lines
385 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: veriexec,v 1.4 2005/04/20 13:44:45 blymn Exp $
#
# PROVIDE: veriexec
# REQUIRE: mountcritlocal
# BEFORE: securelevel
$_rc_subr_loaded . /etc/rc.subr
name="veriexec"
rcvar=$name
start_cmd="veriexec_start"
veriexec_start()
{
echo -n "Loading fingerprints..."
/sbin/veriexecctl load /etc/signatures
echo " done."
}
load_rc_config $name
run_rc_command "$1"