tools headers: Grab copy of io_uring.h
authorBreno Leitao <leitao@debian.org>
Mon, 16 Oct 2023 13:47:44 +0000 (06:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 19 Oct 2023 22:42:03 +0000 (16:42 -0600)
commit7746a6adfc81e2e0386a85117d5e8fd824da367b
treeb7f5439e621d5aaf8162b28177cbe1e40bcda77c
parent5fea44a6e05b86bf49019fbbf2ab30098d03e0dc
tools headers: Grab copy of io_uring.h

This file will be used by mini_uring.h and allow tests to run without
the need of installing liburing to run the tests.

This is needed to run io_uring tests in BPF, such as
(tools/testing/selftests/bpf/prog_tests/sockopt.c).

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20231016134750.1381153-7-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/include/uapi/linux/io_uring.h [new file with mode: 0644]