Skip to content

Commit

Permalink
pids: Initialize leader_pid in init_task
Browse files Browse the repository at this point in the history
This is cheap and no cost so we might as well.

Signed-off-by: "Eric W. Biederman" <[email protected]>
  • Loading branch information
ebiederm committed Jul 21, 2018
1 parent ce397d2 commit 2896b0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init/init_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static struct signal_struct init_signals = {
},
#endif
INIT_CPU_TIMERS(init_signals)
.leader_pid = &init_struct_pid,
INIT_PREV_CPUTIME(init_signals)
};

Expand Down

0 comments on commit 2896b0f

Please sign in to comment.