io_uring: ensure we inherit task creds
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | io-wq: have io_wq_create() take a 'data' argumentfs/ fs/ fs/ | +22 | 0 replies | |
| 2/2 | io_uring: async workers should inherit the user credsfs/ fs/ fs/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHSET v2 0/2] io_uring: ensure we inherit task creds
(resend as v1 included a 5.4 backport by accident)
As referenced in patch #2, fuse + fsync fails with aio because of the async punt of fsync not inheriting the original task creds. Apply the same sort of fix for io_uring, and apply it globally to all requests so we ensure we always present the rights creds when offloaded.
fs/io-wq.c | 24 ++++++++++++++++-------- fs/io-wq.h | 13 ++++++++++--- fs/io_uring.c | 23 +++++++++++++++++++++-- 3 files changed, 47 insertions(+), 13 deletions(-)
Signature · 1 line
Jens Axboe