1
0
mirror of synced 2026-11-02 21:34:33 +03:00

Commit Graph

  • 2f0c0d0b88 Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our own 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> Denis Vlasenko 2007-01-21 00:41:04 +00:00
  • b3f3c23f78 - point to correct version. Thanks to Yann E. MORIN. Bernhard Reutner-Fischer 2007-01-20 21:46:20 +00:00
  • 12f96c1cec - make tty's pre SUSv3 option handling dependant on INCLUDE_SUSv2 Bernhard Reutner-Fischer 2007-01-20 21:34:24 +00:00
  • af45760cca - get_terminal_width_height does not and should never write to fd. Cosmetic Precaution Bernhard Reutner-Fischer 2007-01-20 21:33:50 +00:00
  • d19f4aaa21 - small size tweak Bernhard Reutner-Fischer 2007-01-20 21:32:38 +00:00
  • 1118a1de46 - make pre SUSv3 option handling dependant on INCLUDE_SUSv2 Bernhard Reutner-Fischer 2007-01-20 21:32:20 +00:00
  • 8b1ae45037 - small size tweak Bernhard Reutner-Fischer 2007-01-20 21:31:21 +00:00
  • b31c252860 - reuse retval for the option handling. - TODO add tee, readahead and splice support to uClibc and use it in busybox! Bernhard Reutner-Fischer 2007-01-20 21:30:49 +00:00
  • 088a212bf5 - small size tweaks Bernhard Reutner-Fischer 2007-01-20 21:29:50 +00:00
  • ca5b35299e - make read_stduu() and read_base64() void, small size tweaks Bernhard Reutner-Fischer 2007-01-20 21:29:32 +00:00
  • d58c19479d - small size tweak Bernhard Reutner-Fischer 2007-01-20 21:28:36 +00:00
  • a8e2e1872a - add C99 bool type for setups that support it. Bernhard Reutner-Fischer 2007-01-20 21:27:18 +00:00
  • 312735878b Announce 1.3.2 and 1.4.0 on busybox.net Denis Vlasenko 2007-01-20 20:38:57 +00:00
  • 8b7f6928c6 releasing busybox 1.3.2 1_3_2 Denis Vlasenko 2007-01-20 20:20:32 +00:00
  • 12a3917e45 head is 1.5.0.svn now Denis Vlasenko 2007-01-20 20:02:29 +00:00
  • 8942c12782 releasing busybox 1.4.0 1_4_0 Denis Vlasenko 2007-01-20 19:57:57 +00:00
  • 316355524f fixing bugs revealed by randomconfig runs Denis Vlasenko 2007-01-20 16:54:19 +00:00
  • 91f20ab510 fixes for amd64 compilation Denis Vlasenko 2007-01-20 01:47:44 +00:00
  • e055443412 ls: stop doing time() for each file in "ls -l" ls: use fully-buffered stdout (can it be problematic on VERY slow/hanging NFS mounts?) Denis Vlasenko 2007-01-19 22:03:06 +00:00
  • 4ebaf10742 strdup -> xstrdup sed: de-obfuscate piece of code Denis Vlasenko 2007-01-19 21:33:19 +00:00
  • 2405ad659e ls: use get_cached_username/groupname Denis Vlasenko 2007-01-19 21:24:17 +00:00
  • 9af7c9d6b6 openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code (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(); Denis Vlasenko 2007-01-19 21:19:35 +00:00
  • f8c11aa65d fsck: dead code removal; also disable progress indicator code (doesn't look good to me) Denis Vlasenko 2007-01-19 02:04:09 +00:00
  • e18a293a52 fsck: stop using strtok Denis Vlasenko 2007-01-19 02:03:14 +00:00
  • 1abf91aa25 fsck: move functions around so that related ones are nearby no actual code changes Denis Vlasenko 2007-01-19 02:02:33 +00:00
  • a0e701d137 fsck: small optimization Denis Vlasenko 2007-01-19 02:01:19 +00:00
  • 74c9d2365a fix potentially misaligned 32-bit accesses Denis Vlasenko 2007-01-18 15:42:00 +00:00
  • c966ba46a9 - move the smallint that is platform dependant to it's proper place Bernhard Reutner-Fischer 2007-01-18 10:32:09 +00:00
  • f8384fa50c Use char for smallint on CRIS as well. Peter Kjellerstedt 2007-01-18 10:26:07 +00:00
  • 1a250d9f32 - reinstate paranoia check in wrapf(). Bernhard Reutner-Fischer 2007-01-18 08:41:22 +00:00
  • 7f0d7ae4f5 fix subtle bug inherited from dash Denis Vlasenko 2007-01-18 01:12:57 +00:00
  • 41aaefce71 stop using global variable needlessly Denis Vlasenko 2007-01-18 00:53:35 +00:00
  • cbbc043d1b smallint can be a char for amd64 too Denis Vlasenko 2007-01-18 00:16:06 +00:00
  • ef44d9d9f2 sed,get_line_from_file: improve comments Denis Vlasenko 2007-01-17 23:16:16 +00:00
  • ae114c235e - stty's visible() function and catv's guts are identical. Merge them into an appropriate libbb function. Bernhard Reutner-Fischer 2007-01-17 19:51:00 +00:00
  • 79cc55975f - remove superfluous define that expanded to "!strcmp" - remove some dead code Bernhard Reutner-Fischer 2007-01-17 19:46:46 +00:00
  • 8eb0549e5d - reuse return code of vsnprintf to avoid pulling in strlen Bernhard Reutner-Fischer 2007-01-17 19:46:33 +00:00
  • 94feb1c807 - merge display_changed() and display_all() This one is a bit risky but did work for me in cursory testing.. Bernhard Reutner-Fischer 2007-01-17 19:46:12 +00:00
  • d4a745c3d4 - peruse get_terminal_width_height and remove legacy code for ancient slowaris versions. Bernhard Reutner-Fischer 2007-01-17 19:45:36 +00:00
  • a6e31ad834 - rewrite find_param to use index_in_str_array Bernhard Reutner-Fischer 2007-01-17 19:45:14 +00:00
  • 4950f010f3 - manually inline tty_value_to_baud and remove string_to_baud_or_die (cleanup) Bernhard Reutner-Fischer 2007-01-17 19:44:59 +00:00
  • 21fc740023 - constify some read-only members and remove superfluous casts (cleanup) Bernhard Reutner-Fischer 2007-01-17 19:44:24 +00:00
  • 4fa566d4ad - reuse option_mask32 for state-handling in main - improve check for errors from fcntl Bernhard Reutner-Fischer 2007-01-17 19:42:30 +00:00
  • 9e8df9354a - replace some occurances of "kernel" with busybox Bernhard Reutner-Fischer 2007-01-17 19:36:01 +00:00
  • b64eed6030 httpd: use fd#1 in inetd mode inetd: micro style fix Denis Vlasenko 2007-01-14 17:06:11 +00:00
  • d1a6e8d320 inetd: preparatory patch, no code changes Denis Vlasenko 2007-01-14 14:46:18 +00:00
  • d97c9244b1 Rename bb_sanitize_stdio -> bb_sanitize_server_stdio (name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd. Denis Vlasenko 2007-01-14 13:12:06 +00:00
  • b8b81a6f8f small size optimization Denis Vlasenko 2007-01-14 12:47:27 +00:00
  • 844ff096ec isrv.h: add copyright info Denis Vlasenko 2007-01-14 12:34:48 +00:00
  • fdf7aec532 I forgot "svn add" AGAIN! :( Denis Vlasenko 2007-01-14 12:32:30 +00:00
  • c14c95ec89 fakeidentd: avoid extra fcntl calls Denis Vlasenko 2007-01-14 12:31:26 +00:00
  • 19250813a8 fakeidentd: fix daemon mode (was thinking that it is in inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places. Denis Vlasenko 2007-01-14 12:07:25 +00:00
  • ffcef2d1f7 inetd: open log after daemonization Denis Vlasenko 2007-01-14 02:03:28 +00:00
  • 7a431b3715 By popular request reinstate fakeidentd's standalone mode. 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). Denis Vlasenko 2007-01-14 01:29:06 +00:00
  • 150f402b36 whitespace fixes (leading spaces to tab) Denis Vlasenko 2007-01-13 21:06:21 +00:00
  • 2418288cac small fixes to ipv6 infrastructure Denis Vlasenko 2007-01-13 21:05:38 +00:00
  • 3a34d0c08a random small size optimizations Denis Vlasenko 2007-01-12 22:10:34 +00:00
  • 21b080daa8 stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> - stty -echo didn't work. Introduced by me :( Denis Vlasenko 2007-01-12 21:03:07 +00:00
  • f8abc100cc stty: rearrange functions, avoiding the need in forward declarations. No other code chages. Denis Vlasenko 2007-01-12 21:02:04 +00:00
  • 4df8135cf6 undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objects are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs. Denis Vlasenko 2007-01-12 21:01:05 +00:00
  • 5d68724d5b next part of ipv6-ization. mostly netcat. Denis Vlasenko 2007-01-12 20:59:31 +00:00
  • 2c91652bbc next part of ipv6-ization. dnsd code is "interesting"... Denis Vlasenko 2007-01-12 14:57:37 +00:00
  • 6536a9b583 next part of ipv6-ization is here: wget & httpd Denis Vlasenko 2007-01-12 10:35:23 +00:00
  • f8138d1f91 fakeinetd: attempted ipv6-ization (and it's done) but entire applet can be orders of magnitude smaller if written as an inetd service. So did that (#ifdef'ed out entire old version). inetd version is less than 10% of old one! function old new delta packed_usage 22083 22105 +22 nobodystr 4 - -4 bind_ip_address 4 - -4 ident_substr 20 - -20 chmatch 22 - -22 movefd 25 - -25 skipchars 49 - -49 handlexitsigs 51 - -51 replyError 70 - -70 .rodata 158120 158024 -96 deleteConn 102 - -102 G 524 388 -136 conns 560 - -560 fakeidentd_main 1457 143 -1314 ------------------------------------------------------------------------------ (add/remove: 0/10 grow/shrink: 1/3 up/down: 22/-2453) Total: -2431 bytes Denis Vlasenko 2007-01-11 23:26:13 +00:00
  • 4fa5e8b455 fix my own breakage Denis Vlasenko 2007-01-11 22:39:25 +00:00
  • f7996f3b70 Trailing whitespace removal over entire tree Denis Vlasenko 2007-01-11 17:20:00 +00:00
  • 3821fb13ea fix verbose output; remove commented-out includes. Denis Vlasenko 2007-01-11 16:51:21 +00:00
  • 8e9ccba371 ipv6-ization efforts continue. Few bugs are found, unknown number likely introduced... Denis Vlasenko 2007-01-11 16:50:23 +00:00
  • 085231fbba code shrinkage by Bernhard Fischer <rep.nop@aon.at> Denis Vlasenko 2007-01-10 22:35:54 +00:00
  • 1a8bf7f5d3 missed a few #undefs (no real impact I think) Denis Vlasenko 2007-01-10 20:57:03 +00:00
  • 7573541f74 fix bug 1146 (gunzip breakage introduced by me --vda) Denis Vlasenko 2007-01-10 20:50:04 +00:00
  • bbe514683a a bit more IPv6-ization work syslogd: converted to use it (in -R host:port) Denis Vlasenko 2007-01-10 20:19:56 +00:00
  • 9de420c27c Improve generic ipv4+ipv6 support in libbb. Convert telnet to it. Now this works: telnetd -b [::1]:1234 - bind to IPv6 non-standard port telnet [::1]:1234 - connect to IPv6 non-standard port telnet ::1 1234 - same This does not require ANY ipv6-specific code in applets (no struct sockaddr_in6. In fact, no sockaddr_in, too). Denis Vlasenko 2007-01-10 09:28:01 +00:00
  • 62a6983a81 execute "safe applets" exev if not standalone shell (patch by "Eric Spakman" <E.Spakman@inter.nl.net>) Denis Vlasenko 2007-01-10 00:24:50 +00:00
  • 886bb0df66 Fix typo in usage text by shortening it Denis Vlasenko 2007-01-09 23:48:46 +00:00
  • 1c962f23e0 Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at> Denis Vlasenko 2007-01-09 23:44:57 +00:00
  • 59f2c34037 small size reduction by Bernhard Fischer <rep.nop@aon.at> Denis Vlasenko 2007-01-09 23:43:28 +00:00
  • bae7948a5a small size reduction by Bernhard Fischer <rep.nop@aon.at> Denis Vlasenko 2007-01-09 23:42:43 +00:00
  • db1edde6d8 compilation fix by Bernhard Fischer <rep.nop@aon.at> Denis Vlasenko 2007-01-09 23:39:48 +00:00
  • d1e54e4f56 - missing hunk to go with r17206 Bernhard Reutner-Fischer 2007-01-09 17:41:54 +00:00
  • 0f48663f83 - shrink by 26 bytes or so Bernhard Reutner-Fischer 2007-01-09 17:37:32 +00:00
  • e86bd6cde5 - vapier wants LD to point to CC, revert my previous change Bernhard Reutner-Fischer 2007-01-09 17:36:26 +00:00
  • 8fc4011992 - shrink klogd a tiny bit. Compile tested only, would have sent it to the list for review but they don't show up in the ML archives :-/ text data bss dec hex filename 533 0 0 533 215 sysklogd/klogd.o.orig 530 0 0 530 212 sysklogd/klogd.o Bernhard Reutner-Fischer 2007-01-09 15:46:36 +00:00
  • f07fe62d89 vda, we once had a get_chomped_line_from_file or the like. Where is that nowadays? FIXME: use it here instead of the fgets() - shrink by ~9%: use common_buf, reuse are_you_root, adopt to global option_mask32 Bernhard Reutner-Fischer 2007-01-09 10:06:19 +00:00
  • 44c2eb23dd ping6: fix sequence numbers (missed ntoh) and ttl display. (apparently some, eh, clever libc guy decided that *CHANGING* IPV6_HOPLIMIT value in libc header is a nifty idea...) Denis Vlasenko 2007-01-08 23:55:33 +00:00
  • d6c23aeefb - guess we need dl too Bernhard Reutner-Fischer 2007-01-08 16:38:33 +00:00
  • c1feac6e9f - set LD to ld - simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC Bernhard Reutner-Fischer 2007-01-08 16:29:15 +00:00
  • 681f183b94 Previous "fix" wasn't good enough. Now *this* is the correct fix (I think). Denis Vlasenko 2007-01-07 22:23:38 +00:00
  • 91c06e0a3c arp: small fixes for user-supplied device name case Denis Vlasenko 2007-01-07 22:20:33 +00:00
  • 42646c5585 - style fixes and shrink by another 4 bytes while at it. Bernhard Reutner-Fischer 2007-01-07 22:12:35 +00:00
  • 6998142998 httpd: stop adding our own "Content-type:" to CGI output Denis Vlasenko 2007-01-07 21:25:12 +00:00
  • db6a5c3f9e gzip cleanup part #13 - the last for today I think Denis Vlasenko 2007-01-07 19:45:51 +00:00
  • 3ae6f34135 gzip cleanup part #12 Denis Vlasenko 2007-01-07 19:44:57 +00:00
  • 2f6df7fa0a gzip cleanup part #11 Denis Vlasenko 2007-01-07 19:44:35 +00:00
  • 56c83eaaf5 gzip cleanup part #10 Denis Vlasenko 2007-01-07 19:40:50 +00:00
  • 89af56b3e5 gzip cleanup part #9 Denis Vlasenko 2007-01-07 19:40:34 +00:00
  • 52933d47bd gzip cleanup part #8 Denis Vlasenko 2007-01-07 19:40:13 +00:00
  • ef87d46b8c gzip cleanup part #7 Denis Vlasenko 2007-01-07 19:39:54 +00:00
  • 1a03c21adf gzip cleanup part #6 Denis Vlasenko 2007-01-07 19:39:34 +00:00
  • da31fbc1b1 gzip cleanup part #5 Denis Vlasenko 2007-01-07 19:39:02 +00:00