summaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_linux.go
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-14 02:56:06 +0100
committerrfjakob2019-01-14 21:27:28 +0100
commit4134ff7570906d38d519b1aad33cd3e97685e92f (patch)
treeeed4c67476b1b39f5aff5af81d575a8df1f70688 /internal/syscallcompat/sys_linux.go
parent7b0d56fe98a4ae449d26af0b83d00271a179db6e (diff)
syscallcompat: Drop Mkdirat emulation on macOS.
Diffstat (limited to 'internal/syscallcompat/sys_linux.go')
-rw-r--r--internal/syscallcompat/sys_linux.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/syscallcompat/sys_linux.go b/internal/syscallcompat/sys_linux.go
index 0b34aa1..21e07c9 100644
--- a/internal/syscallcompat/sys_linux.go
+++ b/internal/syscallcompat/sys_linux.go
@@ -176,11 +176,6 @@ func SymlinkatUser(oldpath string, newdirfd int, newpath string, context *fuse.C
return Symlinkat(oldpath, newdirfd, newpath)
}
-// Mkdirat syscall.
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
- return syscall.Mkdirat(dirfd, path, mode)
-}
-
// MkdiratUser runs the Mkdirat syscall in the context of a different user.
func MkdiratUser(dirfd int, path string, mode uint32, context *fuse.Context) (err error) {
if context != nil {