git: DragonFly_RELEASE_2_6 linux emu - support O_DIRECTORY for o

看板DFBSD_commit作者時間16年前 (2010/04/09 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 6d19cf300349e2d1003aecdd68235d43f5500f27 Author: Alex Hornung <ahornung@gmail.com> Date: Fri Apr 9 06:49:06 2010 +0000 linux emu - support O_DIRECTORY for open syscall * Linux opendir seems to rely on O_DIRECTORY to avoid certain race conditions, so introduce O_DIRECTORY support which just returns ENOTDIR even if the open is successful, if the opened path is not a directory. * This fixes Ant's directory scanner. Submitted-by: Johannes Hofmann Summary of changes: sys/emulation/linux/i386/linux.h | 1 + sys/emulation/linux/linux_file.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6d19cf300349e2d1003aecdd68235d43f5500f27 -- DragonFly BSD source repository
文章代碼(AID): #1Bljx2tn (DFBSD_commit)