Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_dumpable stores three-value SUID_DUMP_* into mm->flags.

Proto:void set_dumpable(struct mm_struct *mm, int value)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
intvalue
1949  If WARN_ON((unsigned)value > Dump as root ) Then Return
1952  set_mask_bits( & Must use atomic bitops to access , MMF_DUMPABLE_MASK, value)
Caller
NameDescribe
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