Re: [PATCH 1/2] cmdline: add function to verify valid commands

2022-05-24 Thread Ray Kinsella
Bruce Richardson writes: > The cmdline library cmdline_parse() function parses a command and > executes the action automatically too. The cmdline_valid_buffer function > also uses this function to validate commands, meaning that there is no > function to validate a command as ok without executi

[PATCH 1/2] cmdline: add function to verify valid commands

2022-05-20 Thread Bruce Richardson
The cmdline library cmdline_parse() function parses a command and executes the action automatically too. The cmdline_valid_buffer function also uses this function to validate commands, meaning that there is no function to validate a command as ok without executing it. To fix this omission, we extr