Skip to content

Commit

Permalink
Merge branch 'uring_sysctl' of https://github.com/matrizzo/liburing
Browse files Browse the repository at this point in the history
* 'uring_sysctl' of https://github.com/matrizzo/liburing:
  man/io_uring_setup.2: add new reason for returning EPERM.
  • Loading branch information
axboe committed Sep 13, 2023
2 parents 091e093 + f26bc42 commit b58921e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions man/io_uring_setup.2
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,13 @@ Insufficient kernel resources are available.
.B IORING_SETUP_SQPOLL
was specified, but the effective user ID of the caller did not have sufficient
privileges.
.TP
.B EPERM
.I /proc/sys/kernel/io_uring_disabled
has the value 2, or it has the value 1 and the calling process does not hold the
.B CAP_SYS_ADMIN
capability or is not a member of
.I /proc/sys/kernel/io_uring_group.
.SH SEE ALSO
.BR io_uring_register (2),
.BR io_uring_enter (2)

0 comments on commit b58921e

Please sign in to comment.