aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)Denis Vlasenko2007-03-281-3/+3
|
* make pidfile writing configurable.Denis Vlasenko2007-03-271-6/+6
| | | | [ui]toa_to_buf: change API. No users yet.
* zcip: make it work on NOMMU (+ improve NOMMU support machinery)Denis Vlasenko2007-03-261-3/+10
| | | | fsck: fix bad English in a comment
* libbb: rework NOMMU helper API so that it makes more senseDenis Vlasenko2007-03-261-78/+0
| | | | and easier to use. Doesn't compile - need two more commits.
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko2007-03-251-0/+10
|
* applets.c, xfunc.c: style cleanupDenis Vlasenko2007-03-241-8/+8
|
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-1/+1
|
* new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko2007-02-061-0/+15
|
* Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETSDenis Vlasenko2007-02-031-5/+1
| | | | (patch from Gabriel L. Somlo <somlo@cmu.edu>)
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-291-2/+2
|
* use bb_sanitize_stdio() where appropriateDenis Vlasenko2007-01-271-1/+1
|
* fix warning in find.cDenis Vlasenko2007-01-271-1/+1
|
* fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!Denis Vlasenko2007-01-261-2/+2
|
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-241-3/+4
|
* Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownDenis Vlasenko2007-01-211-2/+5
| | | | | | executable if we asked to exec someting with argv[0] == known_applet" Use it in init. Also respect PATH in init, remove explicit "/sbin" etc from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu>
* - get_terminal_width_height does not and should never write to fd. Cosmetic ↵Bernhard Reutner-Fischer2007-01-201-1/+1
| | | | Precaution
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-191-2/+10
| | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko2007-01-141-1/+1
| | | | | | (name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd.
* By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko2007-01-141-0/+24
| | | | | | | | | | | Since this is also needed for other applets like telnetd, introduce generic driver for such things. It even supports inetd-wait ('linger') mode, when inetd hands out listen socket to child and waits to it to die, instead of handing out accepted socket and continuing listening itself (nowait mode). Code growth ~200 bytes. NB: our inetd doesn't support wait mode yet (or mabe it is buggy).
* random small size optimizationsDenis Vlasenko2007-01-121-0/+13
|
* missing piece of prev commit: ndelay_offDenis Vlasenko2006-12-241-6/+5
|
* find: fix spurious -exec error messagesDenis Vlasenko2006-12-231-2/+7
| | | | (bug reported by Bernhard Fischer <rep.nop@aon.at>)
* xfuncs.c: dietlibc actually HAS fdprintf!Denis Vlasenko2006-12-181-2/+2
| | | | | platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
* nc: add missing castDenis Vlasenko2006-12-181-0/+31
| | | | xfuncs: add dprintf for dietlibc
* cut 0.5k off mkfs.minixDenis Vlasenko2006-11-291-1/+4
| | | | assorted strtoul fixes (that's what brought me into minix)...
* small fixes:Denis Vlasenko2006-11-261-11/+19
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* tee: fix bug: argv[-1] is a no-no!Denis Vlasenko2006-11-251-2/+2
| | | | | bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-241-0/+1
| | | | | | | | | (GNU extensions 'K' and 'L'). We correctly handle them when untarring now, but unfortunately we still don't use them when tarring! That stupid 100 char limit is still there! The biggest problem is that we don't support 'pax' tar format. Linux kernel tarballs are in this format... shame
* telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.Denis Vlasenko2006-11-221-0/+12
| | | | | What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd.
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-2/+2
|
* smart_ulltoa5: make available in libbbDenis Vlasenko2006-11-051-6/+54
|
* get_terminal_width_height: do not pass insanely large valuesDenis Vlasenko2006-10-271-12/+23
|
* rename functions to more understandable namesDenis Vlasenko2006-10-261-0/+1
|
* remove bb_printf and the likeDenis Vlasenko2006-10-261-3/+3
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-25/+7
|
* xread/write can use full_read/write (smaller code)Denis Vlasenko2006-10-121-10/+6
|
* small style fixesDenis Vlasenko2006-10-121-1/+2
|
* nmeter: new applet. ~4kDenis Vlasenko2006-10-111-10/+8
| | | | Fix build proble on x86_64
* build system overhaulDenis Vlasenko2006-10-051-67/+0
|
* rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko2006-10-031-1/+1
|
* fdformat: remove redundant checkDenis Vlasenko2006-10-031-1/+1
|
* runit/chpst: "change process state" utilityDenis Vlasenko2006-10-031-0/+8
| | | | It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
* Teach get_terminal_width_height to fall back to $LINES and $COLUMNS whenRob Landley2006-09-201-1/+24
| | | | used via things like a serial console.
* whitespace cleanupDenis Vlasenko2006-09-171-2/+2
|
* Strangely, using // in the comments I added was not a persistent accident.Rob Landley2006-09-141-65/+62
|
* Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley2006-09-121-1/+1
|
* - merge xstat.c into xfuncs.cBernhard Reutner-Fischer2006-09-111-0/+10
|
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-071-1/+2
|
* removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko2006-09-061-1/+1
| | | | | automatically by function itself.