Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Make page to RO mode when allocate it

Proto:void *alloc_insn_page(void)

Type:void

Parameter:Nothing

424  page = Allocator used for allocating struct module, core sections and initsections. Returns NULL on failure.
425  If Not page Then Return NULL
428  set_vm_flush_reset_perms(page)
433  Functions to change memory attributes.
439  set_memory_x((unsignedlong)page, 1)
441  Return page