Jakob Unterwurzacher
|
e33593d30d
|
syscallcompat: add Fstatat + emulation + test
Fstatat has recently been added to x/sys/unix. Make
it available for use in gocryptfs.
|
2017-12-03 19:32:59 +01:00 |
|
Jakob Unterwurzacher
|
1d28973611
|
syscallcompat: move test setup into its own file
The infrastructure will also be used by the upcoming
OpenNofollow tests.
|
2017-12-02 19:57:23 +01:00 |
|
Sebastian Lackner
|
f30522a0c1
|
syscallcompat: Fix syscall emulation for absolute paths
For absolute paths, the file descriptor should be ignored. In such a case
there is also no need to hold the lock or change the working directory.
|
2017-12-01 09:41:52 +01:00 |
|
Jakob Unterwurzacher
|
22282aefe6
|
syscallcompat: add tests for emulated syscalls
Also fix the bug in emulateFchmodat that was found by the tests.
|
2017-11-30 19:10:21 +01:00 |
|