Re: [android-porting] Assigning Linux group to permission

2010-08-16 Thread Dianne Hackborn
On Sun, Aug 15, 2010 at 11:43 PM, Mitar mmi...@gmail.com wrote: So what I am asking is that in theory it should be enough just to add this new permission file and reboot and all applications with this permission would be assigned wifi group? I was reading the Java code handling all this and

Re: [android-porting] Assigning Linux group to permission

2010-08-16 Thread Mitar
Hi! On Mon, Aug 16, 2010 at 5:27 AM, Dianne Hackborn hack...@android.com wrote: Correct you have to reboot. You could probably verify that by trying to reboot yourself, yes? Yes, we did reboot but it still does not work. Application with this permission does not get added to the wifi group.

Re: [android-porting] Assigning Linux group to permission

2010-08-16 Thread Mitar
Hi! Thanks for all the answers. On Mon, Aug 16, 2010 at 10:20 AM, Dianne Hackborn hack...@android.com wrote: (An except is signature permissions, which are not shown to the user so can be granted when the permission becomes known due to installing the .apk that declares it.) But is it

Re: [android-porting] Assigning Linux group to permission

2010-08-16 Thread Dianne Hackborn
The everything about the permission except the gid is done the normal way -- some .apk declares it in its manifest. Most of the platform ones are in android-res.apk, the apk for the platform itself. On Mon, Aug 16, 2010 at 6:38 AM, Mitar mmi...@gmail.com wrote: Hi! Thanks for all the

[android-porting] Assigning Linux group to permission

2010-08-15 Thread Mitar
Hi! We are developing an extension to Android firmware which would allow connecting to mesh networks. We would like to add permission which would give application direct access to wpa_supplicant sockets and the most official way for this it would seem that is adding an XML file like following to

Re: [android-porting] Assigning Linux group to permission

2010-08-15 Thread Dianne Hackborn
Correct you have to reboot. You could probably verify that by trying to reboot yourself, yes? On Sun, Aug 15, 2010 at 8:52 AM, Mitar mmi...@gmail.com wrote: Hi! We are developing an extension to Android firmware which would allow connecting to mesh networks. We would like to add permission