diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-08-23 20:53:00 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-08-29 09:43:07 +0000 |
| commit | 420428718da769ea72d3f18ed8eba7c3d998b1c8 (patch) | |
| tree | 65b8429cc51e483b3270099a9ba3f275aad97f80 /clang/lib/StaticAnalyzer/Checkers/UninitializedObject/(public-mirror) | |
| parent | 824f934bf9d5fcb34dd6c97d650a26823158abf1 (diff) | |
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 'clang/lib/StaticAnalyzer/Checkers/UninitializedObject/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
