Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:58:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_mmap_addr

Proto:static int selinux_mmap_addr(unsigned long addr)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
3701  rc = 0
3703  If addr < CONFIG_LSM_MMAP_MIN_ADDR Then
3704  sid = get the subjective security ID of the current task
3705  rc = avc_has_perm - Check permissions and perform any appropriate auditing
3710  Return rc