commit | 071698e13ac6ba786dfa22349a7b62deb5a9464d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Jan 28 10:04:42 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jan 28 17:44:44 2020 -0700 |
tree | 768fbf82c1c12cbc853327b82153420693c8a22f | |
parent | 24369c2e3bb06d8c4e71fd6ceaf4f8a01ae79b7c [diff] |
io_uring: allow registering credentials If an application wants to use a ring with different kinds of credentials, it can register them upfront. We don't lookup credentials, the credentials of the task calling IORING_REGISTER_PERSONALITY is used. An 'id' is returned for the application to use in subsequent personality support. Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>