Search code examples
linuxfedorapermission-deniedio-uring

io_uring_queue_init permission denied


I've updated my fedora linux with dnf update to kernel version Linux 5.16.7-200.fc35.x86_64 x86_64 and am now getting a EPERM/permission denied error for a call to io_uring_queue_init, even when calling my program as root.

I am at a total loss, is this a bug in the kernel build or do I need to add some init code?


Solution

  • It was selinux, I solved it by disabling selinux.

    The upgrade came with kernel 5.16:

    https://www.phoronix.com/scan.php?page=news_item&px=SELinux-IO_uring-Linux-5.16