OSDN Git Service

sync with glibc, add some missing defines
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 8 Dec 2015 17:30:57 +0000 (18:30 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Wed, 9 Dec 2015 06:54:19 +0000 (07:54 +0100)
These are already used by some applications, so add it.

include/fcntl.h

index 11000dd..adcd7ef 100644 (file)
@@ -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