summaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_darwin.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-02-06 11:13:22 +0100
committerJakob Unterwurzacher2021-02-06 11:38:25 +0100
commit80a651a19474c78b1b2716cbf8c85ffd78698823 (patch)
treea5c83754a197c789c26e5a15bf24707a1cd9113e /internal/syscallcompat/sys_darwin.go
parent3ab1bcf1c5aacafe4339564ff0a09c349d3201a0 (diff)
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 .
Diffstat (limited to 'internal/syscallcompat/sys_darwin.go')
0 files changed, 0 insertions, 0 deletions