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 --]
prev parent reply other threads:[~2026-12-01 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <64fb02fd-0ffa-4311-bf21-a3211e9d599e@nh2.me>
[not found] ` <av-DinDzrAeN_1mU@devuan>
[not found] ` <20261127-rundlich-geldkassette-farbaufnahme-62856c08c80b@brauner>
2026-11-27 13:07 ` man 2 unshare: UNSHARE_EMPTY_MNTNS 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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox