jilles 05d82765f3 fts: Use O_DIRECTORY when opening name that might be changed by attacker.
There are uncommon cases where fts_safe_changedir() may be called with a
non-NULL name that is not "..". Do not block or worse if an attacker put (a
(symlink to) a fifo or device where a directory used to be.

MFC after:	1 week
2013-02-10 23:09:15 +00:00
..
2011-11-26 16:49:25 +00:00
2012-08-11 12:07:24 +00:00
2011-10-01 12:19:48 +00:00
2011-10-01 12:19:48 +00:00
2012-02-17 12:40:27 +00:00
2012-04-26 19:21:58 +00:00
2012-02-11 20:28:42 +00:00
2011-12-20 22:56:13 +00:00
2012-03-26 15:18:14 +00:00
2012-06-16 06:38:11 +00:00
2012-12-12 15:27:33 +00:00