Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/bin/rm



Module Name:    src
Committed By:   sborrill
Date:           Fri Jun 15 09:04:35 UTC 2012

Modified Files:
        src/bin/rm [netbsd-4]: rm.c

Log Message:
Pull up the following revisions(s) (requested by dholland in ticket #1451):
        bin/rm/rm.c:            revision 1.52

Rectify race condition in rm -P processing by checking that the file
we opened is the one we expected to get. Also use O_NOFOLLOW to help
avoid even opening devices, which sometimes produce side effects.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.45.2.1 src/bin/rm/rm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index