函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\util.c Create Date:2022-07-27 15:45:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check if the vma is being used as a stack by this task

函数原型:int vma_is_stack_for_current(struct vm_area_struct *vma)

返回类型:int

参数:

类型参数名称
struct vm_area_struct *vma
308  struct task_struct * __maybe_unused t = 当前进程
310  返回:Our start address within vm_mm. 小于等于KSTK_ESP(t)且The first byte after our end addresswithin vm_mm. 大于等于KSTK_ESP(t)
调用者
名称描述
selinux_file_mprotect