4 ms·
os.Open has been using openat since 2015. https://github.com/golang/go/commit/e7a7352e527ca275a2b66cc3cafde09836345a8f https://github.com/golang/go/commit/e7a7
by donio 5y ago
os.Open has been using openat since 2015.
https://github.com/golang/go/commit/e7a7352e527ca275a2b66cc3cafde09836345a8f https://github.com/golang/go/commit/e7a7352e527ca275a2b66cc3...
- jerf 5y agoI 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.