Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Runs immediately before start_thread() takes over.

Proto:void finalize_exec(struct linux_binprm *bprm)

Type:void

Parameter:

TypeParameterName
struct linux_binprm *bprm
1394  Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring* subscriptions and synchronises with wait4(). Also used in procfs. Also* pins the final release of task.io_context. Also protects ->cpuset and* ->cgroup.subsys[]. And ->vfork_done.
1395  rlim[RLIMIT_STACK] = rlim_stack
1396  task_unlock(group_leader)
Caller
NameDescribe
load_aout_binaryThese are the functions used to load a.out style executables and shared* libraries. There is no binary dependent code anywhere else.
load_elf_binary
load_elf_fdpic_binaryload an fdpic binary into various bits of memory
load_flat_binaryThese are the functions used to load flat style executables and shared* libraries. There is no binary dependent code anywhere else.