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 name is given explicit other-read/write access using