From 9f3bec5b0917e94be2f8020cff937a585b5d4ddd Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 8 Feb 2019 10:33:00 -0700 Subject: 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 Signed-off-by: Jens Axboe --- src/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit