Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:would_dump

Proto:void would_dump(struct linux_binprm *bprm, struct file *file)

Type:void

Parameter:

TypeParameterName
struct linux_binprm *bprm
struct file *file
1314  inode = file_inode(file)
1315  If inode_permission(inode, MAY_READ) < 0 Then
1317  interp_flags |= BINPRM_FLAGS_ENFORCE_NONDUMP
1320  user_ns = old = user_ns
1321  When user_ns != userns count is 1 for root user, 1 for init_uts_ns,* and 1 for... ? && Not privileged_wrt_inode_uidgid - Do capabilities in the namespace work over the inode?*@ns: The user namespace in question*@inode: The inode in question* Return true if the inode uid and gid are within the namespace. cycle
1323  user_ns = parent
1325  If old != user_ns Then
1327  put_user_ns(old)
Caller
NameDescribe
__do_execve_filesys_execve() executes a new program.
load_misc_binaryhe loader itself
load_elf_binary
load_elf_fdpic_binaryload an fdpic binary into various bits of memory