Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mlock.c Create Date:2022-07-28 14:45:18
Last Modify:2022-05-23 14:12:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:can_do_mlock

Proto:bool can_do_mlock(void)

Type:bool

Parameter:Nothing

31  If rlimit(RLIMIT_MEMLOCK) != 0 Then Return true
33  If Check operation authority Then Return true
35  Return false
Caller
NameDescribe
do_mlock
SYSCALL_DEFINE1
do_mmapThe caller must hold down_write(¤t->mm->mmap_sem).