add utf8 validation; rework user iterator

This commit is contained in:
2022-02-23 06:07:53 +02:00
committed by Motiejus Jakštys
parent 0e5365127a
commit bb4b5eba03
2 changed files with 102 additions and 87 deletions

View File

@@ -69,7 +69,7 @@ Tight packing places some constraints on the underlying data:
- Permitted length of username and groupname: 1-32 bytes.
- Permitted length of shell and home: 1-64 bytes.
- Permitted comment ("gecos") length: 0-1023 bytes.
- User name, groupname and gecos must be utf8-encoded.
- User name, groupname, gecos and shell must be utf8-encoded.
Checking out and building
-------------------------