[PATCH iproute2] ifcfg/rtpr: convert to POSIX shell

2018-01-09 Thread Mike Frysinger
From: Mike Frysinger These files are already mostly written in POSIX shell, so convert their shebangs to /bin/sh and tweak the few bashisms in here. URL: https://crbug.com/756559 Reported-by: Pat Erley Signed-off-by: Mike Frysinger --- ip/ifcfg | 12 ++-- ip/rtpr | 2 +- 2 files

[PATCH iproute2] mark shell scripts +x

2018-01-09 Thread Mike Frysinger
From: Mike Frysinger This makes it easier to execute locally for testing. Signed-off-by: Mike Frysinger --- ip/ifcfg | 0 ip/routef | 0 ip/routel | 0 ip/rtpr | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 ip/ifcfg mode change 100644 => 100

[PATCH iproute2] ifstat/nstat: fix help output alignment

2016-11-15 Thread Mike Frysinger
Some lines use tabs while others use spaces. Use spaces everywhere. Signed-off-by: Mike Frysinger --- misc/ifstat.c | 24 misc/nstat.c | 22 +++--- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/misc/ifstat.c b/misc/ifstat.c index

[PATCH] Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"

2016-11-10 Thread Mike Frysinger
included from /usr/include/sys/select.h:43:0, from /usr/include/sys/types.h:219, from /usr/include/stdlib.h:314, from zntune.c:9: /usr/include/time.h:120:8: note: originally defined here struct timespec ^ Signed-off-by: Mike Frysinger --- inc

[PATCH iputils v3] ping6: allow disabling of openssl/libgcrypt support

2016-06-02 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- Makefile | 5 - iputils_md5dig.h | 2 +- ping6.c | 28 +++- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b6cf512f22a5..8b9e2aa232e6 100644 --- a/Makefile +++ b/Makefile

Re: [PATCH iputils v2] ping6: allow disabling of openssl/libgcrypt support

2016-06-02 Thread Mike Frysinger
On 02 Jun 2016 17:49, YOSHIFUJI Hideaki wrote: > Mike Frysinger wrote: > > @@ -891,6 +899,7 @@ int main(int argc, char *argv[]) > > } > > #endif > > > > +#ifdef USE_CRYPTO > > if (niquery_is_enabled()) { > > niquery_init_nonce();

[PATCH iputils v2] ping6: allow disabling of openssl/libgcrypt support

2016-06-01 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- Makefile | 5 - iputils_md5dig.h | 4 +++- ping6.c | 19 ++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b6cf512..8b9e2aa 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7

[PATCH iputils v2] ping: always accept . delimiter with -i number parsing

2016-06-01 Thread Mike Frysinger
: Mike Frysinger --- ping_common.c | 17 + 1 file changed, 17 insertions(+) diff --git a/ping_common.c b/ping_common.c index 62f53a6..6054a91 100644 --- a/ping_common.c +++ b/ping_common.c @@ -269,11 +269,28 @@ void common_options(int ch) double dbl

Re: [PATCH iputils 1/6] start gitignore files

2016-06-01 Thread Mike Frysinger
On 02 Jun 2016 11:06, YOSHIFUJI Hideaki wrote: > Mike Frysinger wrote: > > Signed-off-by: Mike Frysinger > > --- > > .gitignore | 22 ++ > > doc/.gitignore | 2 ++ > > 2 files changed, 24 insertions(+) > > create mode 100644

Re: [PATCH iputils 5/6] tftpd: fix syslog setup

2016-06-01 Thread Mike Frysinger
On 02 Jun 2016 11:10, YOSHIFUJI Hideaki wrote: > Mike Frysinger wrote: > > Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking > > the set*id calls, but would call syslog() before it had called openlog(). > > Move the call up earlier to fix that. > &

[PATCH iputils 4/6] fix handling of CFLAGS

2016-05-31 Thread Mike Frysinger
This defaults CFLAGS to -O3 without clobbering settings people have set up in the environment already. Signed-off-by: Mike Frysinger --- Makefile | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 7147f08..362f1c8 100644 --- a/Makefile

[PATCH iputils 2/6] doc: fix parallel build of html/man pages

2016-05-31 Thread Mike Frysinger
The use of the same tempdir prevents building of these files in parallel. So build all of them in unique tempdirs so we can do them in parallel. Signed-off-by: Mike Frysinger --- doc/Makefile | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) diff

[PATCH iputils 3/6] ping6: allow disabling of openssl support

2016-05-31 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- Makefile | 5 - iputils_md5dig.h | 4 +++- ping6.c | 10 ++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 54e5a6d..7147f08 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7

[PATCH iputils 1/6] start gitignore files

2016-05-31 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- .gitignore | 22 ++ doc/.gitignore | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 doc/.gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..30ed00c --- /dev

[PATCH iputils 6/6] ping: fix -i number parsing in locales

2016-05-31 Thread Mike Frysinger
Always use #.# format for the -i flag even when the current locale uses a different separator. Locale de_DE which uses #,# normally. Simple testcase: $ make USE_IDN=1 $ LANG=de_DE.UTF8 ./ping -i 0.5 localhost Reported-by: Sergey Fionov Signed-off-by: Mike Frysinger --- ping_common.c | 8

[PATCH iputils 5/6] tftpd: fix syslog setup

2016-05-31 Thread Mike Frysinger
Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking the set*id calls, but would call syslog() before it had called openlog(). Move the call up earlier to fix that. Signed-off-by: Mike Frysinger --- tftpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH] glibc: Terminate process on invalid netlink response from kernel [BZ #12926]

2015-10-23 Thread Mike Frysinger
On 23 Oct 2015 22:07, Florian Weimer wrote: > --- /dev/null > +++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c > @@ -0,0 +1,100 @@ > +/* Copyright (C) 2015 Free Software Foundation, Inc. > + This file is part of the GNU C Library. guess we like to have the first line be a short desc of th

Re: [PATCH iproute2] enable transparent LFS

2015-05-27 Thread Mike Frysinger
On 27 May 2015 12:07, Stephen Hemminger wrote: > On Tue, 26 May 2015 02:51:30 -0400 > Mike Frysinger wrote: > > From: Mike Frysinger > > > > Make sure we use 64-bit filesystem functions everywhere. This applies not > > only to being able to read large files (wh

[PATCH iproute2] enable transparent LFS

2015-05-25 Thread Mike Frysinger
From: Mike Frysinger Make sure we use 64-bit filesystem functions everywhere. This applies not only to being able to read large files (which generally doesn't apply to us), but also being able to simply stat them (as they might be using large inodes). Signed-off-by: Mike Frys

[PATCH iputils] ping: fix -i number parsing in locales

2015-04-24 Thread Mike Frysinger
Always use #.# format for the -i flag even when the current locale uses a different separator. Locale de_DE which uses #,# normally. Simple testcase: $ make USE_IDN=1 $ LANG=de_DE.UTF8 ./ping -i 0.5 localhost Reported-by: Sergey Fionov Signed-off-by: Mike Frysinger --- ping_common.c | 8

[PATCH iputils] ping6: allow disabling of openssl support

2015-04-24 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- Makefile | 5 - iputils_md5dig.h | 4 +++- ping6.c | 10 ++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 54e5a6d..7147f08 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7

[PATCH iputils] tftpd: fix syslog setup

2015-04-24 Thread Mike Frysinger
Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking the set*id calls, but would call syslog() before it had called openlog(). Move the call up earlier to fix that. Signed-off-by: Mike Frysinger --- tftpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [klibc] [patch] import socket defines

2008-01-11 Thread Mike Frysinger
On Friday 11 January 2008, Mike Frysinger wrote: > On Friday 11 January 2008, H. Peter Anvin wrote: > > Again, I don't particularly care about what they're named, but the whole > > point is > > > > #include > > > > if you want the subset and &g

Re: [klibc] [patch] import socket defines

2008-01-11 Thread Mike Frysinger
On Friday 11 January 2008, H. Peter Anvin wrote: > Mike Frysinger wrote: > >> all this stuff is ABI constants, and the only reason glibc > >> doesn't use them is that glibc prefers to use enums over #defines. > > > > a proper libc defines things in their he

Re: [klibc] [patch] import socket defines

2008-01-10 Thread Mike Frysinger
On Friday 11 January 2008, H. Peter Anvin wrote: > Mike Frysinger wrote: > > oh, sorry, i see what you mean. i was thinking in terms of crap removed > > (as that's what i'm after), not crap added (which is what Peter is > > after). i hadnt noticed that. i dont

Re: [klibc] [patch] import socket defines

2008-01-10 Thread Mike Frysinger
On Friday 11 January 2008, David Miller wrote: > From: Mike Frysinger <[EMAIL PROTECTED]> > Date: Fri, 11 Jan 2008 01:23:37 -0500 > > > On Friday 11 January 2008, David Miller wrote: > > > From: "H. Peter Anvin" <[EMAIL PROTECTED]> > > > >

Re: [klibc] [patch] import socket defines

2008-01-10 Thread Mike Frysinger
On Friday 11 January 2008, David Miller wrote: > From: "H. Peter Anvin" <[EMAIL PROTECTED]> > > Seems the most logical thing to do would be to break out the small > > portion that everyone wants into or somesuch, and > > then remove those ifdefs entirely. > > > > Proposed patch (still being tested

Re: netconsole=y and rtl8139=m

2007-11-19 Thread Mike Frysinger
On Nov 20, 2007 2:17 AM, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > I get this during boot: > > [ 40.821740] netconsole: eth1 doesn't exist, aborting. > > Given that CONFIG_NETCONSOLE=y and CONFIG_8139TOO=m, I can imagine. > Is there a way to get this working without making 8139TOO=y or > NETCON

[patch] do not rely on OPEN_MAX

2007-10-14 Thread Mike Frysinger
the OPEN_MAX define was removed from the kernel's limits.h during the 2.6.23 development cycle, so switching to using the dynamic sysconf() func should be done -mike signature.asc Description: This is a digitally signed message part. the OPEN_MAX define has been removed in newer kernel headers

Re: [-mm patch] make types.h usable for non-gcc C parsers

2007-08-28 Thread Mike Frysinger
On 8/28/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > But I'd like a better description, please. Which "non-gcc parser" are we > > > talking about here? Something under ./scripts/. Well, please identify > > > it, > > > and describe what the problem is, and how the proposed patch will addres

Re: [PATCH] Prefix each line of multiline printk(KERN_ "foo\nbar") with KERN_

2007-08-26 Thread Mike Frysinger
On 8/26/07, Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > On Fri, 24 Aug 2007, Joe Perches wrote: > > Corrected printk calls with multiple output lines which > > did not correctly preface each line with KERN_ > > > > Fixed uses of some single lines with too many KERN_ > > > --- a/arch/arm/kernel/

Re: [PATCH 1/3] Blackfin ethernet driver: on chip ethernet MAC controller driver

2007-07-14 Thread Mike Frysinger
On 7/14/07, Michael Buesch <[EMAIL PROTECTED]> wrote: On Saturday 14 July 2007 21:49:21 Mike Frysinger wrote: > On 7/14/07, Michael Buesch <[EMAIL PROTECTED]> wrote: > > On Saturday 14 July 2007 20:49:53 Bryan Wu wrote: > > > +static int __init bf537ma

Re: [PATCH 1/3] Blackfin ethernet driver: on chip ethernet MAC controller driver

2007-07-14 Thread Mike Frysinger
On 7/14/07, Michael Buesch <[EMAIL PROTECTED]> wrote: On Saturday 14 July 2007 20:49:53 Bryan Wu wrote: > +static int __init bf537mac_probe(struct net_device *dev) > +{ > + struct bf537mac_local *lp = netdev_priv(dev); > + int retval; > + > + /* Grab the MAC address in the MAC */ > +

Re: [PATCH -mm 3/5] Blackfin: on-chip ethernet MAC controller driver

2007-03-01 Thread Mike Frysinger
On 3/1/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: Wu, Bryan wrote: > +config BFIN_MAC > + tristate "Blackfin 536/537 on-chip mac support" > + depends on NET_ETHERNET && (BF537 || BF536) && (!BF537_PORT_H) > + select CRC32 > + select BFIN_MAC_USE_L1 if DMA_UNCACHED_NONE > +

[patch] rename members in dummy _xt_align struct

2007-01-29 Thread Mike Frysinger
on: PGP signature Use diff variable names than the standard type so we can run automated script checks on the code to easily pull out export violations. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h @@ -82,10

[patch/iputils] tweak makefile to be more flexible

2006-12-20 Thread Mike Frysinger
this patch tweaks the makefile so that it respects user environment variables such as CC/CFLAGS/etc... and cleans out some cruft that is no longer utilized -mike pgplx9s90lvR9.pgp Description: PGP signature Respect user environment variables. Signed-off-by: Mike Frysinger <[EMAIL PROTEC

[patch/iputils] use proper loop constructs rather than goto's

2006-12-20 Thread Mike Frysinger
e. Signed-off-by: Robert Moss <[EMAIL PROTECTED]> Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> diff --git a/tracepath.c b/tracepath.c index c3f6f74..7ff85a2 100644 --- a/tracepath.c +++ b/tracepath.c @@ -77,7 +77,7 @@ int recverr(int fd, int ttl) int progress = -1; int br

[patch] handle pktgen setup in newer kernels in iputils/ipg

2006-12-20 Thread Mike Frysinger
the pg directory in /proc with newer kernels. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> --- a/ipg +++ b/ipg @@ -1,21 +1,32 @@ #! /bin/bash -modprobe pg3 +if [ -e /proc/modules ] ; then + modprobe pg3 >& /dev/null + modprobe pktgen >& /dev/null +fi + +for PGDEV in

[patch] use socklen_t in iputils rather than just int

2006-12-20 Thread Mike Frysinger
a bunch of places in iputils utilize "int" lengths when in reality they should be using socklen_t -mike pgpSqlzw2arsi.pgp Description: PGP signature Use socklen_t in all the right places. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> diff --git a/arping.c b/arping.c index

[patch] scrub non-__GLIBC__ checks in linux/socket.h and linux/stat.h

2006-12-16 Thread Mike Frysinger
On 11/30/06, Robert P. J. Day <[EMAIL PROTECTED]> wrote: but there are a few other cases which still contain compound preprocessor directives such as: #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) having never worked with unifdef before, i guess i was being overly optimist

Re: [NETLINK]: Restore API compatibility of address and neighbour bits

2006-12-08 Thread Mike Frysinger
On Friday 08 December 2006 12:33, Jim Gifford wrote: > I have seen issues with some version of unifdef remove any instance of > __KERNEL__ so use a version of unifdef that isnt broken ? -mike pgpsiyqaE9CFU.pgp Description: PGP signature