[PATCH 2/3] ip: Add support for "noprefixroute" option

2020-06-29 Thread Christian Eggers
The "noprefixroute" option suppresses automatic generation of a routing table entry based on the interface's ip address. The ifa_flags field has only 8 bit. If higher bits are set, rta_tb[IFA_FLAGS] has to be used instead. Signed-off-by: Christian Eggers --- networking/ip.c |

[PATCH 3/3] ip address: Add support for "valid_lft" and "preferred_lft" options

2020-06-29 Thread Christian Eggers
Signed-off-by: Christian Eggers --- networking/libiproute/ip_common.h | 4 ++ networking/libiproute/ipaddress.c | 65 +++ 2 files changed, 62 insertions(+), 7 deletions(-) diff --git a/networking/libiproute/ip_common.h b/networking/libiproute/ip_common.h index

[PATCH 1/3] shell: Fix "read -d ''" behavior

2020-06-29 Thread Christian Eggers
With bash's read builtin it is possible to read from a file (e.g. device-tree) until the first '\0' character: IFS= read -r -d '' VARIABLE < file In busybox ash the -d extension is also implemented, but checking the read character for '\0' has to be performed after comparing with the delimiter.

Re: [PATCH 2/4] compare_string_array: code shrink

2020-06-29 Thread Denys Vlasenko
Applied, thanks! On Thu, Jun 11, 2020 at 3:45 PM Martin Lewis wrote: > > Code shrink and prevention of possible out of bounds access. > > function old new delta > nth_string36 26 -10 >

Re: mount doesn't understand the auto mount option

2020-06-29 Thread Chris Boot
On 23/07/2019 18:13, Chris Boot wrote: > Package: busybox > Version: 1.30.1 > > We've received a bug in Debian about busybox's mount command not > supporting the 'auto' option in fstab. This option really is a no-op as > it is default behaviour that can be disabled with noauto, but it turns > out

Re: [PATCH 1/4] procps: code shrink

2020-06-29 Thread Denys Vlasenko
Applied, thanks On Thu, Jun 11, 2020 at 3:45 PM Martin Lewis wrote: > > function old new delta > skip_whitespace_if_prefixed_with - 37 +37 > procps_read_smaps954 841-113 >

Re: [PATCH 2/2] udhcpc: fixed a TODO in fill_envp using option scanner

2020-06-29 Thread Denys Vlasenko
Applied, thanks On Tue, Jun 23, 2020 at 3:41 PM Martin Lewis wrote: > > fill_envp now iterates over the packet only once instead of a few hundred > times > using the new option scanner. > > Signed-off-by: Martin Lewis > --- > networking/udhcp/dhcpc.c | 201 >

Re: Ping for my patches

2020-06-29 Thread Denys Vlasenko
Thanks for the ping, all four applied now On Fri, Jun 26, 2020 at 12:02 AM Norbert Lange wrote: > > Hello, > > I posted a few (mostly small) patches back in February, and they are > getting stale. > Please have a look > > Norbert > >

Re: [PATCH] wget: Add certificate verification when using OpenSSL

2020-06-29 Thread Denys Vlasenko
Thanks, fixed. Please try current git. On Fri, Jun 26, 2020 at 9:19 PM Scott Court wrote: > > Hello, > > This patch adds certificate verification to wget when using OpenSSL. It > also adds the --no-check-certificate flag to the usage; this flag can be > used to disable certificate verification

Re: [PATCH] acpid: only display -p if supported in usage

2020-06-29 Thread Denys Vlasenko
Applied, thanks! On Fri, Feb 14, 2020 at 10:17 PM Norbert Lange wrote: > > Signed-off-by: Norbert Lange > --- > util-linux/acpid.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/util-linux/acpid.c b/util-linux/acpid.c > index 95f8150e2..fc8215cce 100644 > ---

Re: [PATCH] dhcpd: remove hardcoded pidfile path

2020-06-29 Thread Denys Vlasenko
Applied, thanks On Fri, Feb 14, 2020 at 10:17 PM Norbert Lange wrote: > > Signed-off-by: Norbert Lange > --- > networking/udhcp/dhcpd.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c > index

Re: [PATCH] dpkg: prevent important directories from being removed

2020-06-29 Thread Denys Vlasenko
Applied, thanks On Fri, Feb 14, 2020 at 10:15 PM Norbert Lange wrote: > > busybox will remove directory symlinks, which is at > odds with common layouts that have some of > bin/lib/lib32/lib64 symlinked. > > this adds a exludelist for critcal and often symlinked > directories. > > Fixes: Bug

Re: [PATCH v2] nc_bloaty: support udp broadcast ports

2020-06-29 Thread Denys Vlasenko
Applied, thanks! On Fri, Feb 14, 2020 at 10:14 PM Norbert Lange wrote: > > Add a -b option, identical to debians "tradional" netcat. > This allows sending (subnet) UDP Broadcasts. > > Signed-off-by: Norbert Lange > --- > networking/nc_bloaty.c | 24 +++- > 1 file changed,