[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4951.1533042037@warthog.procyon.org.uk>
Date: Tue, 31 Jul 2018 14:00:37 +0100
From: David Howells <dhowells@...hat.com>
To: Pavel Machek <pavel@....cz>
Cc: dhowells@...hat.com, Matthew Wilcox <willy@...radead.org>,
"Theodore Y. Ts'o" <tytso@....edu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Al Viro <viro@...iv.linux.org.uk>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]
Pavel Machek <pavel@....cz> wrote:
> Regexes do not work in presence of arbitrary strings in the
> message. If we had a way to tell start / end of string inserted in the
> message, yes, the problem would be solved.
You could use quotes around arbitrary insertions, ie. you always do '%s'
inside the kernel if %s doesn't correspond to a specific set of text
constants.
David
Powered by blists - more mailing lists