[systemd-devel] [PATCH] parse_boolean: require exact matches
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Sun Jul 27 12:28:55 PDT 2014
On Sun, Jul 27, 2014 at 03:19:00PM +0200, Ansgar Burchardt wrote:
> Require exact matches in all cases instead of treating strings
> starting with 't' ('f') as true (false).
>
> This is required for config_parse_protect_system to parse ProtectSystem=full
> correctly: it uses parse_boolean and only tries a more specific parsing
> function if that did not return a valid result. Thus "full" was treated as
> "false" before.
Yeah, this matches the description in the man page.
Applied.
Zbyszek
More information about the systemd-devel
mailing list