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
Approved by: so
Security: FreeBSD-EN-24:05.tty

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

Details

Provenance
emasteAuthored on Feb 26 2024, 3:38 PM
gordonCommitted on Mar 28 2024, 3:12 AM
Reviewer
rGf1d0a0cbecf2: jail: Fix information leak.
Differential Revision
D44086: Fix kernel panic with disabled ttys
Parents
rGadfda3c395fa: rc.conf: correct $ntp_leapfile_sources
Branches
Unknown
Tags
Unknown