From: Jens Axboe <axboe@kernel.dk>
To: Casey Schaufler <casey@schaufler-ca.com>
Cc: linux-security-module@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Revert "Smack: Handle io_uring kernel thread privileges"
Date: Fri, 26 Mar 2021 10:05:03 -0600 [thread overview]
Message-ID: <33fc367c-ec00-eba5-71a9-59e47eb76163@kernel.dk> (raw)
In-Reply-To: <cc7dc28e-f812-a719-ce0c-a288d8facf72@schaufler-ca.com>
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:
commit 3bfe6106693b6b4ba175ad1f929c4660b8f59ca8
Author: Jens Axboe <axboe@kernel.dk>
Date: Tue Feb 16 14:15:30 2021 -0700
io-wq: fork worker threads from original task
So don't backport it.
--
Jens Axboe
next prev parent reply other threads:[~2021-03-26 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-26 0:42 [PATCH] Revert "Smack: Handle io_uring kernel thread privileges" Jens Axboe
2021-03-26 16:00 ` Casey Schaufler
2021-03-26 16:05 ` Jens Axboe [this message]
2021-05-18 17:40 ` Casey Schaufler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33fc367c-ec00-eba5-71a9-59e47eb76163@kernel.dk \
--to=axboe@kernel.dk \
--cc=casey@schaufler-ca.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).