HomeFreeBSD

realtimer_expire: avoid proc lock recursion when called from…

Description

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

Details

Provenance
kibAuthored on Apr 13 2021, 1:47 PM
Differential Revision
D29746: realtimer_expire: avoid proc lock recursion when called from itimer_proc_continue()
Parents
rG5edf7227ec33: pseudofs: limit writes to 1M
Branches
Unknown
Tags
Unknown