HomeFreeBSD

devfs: fix use count leak when using TIOCSCTTY

Description

devfs: fix use count leak when using TIOCSCTTY

by matching devfs_ctty_ref

Fixes: 3b44443626603f65 ("devfs: rework si_usecount to track opens")
(cherry picked from commit 3bc17248d31794519ba95b2c6b9ff8a0d31dba81)

Details

Provenance
mjgAuthored on Feb 8 2021, 10:10 PM
Parents
rGca718f503168: libkern: use compiler builtins for strcpy, strcmp and strlen
Branches
Unknown
Tags
Unknown