diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-02-08 10:33:00 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-08 10:33:00 -0700 |
commit | 9f3bec5b0917e94be2f8020cff937a585b5d4ddd (patch) | |
tree | 27480f9d5fcd32a980c4df0458a2f88c4c4e59fd /src | |
parent | bed7020ffe85bfe64da4e9589297db25e5492bb8 (diff) |
syscall: update io_uring_enter() to match kernel type
We would randomly fail depending on what garbage was passed in
the two sigset related fields.
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
-rw-r--r-- | src/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall.c b/src/syscall.c index 0ad5c13..a9e648e 100644 --- a/src/syscall.c +++ b/src/syscall.c @@ -36,5 +36,5 @@ int io_uring_enter(int fd, unsigned int to_submit, unsigned int min_complete, unsigned int flags) { return syscall(__NR_sys_io_uring_enter, fd, to_submit, min_complete, - flags); + flags, NULL, 0); } |