Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 17:39:26 +0200
From:      Ulrich Spoerlein <q@uni.de>
To:        Eric Anderson <anderson@centtech.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Periodic security find pruning
Message-ID:  <20050328153926.GA816@galgenberg.net>
In-Reply-To: <42481D60.9050801@centtech.com>
References:  <42481D60.9050801@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, 28.03.2005 at 09:06:08 -0600, Eric Anderson wrote:
> +	MP=3D`mount -t ufs | egrep -v " no(suid|exec)" | awk '{ print $3 }' | e=
grep -v "($excludes)" | sort`

You need to consider boundaries. Having /vol, /vol1 and /vol2, setting
excludes to "vol" will result in ".*vol.*" being excluded. I would
suggest using full paths ("/vol") and this regexp: "^$(excludes)\$",
that way one can also exclude / by putting "/" into $excludes.

Ulrich Sp=F6rlein
--=20
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCSCUumArGtfDbn0QRAvmJAJ0e91TgDNJ2cbkwnYKdQwhSoqrWFwCg7VNq
AoK9hOVf3Jm8AsEKVvcuJas=
=dnke
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050328153926.GA816>