]> git.proxmox.com Git - mirror_lxcfs.git/commit - lxcfs.c
read: translate pids into the reader's pidns
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 26 Dec 2014 04:48:43 +0000 (22:48 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 27 Dec 2014 03:07:18 +0000 (21:07 -0600)
commita05660a6a0d67481974255512538a5b730d02b1f
tree576addc1db62602fae93a4d797ec3112e51eb3c8
parent41bb93574fa5c85ebb57d55db80efcc1e4643249
read: translate pids into the reader's pidns

When reading a cgroupfs 'tasks' or 'cgroup.procs' file, we must translate
all pids from our namespace into the reader's.

TODO - convert writes

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxcfs.c