[android-developers] Re: change rild privilege

2009-03-14 Thread Ajith
Hi Srinivas: Did you get further with this issue? I am also seeing the same behavior. It seems like commenting out switchuser() is the hack that works for now. But as far as I know, rild is not to be touched by ril implementations, so there must be some cleaner way of fixing this. Thanks Ajith O

[android-developers] Re: change rild privilege

2009-03-08 Thread srinivas
Hi, id did change these options, the code in rild.c under hardware/ril/ rild/ has a fucntion switchuser(). The code in thie switches the uid of RILD to radio, but if i un comment this, ril is not working, its not even getting initialized. Thanks Srinivas On Mar 6, 5:55 pm, Mads Kristiansen wrot

[android-developers] Re: change rild privilege

2009-03-06 Thread Mads Kristiansen
Looking at init.rc: service ril-daemon /system/bin/rild socket rild stream 660 root radio socket rild-debug stream 660 radio system user root group radio cache inet misc So it seems to be running as root, but it seems to be possible to change it, so I'd just try it. / Mads On Fri, Mar 6, 2009 at