git: kernel - Fix races in procfs

看板DFBSD_commit作者時間14年前 (2011/11/17 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 07cdb1d23b872d65756a5dd2850001b8c0dc2995 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Nov 16 08:47:29 2011 -0800 kernel - Fix races in procfs * Use cache_copy to acquire a stable textnch * Do not try to access the vmspace (for process args) for processes in the SIDL or SZOMB state as it may be a moving target even with the process PHOLD()en. Summary of changes: sys/vfs/procfs/procfs_mem.c | 8 +++++--- sys/vfs/procfs/procfs_vnops.c | 24 +++++++++++++++++------- 2 files changed, 22 insertions(+), 10 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/07cdb1d23b872d65756a5dd2850001b8c0dc2995 -- DragonFly BSD source repository
文章代碼(AID): #1Em_fhXE (DFBSD_commit)