mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: Hungyu Lin <dennylin0707@gmail.com>, axboe@kernel.dk
Cc: tj@kernel.org, hannes@cmpxchg.org, mkoutny@suse.com,
	josef@toxicpanda.com, cuitao@kylinos.cn, corbet@lwn.net,
	skhan@linuxfoundation.org, rdunlap@infradead.org,
	cgroups@vger.kernel.org, linux-block@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] blk-ioprio: check capabilities before promoting a cgroup to RT
Date: Tue, 17 Nov 2026 08:16:38 -0800	[thread overview]
Message-ID: <740cf6c3-51dc-4f29-a9d0-7e6118edb254@acm.org> (raw)
In-Reply-To: <20261117111157.2968-1-dennylin0707@gmail.com>

On 11/17/26 3:11 AM, Hungyu Lin wrote:
 > +#include <linux/capability.h>
 > +#include <linux/cred.h>

file_ns_capable() is declared in <linux/capability.h> and init_user_ns
is declared in <linux/user_namespace.h>. Shouldn't <linux/cred.h> be
changed into <linux/user_namespace.h>? Anyway:

Reviewed-by: Bart Van Assche <bvanassche@acm.org>

      reply	other threads:[~2026-11-17 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 11:11 Hungyu Lin
2026-11-17 16:16 ` Bart Van Assche [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=740cf6c3-51dc-4f29-a9d0-7e6118edb254@acm.org \
    --to=bvanassche@acm.org \
    --cc=axboe@kernel.dk \
    --cc=cgroups@vger.kernel.org \
    --cc=corbet@lwn.net \
    --cc=cuitao@kylinos.cn \
    --cc=dennylin0707@gmail.com \
    --cc=hannes@cmpxchg.org \
    --cc=josef@toxicpanda.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkoutny@suse.com \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    --cc=tj@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

all inboxes | Powered by JetHome®