lib: abstract out selinux call
If the pid namespace mode is set to POD, then the container's namespace should be set to the namespace of the pod infra container. Signed-off-by: umohnani8 <umohnani@redhat.com>
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Signed-off-by: Antonio Murdaca <runcom@redhat.com>