Implement io_uring wrapping
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ports/linux/pseudo_wrappers: Report io_uring as unsupported in syscall()ports/ test/ test/ | +74 | 0 replies | |
| 2/3 | ports/linux: Refuse io_uring in the kernel rather than be bypassed by itMakefile.in ports/ ports/ +7 more | +817 | 0 replies | |
| 3/3 | README.security: Describe io_uring refusal and the host fallbackREADME.security | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [pseudo][PATCH 0/3] Implement io_uring wrapping
[YOCTO #15244]
Implemented via a combination of intercepting the syscalls as well as trying to use seccomp to prevent the call from working if a user bypasses our syscall wrapper.
David Nyström (1):
ports/linux: Refuse io_uring in the kernel rather than be bypassed by
it
Mark Hatle (2):
ports/linux/pseudo_wrappers: Report io_uring as unsupported in
syscall()
README.security: Describe io_uring refusal and the host fallback
Makefile.in | 1 + README.security | 16 ++ ports/linux/io_uring_syscalls.h | 72 +++++ ports/linux/portdefs.h | 2 + ports/linux/pseudo_io_uring_seccomp.c | 363 ++++++++++++++++++++++++++ ports/linux/pseudo_wrappers.c | 24 ++ pseudo.1 | 79 ++++++ pseudo_util.c | 2 + pseudo_wrappers.c | 11 + test/test-io-uring-deny.c | 267 +++++++++++++++++++ test/test-io-uring-deny.sh | 16 ++ test/test-io-uring-syscall.c | 47 ++++ test/test-io-uring-syscall.sh | 7 + 13 files changed, 907 insertions(+) create mode 100644 ports/linux/io_uring_syscalls.h create mode 100644 ports/linux/pseudo_io_uring_seccomp.c create mode 100644 test/test-io-uring-deny.c create mode 100755 test/test-io-uring-deny.sh create mode 100644 test/test-io-uring-syscall.c create mode 100755 test/test-io-uring-syscall.sh
Signature · 1 line
2.34.1