Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Update mmap_min_addr = max(dac_mmap_min_addr, CONFIG_LSM_MMAP_MIN_ADDR)

Proto:static void update_mmap_min_addr(void)

Type:void

Parameter:Nothing

24  amount of vm to protect from userspace access by both DAC and the LSM = amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC)
Caller
NameDescribe
mmap_min_addr_handlersysctl handler which just sets dac_mmap_min_addr = the new value and then* calls update_mmap_min_addr() so non MAP_FIXED hints get rounded properly
init_mmap_min_addr