But how to pass the pid of any App all the way from the Application
framework to the kernel? I need to kill any App that "misbehaves". From
which point in the framework(Task Manager, Application Manager) should this
information be sent down all the to the kernel?

On Thu, Jul 21, 2011 at 3:25 PM, Earlence <[email protected]> wrote:

> kill(pid, 9);
>
> -Earlence
>
> On Jul 18, 12:45 pm, tera tellence <[email protected]> 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?
> >
> > On Mon, Jul 18, 2011 at 10:37 AM, Sebastian Schmid <
> >
> > [email protected]> wrote:
> > > Something like this..?
> >
> > > android.os.Process.killProcess(android.os.Process.myPid());
> >
> > > From: tera tellence <[email protected]>
> > > Date: Mon, 18 Jul 2011 10:24:39 +0100
> > > To: <[email protected]>
> > > Subject: [android-security-discuss] Killing an App from Kernel
> >
> > > Dear All,
> >
> > > Is there any possibility that a Dalvik App can be killed (using its
> pid)
> > > from the linux kernel?
> >
> > > How can I achieve it? any ideas?
> >
> > > Thanks,
> >
> > > Tera
> >
> > > --
> > > 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.
> >
> >
>
> --
> 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.
>
>

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