Bug#786956: getpidcon() behaviour when other LSM is enabled

2015-05-28 Thread Stephen Smalley
On 05/28/2015 02:06 PM, Laurent Bigonville wrote: > Hello, > > In procps(-ng)[0] when the use of libselinux is enabled at build time, > it always uses getpidcon() even if an other (or no) LSM is enabled. > > I tried to use getpidcon() (via the cmd tool getpidcon) with apparmor > enabled instead o

Bug#786956: getpidcon() behaviour when other LSM is enabled

2015-05-28 Thread Laurent Bigonville
Hello, In procps(-ng)[0] when the use of libselinux is enabled at build time, it always uses getpidcon() even if an other (or no) LSM is enabled. I tried to use getpidcon() (via the cmd tool getpidcon) with apparmor enabled instead of selinux, and it returned the apparmor context. Is this expecte