mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Implement the mlock2 function
Fallback using mlock is provided if the flags argument is zero. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -107,3 +107,7 @@
|
||||
#if __LINUX_KERNEL_VERSION >= 0x031300
|
||||
# define __ASSUME_EXECVEAT 1
|
||||
#endif
|
||||
|
||||
#if __LINUX_KERNEL_VERSION >= 0x040400
|
||||
# define __ASSUME_MLOCK2 1
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user