[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kscreensaver] [Bug 224200] multiple kblankscrn.kss in memory
From:       Wolfgang Bauer <wbauer () tmo ! at>
Date:       2014-04-25 21:04:09
Message-ID: bug-224200-17878-1hnzaQZHTf () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=224200

--- Comment #53 from Wolfgang Bauer <wbauer@tmo.at> ---
Git commit b1fa2678d36f6ce215e8d8ec1d57608079f36c89 by Wolfgang Bauer.
Committed on 25/04/2014 at 21:02.
Pushed by wbauer into branch 'master'.

screenlocker: exit greeter gracefully when unlocking during grace time

Currently the screen locker just kills the greeter (kscreenlocker_greet)
when the screen is unlocked by the user during the grace time.
But apparently this can leave behind running screensaver processes
launched by the greeter, see the bug report.

This patch changes this to only terminate the greeter, and adds a signal
handler to the greeter to exit gracefully in this case.
The signal handler exits with return code 1, so that it is not possible
to circumvent the password input by just sending a SIGTERM. (the screen
locker restarts the greeter in case it doesn't quit with exit code 0)
REVIEW: 117644

M  +13   -1    ksmserver/screenlocker/greeter/main.cpp
M  +1    -1    ksmserver/screenlocker/ksldapp.cpp

http://commits.kde.org/plasma-workspace/b1fa2678d36f6ce215e8d8ec1d57608079f36c89

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic