have adverse impact. It is incompatible with EDNS0 usage and DNSSEC
validation by applications.
-* On Linux, the fsopen, fsmount, move_mount, and fsconfig functions have
- been added. They are part of the new Linux kernel mount APIs that allow
- applications to more flexibly configure and operate on filesystem mounts.
- The new mount APIs are specifically designed to work with namespaces.
+* On Linux, the fsopen, fsmount, move_mount, fsconfig, and fspick functions
+ have been added. They are part of the new Linux kernel mount APIs that
+ allow applications to more flexibly configure and operate on filesystem
+ mounts. The new mount APIs are specifically designed to work with
+ namespaces.
* localedef now accepts locale definition files encoded in UTF-8.
Previously, input bytes not within the ASCII range resulted in
#define MOVE_MOUNT_T_EMPTY_PATH 0x00000040 /* Empty to path permitted */
#define MOVE_MOUNT_SET_GROUP 0x00000100 /* Set sharing group instead */
+
+/* fspick flags. */
+#define FSPICK_CLOEXEC 0x00000001
+#define FSPICK_SYMLINK_NOFOLLOW 0x00000002
+#define FSPICK_NO_AUTOMOUNT 0x00000004
+#define FSPICK_EMPTY_PATH 0x00000008
+
+
/* The type of fsconfig call made. */
enum fsconfig_command
{
extern int fsconfig (int __fd, unsigned int __cmd, const char *__key,
const void *__value, int __aux) __THROW;
+/* Equivalent of fopen for an existing mount point. */
+extern int fspick (int __dfd, const char *__path, unsigned int __flags)
+ __THROW;
+
__END_DECLS
#endif /* _SYS_MOUNT_H */
fsconfig EXTRA fsconfig i:iUsNi fsconfig
fsmount EXTRA fsmount i:iUU fsmount
fsopen EXTRA fsopen i:sU fsopen
+fspick EXTRA fspick i:isU fspick
get_kernel_syms EXTRA get_kernel_syms i:p __compat_get_kernel_syms get_kernel_syms@GLIBC_2.0:GLIBC_2.23
getpid - getpid Ei: __getpid getpid
getegid - getegid Ei: __getegid getegid