linux icon indicating copy to clipboard operation
linux copied to clipboard

Add io_uring tests

Open l0kod opened this issue 1 year ago • 14 comments

io_uring is a complex interface growing quickly that can lead to critical security issues and bypass of security checks. Current Landlock's tests don't check with io_uring operations.

It would be good to extend Landlock's tests using relevant io_uring's operations (e.g. IORING_OP_OPENAT, IORING_OP_CONNECT).

l0kod avatar Jan 31 '24 08:01 l0kod

hi I am Maha from outreachy, can you guide me about this issue

maha-sachin avatar Mar 13 '24 20:03 maha-sachin

Hi! The goal is to add new tests to these test files.

l0kod avatar Mar 14 '24 15:03 l0kod

@l0kod, Thank you for your assistance! can you help me to assign this issue? , I will start working on it and make the necessary changes.

maha-sachin avatar Mar 14 '24 21:03 maha-sachin

I'm assigning this issue to you. Please regularly update it with your progress. This doesn't need to be long but just enough to make sure you are not blocked.

You can add the io_uring command on which you are working on. Other people interested to add new tests could complete this list and work together.

l0kod avatar Mar 15 '24 11:03 l0kod

I'm assigning this issue to you. Please regularly update it with your progress. This doesn't need to be long but just enough to make sure you are not blocked.

You can add the io_uring command on which you are working on. Other people interested to add new tests could complete this list and work together.

@l0kod, I appreciate the opportunity to contribute. I'll start working on it right away and will provide regular updates on my progress.

maha-sachin avatar Mar 15 '24 14:03 maha-sachin

@Madhupatel08 please read the Outreachy's kernel development documentation first. Your PR doesn't help with this issue, there is nothing specific to Landlock.

l0kod avatar Mar 18 '24 18:03 l0kod

hi I am Maha from outreachy, can you guide me about this issue

Hi Maha - Are you intending to be an applicant with Linux Kernel Outreachy this round? Please drop me a note if so. Thanks! (I'm the kernel coordinator for Outreachy)

AlisonSchofield avatar Mar 19 '24 15:03 AlisonSchofield

Hi @AlisonSchofield, Glad to hear from you. I am interested in becoming an applicant. What might be the best way to reach out to you?

maha-sachin avatar Mar 19 '24 18:03 maha-sachin

@l0kod, @AlisonSchofield , I'm excited about the opportunity to contribute to the Linux Kernel project. However, I am using a macOS Apple Silicon device, and I understand that the project setup requires Linux, which is typically more conducive to working with the kernel. To address this, I'm in the process of arranging to obtain Ubuntu OS through my city employment service. Once I have it set up, I'll be fully equipped to dive into the project requirements.

Thank you for your understanding and support.

maha-sachin avatar Mar 19 '24 19:03 maha-sachin

Hi, I would like to work on this issue. I have already made contributions to drivers/staging and have one patch accepted and a couple patches with the acked-by tags. Can I please get this issue assigned to me so I can start working on It? Thank you.

MissTipo avatar Mar 20 '24 04:03 MissTipo

Hi @MissTipo! Yes, you can start working on this. We like tests and everyone can add new ones. Moreover, you are indeed following the Outreachy rules and already sent a lot of patches.

For now, we can have several assignees. We'll see how it goes with the first patches for this task.

l0kod avatar Mar 20 '24 13:03 l0kod

For reference: the related patch.

l0kod avatar Mar 28 '24 14:03 l0kod

I guess nobody is working on this task anymore.

l0kod avatar Jul 15 '24 18:07 l0kod

It would be great to also have a test for the IORING_OP_SOCKET operation when Socket access-control is applied.

sm1ling-knight avatar Sep 04 '24 11:09 sm1ling-knight