Thread (35 messages) 35 messages, 5 authors, 2021-09-15

Re: [RFC PATCH v2 0/9] Add LSM access controls and auditing to io_uring

From: Richard Guy Briggs <hidden>
Date: 2021-08-27 13:36:14
Also in: io-uring, linux-fsdevel, selinux

On 2021-08-26 15:14, Paul Moore wrote:
On Thu, Aug 26, 2021 at 12:32 PM Richard Guy Briggs [off-list ref] wrote:
quoted
I'm getting:
        # ./iouring.2
        Kernel thread io_uring-sq is not running.
        Unable to setup io_uring: Permission denied

        # ./iouring.3s
        >>> server started, pid = 2082
        >>> memfd created, fd = 3
        io_uring_queue_init: Permission denied

I have CONFIG_IO_URING=y set, what else is needed?
I'm not sure how you tried to run those tests, but try running as root
and with SELinux in permissive mode.
Ok, they ran, including iouring.4.  iouring.2 claimed twice: "Kernel
thread io_uring-sq is not running." and I didn't get any URING records
with ausearch.  I don't know if any of this is expected.
paul moore
- RGB

--
Richard Guy Briggs [off-list ref]
Sr. S/W Engineer, Kernel Security, Base Operating Systems
Remote, Ottawa, Red Hat Canada
IRC: rgb, SunRaycer
Voice: +1.647.777.2635, Internal: (81) 32635
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help