[sudo-workers] match.c: allow use of FNM_EXTMATCH, where available

Todd C. Miller Todd.Miller at courtesan.com
Fri Jun 16 11:10:31 MDT 2017


On Wed, 14 Jun 2017 22:21:02 +0300, Emil Karlson wrote:

> I made a poc patch to allow regexlike matching (FNM_EXTMATCH) or command
> line arguments, where available. Is there any chance of feature like
> this getting upstreamed? I guess there probably should at least be a
> config variable, as this breaks format compatibility for people with
> really weird configs.

If this were to go in it would need a setting to enable it.
It may just be best to bite the bullet and add proper regex
support.

 - todd


More information about the sudo-workers mailing list