Re: How do I find the process triggering the SELinux alert?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marius,

You can install lastcomm and see if lastcomm can keep the history of the pid=3953.
Run after boots up:
lastcomm --debug|grep 3953

---henry

On Sat, Jun 17, 2023 at 10:39 AM Marius Ghita <ghita.v.marius@xxxxxxxxx> wrote:
I have the following audit message

Raw Audit Messages
type=AVC msg=audit(1687022594.74:347): avc:  denied  { mmap_zero } for  pid=3953 comm="check" scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:spc_t:s0 tclass=memprotect permissive=0

This warning gets triggered from time to time around system startup, and I cannot find the process involved. The name check is too generic to use the locate command and the process is no longer running by the time I would have the chance to peek at the PID.

Thanks.
_______________________________________________
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
_______________________________________________
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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux