Re: [systemd-devel] [PATCH] parse_boolean: require exact matches

2014-08-04 Thread Ansgar Burchardt
Lennart Poettering writes: > On Sun, 27.07.14 15:19, Ansgar Burchardt (ans...@debian.org) 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 >> corr

Re: [systemd-devel] [PATCH] parse_boolean: require exact matches

2014-08-04 Thread Lennart Poettering
On Sun, 27.07.14 15:19, Ansgar Burchardt (ans...@debian.org) 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 o

Re: [systemd-devel] [PATCH] parse_boolean: require exact matches

2014-07-27 Thread Zbigniew Jędrzejewski-Szmek
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

[systemd-devel] [PATCH] parse_boolean: require exact matches

2014-07-27 Thread Ansgar Burchardt
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 resul