diff options
author | Rob Landley <rob@landley.net> | 2014-09-26 18:49:44 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-09-26 18:49:44 -0500 |
commit | e0d8009d76b3a2451cb6c6ed2b241c7eff06ed60 (patch) | |
tree | f2904430b0cb86f7b7a2721ae2ddd60fcf727166 /toys/other/reboot.c | |
parent | e1fa787be8d0d66c9860c86dcb80fd6e096f74e0 (diff) | |
download | toybox-e0d8009d76b3a2451cb6c6ed2b241c7eff06ed60.tar.gz |
The only illegal characters in a username are ":" (field separator), "\n" (line separator), and "/" (filename separator).
Restricting usernames to the legacy posix character allowed set (for filenames,
so the $HOME directory is creatable on VFAT and similar) means you can't have
UTF-8 usernames. Linux allows any character but / and NUL in filenames.
Since root is creating these entries, we assume root knows what it's doing.
Diffstat (limited to 'toys/other/reboot.c')
0 files changed, 0 insertions, 0 deletions