DragonFly-2.3.2.92.g4466b9 master libexec/dma dma.c

看板DFBSD_commit作者時間16年前 (2009/07/17 02:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 4466b9c28dec3932614c842bd17d3a38668f1dbb Author: Simon Schubert <simon.schubert@epfl.ch> Date: Thu Jul 9 23:24:35 2009 +0200 dma: prevent races from sharing fd between children On fork, fds are shared between children. If two processes work on different recipients, but on the same queue file, they might get confused when the fd (and thus the offset) is shared. Prevent this by re-opening the queue file after fork. Reported-by: Daniel Roethlisberger <daniel@roe.ch> Summary of changes: libexec/dma/dma.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4466b9c28dec3932614c842bd17d3a38668f1dbb -- DragonFly BSD source repository
文章代碼(AID): #1ANsjvPa (DFBSD_commit)