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>
This commit is contained in:
Jens Axboe
2019-02-08 10:33:00 -07:00
parent bed7020ffe
commit 9f3bec5b09

View File

@@ -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);
}