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] man/man7/landlock.7: Document whiteout object peculiarities
Date: Sun, 11 Oct 2026 21:44:08 +0200 [thread overview]
Message-ID: <20261011.6395f139dd17@gnoack.org> (raw)
In-Reply-To: <asvCjvg6nGJafgdv@debian>
Hello Alejandro!
On Sun, Oct 11, 2026 at 07:09:31PM +0200, Alejandro Colomar wrote:
> > On Fri, Aug 28, 2026 at 09:44:18PM +0200, Alejandro Colomar wrote:
> > > > Date: 2026-08-28 18:03:41+0200
> > > > From: Günther Noack <gnoack3000@gmail.com>
> > > >
> > > > Bring documentation for LANDLOCK_ACCESS_FS_MAKE_REG in line with the
> > > > Landlock whiteout patch [1].
> > > >
> > > > Link: [1] <https://lore.kernel.org/all/20260813093157.1436894-3-gnoack@google.com/>
> > > > Link: [2] <https://github.com/landlock-lsm/linux/issues/66>
> > > > ---
> > > > man/man7/landlock.7 | 3 +++
> > > > 1 file changed, 3 insertions(+)
> > > >
> > > > diff --git a/man/man7/landlock.7 b/man/man7/landlock.7
> > > > index 880dd50582f3..3642a64ff1f6 100644
> > > > --- a/man/man7/landlock.7
> > > > +++ b/man/man7/landlock.7
> > > > @@ -204,6 +204,9 @@ Create (or rename) a directory.
> > > > .TP
> > > > .B LANDLOCK_ACCESS_FS_MAKE_REG
> > > > Create (or rename or link) a regular file.
> > > > +.IP
> > > > +This also guards the creation of whiteout objects
> > > > +as used in OverlayFS.
> > >
> > > Reviewed-by: Alejandro Colomar <alx@kernel.org>
> > >
> > >
> > > I guess this should not be applied yet, right? If it's ready, please
> > > let me know.
> >
> > The whiteout patch has been backported as bugfix to Linux 7.2, 6.18,
> > 6.12, 6.6 and 6.1. Since it is in stable, I think this can be
> > considered ready for the purpose of putting it into man pages?
> > (Otherwise, we can also wait for the 7.3 release.)
>
> Yes, it's good for the man pages. Does it need any update regarding
> version numbers or HISTORY, or should I pick the patch as is?
I think it is fine to pick it as it is.
It was a bugfix and it is available on all Landlock ABI versions
exposed by stable kernels. So the described behaviour applies on all
supported kernels and Landlock ABI versions.
Because it is a behavioural change, callers can probe for the presence
of the fix with Landlock's "errata" mechanism, as documented in
landlock_create_ruleset(2). The list of the existing errata is best
checked in the most up-to-date source in the kernel documentation,
which we are also linking from landlock_create_ruleset(2), so that
users are encouraged to look for the most up to date list there.
–Günther
prev parent reply other threads:[~2026-10-11 19:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-28 16:03 [PATCH] man/man7/landlock.7: Document whiteout object peculiarities Günther Noack
2026-08-28 16:11 ` Günther Noack
2026-08-28 19:44 ` Alejandro Colomar
2026-09-26 14:10 ` Günther Noack
2026-10-11 17:09 ` Alejandro Colomar
2026-10-11 19:44 ` Günther Noack [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=20261011.6395f139dd17@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.