]> Savannah Git Hosting - gnulib.git/commitdiff
fcntl-h: add AT_NO_AUTOMOUNT
authorPádraig Brady <P@draigBrady.com>
Mon, 7 Mar 2022 14:04:53 +0000 (14:04 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 7 Mar 2022 14:06:49 +0000 (14:06 +0000)
* lib/fcntl.in.h: Define AT_NO_AUTOMOUNT to 0 where not defined.
This is available on Linux since 2.6.38.

ChangeLog
lib/fcntl.in.h

index c5a80fd3f339568faf2b89fd6ead6604eedff7a9..e3f0ed216c890fd81d48a35a21e0606aaf7d4ffd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-03-07  Pádraig Brady  <P@draigBrady.com>
+
+       fcntl-h: add AT_NO_AUTOMOUNT
+       * lib/fcntl.in.h: Define AT_NO_AUTOMOUNT to 0 where not defined.
+       This is available on Linux since 2.6.38.
+
 2022-03-01  Paul Eggert  <eggert@cs.ucla.edu>
 
        Create lib/Makefile.am after gnulib-comp.m4
index 3e0c302af33fc0da8f50b04cef4228a73111eac3..9270ced89734942095c40a9b0d1108d11d1c2f70 100644 (file)
@@ -435,6 +435,10 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
 # define AT_EACCESS 4
 #endif
 
+/* Ignore this flag if not supported.  */
+#ifndef AT_NO_AUTOMOUNT
+# define AT_NO_AUTOMOUNT 0
+#endif
 
 #endif /* _@GUARD_PREFIX@_FCNTL_H */
 #endif /* _@GUARD_PREFIX@_FCNTL_H */