|
@@ -1373,7 +1373,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
|
|
INIT_LIST_HEAD(&p->pi_state_list);
|
|
INIT_LIST_HEAD(&p->pi_state_list);
|
|
p->pi_state_cache = NULL;
|
|
p->pi_state_cache = NULL;
|
|
#endif
|
|
#endif
|
|
- uprobe_copy_process(p);
|
|
|
|
/*
|
|
/*
|
|
* sigaltstack should be cleared when sharing the same VM
|
|
* sigaltstack should be cleared when sharing the same VM
|
|
*/
|
|
*/
|
|
@@ -1490,6 +1489,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
|
|
perf_event_fork(p);
|
|
perf_event_fork(p);
|
|
|
|
|
|
trace_task_newtask(p, clone_flags);
|
|
trace_task_newtask(p, clone_flags);
|
|
|
|
+ uprobe_copy_process(p);
|
|
|
|
|
|
return p;
|
|
return p;
|
|
|
|
|