CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2012/06/17 18:33:47
Modified files: bin/rm : rm.c Log message: Fix potential symlink race condition in "rm -P" by adding a check that the file we have opened is the one we expected. Also open in non-blocking mode to avoid a potential hang with FIFOs. Reported by Radoslaw A. Zarzynski. Fix adapted from NetBSD. OK guenther@