From: "Günther Noack" <gnoack3000@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: "Mickaël Salaün" <mic@digikod.net>, linux-man@vger.kernel.org
Subject: Re: [PATCH v2 2/4] man/man[27]/{landlock_create_ruleset.2,landlock.7}: Document LANDLOCK_CREATE_RULESET_ERRATA
Date: Tue, 21 Apr 2026 19:58:07 +0200 [thread overview]
Message-ID: <20260421.ec0d503c0e84@gnoack.org> (raw)
In-Reply-To: <aebBYT2DKJGekGXe@devuan>
Hello Alejandro!
On Tue, Apr 21, 2026 at 02:16:38AM +0200, Alejandro Colomar wrote:
> On 2026-04-21T00:35:15+0200, Günther Noack wrote:
> > Document the LANDLOCK_CREATE_RULESET_ERRATA flag, which returns a
> > bitmask of fixed issues for the current Landlock ABI version.
> >
> > This mechanism was introduced in Linux 6.15, but backported to all
> > older kernel releases where these errata fixes were backported to.
> > On official Linux kernel releases, if landlock_create_ruleset() with
> > LANDLOCK_CREATE_RULESET_ERRATA returns an error, this is equivalent to
> > the case where none of the known errata have been fixed.
> >
> > Signed-off-by: Günther Noack <gnoack3000@gmail.com>
> > ---
> > man/man2/landlock_create_ruleset.2 | 57 ++++++++++++++++++++++++++----
> > 1 file changed, 51 insertions(+), 6 deletions(-)
> >
> > diff --git a/man/man2/landlock_create_ruleset.2 b/man/man2/landlock_create_ruleset.2
> > index d4eb5d827656..a24a4dd6cbb3 100644
> > --- a/man/man2/landlock_create_ruleset.2
> > +++ b/man/man2/landlock_create_ruleset.2
> > @@ -116,11 +116,7 @@ Otherwise,
> > can be set to:
> > .TP
> > .B LANDLOCK_CREATE_RULESET_VERSION
> > -If
> > -.I attr
> > -is NULL and
> > -.I size
> > -is 0, then the returned value is the highest supported Landlock ABI version
>
> This fix (and the related changes below) should be done in a separate
> patch.
>
> Other than that, this patch LGTM.
Thanks for the review. I'll split it out and send a v3.
–Günther
next prev parent reply other threads:[~2026-04-21 17:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 22:35 [PATCH v2 0/4] Update Landlock docs to Landlock ABI v8 Günther Noack
2026-04-20 22:35 ` [PATCH v2 1/4] man/man2/landlock_create_ruleset.2: Document EINVAL scope case Günther Noack
2026-04-21 0:19 ` Alejandro Colomar
2026-04-20 22:35 ` [PATCH v2 2/4] man/man[27]/{landlock_create_ruleset.2,landlock.7}: Document LANDLOCK_CREATE_RULESET_ERRATA Günther Noack
2026-04-21 0:16 ` Alejandro Colomar
2026-04-21 17:58 ` Günther Noack [this message]
2026-04-20 22:35 ` [PATCH v2 3/4] man/man[27]/{landlock_restrict_self.2,landlock.7}: Document LANDLOCK_RESTRICT_SELF_TSYNC (ABI v8) Günther Noack
2026-04-20 22:35 ` [PATCH v2 4/4] man/man2/landlock_restrict_self.2: Document ABI requirement for logging flags Günther Noack
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=20260421.ec0d503c0e84@gnoack.org \
--to=gnoack3000@gmail.com \
--cc=alx@kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=mic@digikod.net \
/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