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 (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 11:22:31 UTC Now

2019-08-19 10:53:31 UTC MAIN commitmail json YAML

Use a unique name for the acpi ARM_PLATFORM definition

(jmcneill)

2019-08-19 10:44:35 UTC MAIN commitmail json YAML

2019-08-19 09:32:42 UTC MAIN commitmail json YAML

If we could not start extattr for some reason, don't advertise extattr in the
mount.

(christos)

2019-08-19 09:31:31 UTC MAIN commitmail json YAML

2019-08-19 09:30:30 UTC MAIN commitmail json YAML

- return (foo) -> return foo
- normalize all error messages to use __func__
- add more messages for startup failure (should perhaps auto-create
  the attributes directory and the user and system subdirs?)
- factor out common code

(christos)

2019-08-19 08:07:55 UTC MAIN commitmail json YAML

axe, udav, url, cue, kue, smsc, udav[*], upl, url and urdnis
are now all ported to usbmp and mpsafe interfaces, and have
all been tested too.

[*] udav has an issue with usbnet port for some devices.

(mrg)

2019-08-19 07:33:37 UTC MAIN commitmail json YAML

move the check against un_phyno from usbnet back into the drivers
that do this (axe, axen, mue, smsc, ure.)  it made mii scanning
only work for phy 0, and aue needs it for at least one device.

fix smsc to return usbd_status not -1 on failure.  XXX smsc was
writing to '*val' even in error cases, it does not now.

remove a double call to IFQ_SET_READY() (noticed by chuq).

avoid unlock+instant relock by using usbnet_lock_mii_un_locked().

(mrg)

2019-08-19 07:20:07 UTC MAIN commitmail json YAML

move the call to rnd_attach_source() earlier and add a matching
call to rnd_detach_source() into detach.

fixes an attach-detach-reattach issue where the rnd source was
already known.

(mrg)

2019-08-19 06:35:14 UTC MAIN commitmail json YAML

add USBHIST_CALLARGS() frontend to KERNHIST_CALLARGS().
add USBNETHIST_CALLARGS() frontend to USBHIST_CALLARGS().

use both in read/write reg, instead of aprint.

use %jx and (uintptr_t) and fix the 32 bit debug build.

(mrg)

2019-08-19 05:25:38 UTC MAIN commitmail json YAML

add vmx(4) basic statistics counters.

Sorry, I have forgotten this TODO in r1.40 commit message.

(knakahara)

2019-08-19 05:23:50 UTC MAIN commitmail json YAML

fix panic when vmx(4) is detached.

(knakahara)

2019-08-19 03:48:41 UTC MAIN commitmail json YAML

Support write protect gpio pin.

(hkenken)

2019-08-19 03:45:51 UTC MAIN commitmail json YAML

2019-08-19 03:25:40 UTC MAIN commitmail json YAML

2019-08-19 03:24:38 UTC MAIN commitmail json YAML

can: add missing mowner variables for MBUFTRACE

(ozaki-r)

2019-08-19 03:24:05 UTC MAIN commitmail json YAML

l2tp: initialize mowner variables for MBUFTRACE

(ozaki-r)

2019-08-19 03:23:30 UTC MAIN commitmail json YAML

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

tests: check pool object leaks

Currently only llentpl leaks can be detected.

(ozaki-r)

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

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

tests: enable to create interfaces other than shmif with rump_server_add_iface

For this change interfaces are destroyed in the reverse order of their
creations in case there are dependencies between interfaces.

(ozaki-r)

2019-08-19 03:20:28 UTC MAIN commitmail json YAML

tests: fix test header name

(ozaki-r)

2019-08-18 20:15:59 UTC MAIN commitmail json YAML

2019-08-18 16:49:30 UTC MAIN commitmail json YAML

Correct the memset(3)'s third argument in i386 biosdisk.c

The size of allocation is the size of the structure biosdisk, not the size
of a pointer.

(kamil)

2019-08-18 14:36:49 UTC netbsd-9 commitmail json YAML

2019-08-18 14:32:34 UTC MAIN commitmail json YAML

2019-08-18 14:32:05 UTC MAIN commitmail json YAML

Add Broadcom devices

(mlelstv)

2019-08-18 14:16:02 UTC MAIN commitmail json YAML

check speed argument conversion (Thierry Laronde)

(christos)

2019-08-18 13:32:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #89):
usr.sbin/sysinst/checkrc.c: revision 1.2
Fix memory leak (found by MKSANITIZER=yes build).

(msaitoh)

2019-08-18 13:31:21 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #88):
sbin/fsck/partutil.c: revision 1.16
Properly release the disk properties dictionary we received via
ioctl.
Detected by leak sanitizer when building with MKSANITIZER=yes.

(msaitoh)

2019-08-18 13:29:15 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #83):
usr.sbin/sysinst/util.c: revision 1.31
usr.sbin/sysinst/install.c: revision 1.10
usr.sbin/sysinst/install.c: revision 1.11
Fix some memory leaks in error paths
Oops, avoid double free.

(msaitoh)

2019-08-18 13:25:21 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #82):
usr.sbin/sysinst/util.c: revision 1.30
usr.sbin/sysinst/msg.mi.fr: revision 1.19
usr.sbin/sysinst/msg.mi.de: revision 1.15
usr.sbin/sysinst/msg.mi.es: revision 1.16
usr.sbin/sysinst/msg.mi.pl: revision 1.22
usr.sbin/sysinst/msg.mi.en: revision 1.21
PR 54473: fix error prompt when a set file is missing

(msaitoh)

2019-08-18 13:22:49 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #79):
usr.sbin/sysinst/disklabel.c: revision 1.13
Fix some "partition index" (as used in the abstract interface)
versus disklabel "partition letter" confusion.

(msaitoh)

2019-08-18 13:21:40 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #78):
usr.sbin/sysinst/gpt.c: revision 1.10
usr.sbin/sysinst/disklabel.c: revision 1.12
usr.sbin/sysinst/msg.mi.fr: revision 1.18
usr.sbin/sysinst/msg.mi.de: revision 1.14
usr.sbin/sysinst/partitions.c: revision 1.2
usr.sbin/sysinst/msg.mi.es: revision 1.15
usr.sbin/sysinst/msg.mi.pl: revision 1.21
usr.sbin/sysinst/partitions.h: revision 1.6
usr.sbin/sysinst/msg.mi.en: revision 1.20
usr.sbin/sysinst/mbr.c: revision 1.20
On architectures that usually do MBR/disklabel, nevertheless deal with
pure/plain disklabel disks, and explicitly offer this as partitioning
option when bootability is not a concern.

(msaitoh)

2019-08-18 13:19:53 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #77):
usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.6
usr.sbin/sysinst/arch/playstation2/md.c: revision 1.6
usr.sbin/sysinst/arch/evbppc/md.c: revision 1.6
usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.6
usr.sbin/sysinst/arch/zaurus/md.c: revision 1.6
usr.sbin/sysinst/arch/arc/md.c: revision 1.9
usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.6
usr.sbin/sysinst/arch/bebox/md.c: revision 1.6
usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.7
usr.sbin/sysinst/arch/landisk/md.c: revision 1.11
usr.sbin/sysinst/arch/prep/md.c: revision 1.9
usr.sbin/sysinst/arch/i386/md.c: revision 1.21
usr.sbin/sysinst/arch/evbmips/md.c: revision 1.6
usr.sbin/sysinst/arch/evbarm/md.c: revision 1.9
usr.sbin/sysinst/arch/cobalt/md.c: revision 1.9
usr.sbin/sysinst/arch/ofppc/md.c: revision 1.8
When we ask the user to select a partitioning scheme and they refuse
(that is: select "Exit" in the menu), abort installation.

(msaitoh)

2019-08-18 13:17:39 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #76):
usr.sbin/sysinst/partman.c: revision 1.42
Make sure to completely initialize dynamic menu entries.

(msaitoh)

2019-08-18 13:14:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #75):
distrib/evbarm/instkernel/instkernel/Makefile: revision 1.32
distrib/common/Makefile.mdset: revision 1.46
Allow individual MDSETTARGETS/MDSET_SUFFIXES to define optional dependencies
between themselves.
Use that to make netbsd-RPI_INSTALL.img depend on netbsd-RPI_INSTALL.bin,
resolving the parallel build race.

(msaitoh)

2019-08-18 13:12:27 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #74):
distrib/utils/libhack/strcasecmp.c: revision 1.2
distrib/utils/libhack/strcasecmp.c: revision 1.3
Make this at least work for ASCII strings (there are way more users
than libcurses in various crunched environments, so the original assumption
of a very limited set of inputs was wrong).
use unsigned char to prevent sign extension.

(msaitoh)

2019-08-18 11:53:23 UTC MAIN commitmail json YAML

G/C mention of SCIOCREPROBE, removed in 1998.

Thanks to Hiroyuki Bessho in PR kern/34146

(maya)

2019-08-18 11:46:38 UTC MAIN commitmail json YAML

regen and add kue adapters:

ACTIONTEC KL5KUSB101 USB Ethernet adapter
ALLIEDTELESYN AT-USB10 USB Ethernet Adapter
SILICOM Psion Gold Port Ethernet (existing usbdevs entry)

(mrg)

2019-08-18 11:45:23 UTC MAIN commitmail json YAML

add two kue(4) adapters:
ACTIONTEC KL5KUSB101 USB Ethernet adapter
ALLIEDTELESYN AT-USB10 USB Ethernet Adapter

(mrg)

2019-08-18 11:11:48 UTC MAIN commitmail json YAML

Fix memory leak (found by MKSANITIZER=yes build).

(martin)

2019-08-18 11:08:57 UTC MAIN commitmail json YAML

Properly release the disk properties dictionary we received via
ioctl.
Detected by leak sanitizer when building with MKSANITIZER=yes.

(martin)

2019-08-18 10:02:11 UTC netbsd-9 commitmail json YAML

2019-08-18 10:00:41 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #87):

sys/arch/mac68k/mac68k/machdep.c: revision 1.354

We've switched to 8KB page.

XXX
pullup to netbsd-9

(martin)

2019-08-18 09:58:49 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #86):

sys/dev/pci/radeonfb.c: revision 1.105

Support bitmap fonts with stride 4 (i.e., width 17 to 32).

(martin)

2019-08-18 09:57:40 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #85):

sys/external/bsd/drm2/i915drm/intelfb.c: revision 1.17

PR kern/52229:

Correct linebytes (stride) for intelfb(4), which fixes screen
corruption on the following machines:
- MacBookAir5,2 (Ivy Bridge, 13-inch, Mid 2012)
- MacBookAir6,1 (Haswell, 11-inch, Early 2014)

Now, wsdisplay(4) console as well as intel(4) driver of Xorg
works fine on these machines.

Also there's no side effects found on another machine:
- ThinkPad T480s (Kaby Lake R)

XXX
pullup to netbsd-9

(martin)

2019-08-18 09:54:12 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #84):

sys/arch/mac68k/conf/WSFB.common: revision 1.2
sys/arch/mac68k/conf/WSFB.common: revision 1.3

Mimic macppc color/font settings, which also reduces differences b/w
color and monochrome color depths.

Add commented out GENFB_SHADOWFB option.

(martin)

2019-08-18 09:52:12 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #81):

sys/kern/subr_pool.c: revision 1.253
sys/kern/subr_pool.c: revision 1.254
sys/kern/subr_pool.c: revision 1.255

Kernel Heap Hardening: perform certain sanity checks on the pool caches
directly, to immediately detect certain bugs that would otherwise have
been detected only later on the pool layer, if the buffer ever reached
the pool layer.

-

Replace || by && in KASAN, to increase the pool coverage.
Strictly speaking, what we want to avoid is poisoning buffers that were
referenced in a global list as part of the ctor. But, if a buffer indeed
got referenced as part of the ctor, it necessarily has to be unreferenced
in the dtor; which implies it has to have a dtor. So we want both a ctor
and a dtor, and not just one of them.

Note that POOL_QUARANTINE already implicitly provides this increased
coverage.

-

Initialize pp->pr_redzone to false. For some reason with KUBSAN GCC does
not eliminate the unused branch in pr_item_linkedlist_put(), and this
leads to a unused uninitialized access which triggers KUBSAN messages.

(martin)

2019-08-18 09:51:06 UTC MAIN commitmail json YAML

Fix copy-paste.

Pointed out by Takehiko NOZAKI.

(rin)

2019-08-18 09:46:58 UTC MAIN commitmail json YAML

fix a think-o in the previous: don't return when saving the first error.
from skrll@.

(mrg)

2019-08-18 09:43:26 UTC MAIN commitmail json YAML

note kue/upl ported to usbnet.

(mrg)

2019-08-18 09:29:38 UTC MAIN commitmail json YAML

update usbnet slight:
- drivers that want to use if_input() will also set _if_input.  for
  now, avoid attaching a per-cpu queue for them.  use if_initialize()
  and if_register().
- when stopping pipes, don't give up after the first failure, but
  keep the first failure error for return and keep going
- if 0 a KASSERT() in usbnet_init_rx_tx().  there's a path via
  if_mcast_op() that can have the ifnet unlocked today..
- in usbnet_watchdog(), abort the pipe instead of faking tx
  completion.  avoids issues with devices with more than one tx
  descriptor, as well as avoiding triggering usb asserts.

with these, upl(4) port to usbnet(9) now works.  (would be a version
bump, but upl(4) and the unported umb(4) are the only consumers that
would care.)

(mrg)

2019-08-18 09:14:30 UTC MAIN commitmail json YAML

PR bin/54343:  We want the callback_args.machine to be NULL if it is not present in the DB.

The previous commit fixed the problem of allowing apropos to not crash and
produce output even if the database is missing values for certain mandatory
fields, such as name, section etc. Normally we don't expect those values
to be missing in the database but in case of parsing errors it can happen.

However, the machine architecture is an optional field since not all man pages
are hardware specific so that should be allowed to be set to NULL if not
present in the database.

(abhinav)

2019-08-18 09:05:49 UTC MAIN commitmail json YAML

2019-08-18 09:05:32 UTC MAIN commitmail json YAML

add 3 devices for upl(4) host-to-host networking:
- belkin F5U258
- national instruments USB host to host adapter
- prolific id 25a1

(mrg)

2019-08-18 08:16:34 UTC MAIN commitmail json YAML

usbnet_ifp() doesn't work before usbnet_attach().  avoid it.

(mrg)

2019-08-18 08:12:36 UTC MAIN commitmail json YAML

Typo fixes, 'file system'; new sentence, new line; expand IA-32.
Bump date for previous.

(wiz)

2019-08-18 07:25:54 UTC MAIN commitmail json YAML

Don't mark /etc/X11/conf.d entries obsolete: a user may choose to have
an entry here.

(maya)

2019-08-18 07:05:16 UTC MAIN commitmail json YAML

2019-08-18 07:03:55 UTC MAIN commitmail json YAML

We've switched to 8KB page.

XXX
pullup to netbsd-9

(rin)

2019-08-18 06:28:42 UTC MAIN commitmail json YAML

Align parsing of boot devices. This allows to specify device names
as strings in the boot loader and the kernel configuration.

(mlelstv)

2019-08-18 04:14:41 UTC MAIN commitmail json YAML

2019-08-18 04:13:24 UTC MAIN commitmail json YAML

sockstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlgetmibinfo and sysctlnametomib.

(kamil)

2019-08-18 04:12:07 UTC MAIN commitmail json YAML

traceroute: Add indirection of symbol to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of getifaddrs.

(kamil)

2019-08-18 04:10:22 UTC MAIN commitmail json YAML

sysctl: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname and sysctlgetmibinfo.

(kamil)

2019-08-18 02:42:40 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior. Found by kUBSan.

(msaitoh)

2019-08-18 02:23:48 UTC MAIN commitmail json YAML

Document new GPT and RAIDframe capacity of bootstrap code

While there, also document EFI setup and some bugs

(manu)

2019-08-18 02:18:25 UTC MAIN commitmail json YAML

2019-08-17 21:14:22 UTC MAIN commitmail json YAML

2019-08-17 18:08:06 UTC MAIN commitmail json YAML

Oops, avoid double free.

(martin)

2019-08-17 18:03:12 UTC MAIN commitmail json YAML

2019-08-17 17:51:19 UTC MAIN commitmail json YAML

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

2019-08-17 16:02:55 UTC MAIN commitmail json YAML

Set "enabled" value only when hpd.hpd is not RADEON_HPD_NONE(== 0xff) to
avoid 1 << 255. Found by kUBSan.

(msaitoh)

2019-08-17 15:50:05 UTC MAIN commitmail json YAML

2019-08-17 15:49:13 UTC MAIN commitmail json YAML

Set "enabled" value only when hpd.hpd is not RADEON_HPD_NONE(== 0xff) to
avoid 1 << 255. Found by kUBSan.

(msaitoh)

2019-08-17 12:37:49 UTC MAIN commitmail json YAML

Kernel Heap Hardening: use bitmaps on all off-page pools. This migrates 29
MI pools on amd64 from linked lists to bitmaps, which have higher security
properties.

Then, change the computation of the size of the PH pools: take into account
the bitmap area available by default in the ph_u2 union, and don't go with
&phpool[>0] if &phpool[0] already has enough space to embed a bitmap.

The pools that are migrated in this change all use bitmaps small enough to
fit in &phpool[0], therefore there is no increase in memory consumption.

(maxv)

2019-08-17 09:44:02 UTC MAIN commitmail json YAML

The udf_renamerace test case no longer fails due to PR kern/49046, but
it does fail due to PR kern/53865 on real hardware.

(gson)

2019-08-17 04:04:29 UTC MAIN commitmail json YAML

Avoid symbol clashes in test/rump/modautoload/t_modautoload with sanitizers

Set SANITIZER_RENAME_SYMBOL.t_modautoload to:

* sysctlbyname
* sysctlgetmibinfo

(kamil)

2019-08-17 00:14:48 UTC MAIN commitmail json YAML

Add PAXCTL_FLAG rules for MKSANITIZER

Add per-program rules to disable ASLR for ASan, TSan and MSan in all
sanitized programs. This flag is not needed for other supported sanitizers.

Without this change, sanitized init(8) dies early on startup.

Approach originally suggested by <joerg>

(kamil)

2019-08-16 23:07:20 UTC MAIN commitmail json YAML

Set NODEBUG for LLVM sanitizers

The sanitizers are special purpose piece of software that needs customized
build rules. Do not bother with generating debuginfo files for them.

Fixes MKDEBUG=yes build

(kamil)

2019-08-16 19:31:28 UTC netbsd-9 commitmail json YAML

2019-08-16 19:30:42 UTC netbsd-9 commitmail json YAML

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

sbin/fsck_lfs/main.c: revision 1.54
sbin/fsck_ext2fs/main.c: revision 1.40
sbin/fsck_ffs/main.c: revision 1.86

fsck: Stop defining the same variable concurrently in bss and data
returntosingle was defined in multiple places:
- fsck_lfs/main.c
- fsck_ffs/main.c
- fsck_ext2fs/main.c
- fsck/fsutil.c

Keep the fsutil.c definition as the only one.

Detected during the build of telned with Address Sanitizer (MKSANITIZER).

(martin)

2019-08-16 19:29:16 UTC netbsd-9 commitmail json YAML

2019-08-16 19:28:26 UTC netbsd-9 commitmail json YAML

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

distrib/sets/lists/comp/mi: revision 1.2281
external/gpl3/gcc/usr.bin/include/sanitizer/Makefile: revision 1.4

Ship with sanitizer/lsan_interface.h for GCC 7

Leak Sanitizer is there.

(martin)

2019-08-16 19:26:48 UTC netbsd-9 commitmail json YAML

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

tests/kernel/Makefile: revision 1.61

Adapt tests/kernel/t_subr_prf for MKSANITIZER

Allow to rename snprintf-like functions to avoid clashes with a sanitizer.

This tests needs a fixup to remove 'undef symbol' from the test code
generator.

(martin)

2019-08-16 19:25:32 UTC netbsd-9 commitmail json YAML

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

usr.sbin/rpc.statd/statd.c: revision 1.33
usr.sbin/rpc.lockd/lockd.c: revision 1.13
usr.sbin/rpc.bootparamd/bootparamd.c: revision 1.47

Stop defining _rpcsvcdirty in bss and data

_rpcsvcdirty is already defined in the generated code from rpcgen(1).

Detected during the build with Address Sanitizer (MKSANITIZER).

(martin)

2019-08-16 19:23:53 UTC netbsd-9 commitmail json YAML

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

distrib/sets/lists/comp/mi: revision 1.2282
external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile: revision 1.2

Ship with sanitizer/lsan_interface.h for LLVM 7

Leak Sanitizer header is already needed in the distribution for built with
Address Sanitizer (MKSANITIZER):
- dist/llvm/utils/TableGen/TableGen.cpp
- dist/clang/utils/TableGen/TableGen.cpp

Next version of LLVM (9.0) will ship with LSan.

(martin)

2019-08-16 19:22:08 UTC netbsd-9 commitmail json YAML

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

share/mk/bsd.prog.mk: revision 1.321

Add SANITIZER_RENAME_CLASSES in bsd.prog.mk

This adds a more flexible version of SANITIZER_RENAME_SYMBOL.

New symbol allows to specify MKSANITIZER specific renames on per-file and
per-symbol basis.

(martin)

2019-08-16 19:20:46 UTC netbsd-9 commitmail json YAML

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

usr.sbin/installboot/installboot.h: revision 1.41

Add missing extern declaration of ib_mach_emips in installboot

Change added for the consistency with the existing code.

(martin)

2019-08-16 19:19:27 UTC netbsd-9 commitmail json YAML

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

usr.sbin/ypserv/ypserv/Makefile: revision 1.19

Avoid symbol clashes in usr.sbin/ypserv/ypserv under MKSANITIZER

Remove symbol conflicts for: gethostbyname2

(martin)

2019-08-16 19:18:07 UTC netbsd-9 commitmail json YAML

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

tests/bin/df/Makefile: revision 1.2

Avoid symbol clashes in bin/df under MKSANITIZER

Remove symbol conflicts for: __getmntinfo13

(martin)

2019-08-16 19:16:59 UTC netbsd-9 commitmail json YAML

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

tests/fs/nfs/nfsservice/Makefile: revision 1.13

Avoid symbol clashes in fs/nfs/nfsservice under MKSANITIZER

Remove symbol conflicts for: __getmntinfo13

(martin)

2019-08-16 19:15:45 UTC netbsd-9 commitmail json YAML

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

tests/usr.bin/id/Makefile: revision 1.2

Avoid symbol clashes in tests/usr.bin/id under MKSANITIZER

Remove symbol conflicts for:
- __getpwnam50
- __getpwuid50
- getgrgid
- getgrouplist
- getgroups

(martin)

2019-08-16 19:14:29 UTC netbsd-9 commitmail json YAML

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

tests/lib/libc/misc/Makefile: revision 1.4

Fix build of t_ubsan/t_ubsanxx under MKSANITIZER
Do not link micro-ubsan runtime for disabled tests.

This avoids double symbols linked into a single binary.

(martin)

2019-08-16 19:12:46 UTC netbsd-9 commitmail json YAML

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

libexec/telnetd/telnetd.c: revision 1.56
libexec/telnetd/sys_term.c: revision 1.49

telnetd: Stop defining the same variables concurrently in bss and data
auth_level and require_secure_login were defined in two places:

- global.c that picked it from headers and removed 'extern'
- telnetd.c that initialized it to 0

line was defined twice: in global.c and sys_term.c with a non-zero value.

Remove the definition and initialization from sys_term.c and initialize
the variable early in main().

Detected during the build of telned with Address Sanitizer (MKSANITIZER).
Reviewed by <mrg>

(martin)

2019-08-16 19:10:43 UTC netbsd-9 commitmail json YAML

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

distrib/sets/lists/comp/mi: revision 1.2280
external/bsd/Makefile: revision 1.64
distrib/sets/lists/base/mi: revision 1.1210
distrib/sets/lists/base/md.amd64: revision 1.278
etc/mtree/NetBSD.dist.base: revision 1.202

Add LLVM sanitizers in the MKLLVM=yes build

Enable in all the supported variations for NetBSD/amd64:
- Address Sanitizer
- Thread Sanitizer
- Memory Sanitizer
- Undefined Behavior Sanitizer
- SafeStack
- libFuzzer
- XRay

This change enables the features on amd64 for start.

(martin)

2019-08-16 19:08:29 UTC netbsd-9 commitmail json YAML

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

sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/asan/asan_posix.cc: revision 1.2

Cherry-pick upstream compiler-rt patches for LLVM sanitizers

Upstream no longer accepts patches for LLVM-8, therefore pull needed changes downstream.
Enhancements:
* resolved build failured with NetBSD 9.99.3
* ioctl(2) lists are synced with NetBSD 9.99.3
* fixes dynamic asan (-fsanitize=address -shared-libasa) crash on init

commit 092068cd7429659138d6779a3072298462ad3e9c
Author: Kamil Rytarowski <n54%gmx.com@localhost>
Date:  Wed Aug 7 21:56:43 2019 +0000

    Restrict the NetBSD ASan TSD fallback to !ASAN_DYNAMIC
    The fallback to the alternative implementation of TSD with TLS
    is only needed for the static version of ASan for NetBSD.
    The same code cannot be reused for the dynamic version of ASan as
    TLS breaks and TSD code works.
    git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368219 91177308-0d34-0410-b5e6-96231b3b80d8

commit 0bd9d23c4317d5d1c440e19892e178a29c9fe7be
Author: Kamil Rytarowski <n54%gmx.com@localhost>
Date:  Thu Aug 8 02:21:44 2019 +0000

    Sync ioctl(2) list with NetBSD 9.99.3
    Register 36 new ioctl(2) calls.
    Enable NVMM for amd64 as the API has been stabilized.
    git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368247 91177308-0d34-0410-b5e6-96231b3b80d8

commit 08d3c10606f09a4545487e9c3fad919ee396e3a6
Author: Tom Stellard <tstellar%redhat.com@localhost>
Date:  Wed May 15 20:29:49 2019 +0000

    Merging r360212:
    ------------------------------------------------------------------------
    r360212 | kamil | 2019-05-07 17:44:41 -0700 (Tue, 07 May 2019) | 6 lines
    Fix build on NetBSD 8.99.38
    With recent changes the dev/nvmm/nvmm_ioctl.h header is no longer
    a standalone NVMM header. Disable it until the NVMM operations will
    stabilize and be included in the ioctl(2) interceptors.
    ------------------------------------------------------------------------
    git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_80@360811 91177308-0d34-0410-b5e6-96231b3b80d8

(martin)

2019-08-16 18:44:10 UTC netbsd-9 commitmail json YAML

src/external/bsd/compiler_rt/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/include/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile@1.2.2.2 / diff / nxr@1.2.2.2
src/external/bsd/compiler_rt/lib/clang/include/xray/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/shlib_version@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m64/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m64/shlib_version@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m32/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-preinit-m32/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-preinit-m64/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m32/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/common.mk@1.1.2.2 / diff / nxr@1.1.2.2
src/external/bsd/compiler_rt/lib/clang/lib/netbsd/dd-m64/Makefile@1.1.2.2 / diff / nxr@1.1.2.2
      :
(more 35 files)
Pull up following revision(s) (requested by kamil in ticket #58):

external/bsd/compiler_rt/lib/clang/lib/netbsd/fuzzer-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m64/shlib_version: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/xray-profiling-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-preinit-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/shared_deps.mk: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/fuzzer_no_main-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-dynamic-m32/shlib_version: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/Makefile: revision 1.1
external/bsd/compiler_rt/lib/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/xray-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/m32.mk: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/dd-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/share/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-dynamic-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/shlib_version: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-dynamic-m64/shlib_version: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/syms.mk: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/sources.mk: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/gen_dynamic_list.sh: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-dynamic-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/dyndd-m64/shlib_version: revision 1.1
external/bsd/compiler_rt/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-dynamic-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/dyndd-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/xray-basic-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-dynamic-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-dynamic-m64/shlib_version: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/common.mk: revision 1.1
external/bsd/compiler_rt/lib/clang/include/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/m64.mk: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-preinit-m32/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-dynamic-m32/shlib_version: revision 1.1
external/bsd/compiler_rt/lib/clang/include/xray/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/xray-fdr-m64/Makefile: revision 1.1
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile: revision 1.1

Add compiler-rt build rules for LLVM sanitizers &co

Add build rules for LLVM in all the supported variations for NetBSD/amd64:
- asan
- xray
- tsan, dd
- libfuzzer
- msan
- safestack
- ubsan

These build rules compile functional sanitizers.

The build rules are still not hooked into the distribution build, as there
is pending work on backporting improvements for the llvm-8 branch needed
for netbsd-9 and newer.

(martin)

2019-08-16 15:40:00 UTC netbsd-8 commitmail json YAML

2019-08-16 15:36:17 UTC netbsd-8 commitmail json YAML

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

usr.sbin/cpuctl/arch/i386.c: revision 1.104
sys/arch/x86/x86/identcpu.c: revision 1.93
sys/arch/x86/include/cacheinfo.h: revision 1.28
sys/arch/x86/include/specialreg.h: revision 1.150

- AMD CPUID Fn8000_0001d Cache Topology Information leaf is almost the same as
  Intel Deterministic Cache Parameter Leaf(0x04), so make new
  cpu_dcp_cacheinfo() and share it.
- AMD's L2 and L3's cache descriptor's definition is the same, so use one
  common definition.
- KNF.

XXX Split some common functions to new identcpu_subr.c or use #ifdef _KERNEK
... #endif in identcpu.c to share from both kernel and cpuctl?

(martin)

2019-08-16 15:28:38 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/include/cacheinfo.h: revision 1.27
sys/arch/x86/x86/identcpu.c: revision 1.74

Handle more Vortex CPU's from Andrius V.
While here refactor the code to make it smaller.

-

It seems that AMD zen2's CPUID 0x80000006 leaf's spec has changed.
The EDX register's acsociativity field has 9. In the latest available document,
it's a reserved value. I have no access to zen2's document, but many websites
say that the acsociativity is 16. Add it.

-

- AMD CPUID Fn8000_0001d Cache Topology Information leaf is almost the same as
  Intel Deterministic Cache Parameter Leaf(0x04), so make new
  cpu_dcp_cacheinfo() and share it.
- AMD's L2 and L3's cache descriptor's definition is the same, so use one
  common definition.
- KNF.

XXX Split some common functions to new identcpu_subr.c or use #ifdef _KERNEK
... #endif in identcpu.c to share from both kernel and cpuctl?

(martin)

2019-08-16 15:24:41 UTC netbsd-8 commitmail json YAML

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

sys/dev/acpi/acpi_ec.c: revision 1.76
sys/dev/acpi/acpi_ec.c: revision 1.77

- Fix a bug that acpiec_space_handler() doesn't access more than 64bit
  correctly. Found by kUBSan on Thinkpad X220. acpiec0 accessed 128bits from
  address 0xa0. The error message was:
UBSan: Undefined Behavior in ../../../../dev/acpi/acpi_ec.c:672:32, shift exponent 64 is too large for 64-bit type 'long unsigned int'
- KNF.
- Make the case that width < 8 behave as the same as before. Pointed out by
  Joerg.
- Change "switch" to "if" for simplify.

(martin)

2019-08-16 15:24:09 UTC MAIN commitmail json YAML

From FreeBSD:
- Support ET1011.
- Use mii_phy_flowstatus() to reflect flow status from negotiated result.

(msaitoh)

2019-08-16 15:20:18 UTC MAIN commitmail json YAML

2019-08-16 15:19:49 UTC MAIN commitmail json YAML

From FreeBSD:
- Rename ET1011 to ET1011C
- Add ET1011

(msaitoh)

2019-08-16 15:17:31 UTC MAIN commitmail json YAML

No functional change:
- Use static.
- KNF.

(msaitoh)

2019-08-16 10:41:35 UTC MAIN commitmail json YAML

Initialize pp->pr_redzone to false. For some reason with KUBSAN GCC does
not eliminate the unused branch in pr_item_linkedlist_put(), and this
leads to a unused uninitialized access which triggers KUBSAN messages.

(maxv)

2019-08-16 10:36:06 UTC MAIN commitmail json YAML

Use correct register for mpll2_div clock

(jmcneill)

2019-08-16 10:33:17 UTC MAIN commitmail json YAML

2019-08-16 08:52:46 UTC MAIN commitmail json YAML

kue now depends upon usbnet.

(mrg)

2019-08-16 08:51:10 UTC MAIN commitmail json YAML

port kue(4) to usbnet(9).  interesting notes:
- move KUE_RXFILT_PROMISC setting into kue_setiff() from kue_init()
  to avoid multiple setting KUE_CMD_SET_PKT_FILTER reg multiple times
- software-only constructs moved from if_kuereg.h into if_kue.c
- kue is the first (umb(4) will need it to, i think) to have its own
  autoconf detach routine remain
- un_tx_xfer_flags is 0 here, not USBD_FORCE_SHORT_XFER
- fix a potential data exposure (but probably not without a USB
  protocol tap).  kue needs the transfers to be 64-byte aligned, and
  while i doubt it sends more than the frame provided, were sending
  random kernel data (whatever was the 0-63 bytes to alignment) to
  the device.

diffstat says:
2 files changed, 189 insertions(+), 739 deletions(-)

(mrg)

2019-08-16 08:38:21 UTC MAIN commitmail json YAML

internal to usbnet:

add buflen param to usbnet_newbuf().  use this to skip allocating
an mbuf cluster for small packets (ported from kue(4).)

remove usbnet_rx_start_pipes()'s always usbnet_rxeof argument.

(mrg)

2019-08-16 08:29:20 UTC MAIN commitmail json YAML

2019-08-16 02:09:21 UTC netbsd-9 commitmail json YAML

Add missing file names and revision numbers for sysinst/disks.c.

(msaitoh)

2019-08-15 22:35:39 UTC MAIN commitmail json YAML

pass sensor location info to drivers if we can find it

(macallan)

2019-08-15 21:12:16 UTC MAIN commitmail json YAML

Remove list-portmasters.pl script.
We dropped that list from "main" some time ago.

(uwe)

2019-08-15 21:05:16 UTC MAIN commitmail json YAML

Install manual pages for tar and cpio only if ${MKBSDTAR} == "no"
PR bin/54468

(uwe)

2019-08-15 19:53:01 UTC MAIN commitmail json YAML

Never trust a compiler that predefines i386 as 1 - do the symbol name
concatenation at the make level instead.

(martin)

2019-08-15 16:31:17 UTC MAIN commitmail json YAML

Ship with sanitizer/lsan_interface.h for LLVM 7

Leak Sanitizer header is already needed in the distribution for built with
Address Sanitizer (MKSANITIZER):

- dist/llvm/utils/TableGen/TableGen.cpp
- dist/clang/utils/TableGen/TableGen.cpp

Next version of LLVM (9.0) will ship with LSan.

(kamil)

2019-08-15 16:01:27 UTC MAIN commitmail json YAML

Ship with sanitizer/lsan_interface.h for GCC 7

Leak Sanitizer is there.

(kamil)

2019-08-15 14:06:40 UTC MAIN commitmail json YAML

Replace black voodo linker magic (sometimes failing) with some
makefile + macro magic to trim the list of available machines on size
restricted install media.

(martin)

2019-08-15 13:33:15 UTC MAIN commitmail json YAML

Recent rasops(9) changes have been pulled up to netbsd-9.

(rin)

2019-08-15 12:24:09 UTC MAIN commitmail json YAML

2019-08-15 12:23:59 UTC netbsd-9 commitmail json YAML

2019-08-15 12:21:28 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #56):

sys/dev/rasops/rasops.c: revision 1.120
sys/dev/rasops/rasops.h: revision 1.40
sys/dev/rasops/rasops.c: revision 1.121
sys/dev/rasops/rasops.h: revision 1.41
sys/dev/rasops/rasops.c: revision 1.122
sys/dev/rasops/rasops.h: revision 1.42
sys/dev/rasops/rasops.h: revision 1.43
sys/dev/rasops/rasops.h: revision 1.44
sys/dev/rasops/rasops.h: revision 1.45
sys/dev/rasops/rasops.h: revision 1.46
sys/dev/rasops/rasops.h: revision 1.47
sys/dev/rasops/rasops.h: revision 1.48
sys/dev/rasops/rasops32.c: revision 1.40
sys/dev/rasops/rasops32.c: revision 1.41
sys/dev/rasops/rasops32.c: revision 1.42
sys/dev/rasops/rasops32.c: revision 1.43
sys/dev/rasops/rasops32.c: revision 1.44
sys/dev/rasops/rasops32.c: revision 1.45
sys/dev/rasops/rasops32.c: revision 1.46
sys/dev/rasops/rasops1-4_putchar.h: revision 1.1
sys/dev/rasops/rasops1-4_putchar.h: revision 1.2
sys/dev/rasops/rasops1-4_putchar.h: revision 1.3
sys/dev/rasops/rasops1_putchar_width.h: revision 1.3
sys/dev/rasops/rasops1_putchar_width.h: revision 1.4
sys/dev/rasops/rasops1_putchar_width.h: revision 1.5
sys/dev/rasops/rasops1_putchar_width.h: revision 1.6
sys/dev/rasops/README: revision 1.7
sys/dev/rasops/rasops_putchar_aa.h: revision 1.5
sys/dev/rasops/rasops_putchar_aa.h: revision 1.6
sys/dev/rasops/rasops8.c: revision 1.45
sys/dev/rasops/rasops8.c: revision 1.46
sys/dev/rasops/rasops8.c: revision 1.47
sys/dev/rasops/rasops24.c: revision 1.40
sys/dev/rasops/rasops8.c: revision 1.48
sys/dev/rasops/rasops24.c: revision 1.41
sys/dev/rasops/rasops8.c: revision 1.49
sys/dev/rasops/rasops24.c: revision 1.42
sys/dev/rasops/rasops24.c: revision 1.43
sys/dev/rasops/rasops24.c: revision 1.44
sys/dev/rasops/rasops_masks.c: revision 1.10
doc/CHANGES: revision 1.2566
sys/dev/rasops/rasops24.c: revision 1.45
doc/CHANGES: revision 1.2567
sys/dev/rasops/rasops24.c: revision 1.46
sys/dev/rasops/rasops24.c: revision 1.47
sys/dev/rasops/rasops24.c: revision 1.48
sys/dev/rasops/rasops24.c: revision 1.49
sys/dev/rasops/rasops_bitops.h: revision 1.19
sys/dev/rasops/rasops_putchar_aa.h: file removal
sys/dev/wscons/wsdisplay_vcons.c: revision 1.40
sys/dev/rasops/rasops8.c: revision 1.50
sys/dev/rasops/rasops8.c: revision 1.51
sys/dev/rasops/rasops24.c: revision 1.50
sys/arch/luna68k/dev/omrasops.c: revision 1.21
sys/dev/rasops/rasops_bitops.h: revision 1.20
sys/dev/wsfb/genfb.c: revision 1.68
sys/dev/rasops/rasops_bitops.h: revision 1.21
sys/dev/wsfb/genfb.c: revision 1.69
sys/dev/rasops/rasops_putchar_width.h: revision 1.10
sys/dev/rasops/rasops_bitops.h: revision 1.22
sys/dev/rasops/rasops_putchar_width.h: revision 1.11
sys/dev/rasops/rasops_bitops.h: revision 1.23
sys/dev/rasops/rasops_putchar_width.h: revision 1.12
sys/dev/rasops/rasops_bitops.h: revision 1.24
sys/dev/rasops/rasops_putchar_width.h: revision 1.13
sys/dev/rasops/rasops_bitops.h: revision 1.25
sys/dev/rasops/rasops_putchar_width.h: revision 1.14
sys/dev/rasops/rasops_putchar_width.h: revision 1.15
sys/dev/rasops/rasops1.c: revision 1.32
sys/dev/rasops/rasops1.c: revision 1.33
sys/dev/rasops/rasops1.c: revision 1.34
sys/dev/rasops/rasops1.c: revision 1.35
sys/dev/rasops/rasops1.c: revision 1.36
sys/dev/rasops/rasops1.c: revision 1.37
sys/dev/rasops/rasops4.c: revision 1.21
sys/dev/rasops/rasops4.c: revision 1.22
sys/dev/rasops/rasops4.c: revision 1.23
sys/dev/rasops/rasops4.c: revision 1.24
sys/dev/rasops/rasops4.c: revision 1.25
sys/dev/rasops/rasops4.c: revision 1.26
sys/dev/rasops/rasops4.c: revision 1.27
sys/dev/rasops/rasops4.c: revision 1.28
sys/dev/wsfb/genfb.c: revision 1.70
sys/dev/rasops/rasops2.c: revision 1.27
sys/dev/rasops/rasops2.c: revision 1.28
share/man/man9/rasops.9: revision 1.18
sys/dev/rasops/rasops.c: revision 1.102
sys/dev/rasops/rasops2.c: revision 1.29
share/man/man9/rasops.9: revision 1.19
sys/dev/rasops/rasops.c: revision 1.103
sys/dev/rasops/rasops.c: revision 1.104
sys/dev/rasops/rasops.c: revision 1.105
sys/dev/rasops/rasops.c: revision 1.106
sys/dev/rasops/rasops.c: revision 1.107
sys/dev/rasops/rasops_putchar.h: revision 1.6
sys/dev/rasops/rasops.c: revision 1.108
sys/dev/rasops/rasops_putchar.h: revision 1.7
sys/dev/rasops/rasops.c: revision 1.109
sys/dev/rasops/rasops_putchar.h: revision 1.8
sys/dev/rasops/rasops2.c: revision 1.30
sys/dev/rasops/rasops2.c: revision 1.31
sys/dev/rasops/rasops15.c: revision 1.32
sys/dev/rasops/rasops2.c: revision 1.32
sys/dev/rasops/rasops15.c: revision 1.33
sys/dev/rasops/rasops2.c: revision 1.33
sys/dev/rasops/rasops15.c: revision 1.34
sys/dev/rasops/rasops15.c: revision 1.35
sys/dev/rasops/rasops15.c: revision 1.36
sys/dev/rasops/rasops.c: revision 1.110
sys/dev/rasops/rasops15.c: revision 1.37
sys/dev/rasops/rasops.c: revision 1.111
sys/dev/rasops/rasops15.c: revision 1.38
sys/dev/rasops/rasops.c: revision 1.112
sys/dev/rasops/rasops15.c: revision 1.39
sys/dev/rasops/rasops.c: revision 1.113
sys/dev/rasops/rasops.c: revision 1.114
sys/dev/rasops/rasops.c: revision 1.115
sys/dev/rasops/rasops_masks.h: revision 1.9
sys/dev/rasops/rasops.c: revision 1.116
sys/dev/rasops/rasops.c: revision 1.117
sys/dev/rasops/rasops.c: revision 1.118
sys/dev/rasops/rasops.c: revision 1.119
sys/dev/rasops/rasops.h: revision 1.39

Misc clean-up's:
- protect private stuff in rasops.h by _RASOPS_PRIVATE
- staticify rasops_copycols() and rasops_isgray[]
- G/C unused extern int cold
Switch to per-device stamp, and retire stamp_mutex.

Provide buffer capable of single-row pixels in order to make things simpler.

Factor out copy-paste. No functional changes.
When font is switched, not only putchar, but also other ri_ops can be
changed by backend driver, e.g., see rasops1.c:
https://nxr.netbsd.org/xref/src/sys/dev/rasops/rasops1.c#58
4 is 1 << 2, not 1 << 3...

Fix erasecols and do_cursor for font width >= 32 bits.
Also, some cosmetic clean-up's.

Oops, for rasops_copycols(), we cannot use memmove even if src == dst.
On the other hand, memmove is safe for rasops_copyrows().
Fix unaligned writes to buffer, that are introduced in 1.105:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.105

Support font width 32 on monochrome screen.

Remove duplicate substitution. Style. No functional changes.

Correct copy count. This affects ``left-to-right'' copy for region
including word boundary.

Fix a bug in shadow fb support for copycols on 1, 2, and 4bpp screen,
which was introduced in 1.18:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops_bitops.h#rev1.18

Add general putchar functions for 2 and 4bpp.
Note that 1bpp continues to use its local version in rasops1.c,
which is much faster and simpler.

Cosmetic changes. No functional changes.

Reflect reality.

Notify size of shadow framebuffer if enabled.

Fix unaligned word write's to buffer, introduced in rev 1.42:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops24.c#rev1.42

Real fix for 24-bpp color:
- When centering screen, locate effective base address of framebuffer to
  both word and 24-bit color boundary.
- Consistently convert ri_devcmap to ``big endian'' if not RI_BSWAP.

Also, fix possible bug for 15/16-bpp with RI_BSWAP (not tested).

Protect rasops_copy{rows,cols}() by _RASOPS_PRIVATE.

Use _KERNEL_OPT.

Simplify calculation for 12-byte alignment.
No functional changes.

Fix black color-attribution for depths 2 and 4.

Depth 2 is monochrome.
IMO, it is impossible to support ANSI colors on 2-bpp display; fore-
and background can be same value even if they are different colors
logically.

Fix a critical bug for rasops_copyrows() introduced in rev. 1.90:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.90
When src < dst, we have to copy backward.

Simplify rasops_do_cursor():
- Use static masks similar to that used in rasops_bitops.h,
  rather than generating them on the fly.
- Use pointer for proper type to avoid unnecessary casts.

Use "hp" instead of "hrp" consistently with other files.
No functional changes.

Stop allocating ri_buf and ri_stamp dynamically. As commented in
rasops.h, it is not safe to use kmem_alloc(9) in rasops_init();
rasops routines can be used for early putchar, which means that
UVM is not fully initialized.

Should fix a problem reported by macallan:
http://mail-index.netbsd.org/tech-kern/2019/08/02/msg025327.html

Instead of using ri_buf, inline function rasops_memcpy32() is
introduced to fill 32bit data efficiently.

Instead of using ri_stamp (per device stamp), stamp_ri is
introduced to distinguish for which device stamp is calculated.

Oops, revert an unintentional change for now.

If RI_CLEAR is set, do not forget to clear real framebuffer.

Modify struct rasops_info again (ride 9.99.4 bump).
- remove ri_buf and friends.
- remove ri_stamp and frieds.
- introduce ri_ul, which will be used for scaling underline with font.

Also add hack for ri_ul; adjust its size to obsoleted member, ri_delta,
which was only used rasops routines internally. Now, size and offsets of
all members of struct rasops_info become same with netbsd-9, -8, and -7,
again. So we can safelly pull up fixes to any release branches!

Scaling dimensions of underline by font height.

Currently,
- offset of underline is fixed to 1-row from bottom of characters, and
- height of underline is fixed to 1.
Both are good for standard 8x16 fonts. However, it is too thin for
larger fonts, especially when used on display of high resolution.
Also, 1-row offset of underline is ugly for small fonts, e.g.,
spleen5x8.
Therefore, adjust offset and height as,
- no changes for standard 16-height fonts.
- scaling by font height for larger fonts.
- set offset to zero for fonts of height smaller than 16.

Merge rasops_putchar_aa.h into rasops_putchar.h.

Support scaling underline dimensions by font height.

Separate general putchar for 1-4bpp from rasops_bitops:
- Support anti-aliasing for 2bpp, which works perfectly!
- Support scaling underline dimensions with font height.

We support anti-aliasing for depth 2.
Use switch appropriately.
- Stop showing struct rasops_info; readers can read the header itself.
- Correct description for optimized font widths.
- Remove strange blank line.

Try to improve formatting and naration.

Make rasops_erase{rows,cols}() public again; hp300/diofb uses them.
Pointed out by martin.

When legacy Apple 4-bpp color palette is used, make green dark so that
kernel messages are printed nicely on white background.

Fix color range overflow; we cannot make bright colors more brighter.

Correctly check whether character is in font in rasops_mapchar().
Also, make sure that in putchar functions for completeness.

Fix bug introduced in rev. 1.69:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/wsfb/genfb.c#rev1.69
is_bgr should be initialized to false. Otherwise, color becomes strange
for depths 24 and 32 unless backend explicitly set "is_bgr" property.

Set 4-bpp devcmap in a similar manner to non-RGB case of 8-bpp.
No functional changes since this is not in use (4-bpp is monochrome).

Misc style clean up's.
- Introduce and use proper macros.
- Use not ambiguous variable names.
- Unify similar functions as possible as I can.
- G/C unused headers.
- Use #include <dev/rasops/foo.h> instead of "foo.h"

No particular functional changes intended.

My work for rasops(9) was finished (hopefully).

I will send pull-up request for netbsd-9, if there are no new failures
reported within few days.

Fix format in order not to confuse changes2html script.
Minor improvements of wording for my entry.

When using stamp, drop attributions other than back and foreground
colors so that stamp is not updated unnecessarily.

(martin)

2019-08-15 12:06:42 UTC MAIN commitmail json YAML

Retire KMEM_GUARD. It has been superseded by kASan, which is much more
powerful, has much more coverage - far beyond just kmem(9) -, and also
consumes less memory.

KMEM_GUARD was a debug-only option that required special DDB tweaking, and
had no use in releases or even diagnostic kernels.

As a general rule, the policy now is to harden the pool layer by default
in GENERIC, and use kASan as a diagnostic/debug/fuzzing feature to verify
each memory allocation & access in the system.

(maxv)

2019-08-15 10:29:07 UTC MAIN commitmail json YAML

PR/54343: Prevent NULL pointers in callback strings; use "*?*" for now to
identify them.

(christos)

2019-08-15 10:24:26 UTC MAIN commitmail json YAML

Make pmap_db_pte_print more terse so it's quicker on serial consoles

(skrll)

2019-08-15 09:51:13 UTC netbsd-9 commitmail json YAML

2019-08-15 09:49:49 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #55):

sys/arch/arm/cortex/a9wdt.c: revision 1.10
sys/arch/evbarm/conf/HUMMINGBOARD: revision 1.9
sys/arch/evbarm/conf/GENERIC: revision 1.50
sys/arch/evbarm/conf/NITROGEN6X: revision 1.24
sys/arch/arm/cortex/a9tmr_var.h: revision 1.7
sys/arch/arm/fdt/files.fdt: revision 1.29
sys/arch/arm/amlogic/meson_platform.c: revision 1.12
sys/arch/arm/amlogic/meson8b_pinctrl.c: revision 1.2
sys/arch/arm/amlogic/meson_platform.c: revision 1.13
sys/arch/evbarm/conf/BCM5301X: revision 1.34
sys/arch/arm/dts/meson8b.dtsi: revision 1.6
sys/arch/arm/fdt/a9ptmr_fdt.c: revision 1.1
sys/arch/arm/dts/meson8b.dtsi: revision 1.7
sys/arch/arm/cortex/a9ptmr_var.h: revision 1.1
sys/arch/evbarm/conf/PANDABOARD: revision 1.30
sys/arch/evbarm/conf/DUOVERO: revision 1.14
sys/arch/arm/cortex/a9ptmr.c: revision 1.1
sys/arch/arm/cortex/a9ptmr.c: revision 1.2
sys/arch/arm/fdt/a9wdt_fdt.c: revision 1.1
sys/arch/evbarm/conf/BCM56340: revision 1.19
sys/arch/evbarm/conf/CUBOX-I: revision 1.23
sys/arch/arm/amlogic/meson8b_clkc.c: revision 1.4
sys/arch/evbarm/conf/PARALLELLA: revision 1.7
sys/arch/arm/cortex/files.cortex: revision 1.12
sys/arch/arm/dts/meson8b-odroidc1.dts: revision 1.4
sys/arch/arm/cortex/a9wdt.c: revision 1.9
sys/arch/evbarm/conf/ZEDBOARD: revision 1.6

spaces to tab

-

Add a driver for the A5/A9 Private timer.
While here FDTise the Watchdog driver.

-

Update for recent a9wdt changes
-

Trailing whitespace

-
Updates to get Odroid-C1 in better shape since the last DTS import

-

Various fixes / changes
- don't use prescaler
- improve AB_DEBUG output
- fix a9ptmr_delay to work with a decrementing counter!
Thanks to jmcneill@ for proving I'm an idiot

-

Add eth_rxd3 and eth_rxd2 pinctrl groups

-

Catch up to recent mainline dts changes

(martin)

2019-08-15 09:07:34 UTC MAIN commitmail json YAML

Indent the field value defines.  NFCI.

(skrll)

2019-08-15 09:04:23 UTC MAIN commitmail json YAML

2019-08-15 09:03:09 UTC MAIN commitmail json YAML

Indentation and wrap the resulting long line

(skrll)

2019-08-15 09:00:23 UTC MAIN commitmail json YAML

Set the ATAPI "BYTE COUNT LIMIT" field in the SATA case like we
already do in the ATA case, to make NetBSD work with the virtual
SATA CD-ROM of "qemu-system-i386 -machine q35".  Fixes PR kern/54389.
OK mlelstv.

(gson)

2019-08-15 08:55:06 UTC MAIN commitmail json YAML

usbnet(9): Add common framework for USB network devices.  Port the
axe(4), axen(4), cdce(4), cue(4), mue(4), smsc(4), udav(4),
ure(4), url(4), and urndis(4) drivers fixing many bugs and
porting to NET_MPSAFE in the process.  [mrg 20190814]

(mrg)

2019-08-15 08:46:09 UTC MAIN commitmail json YAML

Adapt tests/kernel/t_subr_prf for MKSANITIZER

Allow to rename snprintf-like functions to avoid clashes with a sanitizer.

This tests needs a fixup to remove 'undef symbol' from the test code
generator.

(kamil)

2019-08-15 08:42:59 UTC MAIN commitmail json YAML

Add SANITIZER_RENAME_CLASSES in bsd.prog.mk

This adds a more flexible version of SANITIZER_RENAME_SYMBOL.

New symbol allows to specify MKSANITIZER specific renames on per-file and
per-symbol basis.

(kamil)

2019-08-15 08:37:13 UTC MAIN commitmail json YAML

2019-08-15 08:36:09 UTC MAIN commitmail json YAML

Add missing extern declaration of ib_mach_emips in installboot

Change added for the consistency with the existing code.

(kamil)

2019-08-15 08:34:19 UTC MAIN commitmail json YAML

Stop defining _rpcsvcdirty in bss and data

_rpcsvcdirty is already defined in the generated code from rpcgen(1).

Detected during the build with Address Sanitizer (MKSANITIZER).

(kamil)

2019-08-15 08:33:14 UTC MAIN commitmail json YAML

- document locking requirements more
- expand uno_foo() docs to include return type and parameters
- expand uno_intr() docs
- add uno_tick()
- fix various typoes

(mrg)

2019-08-15 08:30:19 UTC MAIN commitmail json YAML

Avoid symbol clashes in usr.sbin/ypserv/ypserv under MKSANITIZER

Remove symbol conflicts for: gethostbyname2

(kamil)

2019-08-15 08:24:11 UTC MAIN commitmail json YAML

Avoid symbol clashes in bin/df under MKSANITIZER

Remove symbol conflicts for: __getmntinfo13

(kamil)

2019-08-15 08:23:45 UTC MAIN commitmail json YAML

Avoid symbol clashes in fs/nfs/nfsservice under MKSANITIZER

Remove symbol conflicts for: __getmntinfo13

(kamil)

2019-08-15 08:22:52 UTC MAIN commitmail json YAML

Avoid symbol clashes in tests/usr.bin/id under MKSANITIZER

Remove symbol conflicts for:

- __getpwnam50
- __getpwuid50
- getgrgid
- getgrouplist
- getgroups

(kamil)

2019-08-15 08:17:32 UTC MAIN commitmail json YAML

Fix build of t_ubsan/t_ubsanxx under MKSANITIZER

Do not link micro-ubsan runtime for disabled tests.

This avoids double symbols linked into a single binary.

(kamil)

2019-08-15 08:02:32 UTC MAIN commitmail json YAML

2019-08-15 05:52:23 UTC MAIN commitmail json YAML

- usbnet_rx_loop_cb's usbd_xfer parameter is never used and available
  in the usbnet_chain if needed.  remove it
- usbnet media status change already set link to false, don't repeat
  this in every driver
- don't clear link in stop, nothing was re-enabling it for non-MII
- add optional uno_tick_cb(struct usbnet *un) that is called from the
  usbnet tick timer
- remove wrong debug sysctl prototype

rx_loop and timer are kernel versions changes, but hopefully this is
the last one for usbnet.  working with 3 more drivers now (cue, mue
and url), leaving only aue, kue, upl and umb undone (aue may work
with previously supported devices, mine doesn't work with our driver,
kue and upl have patches for testing and umb is undone.)

(mrg)

2019-08-15 04:21:33 UTC MAIN commitmail json YAML

tests: check if ifconfig (ioctl) works after a failure of ifconfig destroy

This is a test for PR kern/54434.

(ozaki-r)

2019-08-15 04:20:59 UTC MAIN commitmail json YAML

Restore if_ioctl on error of ifc_destroy

Otherwise subsequence ioctls won't work.

Patch from Harold Gutch on PR kern/54434 (tweaked a bit by me)

(ozaki-r)

2019-08-15 03:10:43 UTC MAIN commitmail json YAML

fsck: Stop defining the same variable concurrently in bss and data

returntosingle was defined in multiple places:

- fsck_lfs/main.c
- fsck_ffs/main.c
- fsck_ext2fs/main.c
- fsck/fsutil.c

Keep the fsutil.c definition as the only one.

Detected during the build of telned with Address Sanitizer (MKSANITIZER).

(kamil)

2019-08-15 01:15:21 UTC MAIN commitmail json YAML

telnetd: Stop defining the same variables concurrently in bss and data

auth_level and require_secure_login were defined in two places:

- global.c that picked it from headers and removed 'extern'
- telnetd.c that initialized it to 0

line was defined twice: in global.c and sys_term.c with a non-zero value.
Remove the definition and initialization from sys_term.c and initialize
the variable early in main().

Detected during the build of telned with Address Sanitizer (MKSANITIZER).

Reviewed by <mrg>

(kamil)

2019-08-15 00:50:11 UTC MAIN commitmail json YAML

Support bitmap fonts with stride 4 (i.e., width 17 to 32).

(rin)

2019-08-15 00:27:47 UTC MAIN commitmail json YAML

kern/52229

Correct linebytes (stride) for intelfb(4), which fixes screen
corruption on the following machines:

- MacBookAir5,2 (Ivy Bridge, 13-inch, Mid 2012)
- MacBookAir6,1 (Haswell, 11-inch, Early 2014)

Now, wsdisplay(4) console as well as intel(4) driver of Xorg
works fine on these machines.

Also there's no side effects found on another machine:

- ThinkPad T480s (Kaby Lake R)

XXX
pullup to netbsd-9

(rin)

2019-08-14 15:08:53 UTC MAIN commitmail json YAML

2019-08-14 13:58:00 UTC MAIN commitmail json YAML

Fix some "partition index" (as used in the abstract interface)
versus disklabel "partition letter" confusion.

(martin)

2019-08-14 13:02:23 UTC MAIN commitmail json YAML

2019-08-14 12:55:37 UTC MAIN commitmail json YAML

2019-08-14 12:49:38 UTC MAIN commitmail json YAML

Provide some documentation for macros / defines used in the machine
dependent backend parts of sysinst.

(martin)

2019-08-14 12:08:27 UTC MAIN commitmail json YAML

2019-08-14 09:54:34 UTC MAIN commitmail json YAML

2019-08-14 09:50:20 UTC MAIN commitmail json YAML

Add eth_rxd3 and eth_rxd2 pinctrl groups

(jmcneill)

2019-08-14 09:20:00 UTC MAIN commitmail json YAML

Various fixes / changes

- don't use prescaler
- improve AB_DEBUG output
- fix a9ptmr_delay to work with a decrementing counter!

Thanks to jmcneill@ for proving I'm an idiot

(skrll)

2019-08-14 08:34:44 UTC MAIN commitmail json YAML

Add missing IFNET_LOCK for regen_tmpaddr

Reported by ryo@

(ozaki-r)

2019-08-14 03:44:58 UTC MAIN commitmail json YAML

introduce usbnet_set_dying().  will be used by url(4) conversion.
bump version.

introduce USBNET_MODULE() that encompasses almost all the module
specific code for usbnet modules.  they still need to include
the relevant ioconf.c, but everything else is now just, eg,

USBNET_MODULE(axen)

(mrg)

2019-08-14 01:42:08 UTC MAIN commitmail json YAML

Add LLVM sanitizers in the MKLLVM=yes build

Enable in all the supported variations for NetBSD/amd64:

- Address Sanitizer
- Thread Sanitizer
- Memory Sanitizer
- Undefined Behavior Sanitizer
- SafeStack
- libFuzzer
- XRay

This change enables the features on amd64 for start.

(kamil)

2019-08-14 00:51:48 UTC MAIN commitmail json YAML

Cherry-pick upstream compiler-rt patches for LLVM sanitizers

Upstream no longer accepts patches for LLVM-8, therefore pull needed changes downstream.

Enhancements:

* resolved build failured with NetBSD 9.99.3
* ioctl(2) lists are synced with NetBSD 9.99.3
* fixes dynamic asan (-fsanitize=address -shared-libasa) crash on init

commit 092068cd7429659138d6779a3072298462ad3e9c
Author: Kamil Rytarowski <n54@gmx.com>
Date:  Wed Aug 7 21:56:43 2019 +0000

    Restrict the NetBSD ASan TSD fallback to !ASAN_DYNAMIC

    The fallback to the alternative implementation of TSD with TLS
    is only needed for the static version of ASan for NetBSD.

    The same code cannot be reused for the dynamic version of ASan as
    TLS breaks and TSD code works.

    git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368219 91177308-0d34-0410-b5e6-96231b3b80d8

commit 0bd9d23c4317d5d1c440e19892e178a29c9fe7be
Author: Kamil Rytarowski <n54@gmx.com>
Date:  Thu Aug 8 02:21:44 2019 +0000

    Sync ioctl(2) list with NetBSD 9.99.3

    Register 36 new ioctl(2) calls.

    Enable NVMM for amd64 as the API has been stabilized.

    git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368247 91177308-0d34-0410-b5e6-96231b3b80d8

commit 08d3c10606f09a4545487e9c3fad919ee396e3a6
Author: Tom Stellard <tstellar@redhat.com>
Date:  Wed May 15 20:29:49 2019 +0000

    Merging r360212:

    ------------------------------------------------------------------------
    r360212 | kamil | 2019-05-07 17:44:41 -0700 (Tue, 07 May 2019) | 6 lines

    Fix build on NetBSD 8.99.38

    With recent changes the dev/nvmm/nvmm_ioctl.h header is no longer
    a standalone NVMM header. Disable it until the NVMM operations will
    stabilize and be included in the ioctl(2) interceptors.

    ------------------------------------------------------------------------

    git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_80@360811 91177308-0d34-0410-b5e6-96231b3b80d8

(kamil)

2019-08-14 00:51:11 UTC MAIN commitmail json YAML

2019-08-13 19:55:40 UTC MAIN commitmail json YAML

2019-08-13 17:57:49 UTC MAIN commitmail json YAML

Make sure to completely initialize dynamic menu entries.

(martin)

2019-08-13 17:24:25 UTC MAIN commitmail json YAML

rk3399-rockpro64.dts: enable spi1 and add spiflash as a child node

(tnn)

2019-08-13 17:21:01 UTC MAIN commitmail json YAML

include the spiflash driver in the stock 64-bit kernel

As it can be attached via fdt now. For Rockpro64.

(tnn)

2019-08-13 17:15:55 UTC MAIN commitmail json YAML

rk_spi: register controller with fdt

(tnn)

2019-08-13 17:11:32 UTC MAIN commitmail json YAML

m25p: add compatible entry for "jedec,spi-nor" and match on it

(tnn)

2019-08-13 17:03:11 UTC MAIN commitmail json YAML

2019-08-13 16:46:49 UTC MAIN commitmail json YAML

2019-08-13 16:37:15 UTC MAIN commitmail json YAML

spi: prepare for fdt direct attachment of spi slaves

Introduce sba_child_devices array in spibus_attach_args. If the parent has
populated sba_child_devices then attach them first. Then do any devices
devices the user has wired in the kernel config, if any.

(tnn)

2019-08-13 14:59:01 UTC netbsd-9 commitmail json YAML

2019-08-13 14:57:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #54):

sys/arch/aarch64/include/armreg.h: revision 1.26
sys/arch/arm/cortex/gtmr.c: revision 1.41
sys/arch/arm/include/armreg.h: revision 1.128
sys/arch/arm/cortex/gtmr_var.h: revision 1.12

Add support for physical timers and sprinkle isb where needed.

(martin)

2019-08-13 14:54:32 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #53):

sys/arch/aarch64/include/bus_funcs.h: revision 1.3

Really provide bus_funcs.h

(martin)

2019-08-13 14:51:53 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #52):

external/cddl/osnet/dist/uts/common/fs/zfs/dsl_dataset.c: revision 1.5

Add missing "defined(__NetBSD__)" to make "zfs promote" work.

(martin)

2019-08-13 14:46:04 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #51):

sys/arch/i386/stand/lib/bootinfo_biosgeom.c: revision 1.24

Fix buffer overflow in BIOS disk geometry collect for bootinfo

This spares a boot-time panic on iMac with fusion drive, which
feature both a hard drive and a solid-state drive.

(martin)

2019-08-13 14:44:37 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #50):

lib/libperfuse/ops.c: revision 1.87

Rollback directory filehandle screening for FUSE lock operations
libfuse has a different usage of filehandles for files and directories.

A directory filehandle is valid only for directory operations such
as OPENDIR, READDIR, RELEASEDIR, FSYNCDIR. Change of src/lib/libperfuse/ops.c
1.85-1.86 made sure filehandles of directories were only sent for that
operations.

However, the status of lock operations GETLK, SETLK, SETLKW was overlooked.

The only FUSE filesystem I found using locks is GlusterFS, and it needs
directory filehandles to be provided on lock operations, otherwise locking
crashes the filesystem. Hence this change brings back filehandles for
lock operations on directories.

(martin)

2019-08-13 14:35:56 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #49):

usr.sbin/npf/npf.7: revision 1.7
sys/net/npf/npfkern.h: revision 1.4
sys/net/npf/npf_conn.h: revision 1.18
usr.sbin/npf/npftest/libnpftest/npf_nat_test.c: revision 1.13
sys/net/npf/npf_ctl.c: revision 1.55
sys/net/npf/npf_os.c: revision 1.14
sys/net/npf/npf_conf.c: revision 1.14
usr.sbin/npf/npftest/libnpftest/npf_conn_test.c: revision 1.3
usr.sbin/npf/npftest/libnpftest/npf_perf_test.c: revision 1.9
sys/net/npf/npf_impl.h: revision 1.76
sys/net/npf/npf_portmap.c: revision 1.4
sys/net/npf/npf_params.c: revision 1.2
sys/net/npf/npf.c: revision 1.40
usr.sbin/npf/npftest/libnpftest/npf_test_subr.c: revision 1.16
usr.sbin/npf/npftest/libnpftest/npf_rule_test.c: revision 1.18
sys/net/npf/npf_nat.c: revision 1.47
sys/net/npf/npf_handler.c: revision 1.47
sys/net/npf/npf_inet.c: revision 1.55
sys/net/npf/npf_if.c: revision 1.10
sys/net/npf/npf_worker.c: revision 1.7
usr.sbin/npf/npf-params.7: revision 1.3

npf-params(7): add more bpf.jit details.
From David H. Gutteridge.

Adjust some internal NPF APIs:
* npfkern: use the npfk_ prefix.
* NPF portmap: amend the API so it could be used elsewhere.
* Make npf_connkey_t public.

npf.7: add xref to npf-params.7
(Adding directly here since this particular file isn't included in
rmind@'s upstream GitHub repo at present.)

(martin)

2019-08-13 14:30:50 UTC netbsd-8 commitmail json YAML

2019-08-13 14:29:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1336):

sys/arch/i386/stand/lib/bootinfo_biosgeom.c: revision 1.24

Fix buffer overflow in BIOS disk geometry collect for bootinfo

This spares a boot-time panic on iMac with fusion drive, which
feature both a hard drive and a solid-state drive.

(martin)

2019-08-13 14:27:22 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1335):

lib/libperfuse/ops.c: revision 1.87

Rollback directory filehandle screening for FUSE lock operations
libfuse has a different usage of filehandles for files and directories.

A directory filehandle is valid only for directory operations such
as OPENDIR, READDIR, RELEASEDIR, FSYNCDIR. Change of src/lib/libperfuse/ops.c
1.85-1.86 made sure filehandles of directories were only sent for that
operations.

However, the status of lock operations GETLK, SETLK, SETLKW was overlooked.
The only FUSE filesystem I found using locks is GlusterFS, and it needs
directory filehandles to be provided on lock operations, otherwise locking
crashes the filesystem. Hence this change brings back filehandles for
lock operations on directories.

(martin)

2019-08-13 13:22:16 UTC MAIN commitmail json YAML

Drop xref to wsfontload(8).

(uwe)

2019-08-13 12:38:25 UTC MAIN commitmail json YAML

new nawk on Github release page

(sevan)

2019-08-13 12:29:00 UTC MAIN commitmail json YAML

Give syspkg names to xbase mi binaries and manuals

(uki)

2019-08-13 10:31:19 UTC MAIN commitmail json YAML

Formatting tweaks.

(uwe)

2019-08-13 09:56:09 UTC MAIN commitmail json YAML

2019-08-13 09:52:57 UTC MAIN commitmail json YAML

2019-08-13 09:48:24 UTC MAIN commitmail json YAML

2019-08-13 08:48:08 UTC MAIN commitmail json YAML

use unsigned char to prevent sign extension.

(christos)

2019-08-13 08:27:42 UTC MAIN commitmail json YAML

2019-08-13 08:03:25 UTC MAIN commitmail json YAML

Add missing "defined(__NetBSD__)" to make "zfs promote" work.

(hannken)

2019-08-13 07:20:43 UTC MAIN commitmail json YAML

Make a permanet neighbor cache to avoid sending an NS packet disturbing the test

A receiver of an ICMPv6 request packet creates a stale cache entry and it turns
into the delay state on replying the packet.  After 5 second, the receiver sends
an NS packet as a reachability confirmation, which disturbs the test and causes
a unexpected result.

Should fix PR misc/54451

(ozaki-r)

2019-08-13 07:09:49 UTC MAIN commitmail json YAML

Document pain of using wsmux with more than one type of keyboard from
userland.

(maya)