Add sigmask parameter to io_uring_enter

Update liburing and io_uring_enter.2 to match the kernel.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jeff Moyer
2019-02-08 13:32:21 -05:00
committed by Jens Axboe
parent 9f3bec5b09
commit 3ceb15c132
4 changed files with 50 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ static int __io_uring_get_completion(struct io_uring *ring,
if (!wait)
break;
ret = io_uring_enter(ring->ring_fd, 0, 1,
IORING_ENTER_GETEVENTS);
IORING_ENTER_GETEVENTS, NULL, _NSIG / 8);
if (ret < 0)
return -errno;
} while (1);
@@ -112,7 +112,7 @@ int io_uring_submit(struct io_uring *ring)
submit:
return io_uring_enter(ring->ring_fd, submitted, 0,
IORING_ENTER_GETEVENTS);
IORING_ENTER_GETEVENTS, NULL, _NSIG / 8);
}
/*