Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/etc/daily,v rcsdiff: /ftp/cvs/cvsroot/src/etc/daily,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.28 retrieving revision 1.29 diff -u -p -r1.28 -r1.29 --- src/etc/daily 1998/09/15 05:06:30 1.28 +++ src/etc/daily 1999/01/06 03:24:06 1.29 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: daily,v 1.28 1998/09/15 05:06:30 lukem Exp $ +# $NetBSD: daily,v 1.29 1999/01/06 03:24:06 abs Exp $ # @(#)daily 8.2 (Berkeley) 1/25/94 # @@ -32,6 +32,9 @@ fi echo "" echo "Uptime: " `uptime` +# Uncommenting any of the finds below would open up a race condition attack +# based on symlinks, potentially allowing removal of any file on the system. +# #echo "" #echo "Removing scratch and junk files:" #if [ -d /tmp -a ! -h /tmp ]; then