HomeFreeBSD

kern: fix panic with disabled ttys

Description

kern: fix panic with disabled ttys

PR: 277240, 277329
Reviewed by: kib (earlier version)
Fixes: f1d0a0cbecf2 ("jail: Fix information leak.")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44086

(cherry picked from commit 975d7730828a8bde28c2a0092b6e95c4c4e22f34)
(cherry picked from commit 8d22744f5be165a2a82a2a204789e44bbdc5a2ee)
(cherry picked from commit a60220bbb5511469fe53fd4290713ba891f8f48a)

Approved by: re (cperciva)

Details

Provenance
emasteAuthored on Feb 26 2024, 3:38 PM
Reviewer
rGf1d0a0cbecf2: jail: Fix information leak.
Differential Revision
D44086: Fix kernel panic with disabled ttys
Parents
rG784695750ef3: jail: Fix information leak.
Branches
Unknown
Tags
Unknown