OSDN Git Service
Denis Vlasenko [Thu, 15 Mar 2007 00:57:01 +0000 (00:57 -0000)]
modify ptr_to_globals trick so that we do not violate
type safety (well, sort of ;))
Denis Vlasenko [Wed, 14 Mar 2007 23:00:26 +0000 (23:00 -0000)]
adjtimex: fix argument types (most importantly, allow negative ones)
Denis Vlasenko [Wed, 14 Mar 2007 22:55:39 +0000 (22:55 -0000)]
swapon: reinstate hole check but reduce it to warning
inode_hash: remove unused variable
Denis Vlasenko [Wed, 14 Mar 2007 22:11:20 +0000 (22:11 -0000)]
arp, networking/interface.c: eliminate statics
and unneeded on-stack buffers, disable (comment out)
some apparently unused (and buggy) code paths. -700 bytes.
Denis Vlasenko [Wed, 14 Mar 2007 22:08:53 +0000 (22:08 -0000)]
get_header_ar: reformatted code, no real changes
Denis Vlasenko [Wed, 14 Mar 2007 22:08:04 +0000 (22:08 -0000)]
chown, env: stop using statics
Denis Vlasenko [Wed, 14 Mar 2007 22:06:57 +0000 (22:06 -0000)]
missed hunk of "stop using big static buffer for inode hash"
Denis Vlasenko [Wed, 14 Mar 2007 22:06:01 +0000 (22:06 -0000)]
stop using big static buffer for inode hash
Denis Vlasenko [Wed, 14 Mar 2007 21:56:51 +0000 (21:56 -0000)]
stop using (yet another) static buffer
Denis Vlasenko [Wed, 14 Mar 2007 21:55:41 +0000 (21:55 -0000)]
watchdog: don't use static variable
Denis Vlasenko [Wed, 14 Mar 2007 21:54:42 +0000 (21:54 -0000)]
udhcp: use fdprintf for pidfile creation (smaller code)
Denis Vlasenko [Wed, 14 Mar 2007 11:50:34 +0000 (11:50 -0000)]
cosmetic documentation change
Bernhard Reutner-Fischer [Wed, 14 Mar 2007 08:52:28 +0000 (08:52 -0000)]
- change option -c to -Z to match newer upstream SElinux conventions
Denis Vlasenko [Wed, 14 Mar 2007 00:08:28 +0000 (00:08 -0000)]
gzip: bbunzip integration fixes
Denis Vlasenko [Wed, 14 Mar 2007 00:07:51 +0000 (00:07 -0000)]
gzip: use common bbunzip infrastructure - ~700 bytes code less
Denis Vlasenko [Wed, 14 Mar 2007 00:06:51 +0000 (00:06 -0000)]
gzip: reduce global data footprint, part 3
Denis Vlasenko [Wed, 14 Mar 2007 00:06:29 +0000 (00:06 -0000)]
gzip: reduce global data footprint, part 2
Denis Vlasenko [Wed, 14 Mar 2007 00:06:10 +0000 (00:06 -0000)]
gzip: reduce global data footprint, part 1
Denis Vlasenko [Tue, 13 Mar 2007 22:31:28 +0000 (22:31 -0000)]
fsck_minix: stop using large buffers in bss
Denis Vlasenko [Tue, 13 Mar 2007 20:55:36 +0000 (20:55 -0000)]
ash: popstackmark is reported trying to pop until NULL
is seen (which isn't possible), prevent this.
Denis Vlasenko [Tue, 13 Mar 2007 13:01:14 +0000 (13:01 -0000)]
Do not fail password check if shadow password does not exist -
fall back to ordinary one
Reduced usage of functions returning datain static buffers.
(mostly passwd/group/shadow related):
function old new delta
correct_password 143 193 +50
sulogin_main 490 533 +43
adduser_main 732 774 +42
passwd_main 1875 1915 +40
addgroup_main 330 365 +35
bb_internal_getspnam 38 - -38
bb_internal_fgetpwent 38 - -38
bb_internal_fgetgrent 38 - -38
static.resultbuf 168 88 -80
static.buffer 1872 1104 -768
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes
Denis Vlasenko [Mon, 12 Mar 2007 23:41:07 +0000 (23:41 -0000)]
resize: make it usable in in backticks; have a timeout (if display
doesn't respond to 'get cursor pos' ESC sequence...)
Denis Vlasenko [Mon, 12 Mar 2007 23:34:52 +0000 (23:34 -0000)]
add missing copyright statements and doc for sv
Denis Vlasenko [Mon, 12 Mar 2007 23:14:42 +0000 (23:14 -0000)]
sv: make code trivially smaller
Denis Vlasenko [Mon, 12 Mar 2007 19:49:07 +0000 (19:49 -0000)]
chcon: remove redundant ifs: if(p) free(p)
Denis Vlasenko [Mon, 12 Mar 2007 18:22:55 +0000 (18:22 -0000)]
introduce and use setfscreatecon_or_die
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>)
runcon: *yet another* fix for vda's brainfart :(
Denis Vlasenko [Mon, 12 Mar 2007 18:16:24 +0000 (18:16 -0000)]
swapon: random shrinkage
Denis Vlasenko [Mon, 12 Mar 2007 11:31:17 +0000 (11:31 -0000)]
bbunzip: remove extra formatting directives in comments
Denis Vlasenko [Mon, 12 Mar 2007 10:41:23 +0000 (10:41 -0000)]
chcon: exclude constraints for impossible option if long opts are off
Denis Vlasenko [Sun, 11 Mar 2007 22:16:02 +0000 (22:16 -0000)]
next portion of selinux updates: chcon, runcon. From
Yuichi Nakamura <himainu-ynakam@miomio.jp>
KaiGai Kohei <busybox@kaigai.gr.jp>
Denis Vlasenko [Sun, 11 Mar 2007 13:43:10 +0000 (13:43 -0000)]
kill superfluous returns at the end of void functions
Denis Vlasenko [Sun, 11 Mar 2007 12:29:25 +0000 (12:29 -0000)]
update defconfig
Denis Vlasenko [Sun, 11 Mar 2007 10:56:37 +0000 (10:56 -0000)]
fix buglets found by randomconfig run
Denis Vlasenko [Sat, 10 Mar 2007 17:22:14 +0000 (17:22 -0000)]
awk: support multiple -v options
Denis Vlasenko [Sat, 10 Mar 2007 16:58:49 +0000 (16:58 -0000)]
selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)
Denis Vlasenko [Sat, 10 Mar 2007 16:32:14 +0000 (16:32 -0000)]
more: do not mess with "/dev/console" (!);
fill whole 1st screen (was "screen sans one line");
fall back to cat if redirected or no ctty
less: fall back to cat if no ctty (was exiting)
resize: cosmetics
Denis Vlasenko [Fri, 9 Mar 2007 22:48:08 +0000 (22:48 -0000)]
ifupdown: do not complain if !/var/run/ifstate
Denis Vlasenko [Fri, 9 Mar 2007 22:46:06 +0000 (22:46 -0000)]
runsv: random code savings, ~300 bytes
Denis Vlasenko [Fri, 9 Mar 2007 20:49:55 +0000 (20:49 -0000)]
bbunzip: size optimization: ~90 bytes
Bernhard Reutner-Fischer [Fri, 9 Mar 2007 16:56:57 +0000 (16:56 -0000)]
- update
Bernhard Reutner-Fischer [Fri, 9 Mar 2007 16:56:38 +0000 (16:56 -0000)]
- add chrt applet.
text data bss dec hex filename
769 0 0 769 301 miscutils/chrt.o
and could use some further shrinkage
Denis Vlasenko [Fri, 9 Mar 2007 16:43:01 +0000 (16:43 -0000)]
printf: allow hex/oct numbers; move functions around
so that we have no forward declarations
Bernhard Reutner-Fischer [Fri, 9 Mar 2007 14:27:50 +0000 (14:27 -0000)]
- move bbconfig into alphabetical order
Denis Vlasenko [Fri, 9 Mar 2007 10:08:53 +0000 (10:08 -0000)]
diff: failed to confirm "static bug" in gcc - reinstating statics.
microscopic code improvements.
Denis Vlasenko [Fri, 9 Mar 2007 08:55:23 +0000 (08:55 -0000)]
less: handle yet another Home/End key sequence; expand a comment
Bernhard Reutner-Fischer [Fri, 9 Mar 2007 08:46:31 +0000 (08:46 -0000)]
- add selinux applets to the IMA workaround
Bernhard Reutner-Fischer [Fri, 9 Mar 2007 08:44:30 +0000 (08:44 -0000)]
This small patch fixes a bug when exclusive options were given
to matchpathcon it should exit. (KaiGai Kohei)
Mike Frysinger [Fri, 9 Mar 2007 08:25:24 +0000 (08:25 -0000)]
add STANDALONE support
Denis Vlasenko [Thu, 8 Mar 2007 18:12:01 +0000 (18:12 -0000)]
less: make '/' (regex search) scan input if no matches are found
in input taken so far.
Denis Vlasenko [Thu, 8 Mar 2007 17:52:36 +0000 (17:52 -0000)]
less: yet another attempt to make search better
Denis Vlasenko [Thu, 8 Mar 2007 16:44:32 +0000 (16:44 -0000)]
less: fix 'n'ext match: sometimes was going to 999999th line
Denis Vlasenko [Thu, 8 Mar 2007 16:14:46 +0000 (16:14 -0000)]
chown: fix comment, fix verbose message
Denis Vlasenko [Thu, 8 Mar 2007 13:37:43 +0000 (13:37 -0000)]
chown: support -H -L -P if ENABLE_DESKTOP
chmod: cosmetic fixes
expr: smallish help for dumb compilers
Denis Vlasenko [Wed, 7 Mar 2007 23:22:47 +0000 (23:22 -0000)]
bbunzip: fix comments to match reality
Denis Vlasenko [Wed, 7 Mar 2007 23:08:26 +0000 (23:08 -0000)]
missed end-of-line
Denis Vlasenko [Wed, 7 Mar 2007 23:02:50 +0000 (23:02 -0000)]
hwclock: support /dev/rtc0 etc
Denis Vlasenko [Wed, 7 Mar 2007 22:49:53 +0000 (22:49 -0000)]
fix umount usage message
Denis Vlasenko [Wed, 7 Mar 2007 22:45:42 +0000 (22:45 -0000)]
diff: make -U0 work
Denis Vlasenko [Wed, 7 Mar 2007 22:16:38 +0000 (22:16 -0000)]
httpd: make httpd usable for NOMMU CPUs
Denis Vlasenko [Wed, 7 Mar 2007 22:02:23 +0000 (22:02 -0000)]
bunzip2/gunzip/uncompress/unlzma: merge into common code -
fix few corner cases, reduce size by 450 bytes. Update testsuite.
Denis Vlasenko [Wed, 7 Mar 2007 09:35:43 +0000 (09:35 -0000)]
clean up accumulated whitespace damage
Denis Vlasenko [Wed, 7 Mar 2007 00:07:42 +0000 (00:07 -0000)]
who: stop using static buffer, small size optimizations
Denis Vlasenko [Tue, 6 Mar 2007 22:53:10 +0000 (22:53 -0000)]
ifupdown: code to deconstruct the state_list gracefully
(patch by Gabriel L. Somlo <somlo@cmu.edu>)
Denis Vlasenko [Mon, 5 Mar 2007 21:08:29 +0000 (21:08 -0000)]
ash: "here document" testcases
Denis Vlasenko [Mon, 5 Mar 2007 20:46:46 +0000 (20:46 -0000)]
add ash testcases
Denis Vlasenko [Mon, 5 Mar 2007 19:55:30 +0000 (19:55 -0000)]
decouple INIT and SYSLOGD (patch by Eric Spakman E.Spakman@inter.nl.net)
Denis Vlasenko [Mon, 5 Mar 2007 19:24:33 +0000 (19:24 -0000)]
httpd: run interpreter for configured file extensions in any dir,
not only in /cgi-bin/
Denis Vlasenko [Mon, 5 Mar 2007 19:22:04 +0000 (19:22 -0000)]
init: fix handling of stdio file descriptors
Denis Vlasenko [Mon, 5 Mar 2007 16:56:25 +0000 (16:56 -0000)]
httpd: fix breakage (introduced by me)
Denis Vlasenko [Mon, 5 Mar 2007 00:27:50 +0000 (00:27 -0000)]
small ash testsuite, adapted from bash
(only a small part of it, actually)
Denis Vlasenko [Mon, 5 Mar 2007 00:24:52 +0000 (00:24 -0000)]
ash: cosmetic improvements in error messages
Denis Vlasenko [Sun, 4 Mar 2007 18:09:50 +0000 (18:09 -0000)]
remove f words
Denis Vlasenko [Sat, 3 Mar 2007 23:12:17 +0000 (23:12 -0000)]
ash: do not use "safe applets" in non-standalone shell
Denis Vlasenko [Sat, 3 Mar 2007 20:06:59 +0000 (20:06 -0000)]
tar: handle tarfiles with (broken) checksums a-la Sun.
Denis Vlasenko [Sat, 3 Mar 2007 00:36:35 +0000 (00:36 -0000)]
ping: don't measure times if ping payload is less than 8 bytes;
commonalize some ping code.
Denis Vlasenko [Wed, 28 Feb 2007 23:14:06 +0000 (23:14 -0000)]
ls: w/o -l follow symlinks to dirs for commandline args
Denis Vlasenko [Tue, 27 Feb 2007 22:39:19 +0000 (22:39 -0000)]
I *always* forget svn add :(
Denis Vlasenko [Tue, 27 Feb 2007 21:15:08 +0000 (21:15 -0000)]
udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)
Denis Vlasenko [Tue, 27 Feb 2007 19:20:33 +0000 (19:20 -0000)]
init: de-indent a block of code
Denis Vlasenko [Tue, 27 Feb 2007 19:20:00 +0000 (19:20 -0000)]
init: trivial compile fix
Denis Vlasenko [Mon, 26 Feb 2007 22:47:42 +0000 (22:47 -0000)]
start_stop_daemon: add -chuid support
Denis Vlasenko [Sun, 25 Feb 2007 02:38:54 +0000 (02:38 -0000)]
grep: "implement" -a and -I by ignoring them
Denis Vlasenko [Sun, 25 Feb 2007 02:38:20 +0000 (02:38 -0000)]
grep: implement -w
Denis Vlasenko [Sun, 25 Feb 2007 02:37:49 +0000 (02:37 -0000)]
ash: replace xstrdup (shell shall not die)
grep: fix mis-indented block
Denis Vlasenko [Sun, 25 Feb 2007 00:40:37 +0000 (00:40 -0000)]
stop using bash'isms ('function')
runtest: do not depend on busybox.links
Denis Vlasenko [Sat, 24 Feb 2007 17:05:52 +0000 (17:05 -0000)]
awk: fix memory leak (can affect large file processing)
Denis Vlasenko [Sat, 24 Feb 2007 13:42:56 +0000 (13:42 -0000)]
ash: fix compile problems
Denis Vlasenko [Fri, 23 Feb 2007 21:11:02 +0000 (21:11 -0000)]
ash: cleanup part 2.8
Denis Vlasenko [Fri, 23 Feb 2007 21:10:47 +0000 (21:10 -0000)]
ash: cleanup part 2.7
Denis Vlasenko [Fri, 23 Feb 2007 21:10:35 +0000 (21:10 -0000)]
ash: cleanup part 2.6
Denis Vlasenko [Fri, 23 Feb 2007 21:10:23 +0000 (21:10 -0000)]
ash: cleanup part 2.5
Denis Vlasenko [Fri, 23 Feb 2007 21:10:06 +0000 (21:10 -0000)]
ash: cleanup part 2.4
Denis Vlasenko [Fri, 23 Feb 2007 21:09:49 +0000 (21:09 -0000)]
ash: cleanup part 2.3
Denis Vlasenko [Fri, 23 Feb 2007 21:09:35 +0000 (21:09 -0000)]
ash: cleanup part 2.2
Denis Vlasenko [Fri, 23 Feb 2007 21:08:58 +0000 (21:08 -0000)]
ash: starting second round of cleanups. #1
Denis Vlasenko [Fri, 23 Feb 2007 01:05:52 +0000 (01:05 -0000)]
ash: cleanup part 9
Denis Vlasenko [Fri, 23 Feb 2007 01:05:38 +0000 (01:05 -0000)]
ash: cleanup part 8
Denis Vlasenko [Fri, 23 Feb 2007 01:05:26 +0000 (01:05 -0000)]
ash: cleanup part 7
Denis Vlasenko [Fri, 23 Feb 2007 01:05:15 +0000 (01:05 -0000)]
ash: cleanup part 6
Denis Vlasenko [Fri, 23 Feb 2007 01:05:03 +0000 (01:05 -0000)]
ash: cleanup part 5