Commit Graph
100 Commits
Author SHA1 Message Date
Rob Landley a8e2760924 Clarify. 2006-03-30 02:01:48 +00:00
Rob Landley daa4a6dcbd Update ipaddr help to match reality. 2006-03-30 01:59:30 +00:00
Rob Landley ca087713f2 More extern removal from Robert P. Day. 2006-03-29 16:52:56 +00:00
Rob Landley 24b0a9568d Documentation from Jan Kiszka 2006-03-29 15:35:23 +00:00
Rob Landley fe908fda28 Kumar Gala tracked down a problem with NFS mounting. This is a different fix
from his, but to the same problem.
2006-03-29 14:30:49 +00:00
Rob Landley dbd91af061 Mike Frysinger pointed out we can go
CFLAGS=-I/usr/some/funky/path/to/selinux \
  LDFLAGS=-L/usr/some/funky/path/to/selinux make
So Jan Kiszka reverted part of the selinux patch.
2006-03-28 19:40:15 +00:00
Rob Landley 92fff34de6 Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocate
it.
2006-03-28 19:19:19 +00:00
Rob Landley 87848d91c7 setlogcons, from Jan Kaszka. 2006-03-27 23:23:43 +00:00
Rob Landley 28ff9668d9 Mention that 1.1.2 should be out Juneish. 2006-03-27 23:22:16 +00:00
Rob Landley b3ede5abe2 More from Jan Kiszka: this is a port of the latest sysv-init SELinux patch.
It makes busybox invoke the libselinux library function to load the binary
policy right at system start-up. It was successfully tested on a mini-SELinux
system.  Note: requires recent libselinux. I'm using 1.28.
2006-03-27 23:09:12 +00:00
Rob Landley d1f8c1c125 From Jan Kiszka: This patch fixes the security labelling of the login terminal
and process... There still remains some stuff to clean up (the whole
set_current_security_context() appears unnecessary complex to me), but this is
now at least working.
2006-03-27 23:04:42 +00:00
Rob Landley 164a5be04e Patch from Jan Kiszka: In case the libselinux development installation is not
located at its default location, this patch allows to override the path via
SELINUX_INC and SELINUX_LIB when invoking make.
2006-03-27 23:00:32 +00:00
Rob Landley 0949d30638 Software Freedom Law Center and the fixes.patch thing. 2006-03-27 22:43:40 +00:00
Rob Landley c370ea89fa Turn #if 0 into a comment. 2006-03-27 17:00:11 +00:00
Rob Landley 3570915769 More dead code removal. 2006-03-26 21:49:42 +00:00
Rob Landley 4789694372 Robert P Day removed some commented out code. 2006-03-26 21:42:40 +00:00
Rob Landley 90ece609e6 Define both big endian and little endian macros. 2006-03-25 03:01:59 +00:00
Rob Landley 0bafd47e84 Stephane Billiart found an endianness bug in insmod. 2006-03-25 02:49:28 +00:00
Rob Landley d1968672ef When cross-compiling, the install directory for shared libraries has to come
from gcc (target machine), not uname (host machine).
2006-03-24 02:42:58 +00:00
Rob Landley 1bb31928d5 Bug spotted by Stephane Billiart: losetup depends on loop.c. 2006-03-23 16:49:22 +00:00
Rob Landley fb3a631310 Very nice patch from Rich Felker to portably set the stream error indicator and
thus remove a lot of nasty old code that didn't.
2006-03-23 15:30:26 +00:00
Rob Landley 5fba2505d4 News entry announcing 1.1.1. 2006-03-23 03:08:09 +00:00
Rob Landley ca8d0b029b We make both busybox and busybox_unstripped all the time now, no need to
specify whether or not to strip the binary.
2006-03-22 21:03:21 +00:00
Rob Landley 2dd4279959 Patch from Rogelio Serrano to defer checking whether the tty exists until
we actually need to spawn something on it.
2006-03-22 17:39:13 +00:00
Rob Landley 2324a7c9e5 Fix "seq 1 1". 2006-03-22 17:11:44 +00:00
Rob Landley a35886c862 Fix from Glenn McGrath. 2006-03-22 16:59:12 +00:00
Rob Landley 786988faf7 Tweak allbareconfig not to pause. 2006-03-22 15:24:24 +00:00
Rob Landley 7328c8fdc1 Annoint 1.1.1. 2006-03-22 14:07:23 +00:00
Rob Landley cebea726e8 Another header suggestion from Shaun Jackman. 2006-03-22 00:46:36 +00:00
Rob Landley 3ea05d3222 Fix missing copyright and license notice. 2006-03-21 18:20:40 +00:00
Rob Landley d049812571 Patch from Stuart Hughes upgrading depmod.pl 2006-03-21 16:35:50 +00:00
Rob Landley 8dd4ca787a Patch from Shaun Jackman to make loop.c build only when needed. 2006-03-21 16:22:19 +00:00
Rob Landley 6a776e9558 Temporarily disable shared library for the 1.1.1 release. 2006-03-21 16:07:39 +00:00
Rob Landley e3f4ab2bc4 Remove unneeded entries. 2006-03-20 18:40:07 +00:00
Rob Landley 8caffaa9a9 Cleanup: remove double quotes that don't seem to be needed. 2006-03-20 18:39:02 +00:00
Rob Landley c30f445b08 Patch from tito, acked by Bernhard Fischer. 2006-03-20 02:20:18 +00:00
Rob Landley e2b428cbb1 Use lstat() instead of stat so /init being a symlink doesn't screw people up.
(And use it consistently, for size reasons.)
2006-03-20 01:43:29 +00:00
Rob Landley 6bc10635f8 Make the new chroot environment creation infrastructure more flexible about
non-absolute paths.
2006-03-18 03:01:57 +00:00
Rob Landley dcb2122e85 My mount testsuite. Not automatically run at the moment, need to figure out
how to (optionally) supply User Mode Linux to runtests.
2006-03-18 03:00:22 +00:00
Rob Landley eaa34ca5b4 More fixes. Type "auto" should mean unspecified from fstab as well as the
command line, initialize singlemount's rc to an error value so it doesn't
think it succeeded when it didn't, use absolute path when associating a
loop device (and the previous FEATURE_CLEAN_UP logic related to that was
freeing the wrong thing), move reading of /proc/filesystems to where we can
re-read it (when it's empty) for every entry on a "mount -a" so that when
/proc is mounted as the first entry, the later filesystems can autodetect
filesystem type.
2006-03-18 02:58:11 +00:00
Rob Landley aae8b3405e Whitespace cleanup and minor tweak (return -ERRNO instead of ERRNO so
EPERM doesn't register as a successful read-only mount.
2006-03-18 02:38:10 +00:00
Rob Landley 5a57821565 Bug fix: umount wasn't detaching loop devices unless mtab support was enabled.
Made some whitespace cleanups while I was there.
2006-03-17 03:30:05 +00:00
Rob Landley 2824ded677 More test updates. 2006-03-16 16:02:06 +00:00
Rob Landley 4bb1b04fd1 Redo test suite to be able to test more than one command at a time. Eliminate
$COMMAND environment variable, instead put full command line (including
command to run) in second argument.  Modify $PATH to have test versions of
commands at start of path.  (Also more infrastructure for testing as root,
work in progress...)
2006-03-16 15:20:45 +00:00
Rob Landley ea9a471acd Random in-passing tweak. 2006-03-16 14:40:27 +00:00
Rob Landley 187e352b7f Update for bug 14. 2006-03-15 17:09:56 +00:00
Rob Landley 330ac853e3 Tito shrank dos2unix. 2006-03-14 21:49:18 +00:00
Rob Landley 31642d75e1 More "extern" removals from Robert P. Day 2006-03-14 21:45:38 +00:00
Rob Landley 386f85eadf Attempt to make a warning go away without increasing size. 2006-03-14 21:13:48 +00:00
Rob Landley d221d2137f Missed one. 2006-03-14 20:06:44 +00:00
Rob Landley dc0955b603 The new, new mount rewrite. (Mount double prime?) Still being debugged, but
the new infrastructure is reentrant so in theory it's capable of handling
mount -a sanely.  It can also re-use existing flags with remount, handle
-t auto, mount -a -t, and several smaller bugfixes.
2006-03-14 18:16:25 +00:00
Rob Landley 0b22c1c962 Tito unified fdflush and freeramdisk. I tweaked the result a bit. 2006-03-14 02:40:51 +00:00
Rob Landley c5b1d4d6b1 Patch from Denis Vlasenko to add xstat() and use it. 2006-03-13 15:45:16 +00:00
Rob Landley 965030e35a Update documentation. 2006-03-13 04:38:40 +00:00
Rob Landley 19808fea76 "make help" should not build the configurator first. 2006-03-13 03:19:46 +00:00
Rob Landley 9dc6913896 Fix "rm .config;make menuconfig" to work like "rm .config; make" (I.E. do
defconfig first), and group busybox administrative settings into a sub-menu.
2006-03-13 02:52:23 +00:00
Rob Landley e01d746fe9 Cleanup patch from tito. 2006-03-12 19:26:01 +00:00
Rob Landley 1c60d9762e Size reduction by Tito. 2006-03-11 18:22:35 +00:00
Rob Landley ead19306f5 Cleanup patches from tito. 2006-03-10 23:16:25 +00:00
Rob Landley bc68cd14cc Patch from Denis Vlasenko turning static const int (which gets emitted into
the busybox binary) into enums (which don't).
2006-03-10 19:22:06 +00:00
Rob Landley dae6aa2859 Fixup to the previous (portability) patch. Linux actually does need
arpa/inet.h rather than netinet/in.h, otherwise we get warnings.
2006-03-09 22:39:08 +00:00
Rob Landley 1f305dc0fd Portability patch from rfelker. The bb_asprintf.c thing needs an eventual
follow up in platform.h to set the #ifdef, but the workaround works for
everybody, so...
2006-03-09 22:21:20 +00:00
Rob Landley 3a324754f8 I'm about to introduce tests that need to run as root (like mount.tests),
meaning we want to run them in a chroot environment.  To help with this,
I worked out a utility function that makes it really easy to set up a chroot
environment.
2006-03-09 22:04:33 +00:00
Rob Landley 31e3610c4b Cleanup from Paul Fox. One find piped to xargs is faster/simpler than
lots of finds doing individual -exec rm.
2006-03-09 22:01:05 +00:00
Rob Landley ac664e07df Mention a few web browsers. 2006-03-09 18:20:43 +00:00
Rob Landley d48633fa6f They won't stop asking, but we can point them to the specific entry... 2006-03-09 18:03:21 +00:00
Rob Landley 49a5599ae9 Patch from Denis Vlasenko to make unlzma smaller. 2006-03-09 17:51:25 +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
Rob Landley 1f5e25bf3e Walt Wimer noticed that mknod couldn't handle major or minor > 255. Now our
limit checking autodetects what the system supports (at compile time).
2006-03-06 19:31:39 +00:00
Rob Landley 688ed0d760 Patch from Robert P. Day, moving byte order checks to use platform.h macros. 2006-03-04 22:40:25 +00:00
Rob Landley 06ec8cff83 Typo fixes brought to you by the letters a, l, and Robert P. Day. 2006-03-03 19:02:50 +00:00
Rob Landley c05dda4b2d Denis Vlasenko noticed that falign=0 is meaningless, and that should probably
be falign=1.  Saves a little over 3k on an x86 "make defconfig" build.
2006-03-03 17:57:50 +00:00
Rob Landley 12c2429a42 Fixup to make warnings from the last patch go away. 2006-03-01 21:36:18 +00:00
Rob Landley 08abe64d91 Selinux fix from Jan Kiszka. 2006-03-01 20:48:44 +00:00
Rob Landley e7c43b66d7 Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
from before "if(x) free(x)".
2006-03-01 16:39:45 +00:00
Rob Landley 93f2286e6e When gnu fails this one we shouldn't let it _hang_... 2006-03-01 16:32:35 +00:00
Rob Landley e8e7811fb4 Yet more sed tests. Passing these is a to-do item for 1.1.2 or 1.2, not a
1.1.1 issue.
2006-03-01 16:32:01 +00:00
Rob Landley 8bbee85214 defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at it
remove residue of old defconfig and tweak "make with no config" to run
defconfig before bringing up menuconfig.
2006-02-28 05:26:13 +00:00
Rob Landley 2fe4eac4ea Cosmetic cleanup from tito. 2006-02-28 04:45:24 +00:00
Rob Landley e813ddba18 Cleanup from Glenn McGrath. 2006-02-28 03:53:14 +00:00
Rob Landley 4217bab02e Patch from Glenn McGrath to remove code that opens a file but does nothing
with it.
2006-02-26 04:42:05 +00:00
Rob Landley 5527b9117e Another clean-up patch from Garrett. 2006-02-25 03:46:10 +00:00
Rob Landley 736e52532e Minor cleanup from Garrett Kajmowicz. 2006-02-25 03:36:00 +00:00
Rob Landley b73451daee Cleanup from Denis Vlasenko. 2006-02-24 16:29:00 +00:00
Rob Landley 75cc0cace3 I was playing around with a dependency generator a couple weeks ago and I found
some #include files that aren't in the tree.  No biggie...
2006-02-24 03:15:34 +00:00
Rob Landley 883e0e83f2 Missed one in the get_line_from_file() update... 2006-02-24 03:12:03 +00:00
Rob Landley 3cb94d2eb3 Move FAQ under docs, add programming.html to docs list. 2006-02-24 02:55:24 +00:00
Rob Landley f6ddadc172 Mention patches directory as a read-only svn alternative. 2006-02-24 02:48:49 +00:00
Rob Landley 2b26fd5570 A few changes falling out from the effort to make sed handle embedded NUL bytes.
Checking in to reduce the diff between my tree and svn...
2006-02-24 02:30:39 +00:00
Rob Landley 5c22c11de2 Add a test suite for seq. 2006-02-24 01:45:58 +00:00
Rob Landley 6b6edf959d Lots of tests the fix to sed needs to pass... 2006-02-23 23:13:16 +00:00
Rob Landley b21837714a Documentation update: more detail on vfork. 2006-02-23 19:59:34 +00:00
Rob Landley 73a20f3551 "sed 2 -2 10" was very unhappy. Made the thing bigger fixing it,
fiddled a bit to get the size back down as much as I could...
2006-02-23 19:54:48 +00:00
Rob Landley 51be57e4df Convert all the applets from #include to USE(). Had to fix some nonstandard
naming along the way to get USE() macros for everything.
2006-02-23 00:42:25 +00:00
Rob Landley c6d09a6276 You don't need an #ifdef around #defines in usage. 2006-02-22 20:33:15 +00:00
Rob Landley 0a7c8ef6e2 Patch from Denis Vlasenko to constify things and fix a few typos. 2006-02-22 17:01:00 +00:00
Rob Landley fb16d5c6aa Tweak my entry. 2006-02-22 15:40:38 +00:00
Rob Landley e8f504e86d Bug 751: file handle leaks can add up until available filehandles for the
process are exhausted.
2006-02-22 02:10:34 +00:00
Rob Landley d6e14d8bee Don't build directory libraries unless we're building an applet that needs it.
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-21 19:11:35 +00:00
Rob Landley 6f2a0b2275 Small tweak cherry-picked from Devin Bayer's monster MacOS X patch. 2006-02-21 18:34:54 +00:00