Browse Source

sync with glibc, add some missing defines

These are already used by some applications, so add it.
Waldemar Brodkorb 8 years ago
parent
commit
afe0dd3c88
1 changed files with 5 additions and 0 deletions
  1. 5 0
      include/fcntl.h

+ 5 - 0
include/fcntl.h

@@ -63,6 +63,11 @@ __BEGIN_DECLS
 # define AT_REMOVEDIR		0x200	/* Remove directory instead of
 					   unlinking file.  */
 # define AT_SYMLINK_FOLLOW	0x400	/* Follow symbolic links.  */
+# ifdef __USE_GNU
+#  define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
+                                           traversal.  */
+#  define AT_EMPTY_PATH         0x1000  /* Allow empty relative pathname.  */
+# endif
 # define AT_EACCESS		0x200	/* Test access permitted for
 					   effective IDs, not real IDs.  */
 #endif