aboutsummaryrefslogtreecommitdiff
path: root/libbb/die_if_bad_username.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* die_if_bad_username: tighten up a bitDenys Vlasenko2011-08-091-10/+32
| | | | | | | | | | | | | | | | | | function old new delta die_if_bad_username 77 97 +20 Based on patches from Tito. The changes are: better comments we disallow '@' now - in practice such usernames will be unusable use of the portable filename character set plus '$' don't use isalnum as it allows non-ASCII letters in legacy 8-bit locales (pointed out by Rich Felker) enforce maximum length of LOGIN_NAME_MAX (including NUL) don't allow '$', '.', and '-' as first char don't print the illegal char in error message as if it is a wide char it will be unreadable print the position of the illegal character Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adduser: copy /etc/skel to mew homes. +100 bytesDenys Vlasenko2010-02-061-4/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: fix typo in commentDenis Vlasenko2009-03-311-1/+1
|
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* die_if_bad_username: shrink: 88 -> 77 bytesDenis Vlasenko2008-03-191-11/+13
|
* ...and actually adding new file now...Denis Vlasenko2008-03-191-0/+34