git: kern - Do not allow calls to vmspace_president_count() from

看板DFBSD_commit作者時間14年前 (2011/10/23 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit acdfde5e73417023e2740e25ae90519996401c2a Author: Antonio Huete Jimenez <tuxillo@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
文章代碼(AID): #1EepPMDB (DFBSD_commit)