unplugged-system/external/ltp/include/lapi/mlock2.h

17 lines
321 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
#ifndef LAPI_MLOCK2_H__
#define LAPI_MLOCK2_H__
#include <linux/mman.h>
#ifndef MLOCK_ONFAULT
# define MLOCK_ONFAULT 0x01
#endif
#endif /* LAPI_MLOCK2_H__ */