cgroup: add 2 pid relational functions

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>