XDC2012: Graphics stack security
XDC2012: Graphics stack security
Posted Sep 26, 2012 17:50 UTC (Wed) by luto (subscriber, #39314)In reply to: XDC2012: Graphics stack security by dlang
Parent article: XDC2012: Graphics stack security
IMO this belongs in the compositor, not as a separate application. Screensavers / screenlockers are fragile and buggy on X right now [1][2].
If the (Wayland-style) compositor handled screen locking, then, if the compositor crashed, you're still secure -- the whole session goes away.
[1] See, for example, the old bug where funny key combos caused the screen to unlock.
[2] On the machine I'm typing on, sometimes the password prompt is completely invisible, and it's quite common for the unlocked screen to flash above the screen locker when DPMS comes back.
That being said, I mostly agree with the rest of your comments. File descriptors might be a nicer way to handle permissions than magic cookies, though.
