lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 12 Mar 2009 02:08:53 +0100
From:	Marcin Slusarz <marcin.slusarz@...il.com>
To:	Pavel Machek <pavel@....cz>
CC:	LKML <linux-kernel@...r.kernel.org>, linux-input@...r.kernel.org
Subject: Re: [RFC PATCH 2/2] Add virtual "idle" device

Pavel Machek wrote:
> On Mon 2009-03-02 23:42:52, Marcin Slusarz wrote:
>> This virtual device can be used to tell user space about periods of time
>> when user didn't "touch" input devices (keyboards, mice, touchpads, joysticks,
>> etc). For now it supports only keyboard events.
>>
>> Notification is done through simple select/poll + ioctl interface.
>>
>> It can be used to implement screen savers, automatic suspend,
>> autoaway/autodisconnect (e.g. in instant messangers) without
>> any help from X server and its overhead (context switches).
> 
> I don't think this is good interface; what if you have more than one
> seat?

Good point. I haven't thought about it.
Moreover it wouldn't work with remote X sessions...

It could be used on single user systems (like laptops, personal desktops,
embedded), but user space couldn't know whether it safe to use it (maybe
excluding embedded).

> And without mouse handling it is useless anyway, so....

Well, I didn't want to dig too much into input layer just to
discover after patch submission that my core functionality is broken :).

Marcin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ