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

Jeff Moyer
2021-05-26T19:06:39Z

Paul Moore <paul@paul-moore.com> writes:

> On Wed, May 26, 2021 at 10:59 AM Jeff Moyer <jmoyer@redhat.com> wrote:
>> Paul Moore <paul@paul-moore.com> writes:
>>
>> > Also, any pointers to easy-to-run io_uring tests would be helpful. I
>> > am particularly interested in tests which make use of the personality
>> > option, share urings across process boundaries, and make use of the
>> > sqpoll functionality.
>>
>> liburing contains a test suite:
>> https://git.kernel.dk/cgit/liburing/
>>
>> You can run it via 'make runtests'.
>
> Thanks Jeff, I'll take a look. Quick question as I start sifting
> through the tests, are there any tests in here which share a single
> ring across process boundaries?

Yes. At the very least, this one:

test/across-fork.c

-Jeff