Re: [PATCH] util-linux/lsusb.c: print manufacturer/product strings if available

2023-12-17 Thread Peter Korsgaard
>>>>> "rep" == rep dot nop writes: > On 14 December 2023 08:22:36 CET, Peter Korsgaard > wrote: >>>>>>> "Aleksander" == Aleksander Mazur writes: >> >> > Hi, >> > AFAIR similar problem appli

Re: [PATCH] util-linux/lsusb.c: print manufacturer/product strings if available

2023-12-13 Thread Peter Korsgaard
s, lsusb/lspci are really simple applets, but given that they already exist we might as well make them more useful. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCH] util-linux/lsusb.c: print manufacturer/product strings if available

2023-12-13 Thread Peter Korsgaard
35 .rodata 32683294 +26 -- (add/remove: 5/0 grow/shrink: 2/0 up/down: 379/0) Total: 379 bytes Signed-off-by: Peter Korsgaard --- util-linux/lsusb.c | 28 +++- 1 file c

Re: -o option for start-stop-daemon

2023-11-07 Thread Peter Korsgaard
>>>>> "Denys" == Denys Vlasenko writes: > Applied with some edits, please test current git. Looks sensible from a quick look. Notice that you added a s/PILE/FILE/ typo: +//usage: "\n-O PILE Append stdout and stderr t

Re: -o option for start-stop-daemon

2023-11-04 Thread Peter Korsgaard
gt; +xdup2(output_fd, STDERR_FILENO); > +} -O is documented to only work with the -b, so wouldn't it make more sense to add this logic around bb_daemon_helper() instead, then you also don't have to clean it up again? -- Bye, Peter Korsgaard _

Re: Update Copyright 2023

2023-01-30 Thread Peter Korsgaard
https://gitlab.com/buildroot.org/buildroot/-/commit/f1d7155952d9abcad4d5d75b56508114469c2a1c -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: The busybox website is unbearably slow

2023-01-18 Thread Peter Korsgaard
dle. Apache is running, but it sometimes ends up running out of workers: [mpm_worker:error] [pid 21136:tid 3080316736] AH00286: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting Raising MaxRequestWorkers has to be done carefully as othe

Re: The busybox website is unbearably slow

2023-01-18 Thread Peter Korsgaard
ke, Client hello (1): >> > The same for buildroot: > $ curl --verbose https://git.buildroot.net/ > * Trying 140.211.167.122:443... > curl --verbose https://busybox.net/ > * Trying 140.211.167.122:443... Yes, it is the same machine. -- Bye, Peter Korsgaard

Re: The busybox website is unbearably slow

2023-01-18 Thread Peter Korsgaard
it connects and waits too. I've restarted Apache on the VM, which seems to have improved things somewhat. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: buildroot host builds with g++

2022-05-06 Thread Peter Korsgaard
t please provide some more details about what exactly you are trying to do. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] libarchive/get_header_ar.c: fix extraction of archives from binutils in deterministic mode

2021-12-10 Thread Peter Korsgaard
>>>>> "Peter" == Peter Korsgaard writes: > GNU binutils in deterministic mode (ar rD or built with > --enable-deterministic-archives) hard codes file mode to 0644 (NOT 0100644) > since https://github.com/bminor/binutils-gdb/commit/36e4dce69dd2 > This co

[PATCH] libarchive/get_header_ar.c: fix extraction of archives from binutils in deterministic mode

2021-11-26 Thread Peter Korsgaard
20 20 20 20 20 30 20 20 20 20 20 20 20 |644 0 | 0040 20 20 60 0a | `.| As a workaround, force the mode bits to S_IFREG, as nothing else makes sense for ar. Signed-off-by: Peter Korsgaard --- archival/libarchive/get_header_ar.c | 6 +- 1

Re: CVE-2021-28831

2021-04-28 Thread Peter Korsgaard
atest" tag is used. Sorry, I have no idea who owns/builds that docker image, but given that this was added after 1.32.1 was tagged, I would NOT expect it to be included in a 1.32.1 build: https://git.buildroot.org/busybox/log/?h=1_32_stable -- Bye, Peter Korsgaard _

Re: CVE-2021-28831

2021-04-28 Thread Peter Korsgaard
>>>>> "Christophe" == Christophe Leroy writes: Hi, > As far as I can see, that commit is in 1_32_stable > See https://git.busybox.net/busybox/commit/?h=1_32_stable But strangely enough not in 1_33_stable. -- Bye, Peter Korsgaard

Re: git smart http for busybox repo

2020-05-15 Thread Peter Korsgaard
den < Date: Fri, 15 May 2020 21:54:11 GMT < Server: Apache < Strict-Transport-Security: max-age=63072000; includeSubDomains < Content-Length: 292 < Content-Type: text/html; charset=iso-8859-1 Any ideas? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: Regarding [PATCH] sysklogd: add -Z option to adjust message timezones

2020-02-04 Thread Peter Korsgaard
defined and what it is contained. I don't know about that patch (which hasn't been merged), but you can run syslogd with the -t option to get it to re-timestamp syslog messages with the timestamp using whatever timezone syslogd is running under. -- Bye, Peter Korsgaard _

[PATCH] syslogd: add config option to include milliseconds in timestamps

2020-01-27 Thread Peter Korsgaard
-- (add/remove: 0/0 grow/shrink: 1/0 up/down: 7/0) Total: 7 bytes Signed-off-by: Peter Korsgaard --- sysklogd/syslogd.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c

Re: 1.31.1 release

2019-10-27 Thread Peter Korsgaard
>>>>> "Denys" == Denys Vlasenko writes: > Should be fixed now (web page updates in ~1 hour) Thanks! -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

1.31.1 release

2019-10-27 Thread Peter Korsgaard
Hi, I see there is a 1.31.1 tarball (https://busybox.net/downloads/busybox-1.31.1.tar.bz2), but no git tag or any mention of it on the website? Denys, did you perhaps forget to push the tag? -- Bye, Peter Korsgaard ___ busybox mailing list busybox

Re: [PATCH] ash: only catch unexpected exceptions in PS1 expansion

2019-10-21 Thread Peter Korsgaard
;> > Commit 943e81f5d should be backported to the stable branch. It applies >> > as-is. >> >> very good, this fits my observation - see bugreport: >> https://bugs.busybox.net/show_bug.cgi?id=12266 > Applied to 1_31_stable, do you guys want the 1.31.1 re

Re: [PATCH 1/3] date: Use 64 prefix syscall if we have to

2019-08-28 Thread Peter Korsgaard
call(__NR_clock_gettime, CLOCK_REALTIME, ); > +#elif ENABLE_FEATURE_DATE_NANO && __TIMESIZE == 64 > +/* Let's only suppor the 64 suffix syscalls for 64-bit time_t. s/suppor/support/ -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] tftp: introduce CONFIG_FEATURE_TFTP_UMASK

2019-06-11 Thread Peter Korsgaard
h a new way to apply our old > patch, I figured I'd share it with the community in case it is useful > to others. Why not just add a shell script wrapper that does the chmod after tftp get? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] package/busybox: add dependency on dosfstools

2019-06-06 Thread Peter Korsgaard
t on "attr" and > "busybox". Committed to 2019.02.x and 2019.05.x, thanks. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] package/busybox: add dependency on dosfstools

2019-06-03 Thread Peter Korsgaard
>>>>> "Markus" == Markus Mayer writes: > dosfstools and busybox may each install mkfs.vfat, so dosfstools must > be installed before busybox. > Signed-off-by: Markus Mayer Committed, thanks. -- Bye, Peter Korsgaard __

Re: [PATCH 3/3] mdev: add support to run as daemon

2019-05-04 Thread Peter Korsgaard
> mdev as hotplug helper or using the uevent applet. -s is already scan. Did you mean -d? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: bb_daemonize_or_rexec(DAEMON_CLOSE_EXTRA_FDS) does not close extra fds

2019-03-14 Thread Peter Korsgaard
s. I don't know of any other solutions besides using a hardcoded max-fd. I believe the classic limit used by select is 1024. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] sysklogd: add timestamp option to ignore message timestamps

2018-08-19 Thread Peter Korsgaard
>>>>> "Peter" == Peter Korsgaard writes: Ping? Comments, feedback? > Some syslog producers provide inconsistent timestamps, so provide an option > to ignore the message timestamps and always locally timestamp. In order to > implement this, invert the v

[PATCH] sysklogd: add timestamp option to ignore message timestamps

2018-08-09 Thread Peter Korsgaard
ink: 4/0 up/down: 81/0) Total: 81 bytes Signed-off-by: Peter Korsgaard --- sysklogd/syslogd.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 4265f4f90..e966208c2 100644 --- a/sysklogd/syslog

Re: [PATCH v2] busybox: Update udhcpc.script for DHCPv6

2018-06-19 Thread Peter Korsgaard
BROADCAST $NETMASK > +if [ -n "$ipv6" ] ; then > +echo "waiting for default ipv6 route set" > + wait_for_ipv6_default_route > +fi > if [ -n "$router" ] ; then > echo "deleting routers" > -- > 2.17.1 > ___ > busybox mailing list > busybox@busybox.net > http://lists.busybox.net/mailman/listinfo/busybox -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCH] fbsplash: support configurable image position

2018-03-29 Thread Peter Korsgaard
For some setups (E.G. for supporting different screen resolutions), positioning the image somewhere else than the top left corner may be interesting. Add support for IMG_LEFT/IMG_TOP settings to specify the image location, similar to how it is done for the progress bar. Signed-off-by: Peter

[PATCH] dpkg: fix CONFIG_FEATURE_CLEAN_UP handling

2017-07-05 Thread Peter Korsgaard
: 0x007fac3478c0 *** Signed-off-by: Peter Korsgaard <pe...@korsgaard.com> --- archival/dpkg.c | 4 1 file changed, 4 deletions(-) diff --git a/archival/dpkg.c b/archival/dpkg.c index 1cd45eda4..da3b0864e 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1938,10 +1938,6 @@ int dpk

Re: mdev change no longer supporting v2.6.2x kernels by using /sys/dev

2017-03-30 Thread Peter Korsgaard
iginal. True, but generally you will run into a number of issues when you combine SW components of significant different "age". E.G. lots of modern user space requires new kernel features, either explicitly or simply because nobody has tested it on such old systems. -- Bye, Peter Korsgaard ___

Re: mdev change no longer supporting v2.6.2x kernels by using /sys/dev

2017-03-23 Thread Peter Korsgaard
.de> Does it really make sense to mix such an ancient kernel with a modern busybox? Why not just backport this kernel commit? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: Question on mdev's custom command invocation

2016-11-17 Thread Peter Korsgaard
/git.busybox.net/busybox/plain/docs/mdev.txt > only mentions $MDEV . That is because those environment variables comes from the kernel when it invokes the hotplug helper (mdev): http://lxr.free-electrons.com/source/Documentation/driver-model/porting.

Re: ifup dependency

2016-09-26 Thread Peter Korsgaard
options. It is up to you to supply either > "ifconfig", "route" and "run-parts" or the "ip" command, either > via busybox or via standalone utilities. heh, indeed. > It's possible

Re: ifup dependency

2016-09-26 Thread Peter Korsgaard
>>>>> "Bernhard" == Bernhard Reutner-Fischer <rep.dot@gmail.com> writes: > On 17 September 2016 08:07:01 CEST, Peter Korsgaard <pe...@korsgaard.com> > wrote: >>>>>>> "David" == David Henderson <dhender...@digi

Re: dhcp with /etc/network/interfaces

2016-09-19 Thread Peter Korsgaard
>>>>> "David" == David Henderson <dhender...@digital-pipe.com> writes: > Good morning Peter, thanks for your reply. C/C++ is not my forte and > while it may be readable for you, it may not be for others. Then use strace as I

Re: dhcp with /etc/network/interfaces

2016-09-19 Thread Peter Korsgaard
>>>>> "David" == David Henderson <dhender...@digital-pipe.com> writes: > Good morning all, just following up with this! Please just have a look at networking/ifupdown.c, it is IMHO quite readable. Alternative, run strace -f -e execve ifup to see the exact

Re: ifup dependency

2016-09-17 Thread Peter Korsgaard
ted, and not should I add this > applet into my BB compile. I was just letting the community know > about the "problem". Yes indeed, I think CONFIG_IFUPDOWN should select CONFIG_RUN_PARTS. -- Bye, Peter Korsgaard ___ busybox mailing l

Re: ifup dependency

2016-09-16 Thread Peter Korsgaard
as not installed. Should this > applet the automatically added to the config when the ifup/down > commands were added? As the errors executing run-parts aren't ignored, I would say yes. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox

Re: [PATCH] svlogd: strip leading '!' from processor lines

2016-09-14 Thread Peter Korsgaard
ng the wstrdup() fixes the > issue. > Signed-off-by: Francis Rounds <francis.rou...@4bridgeworks.com> Argh, indeed :/ Acked-by: Peter Korsgaard <pe...@korsgaard.com> -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH 0/2] configs: Add ts4900 basic board support

2016-09-01 Thread Peter Korsgaard
-fpga: add ts4900-fpga package > configs: add defconfig for TS-4900 Ehh, I think you wanted to mail buildr...@buildroot.org, not busybox@busybox.net ;) -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCH] udhcpc: perform_release(): Unconditionally call deconfig script

2016-08-24 Thread Peter Korsgaard
The udhcpc script may be used to setup fallback configuration (E.G. IPv4LL, fixed IP address, ..) that also needs to be cleaned up on release (E.G. when SIGUSR2 is called or on shutdown with -R), so unconditionally call deconfig. Signed-off-by: Peter Korsgaard <pe...@korsgaard.

Re: Parallel make bug in busybox

2016-08-15 Thread Peter Korsgaard
obuild.buildroot.org/?reason=busybox-1.24.1 > I assume you run builds with parallel make (-j X) enabled? Yes. If you click on the 'end log' links you can see the exact invocation. Most of our autobuilders afaik use -j4. -- Bye, Peter Korsgaard ___

Re: Parallel make bug in busybox

2016-08-12 Thread Peter Korsgaard
.24.1? Do you apply any patches on top of 1.24.1? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: Busybox web site ??

2016-07-15 Thread Peter Korsgaard
nfig. Mike, have you had a chance to look into it? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: busybox.net SSL cert has expired

2016-05-12 Thread Peter Korsgaard
ypt cronjob :/ Mike, care to take a look? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] mdev: create devices from /sys/dev

2016-04-11 Thread Peter Korsgaard
n anymore to keep using mdev+coldplug. .. except if you want to run custom scripts when devices are created and these devices may or may not be added before mdev is configured as the hotplug handler. -- Bye, Peter Korsgaard ___ busybox mailing list bus

Re: [PATCH] udhcpc: obtain hostname from OS by default

2016-04-01 Thread Peter Korsgaard
t;, > +* but that's the most seen use-case. > +*/ > + if (hostname[0] && hostname[0] != '?') safe_gethostname() already ensures that hostname[0] isn't 0, so the first check can be removed. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] modprobe: handle module arguments containing spaces

2015-09-09 Thread Peter Korsgaard
e */ >> + if (*s != '\0') >> + s++; /* skip trailing quote */ > bug, you must be thinking about using strchrnul(). Argh, indeed - Sorry about that. > Applied with small changes, thanks Thanks! -- Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCH] dmesg: add -r option to print raw format even when FEATURE_DMESG_PRETTY is enabled

2015-08-24 Thread Peter Korsgaard
Similar to the big util-linux version. For !DMESG_PRETTY, the option is accepted (but ignored) as well, for compatibility reasons. Signed-off-by: Peter Korsgaard pe...@korsgaard.com --- util-linux/dmesg.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/util-linux

[PATCH] flash_eraseall: use full chip erase if possible

2014-05-05 Thread Peter Korsgaard
From: Peter Korsgaard pe...@korsgaard.com Similar to the optimization in flashcp. On a Micron n25q128, this speeds up flash erase from ~180s to ~120s, and allows userspace to do useful work while erasing as the kernel driver returns as soon as the erase command is sent to the chip. bloat-o-meter

Re: [PATCH] ping: try SOCK_DGRAM if no root privileges

2014-01-09 Thread Peter Korsgaard
for /tmp or similar) where you can add a handy symlink to the wrapper? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] ar: read_num(): fix reading fields using the entire width

2013-09-11 Thread Peter Korsgaard
walter == walter harms wha...@bfs.de writes: walter Am 10.09.2013 11:52, schrieb Peter Korsgaard: ar fields are fixed length text strings (padded with spaces). Ensure bb_strtou doesn't read past the field in case the full width is used. The fields are only read once, so the simplest

[PATCH] ar: read_num(): fix reading fields using the entire width

2013-09-10 Thread Peter Korsgaard
29 36 +7 -- (add/remove: 0/0 grow/shrink: 2/0 up/down: 27/0) Total: 27 bytes Signed-off-by: Peter Korsgaard jac...@sunsite.dk --- If we don't want

Re: Best way to use dhcpc / avahi without delaying other init scripts ?

2013-04-30 Thread Peter Korsgaard
To prevent other init scripts from being delayed, udhcpc should Mark instantly go into background mode (see [1]). The normal approach is to use ifplugd (the busybox applet) to run the ifup in the background when it detects a link, and not stall the rest of the boot process. -- Bye, Peter Korsgaard

Re: Best way to use dhcpc / avahi without delaying other init scripts ?

2013-04-30 Thread Peter Korsgaard
-- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH] run-parts: add --exit-on-error | -e support

2013-02-28 Thread Peter Korsgaard
Denys == Denys Vlasenko vda.li...@googlemail.com writes: Denys On Wed, Feb 27, 2013 at 2:14 PM, Peter Korsgaard jac...@sunsite.dk wrote: The big run-parts supports a handy --exit-on-error to stop execution on errors, so lets support it as well. Upstream doesn't have a short option

[PATCH] run-parts: correct usage after 1e43a381b2

2013-02-28 Thread Peter Korsgaard
Commit 1e43a381 (run-parts: stop providing incompatible short options) replaced some of the dashes in the usage output with funky unicode versions, causing garbled output on simple terminals. Signed-off-by: Peter Korsgaard jac...@sunsite.dk --- debianutils/run_parts.c |6 +++--- 1 file

[PATCH] run-parts: add --exit-on-error | -e support

2013-02-27 Thread Peter Korsgaard
The big run-parts supports a handy --exit-on-error to stop execution on errors, so lets support it as well. Upstream doesn't have a short option for it, but I've used '-e' for busybox. Signed-off-by: Peter Korsgaard jac...@sunsite.dk --- debianutils/run_parts.c | 13 ++--- 1 file

Re: 1.21.0 is released

2013-01-22 Thread Peter Korsgaard
will probably cause some confusion. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH 3/3] syslogd: add option to log to Linux kernel printk buffer

2013-01-06 Thread Peter Korsgaard
Mike == Mike Frysinger vap...@gentoo.org writes: Mike On Saturday 05 January 2013 18:07:19 Peter Korsgaard wrote: +#else +void kmsg_init(void); +void kmsg_cleanup(void); +void log_to_kmsg(int pri, const char *msg); +#endif /* FEATURE_KMSG_SYSLOG

Re: [PATCH 3/3] syslogd: add option to log to Linux kernel printk buffer

2013-01-06 Thread Peter Korsgaard
Mike == Mike Frysinger vap...@gentoo.org writes: Hi, Mike On Saturday 05 January 2013 18:07:19 Peter Korsgaard wrote: Why invent our own shared memory circular buffer when the kernel has a perfectly fine one already? This can be used as a smaller/simpler alternative to the syslogd IPC

Re: [PATCH 1/3] dmesg: handle multi-char log levels

2013-01-05 Thread Peter Korsgaard
, 7Peer 86.165.245.161:29833/597..., 131072) = 285 Mike write(1, Peer 86.165.245.161:29833/59757..., 279) = 279 Mike maybe the buf[++in] should be buf[in++] Argh, indeed. So much for last minute fixups. Thanks for the review, will fixup and resend. -- Bye, Peter Korsgaard

Re: [PATCH 3/3] syslogd: add option to log to Linux kernel printk buffer

2013-01-05 Thread Peter Korsgaard
Mike == Mike Frysinger vap...@gentoo.org writes: Mike On Tuesday 18 December 2012 14:49:20 Peter Korsgaard wrote: + /* + kernel 3.5 expects single char printk KERN_* priority prefix, + from 3.5 onwards the full syslog facility/priority format is supported + */ Mike

[PATCH 2/3] klogd: handle multi-char log levels

2013-01-05 Thread Peter Korsgaard
490 525 +35 -- (add/remove: 0/0 grow/shrink: 1/0 up/down: 35/0) Total: 35 bytes Signed-off-by: Peter Korsgaard jac...@sunsite.dk --- sysklogd/klogd.c |7

[PATCH 1/3] dmesg: handle multi-char log levels

2013-01-05 Thread Peter Korsgaard
-by: Peter Korsgaard jac...@sunsite.dk --- util-linux/dmesg.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 6505da5..81ba1c9 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -59,16 +59,15 @@ int dmesg_main(int

[PATCH 3/3] syslogd: add option to log to Linux kernel printk buffer

2013-01-05 Thread Peter Korsgaard
937-933 bb_common_bufsiz1 8193 - -8193 -- (add/remove: 2/26 grow/shrink: 1/6 up/down: 149/-11829)Total: -11680 bytes Signed-off-by: Peter Korsgaard jac...@sunsite.dk

v2: Kernel printk buffer handling updates

2013-01-05 Thread Peter Korsgaard
support which uses it. Changes since v1: - Rebased against master - Reworked based on Mike's feedback: - Fixed off-by-one in dmesg - Move kernel version check to kmsg_init() - Added kmsg_cleanup() similar to ipcsyslog_cleanup() -- Bye, Peter Korsgaard

Re: Kernel printk buffer handling updates

2013-01-04 Thread Peter Korsgaard
On Tue, Dec 18, 2012 at 8:49 PM, Peter Korsgaard jac...@sunsite.dk wrote: Hi, Linux 3.5 extended the /dev/kmsg interface for injecting log messages from user space into the kernel printk buffer to accept (and store) the full syslog facility/priority value. The following patch series updates

Re: [PATCH 2/4] gstreamer: port to gstreamer-1.0

2012-12-19 Thread Peter Korsgaard
package)? Arnout, you mentioned something about a gst-fsl package, which presumably only works with gstreamer 0.1? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH 2/4] gstreamer: port to gstreamer-1.0

2012-12-19 Thread Peter Korsgaard
, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH 2/4] gstreamer: port to gstreamer-1.0

2012-12-19 Thread Peter Korsgaard
Tito == Tito farmat...@tiscali.it writes: Hi, Tito Are sure this is busybox stuff? ;-) Yeah, I also just noticed ;) -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCH 2/3] klogd: handle multi-char log levels

2012-12-18 Thread Peter Korsgaard
490 525 +35 -- (add/remove: 0/0 grow/shrink: 1/0 up/down: 35/0) Total: 35 bytes Signed-off-by: Peter Korsgaard jac...@sunsite.dk --- sysklogd/klogd.c |7

[PATCH 3/3] syslogd: add option to log to Linux kernel printk buffer

2012-12-18 Thread Peter Korsgaard
525 --525 bb_common_bufsiz1 8193 - -8193 -- (add/remove: 2/17 grow/shrink: 0/7 up/down: 84/-10531) Total: -10447 bytes Signed-off-by: Peter Korsgaard jac

[PATCH 1/3] dmesg: handle multi-char log levels

2012-12-18 Thread Peter Korsgaard
-by: Peter Korsgaard jac...@sunsite.dk --- util-linux/dmesg.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 6505da5..8641ed6 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -59,16 +59,15 @@ int dmesg_main(int

Re: [PATCH 1/2] fbsplash: fix regression from e4fa7b7

2012-10-15 Thread Peter Korsgaard
Peter == Peter Korsgaard jac...@sunsite.dk writes: Hi Denys, It seems this never got committed? Timo == Timo Teräs timo.te...@iki.fi writes: Timo commit e4fa7b7 (limit progress bar flicker) made the progress bar Timo counter unsigned causing i=0 to never come true. Peter s/true/false

Re: [PATCH 1/2] fbsplash: fix regression from e4fa7b7

2012-09-20 Thread Peter Korsgaard
Timo == Timo Teräs timo.te...@iki.fi writes: Timo commit e4fa7b7 (limit progress bar flicker) made the progress bar Timo counter unsigned causing i=0 to never come true. s/true/false/. With that changed: Acked-by: Peter Korsgaard jac...@sunsite.dk Notice: This bug was not in the patch I

Re: Bug in busybox sed - this one is real

2012-06-04 Thread Peter Korsgaard
forget the trailing '/' - E.G. compare http://git.buildroot.net/buildroot/ vs http://git.buildroot.net/buildroot Neither I or the osuosl guys have been able to figure out what the problem is though :/ -- Bye, Peter Korsgaard ___ busybox mailing list

Re: [PATCH] ubi_tools: fix for kernel headers released with undefined __packed macro

2012-03-02 Thread Peter Korsgaard
fixed in one of the 3.0.x stable releases, but that didn't happen. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: devtmpfs and mdev

2012-02-02 Thread Peter Korsgaard
devtmpfs on the embedded devices, but don't right away see what the problem is). -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: devtmpfs and mdev

2012-02-02 Thread Peter Korsgaard
and got the impression Natanael that they don't work together? Natanael Maybe I was wrong. We're atleast doing devtmpfs together with mdev in Buildroot, but as I mentioned it isn't a configuration that I use personally. -- Bye, Peter Korsgaard

Re: devtmpfs and mdev

2012-02-02 Thread Peter Korsgaard
the default root:root 660 permissions / names are enough, you can get rid of mdev/udev and still not have to mess around with static device nodes in your rootfs. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman

Re: [SOLVED] busybox sh does not run and cannot login when eabi enable d

2012-01-16 Thread Peter Korsgaard
to understand? If you target doesn't have a FPU (and you don't build your kernel with FPU emulation) things are bound to go wrong when you configure uClibc to use one. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net

Re: [PATCHv2] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Peter Korsgaard
, I'll send an updated patch shortly. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCHv3] httpd: don't drop/abuse QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Peter Korsgaard
) Total: 18 bytes Signed-off-by: Peter Korsgaard jac...@sunsite.dk --- networking/httpd.c | 27 +++ networking/httpd_indexcgi.c | 25 +++-- 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/networking/httpd.c b/networking

Re: [PATCHv3] httpd: don't drop/abuse QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-19 Thread Peter Korsgaard
REQUEST_URI instead. Denys Applied, thanks! Thanks. Any reason why you dropped most of my commit message? Don't you use 'git am -s' to apply it? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman

Re: bug in busybox with http redirects

2011-12-18 Thread Peter Korsgaard
Denys == Denys Vlasenko vda.li...@googlemail.com writes: Hi, so looks like wget does something strange with the host header on the redirection. Denys Should be fixed by commit 93b4a605263612cf32ad9de746a4fafaf4515115 Something for fixes-1.19.3? -- Bye, Peter Korsgaard

Re: [PATCHv2] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-18 Thread Peter Korsgaard
argument to send_cgi_and_exit() and use it to set the environment variable correctly. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCHv2] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-17 Thread Peter Korsgaard
to code. True. query strings are fairly short, so it probably wouldn't be significant (and only for the few people using httpd without CGI support) - Denys, what do you say? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http

Re: [PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-16 Thread Peter Korsgaard
, tptr); +#else g_query = tptr; +#endif Denys Let's just use xstrcpy(). I don't see any xstrcpy in busybox. Did you perhaps mean xstrdup or strdupa? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman

Re: [PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-16 Thread Peter Korsgaard
because of send_file_and_exit() / send_cgi_and_exit(). What is the reason you don't like alloca / strdupa? -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCHv2] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-16 Thread Peter Korsgaard
The memory pointed to by g_query gets overwritten when the index_page is used, causing URL arguments to get dropped when we fall back to /cgi-bin/index.cgi. Work around it by making g_query a deep copy of urlp when CGI support is enabled, rather than silently dropping them. Signed-off-by: Peter

[PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-15 Thread Peter Korsgaard
The memory pointed to by g_query gets overwritten when the index_page is used, causing URL arguments to get dropped when we fall back to /cgi-bin/index.cgi. Work around it by making g_query a deep copy of urlp when CGI support is enabled, rather than silently dropping them. Signed-off-by: Peter

Re: [PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-15 Thread Peter Korsgaard
*)g_query, tptr); Paulius Why not use strdup() instead? Because we then need to cleanup. We're already using alloca for urlcopy just above. -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo

Re: [PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used

2011-12-15 Thread Peter Korsgaard
walter == walter harms wha...@bfs.de writes: Hi, Why not use strdup() instead? walter Why not use strdupa() instead? Because I wasn't aware of it. I see we aren't using it anywhere in busybox today, how portable is it? -- Bye, Peter Korsgaard

Re: [PATCH] bb_daemonize: double-fork to ensure child doesn't get controlling tty

2011-11-09 Thread Peter Korsgaard
. From a quick look it only seems to only be needed for start-stop-daemon as the other users either don't exec or do another fork before executing programs. I'll send an updated patch shortly. -- Bye, Peter Korsgaard ___ busybox mailing list busybox

[PATCH] bb_daemonize: add flag to double-fork and use in start-stop-daemon

2011-11-09 Thread Peter Korsgaard
http://www.win.tue.nl/~aeb/linux/lk/lk-10.html#ss10.3 Signed-off-by: Peter Korsgaard jac...@sunsite.dk --- debianutils/start_stop_daemon.c |2 +- include/libbb.h |1 + libbb/vfork_daemon_rexec.c |7 +++ 3 files changed, 9 insertions(+), 1 deletions(-) diff --git

[PATCH] bb_daemonize: double-fork to ensure child doesn't get controlling tty

2011-11-07 Thread Peter Korsgaard
-by: Peter Korsgaard jac...@sunsite.dk --- libbb/vfork_daemon_rexec.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index a75eafb..40a82e3 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c

Re: [PATCH 2/2] fbsplash: support 8bit mode

2011-10-17 Thread Peter Korsgaard
://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.17.5503rep=rep1type=pdf Which does exactly like you propose - So I'll shut up ;) Thanks! -- Bye, Peter Korsgaard ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

  1   2   3   >