]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
realtimer_expire: avoid proc lock recursion when called from itimer_proc_continue()
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 13 Apr 2021 13:47:24 +0000 (16:47 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 14 Apr 2021 07:53:19 +0000 (10:53 +0300)
commit5cc1d199412ead0b4c234e21e881a31ef893a4f0
tree3318520e2192414fa750d45cfe8e0c925fb5bfce
parent5edf7227ec339f651c7328e63df323f6ef10345f
realtimer_expire: avoid proc lock recursion when called from itimer_proc_continue()

It is fine to drop the process lock there, process cannot exit until its
timers are cleared.

Found by: syzkaller
Reported and reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D29746
sys/kern/kern_time.c