Re: [PATCH] Smack: Handle io_uring kernel thread privileges.

2020-12-21 Thread Jens Axboe
On 12/17/20 6:12 PM, Casey Schaufler wrote: > 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

Re: [PATCH] Smack: Handle io_uring kernel thread privileges.

2020-12-21 Thread Eric W. Biederman
Casey Schaufler writes: > 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. Acked-by: "Eric

[PATCH] Smack: Handle io_uring kernel thread privileges.

2020-12-17 Thread Casey Schaufler
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: Jens Axboe Signed-off-by: Casey