I have used the setns system call in linux to set the current go process's NET namespace. This namespace changes the way /sys/class/net appears to the current process. However, If I try to view these files with the golang apis, I see only the parent's view (not namespaced). I think this is because go is forking without inheriting the parent's namespace. How can I read the files in /sys/class/net with go such that the setns system call persists in the child who is reading the file.