diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-12-07 01:22:46 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-07 18:43:44 +0300 |
commit | e8c954df234145c5765870382c2bc630a48beec9 (patch) | |
tree | 7d2aa221c44703939d97de9328729e3caeb7ae38 /lib/test_overflow.c | |
parent | 2d280bc8930ba9ed1705cfd548c6c8924949eaf1 (diff) | |
download | linux-e8c954df234145c5765870382c2bc630a48beec9.tar.xz |
io_uring: fix mis-seting personality's creds
After io_identity_cow() copies an work.identity it wants to copy creds
to the new just allocated id, not the old one. Otherwise it's
akin to req->work.identity->creds = req->work.identity->creds.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions