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, 3 insertions, 1 deletions
diff --git a/internal/syscallcompat/sys_linux.go b/internal/syscallcompat/sys_linux.go
index 961d1c9..a64b27e 100644
--- a/internal/syscallcompat/sys_linux.go
+++ b/internal/syscallcompat/sys_linux.go
@@ -28,8 +28,10 @@ const (
// O_PATH is only defined on Linux
O_PATH = unix.O_PATH
- // RENAME_NOREPLACE is only defined on Linux
+ // Only defined on Linux
RENAME_NOREPLACE = unix.RENAME_NOREPLACE
+ RENAME_WHITEOUT = unix.RENAME_WHITEOUT
+ RENAME_EXCHANGE = unix.RENAME_EXCHANGE
)
var preallocWarn sync.Once