xref: /aosp_15_r20/external/ltp/include/lapi/mlock2.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
4  * Author: Xiao Yang <[email protected]>
5  */
6 
7 #ifndef LAPI_MLOCK2_H__
8 #define LAPI_MLOCK2_H__
9 
10 #include <linux/mman.h>
11 
12 #ifndef MLOCK_ONFAULT
13 # define MLOCK_ONFAULT	0x01
14 #endif
15 
16 #endif /* LAPI_MLOCK2_H__ */
17