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 (2h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 17:00:09 UTC Now

2020-02-12 06:21:44 UTC MAIN commitmail json YAML

Fix a wrong comment in ixl(4)

(yamaguchi)

2020-02-12 06:20:13 UTC MAIN commitmail json YAML

Change the command sequence and timing to prevent EIO
in "Get PHY Abilities" command

The error has been appeared on X722 attaching an SFP module
without link up.

(yamaguchi)

2020-02-12 06:05:46 UTC MAIN commitmail json YAML

Define the MULTIPROCESSOR cpu_number() for modules too.

Modules should work whether the main kernel is multiprocessor or not.
In particular, dtrace should not think cpu_number() is 0 while
cpu_index(curcpu()) and curcpu()->ci_index are nonzero, leading to
rather spectacularly bogus results...

(riastradh)

2020-02-12 06:05:31 UTC MAIN commitmail json YAML

Switch from db_write_bytes to using direct-mapping.

This way there's no dependency on ddb.

(riastradh)

2020-02-12 06:05:23 UTC MAIN commitmail json YAML

Change the address ranges that aarch64 considers toxic for dtrace.

`Toxic' means dtrace forbids D scripts from even attempting to read
or write at them.

Previously we considered [0, VM_MIN_KERNEL_ADDRESS) toxic, but
VM_MIN_KERNEL_ADDRESS is only the minimum address of the kernel map;
the direct-mapped region lies below it, and with PMAP_MAP_POOLPAGE we
allocate virtual pages for pool backing directly from physical pages
through the direct-mapped region.  Also, this did not consider I/O
mappings to be toxic, which they probably should be.

Instead, treat:

[0, AARCH64_KSEG_START)
and
[VM_KERNEL_IO_ADDRESS, 0xfff...ff)

as toxic.  (The upper bound for 0xfff...ff ought to be inclusive, not
exclusive, but I think we'll need another mechanism for expressing
that to dtrace!)

(riastradh)

2020-02-12 05:44:26 UTC MAIN commitmail json YAML

Correct the location of SDRAM in the comment describing the IXP425
memory map.  SDRAM is located at 0x00000000 and has aliases at 0x10000000,
0x20000000, and 0x30000000.

(thorpej)

2020-02-12 01:51:52 UTC MAIN commitmail json YAML

pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

From:
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426

(christos)

2020-02-12 01:34:55 UTC MAIN commitmail json YAML

PR/54950: Lloyd Parkes: Avoid NULL deref.

(christos)

2020-02-12 01:10:25 UTC MAIN commitmail json YAML

Count the number of artificial frames in aarch64 fbt probe correctly.

(riastradh)

2020-02-12 01:10:16 UTC MAIN commitmail json YAML

Teach dtrace about el1_trap_exit frames on aarch64.

Implement dtrace_getarg and dtrace_getreg while here.

(riastradh)

2020-02-12 01:10:08 UTC MAIN commitmail json YAML

2020-02-12 01:09:48 UTC MAIN commitmail json YAML

Tidy up a bit: don't set things we won't use; assert nonzeroness.

(riastradh)

2020-02-12 01:09:39 UTC MAIN commitmail json YAML

Tidy up a bit.  No functional change intended.

aarch64 fbt_invop doesn't actually use the argument, but it would
make more sense for it to be the return value and/or first argument
register.  Certainly it's not `eax'!

(riastradh)

2020-02-12 01:09:27 UTC MAIN commitmail json YAML

Use db_write_bytes to overwrite kernel text.

(riastradh)

2020-02-12 01:09:17 UTC MAIN commitmail json YAML

Create a buffer space of 512 bytes before the trapframe.

dtrace fbt needs enough space to emulate an

stp x29, x30, [sp,#-FRAMESIZE]!

instruction in a function prologue.  In the aarch64 instruction
encoding, FRAMESIZE can be as large as 512 bytes, so reserve this
much space when KDTRACE_HOOKS is enabled.

(riastradh)

2020-02-12 00:41:50 UTC MAIN commitmail json YAML

external/mpl/dhcp: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@

(fox)

2020-02-12 00:36:38 UTC MAIN commitmail json YAML

external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@

(fox)

2020-02-12 00:30:48 UTC MAIN commitmail json YAML

external/bsd/ipf: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@

(fox)

2020-02-12 00:19:07 UTC MAIN commitmail json YAML

the number of possible ATAPI devices on an ATA bus is not always 2,
it is however many devices the underlying ATA bus can have (eg. 1 for SATA),
so initialize the scsipi chan_ntargets from the ATA ch_ndrives.
this fixes a memory read overrun detected by KASAN.
discussed with mlelstv@ and jdolecek@

(chs)

2020-02-11 15:11:28 UTC MAIN commitmail json YAML

2020-02-11 15:09:14 UTC MAIN commitmail json YAML

More <net/if_stats.h>

(skrll)

2020-02-11 13:31:23 UTC MAIN commitmail json YAML

2020-02-11 11:40:09 UTC netbsd-8 commitmail json YAML

2020-02-11 11:38:33 UTC netbsd-8 commitmail json YAML

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

sys/arch/i386/stand/efiboot/eficons.c: revision 1.9

Use 1024x768 as the default GOP mode. It is the only option available for
Hyper-V Gen.2 VMs and it seems to be the de facto standard and part of
WHQL requirements.

(martin)

2020-02-11 11:38:05 UTC netbsd-9 commitmail json YAML

2020-02-11 11:36:53 UTC MAIN commitmail json YAML

2020-02-11 11:36:34 UTC netbsd-9 commitmail json YAML

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

sys/arch/i386/stand/efiboot/eficons.c: revision 1.9

Use 1024x768 as the default GOP mode. It is the only option available for
Hyper-V Gen.2 VMs and it seems to be the de facto standard and part of
WHQL requirements.

(martin)

2020-02-11 11:01:10 UTC MAIN commitmail json YAML

Use 1024x768 as the default GOP mode. It is the only option available for
Hyper-V Gen.2 VMs and it seems to be the de facto standard and part of
WHQL requirements.

(jmcneill)

2020-02-11 09:32:07 UTC MAIN commitmail json YAML

2020-02-11 08:44:57 UTC netbsd-8 commitmail json YAML

2020-02-11 08:44:11 UTC netbsd-8 commitmail json YAML

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

sys/dev/ic/elinkxl.c: revision 1.137

  Restore an register read for RX_FRAMES_OK which was removed in rev. 1.133.

All statistics registers should be read to ACK the interrupt. Fixes PR#54920.
XXX pullup-[89]

(martin)

2020-02-11 08:43:28 UTC netbsd-9 commitmail json YAML

2020-02-11 08:41:28 UTC netbsd-9 commitmail json YAML

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

sys/dev/ic/elinkxl.c: revision 1.137

  Restore an register read for RX_FRAMES_OK which was removed in rev. 1.133.

All statistics registers should be read to ACK the interrupt. Fixes PR#54920.
XXX pullup-[89]

(martin)

2020-02-11 08:39:01 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1500):

sys/dev/ld.c: revision 1.108

Reject open when attach didn't complete successfully.

(martin)

2020-02-11 08:37:34 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #694):

sys/dev/ld.c: revision 1.108

Reject open when attach didn't complete successfully.

(martin)

2020-02-11 07:03:16 UTC MAIN commitmail json YAML

Add ATF tests for audio(4).

    91 passed test cases
    0 failed test cases.
    0 expected failed test cases.
    62 skipped test cases.

There are many skipped tests, because the test itself supports full-
duplex, half-duplex and uni-directional devices but pad(4) used in ATF
tests is uni-directional device.

(isaki)

2020-02-11 06:33:51 UTC MAIN commitmail json YAML

2020-02-11 06:26:19 UTC MAIN commitmail json YAML

2020-02-11 06:09:48 UTC MAIN commitmail json YAML

fix compilation failure for arches without l_pcu_valid
ok riastradh

(dogcow)

2020-02-11 03:15:10 UTC MAIN commitmail json YAML

2020-02-11 03:14:49 UTC MAIN commitmail json YAML

Preserve pcu(9) state in fork.

There should perhaps be a pcu_fork operation to keep this factored
neatly but this will be simpler to pull up.

In practical terms, this may not affect most architecture that use
pcu(9) -- alpha, arm32, mips, powerpc, riscv -- but it does affect
aarch64, in which v8-v15 are callee-saves, and GCC actually takes
advantage of them, and for more than just floating-point data too.

XXX pullup

(riastradh)

2020-02-11 03:12:06 UTC MAIN commitmail json YAML

Delete aarch64 cpu_in_cksum.S draft.

This isn't actually used in the kernel; it is only used to cause the
in_cksum tests to fail.

If you want to revive it and make it work, you can pull it out of the
attic.

(riastradh)

2020-02-11 03:11:43 UTC MAIN commitmail json YAML

aarch64 doesn't trap integer division by zero either.

(riastradh)

2020-02-11 00:41:37 UTC MAIN commitmail json YAML

Rewrite the t_ptrace_wait resume1 test

Switch to pthread functions.
Rename to 'resume'.
Synchronize the threads with pthread barriers.
Avoid race in the test.

Test passes correctly.

Fixes PR bin/54893 by Andreas Gustafsson

(kamil)

2020-02-10 23:21:42 UTC MAIN commitmail json YAML

Change types of DUP2ALIAS and DUP2FDMASK bit masks to unsigned

This is for consistency with the DUP2BIT change.

(kamil)

2020-02-10 22:38:10 UTC MAIN commitmail json YAML

safely extract character sequences from packet for printing.

(mlelstv)

2020-02-10 22:33:28 UTC MAIN commitmail json YAML

Don't use strlcpy to copy untrusted input, it may not be NUL-terminated.

(mlelstv)

2020-02-10 22:13:50 UTC MAIN commitmail json YAML

2020-02-10 22:13:01 UTC MAIN commitmail json YAML

- check for errors in exec_resolvename() and fail
- put back the compat_linux modules in the exec array (commented out)
- remove extra parens

(christos)

2020-02-10 22:11:09 UTC MAIN commitmail json YAML

Put back the delay hooks which were deleted before. Without them VirtualBox
spins out.

(christos)

2020-02-10 21:54:26 UTC MAIN commitmail json YAML

Use a closer equivalent to MEMREMAP_WB: BUS_SPACE_MAP_CACHEABLE

Not a fix for PR port-amd64/54808

(maya)

2020-02-10 21:40:19 UTC netbsd-9 commitmail json YAML

2020-02-10 21:39:38 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #693):
usr.sbin/sysinst/arch/x68k/msg.md.en: revision 1.2
usr.sbin/sysinst/arch/x68k/md.c: revision 1.10
usr.sbin/sysinst/arch/mvme68k/msg.md.fr: revision 1.2
usr.sbin/sysinst/arch/x68k/msg.md.en: revision 1.3
usr.sbin/sysinst/arch/mvme68k/msg.md.fr: revision 1.3
usr.sbin/sysinst/msg.mi.en: revision 1.28
usr.sbin/sysinst/arch/hp300/md.c: revision 1.10
usr.sbin/sysinst/msg.mi.es: revision 1.22
usr.sbin/sysinst/target.c: revision 1.12
usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.10
usr.sbin/sysinst/arch/i386/md.c: revision 1.30
usr.sbin/sysinst/arch/mvme68k/msg.md.pl: revision 1.2
usr.sbin/sysinst/arch/mvme68k/msg.md.pl: revision 1.3
usr.sbin/sysinst/bsddisklabel.c: revision 1.39
usr.sbin/sysinst/arch/mvme68k/msg.md.de: revision 1.2
usr.sbin/sysinst/arch/mac68k/md.c: revision 1.9
usr.sbin/sysinst/disklabel.c: revision 1.35
usr.sbin/sysinst/arch/mvme68k/msg.md.de: revision 1.3
usr.sbin/sysinst/defs.h: revision 1.55
usr.sbin/sysinst/disks.c: revision 1.63
usr.sbin/sysinst/disks.c: revision 1.64
usr.sbin/sysinst/mbr.c: revision 1.31
usr.sbin/sysinst/disks.c: revision 1.65
usr.sbin/sysinst/txtwalk.c: revision 1.3
usr.sbin/sysinst/txtwalk.c: revision 1.4
usr.sbin/sysinst/arch/mvme68k/msg.md.en: revision 1.2
usr.sbin/sysinst/arch/mvme68k/msg.md.en: revision 1.3
usr.sbin/sysinst/msg.mi.fr: revision 1.26
usr.sbin/sysinst/msg.mi.pl: revision 1.29
usr.sbin/sysinst/arch/mvme68k/msg.md.es: revision 1.2
usr.sbin/sysinst/upgrade.c: revision 1.15
usr.sbin/sysinst/arch/mvme68k/msg.md.es: revision 1.3
usr.sbin/sysinst/upgrade.c: revision 1.16
usr.sbin/sysinst/partman.c: revision 1.50
usr.sbin/sysinst/msg.mi.de: revision 1.21
remove unused "emptypart" message (or moved to ifdef notyet area)
PR install/54921: message "ordering" takes a %s argument.
PR install/54921: skip non-user partitions when checking for overlaps
bootxx_name() - fix oversight in previous change (do not assume first
partition is the root partition)
PR install/54934: always use -f on the installboot invocation. We come
here post-newfs (and maybe should have dd'd zeros to the start of the
disk before newfs instead).
Remove a bogus assert: when reading disklabel partitions and the outer
(MBR) partitioning has changed, but the changes have not yet been written
back to disk, we need to ignore the kernels idea of the disklabel and
instead continue with an empty one.
Deal with partitioning schemes having no inner counterpart.
Avoid NULL derefs.
Do not assum a partitioning scheme that supports innner partitions always
needs to actually have such partitions defined.
PR bin/54944: deal with escaped spaces in NAME= syntax in /etc/fstab.
PR bin/54944: explicitly reject GPT protective MBRs.
PR bin/54944: make the "explicit single wedge" selection also work for
upgrades.
Reformat a query to add an automatically detected swap partition
so it fits on narrow screens.
Make re-install sets also work for an explicit selected root wedge
Fix copy&pasto in previous - from kre.
Only a single partition can ever have the "extend" flag (grow to available
size).
Do not use -P for tar extractions - the in tree tar has been fixed.
Finish conversion to generic partitioning backend

(bouyer)

2020-02-10 20:11:48 UTC MAIN commitmail json YAML

use wdc_maxdrives for atabus_alloc_drives() also in wdc_sataprobe()
instead of magic 1; no functional change, all wdc_sataprobe() users
actually set wdc_maxdrives to 1

(jdolecek)

2020-02-10 19:32:47 UTC netbsd-9 commitmail json YAML

2020-02-10 19:30:00 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #692):

external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c: revision 1.5

When extracting symlinks atomically remove them like we do for hard links.

(martin)

2020-02-10 19:20:01 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/arm32/pmap.c: revision 1.383
sys/arch/arm/arm32/pmap.c: revision 1.385
sys/arch/arm/arm32/pmap.c: revision 1.386
sys/arch/arm/arm32/pmap.c: revision 1.387
sys/arch/arm/arm32/pmap.c: revision 1.374
sys/arch/arm/arm32/pmap.c: revision 1.375
sys/arch/arm/arm32/pmap.c: revision 1.376
sys/arch/arm/arm32/pmap.c: revision 1.377
sys/arch/arm/arm32/pmap.c: revision 1.378
sys/arch/arm/arm32/pmap.c: revision 1.379

Convert a __CTASSERT into a KASSERT as L1_S_CACHE_MASK may not be a
compile time constant if ARM_NMMUS > 1

Improve a comment

Update PMAP_STEAL_MEMORY code to uvm_hotplug

Typo in comment

Fix a bug introduced in 1.271 where pmap_grow_map would no longer map
the allocated page for the uvm.page_init_done == false case when
PMAP_STEAL_MEMORY is not defined.

Trailing whitespace

Fix comment

Always pmap_kenter_pa the page in pmap_grow_map regardless of how we got
it.

Always call pmap_grow_map with a page aligned new VA.  KASSERT that this
happenes.

More KNF

(martin)

2020-02-10 19:14:03 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by ryo in ticket #690):

usr.bin/mkubootimage/mkubootimage.c: revision 1.30

arm64_image_header->image_size must be included size of arm64_image_header.

with -u option, image_size should be binary (file) size (header included).
without -u option, image_size should be binary (file) size + header size.

(martin)

2020-02-10 19:07:22 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #689):

share/mk/sys.mk: revision 1.143

Don't special case aarch64 and add -fomit-frame-pointer to builds.

This behaviour is probably due to a past behaviour of clang, where it
always emitted frame pointer code.

This is no longer true for clang on netbsd, and I don't think it was true
for GCC.

Meanwhile, this flag bleeds into pkgsrc where it breaks random packages,
requiring workarounds like lang/ruby*-base/hacks.mk.

(martin)

2020-02-10 19:05:05 UTC netbsd-9 commitmail json YAML

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

share/man/man4/nvmm.4: revision 1.5
lib/libnvmm/libnvmm.3: revision 1.26
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.47

Mmh, as noted in PR/54847, this should be uint64_t, not uint16_t. Harmless
because we use only the two lowest bits anyway.

I believe this could be caught by KUBSAN; time to do another round of
NVMM+K_SAN testing.

Reference nvmmctl(8).

(martin)

2020-02-10 19:04:02 UTC MAIN commitmail json YAML

use LIST(3) instead of TAILQ(3) to save one word in struct vm_page and struct pmap.

pointed out by riastradh@. thanks

(ryo)

2020-02-10 18:59:49 UTC netbsd-9 commitmail json YAML

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

sys/arch/i386/stand/efiboot/efiboot.c: revision 1.12

Do not clear the screen before exiting boot services as this may cause an
undesired display mode switch. PR# 54615

(martin)

2020-02-10 18:57:06 UTC netbsd-9 commitmail json YAML

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

sys/arch/i386/stand/efiboot/eficons.c: revision 1.8

Fix a few bugs related to the framebuffer:
  - If a GOP mode wasn't explicitly requested, the bootloader was passing
    fb info to the kernel even if the console was in text mode! This
    results in garbled console output on at least ThinkPad T420 and
    likely many others. If a mode isn't specified, default to 800x600.
  - The "gop" command was incorrectly parsing video modes in the form
    WxHxD as WxWxD.
  - Allow a short form WxH for the "gop" command to select any mode with
    the target dimensions.

(martin)

2020-02-10 18:54:14 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #684):

bin/sh/jobs.c: revision 1.107
bin/sh/main.c: revision 1.83
bin/sh/main.c: revision 1.84
bin/sh/main.c: revision 1.85

If we are invoked with SIGCHLD ignored, we fail badly, as we assume
that we can always wait(2) for our children, and an ignored SIGCHLD
prevents that.  Recent versions of bash can be convinced (due to a
bug most likely) to invoke us that way.  Always return SIGCHLD to
SIG_DFL during init - we already prevent scripts from fiddling it.

All ash derived shells apparently have this problem (observed by
Martijn Dekker, and notified on the bash-bug list).  Actual issue
diagnosed by Harald van Dijk (same list).

Actually, the issue with bash (in previous) is more likely that the
SIGCHLD is blocked rather than ignored.  We want neither.  Make sure
SIGCHLD is unblocked as well as SIG_DFL.

XXX pullup -9

bin/sh: Fixes -Werror=shadow causing build breaks.
Conflicting variable name, sigset_t sigs has been renamed to sigset_t mask

Reviewed by: kamil@

Avoid a core dump if a child process that is not one of our
children happens to exit while we are waiting for another child
to exit.

This can happen with code like
sh -c '
sleep 5 &
exec sh -c "sleep 10 & wait !$"
      '

when the inner "sh" is waiting for the 10 second sleep to be
done, the 5 second sleep started earlier terminates.  It is
a child of our process, as the inner shell is the same process
as the outer one, but not a known child (the inner shell has no
idea what the outer one did before it started).

This was observed in the wild by Martijn Dekker (where the outer
shell was bash but that's irrelevant).

XXX pullup -9

(martin)

2020-02-10 18:50:29 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #683):

sys/dev/usb/ehci.c: revision 1.269

don't call usb_syncmem() for zero-length packets.

(martin)

2020-02-10 18:46:41 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #682):

sys/arch/next68k/include/vmparam.h: revision 1.27
sys/arch/mac68k/include/vmparam.h: revision 1.46
sys/arch/sun3/include/vmparam.h: revision 1.38
sys/arch/m68k/include/vmparam.h: revision 1.1
sys/arch/hp300/include/vmparam.h: revision 1.41
sys/arch/m68k/include/Makefile: revision 1.32
sys/arch/amiga/include/vmparam.h: revision 1.48
distrib/sets/lists/comp/ad.m68k: revision 1.63
sys/arch/x68k/include/vmparam.h: revision 1.40
sys/arch/mvme68k/include/vmparam.h: revision 1.38
sys/arch/luna68k/include/vmparam.h: revision 1.23
sys/arch/news68k/include/vmparam.h: revision 1.23
sys/arch/atari/include/vmparam.h: revision 1.34
sys/arch/cesfic/include/vmparam.h: revision 1.19

Add MAX/MIN PAGE_SIZE and PAGE_SHIFT definitions of m68k for jemalloc(3).

Background:
- All m68k ports have fixed PAGE_SIZE value in their kernels,
  but each port uses different PAGE_SIZE value (4096 or 8192)
  due to historical reasons.
- Currently module(7) binaries are built per each port so
  all m68k kernel sources don't support run-time variable PAGE_SIZE.
- MI <uvm/uvm_param.h> assumes that the port supports a variable
  PAGE_SIZE on module(7) builds if both MAX_PAGE_SIZE and MIN_PAGE_SIZE
  are defined and they have different values.
- On the other hand, jemalloc(3) checks MAX_PAGE_SHIFT in
  src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
  for internal optimization.
- m68k ports share userland binaries (especially pkgsrc binaries)
  among all ports, so we need to define MAX_PAGE_SHIFT as 13 to
  support m68k ports where PAGE_SIZE==8192.
  (though this would affect only if static binaries built on
  4k page hosts are executed on 8k page hosts)

To solve these inconsistency on PAGE_SIZE definitions,
we should have an independent PAGE_SIZE related definitions
for userland, but it requires major reorganization.

For now (especially for netbsd-9) we define MAX/MIN PAGE_SIZE and
PAGE_SHIFT values in <m68k/vmparam.h> only in !defined(_KERNEL) case.

Discussed on source-changes-d@ and tech-kern@ with christos@ and thorpej@:
https://mail-index.netbsd.org/source-changes-d/2020/01/thread1.html#012035
https://mail-index.netbsd.org/tech-kern/2020/01/thread1.html#025954

Should be pulled up to netbsd-9.

(martin)

2020-02-10 18:28:33 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #681):

distrib/news68k/floppies/ramdisk/Makefile: revision 1.38
sys/arch/news68k/conf/INSTALL: revision 1.66

Add and enable dhcpcd for news68k installation.
news68k has already required two floppies since 9.0
so there is no popular demand to shrink ramdisk.

(martin)

2020-02-10 18:17:57 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/cortex/gicv3_its.c: revision 1.25

Use kmem_zalloc for its state, fixes possible crash if a driver tries to
set affinity before a CPU is online.

(martin)

2020-02-10 16:51:59 UTC netbsd-8 commitmail json YAML

2020-02-10 16:51:49 UTC MAIN commitmail json YAML

2020-02-10 16:49:48 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1499):

sys/arch/i386/stand/efiboot/efiboot.c: revision 1.12

Do not clear the screen before exiting boot services as this may cause an
undesired display mode switch. PR# 54615

(martin)

2020-02-10 16:47:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1498):

sys/arch/i386/stand/efiboot/eficons.c: revision 1.8

Fix a few bugs related to the framebuffer:
- If a GOP mode wasn't explicitly requested, the bootloader was passing
  fb info to the kernel even if the console was in text mode! This
  results in garbled console output on at least ThinkPad T420 and
  likely many others. If a mode isn't specified, default to 800x600.
- The "gop" command was incorrectly parsing video modes in the form
  WxHxD as WxWxD.
- Allow a short form WxH for the "gop" command to select any mode with
  the target dimensions.

(martin)

2020-02-10 16:13:48 UTC MAIN commitmail json YAML

Add description on hw.alps.touchpad_movement_threshold

(ryoon)

2020-02-10 16:12:59 UTC MAIN commitmail json YAML

Introduce hw.alps.touchpad_movement_threshold to better button area clicks

(ryoon)

2020-02-10 16:08:59 UTC MAIN commitmail json YAML

Finish conversion to generic partitioning backend

(martin)

2020-02-10 15:30:33 UTC MAIN commitmail json YAML

Reflect typo fix, bump date

(ryoon)

2020-02-10 15:29:05 UTC MAIN commitmail json YAML

Fix typo in sysctl node name

(ryoon)

2020-02-10 15:24:21 UTC MAIN commitmail json YAML

When extracting symlinks atomically remove them like we do for hard links.

(christos)

2020-02-10 14:55:53 UTC MAIN commitmail json YAML

Do not use -P for tar extractions - the in tree tar has been fixed.

(martin)

2020-02-10 11:42:41 UTC MAIN commitmail json YAML

Rename suspend2 to suspend_no_deadlock

(kamil)

2020-02-10 10:05:55 UTC MAIN commitmail json YAML

Reject open when attach didn't complete successfully.

(mlelstv)

2020-02-10 09:15:28 UTC MAIN commitmail json YAML

Fix USB_DEBUG build

(skrll)

2020-02-10 09:10:58 UTC MAIN commitmail json YAML

Avoid unportable bit shift semantics

hijack.c:451:52, left shift of 1 by 31 places cannot be represented in type 'int

(kamil)

2020-02-10 07:48:02 UTC MAIN commitmail json YAML

Restore an register read for RX_FRAMES_OK which was removed in rev. 1.133.
All statistics registers should be read to ACK the interrupt. Fixes PR#54920.

XXX pullup-[89]

(msaitoh)

2020-02-10 07:13:06 UTC MAIN commitmail json YAML

Omit duplicate rnd_init in rump.

(riastradh)

2020-02-10 05:53:12 UTC MAIN commitmail json YAML

2020-02-10 05:07:28 UTC MAIN commitmail json YAML

fix descriptions of register map in comment

(ryo)

2020-02-10 04:54:01 UTC MAIN commitmail json YAML

2020-02-10 03:23:29 UTC MAIN commitmail json YAML

Initialize struct cpu_info::ci_cpuname (= ci_data.cpu_name) in rump.

(riastradh)

2020-02-09 22:57:39 UTC MAIN commitmail json YAML

Switch from ad-hoc logging to dtrace probes.

(riastradh)

2020-02-09 22:57:27 UTC MAIN commitmail json YAML

Teach threadpool(9) to use percpu_create, mostly.

(riastradh)

2020-02-09 21:15:04 UTC MAIN commitmail json YAML

route(4): dst addr could be in a different mbuf for RO_MISSFILTER

While here, the correct assertation is RTAX_DST == 0.
RTA_DST is just a flag.

(roy)

2020-02-09 16:06:18 UTC MAIN commitmail json YAML

2020-02-09 15:52:48 UTC MAIN commitmail json YAML

usr.sbin/ypserv: Suppress -Werror=format-truncation= error.

Add GCC_NO_FORMAT_TRUNCATION makedbm.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 15:46:15 UTC MAIN commitmail json YAML

Remove trace of uyurex. Pointed out by maxv, thanks!

(maya)

2020-02-09 15:22:25 UTC MAIN commitmail json YAML

Improve compatibility with newer A64 DE2 DTB endpoint numbers.

Should fix video output with new Linux 5.5rc DTBs on A64/H2/H3/H5-based SoCs.

(jakllsch)

2020-02-09 15:13:28 UTC MAIN commitmail json YAML

usr.sbin/timed: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION master.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 15:10:31 UTC MAIN commitmail json YAML

usr.sbin/srtconfig: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to srtconfig.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 13:02:25 UTC MAIN commitmail json YAML

Revert previous two commits, will fix this another way.

(jmcneill)

2020-02-09 12:53:19 UTC MAIN commitmail json YAML

Don't autoload vesa on x86 at all as it conflicts with wsfb.

(jmcneill)

2020-02-09 12:28:28 UTC MAIN commitmail json YAML

2020-02-09 12:19:01 UTC MAIN commitmail json YAML

2020-02-09 12:13:39 UTC MAIN commitmail json YAML

Do not clear the screen before exiting boot services as this may cause an
undesired display mode switch. PR# 54615

(jmcneill)

2020-02-09 11:40:14 UTC MAIN commitmail json YAML

Try wsfb before vesa on x86. Modern video cards may not support VBE at all.

(jmcneill)

2020-02-09 09:30:37 UTC MAIN commitmail json YAML

2020-02-09 09:30:23 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2020-02-09 09:29:50 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2020-02-09 09:11:59 UTC MAIN commitmail json YAML

Specify NOLIBCSANITIZER for the ELF loader

The sanitizer does not work reliably before finishing initialization of
ld.elf_so. There is also a number of false positives that are not real
problems here.

(kamil)

2020-02-09 08:14:56 UTC MAIN commitmail json YAML

#if 0 / #endif -> a comment

(skrll)

2020-02-09 08:10:26 UTC MAIN commitmail json YAML

usr.bin/xlint: Fix -Werror=format-overflow= error.

Replace sprintf(3) with snprintf(3).

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 08:09:59 UTC MAIN commitmail json YAML

2020-02-09 08:04:40 UTC MAIN commitmail json YAML

external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 07:59:44 UTC MAIN commitmail json YAML

external/mpl/dhcp: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow mdb6.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 07:55:13 UTC MAIN commitmail json YAML

external/cddl/osnet: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION dwarf.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 07:51:20 UTC MAIN commitmail json YAML

external/bsd/ipf: Suppress -Werror=maybe-uninitialized error.

Add -Wno-error=maybe-uninitialized in ipsopt.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-09 07:47:50 UTC MAIN commitmail json YAML

external/bsd/ipf: Suppress -Werror=format-overflow= error.

Add -Wno-error=format-overflow in ipmon.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-08 21:16:53 UTC MAIN commitmail json YAML

Don't special case aarch64 and add -fomit-frame-pointer to builds.

This behaviour is probably due to a past behaviour of clang, where it
always emitted frame pointer code.
This is no longer true for clang on netbsd, and I don't think it was true
for GCC.

Meanwhile, this flag bleeds into pkgsrc where it breaks random packages,
requiring workarounds like lang/ruby*-base/hacks.mk.

(maya)

2020-02-08 20:29:30 UTC MAIN commitmail json YAML

Add -s flag to scale image to root window size.

(jmcneill)

2020-02-08 19:58:37 UTC MAIN commitmail json YAML

O_SEARCH tests: expect revoke +x failure on NFS

Patch by Kyle Evans (FreeBSD)

PR misc/54946

(kamil)

2020-02-08 17:06:03 UTC MAIN commitmail json YAML

Change the behavior of pthread_equal()

On error when not aborting, do not return EINVAL as it has a side effect
of being interpreted as matching threads. For invalid threads return
unmatched.

Check pthreads for NULL, before accessing pt_magic field. This avoids
faults on comparision with a NULL pointer.

This behavior is in the scope of UB, but should be easier to deal with
buggy software.

(kamil)

2020-02-08 14:35:47 UTC MAIN commitmail json YAML

Fix a few bugs related to the framebuffer:
- If a GOP mode wasn't explicitly requested, the bootloader was passing
  fb info to the kernel even if the console was in text mode! This
  results in garbled console output on at least ThinkPad T420 and
  likely many others. If a mode isn't specified, default to 800x600.
- The "gop" command was incorrectly parsing video modes in the form
  WxHxD as WxWxD.
- Allow a short form WxH for the "gop" command to select any mode with
  the target dimensions.

(jmcneill)

2020-02-08 14:17:30 UTC MAIN commitmail json YAML

route(4): add RO_MISSFILTER socket option

This allows filtering of specific RTM_MISS destination sockaddrs.

(roy)

2020-02-08 13:44:35 UTC MAIN commitmail json YAML

Avoid use-after-free bug in PAM environment

Traditional BSD putenv(3) was creating an internal copy of the passed
argument. Unfortunately this was causing memory leaks and was changed by
POSIX to not allocate.

Adapt the putenv(3) usage to modern POSIX (and NetBSD) semantics.

(kamil)

2020-02-08 13:33:56 UTC MAIN commitmail json YAML

user.bin/tftp: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow tftp.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-08 13:27:01 UTC MAIN commitmail json YAML

arm64_image_header->image_size must be included size of arm64_image_header.

with -u option, image_size should be binary (file) size (header included).
without -u option, image_size should be binary (file) size + header size.

(ryo)

2020-02-08 13:20:10 UTC MAIN commitmail json YAML

external/bsd/ntp: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to refclock_jjy.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-08 12:56:56 UTC MAIN commitmail json YAML

usr.sbin/fstyp: Fix -Werror=conversion error.

Type cast the size_t to uint32_t to prevent implicit type conversion errors.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-08 12:53:29 UTC MAIN commitmail json YAML

usr.bin/talk: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to get_names.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-08 12:17:16 UTC MAIN commitmail json YAML

external/bsd/dhcpcd: Fix a -Wconversion warning.

Type cast uint16_t to size_t to prevent implicit type conversion.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
gcc version 8.3.0

Reviewed by: roy@, kamil@

(fox)

2020-02-08 11:10:08 UTC MAIN commitmail json YAML

Fix a typo (extra `s')

(leot)

2020-02-08 11:02:07 UTC MAIN commitmail json YAML

Implement env(1) -0

-0      End each output line with NUL, not newline.

FreeBSD and GNU env(1) implement -0 which is used in 3rd party scripts.

This change is based on the FreeBSD code.

(kamil)

2020-02-08 10:36:02 UTC MAIN commitmail json YAML

Add CVS Id tag and switch __attribute__ to __dead.

(kamil)

2020-02-08 10:30:22 UTC MAIN commitmail json YAML

Implement env(1) -u

The option '-u name' causes removal of the name environment variable if
it is in the environment.  This is similar to the unset command in sh(1).
The value for name must not include the '=' character.

Add HISTORY section in the man page.

The -u argument is implemented by Linux, FreeBSD and Darwin.
The lack of -u in NetBSD is a cause for a frequent fallout in the LLVM
toolchain test-suite.

(kamil)

2020-02-08 09:05:08 UTC MAIN commitmail json YAML

Sync the codes with reality: partial replaced by mid, and use-after-ret
added.

(maxv)

2020-02-08 08:47:27 UTC MAIN commitmail json YAML

Move three functions into usbdi_util.c, where they belong. No functional
change.

(maxv)

2020-02-08 08:23:01 UTC MAIN commitmail json YAML

Apply FreeBSD r357300:

> aic7xxx(4): Fix unintended sign extension in ahd_inq()
>
> ahd_inb() returns type uint8_t.  The shift left by untyped 24 implicitly
> promotes the result to type (signed) int.  Then the binary OR with uint64_t
> values sign-extends the integer.  If bit 31 of the read value happened to be
> set, the 64-bit result would have all upper 32 bits set to 1 due to OR.
> This is clearly not intended.
>
> Reported by: Coverity
> CID: 980473 (old one!)

(msaitoh)

2020-02-08 08:18:06 UTC MAIN commitmail json YAML

Reorder usbdi_util.{c,h}, for clarity. No functional change.

(maxv)

2020-02-08 07:57:16 UTC MAIN commitmail json YAML

Dedup usb_desc_iter_next with usb_desc_iter_peek.

(maxv)

2020-02-08 07:53:24 UTC MAIN commitmail json YAML

2020-02-08 07:38:17 UTC MAIN commitmail json YAML

Move uvideo's parsers into usbdi.c, to make them global. Rename
usb_desc_iter_peek_next -> usb_desc_iter_peek for consistency.

(maxv)

2020-02-08 07:24:46 UTC MAIN commitmail json YAML

2020-02-08 07:20:41 UTC MAIN commitmail json YAML

2020-02-08 07:19:09 UTC MAIN commitmail json YAML

2020-02-08 07:07:07 UTC MAIN commitmail json YAML

Retire KLEAK.

KLEAK was a nice feature and served its purpose; it allowed us to detect
dozens of info leaks on the kernel->userland boundary, and thanks to it we
tackled a good part of the infoleak problem 1.5 years ago.

Nowadays however, we have kMSan, which can detect uninitialized memory in
the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to
detect, but in addition, (1) it operates in all of the kernel and not just
the kernel->userland boundary, (2) it requires no user interaction, and (3)
it is deterministic and not statistical.

That makes kMSan the feature of choice to detect info leaks nowadays;
people interested in detecting info leaks should boot a kMSan kernel and
just wait for the magic to happen.

KLEAK was a good ride, and a fun project, but now is time for it to go.

Discussed with several people, including Thomas Barabosch.

(maxv)

2020-02-08 01:01:31 UTC MAIN commitmail json YAML

usr.sbin/altq: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to quip_client.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-08 00:59:55 UTC MAIN commitmail json YAML

games/hack: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-08 00:47:57 UTC MAIN commitmail json YAML

LAG, MLAG, the G is for group, adjust MCLAG

(sevan)

2020-02-08 00:41:42 UTC MAIN commitmail json YAML

2020-02-08 00:14:06 UTC MAIN commitmail json YAML

Read GCAP and version regs after taking the controller out of reset. Fixes
stream counts on my Radeon HD 7850.

(jmcneill)

2020-02-08 00:11:18 UTC MAIN commitmail json YAML

Expand the -Wno-macro-redefined usage to MKLIBCSANITIZER

_REENTRANT can be redefined and this is considered as an error.

(kamil)

2020-02-07 23:36:50 UTC MAIN commitmail json YAML

When adding an FB, don't assume that the front buffer is a radeon buffer
(it could be GBM managed instead).

(jmcneill)

2020-02-07 23:28:59 UTC MAIN commitmail json YAML

there is no potential overflow anymore (thanks Kamil)

(christos)

2020-02-07 22:13:35 UTC MAIN commitmail json YAML

stop using sprintf and check for buffer overflow.

(christos)

2020-02-07 22:05:16 UTC MAIN commitmail json YAML

Fake terminfo should not depend on TOOL_TIC for native build.
Makes it possible to build this standalone with USETOOLS=never.

(uwe)

2020-02-07 22:04:02 UTC MAIN commitmail json YAML

games/hack: Revert the strlcpy(1) change since this changes expected behavior from strncpy(3).

Reviewed by: kamil@

(fox)

2020-02-07 21:53:20 UTC MAIN commitmail json YAML

usr.sbin/altq: Revert the strlcpy(3) change since this changes expected behavior from strncpy(3).

Reviewed by: kamil@

(fox)

2020-02-07 20:34:18 UTC MAIN commitmail json YAML

games/hack:  Fix -Wstringop-truncation warning.

Replace strncpy(3) with strlcpy(3).

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-07 20:17:48 UTC MAIN commitmail json YAML

usr.bin/config: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to scan.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
gcc version 8.3.0

Reviewed by: kamil@

(fox)

2020-02-07 20:13:26 UTC MAIN commitmail json YAML

usr.sbin/altq: Fix -Wstringop-truncation warning.

Looks like the original intention was to truncate the string at len.

Replace strncpy(3) with strlcpy(3).

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

(fox)

2020-02-07 19:56:51 UTC MAIN commitmail json YAML

Fix typo in a comment.

(uwe)

2020-02-07 19:22:21 UTC MAIN commitmail json YAML

2020-02-07 19:00:18 UTC MAIN commitmail json YAML

Define HAVE_LIBDRM (required for loader_get_pci_id_for_fd)

(jmcneill)

2020-02-07 19:00:10 UTC MAIN commitmail json YAML

2020-02-07 18:48:58 UTC MAIN commitmail json YAML

2020-02-07 18:13:33 UTC MAIN commitmail json YAML

2020-02-07 15:11:46 UTC MAIN commitmail json YAML

Remove duplicate word.

(wiz)

2020-02-07 14:08:11 UTC MAIN commitmail json YAML

2020-02-07 13:37:21 UTC MAIN commitmail json YAML

NetBSD 9.99.46 - percpu_foreach_xcall().

(thorpej)

2020-02-07 13:10:26 UTC MAIN commitmail json YAML

Add percpu_foreach_xcall(9).

(thorpej)

2020-02-07 13:02:35 UTC MAIN commitmail json YAML

2020-02-07 12:35:33 UTC MAIN commitmail json YAML

Use percpu_foreach_xcall() to gather volatile per-cpu counters.  These
must be serialized against the interrupts / soft-interrupts in which
they're manipulated, as well as protected from non-atomic 64-bit memory
loads on 32-bit platforms.

(thorpej)

2020-02-07 11:55:22 UTC MAIN commitmail json YAML

Add percpu_foreach_xcall(), which is like percpu_foreach(), except it
runs the callback on the target CPU.

(thorpej)

2020-02-07 09:38:29 UTC MAIN commitmail json YAML

Use if_link_state_change() even if ixl(4) is attaching

(yamaguchi)

2020-02-07 07:16:32 UTC MAIN commitmail json YAML

2020-02-07 02:06:13 UTC MAIN commitmail json YAML

Avoid a core dump if a child process that is not one of our
children happens to exit while we are waiting for another child
to exit.

This can happen with code like

sh -c '
sleep 5 &
exec sh -c "sleep 10 & wait !$"
      '

when the inner "sh" is waiting for the 10 second sleep to be
done, the 5 second sleep started earlier terminates.  It is
a child of our process, as the inner shell is the same process
as the outer one, but not a known child (the inner shell has no
idea what the outer one did before it started).

This was observed in the wild by Martijn Dekker (where the outer
shell was bash but that's irrelevant).

XXX pullup -9

(kre)

2020-02-07 01:25:08 UTC MAIN commitmail json YAML

bin/sh: Fixes -Werror=shadow causing build breaks.

Conflicting variable name, sigset_t sigs has been renamed to sigset_t mask

Reviewed by: kamil@

(fox)

2020-02-07 01:19:46 UTC MAIN commitmail json YAML

Use callout_setfunc() / callout_schedule().

(thorpej)

2020-02-07 01:14:55 UTC MAIN commitmail json YAML

IPL_SOFTNET -> IPL_NET in previous.

(thorpej)

2020-02-07 00:56:49 UTC MAIN commitmail json YAML

2020-02-07 00:35:00 UTC MAIN commitmail json YAML

Single mappings are translated to OutputBase, not InputBase

(jmcneill)

2020-02-07 00:04:28 UTC MAIN commitmail json YAML

2020-02-06 23:30:20 UTC MAIN commitmail json YAML

Perform link state change processing on a work queue, rather than in a
softint.

(thorpej)

2020-02-06 22:52:26 UTC MAIN commitmail json YAML

Document what does ping_block.

(kamil)

2020-02-06 22:09:43 UTC MAIN commitmail json YAML

games/battlestar: Replace snprintf(3) with strlcpy(3) for better performance.

Reviewed by: kamil@

(fox)

2020-02-06 20:17:04 UTC MAIN commitmail json YAML

Only a single partition can ever have the "extend" flag (grow to available
size).

(martin)

2020-02-06 20:08:28 UTC MAIN commitmail json YAML

Actually, the issue with bash (in previous) is more likely that the
SIGCHLD is blocked rather than ignored.  We want neither.  Make sure
SIGCHLD is unblocked as well as SIG_DFL.

XXX pullup -9

(kre)

2020-02-06 19:53:10 UTC MAIN commitmail json YAML

Fix copy&pasto in previous - from kre.

(martin)

2020-02-06 19:52:09 UTC MAIN commitmail json YAML

Fix previous brainfart.

Don't use the uninitialized trng node as the root node -- derp.
Instead, use the root node as the root node, and initialize the trng
node here.

(riastradh)

2020-02-06 19:51:59 UTC MAIN commitmail json YAML

If we are invoked with SIGCHLD ignored, we fail badly, as we assume
that we can always wait(2) for our children, and an ignored SIGCHLD
prevents that.  Recent versions of bash can be convinced (due to a
bug most likely) to invoke us that way.  Always return SIGCHLD to
SIG_DFL during init - we already prevent scripts from fiddling it.

All ash derived shells apparently have this problem (observed by
Martijn Dekker, and notified on the bash-bug list).  Actual issue
diagnosed by Harald van Dijk (same list).

(kre)

2020-02-06 19:50:04 UTC MAIN commitmail json YAML

Make re-install sets also work for an explicit selected root wedge

(martin)

2020-02-06 19:41:57 UTC MAIN commitmail json YAML

2020-02-06 19:20:21 UTC MAIN commitmail json YAML

Stop including unused header <sys/poll.h>

(kamil)

2020-02-06 19:08:38 UTC MAIN commitmail json YAML

PR bin/54944: make the "explicit single wedge" selection also work for
upgrades.

(martin)

2020-02-06 18:07:22 UTC MAIN commitmail json YAML

PR bin/54944: explicitly reject GPT protective MBRs.

(martin)

2020-02-06 16:28:10 UTC MAIN commitmail json YAML

PR bin/54944: deal with escaped spaces in NAME= syntax in /etc/fstab.

(martin)

2020-02-06 15:08:04 UTC MAIN commitmail json YAML

Do not assum a partitioning scheme that supports innner partitions always
needs to actually have such partitions defined.

(martin)

2020-02-06 13:31:30 UTC MAIN commitmail json YAML

sent PMF events when (un)blanking so things like lmu can turn their lights on
or off as well

(macallan)

2020-02-06 12:51:14 UTC MAIN commitmail json YAML

Add bcm2837-rpi-3-a-plus.dts to DTS.  Requested by logix

(skrll)

2020-02-06 12:50:00 UTC MAIN commitmail json YAML

2020-02-06 12:36:38 UTC MAIN commitmail json YAML

Building X11 system packages by "build.sh syspkgs"

(uki)