]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: async workers should inherit the user creds
authorJens Axboe <axboe@kernel.dk>
Mon, 25 Nov 2019 15:52:30 +0000 (08:52 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 02:56:11 +0000 (19:56 -0700)
commit3eb2a788bff05aa0e8680156808df395c30e1d8d
tree0245d1dc6356bd397fb604a28b5f9f716060b37f
parent846c2cf8ee8530c7967deaeef7901cc91133a6a9
io_uring: async workers should inherit the user creds

If we don't inherit the original task creds, then we can confuse users
like fuse that pass creds in the request header. See link below on
identical aio issue.

Link: https://lore.kernel.org/linux-fsdevel/26f0d78e-99ca-2f1b-78b9-433088053a61@scylladb.com/T/#u
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c
fs/io-wq.h
fs/io_uring.c