Sure. LABEL PID TTY TIME CMD unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 5342 pts/22 00:11:52 profanity my user is a standard user on Fedora system: $ id -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 Henry Zhang a écrit : > Could you please list output of "$ ps -ZC profanity"? > On Thu, Jun 1, 2023 at 9:18 PM Casper <[1]fantom@xxxxxxxxxxxxxxxxx> wrote: > > > I made a try on a running process. It works for me: > > > $ ps -ZC profanity > > > same result as: > > > $ ps -aZ | grep profanity > > > Are your processes (tar, ls) currently running?... > > > Henry Zhang a écrit : > > > Hi folks, > > > It is hard to list a context of a process. > > > For example: > > > ps -ZC ls > > > or ps -ZC tar > > > only "ps -ZC sleep" returns context of the sleep process. > > > # ps -ZC sleep > > > > > > > > LABEL PID TTY TIME CMD > > > > > > > > system_u:system_r:initrc_t:s0 11744 ? 00:00:00 sleep > > > > > system_u:system_r:initrc_t:s0 13006 ? > > > > > 00:00:00 sleep > > > system_u:system_r:initrc_t:s0 14087 ? 00:00:00 sleep > > > Any suggestions? > > > --henry > > > > _______________________________________________ > > > selinux mailing list -- [2]selinux@xxxxxxxxxxxxxxxxxxxxxxx > > > To unsubscribe send an email to > > [3]selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx > > > Fedora Code of Conduct: > > [4]https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > > > List Guidelines: > > [5]https://fedoraproject.org/wiki/Mailing_list_guidelines > > > List Archives: > > [6]https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx > > > Do not reply to spam, report it: > > [7]https://pagure.io/fedora-infrastructure/new_issue > > > -- > > GnuPG: AE157E0B29F0BEF2 at [8]keys.openpgp.org > > CA Cert: [9]https://dl.casperlefantom.net/pub/ssl/root.der > > Jabber/XMPP Messaging: [10]casper@xxxxxxxxxxxxxxxxxx > > References > > Visible links > 1. mailto:fantom@xxxxxxxxxxxxxxxxx > 2. mailto:selinux@xxxxxxxxxxxxxxxxxxxxxxx > 3. mailto:selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx > 4. https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > 5. https://fedoraproject.org/wiki/Mailing_list_guidelines > 6. https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx > 7. https://pagure.io/fedora-infrastructure/new_issue > 8. http://keys.openpgp.org/ > 9. https://dl.casperlefantom.net/pub/ssl/root.der > 10. mailto:casper@xxxxxxxxxxxxxxxxxx -- GnuPG: AE157E0B29F0BEF2 at keys.openpgp.org CA Cert: https://dl.casperlefantom.net/pub/ssl/root.der Jabber/XMPP Messaging: casper@xxxxxxxxxxxxxxxxxx
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/selinux@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue