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

Named anon_inode io_uring usage #1889

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Oct 4, 2023

No description provided.

@zpytela
Copy link
Contributor Author

zpytela commented Oct 4, 2023

@WOnder93 plese review, this is a follow-up to ecb0ee0e5

@zpytela zpytela force-pushed the named-anoninode branch 2 times, most recently from f9c5291 to 0be72fa Compare October 4, 2023 11:27
The commit addresses the following AVC denial example:
type=PROCTITLE msg=audit(10/04/2023 04:16:04.679:782) : proctitle=/usr/sbin/named -u named -c /etc/named.conf
type=SYSCALL msg=audit(10/04/2023 04:16:04.679:782) : arch=x86_64 syscall=io_uring_setup success=no exit=EACCES(Permission denied) a0=0x40 a1=0x7ffd3bdefe90 a2=0x0 a3=0x55a930c09bc0 items=0 ppid=1 4266 pid=14268 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(10/04/2023 04:16:04.679:782) : avc:  denied  { create } for  pid=14268 comm=named anonclass=[io_uring] scontext=system_u:system_r:named_t:s0 tcontext=system_u:object_r:io_uring_t:s0 tclass=anon_inode permissive=0
Copy link
Member

@WOnder93 WOnder93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version looks good 👍

@zpytela zpytela merged commit 74fd8bb into fedora-selinux:rawhide Oct 4, 2023
7 checks passed
@zpytela zpytela deleted the named-anoninode branch October 4, 2023 13:55
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.

2 participants