D5589: [helper] Terminate xclipboardsyncer if kwin_wayland goes down
Martin Gräßlin
noreply at phabricator.kde.org
Wed Apr 26 05:15:47 UTC 2017
graesslin created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY
Normally the xclipboardsyncer should terminate because the socket
becomes unusable. But we have reports of it not really going down and
running amok.
In order to prevent such situations this change registers SIGTERM to be
sent to xclipboardsyncer when the parent process (that is kwin_wayland)
dies in whatever way. This ensures that xclipboardsyncer cannot become
an orphan.
BUG: 371862
TEST PLAN
Only compile tested, no way to get into the problematic situation
REPOSITORY
R108 KWin
BRANCH
xclipboardsync-pdeathsig
REVISION DETAIL
https://phabricator.kde.org/D5589
AFFECTED FILES
CMakeLists.txt
config-kwin.h.cmake
helpers/xclipboardsync/main.cpp
To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, spstarr, progwolff, Zren, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170426/a98e6fe2/attachment.html>
More information about the Plasma-devel
mailing list