diff options
author | Alistair Delva <adelva@google.com> | 2021-03-11 08:04:44 -0800 |
---|---|---|
committer | Alistair Delva <adelva@google.com> | 2022-08-21 17:46:42 +0000 |
commit | 989efa4e0fc6123c245902aa9980c02afe035621 (patch) | |
tree | 1d30eae120856e1e8886a6a035015420641c444b | |
parent | f0f2025690102d014edef1bd7977dce522f104eb (diff) | |
download | minijail-android11-gsi.tar.gz |
ANDROID: Add io_uring_* syscall definitionsandroid11-gsi
As an extension of aosp/1408990, make sure the new io_uring_* syscalls
are available to minijail, so it permits them in seccomp policy files.
This feature is being used by recent versions of crosvm.
Bug: 182373406
Change-Id: I2a30628dce5d768aabe8548b0cc64f4919d66582
(cherry picked from commit b5546ade64bf3c2112c3e4a889673be3a9072576)
-rw-r--r-- | gen_syscalls-inl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gen_syscalls-inl.h b/gen_syscalls-inl.h index 6203ae4..2004f7a 100644 --- a/gen_syscalls-inl.h +++ b/gen_syscalls-inl.h @@ -61,3 +61,15 @@ #define __NR_statx 291 #endif #endif /* __NR_statx */ + +#ifndef __NR_io_uring_enter +#define __NR_io_uring_enter 426 +#endif + +#ifndef __NR_io_uring_register +#define __NR_io_uring_register 427 +#endif + +#ifndef __NR_io_uring_setup +#define __NR_io_uring_setup 425 +#endif |