"Vladimir N. Oleynik"
f01e1784e5
removed a warning about an unused pargv in bb_getopt_ulflags. Noticed by Tito
2006-01-09 13:28:31 +00:00
Rob Landley
5184336647
Bug 112, return value of awk should be /256. In reality, we should probably
...
be using WEXITSTATUS(), but until I can figure out why the heck that would
want to do (*(int *) &(status)) on the value, I'm happy just fixing the bug we
actually see.
2006-01-09 05:26:58 +00:00
Rob Landley
fb8c4983a6
Fix bug 603: "chown :root thingy" should work now.
2006-01-09 03:45:43 +00:00
Rob Landley
e569553aa0
Bug 547: writing out the tar file header before we confirm we can actually
...
open and read from the file isn't something we can recover from after the
fact. Resequence things to check first, write second.
2006-01-09 03:07:44 +00:00
Rob Landley
3d1bbf0a5f
Minor cosmetic fix from Tito.
2006-01-09 01:07:24 +00:00
Rob Landley
8bcc6e964b
Why we didn't take a watchdog.c suggestion this time 'round, in case anybody
...
comes up with a fix...
2006-01-09 00:54:46 +00:00
Mike Frysinger
e87ae0bd4f
declare const for fun
2006-01-08 11:15:53 +00:00
Mike Frysinger
e885d5300a
Tito writes:
...
Somehow while applying the bb_do_delay patch a change slipped
in libbb.h that broke compilation.
libbb.h Line 355
extern char bb_path_mtab_file[];
This conflicts with mtab_file.c
#if defined(CONFIG_FEATURE_MTAB_SUPPORT)
const char bb_path_mtab_file[] = "/etc/mtab";
#else
const char bb_path_mtab_file[] = "/proc/mounts";
#endif
2006-01-08 11:15:34 +00:00
Rob Landley
84cb76733f
patch from tito: consolidate delay functions as bb_do_delay()
2006-01-06 20:59:09 +00:00
Rob Landley
251161f75c
Bug 624 wants quoted char support for printf, so you can do something like:
...
printf '%d\n' '"x"'
and have it print out 120. This is the smallest implementation I can think
of at the moment.
2006-01-06 20:28:05 +00:00
Rob Landley
f8ec1b51f3
No, we _want_ the suid and sgid bits reverted by chown, for security reasons.
...
They mean something different when the user they're switching to is different,
so if you still want suid you reset it afterwards. This is a safety feature.
2006-01-06 18:22:05 +00:00
Bernhard Reutner-Fischer
c00411a16a
- better wording
2006-01-04 13:35:09 +00:00
Mike Frysinger
5990efb795
use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)
2006-01-04 07:31:19 +00:00
Mike Frysinger
b92405552f
Jason Schoon writes:
...
Here is a patch for kill that I posted long ago, but forgot about
until today. This allows kill to specify a negative process/group
(such as -1). The shell already had this fix applied by Vodz some
time ago.
2006-01-04 00:13:22 +00:00
Mike Frysinger
f982d86ba7
import nios2 support from microtronix
2006-01-04 00:11:26 +00:00
Mike Frysinger
29ed59ee11
make mount usage a bit more terse
2006-01-04 00:04:08 +00:00
Mike Frysinger
705fad2964
just use bb_xfopen()
2006-01-03 23:59:17 +00:00
Mike Frysinger
bb12d6f728
fix comment documentation
2006-01-03 23:59:01 +00:00
Bernhard Reutner-Fischer
823f80f5ad
- silence warning about unused param
...
needs revisit later on like many others to use ATTRIBUTE_UNUSED from platform.h
2005-12-29 21:17:05 +00:00
Bernhard Reutner-Fischer
f00680eb59
- use HOSTCC instead of a hardcoded cc
2005-12-29 16:53:47 +00:00
"Vladimir N. Oleynik"
0bf67e849a
remove buffer overflow by Erik and decodeString problem by Glenn, add error check of decodeString as Apache
2005-12-26 17:26:59 +00:00
Rob Landley
ce88793698
When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.
2005-12-21 17:00:25 +00:00
Rob Landley
9085467970
Trying to losetup a device as a regular user shouldn't result in an endless
...
loop, and the error messages should display correctly now.
2005-12-21 16:53:57 +00:00
Rob Landley
beb665a376
Second attempt to simplify the login menu. Shadow password stuff at the top,
...
with no dependencies (since depending on 9 of the 13 apps in the menu gets
a bit silly). And fix my attempt to make internal shadow password support
automatically depend on internal password support plus shadow password
support.
2005-12-21 16:33:41 +00:00
Bernhard Reutner-Fischer
17329745fc
- fix check for group and user, remove some whitespace while at it.
2005-12-21 15:07:30 +00:00
Rob Landley
5d84c2398e
Fix chroot, leave console alone if -c not specified, and yank debug code.
...
(I still haven't set up a test environment to confirm this works...)
2005-12-20 17:25:51 +00:00
Rob Landley
7b363fd3c9
Some minor cleanups/bugfixes split off from the big remount work:
...
Shorten GPL boilerplate.
Enabling FEATURE_CLEAN_UP broke things in two places.
Move the NFS with uClibc check to nfsmount.c
2005-12-20 17:18:01 +00:00
Rob Landley
b9620414c1
Shadow password support went beyond the dependency event horizon, just make
...
it an independent menu. And make internal shadow password support a subset
of the other internal password function support.
2005-12-20 15:25:25 +00:00
Rob Landley
6a24976ceb
Actually, static buffers look like _this_...
2005-12-20 15:23:20 +00:00
"Vladimir N. Oleynik"
6b903a2d8a
remove debug feature for production
2005-12-20 11:02:54 +00:00
Rob Landley
9a1e25d994
Make a few warnings go away.
2005-12-19 16:30:33 +00:00
Rob Landley
c90c8b50e4
Do an svn log -v, the information in this changelog is stunningly
...
obsolete.
2005-12-19 16:29:19 +00:00
Rob Landley
b3f05a467a
Shadow password support involves vlock too.
2005-12-19 02:52:48 +00:00
Rob Landley
68eb9dd371
Patch from Tito to make vlock much smaller.
2005-12-19 02:50:10 +00:00
Rob Landley
553d83d427
strncmp isn't automatically superior to strcmp. Especially when it isn't
...
used right.
2005-12-18 20:34:41 +00:00
Rob Landley
9bdd742dd2
Sigh. Left the debug path in. Fixed.
2005-12-17 10:54:17 +00:00
Rob Landley
b56c285da5
Added /etc/mdev.conf support. Adds about 1.9k to mdev.
2005-12-17 10:52:30 +00:00
Rob Landley
1a78103306
Bug 601: When we fork an archiver and feed stuff to it through a pipe, if
...
we don't close the pipe the child process won't exit, and we'll hang in
waitpid().
2005-12-16 21:33:10 +00:00
Rob Landley
ef1f7b5058
Ahem. Vladimir checked in a different fix bug didn't close out the bug.
...
Reverting...
2005-12-16 08:03:34 +00:00
Rob Landley
4b91b88fcb
Less would segfault if it had no tty. (Bug 600.)
2005-12-16 08:02:11 +00:00
Rob Landley
199501f2a0
I screwed up the last commit: if dt is null when ENABLE_MULTIPLE_OPTIONS is
...
off, we'd dereference the null. Oops.
2005-12-16 06:18:06 +00:00
Rob Landley
a930bd3332
Stephane Billiart said:
...
the attached patch makes applet list in busybox.links
correctly include tr and watchdog.
Currently, they don't appear because they are prefixed
with ENABLE_ in include/applets.h
2005-12-16 06:12:46 +00:00
"Vladimir N. Oleynik"
ddc280ec43
sync license from mainstream
2005-12-15 12:01:49 +00:00
"Vladimir N. Oleynik"
8315cd527f
fopen(TTY...) to bb_xfopen(), close bug 600
2005-12-15 11:53:22 +00:00
Bernhard Reutner-Fischer
9a14bd04f8
- Stephane Billiart writes:
...
Fix the compilation of head and tail.
thanks!
2005-12-15 11:47:16 +00:00
Bernhard Reutner-Fischer
73bffd4d96
- remove duplicate entry for switch_root
2005-12-15 11:44:31 +00:00
Rob Landley
42eddbafe7
Add a fflush(stdout).
2005-12-15 08:04:17 +00:00
Rob Landley
ae50c6d8ee
Better use of the ENABLE guards.
2005-12-15 07:42:13 +00:00
Rob Landley
e0c418e13b
The rest of Yann E. Morin's install revamp.
2005-12-15 07:25:54 +00:00
Rob Landley
164c5c80ba
Eliminate unnecessary allocation from md5sum that was leaked without ever being used.
2005-12-15 06:51:52 +00:00