summaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/syscallcompat/sys_linux.go')
-rw-r--r--internal/syscallcompat/sys_linux.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/syscallcompat/sys_linux.go b/internal/syscallcompat/sys_linux.go
index ded5d17..81cdb15 100644
--- a/internal/syscallcompat/sys_linux.go
+++ b/internal/syscallcompat/sys_linux.go
@@ -52,3 +52,7 @@ func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err e
func Unlinkat(dirfd int, path string) error {
return syscall.Unlinkat(dirfd, path)
}
+
+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
+ return syscall.Mknodat(dirfd, path, mode, dev)
+}