[screenlocker] Grab XServer while establishing the grab

Review Request #122528 - Created Feb. 11, 2015 and submitted

Information
Martin Flöser
plasma-workspace
master
3e69e97...
Reviewers
plasma
By grabbing the XServer we can ensure that no other client is
sending X events. This eliminates a possible timing attack in
the time frame between grabbing keyboard and pointer.

At the same time the waiting and try again becomes useless as the
XServer is grabbed and no other client could release the hold
input device grab.

  
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit cfef8bf23d361624bab39dde1cf4a3ccc56fcd81 by Martin Gräßlin to branch master.
Loading...