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

F37 sssd sqpoll #1879

Merged
merged 2 commits into from
Sep 29, 2023
Merged

F37 sssd sqpoll #1879

merged 2 commits into from
Sep 29, 2023

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Sep 29, 2023

No description provided.

In the d2c31f429b libuv commit ("linux: introduce io_uring support",
libuv/libuv@d2c31f429b)
support for io_uring was added which requires the sqpoll SELinux
permissions for services linked with libuv or executing a non-confined
command (e. g. /usr/bin/nsupdate) which is linked with libuv.

The commit addresses the following AVC denial:
type=AVC msg=audit(1689629587.147:175): avc:  denied  { sqpoll } for  pid=3950 comm="nsupdate" scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=io_uring permissive=0

Resolves: rhbz#2241105
The commit addresses the following example AVC denial:
type=PROCTITLE msg=audit(07/18/2023 11:57:52.157:925) : proctitle=/usr/sbin/named -u named -c /etc/named.conf
type=SYSCALL msg=audit(07/18/2023 11:57:52.157:925) : arch=x86_64 syscall=io_uring_setup success=no exit=EACCES(Permission denied) a0=0x40 a1=0x7fffbb6a9020 a2=0x0 a3=0x56537b7683f0 items=0 ppid=35360 pid=35361 auid=unset uid=named gid=named euid=named suid=named fsuid=named egid=named sgid=named fsgid=named tty=(none) ses=unset comm=named exe=/usr/sbin/named subj=system_u:system_r:named_t:s0 key=(null)
type=AVC msg=audit(07/18/2023 11:57:52.157:925) : avc:  denied  { sqpoll } for  pid=35361 comm=named scontext=system_u:system_r:named_t:s0 tcontext=system_u:system_r:named_t:s0 tclass=io_uring permissive=0
@zpytela zpytela changed the base branch from rawhide to f37 September 29, 2023 09:20
@zpytela zpytela merged commit f4f4076 into fedora-selinux:f37 Sep 29, 2023
1 check passed
@zpytela zpytela deleted the f37-sssd-sqpoll branch September 29, 2023 09:47
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.

1 participant