函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\exec.c Create Date:2022-07-29 10:33:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_dumpable stores three-value SUID_DUMP_* into mm->flags.

函数原型:void set_dumpable(struct mm_struct *mm, int value)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
intvalue
1949  如果WARN_ON((unsigned)value > Dump as root )则返回
1952  set_mask_bits( & Must use atomic bitops to access , MMF_DUMPABLE_MASK, value)
调用者
名称描述
commit_credsmmit_creds - Install new credentials upon the current task*@new: The credentials to be assigned* Install a new set of credentials to the current task, using RCU to replace* the old set. Both the objective and the subjective credentials pointers are
setup_new_exec
SYSCALL_DEFINE5