git: kern - Do not allow calls to vmspace_president_count() from userland.
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Sat Oct 22 14:19:44 PDT 2011
commit acdfde5e73417023e2740e25ae90519996401c2a
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Sat Oct 22 12:20:29 2011 +0200
kern - Do not allow calls to vmspace_president_count() from userland.
- Processes' vm_map is not read in by kvm_proclist() thus we cannot
call vmspace_president_count() which entirely relies on that.
- This fixes segfaults in ps(1), w(1) and fstat(1) when using -M
and -N parameters.
Help-from: @corecode
Summary of changes:
sys/kern/kern_kinfo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/acdfde5e73417023e2740e25ae90519996401c2a
--
DragonFly BSD source repository
More information about the Commits
mailing list