Description of problem: lsof can't display the SELinux security context of an process, or filter to processes with a specific context. Version-Release number of selected component (if applicable): lsof-4.76-2.src.rpm Additional info: I've done a patch to add this feature, if we could test it in rawhide and then look to moving it upstream I'll do what is needed to make any changes for that. Patch was based on the code for Solaris zones, so it should be acceptable upstream. The only minor thing I can think they might not like is that the patch uses fnmatch().
Created attachment 128963 [details] implement -Z option and documentation for same
I've sent the patch to upstream maintainer. We'll see his opinion.