summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-30 10:30:08 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-30 10:30:08 -0700
commitb9c4d35ffc9156243b5502443648592a0ed457a9 (patch)
treea82f7d5d81572f1bf59085a1be0ce5601f643b56 /man
parentd9e1b3061f9fed000cee5d5689b4e0118037065e (diff)
downloadliburing-b9c4d35ffc9156243b5502443648592a0ed457a9.tar.gz
liburing-b9c4d35ffc9156243b5502443648592a0ed457a9.tar.bz2
man/io_uring_enter.2: add credentials personality field
Add an explanation of it, and link to how to register/unregister personalities. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
-rw-r--r--man/io_uring_enter.214
1 files changed, 12 insertions, 2 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index 248dc82..3fac4fd 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -136,7 +136,12 @@ struct io_uring_sqe {
};
__u64 user_data; /* data to be passed back at completion time */
union {
- __u16 buf_index; /* index into fixed buffers, if used */
+ struct {
+ /* index into fixed buffers, if used */
+ __u16 buf_index;
+ /* personality to use, if used */
+ __u16 personality;
+ };
__u64 __pad2[3];
};
};
@@ -605,7 +610,12 @@ is an application-supplied value that will be copied into
the completion queue entry (see below).
.I buf_index
is an index into an array of fixed buffers, and is only valid if fixed
-buffers were registered
+buffers were registered.
+.I personality
+is the credentials id to use for this operation. See
+.BR io_uring_register(2)
+for how to register personalities with io_uring. If set to 0, the current
+personality of the submitting task is used.
.PP
Once the submission queue entry is initialized, I/O is submitted by
placing the index of the submission queue entry into the tail of the