| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Sat, Jun 19, 2004 at 10:57:37PM +0200, Bastian Blank wrote:
> The following patch changes klogd to use openlog/syslog themself
> instead of calling syslog_msg which always calls the triple
> openlog/syslog/closelog.
Updated patch: get rid of syslog_msg entirely. Request from Erik Andersen.
Bastian
git-svn-id: svn://busybox.net/trunk/busybox@8913 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The updated patch adds a config option to explicitely enable 64 bit
arithmetic.
Also it removes the arith prototype from libbb.h as it is not used
outside of ash.
Bastian
this patch has been slightly modified by Erik for cleanliness.
git-svn-id: svn://busybox.net/trunk/busybox@8910 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8793 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8622 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
it seemed like a good idea at the time.
git-svn-id: svn://busybox.net/trunk/busybox@8531 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
parsing problems.
git-svn-id: svn://busybox.net/trunk/busybox@8412 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
/etc/services support for inetd, netcat and tftp.
git-svn-id: svn://busybox.net/trunk/busybox@8307 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
| |
function as there is no gracefull way of handling failures.
Rename bb_getport to bb_lookup_port, allow a default port to be
specified so it always returns a correct value.
Modify ftpgetput/rdate/wget to use the new interface.
wget/rdate now use etc/services with a falback default value.
git-svn-id: svn://busybox.net/trunk/busybox@8140 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8087 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
| |
archive_xread can be replaced with bb_full_read, and archive_copy_file
with bb_copyfd*
bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof,
they share a common backend.
git-svn-id: svn://busybox.net/trunk/busybox@7984 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7974 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7953 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
Here's a fix for the hard-coded device name in fbset.
git-svn-id: svn://busybox.net/trunk/busybox@7906 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
| |
algorithms.
Move algorithms to hash_fd and make them available via a common
function.
git-svn-id: svn://busybox.net/trunk/busybox@7863 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
I have checked rdate. Someone should also check ftpget/ftpput to
be sure they still work.
git-svn-id: svn://busybox.net/trunk/busybox@7765 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in order to fix the problems with round robin DNS reported
by Andrew Flegg:
http://busybox.net/lists/busybox/2003-October/009579.html
This removes the ipv6 specific xconnect dns lookups. I do
not see why that would need to be special cased for ipv6 as
was done, but that will just have to be tested.
So IPV6 people -- please test this change!
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@7735 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
full_write to use safe_write internally, which is needed to guarantee proper
behavior, i.e. when writing to a pipe.
git-svn-id: svn://busybox.net/trunk/busybox@7621 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
introduces a few others (but they are being worked on)
git-svn-id: svn://busybox.net/trunk/busybox@7583 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
chgrp and install.
git-svn-id: svn://busybox.net/trunk/busybox@7557 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
to ensure proper fallback behavior on, i.e. serial consoles.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@7526 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
patch from Thomas Gleixner to init.
Viodz last_patch_108
git-svn-id: svn://busybox.net/trunk/busybox@7377 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
constant.
Vodz last_patch_107
git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In BusyBox v1.00-pre2,
commands like ls, df with -h option report a wrong file size for files larger than 4GBtye!!
For example,
when I execute 'ls -l', it reports
-rw-r--r-- 1 root root 5368709120 Aug 17 2003 large_stream.tp
when I execute 'ls -lh', I expect that
-rw-r--r-- 1 root root 5.0G Aug 17 2003 large_stream.tp
but it reports
-rw-r--r-- 1 root root 1.0G Aug 17 2003 large_stream.tp
I fixed this bug that...
Line 31 in libbb/human_readable.c and line 275 include/libbb.h
const char *make_human_readable_str(unsigned long size
=> const char *make_human_readable_str(unsigned long long size
It's OK!
git-svn-id: svn://busybox.net/trunk/busybox@7253 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7152 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a
NULL terminated char* array, not just a string. 2) run_parts now explicitly
sets the environment. this environment is populated from the
/etc/network/interfaces config file and is needed by the scripts in
/etc/network/if-pre-up.d/. when run-parts is called from the command line the
environment is taken from the current process.
Vladimir Oleynik then wrote:
You can simplify this if use:
+ bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt);
+ buf[1] = NULL;
+
+ run_parts(&buf, 2, environ);
+ free(buf[0]);
--w
vodz
git-svn-id: svn://busybox.net/trunk/busybox@7130 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hi.
Last patch have new libbb function
vfork_rexec() for can use daemon() to uClinux system.
This patched daemons: syslog, klogd, inetd, crond.
This not tested! I havn`t this systems.
Also. Previous patch for feature request MD5 crypt password for
httpd don`t sended to this mailist on 07/15/03
(mailist have Pytom module problem?).
The previous patch included, and have testing.
--w
vodz
git-svn-id: svn://busybox.net/trunk/busybox@7119 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
| |
The current SC_x references automatically assume that everyone uses ttyS/tts
as their naming scheme for their serial ports. This isn't the case for quite
a few architectures, including sh, sh64, h8, arm, etc.
git-svn-id: svn://busybox.net/trunk/busybox@7082 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7046 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
I've attached my latest SE Linux patch for busybox against the latest CVS
version of busybox.
git-svn-id: svn://busybox.net/trunk/busybox@7031 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hello, I think the test for an unconfigured httpd is wrong in
the CVS (busybox-unstable-20030620.tar.bz2)
flg_deny_all is default 0
vodz then wrote:
Oops. You are right.
Also, this mistake haved from two place.
Last patch rewroted to my new get_ularg() function for overcompensate size
from this error found ;-)
git-svn-id: svn://busybox.net/trunk/busybox@6981 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
formatting in cut.
git-svn-id: svn://busybox.net/trunk/busybox@6941 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Manuel,
I rewrite bb_getopt_ulflags() function for more universal usage.
My version support now:
- options with arguments (optional arg as GNU extension also)
- complementaly and/or incomplementaly and/or incongruously and/or list
options
- long_opt (all applets may have long option, add supporting is trivial)
This realisation full compatibile from your version.
Code size grow 480 bytes, but only coreutils/* over compensate this size
after using new function. Last patch reduced over 800 bytes and not full
applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate
trivial addition support long_opt with usage new bb_getopt_ulflags().
Complementaly and/or incomplementaly and/or incongruously and/or list options
logic is not trivial, but new "cut" and "grep" applets using this logic
for examples with full demostrating. New "grep" applet reduced over 300
bytes.
Mark,
Also. I removed bug from "grep" applet.
$ echo a b | busybox grep -e a b
a b
a b
But right is printing one only.
--w
vodz
git-svn-id: svn://busybox.net/trunk/busybox@6939 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@6859 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@6853 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
numbers from getopt which includes careful error checking.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@6713 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@6539 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
patch from Bastian Blank
git-svn-id: svn://busybox.net/trunk/busybox@6407 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
is not found. Patch from Bastian Blank
git-svn-id: svn://busybox.net/trunk/busybox@6395 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
N. Oleynik
git-svn-id: svn://busybox.net/trunk/busybox@6323 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@6214 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@6208 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
| |
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
git-svn-id: svn://busybox.net/trunk/busybox@6132 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@6073 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
| |
moves the guts of run_parts to libbb to be used by ifupdown.
git-svn-id: svn://busybox.net/trunk/busybox@5909 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
| |
descriptors, support tar -j
git-svn-id: svn://busybox.net/trunk/busybox@5787 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
git-svn-id: svn://busybox.net/trunk/busybox@5685 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hi, Erik.
my_getpw(uid/gid) and applets used it have problem:
if username for uid not found, applets can`t detect it
(but code pessent). Also "%8ld " format is bad:
spaces not required (applets have self format
or spec format (tar applet) and overflow for "id" applet...)
This problem also pressent in stable version.
Patch for unstable in attach.
--w
vodz
git-svn-id: svn://busybox.net/trunk/busybox@5613 69ca8d6d-28ef-0310-b511-8ec308f3f277
|