This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 092f4a1b79414f1971d9cf54720fa234b5f77a8a
Author: guoshichao <guoshic...@xiaomi.com>
AuthorDate: Sun Dec 8 16:43:17 2024 +0800

    sys/mount: add mount flag definition
    
    Signed-off-by: guoshichao <guoshic...@xiaomi.com>
---
 include/sys/mount.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/include/sys/mount.h b/include/sys/mount.h
index 9adbff6ec8..9a1bb82874 100644
--- a/include/sys/mount.h
+++ b/include/sys/mount.h
@@ -39,7 +39,16 @@
 
 /* Mount flags */
 
-#define MS_RDONLY 1 /* Mount file system read-only */
+#define MS_RDONLY       1    /* Mount file system read-only */
+#define MS_NOSUID       2    /* Ignore suid and sgid bits */
+#define MS_NODEV        4    /* Disallow access to device special files */
+#define MS_NOEXEC       8    /* Disallow program execution */
+#define MS_SYNCHRONOUS  16   /* Writes are synced at once */
+#define MS_REMOUNT      32   /* Alter flags of a mounted FS */
+#define MS_MANDLOCK     64   /* Allow mandatory locks on an FS */
+#define MS_DIRSYNC      128  /* Directory modifications are synchronous */
+#define MS_NOSYMFOLLOW  256  /* Do not follow symlinks */
+#define MS_NOATIME      1024 /* Do not update access times. */
 
 /* Un-mount flags
  *

Reply via email to