# Re: \[PATCH 3/3\] /dev/null: add IORING\_OP\_URING\_CMD support

- From: Greg Kroah-Hartman \<gregkh@linuxfoundation.org\>
- Date: 2022-08-23 06:52:21 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2022/08/13131014
- Thread: https://ratatoskr.run/linux-security-module/2022/08/13131003/t.md

```text
On Mon, Aug 22, 2022 at 05:21:19PM -0400, Paul Moore wrote:
> This patch adds support for the io_uring command pass through, aka
> IORING_OP_URING_CMD, to the /dev/null driver.  As with all of the
> /dev/null functionality, the implementation is just a simple sink
> where commands go to die, but it should be useful for developers who
> need a simple IORING_OP_URING_CMD test device that doesn't require
> any special hardware.

Also, shouldn't you document this somewhere?

At least in the code itself saying "this is here so that /dev/null works
as a io_uring sink" or something like that?  Otherwise it just looks
like it does nothing at all.

thanks,

greg k-h
```
