[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: kernel - Fix kernel crash in sysctl path
From: Matthew Dillon <dillon () crater ! dragonflybsd ! org>
Date: 2021-05-19 18:20:36
Message-ID: 20210519182037.0F5CB11AA042 () crater ! dragonflybsd ! org
[Download RAW message or body]
commit a23ed7f524eb73f2bf9b81db08b87f033b94e6d3
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Wed May 19 11:05:20 2021 -0700
kernel - Fix kernel crash in sysctl path
* Fix a kernel crash which can occur in a particular sysctl due to some
processes not having a p_textnch path. The sysctl code was assuming that
p->p_textnch would always be valid. procfs already has the added check.
* Fix a race against exit, requiring the proc->p_token to be held.
Reported-by: htop devs, BenBE, cgzones
Summary of changes:
sys/kern/kern_proc.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a23ed7f524eb73f2bf9b81db08b87f033b94e6d3
--
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic