aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general warning cleanupoldNguyễn Thái Ngọc Duy2009-05-102-2/+14
|
* Introduce FEATURE_CYGWIN_TTYNguyễn Thái Ngọc Duy2009-05-101-0/+3
| | | | | | | | | | | | | This feature allows terminal-aware applications to access Cygwin-based terminal emulator, like rxvt, by allowing access to termios structure managed by Cygwin. The way this works is really intrusive. It examines Cygwin's (unofficial) shared information to find out termios data and manipulate directly on that (without locking, for now). Different Cygwin versions may change share info layout. This patch only supports cygwin-1.7.0-46. Support for other versions can be added later.
* introduce libbb/termios.c for terminal-related functionsNguyễn Thái Ngọc Duy2009-05-091-0/+109
|
* libbb/strbuf_file: stdio emulation layer for handling with Winsock handlesNguyễn Thái Ngọc Duy2009-04-281-0/+69
| | | | not really robust, but enough to make wget works
* run-command: rework interface to pass program path directlyNguyễn Thái Ngọc Duy2009-04-231-0/+3
|
* redefine CONFIG_BUSYBOX_EXEC_PATH to get full pathNguyễn Thái Ngọc Duy2009-04-232-0/+3
|
* adapt it to be buildableNguyễn Thái Ngọc Duy2009-04-233-6/+47
|
* update imported git files to adapt to new environmentNguyễn Thái Ngọc Duy2009-04-231-1/+16
|
* mingw.c: general cleanup and new missing functionsNguyễn Thái Ngọc Duy2009-04-231-8/+9
|
* mingw.c: make fopen support /dev/null (needed for cmp iirc)Nguyễn Thái Ngọc Duy2009-04-231-0/+3
|
* mingw_spawnve(): transfer O_APPEND attribute to child processesNguyễn Thái Ngọc Duy2009-04-231-0/+9
|
* import (unchanged) git files from e56b799d6ad8afba4168fffa7218d44c041a72d2Nguyễn Thái Ngọc Duy2009-04-236-0/+1107
|
* delete tons of extra #includesvda2007-05-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use "glibc errno" trick not only for ash, but for entire busyboxvda2007-05-311-0/+8
| | | | | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes git-svn-id: svn://busybox.net/trunk/busybox@18716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixesvda2007-05-302-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xpipe: introduce (saves ~170 bytes)vda2007-05-261-1/+1
| | | | | | | | udhcp/signalpipe.c: use pipe instead of socketpair. git-svn-id: svn://busybox.net/trunk/busybox@18695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix handling of unmatched ${name (without closing '}') -vda2007-05-241-0/+1
| | | | | | | | | | was eating all remaining input, potentially megabytes. nofork: save/restore die_jmp too nofork: use -2222 instead of -111 as "special" return valur for zero (-111 is used by some applets. -2222 won't fit in exitcode and thus safer) git-svn-id: svn://busybox.net/trunk/busybox@18680 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cttyhack: new applet.vda2007-05-181-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18649 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix trivial compile errors found by randomconfig runvda2007-05-171-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* netstat: introduce -W: wide, ipv6-friendly outputvda2007-05-151-12/+14
| | | | | | | | | | netstat: shrink by ~500 bytes (patch by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>) netstat: fix for bogus state value for raw sockets git-svn-id: svn://busybox.net/trunk/busybox@18631 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cryptpw: new applet (a bit less than 3k added)vda2007-05-083-0/+10
| | | | | | | | (by Thomas Lundquist <lists@zelow.no>) git-svn-id: svn://busybox.net/trunk/busybox@18586 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix -Werror compilevda2007-05-041-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18559 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ash,kill: use common code for kill applet/builtinvda2007-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | # make bloatcheck function old new delta evaltreenr 644 654 +10 evaltree 644 654 +10 parse_conf 1440 1444 +4 dpkg_deb_main 426 429 +3 ed_main 3319 3321 +2 passwd_main 2093 2091 -2 kill_main 830 826 -4 singlemount 4609 4601 -8 find_command 962 954 -8 get_lcm 123 105 -18 .rodata 132243 132147 -96 killcmd 449 120 -329 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/7 up/down: 29/-465) Total: -436 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 723901 2940 27504 754345 b82a9 busybox_old 723457 2940 27504 753901 b80ed busybox_unstripped git-svn-id: svn://busybox.net/trunk/busybox@18532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix nofork + ctrl-Z clobbering of globalsvda2007-04-281-2/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18521 69ca8d6d-28ef-0310-b511-8ec308f3f277
* procps: remove all global variablesvda2007-04-191-2/+2
| | | | | | | | | | | text data bss dec hex filename 1462 14 24 1500 5dc busybox.t2/procps/ps.o 1484 0 0 1484 5cc busybox.t3/procps/ps.o 3122 0 252 3374 d2e busybox.t1/procps/top.o 3117 0 0 3117 c2d busybox.t3/procps/top.o git-svn-id: svn://busybox.net/trunk/busybox@18497 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: add -o tty and -o rss supportvda2007-04-191-6/+11
| | | | | | | | 1373 14 24 1411 583 busybox.t1/procps/ps.o 1462 14 24 1500 5dc busybox.t2/procps/ps.o git-svn-id: svn://busybox.net/trunk/busybox@18496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixes, no code changesvda2007-04-161-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* deluser: add optional support for removing users from groupsvda2007-04-151-2/+3
| | | | | | | (by Tito <farmatito@tiscali.it>) git-svn-id: svn://busybox.net/trunk/busybox@18449 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: use NOFORK applets as appropriate. Net reduction of code size.vda2007-04-141-32/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* teach find_root_device to deal with /dev/ subdirsvda2007-04-131-0/+1
| | | | | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>) git-svn-id: svn://busybox.net/trunk/busybox@18435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2007-04-132-11/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18433 69ca8d6d-28ef-0310-b511-8ec308f3f277
* find: add support for -delete, -path (by Natanael Copa)vda2007-04-131-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18425 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: remove setpgrp call (makes it work from shell prompt again).vda2007-04-121-3/+3
| | | | | | | | login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes. git-svn-id: svn://busybox.net/trunk/busybox@18416 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵aldot2007-04-121-0/+2
| | | | | | | | | a bit. -916 byte git-svn-id: svn://busybox.net/trunk/busybox@18413 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_full_fd_action: remove potential xmalloc from NOFORK pathvda2007-04-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@18408 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename: run_applet_by_name -> run_applet_and_exitvda2007-04-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18402 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix typo in commentvda2007-04-111-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add more convenient defines for [NO]MMU:vda2007-04-112-7/+15
| | | | | | | "#ifndef BB_NOMMU" is a double negative git-svn-id: svn://busybox.net/trunk/busybox@18396 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename two config options:vda2007-04-103-5/+6
| | | | | | | | | | FEATURE_SH_STANDALONE_SHELL => FEATURE_SH_STANDALONE FEATURE_EXEC_PREFER_APPLETS => FEATURE_PREFER_APPLETS Make SH_STANDALONE depend on PREFER_APPLETS. getopt.c: more randomconfig-induced fixes git-svn-id: svn://busybox.net/trunk/busybox@18394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make compressed help code NOMMU- and NOFORK-friendly -vda2007-04-102-2/+8
| | | | | | | no forking anymore, bunzip2 unpack routine now does all it in memory. git-svn-id: svn://busybox.net/trunk/busybox@18392 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make a few struct bb_applet members conditionalvda2007-04-103-20/+30
| | | | | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig git-svn-id: svn://busybox.net/trunk/busybox@18391 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - forgot this hunk that corrects the usage text of ipaldot2007-04-101-3/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18388 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add ATTRIBUTE_DEPRECATED for functions that should be removed in the future.aldot2007-04-101-0/+2
| | | | | | | This is ment to provide means to point at cruft marked for cleanup. git-svn-id: svn://busybox.net/trunk/busybox@18386 69ca8d6d-28ef-0310-b511-8ec308f3f277
* audit small applets and mark some of them as NOFORK.vda2007-04-101-19/+19
| | | | | | | | Put big scary warnings in relevant places. git-svn-id: svn://busybox.net/trunk/busybox@18382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - very minor shrinkage (-3b)aldot2007-04-101-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18380 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add prototype for str_tolower()aldot2007-04-101-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18378 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make xfunctions optionally longjump instead of exit.vda2007-04-092-1/+2
| | | | | | | | use it for making NOFORK more practical. touch: make it a NOFORK applet git-svn-id: svn://busybox.net/trunk/busybox@18376 69ca8d6d-28ef-0310-b511-8ec308f3f277
* factor out NOFORK/NOEXEC code from find. Use it for xargs too.vda2007-04-091-15/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xargs: shrink code, ~80 bytesvda2007-04-091-2/+3
| | | | | | | applets.h: +#undef APPLET_NOEXEC git-svn-id: svn://busybox.net/trunk/busybox@18374 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement first instance of NOFORK applet - echovda2007-04-091-1/+6
| | | | | | | | | | | | find: use NOFORK/NOEXEC; small -exec buglet also eliminated vfork_daemon_rexec: honor PREFER_APPLETS echo: small size improvements find -exec echo {} \; with PREFER_APPLETS=y runs 4 times faster git-svn-id: svn://busybox.net/trunk/busybox@18372 69ca8d6d-28ef-0310-b511-8ec308f3f277