Anyway native code can do permission checks fine, just by doing the same IPC
into the system that other things do.
On Mon, Dec 20, 2010 at 12:05 PM, Chris Stratton wrote:
> On Dec 20, 2:58 pm, Earlence wrote:
>
> > However, with the recent introduction of the ability to record audio
> > from na
On Dec 20, 2:58 pm, Earlence wrote:
> However, with the recent introduction of the ability to record audio
> from native code, there should be a permission check for it
> (android.permission.RECORD_AUDIO)
> Is it a similar patch like the internet check.?
That would depend on how "native" audio r
okay...that was a sufficient explanation.
I presume that since the ability to do things like SEND_SMS are not
available natively, the question does not arise.
However, with the recent introduction of the ability to record audio
from native code, there should be a permission check for it
(android.pe
For which permission? There are a variety of different ways things
are handled.
For example, access to a hardware device is often protected by the
unix permissions of the device file and filesystems/mounts.
Network permission is done with a very short patch to add a check for
the hardcoded andro
but a little more detailed explanation.
On Dec 19, 10:13 pm, Earlence wrote:
> yup. more or less.
>
> On Dec 19, 9:48 pm, hedwin wrote:
>
> > In various parts in the android source code calls are made to getuid,
> > getgid to verify whether parts of the code are allowed to execute
> > based
> >
yup. more or less.
On Dec 19, 9:48 pm, hedwin wrote:
> In various parts in the android source code calls are made to getuid,
> getgid to verify whether parts of the code are allowed to execute
> based
> on file permissions. Is that what you are looking for?
>
> On Sun, Dec 19, 2010 at 9:15 AM, Ea