Displaying 1 result from an estimated 1 matches for "2cff616".
Did you mean:
2c73f616
2010 Apr 16
0
[PATCH] add minimal faccessat()
...| 2 +-
usr/klibc/Kbuild | 2 +-
usr/klibc/SYSCALLS.def | 2 +-
usr/klibc/faccessat.c | 26 ++++++++++++++++++++++++++
5 files changed, 34 insertions(+), 3 deletions(-)
create mode 100644 usr/klibc/faccessat.c
diff --git a/usr/include/fcntl.h b/usr/include/fcntl.h
index 0908e21..2cff616 100644
--- a/usr/include/fcntl.h
+++ b/usr/include/fcntl.h
@@ -13,6 +13,11 @@
#endif
#include <linux/fcntl.h>
+/* missing in linux/fcntl.h */
+#ifndef AT_EACCESS
+# define AT_EACCESS 0x200
+#endif
+
/* This is ugly, but "struct flock" has actually been defined with
a long o...