Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[systemd] Add capabilities required by compositor killer. Fixes JB#48754
The intent is that (devel flavor) mce will make an attempt to coredump / kill compositor process that stops responding to display blank/unblank control ipc - when it is unlikely that compositor is unresponsive because it has been stopped in debugger. This feature stopped working after systemd sandboxing features were taken in use. Add CAP_SYS_PTRACE - required by debugger detection. Add CAP_KILL - required for sending signals to unrelated processes. Add diagnostic logging in error paths of related code. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters