Source-Changes archive

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

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

Module Name:    src
Committed By:   sborrill
Date:           Fri Jun 15 10:00:05 UTC 2012

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

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