Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:exec_binprm

Proto:static int exec_binprm(struct linux_binprm *bprm)

Type:int

Parameter:

TypeParameterName
struct linux_binprm *bprm
1696  old_pid = pid
1697  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1698  old_vpid = task_pid_nr_ns(current process, task_active_pid_ns(parent))
1699  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1701  ret = ycle the list of binary formats handler, until one recognizes the image
1702  If ret >= 0 Then
1703  audit_bprm(bprm)
1704  Tracepoint for exec:
1705  ptrace_event - possibly stop for a ptrace event notification*@event: %PTRACE_EVENT_* value to report*@message: value for %PTRACE_GETEVENTMSG to return* Check whether @event is enabled and, if so, report @event and @message* to the ptrace parent.
1706  proc_exec_connector(current process)
1709  Return ret
Caller
NameDescribe
__do_execve_filesys_execve() executes a new program.