All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx+linux-man@kernel.org>
To: Christian Brauner <brauner@kernel.org>
Cc: "Niklas Hambüchen" <mail@nh2.me>,
	linux-man@vger.kernel.org, linux-api@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, "Jan Kara" <jack@suse.cz>,
	"Alexander Viro" <viro@zeniv.linux.org.uk>
Subject: Re: man 2 unshare: UNSHARE_EMPTY_MNTNS
Date: Tue, 1 Dec 2026 13:30:50 +0100	[thread overview]
Message-ID: <aw6z_swma_wh6fOa@devuan> (raw)
In-Reply-To: <20261201-mehrweg-seeufer-kureinrichtung-5ddf3fd1111e@brauner>

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

Hi Christian,

> Date: 2026-12-01 12:02:18+0100
> From: Christian Brauner <brauner@kernel.org>
>
> On Fri, Nov 27, 2026 at 02:08:04PM +0100, Alejandro Colomar wrote:
> > Would it make sense to create new UNSHARE_* flags for all the existing
> > CLONE_* flags that make sense in unshare(2)?  That would avoid some
> > possible confusion.
> 
> Sounds ok

Thanks!

> albeit a bit silly since they're just aliases for the same

I'd say s/silly/redundant/.

> bits but it makes unshare(2) read consistently.

Indeed, consistency feels more important than redundancy.
It'll simplify documentation, and reduce chances of making mistakes.
I'll send a patch adding them.


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2026-12-01 12:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 16:42 man 2 unshare: UNSHARE_EMPTY_MNTNS Niklas Hambüchen
2026-11-19 23:22 ` Alejandro Colomar
2026-11-27 12:51   ` Christian Brauner
2026-11-27 13:07     ` Alejandro Colomar
2026-11-27 13:08       ` Alejandro Colomar
2026-12-01 11:02       ` Christian Brauner
2026-12-01 12:30         ` Alejandro Colomar [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=aw6z_swma_wh6fOa@devuan \
    --to=alx+linux-man@kernel.org \
    --cc=brauner@kernel.org \
    --cc=jack@suse.cz \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=mail@nh2.me \
    --cc=viro@zeniv.linux.org.uk \
    /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.