[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190906101716.GN2680@smile.fi.intel.com>
Date: Fri, 6 Sep 2019 13:17:16 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: "J. Bruce Fields" <bfields@...hat.com>
Cc: linux-kernel@...r.kernel.org, Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH 6/9] Eliminate unused ESCAPE_NULL, ESCAPE_SPACE flags
On Thu, Sep 05, 2019 at 03:44:30PM -0400, J. Bruce Fields wrote:
> From: "J. Bruce Fields" <bfields@...hat.com>
>
> I can see how some finer-grained flags could be useful, but for now I'm
> trying to simplify, so let's just remove these unused ones.
>
> Note the trickiest part is actually the tests, and I still need to check
> them.
Currently this _tries_ to follow the shorthand character classes which is
established by tools. For example, "\s" = "[ \t\r\n\f]". Also it (almost?)
matches the counterpart, i.e. string_unescape() classes.
So, if we would need something else, perhaps better to do it in the separate
flags.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists