Date: Sat, 2 Feb 2008 14:53:21 +0000 From: Ceri Davies <ceri@submonkey.net> To: Dag-Erling Smorgrav <des@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <20080202145321.GH6064@submonkey.net> In-Reply-To: <200802021227.m12CRcZ9008161@repoman.freebsd.org> References: <200802021227.m12CRcZ9008161@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--vy3x0i7GCC7mAH4A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 02, 2008 at 12:27:38PM +0000, Dag-Erling Smorgrav wrote: > des 2008-02-02 12:27:38 UTC >=20 > FreeBSD src repository >=20 > Modified files: > etc/periodic/security 100.chksetuid=20 > Log: > Rewrite to consume significantly less memory, by using find -s instead = of > find | sort. As a bonus, this simplifies the logic considerably. Also > remove the bogus "overruning the args to ls" comment and the correspond= ing > "-n 20" argument to xargs; the whole point with xargs is precisely that= it > knows how large the argument list can safely get. Why use xargs at all? The "-exec ls -liTd {} +" primary would do the same thing. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --vy3x0i7GCC7mAH4A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHpIPhocfcwTS3JF8RArEYAJ9kk+nVBWd/3Aa/SfIZNVzctuQO0ACgsSAG QMDFvKcApcjRWhG/nPzcPHY= =EmZ/ -----END PGP SIGNATURE----- --vy3x0i7GCC7mAH4A--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080202145321.GH6064>