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

On Mar 8, 11:12 pm, srinivas <[email protected]> wrote:
> 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 <[email protected]>
> wrote:
>
> > 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 12:53 PM, srinivas <[email protected]> wrote:
>
> > > Hi,
> > > In android, Does RILD run with root privileges?
> > > If so, can we change its privileges?
> > > Please let me know how and where we can change these privileges.
> > > Any pointers will be very helpful.
>
> > > Thanks
> > > Srinivas- Hide quoted text -
>
> > - Show quoted text -
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to