Function Report

Linux Kernel (v4.4)

Source File:kernel\events\uprobes.c Create Date:2016-01-14 12:11:50
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:uprobe_copy_process

Function:void uprobe_copy_process(struct task_struct *t, unsigned long flags)

Return Type:void

Parameter:

Type Parameter NameRemarks
struct task_struct * t
unsigned long flags

Function description:Called in context of a new clone/fork from copy_process.

1479  *Metadata of a task while it singlesteps. = current process->utask
1480  *mm = current process->mm
1483  utask = NULL
1485  If !Metadata of a task while it singlesteps. || !Metadata of a task while it singlesteps. then Returning
1488  If mm == mm && !(flags & set if the parent wants the child to wake it up on mm_release) then Returning
1491  If dup_utask(t, Metadata of a task while it singlesteps.) then Returning uprobe_warn(t, "dup ret instances")
1495  Execute out of line area: anonymous executable mapping installed by the probed task to execute the copy of the original instruction mangled by set_swbp(). = xol_area
1496  If !Execute out of line area: anonymous executable mapping installed by the probed task to execute the copy of the original instruction mangled by set_swbp(). then Returning uprobe_warn(t, "dup xol area")
1499  If mm == mm then Returning
1502  Metadata of a task while it singlesteps. = Page(s) of instruction slots
1503  init_task_work( &Metadata of a task while it singlesteps., dup_xol_work)
1504  ask the@task to execute@work->func()
Caller
Function NameFunction description
copy_processCreate a new process