DragonFly commits List (threaded) for 2011-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix races in procfs
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]