diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-07-07 23:46:56 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-08-28 11:55:11 +0000 |
| commit | 73c92a978ccef5e1683914510ea35e6e338646d1 (patch) | |
| tree | 4acf52be27e707ca88803cfe9917e49d19eeff31 /source/Target | |
| parent | 7006cb7bd22d07d2ce30b0fb7ebfe58771b2a32f (diff) | |
pdopenpid(2): allow in capability mode with restrictions
The pdopenpid() syscall is allowed to open processes which are either
direct children of the caller, or are debuggees already attached to the
calling process. This is reasonable because we could have controlled the
child on fork anyway.
The procdesc-less debuggee can legitimately appear due to ptrace
FOLLOW-FORK mode.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D58989
Diffstat (limited to 'source/Target')
0 files changed, 0 insertions, 0 deletions
