[sudo-users] Sudoers EBNF Spec

Todd C. Miller Todd.Miller at courtesan.com
Fri Oct 18 09:28:11 MDT 2013

On Fri, 18 Oct 2013 04:37:17 -0600, Jon wrote:

> So I spent some time digging through visudo.c.  Admittedly, I am not a C
> programmer (my C skills are quite rusty), but I can't for the life of me
> figure out the definition of init_parser().  I see there is a prototype
> defined, but there is no subroutine definition.  As far as I understand it,
> init_parser doesn't come from another library like yyparse does.

init_parser() is defined in gram.y, which also contains the parser

 - todd

More information about the sudo-users mailing list