Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ModemManager create a qipcrtr socket #863

Merged
merged 2 commits into from Sep 7, 2021

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Sep 6, 2021

No description provided.

This permission is requested when a qipcrtr socket is created
and the qrtr (net-pf-42) module has not been loaded yet.

Addresses the following AVC denial:

type=PROCTITLE msg=audit(09/06/2021 11:43:19.530:298) : proctitle=/usr/sbin/ModemManager
type=SYSCALL msg=audit(09/06/2021 11:43:19.530:298) : arch=x86_64 syscall=socket success=yes exit=9 a0=qipcrtr a1=SOCK_DGRAM a2=ip a3=0x10 items=0 ppid=1 pid=1221 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=ModemManager exe=/usr/sbin/ModemManager subj=system_u:system_r:modemmanager_t:s0 key=(null)
type=AVC msg=audit(09/06/2021 11:43:19.530:298) : avc:  denied  { module_request } for  pid=1221 comm=ModemManager kmod="net-pf-42" scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=1
type=AVC msg=audit(09/06/2021 11:43:19.530:298) : avc:  denied  { create } for  pid=1221 comm=ModemManager scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:system_r:modemmanager_t:s0 tclass=qipcrtr_socket permissive=1

Resolves: rhbz#2001057
@zpytela zpytela merged commit e372b3a into fedora-selinux:rawhide Sep 7, 2021
@zpytela zpytela deleted the nm-qipcrtr-socket branch September 7, 2021 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant