Unable to do AF_UNIX socket IPC in Android using NDK: Operation not permitted
问题 I am attempting to use unix-domain sockets and am developing under the NDK. I am routinely receiving Operation not permitted errors for various actions related to trivial AF_UNIX / SOCK_DGRAM type IPC. I am able to successfully bind both processes to a particular interface but am unable to either connect or send / sendto without getting the error mentioned above. The bound interfaces do appear on the file system if an appropriate ls is done in the specified directory. Also, each interface