cvs commit: src/etc/periodic/security 100.chksetuid

Remko Lodder remko at FreeBSD.org
Sun Feb 24 14:26:45 UTC 2008


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


More information about the cvs-src mailing list