Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-11 | bb_full_fd_action: remove potential xmalloc from NOFORK path | Denis Vlasenko | |
cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes | |||
2007-04-10 | make compressed help code NOMMU- and NOFORK-friendly - | Denis Vlasenko | |
no forking anymore, bunzip2 unpack routine now does all it in memory. | |||
2007-04-10 | make a few struct bb_applet members conditional | Denis Vlasenko | |
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig | |||
2007-04-09 | make xfunctions optionally longjump instead of exit. | Denis Vlasenko | |
use it for making NOFORK more practical. touch: make it a NOFORK applet | |||
2007-04-09 | wait4pid: if passed with pid < 0, do not set errno - it is already set by exec! | Denis Vlasenko | |
2007-04-05 | libbb: add xunlink() | Denis Vlasenko | |
patch: do not try to delete same file twice | |||
2007-04-01 | tcpsvd: new applet | Denis Vlasenko | |
It's a GPL-ed 'clone' of Dan Bernstein's tcpserver. Author: Gerrit Pape <pape@smarden.org> http://smarden.sunsite.dk/ipsvd/ size tcpsvd.o text data bss dec hex filename 2571 4 16 2591 a1f tcpsvd.o | |||
2007-03-28 | ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer) | Denis Vlasenko | |
2007-03-27 | make pidfile writing configurable. | Denis Vlasenko | |
[ui]toa_to_buf: change API. No users yet. | |||
2007-03-26 | zcip: make it work on NOMMU (+ improve NOMMU support machinery) | Denis Vlasenko | |
fsck: fix bad English in a comment | |||
2007-03-26 | libbb: rework NOMMU helper API so that it makes more sense | Denis Vlasenko | |
and easier to use. Doesn't compile - need two more commits. | |||
2007-03-25 | add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy | Denis Vlasenko | |
2007-03-24 | applets.c, xfunc.c: style cleanup | Denis Vlasenko | |
2007-03-07 | clean up accumulated whitespace damage | Denis Vlasenko | |
2007-02-06 | new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp> | Denis Vlasenko | |
2007-02-03 | Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETS | Denis Vlasenko | |
(patch from Gabriel L. Somlo <somlo@cmu.edu>) | |||
2007-01-29 | preparatory patch for -Wwrite-strings #2 | Denis Vlasenko | |
2007-01-27 | use bb_sanitize_stdio() where appropriate | Denis Vlasenko | |
2007-01-27 | fix warning in find.c | Denis Vlasenko | |
2007-01-26 | fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10! | Denis Vlasenko | |
2007-01-24 | accumulated post-1.4.0 fixes | Denis Vlasenko | |
2007-01-21 | Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our own | Denis Vlasenko | |
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> | |||
2007-01-20 | - get_terminal_width_height does not and should never write to fd. Cosmetic ↵ | Bernhard Reutner-Fischer | |
Precaution | |||
2007-01-19 | openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code | Denis Vlasenko | |
(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(); | |||
2007-01-14 | Rename bb_sanitize_stdio -> bb_sanitize_server_stdio | Denis Vlasenko | |
(name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd. | |||
2007-01-14 | By popular request reinstate fakeidentd's standalone mode. | Denis Vlasenko | |
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). | |||
2007-01-12 | random small size optimizations | Denis Vlasenko | |
2006-12-24 | missing piece of prev commit: ndelay_off | Denis Vlasenko | |
2006-12-23 | find: fix spurious -exec error messages | Denis Vlasenko | |
(bug reported by Bernhard Fischer <rep.nop@aon.at>) | |||
2006-12-18 | xfuncs.c: dietlibc actually HAS fdprintf! | Denis Vlasenko | |
platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions | |||
2006-12-18 | nc: add missing cast | Denis Vlasenko | |
xfuncs: add dprintf for dietlibc | |||
2006-11-29 | cut 0.5k off mkfs.minix | Denis Vlasenko | |
assorted strtoul fixes (that's what brought me into minix)... | |||
2006-11-26 | small fixes: | Denis Vlasenko | |
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc. | |||
2006-11-25 | tee: fix bug: argv[-1] is a no-no! | Denis Vlasenko | |
bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error" | |||
2006-11-24 | tar: fix and sanitize handling of long filenames/linknames | Denis Vlasenko | |
(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 | |||
2006-11-22 | telnetd: we were having telnetd with is ONLY inetd or ONLY standalone. | Denis Vlasenko | |
What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd. | |||
2006-11-18 | rodata cleanup. "unable to" == "cannot". -300 bytes | Denis Vlasenko | |
2006-11-05 | smart_ulltoa5: make available in libbb | Denis Vlasenko | |
2006-10-27 | get_terminal_width_height: do not pass insanely large values | Denis Vlasenko | |
2006-10-26 | rename functions to more understandable names | Denis Vlasenko | |
2006-10-26 | remove bb_printf and the like | Denis Vlasenko | |
2006-10-20 | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | |
2006-10-14 | add open_read_close() and similar stuff | Denis Vlasenko | |
2006-10-12 | xread/write can use full_read/write (smaller code) | Denis Vlasenko | |
2006-10-12 | small style fixes | Denis Vlasenko | |
2006-10-11 | nmeter: new applet. ~4k | Denis Vlasenko | |
Fix build proble on x86_64 | |||
2006-10-05 | build system overhaul | Denis Vlasenko | |
2006-10-03 | rename bb_default_error_retval -> xfunc_error_retval | Denis Vlasenko | |
2006-10-03 | fdformat: remove redundant check | Denis Vlasenko | |
2006-10-03 | runit/chpst: "change process state" utility | Denis Vlasenko | |
It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k |