Linux Manual Pages development
 help / color / mirror / Atom feed
From: Matthieu Buffet <matthieu@buffet.re>
To: "Alejandro Colomar" <alx@kernel.org>, "Mickaël Salaün" <mic@digikod.net>
Cc: "Günther Noack" <gnoack3000@gmail.com>,
	linux-man@vger.kernel.org, "Matthieu Buffet" <matthieu@buffet.re>
Subject: [PATCH 0/3] Add Landlock UDP support documentation
Date: Thu, 17 Sep 2026 09:58:49 +0200	[thread overview]
Message-ID: <20260917075853.10231-1-matthieu@buffet.re> (raw)

Hi Alejandro, Mickaël, Günther,

Here is a small update to landlock.7 and landlock_add_rule.2 to add
missing TCP info, and add UDP specifics introduced in kernels 7.2+.
With the benefit of hindsight, re-reading UAPI header changes, I
actually did a bit more than copy-pasting from them (see patch 3/3):
- explicitly state in the access right description that sending
  datagrams without a destination does not require any access right
- more importantly: clarify the description of the most non-trivial
  behaviour (auto-bind denials when emitting, which can occur even if
  CONNECT_SEND_UDP is not handled)
Mickaël, if you are okay with these additions, would you like them in a
UAPI header patch to sync the two?

Have a nice day!

Link: <https://github.com/landlock-lsm/linux/issues/66>

Matthieu Buffet (3):
  man/man2/landlock_add_rule.2: Clarify ephemeral port range
  man/man7/landlock.7: Document AF_UNSPEC behaviour and error codes
  man/man7/landlock.7, man/man2/landlock_add_rule.2: Document UDP
    support

 man/man2/landlock_add_rule.2 | 23 +++++++---
 man/man7/landlock.7          | 88 ++++++++++++++++++++++++++++++++++--
 2 files changed, 102 insertions(+), 9 deletions(-)


base-commit: dbc7211e1e52dcd485bd3e081cfa761506edc4e9
-- 
2.47.3


             reply	other threads:[~2026-09-17  8:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17  7:58 Matthieu Buffet [this message]
2026-09-17  7:58 ` [PATCH 1/3] man/man2/landlock_add_rule.2: Clarify ephemeral port range Matthieu Buffet
2026-09-26 10:00   ` Günther Noack
2026-09-29 19:02   ` Mickaël Salaün
2026-09-17  7:58 ` [PATCH 2/3] man/man7/landlock.7: Document AF_UNSPEC behaviour and error codes Matthieu Buffet
2026-09-26 10:13   ` Günther Noack
2026-09-17  7:58 ` [PATCH 3/3] man/man7/landlock.7, man/man2/landlock_add_rule.2: Document UDP support Matthieu Buffet
2026-09-26 14:01   ` Günther Noack
2026-09-29 19:03     ` Mickaël Salaün
2026-09-29 19:02 ` [PATCH 0/3] Add Landlock UDP support documentation Mickaël Salaün

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=20260917075853.10231-1-matthieu@buffet.re \
    --to=matthieu@buffet.re \
    --cc=alx@kernel.org \
    --cc=gnoack3000@gmail.com \
    --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