Comment on Implement unprivileged chrootparentComments−donio5yos.Open has been using openat since 2015.https://github.com/golang/go/commit/e7a7352e527ca275a2b66cc3...−jerf5yI was unclear. See my other cousin reply; you can't use it yourself to have a directory handle and securely open files in that directory. You can only open things by path.
Comments
os.Open has been using openat since 2015.
https://github.com/golang/go/commit/e7a7352e527ca275a2b66cc3...
I was unclear. See my other cousin reply; you can't use it yourself to have a directory handle and securely open files in that directory. You can only open things by path.