pwtest: is_debugger_attached(): rework test

Check if the "TracerPid" field in `/proc/self/status` is non-zero. This does
not need libcap, and does not depend on capabilities, and it also works under
qemu user emulation.
This commit is contained in:
Barnabás Pőcze 2025-07-23 18:18:52 +02:00 committed by Wim Taymans
parent 0d0108e954
commit fcb318b9c5
3 changed files with 11 additions and 36 deletions

View file

@ -9,7 +9,6 @@ pwtest_deps = [
pipewire_dep,
mathlib,
dl_lib,
cap_lib,
epoll_shim_dep
]