thats in the kernel. -Earlence
On Tue, Aug 9, 2011 at 2:52 PM, patrick Immling <pimml...@googlemail.com>wrote: > where exactly is this patched call on socket? > > Somewhere in this forum I found it said on af_inet.c > > But I dont find this file in any of my sources... :( > > On Sun, Apr 24, 2011 at 5:45 PM, Earlence <earlencefe...@gmail.com> wrote: > >> to connect to the internet, the process should have the internet gid. >> it is given this gid when the internet permission is granted to its >> surrounding apk. >> the check has been patched into the socket calls. you don't have to >> worry about requesting permission anywhere else than in your manifest >> file. >> >> -Earlence >> >> On Apr 24, 1:20 pm, 万朝新 <xiangjunbao...@gmail.com> wrote: >> > ps: >> > For example,if i want to set up a socket connect ,how can i request >> > permission. And which part of android source code implementation the >> > permission check . >> > >> > Thanks very much! >> > >> > 2011/4/22 mytears <xiangjunbao...@gmail.com> >> > >> > > Hello All, >> > > i know that the permissions of Applications are written in >> /data/ >> > > system/packages.xml and the requests are checked by >> > > ActivityManagerService.java. but i don't know if there is permission >> > > check by android while i am ececute Native C. And how to implement >> > > the permission checks on Native C. >> > >> > > Thanks a lot!! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Android Security Discussions" group. >> To post to this group, send email to >> android-security-discuss@googlegroups.com. >> To unsubscribe from this group, send email to >> android-security-discuss+unsubscr...@googlegroups.com. >> 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 android-security-discuss@googlegroups.com. To unsubscribe from this group, send email to android-security-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.