The HostinfoOsRelease() function examines the os-release standard file(s) to
collect distro identification data of interest. This is open-source and users
can legally modify the code changing the standard file priority order or
accessing other files. Any such change breaks compliance with the os-release
standard and may cause confusion in the field.
The function header has been updated to remind users of this issue.
*
* https://www.linux.org/docs/man5/os-release.html
*
+ * IF THIS ROUTINE IS MODIFIED IN ANY WAY - DIRECTLY OR INDIRECTLY - TO
+ * USE FILES OTHER THAN THOSE OFFICIALLY SANCTIONED BY THE os-release
+ * STANDARD, THE CODE IS NO LONGER IN COMPLIANCE WITH THE os-release
+ * STANDARD AND VMware IS NOT RESPONSIBLE FOR THE BEHAVIOR THAT RESULTS.
+ *
* Return value:
* -1 Failure. No data returned.
* 0..n Success. A "score", the number of interesting pieces of data