[patch] Fix wrong warn message in ldd.c

2017-10-04 Thread Nan Xiao
Hi tech@, The following check can only know whether the file is ELF or not, can't know whether it is shared object or executable. So I think the error message should be more accurate. Thanks! Best Regards Nan Xiao Index: ldd.c ===

Re: inetd & ipv4-compatible ipv6 addresses

2017-10-04 Thread Sebastian Benoit
Jeremie Courreges-Anglas(j...@wxcvbn.org) on 2017.10.04 22:02:55 +0200: > > We don't and won't support this, so let's not even try. > > ok? > > > Index: inetd.c > === > RCS file: /cvs/src/usr.sbin/inetd/inetd.c,v > retrieving

Re: inetd: kill a few unsupported socket types

2017-10-04 Thread Sebastian Benoit
ok benno@ Jeremie Courreges-Anglas(j...@wxcvbn.org) on 2017.10.04 21:19:18 +0200: > > In my tests, only SOCK_STREAM and SOCK_DGRAM effectively work (even > seqpacket on a unix socket is broken), so kill the others. We don't > even have SOCK_RDM support. > > ok? > > > Index: inetd.8 >

Re: inetd & ipv4-compatible ipv6 addresses

2017-10-04 Thread Todd C. Miller
On Wed, 04 Oct 2017 22:02:55 +0200, Jeremie Courreges-Anglas wrote: > We don't and won't support this, so let's not even try. OK millert@ - todd

Re: inetd: kill a few unsupported socket types

2017-10-04 Thread Todd C. Miller
On Wed, 04 Oct 2017 21:19:18 +0200, Jeremie Courreges-Anglas wrote: > In my tests, only SOCK_STREAM and SOCK_DGRAM effectively work (even > seqpacket on a unix socket is broken), so kill the others. We don't > even have SOCK_RDM support. OK millert@ - todd

inetd & ipv4-compatible ipv6 addresses

2017-10-04 Thread Jeremie Courreges-Anglas
We don't and won't support this, so let's not even try. ok? Index: inetd.c === RCS file: /cvs/src/usr.sbin/inetd/inetd.c,v retrieving revision 1.156 diff -u -p -r1.156 inetd.c --- inetd.c 4 Oct 2017 19:52:26 - 1.156

Re: [patch] exiting bgplgsh with ^D

2017-10-04 Thread Denis Fondras
On Wed, Oct 04, 2017 at 09:04:43PM +0200, Sebastian Benoit wrote: > I also noticed that the help message does not tell you to use exit to quit > ;) > I noticed this too but as ^D is a well-known command to exit a shell, I wonder if it is useful to add exit to the help message. Plus it is not

inetd: kill a few unsupported socket types

2017-10-04 Thread Jeremie Courreges-Anglas
In my tests, only SOCK_STREAM and SOCK_DGRAM effectively work (even seqpacket on a unix socket is broken), so kill the others. We don't even have SOCK_RDM support. ok? Index: inetd.8 === RCS file:

Re: [patch] exiting bgplgsh with ^D

2017-10-04 Thread Sebastian Benoit
Jeremie Courreges-Anglas(j...@wxcvbn.org) on 2017.10.04 20:25:26 +0200: > On Wed, Oct 04 2017, Denis Fondras wrote: > > Hi, > > > > Here is a patch to make ^D (CTRL-D) escape from bgplgsh instead of > > displaying > > help. > > This makes sense, but I'm wondering if this

Re: [patch bgpd] Remove unused argument

2017-10-04 Thread Sebastian Benoit
ok benno@ *peer_l was needed until revision 1.42 in 2005. Denis Fondras(de...@openbsd.org) on 2017.10.03 20:56:19 +0200: > Hi, > > The "struct peer" input of merge_config() is never used. > Here is a patch to remove it. > > Denis > > Index: config.c >

Re: [patch] exiting bgplgsh with ^D

2017-10-04 Thread Jeremie Courreges-Anglas
On Wed, Oct 04 2017, Denis Fondras wrote: > Hi, > > Here is a patch to make ^D (CTRL-D) escape from bgplgsh instead of displaying > help. This makes sense, but I'm wondering if this changes anything when actually using bgplg? Reyk, do you remember if there was a specific

Re: typo in nl_langinfo.3

2017-10-04 Thread Ingo Schwarze
Hi Sebastien, Sebastien Marie wrote on Wed, Oct 04, 2017 at 01:31:12PM +0200: > There is a typo in nl_langinfo.3 man page: nl_langinfo -> nl_langinfo_l > for the locale_t version. Committed to -current after unlock. Thanks, Ingo > Index: nl_langinfo.3 >

patch for libressl-portable for older C compilers.

2017-10-04 Thread Graham Ollis
Please find attached two patches (one against libressl-portable / openbsd and one against libressl-portable / portable) which allow libressl to build with older pre-C99 compilers that does not allow declarations after statements. Thanks, Graham diff --git a/src/lib/libcrypto/modes/gcm128.c

Re: typo in nl_langinfo.3

2017-10-04 Thread Ingo Schwarze
Hi, Sebastien Marie wrote on Wed, Oct 04, 2017 at 01:31:12PM +0200: > There is a typo in nl_langinfo.3 man page: nl_langinfo -> nl_langinfo_l > for the locale_t version. Please remind me if i forget to commit that within a few days after unlock. Right now, i think we are beyond the point in

[patch] exiting bgplgsh with ^D

2017-10-04 Thread Denis Fondras
Hi, Here is a patch to make ^D (CTRL-D) escape from bgplgsh instead of displaying help. Denis Index: bgplgsh.c === RCS file: /cvs/src/usr.bin/bgplg/bgplgsh.c,v retrieving revision 1.8 diff -u -p -r1.8 bgplgsh.c --- bgplgsh.c 9

typo in nl_langinfo.3

2017-10-04 Thread Sebastien Marie
Hi, There is a typo in nl_langinfo.3 man page: nl_langinfo -> nl_langinfo_l for the locale_t version. Thanks. -- Sebastien Marie Index: nl_langinfo.3 === RCS file: /cvs/src/lib/libc/locale/nl_langinfo.3,v retrieving revision 1.12

Why the executable file type is also "DYN", not "EXEC"?

2017-10-04 Thread Nan Xiao
Hi all, I find the type of executable file format on OpenBSD is "DYN", not "EXEC": # readelf -h /usr/bin/ldd ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian