• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _UAPI_LINUX_MOUNT_H
20 #define _UAPI_LINUX_MOUNT_H
21 #define MS_RDONLY 1
22 #define MS_NOSUID 2
23 #define MS_NODEV 4
24 #define MS_NOEXEC 8
25 #define MS_SYNCHRONOUS 16
26 #define MS_REMOUNT 32
27 #define MS_MANDLOCK 64
28 #define MS_DIRSYNC 128
29 #define MS_NOATIME 1024
30 #define MS_NODIRATIME 2048
31 #define MS_BIND 4096
32 #define MS_MOVE 8192
33 #define MS_REC 16384
34 #define MS_VERBOSE 32768
35 #define MS_SILENT 32768
36 #define MS_POSIXACL (1 << 16)
37 #define MS_UNBINDABLE (1 << 17)
38 #define MS_PRIVATE (1 << 18)
39 #define MS_SLAVE (1 << 19)
40 #define MS_SHARED (1 << 20)
41 #define MS_RELATIME (1 << 21)
42 #define MS_KERNMOUNT (1 << 22)
43 #define MS_I_VERSION (1 << 23)
44 #define MS_STRICTATIME (1 << 24)
45 #define MS_LAZYTIME (1 << 25)
46 #define MS_SUBMOUNT (1 << 26)
47 #define MS_NOREMOTELOCK (1 << 27)
48 #define MS_NOSEC (1 << 28)
49 #define MS_BORN (1 << 29)
50 #define MS_ACTIVE (1 << 30)
51 #define MS_NOUSER (1 << 31)
52 #define MS_RMT_MASK (MS_RDONLY | MS_SYNCHRONOUS | MS_MANDLOCK | MS_I_VERSION | MS_LAZYTIME)
53 #define MS_MGC_VAL 0xC0ED0000
54 #define MS_MGC_MSK 0xffff0000
55 #endif
56