Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
board/common: enable CONFIG_FEATURE_CHECK_NAMES for usernames
This commit enables a basic sanity check of usernames in BusyBox that by default is disabled (!). The rules enabled by this are: - the user or group name should consist only of letters, digits, underscores, periods, and dashes¹, and not start with a dash (as defined by IEEE Std 1003.1-2001), or periods² - for compatibility with Samba machine accounts, $ is supported at the end of names - max length of user or group name is 256 chars Changes in this commit also includes a sync with latest BusyBox 1.36, which adds: tree, tsort, SHA hw acceleration, and a separate script for udhcpc6. _____ ¹) The documentation actually mentions "and at-signs" as well, but that has been explicitly removed from the source code. ²) The documentation does not mention that leading periods are not allowed, though this is also explicitly mentioned in the source code. Signed-off-by: Joachim Wiberg <[email protected]>
- Loading branch information