Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-28 05:43:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_data_rlimit

Proto:static inline int check_data_rlimit(unsigned long rlim, unsigned long new, unsigned long start, unsigned long end_data, unsigned long start_data)

Type:int

Parameter:

TypeParameterName
unsigned longrlim
unsigned longnew
unsigned longstart
unsigned longend_data
unsigned longstart_data
2287  If rlim < RLIM_INFINITY Then
2288  If new - start + end_data - start_data > rlim Then Return -ENOSPC
2292  Return 0
Caller
NameDescribe
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