commit 0332d9d04bc654e6d74ef2550a751d8e4b18e547
parent d2077aa987e15a965a0b1dabf1b34a8065f728ca
Author: Michael Forney <mforney@mforney.org>
Date: Thu, 23 Sep 2021 21:21:12 -0700
rt: fix riscv64 O_DIRECTORY value
riscv64 uses the generic fcntl.h header, which defines O_DIRECTORY
as 0200000 [0].
[0] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/uapi/asm-generic/fcntl.h#n54
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/+linux/+riscv64.ha b/rt/+linux/+riscv64.ha
@@ -21,4 +21,4 @@ export fn clone(
};
};
-export def O_DIRECTORY: int = 0o40000;
+export def O_DIRECTORY: int = 0o200000;