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

Re: GNOME 2.6 and /dev/pmu



On Wed, Apr 21, 2004 at 10:36:47PM +1000, Benjamin Herrenschmidt wrote:
> World writeable /dev/pmu isn't that bad. sleep is controlled by
> CAP_SYS_ADMIN anyway, so you can only "listen" to PMU events and
> control the backlight. So the worst thing a malign user can do is
> switch your backlight off ... 
> 
> Unlike /dev/adb which allows to send PMU commands :) I know it's not
> very consistent, most of that is historical stuff and needs to be
> reworked. Help welcome :)

I guess I'll fix that in the rewrite for the 2.6 driver model. That is
proving to be more complex than I had initially thought. Of course, a
deadline at work hasn't helped either. Hopefully I'll have something
for people to try out sometime next month with a completely new ADB
subsystem. I have a few more things to write before it is useful.

Any other issues with /dev/adb or /dev/pmu while I'm in that code?

	Brad Boyer
	flar@allandria.com



Reply to: