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

2019-07-17 Thread Bruce Evans
On Tue, 16 Jul 2019, Alan Somers wrote: On Tue, Jul 16, 2019 at 3:48 AM Bruce Evans wrote: On Mon, 15 Jul 2019, John Baldwin wrote: ... I'm not sure which variants are most readable: ... C) if (fp->f_seqcount + howmany(resid, 16384) < fp->f_seqcount) fp->f_seqcount = IO_SEQMA

Re: svn commit: r350079 - in head: share/zoneinfo usr.sbin/tzsetup

2019-07-17 Thread Philip Paeps
On 2019-07-17 06:17:28 (+), Thomas Munro wrote: Author: tmunro Date: Wed Jul 17 06:17:27 2019 New Revision: 350079 URL: https://svnweb.freebsd.org/changeset/base/350079 Log: tzsetup: upgrade to zone1970.tab zone.tab is deprecated. Install zone1970.tab alongside it, and use it for tzsetu

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

2019-07-17 Thread Alan Somers
On Wed, Jul 17, 2019 at 8:07 AM Bruce Evans wrote: > > On Tue, 16 Jul 2019, Alan Somers wrote: > > > On Tue, Jul 16, 2019 at 3:48 AM Bruce Evans wrote: > >> > >> On Mon, 15 Jul 2019, John Baldwin wrote: > >>> ... > >>> I'm not sure which variants are most readable: > >> ... > >>> C) > >>>if (

svn commit: r350082 - head/cddl/contrib/opensolaris/lib/libctf/common

2019-07-17 Thread Mark Johnston
Author: markj Date: Wed Jul 17 16:31:50 2019 New Revision: 350082 URL: https://svnweb.freebsd.org/changeset/base/350082 Log: Reference stdint.h types in ctf.5. MFC after:1 week Modified: head/cddl/contrib/opensolaris/lib/libctf/common/ctf.5 Modified: head/cddl/contrib/opensolaris/li

svn commit: r350084 - in head/sys/cddl/contrib/opensolaris/uts/common: dtrace sys

2019-07-17 Thread Mark Johnston
Author: markj Date: Wed Jul 17 16:38:29 2019 New Revision: 350084 URL: https://svnweb.freebsd.org/changeset/base/350084 Log: Fix FASTTRAPIOC_GETINSTR. This ioctl is used when a breakpoint is encountered while disassembling a symbol in the target process. Since only one DTrace consumer ca

svn commit: r350086 - head/usr.sbin/rtadvd

2019-07-17 Thread Mark Johnston
Author: markj Date: Wed Jul 17 16:50:53 2019 New Revision: 350086 URL: https://svnweb.freebsd.org/changeset/base/350086 Log: Remove obsolete compatibility code from rtadvd. MFC after:1 week Modified: head/usr.sbin/rtadvd/rtadvd.c Modified: head/usr.sbin/rtadvd/rtadvd.c =

svn commit: r350088 - head/sys/kern

2019-07-17 Thread Alan Somers
Author: asomers Date: Wed Jul 17 17:01:07 2019 New Revision: 350088 URL: https://svnweb.freebsd.org/changeset/base/350088 Log: F_READAHEAD: Fix r349248's overflow protection, broken by r349391 I accidentally broke the main point of r349248 when making stylistic changes in r349391. Restor

svn commit: r350089 - head

2019-07-17 Thread Mark Johnston
Author: markj Date: Wed Jul 17 19:09:05 2019 New Revision: 350089 URL: https://svnweb.freebsd.org/changeset/base/350089 Log: Add an initial RELNOTES file. The intent is to provide a convenient location to document changes that are relevant to users of binary FreeBSD distributions, in cont

svn commit: r350090 - head

2019-07-17 Thread Mark Johnston
Author: markj Date: Wed Jul 17 19:11:24 2019 New Revision: 350090 URL: https://svnweb.freebsd.org/changeset/base/350090 Log: Remove an old warning from UPDATING. The clang switchover happened long enough ago that we can garbage-collect this note. Reviewed by: emaste, imp Different

svn commit: r350091 - head/lib/libc/stdlib

2019-07-17 Thread Konstantin Belousov
Author: kib Date: Wed Jul 17 19:29:55 2019 New Revision: 350091 URL: https://svnweb.freebsd.org/changeset/base/350091 Log: bsearch.3: Improve the example. Submitted by: fernape MFC after:1 week Differential revision:https://reviews.freebsd.org/D19902 Modified: head/lib/li

svn commit: r350094 - head/sys/dev/nvme

2019-07-17 Thread Warner Losh
Author: imp Date: Wed Jul 17 20:43:14 2019 New Revision: 350094 URL: https://svnweb.freebsd.org/changeset/base/350094 Log: Remove now-obsolete comment. Modified: head/sys/dev/nvme/nvme.c Modified: head/sys/dev/nvme/nvme.c ==

svn commit: r350095 - head/sys/riscv/riscv

2019-07-17 Thread Kristof Provost
Author: kp Date: Wed Jul 17 21:25:26 2019 New Revision: 350095 URL: https://svnweb.freebsd.org/changeset/base/350095 Log: riscv: Return vm_paddr_t in pmap_early_vtophys() We can't use a u_int to compute the physical address in pmap_early_vtophys(). Our int is 32-bit, but the physical addr

svn commit: r350096 - in head/sys/ufs: ffs ufs

2019-07-17 Thread Kirk McKusick
Author: mckusick Date: Wed Jul 17 22:07:43 2019 New Revision: 350096 URL: https://svnweb.freebsd.org/changeset/base/350096 Log: The error reported in FS-14-UFS-3 can only happen on UFS/FFS filesystems that have block pointers that are out-of-range for their filesystem. These out-of-range blo

svn commit: r350098 - head/contrib/tcp_wrappers

2019-07-17 Thread Brooks Davis
Author: brooks Date: Wed Jul 17 23:09:40 2019 New Revision: 350098 URL: https://svnweb.freebsd.org/changeset/base/350098 Log: Use ANSI C function definitions and declerations. Obtained from:CheriBSD MFC after:1 week Sponsored by: DARPA, AFRL Modified: head/contrib/tcp_wra

svn commit: r350099 - head/stand/common

2019-07-17 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 17 23:33:14 2019 New Revision: 350099 URL: https://svnweb.freebsd.org/changeset/base/350099 Log: loader: ignore some variable settings if input unverified libsecureboot can tell us if the most recent file opened was verfied or not. If it's state is VE_UNVERIFIE

svn commit: r350100 - head/contrib/tcp_wrappers

2019-07-17 Thread Brooks Davis
Author: brooks Date: Wed Jul 17 23:36:36 2019 New Revision: 350100 URL: https://svnweb.freebsd.org/changeset/base/350100 Log: Use headers instead of manual declerations of standard functions and variables. Modified: head/contrib/tcp_wrappers/inetcf.c head/contrib/tcp_wrappers/scaffold.c

svn commit: r350101 - head/contrib/tcp_wrappers

2019-07-17 Thread Brooks Davis
Author: brooks Date: Wed Jul 17 23:43:14 2019 New Revision: 350101 URL: https://svnweb.freebsd.org/changeset/base/350101 Log: Remove a duplicate global (rfc931_timeout). It is declared here and in rfc931.c and unused here so keep that copy and discard this one. Obtained from:

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

2019-07-17 Thread Brooks Davis
Author: brooks Date: Wed Jul 17 23:46:47 2019 New Revision: 350102 URL: https://svnweb.freebsd.org/changeset/base/350102 Log: Remove redundent decleration of __elf_phdr_match_addr(). Obtained from:CheriBSD MFC after:1 week Sponsored by: DARPA, AFRL Modified: head/lib/libc

svn commit: r350103 - in head/contrib/sqlite3: . tea

2019-07-17 Thread Cy Schubert
Author: cy Date: Thu Jul 18 00:27:28 2019 New Revision: 350103 URL: https://svnweb.freebsd.org/changeset/base/350103 Log: MFV r350080: Update sqlite3-3.28.0 (328) --> sqlite3-3.29.0 (329) MFC after:1 week Modified: head/contrib/sqlite3/configure head/contrib/sqlite3/co

svn commit: r350104 - head/sys/dev/iicbus

2019-07-17 Thread Ian Lepore
Author: ian Date: Thu Jul 18 01:30:56 2019 New Revision: 350104 URL: https://svnweb.freebsd.org/changeset/base/350104 Log: Handle the PCF2127 RTC chip the same as PCF2129 when init'ing the chip. This affects the detection of 24-hour vs AM/PM mode... the ampm bit is in a different location

svn commit: r350106 - head/sys/dev/iicbus

2019-07-17 Thread Ian Lepore
Author: ian Date: Thu Jul 18 01:37:00 2019 New Revision: 350106 URL: https://svnweb.freebsd.org/changeset/base/350106 Log: Fix a paste-o, set is212x = false for other chip types. Doh! Modified: head/sys/dev/iicbus/nxprtc.c Modified: head/sys/dev/iicbus/nxprtc.c =