Date: Sun, 24 Feb 2008 14:26:44 +0000 (UTC) From: Remko Lodder <remko@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc/periodic/security 100.chksetuid Message-ID: <200802241426.m1OEQi5W046891@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
remko 2008-02-24 14:26:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/periodic/security 100.chksetuid Log: MFC rev 1.10 100.chksetuid rev 1.10 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 corresponding "-n 20" argument to xargs; the whole point with xargs is precisely that it knows how large the argument list can safely get. Note that the first run of the updated script may hypotheticall produce false positives due to differences between find's and sort's sorting algorithm. I haven't seen this during testing, but others might. MFC after: 2 weeks Approved by: imp (mentor, implicit for trivial changes), des (doing some MFC's for him) Revision Changes Path 1.8.10.2 +11 -16 src/etc/periodic/security/100.chksetuid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802241426.m1OEQi5W046891>