xref: /aosp_15_r20/external/ltp/include/lapi/mount.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) Linux Test Project, 2015-2022
4  * Copyright (c) 2015 Cui Bixuan <[email protected]>
5  */
6 
7 #ifndef LAPI_MOUNT_H__
8 #define LAPI_MOUNT_H__
9 
10 #include <sys/mount.h>
11 
12 #ifndef MS_REC
13 # define MS_REC 16384
14 #endif
15 
16 #ifndef MS_PRIVATE
17 # define MS_PRIVATE (1<<18)
18 #endif
19 
20 #ifndef MS_STRICTATIME
21 # define MS_STRICTATIME (1 << 24)
22 #endif
23 
24 #ifndef MNT_DETACH
25 # define MNT_DETACH 2
26 #endif
27 
28 #ifndef MNT_EXPIRE
29 # define MNT_EXPIRE 4
30 #endif
31 
32 #ifndef UMOUNT_NOFOLLOW
33 # define UMOUNT_NOFOLLOW 8
34 #endif
35 
36 #ifndef MS_NOSYMFOLLOW
37 # define MS_NOSYMFOLLOW 256
38 #endif
39 
40 #endif /* LAPI_MOUNT_H__ */
41