Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\common.c Create Date:2022-07-28 15:50:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Clear all poison for the region between the current SP and a provided* watermark value, as is sometimes required prior to hand-crafted asm function* returns in the middle of functions.

Proto:void kasan_unpoison_stack_above_sp_to(const void *watermark)

Type:void

Parameter:

TypeParameterName
const void *watermark
209  sp = __builtin_frame_address(0)
210  size = watermark - sp
212  If WARN_ON(sp > watermark) Then Return
214  kasan_unpoison_shadow(sp, size)