implement mlockall()/munlockall() for LTP syscall

This commit is contained in:
NAKAMURA Gou
2015-03-12 16:28:57 +09:00
parent 786ae83380
commit 055769254d
3 changed files with 39 additions and 0 deletions

View File

@@ -27,4 +27,10 @@
#define MAP_STACK 0x00020000
#define MAP_HUGETLB 0x00040000
/*
* for mlockall()
*/
#define MCL_CURRENT 0x01
#define MCL_FUTURE 0x02
#endif /* HEADER_ARCH_MMAN_H */