函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:07:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:复制上下文

函数原型:void uprobe_copy_process(struct task_struct *t, unsigned long flags)

返回类型:void

参数:

类型参数名称
struct task_struct *t
unsigned longflags
1802  utask等于utask
1803  mm等于mm
1806  utask = NULL
1808  如果非utask或非return_instances则返回
1811  如果mm恒等于内存信息且非flags按位与父进程被挂起,直至子进程释放虚拟内存资源的值则返回
1814  如果dup_utask(t, utask)则返回:uprobe_warn(t, "dup ret instances")
1818  area等于xol_area
1819  如果非area则返回:uprobe_warn(t, "dup xol area")
1822  如果mm恒等于内存信息则返回
1825  dup_xol_addr等于Page(s) of instruction slots
1826  init_task_work( & dup_xol_work, dup_xol_work)
1827  ask_work_add - ask the @task to execute @work->func()*@task: the task which should run the callback*@work: the callback to run*@notify: send the notification if true* Queue @work for task_work_run() below and notify the @task if @notify.
调用者
名称描述
copy_process创建进程