Re: svn commit: r327354 - head/sys/vm

2018-01-18 Thread Eric van Gyzen
On 01/17/2018 16:40, Gleb Smirnoff wrote: > On Fri, Dec 29, 2017 at 07:05:07PM +, Konstantin Belousov wrote: > K> Author: kib > K> Date: Fri Dec 29 19:05:07 2017 > K> New Revision: 327354 > K> URL: https://svnweb.freebsd.org/changeset/base/327354 > K> > K> Log: > K> Style. > K> > K> Rev

Re: svn commit: r328110 - head/sys/kern

2018-01-21 Thread Eric van Gyzen
On 01/18/2018 01:38, Wojciech Macek wrote: Author: wma Date: Thu Jan 18 07:38:54 2018 New Revision: 328110 URL: https://svnweb.freebsd.org/changeset/base/328110 Log: KDB: restart only CPUs stopped by KDB @@ -707,8 +708,9 @@ kdb_trap(int type, int code, struct trapframe *tf) kdb

svn commit: r329829 - head/sys/kern

2018-02-22 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 22 17:09:26 2018 New Revision: 329829 URL: https://svnweb.freebsd.org/changeset/base/329829 Log: sched_ule: update a comment to reflect reality MFC after:3 days Sponsored by: Dell EMC Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_

Re: svn commit: r330451 - in stable/11/sys: dev/iwm dev/otus dev/usb/wlan net80211

2018-03-09 Thread Eric van Gyzen
On 03/09/2018 10:00, Warner Losh wrote: > > > On Fri, Mar 9, 2018 at 8:44 AM, Kyle Evans > wrote: > > On Fri, Mar 9, 2018 at 9:28 AM, Rodney W. Grimes > > wrote: > >> On Wed, Mar 07, 2018 at 02:53:49PM -0800, Eitan

svn commit: r285642 - head/crypto/openssh

2015-07-16 Thread Eric van Gyzen
Author: vangyzen Date: Thu Jul 16 18:44:18 2015 New Revision: 285642 URL: https://svnweb.freebsd.org/changeset/base/285642 Log: 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 to OpenSSH 6.5p1

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

svn commit: r285763 - stable/9/crypto/openssh

2015-07-21 Thread Eric van Gyzen
Author: vangyzen Date: Tue Jul 21 18:54:38 2015 New Revision: 285763 URL: https://svnweb.freebsd.org/changeset/base/285763 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: r286144 - head/usr.bin/wall

2015-08-01 Thread Eric van Gyzen
On 7/31/15 8:29 PM, Pedro F. Giffuni wrote: Author: pfg Date: Sat Aug 1 01:29:55 2015 New Revision: 286144 URL: https://svnweb.freebsd.org/changeset/base/286144 Log: Buffer overflow in wall(1). Revert r286102 and apply a cleaner fix. Tested for overflows by FORTIFY_SOURCE GSoC (with c

svn commit: r286317 - in head: lib/libthr/arch/amd64 lib/libthr/arch/i386 libexec/rtld-elf/amd64 libexec/rtld-elf/i386 share/mk

2015-08-05 Thread Eric van Gyzen
Author: vangyzen Date: Wed Aug 5 12:53:55 2015 New Revision: 286317 URL: https://svnweb.freebsd.org/changeset/base/286317 Log: Disable SSE in libthr Clang emits SSE instructions on amd64 in the common path of pthread_mutex_unlock. If the thread does not otherwise use SSE, this usage i

svn commit: r309624 - head/usr.bin/locale

2016-12-06 Thread Eric van Gyzen
Author: vangyzen Date: Tue Dec 6 15:42:18 2016 New Revision: 309624 URL: https://svnweb.freebsd.org/changeset/base/309624 Log: locale: fix the powerpc build Reported by: markj (and bde, in a way) MFC after:3 days X-MFC with: r309364 Sponsored by: Dell EMC Modified: head/usr

svn commit: r309625 - head/sbin/rcorder

2016-12-06 Thread Eric van Gyzen
Author: vangyzen Date: Tue Dec 6 15:49:39 2016 New Revision: 309625 URL: https://svnweb.freebsd.org/changeset/base/309625 Log: Add rcorder-visualize.sh, which generates graphviz from rc.d scripts This is imported from NetBSD. The author--Joerg Sonnenberger--agreed to apply a two-clause

Re: svn commit: r309625 - head/sbin/rcorder

2016-12-06 Thread Eric van Gyzen
On 12/06/2016 11:30, Ravi Pokala wrote: > For grins, I ran this on my build server. The resulting graph is... > complex. But one thing was immediately clear: neither > /etc/rc.d/dhclient and /etc/rc.d/natd depend on anything. That seems > wrong: I would expect them to have some sort of dependency o

svn commit: r309676 - in head: bin/ps lib/libkvm sys/compat/freebsd32 sys/kern sys/sys usr.bin/procstat usr.bin/top

2016-12-07 Thread Eric van Gyzen
Author: vangyzen Date: Wed Dec 7 15:04:22 2016 New Revision: 309676 URL: https://svnweb.freebsd.org/changeset/base/309676 Log: 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 for these three e

svn commit: r310040 - stable/11/usr.bin/locale

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

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: ena

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 sou

svn commit: r310042 - stable/11/sbin/rcorder

2016-12-13 Thread Eric van Gyzen
Author: vangyzen Date: Tue Dec 13 23:12:59 2016 New Revision: 310042 URL: https://svnweb.freebsd.org/changeset/base/310042 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 sou

svn commit: r310044 - in stable/11: lib/libc/sys share/man/man3 sys/kern

2016-12-13 Thread Eric van Gyzen
Author: vangyzen Date: Tue Dec 13 23:34:07 2016 New Revision: 310044 URL: https://svnweb.freebsd.org/changeset/base/310044 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() any

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() any

svn commit: r310120 - in stable/11: 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:51:33 2016 New Revision: 310120 URL: https://svnweb.freebsd.org/changeset/base/310120 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 fo

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 fo

Re: svn commit: r310138 - head/lib/libc/stdio

2016-12-16 Thread Eric van Gyzen
On 12/16/2016 14:07, Ian Lepore wrote: > On Fri, 2016-12-16 at 20:31 +0100, Baptiste Daroussin wrote: >> On Fri, Dec 16, 2016 at 01:44:51AM +, Conrad E. Meyer wrote: >>> >>> Author: cem >>> Date: Fri Dec 16 01:44:50 2016 >>> New Revision: 310138 >>> URL: https://svnweb.freebsd.org/changeset/bas

Re: svn commit: r310138 - head/lib/libc/stdio

2016-12-16 Thread Eric van Gyzen
On 12/16/2016 16:45, John Baldwin wrote: > On Friday, December 16, 2016 08:53:26 PM Dimitry Andric wrote: >> On 16 Dec 2016, at 20:31, Baptiste Daroussin wrote: >>> >>> On Fri, Dec 16, 2016 at 01:44:51AM +, Conrad E. Meyer wrote: Author: cem Date: Fri Dec 16 01:44:50 2016 New Re

Re: svn commit: r310138 - head/lib/libc/stdio

2016-12-16 Thread Eric van Gyzen
On 12/16/2016 17:44, Warner Losh wrote: > On Fri, Dec 16, 2016 at 3:07 PM, John Baldwin wrote: >> On Friday, December 16, 2016 04:53:04 PM Eric van Gyzen wrote: >>> On 12/16/2016 16:45, John Baldwin wrote: >>>> On Friday, December 16, 2016 08:53:26 PM Dimitry Andr

svn commit: r315919 - stable/11/lib/libc/sys

2017-03-24 Thread Eric van Gyzen
Author: vangyzen Date: Sat Mar 25 00:52:33 2017 New Revision: 315919 URL: https://svnweb.freebsd.org/changeset/base/315919 Log: MFC r315694 clock_gettime.2: add some clock IDs Add the CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID clock_id values to the clock_gettime(2) man pag

svn commit: r316098 - in stable/11: lib/libnetbsd usr.bin usr.bin/getaddrinfo

2017-03-28 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 28 13:39:04 2017 New Revision: 316098 URL: https://svnweb.freebsd.org/changeset/base/316098 Log: MFC r315640 Port the getaddrinfo(1) utility from NetBSD. PR: 183148 Submitted by: Lohith Bellad Obtained from:NetBSD Relnotes: ye

svn commit: r316120 - in stable/11: share/man/man9 sys/kern sys/sys

2017-03-28 Thread Eric van Gyzen
Author: vangyzen Date: Wed Mar 29 01:21:48 2017 New Revision: 316120 URL: https://svnweb.freebsd.org/changeset/base/316120 Log: MFC r315280 r315287 When the RTC is adjusted, reevaluate absolute sleep times based on the RTC POSIX 2008 says this about clock_settime(2): If the va

svn commit: r316430 - head/bin/dd

2017-04-02 Thread Eric van Gyzen
Author: vangyzen Date: Sun Apr 2 21:30:05 2017 New Revision: 316430 URL: https://svnweb.freebsd.org/changeset/base/316430 Log: Fix indentation in dd(1) Quoting http://mdocml.bsd.lv/mdoc/details/width.html Do not use macros in the argument specifying the width, since that's not porta

Re: svn commit: r317094 - head/share/mk

2017-04-19 Thread Eric van Gyzen
> Generating core.txt now complety broken? No. crashinfo has supported gdb from ports for quite a while now. If you 'pkg install gdb' crashinfo defaults to using the ports gdb over the base one already. >>> >>> I am about clean install, w/o ports. >> >> Until we get some so

svn commit: r313180 - head/sys/dev/pci

2017-02-03 Thread Eric van Gyzen
Author: vangyzen Date: Sat Feb 4 00:34:00 2017 New Revision: 313180 URL: https://svnweb.freebsd.org/changeset/base/313180 Log: PCIe HotPlug: remove tests for DL active link capability As of r313097, the HotPlug code requires the link to support reporting of the data-link status. Remove

svn commit: r313181 - head/lib/libc/gen

2017-02-03 Thread Eric van Gyzen
Author: vangyzen Date: Sat Feb 4 00:37:25 2017 New Revision: 313181 URL: https://svnweb.freebsd.org/changeset/base/313181 Log: Fix grammar in getpeereid(3) Modified: head/lib/libc/gen/getpeereid.3 Modified: head/lib/libc/gen/getpeereid.3 =

svn commit: r313401 - head/sys/netinet

2017-02-07 Thread Eric van Gyzen
Author: vangyzen Date: Tue Feb 7 18:57:57 2017 New Revision: 313401 URL: https://svnweb.freebsd.org/changeset/base/313401 Log: Fix garbage IP addresses in UDP log_in_vain messages If multiple threads emit a UDP log_in_vain message concurrently, the IP addresses could be garbage due to co

svn commit: r313456 - stable/11/sys/dev/pci

2017-02-08 Thread Eric van Gyzen
Author: vangyzen Date: Wed Feb 8 20:08:38 2017 New Revision: 313456 URL: https://svnweb.freebsd.org/changeset/base/313456 Log: MFC r313180 PCIe HotPlug: remove tests for DL active link capability As of r313097, the HotPlug code requires the link to support reporting of the data-link

svn commit: r313523 - stable/11/sys/netinet

2017-02-09 Thread Eric van Gyzen
Author: vangyzen Date: Fri Feb 10 05:14:19 2017 New Revision: 313523 URL: https://svnweb.freebsd.org/changeset/base/313523 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 inet_ntoa()

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 inet_ntoa()

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

Re: svn commit: r313401 - head/sys/netinet

2017-02-11 Thread Eric van Gyzen
On 02/10/2017 15:04, Ed Maste wrote: On 10 February 2017 at 15:10, Gleb Smirnoff wrote: Thanks. I think inet_ntoa() and anything that uses static buffer should just be removed from libkern. Agreed. A quick grep found inet_ntoa used in: Also agreed. I had already started on it. ;-) Eric

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 : 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 specific to the

Re: svn commit: r313401 - head/sys/netinet

2017-02-13 Thread Eric van Gyzen
On 02/11/2017 11:02, Adrian Chadd wrote: Can we do the same with ether_ntoa too? ether_ntoa doesn't exist in the kernel. Eric ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mai

svn commit: r313817 - head/sys/dev/acpica

2017-02-16 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 16 20:27:22 2017 New Revision: 313817 URL: https://svnweb.freebsd.org/changeset/base/313817 Log: acpica: remove a superfluous NULL check The address-of operator can't produce NULL (in practice). Remove an unnecessary NULL check. MFC after:3 days S

svn commit: r313820 - head/sys/netpfil/pf

2017-02-16 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 16 20:44:44 2017 New Revision: 313820 URL: https://svnweb.freebsd.org/changeset/base/313820 Log: pf: use inet_ntoa_r() instead of inet_ntoa(); maybe fix IPv6 OS fingerprinting inet_ntoa() cannot be used safely in a multithreaded environment because it uses a

svn commit: r313821 - in head/sys: dev/cxgb/ulp/iw_cxgb fs/nfsserver kern netinet netinet/libalias netpfil/ipfw

2017-02-16 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 16 20:47:41 2017 New Revision: 313821 URL: https://svnweb.freebsd.org/changeset/base/313821 Log: Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel inet_ntoa() cannot be used safely in a multithreaded environment because it uses a static local bu

svn commit: r313822 - in head/sys: libkern netinet

2017-02-16 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 16 20:50:01 2017 New Revision: 313822 URL: https://svnweb.freebsd.org/changeset/base/313822 Log: Remove inet_ntoa() from the kernel inet_ntoa() cannot be used safely in a multithreaded environment because it uses a static local buffer. Remove it from the ke

Re: svn commit: r313821 - in head/sys: dev/cxgb/ulp/iw_cxgb fs/nfsserver kern netinet netinet/libalias netpfil/ipfw

2017-02-17 Thread Eric van Gyzen
On 02/16/2017 22:17, Gleb Smirnoff wrote: Eric, heh, things are worse. Multiple places you changes are CTR() macros. Neither inet_ntoa() nor inet_ntoa_r() will work with them. :( Basicly non-constant strings can not be logged with KTR. All the lines you touched should log actual binary valu

svn commit: r314055 - head/lib/libc/sys

2017-02-21 Thread Eric van Gyzen
Author: vangyzen Date: Tue Feb 21 19:51:41 2017 New Revision: 314055 URL: https://svnweb.freebsd.org/changeset/base/314055 Log: Make several improvements and corrections in the kenv(2) man page MFC after:3 days Sponsored by: Dell EMC Modified: head/lib/libc/sys/kenv.2 Modified: he

svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-23 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 23 19:36:38 2017 New Revision: 314179 URL: https://svnweb.freebsd.org/changeset/base/314179 Log: Add sem_clockwait_np() This function allows the caller to specify the reference clock and choose between absolute and relative mode. In relative mode, the rem

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Eric van Gyzen
Modified: head/contrib/netbsd-tests/lib/librt/t_sem.c ... *sigh* I really wish people would read MAINTAINERS and include me on CRs to contrib/netbsd-tests/ (especially since I spent a few weekends cleaning this up to diff reduce and contribute back changes to NetBSD). Drat. I totally failed

svn commit: r314206 - head/include

2017-02-24 Thread Eric van Gyzen
Author: vangyzen Date: Fri Feb 24 14:37:55 2017 New Revision: 314206 URL: https://svnweb.freebsd.org/changeset/base/314206 Log: Guard sem_clockwait_np() declaration with __BSD_VISIBLE This is a POSIX header file, so keep the namespace clean. Reported by: kib MFC after:13 days

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-24 Thread Eric van Gyzen
On 02/24/2017 02:27, Konstantin Belousov wrote: On Thu, Feb 23, 2017 at 07:36:39PM +, Eric van Gyzen wrote: +int sem_clockwait_np(sem_t * __restrict, __clockid_t, int, + const struct timespec *, struct timespec *); I argue that semaphore.h is POSIX include file and the

svn commit: r323988 - svnadmin/conf

2017-09-25 Thread Eric van Gyzen
Author: vangyzen Date: Mon Sep 25 19:05:54 2017 New Revision: 323988 URL: https://svnweb.freebsd.org/changeset/base/323988 Log: Release dab from mentorship. Sponsored by: Dell EMC Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ===

svn commit: r314424 - in head: include lib/libc/gen

2017-02-28 Thread Eric van Gyzen
Author: vangyzen Date: Tue Feb 28 21:47:00 2017 New Revision: 314424 URL: https://svnweb.freebsd.org/changeset/base/314424 Log: Sort declaration of sem_clockwait_np Also mention in sem_timedwait(3), because POSIX does, and because the user will need it for clockid_t, struct timespec, a

svn commit: r314626 - head/sys/kern

2017-03-03 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 3 21:03:28 2017 New Revision: 314626 URL: https://svnweb.freebsd.org/changeset/base/314626 Log: Fix grammar in some comments in subr_sleepqueue.c While I'm here, remove trailing whitespace. Reviewed by: kib, mostly, as part of a larger review MFC afte

svn commit: r314936 - head/sys/x86/isa

2017-03-08 Thread Eric van Gyzen
Author: vangyzen Date: Thu Mar 9 02:19:30 2017 New Revision: 314936 URL: https://svnweb.freebsd.org/changeset/base/314936 Log: Validate values read from the RTC before trying BCD decoding Submitted by: cem Reported by: Michael Gmelin Tested by:Oleksandr Tymoshenko Sponsored by

svn commit: r315020 - stable/11/sys/dev/acpica

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

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. Sponsor

svn commit: r315023 - stable/11/lib/libc/sys

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

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 Prop

svn commit: r315026 - stable/11/sys/netpfil/pf

2017-03-10 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 10 20:25:43 2017 New Revision: 315026 URL: https://svnweb.freebsd.org/changeset/base/315026 Log: MFC r313820 pf: use inet_ntoa_r() instead of inet_ntoa(); maybe fix IPv6 OS fingerprinting inet_ntoa() cannot be used safely in a multithreaded environment

svn commit: r315027 - stable/11/sys/kern

2017-03-10 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 10 20:30:17 2017 New Revision: 315027 URL: https://svnweb.freebsd.org/changeset/base/315027 Log: MFC r314626 Fix grammar in some comments in subr_sleepqueue.c While I'm here, remove trailing whitespace. Modified: stable/11/sys/kern/subr_sleepqueue.c Di

svn commit: r315028 - stable/10/sys/netpfil/pf

2017-03-10 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 10 20:38:18 2017 New Revision: 315028 URL: https://svnweb.freebsd.org/changeset/base/315028 Log: MFC r313820 pf: use inet_ntoa_r() instead of inet_ntoa(); maybe fix IPv6 OS fingerprinting inet_ntoa() cannot be used safely in a multithreaded environment

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

2017-03-10 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 10 20:48:38 2017 New Revision: 315029 URL: https://svnweb.freebsd.org/changeset/base/315029 Log: MFC r314626 Fix grammar in some comments in subr_sleepqueue.c While I'm here, remove trailing whitespace. Modified: stable/10/sys/kern/subr_sleepqueue.c Di

svn commit: r315274 - in stable/11: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-03-14 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 14 17:52:43 2017 New Revision: 315274 URL: https://svnweb.freebsd.org/changeset/base/315274 Log: MFC r314179 r314206 r314424 Add sem_clockwait_np() This function allows the caller to specify the reference clock and choose between absolute and relative m

svn commit: r315277 - in head/sys: dev/cxgb/ulp/iw_cxgb netinet

2017-03-14 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 14 18:27:48 2017 New Revision: 315277 URL: https://svnweb.freebsd.org/changeset/base/315277 Log: KTR: log IPv4 addresses in hex rather than dotted-quad When I made the changes in r313821, I fell victim to one of the classic blunders, the most famous of which

svn commit: r315280 - in head/sys: kern sys

2017-03-14 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 14 19:06:44 2017 New Revision: 315280 URL: https://svnweb.freebsd.org/changeset/base/315280 Log: When the RTC is adjusted, reevaluate absolute sleep times based on the RTC POSIX 2008 says this about clock_settime(2): If the value of the CLOCK_REALTIME

svn commit: r315286 - in head/sys: dev/cxgb/ulp/iw_cxgb netinet

2017-03-14 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 14 20:57:54 2017 New Revision: 315286 URL: https://svnweb.freebsd.org/changeset/base/315286 Log: Add some ntohl() love to r315277 inet_ntoa() and inet_ntoa_r() take the address in network byte-order. When I removed those calls, I should have replaced them

Re: svn commit: r315277 - in head/sys: dev/cxgb/ulp/iw_cxgb netinet

2017-03-14 Thread Eric van Gyzen
On 03/14/2017 14:02, Ian Lepore wrote: On Tue, 2017-03-14 at 18:27 +, Eric van Gyzen wrote: Author: vangyzen Date: Tue Mar 14 18:27:48 2017 New Revision: 315277 URL: https://svnweb.freebsd.org/changeset/base/315277 Log: KTR: log IPv4 addresses in hex rather than dotted-quad Don'

svn commit: r315287 - in head: share/man/man9 sys/kern sys/sys

2017-03-14 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 14 22:02:02 2017 New Revision: 315287 URL: https://svnweb.freebsd.org/changeset/base/315287 Log: Add missing pieces of r315280 I moved this branch from github to a private server, and pulled from the wrong one when committing r315280, so I failed to include

Re: svn commit: r315280 - in head/sys: kern sys

2017-03-15 Thread Eric van Gyzen
On 03/14/2017 17:16, Ngie Cooper wrote: I'll take a look at running "open_posix_testsuite" from LTP and (when time/appropriate), I'll help out with integrating in the clock_nanosleep tests from NetBSD (contrib/netbsd-tests/lib/libc/sys/t_clock_nanosleep.c, ). I hadn't heard of open_posix_testsu

svn commit: r315456 - in stable/11/sys: dev/cxgb/ulp/iw_cxgb fs/nfsserver kern netinet netinet/libalias netpfil/ipfw

2017-03-17 Thread Eric van Gyzen
Author: vangyzen Date: Fri Mar 17 14:54:10 2017 New Revision: 315456 URL: https://svnweb.freebsd.org/changeset/base/315456 Log: MFC r313821 r315277 r315286 Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel. inet_ntoa() cannot be used safely in a multithreaded environment

svn commit: r315510 - in head/sys: compat/freebsd32 compat/linux kern

2017-03-18 Thread Eric van Gyzen
Author: vangyzen Date: Sat Mar 18 20:16:23 2017 New Revision: 315510 URL: https://svnweb.freebsd.org/changeset/base/315510 Log: nanosleep: plug a kernel memory disclosure nanosleep() updates rmtp on EINVAL. In that case, kern_nanosleep() has not updated rmt, so sys_nanosleep() updates th

svn commit: r315526 - in head: contrib/netbsd-tests/lib/libc/sys include lib/libc/include lib/libc/sys lib/libc/tests/sys lib/libthr/thread share/man/man3 sys/compat/freebsd32 sys/kern sys/sys

2017-03-18 Thread Eric van Gyzen
15525, head/lib/libc/sys/nanosleep.c) == --- head/lib/libc/sys/nanosleep.c Sun Mar 19 00:36:29 2017 (r315525, copy source) +++ head/lib/libc/sys/clock_nanosleep.c Sun Mar 19 00:51:12 2017 (r315526) @@ -1,4 +1,5 @@ /*

svn commit: r315527 - in head/sys: compat/freebsd32 kern sys

2017-03-18 Thread Eric van Gyzen
Author: vangyzen Date: Sun Mar 19 00:54:24 2017 New Revision: 315527 URL: https://svnweb.freebsd.org/changeset/base/315527 Log: Regenerate syscall files for r315526 Sponsored by: Dell EMC Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.

svn commit: r315640 - in head: lib/libnetbsd usr.bin usr.bin/getaddrinfo

2017-03-20 Thread Eric van Gyzen
Author: vangyzen Date: Mon Mar 20 16:44:55 2017 New Revision: 315640 URL: https://svnweb.freebsd.org/changeset/base/315640 Log: Port the getaddrinfo(1) utility from NetBSD Submitted by: Lohith Bellad Reviewed by: hiren (earlier rev), ae Obtained from:NetBSD MFC after:1 w

svn commit: r315657 - in stable/11/sys: compat/freebsd32 compat/linux kern

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

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 sys_nanos

svn commit: r315694 - head/lib/libc/sys

2017-03-21 Thread Eric van Gyzen
Author: vangyzen Date: Wed Mar 22 00:50:36 2017 New Revision: 315694 URL: https://svnweb.freebsd.org/changeset/base/315694 Log: clock_gettime.2: add some clock IDs Add the CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID clock_id values to the clock_gettime(2) man page. Reformat the

Re: svn commit: r315526 - in head: contrib/netbsd-tests/lib/libc/sys include lib/libc/include lib/libc/sys lib/libc/tests/sys lib/libthr/thread share/man/man3 sys/compat/freebsd32 sys/kern sys/sys

2017-04-30 Thread Eric van Gyzen
On 04/29/2017 04:39, Chagin Dmitry wrote: > On Sun, Mar 19, 2017 at 12:51:13AM +0000, Eric van Gyzen wrote: >> Author: vangyzen >> Date: Sun Mar 19 00:51:12 2017 >> New Revision: 315526 >> URL: https://svnweb.freebsd.org/changeset/base/315526 >> >> Log: >

svn commit: r317618 - in stable/11: contrib/netbsd-tests/lib/libc/sys include lib/libc/include lib/libc/sys lib/libc/tests/sys lib/libthr/thread share/man/man3 sys/compat/freebsd32 sys/kern sys/sys

2017-04-30 Thread Eric van Gyzen
, head/lib/libc/sys/clock_nanosleep.c) @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2017 Eric van Gyzen + * Copyright (c) 2014 The FreeBSD Foundation. + * All rights reserved. + * + * Portions of this software were developed by Konstantin Belousov + * under sponsorship from the FreeBSD Foundation. + * + *

svn commit: r317619 - stable/11/bin/dd

2017-04-30 Thread Eric van Gyzen
Author: vangyzen Date: Mon May 1 01:40:24 2017 New Revision: 317619 URL: https://svnweb.freebsd.org/changeset/base/317619 Log: MFC r316430 Fix indentation in dd(1) Quoting http://mdocml.bsd.lv/mdoc/details/width.html Do not use macros in the argument specifying the width, since

Re: svn commit: r317755 - head/sbin/ifconfig

2017-05-03 Thread Eric van Gyzen
On 05/03/2017 14:38, Alan Somers wrote: > On Wed, May 3, 2017 at 1:34 PM, Warner Losh wrote: >> On Wed, May 3, 2017 at 1:32 PM, Alan Somers wrote: >>> On Wed, May 3, 2017 at 12:16 PM, Ngie Cooper wrote: > On May 3, 2017, at 10:21, Alan Somers wrote: > > Author: asomers > Da

Re: svn commit: r318441 - in head/etc: . cron.d

2017-05-18 Thread Eric van Gyzen
On 05/18/2017 16:34, Ian Lepore wrote: > On Thu, 2017-05-18 at 23:29 +0200, Baptiste Daroussin wrote: >> On Thu, May 18, 2017 at 03:27:49PM -0600, Ian Lepore wrote: >>> >>> On Thu, 2017-05-18 at 23:24 +0200, Baptiste Daroussin wrote: On Thu, May 18, 2017 at 09:48:25AM -0700, John Baldwin

svn commit: r318509 - stable/11/sys/amd64/amd64

2017-05-18 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 19 00:33:48 2017 New Revision: 318509 URL: https://svnweb.freebsd.org/changeset/base/318509 Log: MFC r318354 (by cem) Correct page frame mask constant used in pmap_change_attr_locked This was introduced in r290156. It's present in 11.0, but not any 10.x

svn commit: r318539 - head/lib/libthr/thread

2017-05-19 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 19 13:04:05 2017 New Revision: 318539 URL: https://svnweb.freebsd.org/changeset/base/318539 Log: libthr: fix warnings at WARNS=6 Fix warnings about the following when WARNS=6 (which I will commit soon): - casting away const - no previous 'extern' declar

svn commit: r318580 - head/lib/libthr

2017-05-20 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 20 17:29:36 2017 New Revision: 318580 URL: https://svnweb.freebsd.org/changeset/base/318580 Log: libthr: disable thread-safety warnings These warnings don't make sense for code that implements the locking primitives. Reviewed by: kib MFC after:3

svn commit: r318581 - head/lib/libthr/thread

2017-05-20 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 20 17:30:48 2017 New Revision: 318581 URL: https://svnweb.freebsd.org/changeset/base/318581 Log: libthr: change CHECK_AND_INIT_RWLOCK to an inline function This was prompted by a compiler warning about 'ret' shadowing a local variable in the callers of the m

svn commit: r318582 - in head/lib: libc/gen libc/include libthr/thread

2017-05-20 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 20 17:32:01 2017 New Revision: 318582 URL: https://svnweb.freebsd.org/changeset/base/318582 Log: Remove old spinlock_debug code from libc This no longer seems useful. Remove it. This was prompted by a "cast discards volatile qualifier" warning in libth

svn commit: r318583 - head/lib/libthr

2017-05-20 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 20 17:32:30 2017 New Revision: 318583 URL: https://svnweb.freebsd.org/changeset/base/318583 Log: libthr: use default WARNS level of 6 Reviewed by: kib MFC after:3 days Sponsored by: Dell EMC Differential Revision:https://reviews.freebsd.org/

svn commit: r318584 - in head/lib/libthr: . thread

2017-05-20 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 20 17:33:47 2017 New Revision: 318584 URL: https://svnweb.freebsd.org/changeset/base/318584 Log: libthr: Use CLI flags instead of pragmas to disable warnings People tweaking the build system or compilers tend to look into the Makefile and not into the source

svn commit: r318585 - head/contrib/dma

2017-05-20 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 20 17:39:23 2017 New Revision: 318585 URL: https://svnweb.freebsd.org/changeset/base/318585 Log: dma.8: use the correct name for 'SECURETRANSFER' The code uses 'SECURETRANS', but the config file uses 'SECURETRANSFER'. MFC after:3 days Modified: hea

svn commit: r318586 - head/contrib/dma

2017-05-20 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 20 17:42:58 2017 New Revision: 318586 URL: https://svnweb.freebsd.org/changeset/base/318586 Log: dma.8: fix problems reported by igor and 'mandoc -Tlint' dma.8:77:contraction:Queue the mail, but [don't] attempt to deliver it. dma.8:85:repeated:s [are are] ig

svn commit: r318641 - head/lib/libthr

2017-05-22 Thread Eric van Gyzen
Author: vangyzen Date: Mon May 22 13:21:28 2017 New Revision: 318641 URL: https://svnweb.freebsd.org/changeset/base/318641 Log: Revert r318583 (libthr: use default WARNS level of 6) Revert this while I fix RISC-V, SPARC, and probably all architectures that use GCC. Reported by: kib

svn commit: r318749 - in head: include lib/libc/include lib/libthr/thread

2017-05-23 Thread Eric van Gyzen
Author: vangyzen Date: Tue May 23 16:12:50 2017 New Revision: 318749 URL: https://svnweb.freebsd.org/changeset/base/318749 Log: libthr: fix warnings from GCC when WARNS=6 Fix warnings about: - redundant declarations - a local variable shadowing a global function (dlinfo) - an old-styl

svn commit: r318952 - head/lib/libthr/thread

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:51:51 2017 New Revision: 318952 URL: https://svnweb.freebsd.org/changeset/base/318952 Log: libthr: prevent setcontext() from masking SIGTHR __thr_setcontext() mistakenly tested for the presence of SIGCANCEL in its local ucontext_t instead of the parame

svn commit: r318953 - head/lib/libthr/thread

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:53:27 2017 New Revision: 318953 URL: https://svnweb.freebsd.org/changeset/base/318953 Log: libthr: fix style in previous commit I intended to add this to the previous commit. Reviewed by: kib MFC after:3 days Sponsored by: Dell EMC Modifie

svn commit: r318954 - in head/libexec/rtld-elf: arm mips powerpc powerpc64 riscv

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:55:03 2017 New Revision: 318954 URL: https://svnweb.freebsd.org/changeset/base/318954 Log: rtld: fix warnings about redundant declarations Fix warnings about redundant declarations in rtld when libthr in increased to WARNS=6. Reviewed by: kib M

svn commit: r318955 - in head/lib/libthr: arch/aarch64/include arch/arm/include arch/mips/include arch/powerpc/include arch/riscv/include thread

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:56:28 2017 New Revision: 318955 URL: https://svnweb.freebsd.org/changeset/base/318955 Log: libthr: fix warnings at WARNS=6 Fix more warnings about redundant declarations. Reviewed by: kib emaste MFC after:3 days Sponsored by: Dell EMC Dif

svn commit: r318956 - head/lib/libthr

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:57:54 2017 New Revision: 318956 URL: https://svnweb.freebsd.org/changeset/base/318956 Log: libthr: increase WARNS to the default (6) ...and silence cast-align warnings from gcc. Reviewed by: kib MFC after:3 days Sponsored by: Dell EMC Dif

svn commit: r319020 - head/share/mk

2017-05-27 Thread Eric van Gyzen
Author: vangyzen Date: Sun May 28 00:43:12 2017 New Revision: 319020 URL: https://svnweb.freebsd.org/changeset/base/319020 Log: Fix INSTALL_AS_USER Move INSTALL_AS_USER into bsd.init.mk to maximize the chance that it has final authority over fooOWN and fooGRP. Reviewed by: sjg MFC

svn commit: r319022 - head/share/mk

2017-05-27 Thread Eric van Gyzen
Author: vangyzen Date: Sun May 28 00:45:28 2017 New Revision: 319022 URL: https://svnweb.freebsd.org/changeset/base/319022 Log: Fix INSTALL_AS_USER with external nsswitch databases The INSTALL_AS_USER option tells "install" to use the current user name as the owner of the installed file.

svn commit: r319356 - stable/11/share/mk

2017-05-31 Thread Eric van Gyzen
Author: vangyzen Date: Wed May 31 21:15:05 2017 New Revision: 319356 URL: https://svnweb.freebsd.org/changeset/base/319356 Log: MFC r319020 Fix INSTALL_AS_USER Move INSTALL_AS_USER into bsd.init.mk to maximize the chance that it has final authority over fooOWN and fooGRP. Review

<    1   2   3   4   >