Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						b097a84d62 
					 
					
						
						
							
							config: update size information  
						
						 
						
						... 
						
						
						
						Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2018-12-28 03:20:17 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						0c4dbd481a 
					 
					
						
						
							
							regularize format of source file headers, no code changes  
						
						 
						
						... 
						
						
						
						Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2017-09-18 16:28:43 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						8187e01438 
					 
					
						
						
							
							*: use ESC define instead of "\033"; use ESC[m instead of ESC[0m  
						
						 
						
						... 
						
						
						
						text	   data	    bss	    dec	    hex	filename
 922535	    481	   6832	 929848	  e3038	busybox_old
 922534	    481	   6832	 929847	  e3037	busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2017-09-13 22:48:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						5c527dc57e 
					 
					
						
						
							
							make 17 state-changing execing applets (ex: "nice PROG ARGS") noexec  
						
						 
						
						... 
						
						
						
						The applets with "<applet> [opts] PROG ARGS" API very quickly exec
another program, noexec is okay for them:
 chpst/envdir/envuidgid/softlimit/setuidgid
 chroot
 chrt
 ionice
 nice
 nohup
 setarch/linux32/linux64
 taskset
 cttyhack
"reset" and "sulogin" applets don't have this form, but also exec
another program at once, thus made noexec too.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2017-08-04 19:55:01 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						72089cf6b4 
					 
					
						
						
							
							config: deindent all help texts  
						
						 
						
						... 
						
						
						
						Those two spaces after tab have no effect, and always a nuisance when editing.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2017-07-21 09:50:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						4eed2c6c50 
					 
					
						
						
							
							Update menuconfig items with approximate applet sizes  
						
						 
						
						... 
						
						
						
						Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2017-07-18 22:01:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn Matthews 
							
						 
					 
					
						
						
							
						
						02a2a278f6 
					 
					
						
						
							
							reset: before calling execvp(), reset needs to flush stdout  
						
						 
						
						... 
						
						
						
						Signed-off-by: Glenn Matthews <glmatthe@cisco.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2017-02-17 23:02:06 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						6d9329935c 
					 
					
						
						
							
							Convert all console-tools/* applets to "new style" applet definitions  
						
						 
						
						... 
						
						
						
						Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2016-11-23 10:39:27 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pere Orga 
							
						 
					 
					
						
						
							
						
						55068c478e 
					 
					
						
						
							
							move help text from include/usage.src.h to console-tools/*.c  
						
						 
						
						... 
						
						
						
						Signed-off-by: Pere Orga <gotrunks@gmail.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2011-03-28 02:51:01 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						b2f00ac22a 
					 
					
						
						
							
							reset: "ESC(K" selects German, why do we use THAT? Change to "ESC(B" (US)  
						
						 
						
						... 
						
						
						
						Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2011-02-10 10:18:22 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marek Polacek 
							
						 
					 
					
						
						
							
						
						7b18107384 
					 
					
						
						
							
							*: use _exit() in sighandlers; showkey: do not use exit-thru-sighandler  
						
						 
						
						... 
						
						
						
						While at it, make ESC sequences more readable; and removed check for
isatty(stdin) in reset. Code shrink:
   text    data     bss     dec     hex filename
 884771     936   17216  902923   dc70b busybox_old
 884723     936   17216  902875   dc6db busybox_unstripped
Signed-off-by: Marek Polacek <mmpolacek@gmail.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2010-10-28 21:34:56 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						0ef64bdb40 
					 
					
						
						
							
							*: make GNU licensing statement forms more regular  
						
						 
						
						... 
						
						
						
						This change retains "or later" state! No licensing _changes_ here,
only form is adjusted (article, space between "GPL" and "v2" and so on).
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2010-08-16 20:14:46 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denys Vlasenko 
							
						 
					 
					
						
						
							
						
						d9a3e89f50 
					 
					
						
						
							
							consolidate ESC sequences  
						
						 
						
						... 
						
						
						
						function                                             old     new   delta
bell                                                   2       -      -2
CMdown                                                 2       -      -2
Ceos                                                   4       -      -4
Ceol                                                   4       -      -4
CMup                                                   4       -      -4
SOs                                                    5       -      -5
SOn                                                    5       -      -5
CMrc                                                   9       -      -9
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com > 
						
						
					 
					
						2010-05-16 23:42:13 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						a60f84ebf0 
					 
					
						
						
							
							*: rename ATTRIBUTE_XXX to just XXX.  
						
						 
						
						
						
						
					 
					
						2008-07-05 09:18:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Bernhard Reutner-Fischer 
							
						 
					 
					
						
						
							
						
						ae4342ca3e 
					 
					
						
						
							
							- Rename getpty() to xgetpty() and adjust callers.  
						
						 
						
						... 
						
						
						
						- Rewrite kbd_mode and setconsole
- Introduce and use console_make_active() and xopen_xwrite_close()
- honour buffer-reservation method as set by the user (dumpkmap, loadkmap)
- shrink rtcwake and some console-tools
  Saves about 270 Bytes 
						
						
					 
					
						2008-05-19 08:18:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						85c247161b 
					 
					
						
						
							
							*: fix fallout from -Wunused-parameter  
						
						 
						
						... 
						
						
						
						function                                             old     new   delta
bbunpack                                             358     366      +8
passwd_main                                         1070    1072      +2
handle_incoming_and_exit                            2651    2653      +2
getpty                                                88      86      -2
script_main                                          975     972      -3
inetd_main                                          2036    2033      -3
dname_enc                                            377     373      -4
make_new_session                                     474     462     -12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24)            Total: -12 bytes
   text    data     bss     dec     hex filename
 797429     658    7428  805515   c4a8b busybox_old
 797417     658    7428  805503   c4a7f busybox_unstripped 
						
						
					 
					
						2008-03-17 09:04:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						68404f13d4 
					 
					
						
						
							
							*: add -Wunused-parameter; fix resulting breakage  
						
						 
						
						... 
						
						
						
						function                                             old     new   delta
procps_scan                                         1265    1298     +33
aliascmd                                             278     283      +5
parse_file_cmd                                       116     120      +4
dname_enc                                            373     377      +4
setcmd                                                90      93      +3
execcmd                                               57      60      +3
count_lines                                           72      74      +2
process_command_subs                                 340     339      -1
test_main                                            409     407      -2
mknod_main                                           179     177      -2
handle_incoming_and_exit                            2653    2651      -2
argstr                                              1312    1310      -2
shiftcmd                                             131     128      -3
exitcmd                                               46      43      -3
dotcmd                                               297     294      -3
breakcmd                                              86      83      -3
evalpipe                                             353     349      -4
evalcommand                                         1180    1176      -4
evalcmd                                              109     105      -4
send_tree                                            374     369      -5
mkfifo_main                                           82      77      -5
evalsubshell                                         152     147      -5
typecmd                                               75      69      -6
letcmd                                                61      55      -6
add_cmd                                             1190    1183      -7
main                                                 891     883      -8
ash_main                                            1415    1407      -8
parse_stream                                        1377    1367     -10
alloc_procps_scan                                     55       -     -55
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148)          Total: -94 bytes
   text    data     bss     dec     hex filename
 797195     658    7428  805281   c49a1 busybox_old
 797101     658    7428  805187   c4943 busybox_unstripped 
						
						
					 
					
						2008-03-17 09:00:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						d4f0b9476a 
					 
					
						
						
							
							reset: call "stty sane". Closes bug 1414.  
						
						 
						
						... 
						
						
						
						reset_main                                            26      59     +33
static.args                                            -      12     +12 
						
						
					 
					
						2008-02-26 15:33:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						9b49a5ed85 
					 
					
						
						
							
							add -fvisibility=hidden to CC flags, mark XXX_main functions  
						
						 
						
						... 
						
						
						
						EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so 
						
						
					 
					
						2007-10-11 10:05:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						9a7d38fe24 
					 
					
						
						
							
							delete tons of extra #includes  
						
						 
						
						
						
						
					 
					
						2007-05-31 22:42:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						b6adbf1be2 
					 
					
						
						
							
							usage.c: remove reference to busybox.h  
						
						 
						
						... 
						
						
						
						*: s/include "busybox.h"/include "libbb.h" 
						
						
					 
					
						2007-05-26 19:00:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Denis Vlasenko 
							
						 
					 
					
						
						
							
						
						06af216528 
					 
					
						
						
							
							suppress warnings about easch <applet>_main() having  
						
						 
						
						... 
						
						
						
						no preceding prototype 
						
						
					 
					
						2007-02-03 17:28:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								"Robert P. J. Day" 
							
						 
					 
					
						
						
							
						
						801ab14013 
					 
					
						
						
							
							Add one-line GPL boilerplate to numerous (but not all yet) source files.  
						
						 
						
						
						
						
					 
					
						2006-07-12 07:56:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rob Landley 
							
						 
					 
					
						
						
							
						
						dfba741457 
					 
					
						
						
							
							Robert P. Day removed 8 gazillion occurrences of "extern" on function  
						
						 
						
						... 
						
						
						
						definitions.  (That should only be on prototypes.) 
						
						
					 
					
						2006-03-06 20:47:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								"Vladimir N. Oleynik" 
							
						 
					 
					
						
						
							
						
						ffe17b51b4 
					 
					
						
						
							
							correct strange *3 isatty(0) code  
						
						 
						
						
						
						
					 
					
						2005-10-12 08:38:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						c7bda1ce65 
					 
					
						
						
							
							Remove trailing whitespace.  Update copyright to include 2004.  
						
						 
						
						
						
						
					 
					
						2004-03-15 08:29:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						08573e0ac4 
					 
					
						
						
							
							Kill off the loadacm applet.  It is unused, unmaintained  
						
						 
						
						... 
						
						
						
						garbage leftover from before I started maintaining BusyBox.
As the Klingon's like to say, Today is a good day to die.
 -Erik 
						
						
					 
					
						2003-12-20 07:07:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						7f6295f516 
					 
					
						
						
							
							Patch from Arthur Othieno for style-guide.txt conformance  
						
						 
						
						
						
						
					 
					
						2003-10-22 10:34:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						cb81e6484d 
					 
					
						
						
							
							Update a bunch of docs.  Run a script to update my email addr.  
						
						 
						
						
						
						
					 
					
						2003-07-14 21:21:08 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						793c3b4a7d 
					 
					
						
						
							
							Clear screen too.  
						
						 
						
						
						
						
					 
					
						2002-09-17 21:21:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						dc180d1442 
					 
					
						
						
							
							re-enable the cursor, in case it got disabled  
						
						 
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2002-09-17 21:17:35 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						bdfd0d78bc 
					 
					
						
						
							
							Major rework of the directory structure and the entire build system.  
						
						 
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-10-24 05:00:29 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						cbe31dace5 
					 
					
						
						
							
							It turns out that DODMALLOC was broken when I reorganized busybox.h  
						
						 
						
						... 
						
						
						
						header file usage before the 0.49 release.  To fix it, I had to move
the '#include "busybox.h"' to the end of the list of #include files.
 -Erik 
						
						
					 
					
						2001-02-20 06:14:08 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						8ec10a9483 
					 
					
						
						
							
							Fix up copyright msgs.  Bump version to 0.49 in preparation for  
						
						 
						
						... 
						
						
						
						a release.  Update the website with release details.
 -Erik 
						
						
					 
					
						2001-01-27 09:33:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						ed3ef50c23 
					 
					
						
						
							
							Fix header file usage -- there were many unnecessary header files included in  
						
						 
						
						... 
						
						
						
						busybox.h which slowed compiles.  I left only what was needed and then fixed up
all the apps to include their own header files.  I also fixed naming for pwd.h
and grp.h functions.  Tested to compile and run with libc5, glibc, and uClibc.
 -Erik 
						
						
					 
					
						2001-01-27 08:24:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						3e856ce428 
					 
					
						
						
							
							Stop using TRUE and FALSE for exit status.  
						
						 
						
						
						
						
					 
					
						2000-12-01 02:55:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						3570a34de4 
					 
					
						
						
							
							Renamed "internal.h" to the more sensible "busybox.h".  
						
						 
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2000-09-25 21:45:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						dc746169cf 
					 
					
						
						
							
							Oops.  Forgot to add in reset.c.  Doh!  
						
						 
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2000-08-21 21:26:33 +00:00