• Jens Axboe's avatar
    io_uring: COW io_identity on mismatch · 1e6fa521
    Jens Axboe authored
    If the io_identity doesn't completely match the task, then create a
    copy of it and use that. The existing copy remains valid until the last
    user of it has gone away.
    
    This also changes the personality lookup to be indexed by io_identity,
    instead of creds directly.
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    1e6fa521
io_uring.c 233 KB