Skip to content

Commit

Permalink
Allow sysadm_t use the io_uring API
Browse files Browse the repository at this point in the history
The commit addresses the following AVC denial:
type=AVC msg=audit(11/14/2024 20:11:39.441:379) : avc:  denied  { create } for  pid=5587 comm=qemu-system-i38 anonclass=[io_uring] scontext=sysadm_u:sysadm_r:sysadm_t:s0 tcontext=sysadm_u:object_r:io_uring_t:s0 tclass=anon_inode permissive=0
  • Loading branch information
zpytela committed Nov 19, 2024
1 parent c452bed commit 87abd28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/roles/sysadm.te
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ allow sysadm_t self:system all_system_perms;
#
# Local policy
#
kernel_io_uring_use(sysadm_t)
kernel_manage_perf_event(sysadm_t)
kernel_prog_run_bpf(sysadm_t)
kernel_read_fs_sysctls(sysadm_t)
Expand Down

0 comments on commit 87abd28

Please sign in to comment.