aboutsummaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_darwin.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-06-05 15:06:30 +0200
committerJakob Unterwurzacher2021-06-05 15:06:30 +0200
commite48f2377ec46f247d4db04cf8031702d0684c086 (patch)
treee73aaa369c4549c5289e4dcf099cce19fca0f64b /internal/syscallcompat/sys_darwin.go
parentc0e75302166c9a166526586690086dcd16eff2c2 (diff)
syscallcompat: drop obsolete wrappers
These are now available cross-platform in the unix package.
Diffstat (limited to 'internal/syscallcompat/sys_darwin.go')
-rw-r--r--internal/syscallcompat/sys_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/syscallcompat/sys_darwin.go b/internal/syscallcompat/sys_darwin.go
index b5f7d49..075563f 100644
--- a/internal/syscallcompat/sys_darwin.go
+++ b/internal/syscallcompat/sys_darwin.go
@@ -131,7 +131,7 @@ func SymlinkatUser(oldpath string, newdirfd int, newpath string, context *fuse.C
defer pthread_setugid_np(KAUTH_UID_NONE, KAUTH_GID_NONE)
}
- return Symlinkat(oldpath, newdirfd, newpath)
+ return unix.Symlinkat(oldpath, newdirfd, newpath)
}
func MkdiratUser(dirfd int, path string, mode uint32, context *fuse.Context) (err error) {
@@ -146,7 +146,7 @@ func MkdiratUser(dirfd int, path string, mode uint32, context *fuse.Context) (er
defer pthread_setugid_np(KAUTH_UID_NONE, KAUTH_GID_NONE)
}
- return Mkdirat(dirfd, path, mode)
+ return unix.Mkdirat(dirfd, path, mode)
}
type attrList struct {