Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2006 06:41:50 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec/save-entropy save-entropy.sh
Message-ID:  <200608280641.k7S6fokX070040@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
dougb       2006-08-28 06:41:50 UTC

  FreeBSD src repository

  Modified files:
    libexec/save-entropy save-entropy.sh 
  Log:
  1. Attempt to take one bullet out of the foot-shooting gun by silently
  ignoring errors when sourcing rc.conf* files. The most common error
  occurs when users put a command of some sort into those files.
  (ifconfig is a popular choice)
  
  2. Make the file rotation logic simpler by starting one down from
  the "top" of the list, rather than at the top.
  
  3. Try to make file rotation more secure by calling unlink(1) on all
  new file names before rotating an old file to the new name, rather than
  merely calling 'rm -f' on any files that exceed the number of files
  to save.
  
  Revision  Changes    Path
  1.4       +10 -10    src/libexec/save-entropy/save-entropy.sh



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