aboutsummaryrefslogtreecommitdiff
path: root/libbb/obscure.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: 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
* *: intrduce and use safe_gethostname. By Tito <farmatito AT tiscali.it>Denis Vlasenko2008-02-251-7/+6
| | | | | | | | | | | | | | | | | | | | | safe_gethostname - 48 +48 glob3 35 37 +2 timestamp_and_log 314 315 +1 udhcp_send_kernel_packet 234 231 -3 scan_tree 275 271 -4 passwd_main 1074 1070 -4 print_login_prompt 68 58 -10 obscure 392 377 -15 syslogd_main 882 866 -16 print_login_issue 516 478 -38 hostname_main 278 223 -55 parse_and_put_prompt 825 756 -69 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/9 up/down: 51/-214) Total: -163 bytes text data bss dec hex filename 798791 728 7484 807003 c505b busybox_old 798631 728 7484 806843 c4fbb busybox_unstripped
* fbset: fix buglet where we were using wrong pointerDenis Vlasenko2007-11-061-1/+2
| | | | | | readahead: stop using stdio.h *: style fixes
* passwd: rework:Denis Vlasenko2006-11-301-5/+5
| | | | | | | | | * do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-1/+1
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-1/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-6/+1
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Tito writes: If the gecos field of an user is empty, obscure reports a false ↵Mike Frysinger2006-07-151-1/+1
| | | | "similar to gecos" error.
* Correct the comment to match the code."Robert P. J. Day"2006-07-021-1/+1
|
* Allow a user-configurable minimum password length."Robert P. J. Day"2006-07-021-7/+2
|
* - include strings.hBernhard Reutner-Fischer2006-05-191-7/+8
| | | | Thanks to Rich Felker for pointing this out.
* New version from Tito.Rob Landley2006-04-021-224/+144
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Save a few bytes in error message.Rob Landley2006-02-051-1/+1
|
* more obscure"Vladimir N. Oleynik"2006-01-311-1/+4
|
* - correct definitions.Bernhard Reutner-Fischer2006-01-131-2/+2
|
* - shrink simple obscure stuff a tiny bit:Bernhard Reutner-Fischer2006-01-121-17/+22
| | | | | | | text data bss dec hex filename 789 0 0 789 315 obscure.o.oorig 771 0 0 771 303 obscure.o - replace bzero by memset while at it.
* Patch from vodz to cleanup libbb/obscure.c:password_check()Eric Andersen2003-08-061-3/+3
| | | | to not copy too much data.
* Vladimir N. Oleynik writes:Eric Andersen2003-07-301-2/+5
| | | | | | | | | | | | | | | | This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz
* Major coreutils update.Manuel Novoa III2003-03-191-3/+3
|
* last_patch61 from vodz:Eric Andersen2002-10-101-30/+32
| | | | | | | | | New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in.
* Port over the last of the tinylogin appletsEric Andersen2002-06-231-0/+246
-Erik