[PATCH] Revert "Smack: Handle io_uring kernel thread privileges"
axboe at kernel.dk
Fri Mar 26 16:05:03 UTC 2021
On 3/26/21 10:00 AM, Casey Schaufler wrote:
> On 3/25/2021 5:42 PM, Jens Axboe wrote:
>> This reverts commit 942cb357ae7d9249088e3687ee6a00ed2745a0c7.
>> The io_uring PF_IO_WORKER threads no longer have PF_KTHREAD set, so no
>> need to special case them for credential checks.
> Could you cite the commit making that change?
> I wouldn't want to see this change back-ported to a kernel
> that doesn't have that change as well.
This is strictly 5.12+. The change came about from:
Author: Jens Axboe <axboe at kernel.dk>
Date: Tue Feb 16 14:15:30 2021 -0700
io-wq: fork worker threads from original task
So don't backport it.
More information about the Linux-security-module-archive