maybe it has something to do with capabilities?

link:
http://www.friedhoff.org/posixfilecaps.html

link excerpt:
HowTo - Detection of needed capabilities - strace
strace is a diagnostic tool, which intercepts and records called
system calls by a process and the signals which are received by this
process by giving the name of each system call, its arguments and its
return value. The EPERM error signifies that the caller was not
privileged to call a certain function or resource.strace ping
localhost 2>&1 | grep EPERM
socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = -1 EPERM (Operation not
permitted)
The caller ping lacks the privilege to create a socket of type
SOCK_RAW. /usr/include/linux/capability.h shows
/* Allow use of RAW sockets */
/* Allow use of PACKET sockets */
#define CAP_NET_RAW          13


On Jun 7, 2:46 pm, Ashwini Singh <asingh.e...@in.com> wrote:
> Friends,
>
> While working with the DRAFT release of 
> pandroid-gingerbread...http://pandroid.googlecode.com/files/L27.12.1-P2-pandroid_rls.tar.bz2
>
> 'netcfg' command is not working...
> D/DHCP    ( 1636): socket() failed: Permission denied
>
> How can I enable all this network features on it?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to