cgroup: add 2 pid relational functions

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #703 from liyangfnst/cgroup_pid

cgroup: add 2 pid relational functions