函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\min_addr.c Create Date:2022-07-27 20:11:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Update mmap_min_addr = max(dac_mmap_min_addr, CONFIG_LSM_MMAP_MIN_ADDR)

函数原型:static void update_mmap_min_addr(void)

返回类型:void

参数:

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)
调用者
名称描述
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