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@fedoraproject.org> 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@lists.fedoraproject.org To unsubscribe send an email to
[3]selinux-leave@lists.fedoraproject.org
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@lists.fedoraproject.or...
Do not reply to spam, report it:
-- GnuPG: AE157E0B29F0BEF2 at [8]keys.openpgp.org CA Cert: [9]https://dl.casperlefantom.net/pub/ssl/root.der Jabber/XMPP Messaging: [10]casper@casperlefantom.net
References
Visible links
- mailto:fantom@fedoraproject.org
- mailto:selinux@lists.fedoraproject.org
- mailto:selinux-leave@lists.fedoraproject.org
- https://docs.fedoraproject.org/en-US/project/code-of-conduct/
- https://fedoraproject.org/wiki/Mailing_list_guidelines
- https://lists.fedoraproject.org/archives/list/selinux@lists.fedoraproject.or...
- https://pagure.io/fedora-infrastructure/new_issue
- http://keys.openpgp.org/
- https://dl.casperlefantom.net/pub/ssl/root.der
- mailto:casper@casperlefantom.net