Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 12:27:38 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@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:  <200802021227.m12CRcZ9008161@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         2008-02-02 12:27:38 UTC

  FreeBSD src repository

  Modified files:
    etc/periodic/security 100.chksetuid 
  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 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
  
  Revision  Changes    Path
  1.10      +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?200802021227.m12CRcZ9008161>