libgocryptfs/internal/syscallcompat
Jakob Unterwurzacher 9ec9d0c49c syscallcompat: untangle OpenNofollow and rename to OpenDirNofollow
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.
2018-09-08 17:41:17 +02:00
..
emulate.go Fix the easy golint warnings 2018-04-08 20:26:25 +02:00
emulate_test.go macos: tests: fix deleting of scratch dir 2018-03-05 23:40:08 +01:00
getdents_linux.go syscallcompat: switch from syscall.Getdents to unix.Getdents 2018-01-31 18:59:10 +01:00
getdents_other.go syscallcompat: convert Getdents to fd input, add emulation 2017-12-03 19:33:26 +01:00
getdents_test.go gccgo: skip emulateGetdents on linux 2018-02-04 21:14:12 +01:00
helpers.go fusefrontend: doWrite: delete file header if first write fails 2018-07-15 15:12:55 +02:00
main_test.go syscallcompat: move test setup into its own file 2017-12-02 19:57:23 +01:00
open_nofollow.go syscallcompat: untangle OpenNofollow and rename to OpenDirNofollow 2018-09-08 17:41:17 +02:00
open_nofollow_test.go syscallcompat: untangle OpenNofollow and rename to OpenDirNofollow 2018-09-08 17:41:17 +02:00
sys_common.go Fix three golint warnings 2018-06-19 20:16:21 +02:00
sys_common_test.go MacOS: don't test symlinks longer than 1000 bytes 2018-02-28 20:40:08 +01:00
sys_darwin.go macos: fix O_DIRECT build failure 2018-07-04 09:04:00 +02:00
sys_linux.go syscallcompat: drop Fchmodat flags 2018-08-26 13:04:01 +02:00
unix2syscall_darwin.go syscallcompat: add Darwin version of unix2syscall 2017-12-06 00:18:38 +01:00
unix2syscall_linux.go Fix assignment error in Unix2syscall by converting Timespec into Nsec (#203) 2018-02-03 13:42:49 +01:00