aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/mount.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h
index 174b5c7763..56da283d3f 100644
--- a/sysdeps/unix/sysv/linux/sys/mount.h
+++ b/sysdeps/unix/sysv/linux/sys/mount.h
@@ -134,6 +134,10 @@ enum
};
+/* fsopen flags. */
+#define FSOPEN_CLOEXEC 0x00000001
+
+
__BEGIN_DECLS
/* Mount a filesystem. */
@@ -147,6 +151,10 @@ extern int umount (const char *__special_file) __THROW;
/* Unmount a filesystem. Force unmounting if FLAGS is set to MNT_FORCE. */
extern int umount2 (const char *__special_file, int __flags) __THROW;
+/* Open the filesystem referenced by FS_NAME so it can be configured for
+ mouting. */
+extern int fsopen (const char *__fs_name, unsigned int __flags) __THROW;
+
__END_DECLS
#endif /* _SYS_MOUNT_H */