kevans 9da994e5cc kern uuid: break format validation out into a separate KPI
This new KPI, validate_uuid, strictly validates the formatting of the input
UUID and, optionally, populates a given struct uuid.

As noted in the header, the key differences are that the new KPI won't
recognize an empty string as a nil UUID and it won't do any kind of semantic
validation on it. Also key is that populating a struct uuid is optional, so
the caller doesn't necessarily need to allocate a bogus one on the stack
just to validate the string.

This KPI has specifically been broken out in support of D24288, which will
preload /etc/hostid in loader so that early boot hostuuid users (e.g.
anything that calls ether_gen_addr) can have a valid hostuuid to work with
once it's been stashed in /etc/hostid.
2020-04-15 03:59:26 +00:00
..
2020-02-26 16:22:28 +00:00
2020-04-14 18:11:26 +00:00
2020-02-15 01:30:13 +00:00
2020-03-17 22:27:16 +00:00
2019-09-03 18:56:25 +00:00
2020-03-02 15:30:52 +00:00
2020-03-02 15:30:52 +00:00
2020-03-02 15:30:52 +00:00
2020-03-02 15:30:52 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2020-03-02 15:30:52 +00:00
2019-02-20 09:38:19 +00:00
2020-02-03 17:35:11 +00:00
2020-01-12 23:52:16 +00:00
2020-03-20 20:09:00 +00:00
2020-04-14 18:11:26 +00:00
2020-04-14 18:11:26 +00:00
2020-02-15 01:28:42 +00:00
2020-03-30 21:42:46 +00:00
2020-02-15 01:28:42 +00:00
2020-02-23 03:32:11 +00:00