I just had another thought as I was reading through the Android Start-up
routines etc.

What about having a system service(in the /frameworks/base) and allowing it
to be started from the System Server of Android?

This service could detect the Dalvik App and kill it.

Although this may not be done at the kernel level, it is still handled in
the Android Framework.


How about this idea?

On Mon, Jul 18, 2011 at 11:16 PM, Chris Stratton <[email protected]> wrote:

> On Monday, July 18, 2011 6:45:47 AM UTC-4, tera tellence wrote:
>>
>> But I guess this function is pretty restricted.
>>
>> I am looking for something that would kill ANY App from the linux
>> kernel(in say native code).
>>
>> How can I do this?
>>
>
> The same way you would on any other linux, similarly requiring that it be
> done from either code running as the same user id, code running as the
> superuser, or (presumably) kernel code.
>
> The android-unique catch which makes this generally a bad idea is that if
> android doesn't think the app or service using that process should be dead,
> it may be restarted quite quickly.  Convincing android that a given app or
> service should be dead (so it won't be restarted) is not really a kernel
> topic.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Security Discussions" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-security-discuss/-/-1xcdI7Hf4sJ.
>
> 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-security-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" 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-security-discuss?hl=en.

Reply via email to