fork.c (30cd324e9787ccc9a5ede59742d5409857550692) | fork.c (bf53de907dfdaac178c92d774aae7370d7b97d20) |
---|---|
1/* 2 * linux/kernel/fork.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * 'fork.c' contains the help-routines for the 'fork' system call --- 1082 unchanged lines hidden (view full) --- 1091 p->lockdep_depth = 0; /* no locks held yet */ 1092 p->curr_chain_key = 0; 1093 p->lockdep_recursion = 0; 1094#endif 1095 1096#ifdef CONFIG_DEBUG_MUTEXES 1097 p->blocked_on = NULL; /* not blocked yet */ 1098#endif | 1/* 2 * linux/kernel/fork.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * 'fork.c' contains the help-routines for the 'fork' system call --- 1082 unchanged lines hidden (view full) --- 1091 p->lockdep_depth = 0; /* no locks held yet */ 1092 p->curr_chain_key = 0; 1093 p->lockdep_recursion = 0; 1094#endif 1095 1096#ifdef CONFIG_DEBUG_MUTEXES 1097 p->blocked_on = NULL; /* not blocked yet */ 1098#endif |
1099 if (unlikely(ptrace_reparented(current))) 1100 ptrace_fork(p, clone_flags); |
|
1099 1100 /* Perform scheduler related setup. Assign this task to a CPU. */ 1101 sched_fork(p, clone_flags); 1102 1103 if ((retval = security_task_alloc(p))) 1104 goto bad_fork_cleanup_policy; 1105 if ((retval = audit_alloc(p))) 1106 goto bad_fork_cleanup_security; --- 621 unchanged lines hidden --- | 1101 1102 /* Perform scheduler related setup. Assign this task to a CPU. */ 1103 sched_fork(p, clone_flags); 1104 1105 if ((retval = security_task_alloc(p))) 1106 goto bad_fork_cleanup_policy; 1107 if ((retval = audit_alloc(p))) 1108 goto bad_fork_cleanup_security; --- 621 unchanged lines hidden --- |