Comment on Implement unprivileged chrootparentComments−donio5yIt's doable when you need it, something like: filefd, err := syscall.Openat(int(dir.Fd()), filename, os.O_RDONLY, 0) file := os.NewFile(uintptr(filefd), filename) // for use with library functions
Comments
It's doable when you need it, something like: