summaryrefslogtreecommitdiffstats
path: root/kernel/hrtimer.c
diff options
context:
space:
mode:
authorEric W. Biederman2012-08-02 13:25:10 +0200
committerEric W. Biederman2012-11-19 14:57:31 +0100
commit49f4d8b93ccf9454284b6f524b96c66d8d7fbccc (patch)
tree06540b59a9d302687fd0519239729c1612d0e2b7 /kernel/hrtimer.c
parentprocfs: Don't cache a pid in the root inode. (diff)
downloadkernel-qcow2-linux-49f4d8b93ccf9454284b6f524b96c66d8d7fbccc.tar.gz
kernel-qcow2-linux-49f4d8b93ccf9454284b6f524b96c66d8d7fbccc.tar.xz
kernel-qcow2-linux-49f4d8b93ccf9454284b6f524b96c66d8d7fbccc.zip
pidns: Capture the user namespace and filter ns_last_pid
- Capture the the user namespace that creates the pid namespace - Use that user namespace to test if it is ok to write to /proc/sys/kernel/ns_last_pid. Zhao Hongjiang <zhaohongjiang@huawei.com> noticed I was missing a put_user_ns in when destroying a pid_ns. I have foloded his patch into this one so that bisects will work properly. Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions