linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Casey Schaufler <casey@schaufler-ca.com>,
	"SMACK-discuss@lists.01.org" <SMACK-discuss@lists.01.org>,
	Linux Security Module list 
	<linux-security-module@vger.kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Smack: Handle io_uring kernel thread privileges.
Date: Mon, 21 Dec 2020 19:05:01 -0700	[thread overview]
Message-ID: <b76a1405-10ae-b8ef-2f08-f84d5cd66fb9@kernel.dk> (raw)
In-Reply-To: <dacfb329-de66-d0cf-dcf9-f030ea1370de@schaufler-ca.com>

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 used.

Acked-by: Jens Axboe <axboe@kernel.dk>

-- 
Jens Axboe


      parent reply	other threads:[~2020-12-22  2:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dacfb329-de66-d0cf-dcf9-f030ea1370de.ref@schaufler-ca.com>
2020-12-18  1:12 ` [PATCH] Smack: Handle io_uring kernel thread privileges Casey Schaufler
2020-12-21 19:55   ` Eric W. Biederman
2020-12-22  2:05   ` Jens Axboe [this message]

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=b76a1405-10ae-b8ef-2f08-f84d5cd66fb9@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=SMACK-discuss@lists.01.org \
    --cc=casey@schaufler-ca.com \
    --cc=ebiederm@xmission.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).