1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-26 08:55:40 +03:00

doc: don't talk of "trailing NUL bytes" in UTF-16 context, but rather "trailing U+0000 codepoints"

Addresses:

https://mastodon.social/@grawity@treehouse.systems/111220532872832265
This commit is contained in:
Lennart Poettering 2023-10-12 12:08:10 +02:00
parent 9ff6876555
commit 45d721d8db

View File

@ -41,7 +41,7 @@ used for new, additional measurements.
## PCR Measurements Made by `systemd-boot` (UEFI)
### PCS 5, `EV_EVENT_TAG`, "loader.conf"
### PCR 5, `EV_EVENT_TAG`, "loader.conf"
The content of `systemd-boot`'s configuration file, `loader/loader.conf`, is
measured as a tagged event.
@ -66,7 +66,7 @@ below for details on PE section measurements done by `systemd-stub`.)
UTF-16.
**Measured hash** covers the literal kernel command line in UTF-16 (without any
trailing NUL bytes).
trailing U+0000 codepoints).
## PCR Measurements Made by `systemd-stub` (UEFI)
@ -108,7 +108,7 @@ Might happen up to three times, for kernel command lines from:
UTF-16.
**Measured hash** covers the literal kernel command line in UTF-16 (without any
trailing NUL bytes).
trailing U+0000 codepoints).
### PCR 12, `EV_EVENT_TAG`, "Devicetrees"