Re: [PATCH 2/7] df: Use statvfs instead of non-standard statfs

2017-11-03 Thread Waldemar Brodkorb
Hi Ralf, Ralf Friedl wrote, > Here are the patches: > - Define _STATFS_F_FRSIZE for MIPS. > - Only emulate statfs64 if __NR_statfs64 is not defined. > Thanks, both patches applied and pushed, best regards Waldemar ___ busybox mailing list

Re: [PATCH 2/7] df: Use statvfs instead of non-standard statfs

2017-10-28 Thread Waldemar Brodkorb
Hi, Ralf Friedl wrote, > Eugene Rudoy wrote: > >just wanted to point out that besides making the code more portable > >the change suggested by James has another positive side effect. It > >eliminates the need for the uClibc related and as of now unreliable > >workaround added in the second hunk

Re: [musl] Re: bbox: musl versus uclibc

2017-08-16 Thread Waldemar Brodkorb
Hi, Thomas Petazzoni wrote, > Hello, > > On Wed, 16 Aug 2017 15:25:20 +0200, Denys Vlasenko wrote: > > > These "ng" names are not the best idea. > > > > Maybe uclibc-ng can just supersede uclibc? > > Waldemar proposed many, many times to Bernhard to take over the > project, and Bernhard

[PATCH v2] modutils: remove special handling of uClibc

2016-12-26 Thread Waldemar Brodkorb
und via Buildroot autobuilders: http://autobuild.buildroot.net/results/556/55655daef23788fb3967f801ec8b79e9bed7122b/build-end.log Reported-by: Rahul Bedarkar <rahul.bedar...@imgtec.com> Signed-off-by: Waldemar Brodkorb <w...@openadk.org> --- v1 -> v2: - fix modprobe-small.c,

[PATCH] modutils: remove special handling of uClibc

2016-12-26 Thread Waldemar Brodkorb
ers. Found via Buildroot autobuilders: http://autobuild.buildroot.net/results/556/55655daef23788fb3967f801ec8b79e9bed7122b/build-end.log Reported-by: Rahul Bedarkar <rahul.bedar...@imgtec.com> Signed-off-by: Waldemar Brodkorb <w...@openadk.org> --- modutils/modutils.c | 5 - 1 file chang

Re: [RFC PATCH] modutils: fix build with uClibc

2016-12-21 Thread Waldemar Brodkorb
Hi Rahul, Rahul Bedarkar wrote, > Hi, > > On Wednesday 21 December 2016 12:30 PM, Waldemar Brodkorb wrote: > >Hi, > >Rahul Bedarkar wrote, > > > >>Commit 3a45b87ac36f (modutils: support finit_module syscall) introduced > >>macro f

Re: [RFC PATCH] modutils: fix build with uClibc

2016-12-20 Thread Waldemar Brodkorb
Hi, Rahul Bedarkar wrote, > Commit 3a45b87ac36f (modutils: support finit_module syscall) introduced > macro finit_module. But it is not defined for uClibc. > > With uClibc, we get following build errors: > > modutils/lib.a(modutils.o): In function `bb_init_module': >

Re: make menuconfig deps

2016-07-20 Thread Waldemar Brodkorb
Hi, David Henderson wrote, > Hey Rob, thanks for getting back to me on this! How's all your projects > going? > > I'm currently using TinyCoreLinux v7.x to compile BB and have not had > problems compiling other software such as ssmtp, sshpass, wmctrl, > dvb-apps, etc so there isn't a problem

Re: [support.osuosl.org #28726] Re: Busybox site down?

2016-07-15 Thread Waldemar Brodkorb
Hi Rob, Yann E. Morin from Buildroot started the webserver manually via apache2 -DSSL. But very shortly after that the problems started again and he killed the webserver. So not all IP's firewalled, yet? best regards Waldemar Rob Landley wrote, > FYI, > > Rob > > Forwarded Message

[PATCH] fix problem with ip on mips64 n64 big endian musl systems

2016-04-24 Thread Waldemar Brodkorb
Use designated initializers for struct msghdr. The struct layout is non-portable and musl libc does not match what busybox expects. Signed-off-by: Szabolcs Nagy <n...@port70.net> Tested-by: Waldemar Brodkorb <w...@openadk.org> --- networking/libiproute/libne

Re: [RFC/PATCH 06/10] libbb: add fanotify support on uClibc

2015-08-18 Thread Waldemar Brodkorb
Hi, Bartosz Gołaszewski wrote, 2015-08-17 13:07 GMT+02:00 Waldemar Brodkorb w...@openadk.org: Hi, Bartosz Gołaszewski wrote, 2015-08-15 12:27 GMT+02:00 Bartosz Gołaszewski bartekg...@gmail.com: You're right of course from the engineering point of view, but at the same time I have

Re: [RFC/PATCH 06/10] libbb: add fanotify support on uClibc

2015-08-17 Thread Waldemar Brodkorb
Hi, Bartosz Gołaszewski wrote, 2015-08-15 12:27 GMT+02:00 Bartosz Gołaszewski bartekg...@gmail.com: You're right of course from the engineering point of view, but at the same time I have always regarded busybox as a piece of software that get's things done. Uclibc is unfortunately still

Re: [PATCH] *: Switch to POSIX utmpx API

2015-04-16 Thread Waldemar Brodkorb
Hi, Denys Vlasenko wrote, On Thu, Mar 26, 2015 at 11:57 AM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: UTMP is SVID legacy, UTMPX is mandated by POSIX. Glibc and uClibc have identical layout of UTMP and UTMPX, both of these libc treat _PATH_UTMPX as _PATH_UTMP so from a

Re: hush for non-mmu system

2014-09-02 Thread Waldemar Brodkorb
Hi Denys, Denys Vlasenko wrote, This shows that signal handler fails to return properly. Let's check whether it works with this simple program: #include unistd.h #include signal.h #include sys/types.h #include sys/wait.h static void sighandler(int sig) { write(1, SIGNAL\n, 7);

Re: hush for non-mmu system

2014-09-02 Thread Waldemar Brodkorb
Hi Denys, Denys Vlasenko wrote, On Mon, Sep 1, 2014 at 3:23 PM, Waldemar Brodkorb m...@waldemar-brodkorb.de wrote: I can run your binary under qemu-system-m68k too. Can you send it to me? Get it from here (without hush debug): http://openadk.org/coldfire/ Thanks

Re: hush for non-mmu system

2014-09-01 Thread Waldemar Brodkorb
Hi Denys, Denys Vlasenko wrote, On Sun, Aug 31, 2014 at 3:54 PM, Waldemar Brodkorb m...@waldemar-brodkorb.de wrote: I can run your binary under qemu-system-m68k too. Can you send it to me? Get it from here (without hush debug): http://openadk.org/coldfire/ Thanks... but I also need

Re: hush for non-mmu system

2014-09-01 Thread Waldemar Brodkorb
Hi Denys, Denys Vlasenko wrote, On Sun, Aug 31, 2014 at 3:54 PM, Waldemar Brodkorb m...@waldemar-brodkorb.de wrote: I can run your binary under qemu-system-m68k too. Can you send it to me? Get it from here (without hush debug): http://openadk.org/coldfire/ Thanks... but I

Re: hush for non-mmu system

2014-09-01 Thread Waldemar Brodkorb
Hi Denys, Denys Vlasenko wrote, (Just to be sure: you did not change #define ENABLE_HUSH_FAST 0 to 1, right?) No. it is 0. Let's find out how far do you get in this code Add two debug statements: childpid = waitpid(-1, status, attributes); debug_printf(AFTER

Re: hush for non-mmu system

2014-08-31 Thread Waldemar Brodkorb
Hi Denys, Denys Vlasenko wrote, mmap2(NULL, 197, PROT_READ|PROT_WRITE, These many tiny mmaps are the result of your uclibc .config having MALLOC_SIMPLE=y. Try using MALLOC_STANDARD=y MALLOC_GLIBC_COMPAT=y instead Okay, changed. But did not result in a working hush. vfork()

hush for non-mmu system

2014-08-30 Thread Waldemar Brodkorb
Hi, I am recently started exploring the Linux non-MMU world. The target is qemu-system-m68k with emulation for coldfire m5208 CPU. A basic boot with simpleinit and sash from the uClinux project is working fine. But when I switch to busybox init and hush, hush segfaults after the first executed

utmp fix for mips64 uClibc systems

2012-09-24 Thread Waldemar Brodkorb
00:00:00 2001 From: Waldemar Brodkorb w...@openadk.org Date: Mon, 24 Sep 2012 21:10:52 +0200 Subject: [PATCH] close(-1) segfaults on mips64 uClibc systems Signed-off-by: Waldemar Brodkorb w...@openadk.org --- libbb/utmp.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff

[PATCH] OpenBSD portability patch (when cross-compiling)

2010-08-04 Thread Waldemar Brodkorb
mntent' declared inside parameter list gmake[1]: *** [applets/applet_tables] Error 1 gmake: *** [applets_dir] Error 2 $ The following patch solves these compile problems on the host. Signed-off-by: Waldemar Brodkorb w...@openadk.org --- Hi Denys, thanks for your feedback. Here is a resubmission

[PATCH] BSD portability patch

2010-07-30 Thread Waldemar Brodkorb
Hi, When cross-compiling busybox from BSD, there are some minor glitches, which can be resolved by this patch. Verfied to work on NetBSD, FreeBSD, OpenBSD and MacOS X. Thanks in advance for comments or inclusion. best regards Waldemar Signed-off-by: Waldemar Brodkorb w...@openadk.org

Re: networking with busybox

2010-04-24 Thread Waldemar Brodkorb
Hi, bran...@mathematik.uni-marburg.de wrote, Hello, I would like to use busybox in a custom initramfs environment, where some networking tasks need to be done. This includes: - requesting an ip address from a dhcp server - resolving some hostnames (not necessarily through a nameserver -

Re: networking with busybox

2010-04-24 Thread Waldemar Brodkorb
Hi, bran...@mathematik.uni-marburg.de wrote, Hello, Hi, bran...@mathematik.uni-marburg.de wrote, Hello, I would like to use busybox in a custom initramfs environment, where some networking tasks need to be done. This includes: - requesting an ip address from a dhcp server -

[PATCH] do not ignore mmc or micro sd block devices

2010-02-23 Thread Waldemar Brodkorb
On Linux MMC or MicroSD devices are named f.e. mmcblk0 like on a FOX Board G20. When using fdisk -l on such targets, the partition table is not listed. With this patch you get the requested output. Signed-off-by: Waldemar Brodkorb w...@openadk.org --- util-linux/fdisk.c |4 +++- 1 files