函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\coredump.h Create Date:2022-07-27 06:41:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_dumpable

函数原型:static inline int get_dumpable(struct mm_struct *mm)

返回类型:int

参数:

类型参数名称
struct mm_struct *mm
31  返回:This returns the actual value of the suid_dumpable flag. For things* that are using this for checking for privilege transitions, it must* test against SUID_DUMP_USER rather than treating it as a boolean* value.
调用者
名称描述
ptrace_access_vmAccess another process' address space via ptrace.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages
__ptrace_may_accessReturns 0 on success, -errno on denial.
SYSCALL_DEFINE5
install_exec_credsstall the new credentials for this executable