mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-17 05:33:55 -04:00
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:
parent
0d0108e954
commit
fcb318b9c5
3 changed files with 11 additions and 36 deletions
|
|
@ -9,7 +9,6 @@ pwtest_deps = [
|
|||
pipewire_dep,
|
||||
mathlib,
|
||||
dl_lib,
|
||||
cap_lib,
|
||||
epoll_shim_dep
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue