Source-Changes archive

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

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



Module Name:    src
Committed By:   sborrill
Date:           Fri Jun 15 09:08:03 UTC 2012

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

Log Message:
Pull up the following revisions(s) (requested by dholland in ticket #1775):
        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.48 -r1.48.4.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