Re: Questions about PAM, GDM and gnome-screensaver



Ray Strode wrote:
It doesn't prevent snooping either.  All grabbing the server does is
prevent events from getting delivered, it doesn't prevent sniffing the
key presses as they come in.

A 10 line program that calls XQueryKeymap in a loop can catch key
presses even when the server is grabbed.

How?   When the server is grabbed, that program will be removed from
the server's select() mask, so those XQueryKeymap calls won't be processed
until after the grab is released.

--
	-Alan Coopersmith-           alan coopersmith sun com
	 Sun Microsystems, Inc. - X Window System Engineering


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]