Subject: Re: Additional features for veriexecgen(8)
To: None <tech-userlevel@NetBSD.org>
From: Matt Fleming <matt@console-pimps.org>
List: tech-userlevel
Date: 10/09/2006 20:52:02
On Mon, Oct 09, 2006 at 12:37:33PM -0500, David Young wrote:
> #!/bin/sh
> 
> IFS=:
> set -- $PATH
> find "$@" -fstype local -type f -perm -0100 | veriexecgen
> find "$@" -fstype local -type f ! -perm -0100 | veriexecgen -f
> find "$@" ! -fstype local -type f -perm -0100 | veriexecgen -u
> find "$@" ! -fstype local -type f ! -perm -0100 | veriexecgen -f -u
> 
> (That script is longer to type than 'veriexecgen -F," but it is shorter
> than the equivalent C code, and you only have to write it once. :-)
> 

Hi David,

One of the main reasons veriexecgen was rewritten was because we gained
a _huge_ performance increase by writing the directory walking code in C. This
suggestion defeats the purpose of the rewrite.

Thanks,
Matt