Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_brk

Proto:static int set_brk(unsigned long start, unsigned long end, int prot)

Type:int

Parameter:

TypeParameterName
unsigned longstart
unsigned longend
intprot
104  start = ELF_PAGEALIGN(start)
105  end = ELF_PAGEALIGN(end)
106  If end > start Then
112  error = vm_brk_flags(start, end - start, prot & page can be executed ? VM_EXEC : 0)
114  If error Then Return error
117  start_brk = brk = end
118  Return 0
Caller
NameDescribe
load_elf_binary