Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:is_valid_bugaddr

Proto:int is_valid_bugaddr(unsigned long addr)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
160  If addr < TASK_SIZE_MAX Then Return 0
163  If probe_kernel_address(): safely attempt to read from a location*@addr: address to read from*@retval: read into this variable* Returns 0 on success, or -EFAULT.((unsignedshort * )addr, ud) Then Return 0
166  Return ud == INSN_UD0 || ud == INSN_UD2
Caller
NameDescribe
report_bug