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

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

 



Try this:

sudo find / -type f -name check -context '*spc*'

I would not expect there to be a lot of files with that combination.

On Sat, Jun 17, 2023 at 08:38:50PM +0300, Marius Ghita 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