Re: [PATCH 1/9] binfmt_misc: let a register string create an entry disabled

Christian Brauner <[email protected]>
Newsgroups gmane.linux.kernel.bpf,gmane.linux.file-systems,gmane.linux.kernel.mm
Message-ID <20260803-notunterkunft-wildtier-restaurant-1733e9660017@brauner>
On Sun, Aug 02, 2026 at 04:37:58PM -0700, Farid Zakaria wrote:
> On Thu, 30 Jul 2026 15:34:03 +0200, Christian Brauner <[email protected]> wrote:
> > diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
> > index 707f8a14f8a6..ca7840b01a2b 100644
> > --- a/fs/binfmt_misc.c
> > +++ b/fs/binfmt_misc.c
> > @@ -75,6 +86,7 @@ static const struct binfmt_misc_flag misc_flags[] = {
> >  	{ 'F', MISC_FMT_OPEN_FILE,	0,			"open interpreter file now"	},
> >  	{ 'T', MISC_FMT_TRANSPARENT,	MISC_FMT_OPEN_BINARY,	"transparent"			},
> >  	{ 'L', MISC_FMT_LOADER,		0,			"loader substitution"		},
> > +	{ 'D', MISC_FMT_DISABLED,	0,			"register disabled"		},
> 
> AI brought up an interesting point that this now changes the set of
> valid delimiters which you might want to call out in the commit message.
> 
> For instance 'DnameDMD0DmagicDDinterpD' was allowed before.
> It might be a very obscure feature to pick a delimiter because
> https://docs.kernel.org/admin-guide/binfmt-misc.html does not even
> mention it beyond 'where you can choose the : upon your needs'.

Yeah, I can send a separate doc addition for that. But that's kinda true
for any new thing we give meaning. So _shrug_.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.