函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sysctl 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

函数原型:int mmap_min_addr_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

返回类型:int

参数:

类型参数名称
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
37  如果write且非操作权限检查则返回:负EPERM
40  ret等于指定大小读sysctl长整数向量
42  Update mmap_min_addr = max(dac_mmap_min_addr, CONFIG_LSM_MMAP_MIN_ADDR)
44  返回:ret