In my device, Android nexus 5, When I run these PoC, at the ret = ioctl(sock, SIOCGSTAMPNS, &tv); the ioctl function return -1 and I can not get root access!
What is the problem with the ioctl and how can I resolve that?
Please some one help me.
Thanks in advance