看板 DFBSD_commit 關於我們 聯絡資訊
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