libgocryptfs/internal/syscallcompat
Jakob Unterwurzacher 80a651a194 syscallcompat: MknodatUser: work around changed syscall.Setgroups semantics
Since go1.16beta1 (commit d1b1145cace8b968307f9311ff611e4bb810710c ,
https://go-review.googlesource.com/c/go/+/210639 )
syscall.{Setgroups,Setregid,Setreuid} affects all threads, which
is exactly what we not want.

We now use unix.{Setgroups,Setregid,Setreuid} instead.

Workarounds https://github.com/golang/go/issues/1435 .
2021-02-06 11:38:25 +01:00
..
eintr.go syscallcompat: don't retry Close() 2020-10-14 13:40:12 +02:00
emulate.go syscallcompat: Drop Fstatat emulation on macOS. 2019-01-14 21:27:28 +01:00
emulate_test.go syscallcompat: Drop Fstatat emulation on macOS. 2019-01-14 21:27:28 +01:00
getdents_linux.go syscallcompat: warn when Getdents truncates data 2020-05-24 23:30:25 +02:00
getdents_other.go Update go-fuse import path to github.com/hanwen/go-fuse/v2 2020-05-17 14:23:47 +02:00
getdents_test.go Update go-fuse import path to github.com/hanwen/go-fuse/v2 2020-05-17 14:23:47 +02:00
helpers.go fusefrontend: doWrite: delete file header if first write fails 2018-07-15 15:12:55 +02:00
main_test.go tests: split testParentDir by UID 2019-05-01 13:12:44 +02:00
open_nofollow.go syscallcompat: retry ops on EINTR 2020-10-14 00:35:16 +02:00
open_nofollow_test.go syscallcompat: untangle OpenNofollow and rename to OpenDirNofollow 2018-09-08 17:41:17 +02:00
sys_common.go syscallcompat: add getxattr fastpaths 2020-10-18 00:25:42 +02:00
sys_common_test.go syscallcompat: add getxattr fastpaths 2020-10-18 00:25:42 +02:00
sys_darwin.go syscallcompat: add Renameat2 for Darwin 2020-09-09 11:16:29 +02:00
sys_linux.go syscallcompat: MknodatUser: work around changed syscall.Setgroups semantics 2021-02-06 11:38:25 +01:00
unix2syscall_darwin.go Fix unix2syscall_darwin.go build failure 2019-05-19 21:04:33 +02:00
unix2syscall_linux.go Fix assignment error in Unix2syscall by converting Timespec into Nsec (#203) 2018-02-03 13:42:49 +01:00