foresee policy triggered by a process

Henry Zhang <[email protected]> Tue, 11 Apr 2023 10:50:20 -0700
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <CANTW0yo36VmcpmMvUsRe=2etV4c2hMey0qNP+29cbTj_1Vsspw@mail.gmail.com>
Hi Folks,

I want to trace policy triggered by a process from the command line. Tried
ps -Z $(pgrep cmd)    ----> cmd is either command or executable file name

But it does not pick up any policy type.

Any suggestions?

Thanks.

----henry

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue