You don't need to run as root, you don't need to run as system, you just
need to be in the group that can access the log driver, which I am pretty
sure there is a non-privileged permission for.

On Sat, Sep 5, 2009 at 9:35 PM, Chris Stratton <[email protected]> wrote:

>
> On Sep 5, 3:44 pm, Dianne Hackborn <[email protected]> wrote:
> > logcat doesn't need to run as root.
>
> Technically true, it usually runs as system, but that also seems out
> of reach for an ordinary application on the phone... wheras adb gets
> you a shell as this semi privileged uid.  It probably is possible to
> use the adb shell to make something setuid system which an application
> or app launched terminal could use to escalate, but finding a place to
> put it is a challenge (though not an inconquerable one).
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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