[PATCH] Allow root to use the CPUFreq methods

David Zeuthen david at fubar.dk
Thu Sep 21 19:47:06 PDT 2006


On Thu, 2006-09-14 at 17:31 +0200, Holger Macht wrote:
> The following patch changes the privilege bahaviour of the CPUFreq addon.
> 
> Old behaviour: Allow all users with the privilege desktop-console to use
>   the CPUFreq methods. Root can obtain the privilege, but doesn't possess
>   it by default. This leads to all applications running as root and are
>   using the methods to require to care about PolicyKit or even to link
>   again libpolkit to obtain the privilege.
> 
> New behaviour: Only root is explicitely allowed to use the CPUFreq
>   methods. But all others also get the privilege as long as they possess
>   the desktop-console privilege.

Hi, and sorry for the lag. 

After some discussions with potential consumers of PolicyKit (including
NetworkManager) and listening to their requirements my plan is to rework
how the privilege descriptors work for an upcoming PolicyKit 0.3
release... so it's likely the format is going to change quite a bit. 

The PolicyKit API shouldn't change, at least not in radical ways.

I'll mail this list with my proposal once I've managed to put it onto
paper. I mean, electronic form.

Thanks,
David




More information about the hal mailing list