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

2024-05-10 09:24:33 UTC Now

2019-06-15 15:22:56 UTC MAIN commitmail json YAML

- sync with latest from iana
- add ttcp

(christos)

2019-06-15 13:07:09 UTC MAIN commitmail json YAML

exclude shared libraries that are currently in use from removal.

(christos)

2019-06-15 08:20:34 UTC MAIN commitmail json YAML

When setting up a "use whole disk" single outer partition, force an
empty set of inner partitions immediately,

This avoids reading old (stale) partitions (e.g. disklabel that
survived cleaning and re-creating the MBR with the MBR NetBSD partition
starting at the same offset) later.

(martin)

2019-06-15 07:57:39 UTC MAIN commitmail json YAML

After deleting all partitions, reset alignment to the values we would
have used on an empty disk.

(martin)

2019-06-15 06:40:34 UTC MAIN commitmail json YAML

Add KASAN_PANIC, an option to turn KASAN warning into kernel panics,
requested by Siddharth. While here clarify a little.

(maxv)

2019-06-15 04:00:17 UTC MAIN commitmail json YAML

2019-06-15 02:00:21 UTC MAIN commitmail json YAML

explicitly initialize sensor->state

(macallan)

2019-06-15 00:08:25 UTC MAIN commitmail json YAML

2019-06-14 21:48:43 UTC MAIN commitmail json YAML

2019-06-14 21:28:10 UTC MAIN commitmail json YAML

add sunxihstimer* at fdt?

(tnn)

2019-06-14 21:26:36 UTC MAIN commitmail json YAML

sunxihstimer: add support for Allwinner High-Speed Timer

(tnn)

2019-06-14 16:34:31 UTC MAIN commitmail json YAML

Bump file system size slightly

(martin)

2019-06-14 16:11:12 UTC MAIN commitmail json YAML

Update TODO.ptrace

Drop compat32 entries as they were mostly addressed.
Drop MD specific calls, it's up to port's CPU to contain various features
like PT_STEP.

(kamil)

2019-06-14 14:39:49 UTC MAIN commitmail json YAML

cleanup obsolete file selection from sets and refactor font synchronization.
The font config files are not in sets, so they are still hard-coded.

(christos)

2019-06-14 14:17:58 UTC MAIN commitmail json YAML

2019-06-14 14:17:45 UTC MAIN commitmail json YAML

select the powerd scripts from the sets

(christos)

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

boot_ufs (primary bootloader) expects /boot OMAGIC a.out.

(isaki)

2019-06-14 11:50:35 UTC MAIN commitmail json YAML

Fix compile error (s/LAPIC_PCINT/LAPIC_LVT_PCINT/)

(msaitoh)

2019-06-14 11:08:18 UTC MAIN commitmail json YAML

Add support "interrupts-extended".

* fdtbus_get_phandle_with_data().
  Add utility subroutine to get phandle with data.

(hkenken)

2019-06-14 09:23:42 UTC MAIN commitmail json YAML

- Dump LAPIC and I/O APIC correctly.
  - Don't print redirect target on LAPIC.
  - Fix DEST_MASK:
    - DEST_MASK is not 1 bit but 2 bit.
    - Add missing "\0"s to print decoded name correctly.
  - Support both LAPIC and I/O APIC correctly in apic_format_redir().
- Improve output of some bits using with snprintb()'s "F\B\1" and ":\V".

(msaitoh)

2019-06-14 09:12:42 UTC MAIN commitmail json YAML

Use the generated "postinstall" in the objdir for postinstall-check
and postinstall-fix targets - we do not have a simple postinstall script
in the source tree any more.

(martin)

2019-06-14 09:09:12 UTC MAIN commitmail json YAML

Simplify the _ARM32_NEED_BUS_DMA_BOUNCE #ifdefs and rely on compiler
optimisation of the bouncing = false case.

Drain the write buf (aka DSB) in more cases

Catch all CPUs that support speculation. (thunderx isn't CPU_CORTEX)

(skrll)

2019-06-14 09:06:45 UTC MAIN commitmail json YAML

rtadvd: fix rdnss and dnssl lifetime assignment

Treat it the same as a prefix valid time as per the RFC.
This allows to set a zero value to remove the assignment from the node.

(roy)

2019-06-14 05:59:40 UTC MAIN commitmail json YAML

No functional change:
- Rename macros:
  - ICR, LVT and MSIDATA can share the bit definitions. Remove redundant
    definitions and use the common macros.
  - Consistently use LAPIC_LVT_ for all local vector table's macro names.
- Use __BITS().
- Add definition for TSC-deadline (LAPIC_LVT_TMM_TSCDLT).

(msaitoh)

2019-06-14 04:48:34 UTC MAIN commitmail json YAML

in nvme_attach() when creating the admin queue to probe the device info,
and also in nvme_dmamem_alloc(), allow as many DMA segment as would be
maximally needed for the size, rather than hard coding '2' for the form
and '1' for the latter.

now ld@nvme on i386 doesn't crash and i see at least 1.3GB/sec.

(mrg)

2019-06-14 03:35:31 UTC MAIN commitmail json YAML

KASSERT() -> KASSERTMSG() message in _bus_dmamem_alloc_range().

(mrg)

2019-06-14 01:54:16 UTC MAIN commitmail json YAML

make the script MI again (same across all archs)

(christos)

2019-06-14 01:06:33 UTC MAIN commitmail json YAML

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

Enhance the GDB support for NetBSD

- Enable VFORK events
- Add syscall number for SCE/SCX events
- Add commented out posix_spawn(3) events

(kamil)

2019-06-13 21:20:05 UTC MAIN commitmail json YAML

remove obsolete library files for all the "compat" subdirs not just amd64
and sparc64.

(christos)

2019-06-13 21:17:54 UTC MAIN commitmail json YAML

make all lines look the same, and put one arch per line.

(christos)

2019-06-13 20:54:05 UTC MAIN commitmail json YAML

2019-06-13 20:53:33 UTC MAIN commitmail json YAML

Anchor the egrep search to avoid npf.conf matching pf.conf, but don't
anchor $ so that blacklistd machines blackist.

(christos)

2019-06-13 20:26:06 UTC MAIN commitmail json YAML

Enable vfork(2) ATF tests in t_ptrace_wait*

The racing issues are gone in my local setup.

(kamil)

2019-06-13 20:23:56 UTC MAIN commitmail json YAML

Welcome to 8.99.45!

struct lwp includes now l_vforkwaiting.

(kamil)

2019-06-13 20:20:18 UTC MAIN commitmail json YAML

Correct use-after-free issue in vfork(2)

In the previous behavior vforking parent was keeping pointer to a child
and checking whether it clears a PL_PPWAIT in its bitfield p_lflag. However
a child can go invalid between exec/exit event from child and waking up
vforked parent and this can cause invalid pointer read and in the worst
scenario kernel crash.

In the new behavior vforked child keeps a reference to vforked parent LWP
and sets a value l_vforkwaiting to false. This means that vforked child
can finish its work, exec/exit and be terminated and once parent will be
woken up it will read its own field whether its child is still blocking.

Add new field in struct lwp: l_vforkwaiting protected by proc_lock.
In future it should be refactored and all PL_PPWAIT users transformed to
l_vforkwaiting and next l_vforkwaiting probably transformed into a bit
field.

This is another attempt of fixing this bug after <rmind> from 2012 in
commit:

Author: rmind <rmind@NetBSD.org>
Date:  Sun Jul 22 22:40:18 2012 +0000

    fork1: fix use-after-free problems.  Addresses PR/46128 from Andrew Doran.
    Note: PL_PPWAIT should be fully replaced and modificaiton of l_pflag by
    other LWP is undesirable, but this is enough for netbsd-6.

The new version no longer performs unsafe access in l_lflag changing the
LP_VFORKWAIT bit.

Verified with ATF t_vfork and t_ptrace* tests and they are no longer
causing any issues in my local setup.

Fixes PR/46128 by Andrew Doran

(kamil)

2019-06-13 19:37:36 UTC MAIN commitmail json YAML

fix eager sed that broke xorg_glamor.

(christos)

2019-06-13 19:30:30 UTC MAIN commitmail json YAML

1. fix /etc/defaults/*.conf files
    a. there are more rc.conf.append arch than only for x86, deal with them too.
    b. populate new /etc/defaults/rc.conf files
2. merge sed patterns
3. deal with empty exclude lists

(christos)

2019-06-13 19:13:05 UTC MAIN commitmail json YAML

Disable debug output

(martin)

2019-06-13 17:33:34 UTC MAIN commitmail json YAML

Fix the error handling in ehci_pci_attach(): if we got a USB<2 device we
won't call ehci_init(), so don't call ehci_detach() in ehci_pci_detach().

Fixes a panic seen on a recent Lenovo machine, which has an USB 1.1
controller; ehci_detach() was getting called while 'sc' had not been
completely initialized.

(maxv)

2019-06-13 17:20:25 UTC MAIN commitmail json YAML

Random style in ehci, also KM_SLEEP does not fail.

(maxv)

2019-06-13 15:10:27 UTC MAIN commitmail json YAML

Indent consistently. No functional change.

(msaitoh)

2019-06-13 13:37:56 UTC MAIN commitmail json YAML

2019-06-13 13:35:41 UTC MAIN commitmail json YAML

2019-06-13 12:44:20 UTC MAIN commitmail json YAML

When merging existing partitions into our install description, mark
them as to-be-mounted.

(martin)

2019-06-13 12:31:28 UTC MAIN commitmail json YAML

Do not use dynamic size adjustments on install descriptions based
on existing partitions - we need to keep them fixed to not confuse
free space calculation.

(martin)

2019-06-13 12:01:20 UTC MAIN commitmail json YAML

2019-06-13 09:36:56 UTC MAIN commitmail json YAML

2019-06-13 07:44:27 UTC MAIN commitmail json YAML

Modify LAPIC_LVT_CMCI's comment to be consistent with other LVT's.
No functional change.

(msaitoh)

2019-06-13 07:42:45 UTC MAIN commitmail json YAML

lapic_dump(): Print CMCI and thermal local vector table, too.

(msaitoh)

2019-06-13 07:28:17 UTC MAIN commitmail json YAML

2019-06-13 06:34:31 UTC MAIN commitmail json YAML

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

Remove GPT boot (not available for sparc64 yet)

(martin)

2019-06-13 06:20:35 UTC MAIN commitmail json YAML

Fix unitialized variable

(martin)

2019-06-13 06:12:55 UTC netbsd-8 commitmail json YAML

2019-06-13 05:19:40 UTC MAIN commitmail json YAML

No functional change:
- Simplify some code for readability.
- KNF a little.

(msaitoh)

2019-06-13 04:20:23 UTC MAIN commitmail json YAML

2019-06-13 03:07:24 UTC MAIN commitmail json YAML

make this build and likely work with the new sysinst world order.

(mrg)

2019-06-13 02:07:31 UTC MAIN commitmail json YAML

Try to load swcrypto if we we did not find any software drivers.

(christos)

2019-06-13 02:02:45 UTC MAIN commitmail json YAML

don't always panic when modunload crypto (int the pool destroy code, because
the pools are busy). XXX: this is still racy; we need to prevent creating
more sessions while destroying.

(christos)

2019-06-13 01:13:12 UTC MAIN commitmail json YAML

make pool assertion messages consistent.

(christos)

2019-06-13 00:24:43 UTC MAIN commitmail json YAML

2019-06-13 00:07:19 UTC MAIN commitmail json YAML

Correct inversed condition for dying process in sigswitch()

If a process is exiting and it was not asked to relock proc_lock, do not
free the mutex as it causes panic. This bug is a timing bug as the faulty
condition is not deterministic and fires only somtimes, but is quickly
triggerable when executed in an infinite loop.

Detected and reported with LLDB test-suite by <mgorny>

(kamil)

2019-06-12 23:17:40 UTC MAIN commitmail json YAML

Fix typo in comment (missing 'need')

(pgoyette)

2019-06-12 22:47:03 UTC MAIN commitmail json YAML

Support configuring ranges where only prefetchable memory is defined

(jmcneill)

2019-06-12 22:44:54 UTC MAIN commitmail json YAML

Use ranges from the device tree.

(jmcneill)

2019-06-12 22:23:50 UTC MAIN commitmail json YAML

2019-06-12 22:23:07 UTC MAIN commitmail json YAML

fix typo in comment, improve error message, add default case handling to
set error.

(christos)

2019-06-12 21:08:33 UTC MAIN commitmail json YAML

2019-06-12 21:02:07 UTC MAIN commitmail json YAML

Allow set_affinity calls before PEs are brought online. We store the
desired target PE if set_affinity is called early and restore the routes
when the PE comes alive.

(jmcneill)

2019-06-12 17:45:24 UTC MAIN commitmail json YAML

Remove hard-coded lists of rc files and generate them dynamically from the
sets. Fixes issues with automount, npf_boot etc. that were never updated here!

(christos)

2019-06-12 17:07:11 UTC MAIN commitmail json YAML

Add new ATF ptrace(2) tests for posix_spawn, reusing tests for fork/vfork

New tests:
- posix_spawn_detach_spawner
- posix_spawn_kill_spawner
- posix_spawn_singalmasked
- posix_spawn_singalignored

All test pass.

(kamil)

2019-06-12 17:04:35 UTC MAIN commitmail json YAML

2019-06-12 16:49:48 UTC MAIN commitmail json YAML

APFS ASR CLI CLS VES XSLT

(sevan)

2019-06-12 16:49:10 UTC MAIN commitmail json YAML

2019-06-12 14:36:32 UTC MAIN commitmail json YAML

Avoid LOCKDEBUG pserialize panic by implementing suggestion #1 from

    http://mail-index.netbsd.org/current-users/2019/02/24/msg035220.html:

Convert the mutex to spin-lock at IPL_NET (but it is excessive) and
convert the memory allocations in that code path to KM_NOSLEEP.

(christos)

2019-06-12 14:28:38 UTC MAIN commitmail json YAML

Add missing address check. This broke things like:

crash -w
w /l ipsec_debug 1

with an invalid address, because it found the first readonly segment and
returned EFAULT. I guess this never worked properly, but this got exposed
when maxv made text and rodata actually R/O?

(christos)

2019-06-12 13:53:25 UTC MAIN commitmail json YAML

Remove superfluous Pp.

(wiz)

2019-06-12 13:53:25 UTC MAIN commitmail json YAML

Fill silence if the last block of the first track is not filled.

(isaki)

2019-06-12 13:14:32 UTC MAIN commitmail json YAML

Describe about get_props() properties.

(isaki)

2019-06-12 12:33:42 UTC MAIN commitmail json YAML

2019-06-12 12:32:54 UTC MAIN commitmail json YAML

2019-06-12 12:30:42 UTC MAIN commitmail json YAML

Try to make posix_spawn(3) note in ptrace(2) less confusing

(kamil)

2019-06-12 12:26:24 UTC MAIN commitmail json YAML

Rephrase sentence about vfork+exec in posix_spawn(3)

Try to make it less confusing.

Requested by <joerg>

(kamil)

2019-06-12 11:35:41 UTC netbsd-8 commitmail json YAML

Missing files from commit for ticket #1280:

        sys/arch/x86/x86/hypervvar.h: revision 1.1
        sys/dev/hyperv/genfb_vmbus.c: revision 1.1
        sys/dev/hyperv/genfb_vmbusvar.h: revision 1.1
        sys/dev/hyperv/hvkbd.c: revision 1.1
        sys/dev/hyperv/hvkbdvar.h: revision 1.1

Added drivers for Hyper-V Synthetic Keyboard and Video device.

Avoid undefined reference to `hyperv_guid_video' without vmbus(4).

Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).

Use efi_probe().

(martin)

2019-06-12 11:35:18 UTC MAIN commitmail json YAML

revert rev 1.4:
>Adjust priority mappings, NFCI

it has some unintended change that makes nvme hangy.  ok @jmcneill.

(mrg)

2019-06-12 10:40:13 UTC netbsd-8 commitmail json YAML

2019-06-12 10:32:00 UTC netbsd-8 commitmail json YAML

Pull up the following revisions (via patch) requested by mrg in ticket #1281:

libexec/httpd/CHANGES 1.31-1.40
libexec/httpd/Makefile 1.28
libexec/httpd/auth-bozo.c 1.23-1.24
libexec/httpd/bozohttpd.8 1.75-1.79
libexec/httpd/bozohttpd.c 1.100-1.113
libexec/httpd/bozohttpd.h 1.58-1.60
libexec/httpd/cgi-bozo.c 1.46-1.48
libexec/httpd/daemon-bozo.c 1.20-1.21
libexec/httpd/dir-index-bozo.c 1.29-1.32
libexec/httpd/ssl-bozo.c 1.26
libexec/httpd/testsuite/Makefile 1.12-1.13
libexec/httpd/testsuite/t11.out 1.2
libexec/httpd/testsuite/test-bigfile 1.6
libexec/httpd/testsuite/test-simple 1.6

Don't display special files in the directory index.  They aren't
served, but links to them are generated.
---
All from "Rajeev V. Pillai" <rajeev_v_pillai@yahoo.com>:
- use html tables for directory index.
- don't include "index.html" in html headers
- additional escaping of names
- re-add top/bottom borders
- adds an aquamarine table header
- Zebra-stripes table rows using CSS instead of code
- fix CGI '+' param and error handling.
- remove unused parameter to daemon_poll_err().
- avoid sign extension in % handling
fix a few problems pointed out by clang static analyzer:
- bozostrnsep() may return with "in = NULL", so check for it.
- nul terminating in bozo_escape_rfc3986() can be simpler
- don't use uniinit variables in check_remap()
- don't use re-used freed data in check_virtual().
- fix bozoprefs->size setting when increasing the size (new total was
  being added to the prior total.)
  however, bozostrdup() may reference request->hr_file.
---
Add ssl specific timeout value (30s).  If SSL_accept() doesn't
work with in this timeout value, ssl setup now fails.
---
Fix handling of bozo_set_timeout() timeouts (and `-T' option parsing)
---
Avoid .htpasswd exposure to authenticated users when .htpasswd is
in the slashdir too.
---
Avoid possible NULL dereference when sending a big request that timeout.
---
Use strings.h for strcasecmp (on linux)
---
Account for cgihandler being set when counting the number of CGI environment
headers we are about to set. Avoids an assertion failure (and overruninng
the array) later.

(martin)

2019-06-12 10:27:59 UTC MAIN commitmail json YAML

Revert "Route all interrupts to the primary PE by default"

(jmcneill)

2019-06-12 10:19:27 UTC MAIN commitmail json YAML

Print interrupt details

(skrll)

2019-06-12 10:17:33 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/x86/consinit.c: revision 1.29
sys/dev/hyperv/vmbusvar.h: revision 1.2
sys/dev/hyperv/genfb_vmbusvar.h: revision 1.1
sys/arch/x86/x86/x86_autoconf.c: revision 1.78
sys/arch/x86/x86/identcpu.c: revision 1.91
sys/arch/x86/x86/hyperv.c: revision 1.2
sys/arch/x86/x86/hyperv.c: revision 1.3
sys/arch/x86/x86/hyperv.c: revision 1.4
sys/arch/i386/conf/GENERIC: revision 1.1207
sys/dev/wscons/wsconsio.h: revision 1.123
sys/arch/x86/x86/hypervvar.h: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.528
sys/dev/hyperv/files.hyperv: revision 1.2
sys/arch/x86/include/autoconf.h: revision 1.6
sys/dev/hyperv/hyperv_common.c: revision 1.2
sys/arch/xen/x86/autoconf.c: revision 1.23
sys/arch/x86/pci/pci_machdep.c: revision 1.86
sys/dev/hyperv/hvkbd.c: revision 1.1
sys/dev/hyperv/hypervvar.h: revision 1.2
sys/dev/acpi/vmbus_acpi.c: revision 1.2
sys/dev/hyperv/vmbus.c: revision 1.3
sys/dev/hyperv/hvkbdvar.h: revision 1.1
sys/dev/hyperv/genfb_vmbus.c: revision 1.1

Added drivers for Hyper-V Synthetic Keyboard and Video device.

Avoid undefined reference to `hyperv_guid_video' without vmbus(4).

Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).

Use efi_probe().

(martin)

2019-06-12 10:16:52 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2019-06-12 10:14:05 UTC MAIN commitmail json YAML

2019-06-12 10:13:45 UTC MAIN commitmail json YAML

2019-06-12 10:09:26 UTC MAIN commitmail json YAML

2019-06-12 10:03:28 UTC MAIN commitmail json YAML

Route all interrupts to the primary PE by default

(jmcneill)

2019-06-12 10:02:17 UTC MAIN commitmail json YAML

Adjust priority mappings, NFCI

(jmcneill)

2019-06-12 10:00:09 UTC MAIN commitmail json YAML

Fail gracefully if gicv3_its_set_affinity is called before a cpu is
brought online.

(jmcneill)

2019-06-12 09:03:32 UTC MAIN commitmail json YAML

2019-06-12 06:53:21 UTC MAIN commitmail json YAML

2019-06-12 06:51:32 UTC MAIN commitmail json YAML

Debug output improvement

(skrll)

2019-06-12 06:20:23 UTC MAIN commitmail json YAML

Rework internal data structures and "interfaces to user interface" functions
to get rid of all disklabel assumptions.

Previously (even for GPT partitioning) struct disklabel was used, which
obviously breaks large disk setups. Also many MD parts and parts of the
user interface assumed (a) a struct disklabel is used internally to
store partitioning information and (b) partitions are named 'a' ... $MAXPART.

Get rid of this and replace it with a quite abstract interface that should
be able to deal with all variants in partition storage:

- partitions are stored in a (partly abstract) struct disk_partitions
  and most parts of it are only accessed via accessor functions provided
  by a "partitioning scheme".

- implement partitioning schemes for MBR, disklabel and GPT (with likely
  RDB [amiga] and Apple Partition Map [mac*] to follow soon)

- partitioning schemes may be cascaded, e.g. on x86 when using MBR as
  "outer partitions", we have disklabel as "inner partitions".

- all user interface goes via accessor functions in the partitioning scheme,
  some of which return pointers to special user interface descriptors
  (e.g. to allow editing partition flags, which are scheme specific)

Overall the user interface changes (in this initial step) are minimal but
noticable. A new Anita is needed for automatic test setups - many thanks
to Andreas Gustafsson for lots of early testing and a new Anita version,
and to Manuel Bouyer for cooperation and tests of the Anita release.

This work was sponsored by The NetBSD Foundation, Inc.

(martin)

2019-06-12 04:20:18 UTC MAIN commitmail json YAML

Fix build with -Wgnu-designator in the ZFS code

struct buf buf = { b_bcount: MAXPHYS }; is a legacy style designator
extension and this raised a compiler error reported by a.rin@mix.

(kamil)

2019-06-12 04:10:26 UTC MAIN commitmail json YAML

update this to as much reality of 2019 as i can find on the web.

(mrg)

2019-06-12 03:06:49 UTC MAIN commitmail json YAML

various cleanups inspired by reviews:
- clean up variable usage
- be explicit that $ssh_userkeys is global
- don't assig id output to a variable not used

(mrg)

2019-06-12 01:54:12 UTC MAIN commitmail json YAML

Print ICH/PCH's NVM version.

(msaitoh)

2019-06-12 01:32:30 UTC MAIN commitmail json YAML

Fix double free: key_setsaval() free's newsav by calling key_freesaval()
and key_api_update() calls key_delsav() when key_setsaval() fails which
calls key_freesaval() again...

(christos)

2019-06-12 00:28:56 UTC MAIN commitmail json YAML

explicitly strip carriage return so that non-unix text files work.

(mrg)

2019-06-12 00:05:48 UTC MAIN commitmail json YAML

Document that posix_spawn(3) uses a dedicated syscall

vfork+exec operations are done in one go. This is important information for
programs that wrap posix_spawn(3).

(kamil)

2019-06-11 23:30:05 UTC MAIN commitmail json YAML

Add new PTRACE_POSIX_SPAWN tests in ptrace(3)

Add test:
- eventmask_preserved_posix_spawn
- fork9..fork16
- vfork9..vfork16
- posix_spawn1..16

New tests verify semantics of PTRACE_POSIX_SPAWN.

All tests pass.

(kamil)

2019-06-11 23:27:47 UTC MAIN commitmail json YAML

Document PTRACE_POSIX_SPAWN in man-page

(kamil)

2019-06-11 23:20:18 UTC MAIN commitmail json YAML

Welcome to 8.99.44!

posix_spawn(3) + ptrace(2) integration changed 'struct proc'.

(kamil)

2019-06-11 23:18:55 UTC MAIN commitmail json YAML

Add support for PTRACE_POSIX_SPAWN to report posix_spawn(3) events

posix_spawn(3) is a first class syscall in NetBSD, different to
(V)FORK+EXEC as these operations are executed in one go. This differs to
Linux and FreeBSD, where posix_spawn(3) is implemented with existing kernel
primitives (clone(2), vfork(2), exec(3)) inside libc.

Typically LLDB and GDB software is aware of FORK/VFORK events. As discussed
with the LLDB community, instead of slicing the posix_spawn(3) operation
into phases emulating (V)FORK+EXEC(+VFORK_DONE) and returning intermediate
state to the debugger, that might have abnormal state, introduce new event
type: PTRACE_POSIX_SPAWN.

A debugger implementor can easily map it into existing fork+exec semantics
or treat as a distinct event.

There is no functional change for existing debuggers as there was no
support for reporting posix_spawn(3) events on the kernel side.

(kamil)

2019-06-11 17:26:10 UTC MAIN commitmail json YAML

2019-06-11 15:31:19 UTC MAIN commitmail json YAML

Typo, also fix copy & pasted license

(martin)

2019-06-11 15:20:57 UTC MAIN commitmail json YAML

Improve error message

(pgoyette)

2019-06-11 14:00:16 UTC MAIN commitmail json YAML

Need rumpdev_disk for rumpfs_zfs.

(hannken)

2019-06-11 13:01:48 UTC MAIN commitmail json YAML

Initial commit of FDTised Xilinx Zynq-7000 support.  Tested with

qemu-system-arm -M xilinx-zynq-a9 -dtb zynq-zed.dtb -kernel netbsd.ub \
    -serial /dev/null -serial stdio

Based on a set of diffs/files from rjs@

sys/arch/arm/zynq is kept in place to allow existing kernels (e.g.
ZEDBOARD and PARALLELLA) to continue to build/work during the transition,
but eventually sys/arch/arm/zynq will be deleted.

(skrll)

2019-06-11 13:01:15 UTC MAIN commitmail json YAML

Add a help script to check for untranslated messages

(martin)

2019-06-11 12:49:21 UTC MAIN commitmail json YAML

Quote the name "Ed" to avoid confusion with the macro "Ed".

(wiz)

2019-06-11 12:48:30 UTC MAIN commitmail json YAML

2019-06-11 12:47:34 UTC MAIN commitmail json YAML

Correct outdated note that posix_spawn(3) is implemented with vfork(2)

The original FreeBSD libc code uses vfork(2), it's not the case for NetBSD
as there is a dedicated kernel syscall.

(kamil)

2019-06-11 11:57:14 UTC MAIN commitmail json YAML

Use more markup, fix some typos.

(wiz)

2019-06-11 10:50:58 UTC MAIN commitmail json YAML

add a method to add user accounts or ssh keys to the embedded
(installable) images which may be run entirely headless and
have no current method to edit the installation without another
netbsd host to modify the root (FFS) partition.

creds_msdos reads the creds.txt file from the msdos boot
partition and provides 4 basic methods:

sshkeyfile <user> <path on msdos>
sshkey <user> <entry>
useraddhash <user> <passwd hash>
useradd <user> <passwd>

the first two create a user with ssh key(s), and the second
two create a user with a password.  if the last method is used
and raw passwords are given, the creds.txt file will be
shredded and deleted by rm -P.

inspired by a request from a pine64 user.  ok jmcneill@.

(mrg)

2019-06-11 10:23:37 UTC MAIN commitmail json YAML

Fixed bug in curses library keyname, test now passes.

(blymn)

2019-06-11 10:22:35 UTC MAIN commitmail json YAML

Bracket strings being validated with markers to ensure sneaky whitespeace
is noticed.

(blymn)

2019-06-11 10:17:24 UTC MAIN commitmail json YAML

Fix typo for unknown key keyname return.

(blymn)

2019-06-11 09:05:33 UTC MAIN commitmail json YAML

There is no 1:1 relation between cv_signal() and cv_timedwait() as
the latter implicitly calls cv_signal() on error.

This leads to "tq_waiting > 0" with "tq_running == 0" and the
taskq stalls.

Change task_executor() to increment and decrement "tq_waiting"
and always check and run the queue after cv_timedwait().

Use mstohz(), fix timeout and sort includes.

Addresses PR port-xen/54273: "zpool create pool xbd2" panics DOMU kernel

(hannken)

2019-06-11 09:04:37 UTC MAIN commitmail json YAML

Try to retrieve the per-disk maximum transfer size and use it instead
of MAXPHYS.  Eagerly waiting for the merge of tls-maxphys.

Addresses PR port-xen/54273: "zpool create pool xbd2" panics DOMU kernel

(hannken)

2019-06-11 08:34:01 UTC MAIN commitmail json YAML

In the "got %d/%d" message printed at the end of the pingsize test,
make the latter number show the actual number of ICMP packets the test
attempted to send.  Thus, the two numbers can now be meaningfully
compared, and their difference indicates the number of packets lost.

(gson)

2019-06-11 08:09:36 UTC MAIN commitmail json YAML

2019-06-11 08:00:38 UTC MAIN commitmail json YAML

2019-06-11 04:52:44 UTC MAIN commitmail json YAML

turn on MKLLVMRT for aarch64 X11 builds.

with llvmpipe vs swrast, on pinebook 1080p i see 6x speed up for glxgears,
seamonkey & google maps is significantly faster, and ksudoku is workable.

(mrg)

2019-06-10 22:16:06 UTC MAIN commitmail json YAML

Add posix_spawn(3) ATF tests in t_ptrace_wait*

New tests verify whether forking process reports forking events to a
debugger.

Right now there is no support in the kernel for this system.

(kamil)

2019-06-10 22:10:44 UTC phil-wifi commitmail json YAML

2019-06-10 21:18:04 UTC MAIN commitmail json YAML

Add more verbosity to debug messages in t_ptrace_wait

Log func() file:line for each debug message.

Most messages are similar one with the other and this change allows easier
navigation in the code.

(kamil)

2019-06-10 13:49:39 UTC MAIN commitmail json YAML

Use AUDIO_SCALEDOWN() macro rather than seemingly strange ifdefs.
Discussed on source-changes-d.

(isaki)

2019-06-10 13:28:09 UTC MAIN commitmail json YAML

Add missing newline to some error messages.

(isaki)

2019-06-10 13:12:51 UTC MAIN commitmail json YAML

2019-06-10 10:28:41 UTC MAIN commitmail json YAML

it's html not himl.  should fix build.

(mrg)

2019-06-10 05:56:15 UTC MAIN commitmail json YAML

since uvm_faut() will fail if cache maintain instructions (e.g., "dc cvau".
that has ESR.WnR=1 = write access) for a read only page causes a data abort trap,
It shoulde be treat the access type as read access in a data abort with
cache operation (ESR_ISS_DATAABORT_CM=1)

pointed out and tested by mrg@. thanks

(ryo)

2019-06-10 00:51:46 UTC MAIN commitmail json YAML

2019-06-10 00:35:47 UTC MAIN commitmail json YAML

shmctl(SHM_LOCK) does not need to mess with mappings of the shm segment,
uvm_obj_wirepages() is sufficient.  this fixes the problem reported in
https://syzkaller.appspot.com/bug?id=71f9271d761f5b6ed517a18030dc04f0135e6179

(chs)

2019-06-09 18:44:34 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssl/dist/CHANGES@1.20 / diff / nxr@1.20
src/crypto/external/bsd/openssl/dist/Configure@1.24 / diff / nxr@1.24
src/crypto/external/bsd/openssl/dist/NEWS@1.20 / diff / nxr@1.20
src/crypto/external/bsd/openssl/dist/README@1.20 / diff / nxr@1.20
src/crypto/external/bsd/openssl/dist/apps/ocsp.c@1.19 / diff / nxr@1.19
src/crypto/external/bsd/openssl/dist/apps/s_client.c@1.19 / diff / nxr@1.19
src/crypto/external/bsd/openssl/dist/apps/speed.c@1.18 / diff / nxr@1.18
src/crypto/external/bsd/openssl/dist/crypto/bn/asm/mips.pl@1.5 / diff / nxr@1.5
src/crypto/external/bsd/openssl/dist/crypto/bn/bn_lib.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/crypto/ec/ec2_smpl.c@1.9 / diff / nxr@1.9
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_ameth.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_lib.c@1.6 / diff / nxr@1.6
src/crypto/external/bsd/openssl/dist/crypto/ec/ecp_smpl.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c@1.18 / diff / nxr@1.18
src/crypto/external/bsd/openssl/dist/crypto/hmac/hmac.c@1.7 / diff / nxr@1.7
src/crypto/external/bsd/openssl/dist/crypto/ppccap.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/crypto/rand/randfile.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/crypto/rsa/rsa_gen.c@1.4 / diff / nxr@1.4
src/crypto/external/bsd/openssl/dist/crypto/rsa/rsa_oaep.c@1.10 / diff / nxr@1.10
      :
(more 545 files)
merge conflicts, regen man pages.

(christos)

2019-06-09 18:44:05 UTC MAIN commitmail json YAML

2019-06-09 18:42:43 UTC MAIN commitmail json YAML

2019-06-09 16:14:53 UTC MAIN commitmail json YAML

Init bpll in a way that brings the big cluster's PLL out of "slow mode".
While here, fix a few typos in the cpul's rate table.

(jmcneill)

2019-06-09 15:39:18 UTC MAIN commitmail json YAML

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

make this compile again without ddb

(christos)

2019-06-09 13:35:47 UTC MAIN commitmail json YAML

rearrange some parts of attach/detach to avoid partial-attach
leading to detach crash.

(mrg)

2019-06-09 07:54:55 UTC MAIN commitmail json YAML

Add a script that allows a check file to be created by cutting and
pasting the contents of the square brackets in the "Excess nn bytes
from slave" message emitted when the director is running in verbose
mode (-v).

(blymn)

2019-06-09 07:49:42 UTC MAIN commitmail json YAML

2019-06-09 07:48:47 UTC MAIN commitmail json YAML

Add an extra parameter to the h_run function so flags can be passed
to the director.

(blymn)

2019-06-09 07:40:14 UTC MAIN commitmail json YAML

2019-06-09 01:56:49 UTC MAIN commitmail json YAML

add ARMDisassembler for the arm section.  fixes linkage issue.

unfortunately, this doesn't work.  something generates code
with an R_ARM_REL32 relocation and the
llvm::RuntimeDyldELF::resolveARMRelocation() function doesn not
support this and boom:

500      switch (Type) {
501      default:
502        llvm_unreachable("Not implemented relocation type!");

(mrg)

2019-06-08 23:48:33 UTC MAIN commitmail json YAML

in uvm_map_protect(), do a pmap_update() before possibly switching from
removing pmap entries to creating them.  this fixes the problem reported in
https://syzkaller.appspot.com/bug?id=cc89e47f05e4eea2fd69bcccb5e837f8d1ab4d60

(chs)

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

Don't need 'extern' for function prototypes.

(rjs)

2019-06-08 14:59:01 UTC MAIN commitmail json YAML

make this compile.  now arm64 gdb works again.  yay.

(mrg)

2019-06-08 13:13:01 UTC MAIN commitmail json YAML

2019-06-08 12:47:44 UTC MAIN commitmail json YAML

2019-06-08 11:57:27 UTC MAIN commitmail json YAML

2019-06-08 08:20:11 UTC MAIN commitmail json YAML

Improve checking and displaying property.
- Full/half duplex and independentness are valid only on bidirectional
  device.
- MMAP is no longer hardware driver's property.

(isaki)

2019-06-08 08:02:38 UTC MAIN commitmail json YAML

2019-06-08 07:27:44 UTC MAIN commitmail json YAML

2019-06-07 23:35:53 UTC MAIN commitmail json YAML

2019-06-07 21:32:35 UTC MAIN commitmail json YAML

2019-06-07 21:18:16 UTC MAIN commitmail json YAML

2019-06-07 20:13:54 UTC MAIN commitmail json YAML

Sync auxv vector generation with exec_elf.c. Fixes $ORIGIN on compat_netbsd32.
Found by zerous as part of GSoC

(christos)

2019-06-07 19:05:15 UTC MAIN commitmail json YAML

Add a regression test for PR bin/54154, or in other words, make sure
we get notified in a timely manner if gdb's XML support disappears
again.

(gson)

2019-06-07 16:43:58 UTC MAIN commitmail json YAML

Properly free section_clause.

(leot)

2019-06-07 15:49:20 UTC MAIN commitmail json YAML

Fix long-term broken pattern match when determining if uname -p output is
valid. [^a-z] syntax isn't valid.

(sborrill)

2019-06-07 15:21:48 UTC MAIN commitmail json YAML

PR/54281: Jonathan Perkins: NUL terminate rl_line_buffer on modification
to avoid completion leak.

(christos)

2019-06-07 15:19:29 UTC MAIN commitmail json YAML

PR/54280: rl_completer_quote_characters should be const for readline compat

(christos)

2019-06-07 15:18:20 UTC MAIN commitmail json YAML

PR/54279: Jonathan Perkins: Ignore adjacent start/end prompt ignore.

(christos)

2019-06-07 13:49:23 UTC MAIN commitmail json YAML

Rename uda_ssio_getprops() -> uda_ssio_get_props() to make it easy
to search.

(isaki)

2019-06-07 13:43:44 UTC MAIN commitmail json YAML

2019-06-07 13:37:36 UTC MAIN commitmail json YAML

2019-06-07 13:24:21 UTC MAIN commitmail json YAML

mavb supports only playback for now, so drop FULLDUPLEX and INDEPENDENT
property.  These properies are valid only for bidirectional device.

(isaki)

2019-06-07 12:43:52 UTC MAIN commitmail json YAML

Fix build for the XEN3_PVHVM kernel by conditoinally compiling
redundant functions x86_enable_intr()/x86_disable_intr()

(cherry)

2019-06-07 12:11:43 UTC MAIN commitmail json YAML

allow building arm llvmpipe.

(mrg)

2019-06-07 11:41:44 UTC MAIN commitmail json YAML

2019-06-07 11:36:12 UTC MAIN commitmail json YAML

2019-06-07 10:52:40 UTC MAIN commitmail json YAML

2019-06-07 10:31:21 UTC MAIN commitmail json YAML

2019-06-07 07:41:22 UTC MAIN commitmail json YAML

Delay setting of the filters at attach time a bit to avoid using an
unitialized mutex. From msaitoh@.

(martin)

2019-06-07 06:00:05 UTC MAIN commitmail json YAML

put BUILD_LLVMPIPE and it's MKLLVMRT conditional inside the x86 + evbarm
section, so that arm* can build llvmpipe.

the default for arm* and MKLLVMRT remains "no", and for arm64 it does not
actually work yet (faults in "dc cvau", but i don't know why yet).

NFCI.

(mrg)

2019-06-07 05:49:37 UTC MAIN commitmail json YAML

Center padding around edit fields.
Correct greeting text horizontal position for Logo padding.

(mlelstv)

2019-06-07 05:34:34 UTC MAIN commitmail json YAML

2019-06-07 05:22:28 UTC MAIN commitmail json YAML

also fix up LLVM_HOST_TRIPLE.

previously, this was attempting to emit x86 code on arm.

thanks joerg@ for pointing me in the right place.

(mrg)

2019-06-07 05:01:55 UTC MAIN commitmail json YAML

Add visible padding to edit fields.
Vertically: 25% of field height.
Horizontally: 25% of character width.

(mlelstv)

2019-06-07 04:39:15 UTC MAIN commitmail json YAML

Use unsigned. Found by UBSan. OK'd by kamil.

(msaitoh)

2019-06-07 04:29:03 UTC MAIN commitmail json YAML

Respect the outer border width for sizing the widget horizontally.
Add it twice so that the greeting text can neither trash nor touch
the border.

(mlelstv)

2019-06-07 04:00:43 UTC MAIN commitmail json YAML

Cursor position was two pixels off to the left.

(mlelstv)

2019-06-07 00:18:26 UTC MAIN commitmail json YAML

remove code to directly check for NULL savefpstate() calls.
it has not triggered for years now, and if it comes back,
you still get a normal kernel fault.

(mrg)

2019-06-06 23:19:45 UTC MAIN commitmail json YAML

Remove audio related nodes (they are present in mainline dts now)

(jmcneill)

2019-06-06 23:19:07 UTC MAIN commitmail json YAML

2019-06-06 22:41:02 UTC MAIN commitmail json YAML

2019-06-06 20:59:58 UTC MAIN commitmail json YAML

- call Debugger() from adbkbd_keys() instead of the task queue
- add options ADBKBD_POWER_DDB to enable DDB-on-Power by default

(macallan)

2019-06-06 20:55:43 UTC MAIN commitmail json YAML

Take channel lock for calling reset_drive.
Should fix PR 54217.

(mlelstv)

2019-06-06 20:50:46 UTC MAIN commitmail json YAML

If setting HS_TIMING fails, keep trying slower speeds instead of bailing
out.

(jmcneill)