1

ioctl call to set network device address is failed with permission denied

view story
linux-howto

http://stackoverflow.com – I am making ioctl calls for setting address to an existing network device.The ioctl calls fails with error 13 permission denied. The ioctl calls is made by native library which is used by android application.The application runs in user mode. I tried to run my application in system process by changing android.shareduserid ="android.uid.system" but still ioctl call fails. Please suggest the way to make this ioctl calls successful. Thanks (HowTos)