函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-27 06:44:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:check_data_rlimit

函数原型:static inline int check_data_rlimit(unsigned long rlim, unsigned long new, unsigned long start, unsigned long end_data, unsigned long start_data)

返回类型:int

参数:

类型参数名称
unsigned longrlim
unsigned longnew
unsigned longstart
unsigned longend_data
unsigned longstart_data
2287  如果rlim小于RLIM_INFINITY
2288  如果newstartend_datastart_data大于rlim则返回:负ENOSPC
2292  返回:0
调用者
名称描述
validate_prctl_map_addrCheck arithmetic relations of passed addresses.* WARNING: we don't require any capability here so be very careful* in what is allowed for modification from userspace.
SYSCALL_DEFINE1