I tried to get /etc/resolv.conf open ("/etc/resolv.conf", 0644)
but it returns -1, and errno is 2, which means "there is no such file"
What can I do?
You cannot access files outside of an isolated software program.