Re: [PATCH v2 3/6] version: extend get_uname_info() to hide system details
Usman Akinyemi <usmanakinyemi202@gmail.com> writes:
Show 12 quoted lines
> Currently, get_uname_info() function provides the full OS information.
> In a follwing commit, we will need it to provide only the OS name.
>
> Let's extend it to accept a "full" flag that makes it switch between
> providing full OS information and providing only the OS name.
>
> We may need to refactor this function in the future if an
> `osVersion.format` is added.
>
> Mentored-by: Christian Couder <chriscool@tuxfamily.org>
> Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
> ---
Nice that this is made into a separate commit from the previous step.