summaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_darwin.go
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-14 02:49:11 +0100
committerrfjakob2019-01-14 21:27:28 +0100
commit92110628ee5f48b0106b32090854fcc61d6bca20 (patch)
tree9469e338a693fb56beea79c961d367771f13346c /internal/syscallcompat/sys_darwin.go
parent0345cc08307c01da635ea5546952a584480c9a93 (diff)
syscallcompat: Drop Fchownat emulation on macOS.
Diffstat (limited to 'internal/syscallcompat/sys_darwin.go')
-rw-r--r--internal/syscallcompat/sys_darwin.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/syscallcompat/sys_darwin.go b/internal/syscallcompat/sys_darwin.go
index 89d93e7..be85fee 100644
--- a/internal/syscallcompat/sys_darwin.go
+++ b/internal/syscallcompat/sys_darwin.go
@@ -102,10 +102,6 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
return unix.Fchmodat(dirfd, path, mode, flags)
}
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
- return emulateFchownat(dirfd, path, uid, gid, flags)
-}
-
func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
return emulateSymlinkat(oldpath, newdirfd, newpath)
}