Now only gdb is allowed.
When using gdbserver :5555 ./kwin_wayland it doesn't work due to KWin disabling PTRACE capability
Details
Details
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Yes.
As long as your commit contains
"Differential Revision: https://phabricator.kde.org/D6160"
this should automatically close.
Comment Actions
What about lldb and in case this is meant as security measure(?): this only checks a tail, ie. ~/mysuperspytool/trick_kwin/gdb would work just as well - check the binary to be UID0 at least?
Comment Actions
Reopening, and awaiting review from maintainer to not need to revert it again.
What why?
What about lldb and in case this is meant as security measure(?)
Yes, this is existing check is pretty rubbish, but adding gdbserver doesn't make it any less so.
Comment Actions
The existing check is btw what IIRC the man page suggested ๐ so not completely rubbish. It's not secure, but that's not the point of it. Extending the check seems fine to me.