projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pid namespaces: changes to show virtual ids to user
[linux-2.6-block.git]
/
kernel
/
sysctl.c
diff --git
a/kernel/sysctl.c
b/kernel/sysctl.c
index 44868e4df1d3deeea567c62a7c7c17e0251931b2..3b4efbe2644572a32576b1a591f003e9869699f0 100644
(file)
--- a/
kernel/sysctl.c
+++ b/
kernel/sysctl.c
@@
-2278,7
+2278,7
@@
static int proc_do_cad_pid(struct ctl_table *table, int write, struct file *filp
pid_t tmp;
int r;
- tmp = pid_nr
(cad_pid
);
+ tmp = pid_nr
_ns(cad_pid, current->nsproxy->pid_ns
);
r = __do_proc_dointvec(&tmp, table, write, filp, buffer,
lenp, ppos, NULL, NULL);