Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Check for virtual address in kernel space.

Proto:int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw)

Type:int

Parameter:

TypeParameterName
struct arch_hw_breakpoint *hw
219  va = address
220  len = arch_bp_generic_len(len)
221  WARN_ON_ONCE(len < 0)
227  Return va >= TASK_SIZE_MAX || va + len - 1 >= TASK_SIZE_MAX