Re: Mention errno in printf(3) man

2018-09-05 Thread Otto Moerbeek
On Wed, Sep 05, 2018 at 12:01:59PM -0700, ge...@geoffhill.org wrote: > Right now the printf(3) family of manpages make no reference to errno. > Glancing at __vfprintf, it appears that most of the erroneous paths do > set errno. Most, but not all. Stating it will set errno in all error cases is no

Re: [patch] Fix closing socket twice bug in netcat program

2018-09-05 Thread Alexander Bluhm
On Tue, Sep 04, 2018 at 01:01:38PM +0800, Nan Xiao wrote: > Before netcat program exits, it will check whether s is -1, and close > socket if s is not -1: > > if (s != -1) > close(s); > > The following patch fixes the issue that netcat will close socket twice > if it works as

Re: Linux DRM

2018-09-05 Thread Chris Cappuccio
Joseph Mayer [joseph.ma...@protonmail.com] wrote: > > For the one who has not reviewed the code, can you quantify and > illustrate approximately how bad it is? > Perhaps he was reading from someone who does know some detail of the code? https://arcan-fe.com/2018/04/25/towards-secure-system-grap

Mention errno in printf(3) man

2018-09-05 Thread geoff
Right now the printf(3) family of manpages make no reference to errno. Glancing at __vfprintf, it appears that most of the erroneous paths do set errno. Should the manual be amended to reflect this behavior, so that users have a documented way to determine the cause of failure in such cases? Note

Re: md5: convert from fgetln(3) to getline(3)

2018-09-05 Thread Todd C. Miller
On Thu, 23 Aug 2018 11:24:54 -0500, Scott Cheloha wrote: > On Tue, Aug 14, 2018 at 03:11:47PM -0500, Scott Cheloha wrote: > > This patch is ok cheloha@ and I can commit if someone else > > is ok, too. > > 1 week bump. Anyone else ok? OK millert@ - todd

Re: llvm: patch-update to release 5.0.1

2018-09-05 Thread Leonid Bobrov
I always wonder: where the fuck is lldb? I don't see it in base or ports

Re: md5: convert from fgetln(3) to getline(3)

2018-09-05 Thread Lauri Tirkkonen
On Thu, Aug 23 2018 11:24:54 -0500, Scott Cheloha wrote: > On Tue, Aug 14, 2018 at 03:11:47PM -0500, Scott Cheloha wrote: > > This patch is ok cheloha@ and I can commit if someone else > > is ok, too. > > 1 week bump. Anyone else ok? no takers? -- Lauri Tirkkonen | lotheac @ IRCnet

Re: fix "_nfiles" references for crash dump

2018-09-05 Thread Martin Pieuchot
On 04/09/18(Tue) 14:59, Naoki Fukaumi wrote: > hi tech@, > > "_nfiles" was renamed to "_numfiles" by this commit, > https://marc.info/?l=openbsd-cvs&m=147199491615345&w=2 > > then fstat/pstat put following errors, > > # fstat -M bsd.0.core -N bsd.0 > fstat: _nfiles: no such symbol > > # pst

Re: smtpd: flags cleanup in mta

2018-09-05 Thread Gilles Chehade
On Wed, Sep 05, 2018 at 03:04:08PM +0200, Eric Faurot wrote: > With the recent changes in the smarthost syntax, and the removal of > the "secure" keyword, it's now possible to clarify the mta code by > changing the TLS option from a set flags to exclusive values. > This is far less confusing. > >

Re: [patch] Fix closing socket twice bug in netcat program

2018-09-05 Thread Nan Xiao
Ping tech@, Could anyone spare a minute to check this patch? I think it is indeed a bug. On 9/4/2018 1:01 PM, Nan Xiao wrote: > Hi tech@, > > Before netcat program exits, it will check whether s is -1, and close > socket if s is not -1: > > if (s != -1) > close(s); > > The

smtpd: flags cleanup in mta

2018-09-05 Thread Eric Faurot
With the recent changes in the smarthost syntax, and the removal of the "secure" keyword, it's now possible to clarify the mta code by changing the TLS option from a set flags to exclusive values. This is far less confusing. More cleanup to come in mta_session.c after that. Eric. Index: mta.c ==

Re: icmp6_mtudisc_clone() tweak

2018-09-05 Thread Alexander Bluhm
On Wed, Sep 05, 2018 at 12:04:07AM +0800, Michael Mikonos wrote: > The code executed on failure in icmp6_mtudisc_clone() is always > the same so it can be declared in one place. Is anyone happy to > OK this? Yeah, why not. But please keep icmp_mtudisc_clone() in sync. bluhm

Re: Update to table(5) man page

2018-09-05 Thread Matt Schwartz
I will make those changes you want as soon as I can get to my computer. On Wed, Sep 5, 2018, 6:23 AM Matt Schwartz wrote: > Thanks guys. I really like working on documentation. Please let me know if > I can help on anything in the future. > > On Wed, Sep 5, 2018, 3:22 AM Jason McIntyre wrote: >

Re: Update to table(5) man page

2018-09-05 Thread Matt Schwartz
Thanks guys. I really like working on documentation. Please let me know if I can help on anything in the future. On Wed, Sep 5, 2018, 3:22 AM Jason McIntyre wrote: > On Tue, Sep 04, 2018 at 08:54:37AM -0400, Matt Schwartz wrote: > > Below is a diff to clear up the description of the Userinfo tab

Re: iostat: add "sp" column for CP_SPIN

2018-09-05 Thread YASUOKA Masahiko
Hi, Committed the diff for command. Thanks. As for the man page, it makes sense for me. ok yasuoka On Wed, 05 Sep 2018 10:33:37 +0200 Solene Rapenne wrote: > Solene Rapenne wrote: >> Naoki Fukaumi wrote: >> > hi tech@, >> > >> > new cpu state, CP_SPIN, was added, >> > https://marc.info/?l

Re: iostat: add "sp" column for CP_SPIN

2018-09-05 Thread Solene Rapenne
Solene Rapenne wrote: > Naoki Fukaumi wrote: > > hi tech@, > > > > new cpu state, CP_SPIN, was added, > > https://marc.info/?l=openbsd-cvs&m=152630109526317&w=2 > > > > but there is no column for it in the header of iostat, > > > > $ iostat > > tty sd0 cpu > >

Re: iostat: add "sp" column for CP_SPIN

2018-09-05 Thread Solene Rapenne
Naoki Fukaumi wrote: > hi tech@, > > new cpu state, CP_SPIN, was added, > https://marc.info/?l=openbsd-cvs&m=152630109526317&w=2 > > but there is no column for it in the header of iostat, > > $ iostat > tty sd0 cpu > tin tout KB/t t/s MB/s us ni sy in id >

Re: iostat: add "sp" column for CP_SPIN

2018-09-05 Thread Stuart Henderson
On 2018/09/04 16:11, Landry Breuil wrote: > On Tue, Sep 04, 2018 at 03:27:29PM +0200, Solene Rapenne wrote: > > Stuart Henderson wrote: > > > On 2018/09/04 14:22, Solene Rapenne wrote: > > > > About munin I'm trying to get a diff accepted upstream to fix cpu > > > > plugin and > > > > talk about

Re: smtpd: malloc+strlcpy -> strndup

2018-09-05 Thread Gilles Chehade
On Mon, Sep 03, 2018 at 11:43:02PM +0800, Michael Mikonos wrote: > On Mon, Sep 03, 2018 at 02:24:49PM +0800, Michael Mikonos wrote: > > On Sat, Sep 01, 2018 at 11:31:49PM +0200, Gilles Chehade wrote: > > > On Sat, Sep 01, 2018 at 09:20:59PM +0800, Michael Mikonos wrote: > > > > Hello, > > > > > >

Re: Update to table(5) man page

2018-09-05 Thread Jason McIntyre
On Tue, Sep 04, 2018 at 08:54:37AM -0400, Matt Schwartz wrote: > Below is a diff to clear up the description of the Userinfo table in > table(5). I also added an example of how it can be used with an Alias > table. > > Thanks, > Matt > fixed now. thanks, jmc > Index: table.5 > =