Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:randomize_stack_top

Proto:unsigned long randomize_stack_top(unsigned long stack_top)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longstack_top
319  random_variable = 0
321  If flags & Randomize virtual address space Then
322  random_variable = get_random_long()
323  random_variable &= STACK_RND_MASK
324  random_variable <<= PAGE_SHIFT determines the page size
329  Return align the pointer to the (next) page boundary (stack_top) - random_variable