9ec9d0c49c
The function used to do two things: 1) Walk the directory tree in a manner safe from symlink attacks 2) Open the final component in the mode requested by the caller This change drops (2), which was only used once, and lets the caller handle it. This simplifies the function and makes it fit for reuse in forward mode in openBackingPath(), and for using O_PATH on Linux. |
||
---|---|---|
.. | ||
emulate_test.go | ||
emulate.go | ||
getdents_linux.go | ||
getdents_other.go | ||
getdents_test.go | ||
helpers.go | ||
main_test.go | ||
open_nofollow_test.go | ||
open_nofollow.go | ||
sys_common_test.go | ||
sys_common.go | ||
sys_darwin.go | ||
sys_linux.go | ||
unix2syscall_darwin.go | ||
unix2syscall_linux.go |