Skip to content
Commit 942cb357 authored by Casey Schaufler's avatar Casey Schaufler
Browse files

Smack: Handle io_uring kernel thread privileges



Smack assumes that kernel threads are privileged for smackfs
operations. This was necessary because the credential of the
kernel thread was not related to a user operation. With io_uring
the credential does reflect a user's rights and can be used.

Suggested-by: default avatarJens Axboe <axboe@kernel.dk>
Acked-by: default avatarJens Axboe <axboe@kernel.dk>
Acked-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent 9b0072e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment