aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf/elf_getphnum.3
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-08-23 20:53:00 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-08-29 09:43:07 +0000
commit420428718da769ea72d3f18ed8eba7c3d998b1c8 (patch)
tree65b8429cc51e483b3270099a9ba3f275aad97f80 /lib/libelf/elf_getphnum.3
parent824f934bf9d5fcb34dd6c97d650a26823158abf1 (diff)
tty: gracefully handle proctree_lock lockingHEADmain
Instead of relocking tty to get the proctree_lock and experiencing the race due to the relock, take the proctree_lock in advance for ioctl commands that need it. The affected commands, TIOCNOTTY, TIOCSCTTY, and TIOCSPGRP, must not be overridden by the specific tty drivers, so the common handling is cleaner. Reviewed by: kevans (previous version), markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D59132
Diffstat (limited to 'lib/libelf/elf_getphnum.3')
0 files changed, 0 insertions, 0 deletions