Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71446
b: refs/heads/master
c: faacbfd
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Emelyanov authored and Linus Torvalds committed Oct 19, 2007
1 parent 3e13065 commit e9614a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c3f2ead5a3dff9069a45560ba4d007c8ae2e2ee
refs/heads/master: faacbfd3a6808bf87d8f353b42eceeaba2c78a47
2 changes: 2 additions & 0 deletions trunk/include/linux/pid_namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ struct pid_namespace {
int last_pid;
struct task_struct *child_reaper;
struct kmem_cache *pid_cachep;
int level;
struct pid_namespace *parent;
};

extern struct pid_namespace init_pid_ns;
Expand Down
3 changes: 2 additions & 1 deletion trunk/kernel/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ struct pid_namespace init_pid_ns = {
[ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
},
.last_pid = 0,
.child_reaper = &init_task
.level = 0,
.child_reaper = &init_task,
};

int is_global_init(struct task_struct *tsk)
Expand Down

0 comments on commit e9614a2

Please sign in to comment.