HomeFreeBSD

ttydev_write: prevent stops while terminal is busied

Description

ttydev_write: prevent stops while terminal is busied

Since busy state is checked by all blocked writes, stopping a process
which waits in ttydisc_write() causes cascade. Utilize sigdeferstop()
to avoid the issue.

Submitted by: Jakub Piecuch <j.piecuch96@gmail.com>
PR: 255816
MFC after: 1 week

Details

Provenance
kibAuthored on May 13 2021, 1:35 AM
Parents
rGcc6f46ac2fd5: vfs: refactor vdrop
Branches
Unknown
Tags
Unknown