Re: svn commit: r290014 - in stable/10: lib/libthr/arch/amd64 lib/libthr/arch/i386 libexec/rtld-elf/amd64 libexec/rtld-elf/i386 share/mk

2015-12-18 Thread Eric van Gyzen
David, I apologize for the slow reply. Your message went to my "stable" box, which I read less often. On 11/14/2015 12:30, David Chisnall wrote: > On 26 Oct 2015, at 16:21, Eric van Gyzen <vangy...@freebsd.org> > wrote: >> >> One counter-argument to thi

svn commit: r292461 - stable/10/lib/libc/resolv

2015-12-18 Thread Eric van Gyzen
Author: vangyzen Date: Sat Dec 19 02:35:32 2015 New Revision: 292461 URL: https://svnweb.freebsd.org/changeset/base/292461 Log: MFC r289837 resolver: abuse _res a little less In the past, _res was a global variable. Now, it's multiple function calls. Several functions in the

svn commit: r301926 - stable/10/usr.sbin/newsyslog

2016-06-15 Thread Eric van Gyzen
Author: vangyzen Date: Wed Jun 15 14:11:49 2016 New Revision: 301926 URL: https://svnweb.freebsd.org/changeset/base/301926 Log: MFC r301532 newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specified After going through the signal work list, during which do_sigwork() is

svn commit: r294639 - stable/10/lib/libthr/thread

2016-01-23 Thread Eric van Gyzen
Author: vangyzen Date: Sat Jan 23 20:49:52 2016 New Revision: 294639 URL: https://svnweb.freebsd.org/changeset/base/294639 Log: MFC r293858 libthr: const-ify two variables Make the default umutex and urwlock initializers const, because they can be, and as a microoptimization.

svn commit: r294651 - stable/10/usr.sbin/bsdinstall/scripts

2016-01-23 Thread Eric van Gyzen
Author: vangyzen Date: Sun Jan 24 02:10:05 2016 New Revision: 294651 URL: https://svnweb.freebsd.org/changeset/base/294651 Log: MFC r293860 bsdinstall: Suggest the GPT+Active workaround on Dell T5810 The Dell Precision Tower 5810 fails to boot from GPT in Legacy/BIOS mode without

svn commit: r296547 - stable/10/sys/dev/ichsmb

2016-03-08 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 8 20:24:12 2016 New Revision: 296547 URL: https://svnweb.freebsd.org/changeset/base/296547 Log: MFC r281920,r284247,r284248,r295651 ichsmb: Add PCI device IDs for Intel Sunrise Point-H, Wellsburg, and Lynx-Point LP SMBus controllers. Remove whitespace.

svn commit: r297977 - in stable/10: sys/kern sys/sys tests/sys/kqueue

2016-04-14 Thread Eric van Gyzen
Author: vangyzen Date: Thu Apr 14 17:14:11 2016 New Revision: 297977 URL: https://svnweb.freebsd.org/changeset/base/297977 Log: MFC r295012 kqueue EVFILT_PROC: avoid collision between NOTE_CHILD and NOTE_EXIT NOTE_CHILD and NOTE_EXIT return something in kevent.data: the parent pid

svn commit: r313558 - stable/10/sys/netinet

2017-02-10 Thread Eric van Gyzen
Author: vangyzen Date: Fri Feb 10 16:11:11 2017 New Revision: 313558 URL: https://svnweb.freebsd.org/changeset/base/313558 Log: MFC r313401 Fix garbage IP addresses in UDP log_in_vain messages If multiple threads emit a UDP log_in_vain message concurrently, or indeed call

Re: svn commit: r313632 - in stable/10/contrib/netbsd-tests/lib/libc/gen: . posix_spawn

2017-02-13 Thread Eric van Gyzen
On 02/13/2017 02:22, Ed Schouten wrote: 2017-02-11 15:28 GMT+01:00 Eric van Gyzen <e...@vangyzen.net>: I would be concerned that app developers would read this definition, ignore the one in the man page, and use the __-prefixed types in their apps. I think that's a concern that's not sp

Re: svn commit: r312666 - stable/10/sys/kern

2017-01-23 Thread Eric van Gyzen
On 01/23/2017 10:03, Andriy Gapon wrote: > On 23/01/2017 15:34, Bruce Evans wrote: >> What is a good benchmark for showing that the fix helps? > > Honestly, I do not know. We ran into a pathology where a thread was not > getting > scheduled for a long time after being preempted while in a

Re: svn commit: r313632 - in stable/10/contrib/netbsd-tests/lib/libc/gen: . posix_spawn

2017-02-11 Thread Eric van Gyzen
On 02/11/2017 03:12, Ed Schouten wrote: 2017-02-11 8:35 GMT+01:00 Ngie Cooper : Note that sys/types.h is required on FreeBSD for kqueue(2), unlike NetBSD Which is a bug on its own in my opinion. What do you think of this patch? Index: sys/sys/event.h

svn commit: r306846 - stable/10/include

2016-10-08 Thread Eric van Gyzen
Author: vangyzen Date: Sat Oct 8 14:10:45 2016 New Revision: 306846 URL: https://svnweb.freebsd.org/changeset/base/306846 Log: MFC r306568, r306569 Add the __printflike attribute to the declarations of dprintf(3) and vdprintf(3). Sponsored by: Dell EMC Modified:

svn commit: r307588 - stable/10/sys/kern

2016-10-18 Thread Eric van Gyzen
Author: vangyzen Date: Wed Oct 19 00:14:22 2016 New Revision: 307588 URL: https://svnweb.freebsd.org/changeset/base/307588 Log: MFC r306346 Make no assertions about mutex state when the scheduler is stopped. This changes the assert path to match the lock and unlock paths.

svn commit: r310043 - stable/10/sbin/rcorder

2016-12-13 Thread Eric van Gyzen
Author: vangyzen Date: Tue Dec 13 23:13:03 2016 New Revision: 310043 URL: https://svnweb.freebsd.org/changeset/base/310043 Log: MFC r309625 This is imported from NetBSD. The author--Joerg Sonnenberger--agreed to apply a two-clause BSD license, just so the license was clear. This

svn commit: r310041 - stable/10/usr.bin/locale

2016-12-13 Thread Eric van Gyzen
Author: vangyzen Date: Tue Dec 13 23:10:35 2016 New Revision: 310041 URL: https://svnweb.freebsd.org/changeset/base/310041 Log: MFC r309364 r309367 r309624 locale: fix buffer management Also, handle signed and unsigned chars, and more gracefully handle invalid input. locale:

svn commit: r310121 - in stable/10: bin/ps lib/libkvm sys/compat/freebsd32 sys/kern sys/sys usr.bin/procstat usr.bin/top

2016-12-15 Thread Eric van Gyzen
Author: vangyzen Date: Thu Dec 15 16:52:17 2016 New Revision: 310121 URL: https://svnweb.freebsd.org/changeset/base/310121 Log: MFC r309676 Export the whole thread name in kinfo_proc kinfo_proc::ki_tdname is three characters shorter than thread::td_name. Add a ki_moretdname field

svn commit: r310099 - stable/10/sys/kern

2016-12-14 Thread Eric van Gyzen
Author: vangyzen Date: Thu Dec 15 01:45:31 2016 New Revision: 310099 URL: https://svnweb.freebsd.org/changeset/base/310099 Log: MFC r309460 thr_set_name(): silently truncate the given name as needed Instead of failing with ENAMETOOLONG, which is swallowed by pthread_set_name_np()

svn commit: r309329 - stable/10/usr.bin/locale

2016-11-30 Thread Eric van Gyzen
Author: vangyzen Date: Wed Nov 30 18:11:35 2016 New Revision: 309329 URL: https://svnweb.freebsd.org/changeset/base/309329 Log: MFC r308824 locale: fix display of "grouping" and "mon_grouping" values The "grouping" and "mon_grouping" values are arrays of one-byte integers, not

svn commit: r309334 - stable/10/lib/libc/locale

2016-11-30 Thread Eric van Gyzen
Author: vangyzen Date: Wed Nov 30 20:48:44 2016 New Revision: 309334 URL: https://svnweb.freebsd.org/changeset/base/309334 Log: MFC r308904 Fix error reporting from wcstof() When wcstof() skipped initial space and then parsing failed, it set endptr to the first non-space character.

svn commit: r309336 - stable/10/usr.bin/ncal

2016-11-30 Thread Eric van Gyzen
Author: vangyzen Date: Wed Nov 30 20:51:51 2016 New Revision: 309336 URL: https://svnweb.freebsd.org/changeset/base/309336 Log: MFC r308340 ncal: fix a reference to an out-of-scope stack buffer PR: 214237 Submitted by: Jonathan de Boyne Pollard Sponsored by: Dell EMC

svn commit: r309340 - in stable/10: sys/netinet usr.sbin/arp

2016-11-30 Thread Eric van Gyzen
Author: vangyzen Date: Wed Nov 30 22:20:23 2016 New Revision: 309340 URL: https://svnweb.freebsd.org/changeset/base/309340 Log: MFC r306577 r306652 306830 Add GARP retransmit capability A single gratuitous ARP (GARP) is always transmitted when an IPv4 address is added to an

svn commit: r315658 - in stable/10/sys: compat/freebsd32 compat/linux kern

2017-03-20 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 21 01:24:56 2017 New Revision: 315658 URL: https://svnweb.freebsd.org/changeset/base/315658 Log: MFC r315510 nanosleep: plug a kernel memory disclosure nanosleep() updates rmtp on EINVAL. In that case, kern_nanosleep() has not updated rmt, so

svn commit: r315024 - stable/10/lib/libc/sys

2017-03-10 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 10 20:07:38 2017 New Revision: 315024 URL: https://svnweb.freebsd.org/changeset/base/315024 Log: MFC r314055 Make several improvements and corrections in the kenv(2) man page Sponsored by: Dell EMC Modified: stable/10/lib/libc/sys/kenv.2 Directory

svn commit: r315021 - stable/10/sys/dev/acpica

2017-03-10 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 10 19:34:14 2017 New Revision: 315021 URL: https://svnweb.freebsd.org/changeset/base/315021 Log: MFC r313817 acpica: remove a superfluous NULL check The address-of operator can't produce NULL (in practice). Remove an unnecessary NULL check.

svn commit: r285750 - stable/10/crypto/openssh

2015-07-21 Thread Eric van Gyzen
Author: vangyzen Date: Tue Jul 21 14:36:33 2015 New Revision: 285750 URL: https://svnweb.freebsd.org/changeset/base/285750 Log: MFC r285642 ssh: canonicize the host name before looking it up in the host file Re-apply r99054 by des in 2002. This was accidentally dropped by the update

Re: svn commit: r290014 - in stable/10: lib/libthr/arch/amd64 lib/libthr/arch/i386 libexec/rtld-elf/amd64 libexec/rtld-elf/i386 share/mk

2015-11-12 Thread Eric van Gyzen
On 11/12/15 5:01 PM, Bryan Drewery wrote: On 10/26/2015 9:21 AM, Eric van Gyzen wrote: Author: vangyzen Date: Mon Oct 26 16:21:56 2015 New Revision: 290014 URL: https://svnweb.freebsd.org/changeset/base/290014 Log: Disable SSE in libthr Please also mention 'MFC rREV'. Thanks! Will do

svn commit: r288497 - in stable/10: share/man/man9 sys/kern

2015-10-02 Thread Eric van Gyzen
Author: vangyzen Date: Fri Oct 2 14:21:07 2015 New Revision: 288497 URL: https://svnweb.freebsd.org/changeset/base/288497 Log: MFC r281785 Always send log(9) messages to the message buffer. It is truer to the semantics of logging for messages to *always* go to the message buffer,

svn commit: r288498 - stable/10/sbin/dmesg

2015-10-02 Thread Eric van Gyzen
Author: vangyzen Date: Fri Oct 2 14:24:39 2015 New Revision: 288498 URL: https://svnweb.freebsd.org/changeset/base/288498 Log: MFC r281787 dmesg: accommodate message buffer growth between the sysctl calls Allocate 12.5% extra space to avoid ENOMEM when the message buffer is growing

svn commit: r288494 - stable/10/sys/kern

2015-10-02 Thread Eric van Gyzen
Author: vangyzen Date: Fri Oct 2 13:48:32 2015 New Revision: 288494 URL: https://svnweb.freebsd.org/changeset/base/288494 Log: MFC r280792 Clean up some cosmetic nits in kern_umtx.c, found during recent work in this area and by the Clang static analyzer. Remove some dead

svn commit: r288495 - stable/10/usr.sbin/pmcstat

2015-10-02 Thread Eric van Gyzen
Author: vangyzen Date: Fri Oct 2 14:11:44 2015 New Revision: 288495 URL: https://svnweb.freebsd.org/changeset/base/288495 Log: MFC r280793 pmcstat.8: fix -a flag description; improve -m flag to match The -a flag reads a file saved by -O, not -o. The -m flag requires the -R flag.