git: PIPE - Fix more races in the pipe code

看板DFBSD_commit作者時間16年前 (2009/09/06 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 1bfdcce2a8c8263c29626118d9e2416d0e1fb59e Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Sep 5 13:12:49 2009 -0700 PIPE - Fix more races in the pipe code * Numerous additional races can occur with the setting and clearing of PIPE_SEL. * EOF must be retested after getting the second token lock because the acquisition of the second lock can temporarily release the first one. Reported-by: Tobias Weingartner <weingart@tepid.org>, Rumko Summary of changes: sys/kern/sys_pipe.c | 101 ++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 79 insertions(+), 22 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1bfdcce2a8c8263c29626118d9e2416d0e1fb59e -- DragonFly BSD source repository
文章代碼(AID): #1Aeih6B2 (DFBSD_commit)