Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (18m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 20:13:35 UTC Now

2019-03-04 17:36:35 UTC MAIN commitmail json YAML

2019-03-04 17:32:46 UTC MAIN commitmail json YAML

switch amd64 to jemalloc-5.1.0

(christos)

2019-03-04 17:30:33 UTC MAIN commitmail json YAML

2019-03-04 17:29:49 UTC MAIN commitmail json YAML

Add Makefiles if we want to build jemalloc standalone.

(christos)

2019-03-04 17:29:24 UTC MAIN commitmail json YAML

2019-03-04 17:26:52 UTC MAIN commitmail json YAML

We already have div.{c,S} in libc so we call this one divide.c

(christos)

2019-03-04 17:25:10 UTC MAIN commitmail json YAML

src/external/bsd/jemalloc/include/jemalloc/internal/arena_externs.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/arena_inlines_a.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/arena_inlines_b.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/arena_stats.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/arena_structs_a.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/arena_structs_b.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/arena_types.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/assert.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/atomic.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/atomic_c11.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_sync.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/atomic_msvc.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/background_thread_externs.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/background_thread_inlines.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/background_thread_structs.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/base_externs.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/base_inlines.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/base_structs.h@1.1 / diff / nxr@1.1
src/external/bsd/jemalloc/include/jemalloc/internal/base_types.h@1.1 / diff / nxr@1.1
      :
(more 78 files)
Add header files (generated and not)

(christos)

2019-03-04 17:24:03 UTC MAIN commitmail json YAML

2019-03-04 17:23:37 UTC MAIN commitmail json YAML

2019-03-04 17:23:10 UTC MAIN commitmail json YAML

2019-03-04 17:21:31 UTC MAIN commitmail json YAML

2019-03-04 17:20:07 UTC MAIN commitmail json YAML

2019-03-04 17:19:45 UTC MAIN commitmail json YAML

2019-03-04 17:19:14 UTC MAIN commitmail json YAML

2019-03-04 17:18:53 UTC MAIN commitmail json YAML

- add UNCONST
- fix for shadowing

(christos)

2019-03-04 17:18:27 UTC MAIN commitmail json YAML

- fix for shadowing
- add unconst
- add hack for broken lint
- add cast for ctype macros
- disable realloc(ptr, 0) returning NULL for non-NULL ptr (compatibility)

(christos)

2019-03-04 17:16:47 UTC MAIN commitmail json YAML

rename initializer for consistency.

(christos)

2019-03-04 17:16:27 UTC MAIN commitmail json YAML

remove needless casts after fixing prototype.

(christos)

2019-03-04 17:15:37 UTC MAIN commitmail json YAML

2019-03-04 15:28:18 UTC MAIN commitmail json YAML

add a two argument version of alloc_size

(christos)

2019-03-04 15:26:18 UTC MAIN commitmail json YAML

2019-03-04 14:31:26 UTC MAIN commitmail json YAML

2019-03-04 13:37:53 UTC MAIN commitmail json YAML

Add SNA, TIL, XNS, XTI

(sevan)

2019-03-04 11:35:38 UTC MAIN commitmail json YAML

Enable hw csum offload by default

(jmcneill)

2019-03-04 09:25:05 UTC MAIN commitmail json YAML

add new man subdir to .PATH

(mrg)

2019-03-04 08:36:42 UTC MAIN commitmail json YAML

2019-03-04 08:28:59 UTC MAIN commitmail json YAML

- add likely missing () around || expression.
- use fabsl() not abs().

both picked up by clang and the new xclock.

(mrg)

2019-03-04 08:22:19 UTC MAIN commitmail json YAML

revert previous.

This breaks 64bit builds, it attempts to build a compat library too
and it fails to find headers for it.

(maya)

2019-03-04 05:37:08 UTC MAIN commitmail json YAML

When input is not a multiple of three bytes in size, pad null
characters instead of garbage. This makes output reproducible.

Taken from FreeBSD:
https://svnweb.freebsd.org/base?view=revision&revision=84715

Even though this is not demanded by POSIX, uuencode(1) in
FreeBSD, OpenBSD, macOS, and GNU, behaves that way.

(rin)

2019-03-04 05:28:48 UTC MAIN commitmail json YAML

Use  do { ... } whille (0) for DPRINTF(x, y).

(msaitoh)

2019-03-04 01:16:33 UTC MAIN commitmail json YAML

update reality on switched ports and commited fixes.

(mrg)

2019-03-04 01:14:31 UTC MAIN commitmail json YAML

switch 32 bit arm, m68* and sh3 to GCC 7.

reverse the polarity now that few ports remain: hppa, vax, ia64 and ppc64

(mrg)

2019-03-03 23:06:08 UTC MAIN commitmail json YAML

2019-03-03 22:43:54 UTC MAIN commitmail json YAML

make BUILD_TIME be something that can have existed :-)

(mrg)

2019-03-03 22:32:28 UTC MAIN commitmail json YAML

don't install marked obsolete fontcacheproto.pc.

(mrg)

2019-03-03 22:26:58 UTC MAIN commitmail json YAML

2019-03-03 22:26:30 UTC MAIN commitmail json YAML

The compat_09_{get,set}domainname() syscalls should not be defined
based on existence of COMPAT_09.  Make them modular instead, and
reference the compat_09 module.

(pgoyette)

2019-03-03 22:25:00 UTC MAIN commitmail json YAML

Fix the required-list for compat_ultrix.  With the merge of the
[pgoyette-compat] branch there is no longer a "compat" module;
instead we have lots of version-specific compat_xx modules.

Code inspection shows compat_ultrix uses compat_13 (and newer)
stuff, so set the requirements list accordingly.

Should fix PR port-pmax/54037

(pgoyette)

2019-03-03 22:02:49 UTC MAIN commitmail json YAML

xorg-server 1.20.4 is now current.

(mrg)

2019-03-03 22:01:09 UTC MAIN commitmail json YAML

2019-03-03 21:38:01 UTC MAIN commitmail json YAML

2019-03-03 21:26:18 UTC MAIN commitmail json YAML

cvs.texinfo: add minor formatting fix for Texinfo >5.0

Pull over a tiny fix from pkgsrc's devel/scmcvs patch-ab to support
generating info files with newer versions of Texinfo than what's
shipped in base presently. (Should base be updated at some point, or
for those using an external toolchain here.)

(gutteridge)

2019-03-03 21:11:54 UTC MAIN commitmail json YAML

cvs.1 & cvs.texinfo: minor amendments and cvs.1 regen

Put a cross-reference to "init" back in "Creating a Repository" and
other minor formatting tweaks, and regenerate cvs.1 to reflect the
previous changes by christos@ in cvs.texinfo r. 1.7.

(gutteridge)

2019-03-03 20:34:43 UTC MAIN commitmail json YAML

s/a DARPA Internet address/an Internet address/

From OpenBSD.

(maya)

2019-03-03 17:55:04 UTC MAIN commitmail json YAML

Traverse into external/bsd/llvm/lib when building libraries.

This allows things that occur after lib (like do-x11) to depend on llvm
libraries already existing.

We need libexecinfo, so adding llvm after the 2nd library barrier.

(maya)

2019-03-03 17:52:32 UTC MAIN commitmail json YAML

2019-03-03 17:46:01 UTC MAIN commitmail json YAML

Make the includes target run the custom include targets.

This avoids the need for a .WAIT here, and later makes it possible
for non-llvm things to not worry about llvm includes not being created
yet (as includes runs before a lot of other things)

suggested by mrg, build-tested by agc, thanks!

(maya)

2019-03-03 17:37:36 UTC MAIN commitmail json YAML

Fix bug, the entry we're iterating on is 'current', not 'entry'. Here only
the first entry gets wired in.

(maxv)

2019-03-03 17:33:33 UTC MAIN commitmail json YAML

Fix bug, PG_W is 'wired', not 'writable'.

(maxv)

2019-03-03 17:09:24 UTC MAIN commitmail json YAML

"s_cir" function is now named "s_cir_rx"

(jmcneill)

2019-03-03 17:00:22 UTC MAIN commitmail json YAML

2019-03-03 16:29:00 UTC MAIN commitmail json YAML

2019-03-03 14:05:41 UTC MAIN commitmail json YAML

Retroactively add some missing changes:

arm: Add support for Allwinner A64 SoC.
arm: Add support for Allwinner A13 and R8 SoCs.
arm: Add support for Allwinner H5 SoC.
arm: Add support for NextThing GR8 SoC.
arm: Add SMP support for Allwinner multi-cluster SoCs (A83T, A80)
arm: Update Amlogic S805 SoC support to use FDT based configuration.

(jmcneill)

2019-03-03 13:46:40 UTC MAIN commitmail json YAML

arm: Add support for Amlogic S905 SoC.

(jmcneill)

2019-03-03 12:54:58 UTC MAIN commitmail json YAML

Reset device at attach and fix eMMC 1.8V flags

(jmcneill)

2019-03-03 12:54:07 UTC MAIN commitmail json YAML

2019-03-03 11:44:18 UTC MAIN commitmail json YAML

Add Amlogic dtb files to arm64.img

(jmcneill)

2019-03-03 11:11:19 UTC netbsd-8 commitmail json YAML

2019-03-03 11:10:16 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #1202):

sys/sys/cdefs.h: revision 1.138

Stop mangling __func__ for C++11 and newer

Drop local logic between GCC 2.4 and GCC 2.6 that used __PRETTY_FUNCTION__.

This caused __func__ to be redefined for all C++ programs and use a
different behavior than intended by the compiler (Clang and GCC).
__PRETTY_FUNCTION__ prints all the prototype not just function name,
contrary to __FUNCTION__ and __func__.

__func__ is now an integral part of C99 and C++11, shipped by a compiler.
This change aligns the behavior of C++ programs using __func__ to other
Operating Systems. The difference caused unnecessary fallout in regression
test suites in projects (LLVM, fish, ...).

(martin)

2019-03-03 11:09:04 UTC MAIN commitmail json YAML

put drmmode_udev_notify() under HAVE_LIBUDEV.

(mrg)

2019-03-03 11:01:48 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1198):

usr.sbin/arp/arp_rumpops.c: revision 1.2
usr.sbin/arp/arp_hostops.c: revision 1.2
usr.sbin/arp/arp.c: revision 1.64
usr.sbin/arp/arp.c: revision 1.65
usr.sbin/arp/prog_ops.h: revision 1.2

Teach arp that it's okay to close sockets after using them.
(this requires adding a close op to the rump turds)

Fixes PR 53974 reporting too many open files.

-

arp(8): one more to close socket.

(martin)

2019-03-03 09:44:37 UTC MAIN commitmail json YAML

2019-03-03 09:31:52 UTC MAIN commitmail json YAML

2019-03-03 09:27:12 UTC MAIN commitmail json YAML

protect config.h include with HAVE_CONFIG_H.
pass const char * to things wanting const not non-const.

(mrg)

2019-03-03 09:26:04 UTC MAIN commitmail json YAML

2019-03-03 09:19:02 UTC MAIN commitmail json YAML

define HAVE_INET_ATON for new xhost.

(mrg)

2019-03-03 09:18:36 UTC MAIN commitmail json YAML

2019-03-03 09:12:40 UTC MAIN commitmail json YAML

merge xhost 1.0.8 and xvinfo 1.1.4.

(mrg)

2019-03-03 08:36:22 UTC MAIN commitmail json YAML

2019-03-03 08:17:43 UTC MAIN commitmail json YAML

2019-03-03 07:08:48 UTC MAIN commitmail json YAML

2019-03-03 07:04:40 UTC MAIN commitmail json YAML

Add KASAN use-after-scope detection in aarch64, tested by Ryo Shimizu,
thanks.

(maxv)

2019-03-03 07:01:09 UTC MAIN commitmail json YAML

Choose which CPUID bits to allow, rather than which bits to disallow. This
is clearer, and also forward compatible with future CPUs.

While here be more consistent when allowing the bits, and sync between
nvmm-amd and nvmm-intel. Also make sure to disallow AVX, because the guest
state we provide is only x86+SSE. Fixes a CentOS panic when booting on
NVMM, reported by Jared McNeill, thanks.

(maxv)

2019-03-03 04:51:57 UTC MAIN commitmail json YAML

- smart vendor support now does try to guess the vendor,
  adjust the BUGS to suit
- claim some copyright

(mrg)

2019-03-03 04:48:20 UTC MAIN commitmail json YAML

add a samsung specific SMART table with:

235 - POR Recovery Count
243 - SATA Downshift Count
244 - Thermal Throttle Status
245 - Timed Workload Media Wear
251 - NAND Writes

all 5 turn up on newer samsung SSDs, though 3 of them all
read 65535 for me across muliplte devices.

(mrg)

2019-03-03 03:20:43 UTC MAIN commitmail json YAML

Make it clear when displaying data from the MBR.

(jnemeth)

2019-03-03 02:28:14 UTC MAIN commitmail json YAML

add some more FAT file system types

(jnemeth)

2019-03-03 02:21:07 UTC MAIN commitmail json YAML

Fix the build by merging duplicate "init" sections.

(christos)

2019-03-02 21:30:40 UTC MAIN commitmail json YAML

cvs.1 & cvs.texinfo: add details about "init"

Add a section about the "init" command that has been missing all this
time. Part of the basic description is resurrected from r. 1.20 of
cvs.1 (in its prior incarnation in the CVS project tree under /man
rather than /doc), contributed by Tom Lees back in 1999. The caveat
about the history file is copied from elsewhere in the current
cvs.texinfo file. Additional fragments written by me. Addresses the
PR bin/45446.

(gutteridge)

2019-03-02 19:59:06 UTC MAIN commitmail json YAML

2019-03-02 16:55:13 UTC MAIN commitmail json YAML

Validate burst and width arguments.

Also add some more register definitions, and a (disabled) example of
how to set the DMA flow control mode.

(jakllsch)

2019-03-02 14:21:19 UTC MAIN commitmail json YAML

Catch up with MI pci changes.

(christos)

2019-03-02 13:21:08 UTC MAIN commitmail json YAML

Add support for Meson GXBB

(jmcneill)

2019-03-02 12:25:15 UTC MAIN commitmail json YAML

2019-03-02 12:24:44 UTC MAIN commitmail json YAML

Setup RGMII mode for Meson DWMAC

(jmcneill)

2019-03-02 11:15:55 UTC MAIN commitmail json YAML

When acquiring a GPIO, disable any conflicting pinctrl function groups

(jmcneill)

2019-03-02 03:21:17 UTC MAIN commitmail json YAML

Implement support for multi-segment transfers.
Make more efficent use of DMA descriptor table memory.

(jakllsch)

2019-03-02 01:01:20 UTC MAIN commitmail json YAML

Refactor signal6-8 tests in t_ptrace_wait*

Transform original tests into new ones:
- fork_singalmasked
- fork_singalignored
- vfork_singalmasked
- vfork_singalignored
- vforkdone_singalmasked
- vforkdone_singalignored

All the signalignored ones pass, the remaining ones of them fail.

(kamil)

2019-03-01 23:20:13 UTC MAIN commitmail json YAML

Fix whitespace.  (In the source code, not in the functionality.)

(jakllsch)

2019-03-01 23:17:05 UTC MAIN commitmail json YAML

Underline when the attribute say underline, not when it says to reverse.

(jakllsch)

2019-03-01 23:14:13 UTC MAIN commitmail json YAML

Reset 'height' before underlining in rasops32_putchar_aa().

Prevents segfault when underlining whitespace in the upper left cell.

(jakllsch)

2019-03-01 19:02:43 UTC netbsd-8 commitmail json YAML

2019-03-01 18:59:58 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #1201):

tests/kernel/kqueue/read/t_ttypty.c: revision 1.3
sys/kern/tty_pty.c: revision 1.145

Fix reporting EOF via kevent and add a test case

Fix the kernel pty driver to report closed slave via master's kevent
EVFILT_READ.  This behavior matches the behavior for pipes, is
consistent with how FreeBSD implements it and is relied upon by LLDB's
main loop implementation.

Includes feedback by kre and kamil (from tech-kern), commit approved
by kamil.

(martin)

2019-03-01 17:41:05 UTC netbsd-8 commitmail json YAML

Apply upstream patch, requested by kamil in ticket #1200, to fix the
build of gdb with newer gcc (like in NetBSD-current):

(string_to_explicit_location): Use NULL, not '\0'.

(martin)

2019-03-01 17:33:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1199):

sys/dev/pci/ixgbe/ixv.c: revision 1.109
sys/dev/pci/ixgbe/ixgbe.h: revision 1.54
sys/dev/pci/ixgbe/ix_txrx.c: revision 1.52
sys/dev/pci/ixgbe/ixgbe.c: revision 1.174

  Fix a bug that if_link_state_change(ifp, LINK_STATE_DOWN) isn't called unless
link goes up at least one time. Without this change, never linkup-ed media
keeps LINK_STATE_UNKNOWN instead of LINK_STATE_DOWN.

(martin)

2019-03-01 17:29:32 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #1197):

sys/dev/scsipi/st.c: revision 1.236
sys/dev/scsipi/st.c: revision 1.237
sys/dev/scsipi/files.scsipi: revision 1.42

Fix PR kern/53949:

Fix inconsistent/incomplete file mark handling to conform again
to mtio(4) at close(2) time. This was necessary as the PREVENT/ALLOW
bracket was reduced from a whole mount session to cover only the
open(2)/close(2) time on ~2002-03-22. The rationale was to allow
robots and humans to change the media during a mount session.

Unfortunately this lead to file marks being written to potentially other
media at the beginning on drives that used the two file marks as EOM
pattern. In order for that to happen the media had to be removed after
data and at most one file mark had been written before removal.

The mount error message has been clarified and a warning about
potential data/file mark lossage on UNIT ATTENTION
during an active mount session with unfinished file marks has been
added.

While there, fix, but disable the commented SUN compatibility to write
final file marks by opening and immediately closing the device
in O_WRONLY mode. That code has not been working since around 1998.
It can now be enabled with options ST_SUNCOMPAT.
Additionally debug output coverage has been extended.

-

Correct printing type of b_blkno (int64_t) in st.c

Fixes build with kUBSan on NetBSD/i386.
  Fix, but disable the commented SUN compatibility in st.c to write
  final file marks by opening and immediately closing the device
  in O_WRONLY mode. That code has not been working since around 1998.
  It can now be enabled with options ST_SUNCOMPAT.

(martin)

2019-03-01 17:02:21 UTC MAIN commitmail json YAML

msg_prompt_win: allow automatic window height calculation (by passing
height = -1).

(martin)

2019-03-01 16:42:11 UTC MAIN commitmail json YAML

Use getfsspecname() to fill the filesystem argument in dumpdates.
While here, make sure that the error strings terminate with newline
consistently, and add a function that adds the system error string.

(christos)

2019-03-01 14:53:12 UTC MAIN commitmail json YAML

Handle processor private interrupts better and add support for the PMU
interrupt.

Thanks to jmcneill for review and suggestions.

(skrll)

2019-03-01 12:25:09 UTC MAIN commitmail json YAML

fix typo. pointed out by pgoyette@n.o.

(nonaka)

2019-03-01 12:23:10 UTC MAIN commitmail json YAML

commented out hvkvp entry.

(nonaka)

2019-03-01 11:06:57 UTC MAIN commitmail json YAML

2019-03-01 10:02:33 UTC MAIN commitmail json YAML

Remove unused definition.

(nonaka)

2019-03-01 09:57:32 UTC MAIN commitmail json YAML

Fix return value.  or_and_fetch should return new value.

(isaki)

2019-03-01 09:26:00 UTC MAIN commitmail json YAML

- Almost all ppbreg.h's definitions are also in pcireg.h. Remove duplicated
  definitions from ppbreg.h and move some definitions from ppbreg.h to
  pcireg.h.
- Change fast back-to-back "capable" to "enable" in pci_subr.c.
- Print Primary Discard Timer, Secondary Discard Timer, Discard Timer Status
  and Discard Timer SERR# Enable bit in pci_subr.c.
- PCI_BRIDGE_PREFETCHBASE32_REG and PCI_BRIDGE_PREFETCHLIMIT32_REG are
  "upper" 32bit registers, rename to *UP32_REG to avoid confusion.
- Use macro.

(msaitoh)

2019-03-01 09:21:06 UTC MAIN commitmail json YAML

Fix build for i386.

The acpi_intr_establish function should really take an AD_HANDLE parameter.

(mlelstv)

2019-03-01 09:02:03 UTC MAIN commitmail json YAML

2019-03-01 08:17:51 UTC MAIN commitmail json YAML

2019-03-01 08:15:23 UTC MAIN commitmail json YAML

#if 0 the x and y symbols in GLIBCXX_3.4 namespace.  they cause
duplicate symbols on netbsd.  see PR#54027.

with this disabled, turn on using the symver-config.h for the
gnu.ver processing so that other defines are handled.

fix some depends for gnu.ver processing.

(mrg)

2019-03-01 08:05:46 UTC MAIN commitmail json YAML

2019-03-01 07:02:56 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2019-03-01 06:15:02 UTC MAIN commitmail json YAML

The previous commit was obviously made by a broken mindless automoton
with an IQ that underflows when one attempts to enter it as an
unnormalised 160 bit long long double...

Whoever would believe that (~0 & anything) was a meaningful thing
to write?  And three times in one #define.  That could not possibly
have been me, could it?

Simplify, simplify, simplify. NFC.

(kre)

2019-03-01 06:14:52 UTC MAIN commitmail json YAML

Add missing alias for __atomic_fetch_nand_N.
XXX I'm not sure why does llvm/sparc call __atomic instead of
    __sync though.
XXX atomic_*_cas.c should be more symmetric...

(isaki)

2019-03-01 05:41:56 UTC MAIN commitmail json YAML

2019-03-01 05:39:01 UTC MAIN commitmail json YAML

Revert previous hack.
Now all libc have __sync_and_and_fetch functions.

(isaki)

2019-03-01 05:23:35 UTC MAIN commitmail json YAML

Inspired by (really the need for) Maya's patch to pkgsrc/shells/bash
to allow bash to build fdflags on Solaris 10, here are some mods that
fix that, and some other similar issues in the NetBSD version of fdflags.

The bash implementation of fdflags is based upon the one Christos did for
the NetBSD sh, so the issues are similar ... the NetBSD sh cannot yet
(easily anyway) build on anything except NetBSD, so this change makes
no current difference at all (just adds some compile time tests (#ifdef)
which always work out the way things did before, when built on NetBSD).

However, there is no system on which any modern shell can hope to work
which does not support close on exec, or fcntl(F_SETFD,...) to set it.
The O_CLOEXEC and FD_CLOEXEC definitions might not exist, but close on
exec can still be manipulated.  Since the primary rationale for
the fdflags builtin was to be able to manipulate that state bit from
scripts, it would be annoying to lose that one, and keep all the (less
important) others, just because O_CLOEXEC is not defined, so do the
fix (workaround) a different way than was done in the bash patch.

Further, more than fdflags() will fail if O_CLOEXEC is not defined,
so handle that as well.

Also fix another oddity ... (noticed by reading the code) - if
fcntl(F_GETFL,...) returned any bits set that we don't understand,
the code was supposed to simply print their values as a hex constant,
when fdflags is run with -v.    However, the getflags() function was
clearing all bits that the code did not know about ... so there is
no way any unknown bit could ever make it out to be printed.  Handle
that a different way - instead of clearing unknown bits, clear any
bits that get returned which we understand, but do not want to deal
with (stuff like O_WRONLY, which should not be returned from the
fcntl(), but who knows...)  Leave any unknown bits that happen to be
set, set, so that printone() can display them if appropriate.
(This is most likely to happen when running an older shell on a new
kernel where the kernel supports some new flag that the shell has
not been taught to understand).

NFCI that anyone should notice anytime soon.

(kre)

2019-03-01 04:39:37 UTC MAIN commitmail json YAML

add ./usr/include/ofppc for ofppc builds.

(how many more builds will i find like this?  the end result
is that i think we should generate the ./usr/include/$MACHINE
entry, i think, but i have to survey many ports.)

(mrg)

2019-03-01 04:29:20 UTC MAIN commitmail json YAML

fix a typo in a comment

(mrg)

2019-03-01 03:20:50 UTC MAIN commitmail json YAML

2019-03-01 03:05:08 UTC MAIN commitmail json YAML

Document kern.uidinfo.semcnt.

(christos)

2019-03-01 03:03:19 UTC MAIN commitmail json YAML

PR/53998: Joel Bertrand:  Limit the number of semaphores on a
per-user basis not a per-process.  We cannot really keep track on
a per-process basis because a parent process can create the semaphore
and a child can free it taking credit for it.  There is also a
similar issue about resource exhaustion if we limited the number
of lwps per process as opposed to per user (which we don't).

(christos)

2019-03-01 02:40:01 UTC MAIN commitmail json YAML

2019-03-01 02:38:17 UTC MAIN commitmail json YAML

make the conversion from degC to uK a macro instead of open
coding it 4 places.

(mrg)

2019-03-01 02:33:55 UTC MAIN commitmail json YAML

since SX can trigger NMIs dump the status and error registers along with
the rest if sx is present.

(macallan)

2019-03-01 02:33:43 UTC MAIN commitmail json YAML

add some intel specific smart values, and be more specific for
a bunch of micron/crucial values.

(mrg)

2019-03-01 02:30:42 UTC MAIN commitmail json YAML

2019-03-01 02:28:27 UTC MAIN commitmail json YAML

2019-03-01 02:22:27 UTC MAIN commitmail json YAML

poll SX_BZ instead of SX_MT, also complain and dump register info if CG14Wait()
times out.

(macallan)

2019-02-28 22:18:21 UTC MAIN commitmail json YAML

Disable warning about atomic alignment for all bind. It's used too
often.

(joerg)

2019-02-28 17:41:27 UTC MAIN commitmail json YAML

Make xgetchar() return an int like getchar() does, and remove needless cast.

(gson)

2019-02-28 17:40:06 UTC MAIN commitmail json YAML

one more for the atomic references on clang.

(christos)

2019-02-28 16:56:35 UTC MAIN commitmail json YAML

2019-02-28 09:50:03 UTC MAIN commitmail json YAML

basic mknative bootstrap-libgcc for riscv64

(mrg)

2019-02-28 09:49:14 UTC MAIN commitmail json YAML

2019-02-28 09:16:42 UTC MAIN commitmail json YAML

call this bozohttpd 20190228, and merge the CHANGES entries from the
previous release.

(mrg)

2019-02-28 08:28:22 UTC MAIN commitmail json YAML

add ssl specific timeout value (30s).  if SSL_accept() doesn't
work with in this timeout value, ssl setup now fails.

mostly different from, but inspired from the patch in PR 50655

(mrg)

2019-02-28 05:40:58 UTC MAIN commitmail json YAML

- Remove extra cast.
- Cosmetic change.

(msaitoh)

2019-02-28 05:25:35 UTC MAIN commitmail json YAML

No functional change:
- Use TAILQ_FOREACH{,_SAFE}() macro.
- KNF.

(msaitoh)

2019-02-28 03:05:46 UTC MAIN commitmail json YAML

Set RGMII delay for MAC side correctly on RK3399.

(msaitoh)

2019-02-28 02:35:38 UTC MAIN commitmail json YAML

2019-02-28 01:20:25 UTC MAIN commitmail json YAML

arp(8): one more to close socket.

(nonaka)

2019-02-28 01:11:04 UTC MAIN commitmail json YAML

rework some commented code so it is easier to enable.

(mrg)

2019-02-28 00:47:10 UTC MAIN commitmail json YAML

Split up the initialization of pcihost_fdt so we can borrow and override
its innards in an upcoming driver.

(jakllsch)

2019-02-28 00:17:13 UTC MAIN commitmail json YAML

Implement support for IO space, and better-handle both variants of MMIO space.

(jakllsch)

2019-02-27 23:29:50 UTC MAIN commitmail json YAML

Teach arp that it's okay to close sockets after using them.
(this requires adding a close op to the rump turds)

Fixes PR 53974 reporting too many open files.

(dholland)

2019-02-27 21:37:24 UTC MAIN commitmail json YAML

work around a GCC 7 vs sparc (32 bit) issue i haven't figured out
the real cause of yet.

mark npf_init() as non-static.  for a yet-unknown reason, when this
function is inlined by the compiler (or a human!) into the single
caller, some CPUs end up in a hung state that can't be interrupted
eventually leading to system hang.  eg:

[  8.9693040] root on hme0
[  8.9862690] nfs_boot: trying DHCP/BOOTP
xcall(cpu2,0xf0240ac8) from 0xf0241170: couldn't ping cpus: cpu1

is the symptom though sometimes nfs_boot is actually able to
complete mountroot before it hangs.

this may be a compiler bug but the symptom and the trigger are
far removed and my so-far reading of the "broken" npf_init
inlining has shown no issues, however, i haven't completed a
full scan of this asm in the past month so i'm commiting this
workaround for now.

(mrg)

2019-02-27 18:21:04 UTC MAIN commitmail json YAML

Use symbolic MII_MODEL_xxMARVELL_I210 instead of a literal 0 in makphy_isi210().

(jakllsch)

2019-02-27 17:01:57 UTC MAIN commitmail json YAML

Add fdtbus_intr_establish_byname() helper.

(jakllsch)

2019-02-27 16:56:00 UTC MAIN commitmail json YAML

2019-02-27 16:30:41 UTC MAIN commitmail json YAML

Adjust residual calculation in "find index by name" idioms to take into
account the trailing NUL on each name.  Some other similar instances of
this idiom already account for this.

(In preparation to factor out this idiom into its own function.)

(jakllsch)

2019-02-27 15:32:11 UTC MAIN commitmail json YAML

Make the _and_and_ have-nots compile.

(christos)

2019-02-27 12:59:35 UTC MAIN commitmail json YAML

Simplify previous even further by using hline() instead of a hand coded
version.

(martin)

2019-02-27 11:35:35 UTC MAIN commitmail json YAML

Simplify previous, suggested by simonb.

(martin)

2019-02-27 09:11:01 UTC MAIN commitmail json YAML

also bump the X in "nbX" with previous

(mrg)

2019-02-27 09:10:38 UTC MAIN commitmail json YAML

bump netbsd gcc version date.

(mrg)

2019-02-27 08:22:43 UTC MAIN commitmail json YAML

2019-02-27 08:21:42 UTC MAIN commitmail json YAML

avoid hand maintained lists but use values mknative pulls out.
unfortunately, somefiles have hand coded rules.

(mrg)

2019-02-27 08:19:56 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk@1.14 / diff / nxr@1.14
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/c++config.h@1.28 / diff / nxr@1.28
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/defs.mk@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/c++config.h@1.29 / diff / nxr@1.29
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/defs.mk@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/c++config.h@1.29 / diff / nxr@1.29
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/defs.mk@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/c++config.h@1.27 / diff / nxr@1.27
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/defs.mk@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/c++config.h@1.25 / diff / nxr@1.25
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/c++config.h@1.25 / diff / nxr@1.25
      :
(more 112 files)
mknative-gcc for most platforms again after recent tools/gcc/Makefile change.

(mrg)

2019-02-27 07:16:00 UTC MAIN commitmail json YAML

Fix RGMII clock 25MHz setting (for 100Mbps).

(msaitoh)

2019-02-27 04:10:56 UTC MAIN commitmail json YAML

Finish the fixes from Feb 4 for handling of random data that
matches the internal CTL* chars.

The earlier fixes handled CTL* char values in var expansions,
but not in various other places they can occur (positional
parameters, $@ $* -- even potentially $0 and ~ expansions,
as well as byte strings generated from a \u in a $'' string).

These should all be correctly handled now.  There is a new
ISCTL() macro to make the test, rather than using the old
BASESYNTAX[c]==CCTL form (which us still a viable alternative)
as the new way allows compiler optimisations, and less mem
references, so it should be smaller and faster.

Also, be sure in all cases to remove any CTLESC (or other)
CTL* chars from all strings before they are made available
for any external use (there was one case missed - which didn't
matter when we weren't bothering to escape the CTL* chars at
all.)

XXX pullup-8 (will need to be via a patch) along with the Feb 4 fixes.

(kre)

2019-02-27 04:03:06 UTC MAIN commitmail json YAML

Protect sysctl_rtable with KERNEL_LOCK and softnet_lock

In the function the routing table could be accessed without any locks, which was
unsafe.  Actually, on netbsd-7, a kernel panic happened(*).  The situation of
locking hasn't changed since netbsd-7 so we still need to hold the big locks on
-current (and netbsd-8) too.

Note that if NET_MPSAFE is enabled, the routing table is protected by its own
lock and we don't need the locks.

Reported and tested on netbsd-7 by sborrill@

(*) http://mail-index.netbsd.org/tech-net/2018/11/08/msg007153.html

(ozaki-r)

2019-02-27 03:05:39 UTC MAIN commitmail json YAML

2019-02-27 03:05:18 UTC MAIN commitmail json YAML

- Add SMSC LAN83C185 10/100 PHY from OpenBSD
- Add SMSC LAN8740 10/100 media interface

(msaitoh)

2019-02-27 03:01:08 UTC MAIN commitmail json YAML

this file was moved to netbsd32_compat_14_sysv.c.

(mrg)

2019-02-27 02:27:38 UTC MAIN commitmail json YAML

remove dated comment that was handled with audiomp or later.
sc_dying being set earlier assumes audio_enter() will reject
attempts to use this device.

(mrg)

2019-02-27 02:20:19 UTC MAIN commitmail json YAML

Instead of deleting the rules individually use flush to kill them all at
once for efficiently. Also when restoring, don't nuke the database
(Phil Rulon).

(christos)

2019-02-26 21:55:28 UTC MAIN commitmail json YAML

Fix GPIOH pin groups and add GPIOY

(jmcneill)

2019-02-26 21:24:44 UTC MAIN commitmail json YAML

2019-02-26 21:16:03 UTC MAIN commitmail json YAML

2019-02-26 21:09:18 UTC MAIN commitmail json YAML

Remove "--disable-libstdcxx-dual-abi". This option does not do what
it says: Instead of disabling the dual-abi and letting you choose
which one you want, it disables the cxx11 abi and the
"--with-default-libstdcxx-abi=OPTION" becomes a noop. Removing the
old COW compatibility ABI is not easy. For more info see:

https://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

(christos)

2019-02-26 15:55:33 UTC MAIN commitmail json YAML

Compute storage size for a string correctly.

(joerg)

2019-02-26 13:09:35 UTC MAIN commitmail json YAML

Avoid string + int warning.

(joerg)

2019-02-26 12:23:12 UTC MAIN commitmail json YAML

Change the layout of the SEG state:

- Reorder it, to match the CPU encoding. This is the universal order,
  also used by Qemu. Drop the seg_to_nvmm[] tables.

- Compress it. This divides its size by two.

- Rename some of its fields, to better match the x86 spec. Also, take S
  out of Type, this was a NetBSD-ism that was likely confusing to other
  people.

(maxv)

2019-02-26 10:30:28 UTC MAIN commitmail json YAML

2019-02-26 10:18:39 UTC MAIN commitmail json YAML

Set hardseg to -1 rather than 0, because 0 can be a valid segment.

(maxv)

2019-02-26 10:01:41 UTC MAIN commitmail json YAML

2019-02-26 09:43:38 UTC MAIN commitmail json YAML

No functional change:
- Cosmetic change.
- Remove extra space between single quote and comma to make
  "grep \'i kdump-ioctl.c | sort -n -k 5,5 | uniq | column -t" happy.

(msaitoh)

2019-02-26 07:31:49 UTC MAIN commitmail json YAML

2019-02-26 06:52:34 UTC MAIN commitmail json YAML

Fix locking: it is fine if the lock is already key_so_mtx, this can happen
in socketpair. In that case don't take it.

Ok ozaki-r@

Reported-by: syzbot+901e2e5edaaaed21c069@syzkaller.appspotmail.com

(maxv)

2019-02-26 06:28:43 UTC MAIN commitmail json YAML

Push AT_STACKBASE. Otherwise, pthread_attr_getstack(3) cannot
find the stack address for initial thread (LID 1).

Now, rust for i386 and armv7 work on amd64 and aarch64,
respectively.

(rin)

2019-02-26 06:15:55 UTC MAIN commitmail json YAML

Cast to same type as parameter. NFCI.

(mlelstv)

2019-02-26 05:26:10 UTC MAIN commitmail json YAML

Add MI MII clause 45 MMD MDIO access macros via clause 22 indirect registers:

DESCRIPTION
    static inline int
    MMD_INDIRECT(struct mii_softc *sc, uint16_t daddr, uint16_t regnum):
Setup MMD device address and register number. It also setup
address incrementation function.

    static inline int
    MMD_INDIRECT_READ(struct mii_softc *sc, uint16_t daddr, uint16_t regnum,
      uint16_t *valp)):
Do MMD_INDIRECT() and then read the register.

    static inline int
    MMD_INDIRECT_WRITE(struct mii_softc *sc, uint16_t daddr, uint16_t regnum,
      uint16_t val):
Do MMD_INDIRECT() and then write the register.

RETURN VALUE
    Retruns 0 on success. Non-zero vaule on failure.

    Note that old PHYs have no indirect access registers. Accessing such
    devices with these functions cause timeout and return non-zero value
    (e.g. ETIMEDOUT).

EXAMPLE
Read MMD Auto negotiation device's EEE advertisement register,
drop 100BASE-TX support and write it.

uint16_t eeadvert;

/* Post increment is not required */
MMD_INDIRECT_READ(sc, MDIO_MMD_AN | MMDACR_FN_DATA,
    MDIO_AN_EEEADVERT, &eeadvert);
eeadvert &= ~AN_EEEADVERT_100_TX;

/*
* MMD device address and the register number are already set, so it's
* enough to read MII_MMDACR.
*/
PHY_WRITE(sc. MII_MMDACR, eeadvert);

(msaitoh)

2019-02-25 21:43:00 UTC MAIN commitmail json YAML

Add explicit cross-references to pserialize(9) for the sections about
ensuring that a localcount doesn't disappear while in the process of
being referenced, in the same manner as psref(9).

(pgoyette)

2019-02-25 20:47:37 UTC MAIN commitmail json YAML

2019-02-25 19:55:35 UTC MAIN commitmail json YAML

Properly extract the emulation path from the linker script template.

(joerg)

2019-02-25 19:30:17 UTC MAIN commitmail json YAML

2019-02-25 19:28:36 UTC MAIN commitmail json YAML

Attach syscon to "simple-mfd" devices and fix a bug with fdt_find_with_property

(jmcneill)

2019-02-25 19:28:01 UTC MAIN commitmail json YAML

Add SCF_NEED_BOUNCE command flag. Can be used by a driver to keep track of
which command(s) need data transfers to go through DMA bounce buffers.

(jmcneill)

2019-02-25 13:19:14 UTC MAIN commitmail json YAML

Fix typo in kcov.h

Should fix i386.

(kamil)

2019-02-25 10:49:16 UTC MAIN commitmail json YAML

Improve panic messages.

(maxv)

2019-02-25 10:25:40 UTC MAIN commitmail json YAML

Register missing CAT page spi.0 in distribution files

(kamil)

2019-02-25 10:23:01 UTC MAIN commitmail json YAML

Fix build of t_kcov

Correct the syntax that used to work in earlier uncommitted version.

(kamil)

2019-02-25 07:36:16 UTC MAIN commitmail json YAML

MMDACR_FN_{DATANPI,DATAPIRW,DATAPIW} are little hard to identify and might be
misread, so rename them to MMDACR_FN_{DATA,DATA_INC_RW,DATA_INC_W}.

(msaitoh)

2019-02-25 07:31:32 UTC MAIN commitmail json YAML

Fix the order in udp6_attach: soreserve should be called before
in6_pcballoc, otherwise if it fails there is still a PCB attached, and
we hit a KASSERT in socreate. In !DIAGNOSTIC this would have caused a
memory leak.

By the way I find the splsoftnet highly suspicious, in6_pcballoc already
does that.

Triggered by SyzKaller.

Reported-by: syzbot+7bace612ca3cc3e124f8@syzkaller.appspotmail.com

(maxv)

2019-02-25 06:59:37 UTC MAIN commitmail json YAML

It seems EEE support is not only on 8211F but on 8211D and newer.

(msaitoh)

2019-02-25 06:49:44 UTC MAIN commitmail json YAML

RIP6, CAN, SCTP and SCTP6 lack a length check in their _send() functions.
Fix RIP6 and CAN, add a big XXX in the SCTP ones.

Found by KASAN, triggered by SyzKaller.

Reported-by: syzbot+0b9692ae0f49f93b7dc7@syzkaller.appspotmail.com

(maxv)

2019-02-25 06:23:53 UTC MAIN commitmail json YAML

2019-02-25 06:23:33 UTC MAIN commitmail json YAML

Add non-xx'ed DAVICOM DM9101.

(msaitoh)

2019-02-25 06:00:40 UTC MAIN commitmail json YAML

Revert -r1.244-245 of ufs_vnops.c; they are wrong.
Fix the mistake in -r1.243 that made them look like reasonable changes.

(this does not affect whether the -r1.243 change works with the union
mount path in libc, but fixes an immediate hazard)

(dholland)

2019-02-25 04:56:30 UTC MAIN commitmail json YAML

- Add Broadcom BCM540[24], BCM5424 and BCM5466.
- Sort lines.

(msaitoh)