summaryrefslogtreecommitdiff
path: root/internal/syscallcompat/open_nofollow.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-05-22 21:37:41 +0200
committerJakob Unterwurzacher2021-05-22 21:39:29 +0200
commitcb4f9f9e2934400fa0abf9bd6c65455783b2768e (patch)
tree40044f31b575bfefa849b8a26b01f5a0082e5d96 /internal/syscallcompat/open_nofollow.go
parent0650a512bbf5a49031d47afac538a92e0994757a (diff)
syscallcompat: deduplicate OpenatUser/MknodatUser/SymlinkatUser/MkdiratUser
Turns out the whole euid switching logic can be shared when wrapping the syscall in a closure.
Diffstat (limited to 'internal/syscallcompat/open_nofollow.go')
0 files changed, 0 insertions, 0 deletions