Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pkeys.h Create Date:2022-07-28 05:55:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mm_pkey_is_allocated

Proto:static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey)

Type:bool

Parameter:

TypeParameterName
struct mm_struct *mm
intpkey
23  Return pkey == 0
Caller
NameDescribe
do_mprotect_pkeypkey==-1 when doing a legacy mprotect()