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

2024-05-10 01:01:22 UTC Now

2019-03-19 16:56:29 UTC MAIN commitmail json YAML

The NCQ support added a private request queue to the wd driver. This
makes the regular buffer queue ineffective, it also allowed to queue
an unlimited number of requests.

Fix this by limiting the number of requests queued to the driver to
the possible number of concurrent NCQ transactions.

(mlelstv)

2019-03-19 16:45:28 UTC MAIN commitmail json YAML

- add ddb command "machine ttbr" to dump MMU tables.
- tidy up descriptions, usages and messages.

(ryo)

2019-03-19 16:05:49 UTC MAIN commitmail json YAML

- free L1-L3 pages that has been emptied by pmap_remove().
- if no memories, pmap_enter will return correctly ENOMEM if PMAP_CANFAIL, or wait until available any memories if !PMAP_CANFAIL.

These changes improves the stability when we use a huge virtual memory spaces with mmap.

(ryo)

2019-03-19 13:43:42 UTC netbsd-8 commitmail json YAML

2019-03-19 13:42:55 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1218):

sys/netinet/ip_carp.c: revision 1.102

carp: don't skip pserialize_read_enter and ifa_release

(martin)

2019-03-19 13:38:54 UTC MAIN commitmail json YAML

Fix typos in comment:
- s/paylaod/payload/
- s/dstination/destination/

(msaitoh)

2019-03-19 10:17:35 UTC MAIN commitmail json YAML

New sentence, new line. Fix Dd argument.

(wiz)

2019-03-19 10:14:46 UTC MAIN commitmail json YAML

Whitespace nits.

(wiz)

2019-03-19 08:17:46 UTC MAIN commitmail json YAML

- dwc2 need calling linux_workqueue_init() to avoid panic.
- use INIT_ONCE/FINI_ONCE to linux_workqueue_{init,fini}() for being called from dwc2.

TODO: dwc2 should be written as kernel module depenging on a linux module.

(ryo)

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

add INIT_ONCE(9), FINI_ONCE(9) with changing once_t.

Welcome to 8.99.36

(ryo)

2019-03-19 07:08:43 UTC MAIN commitmail json YAML

Provide CID data (manufacturer/product id/product name) as disk type.

(mlelstv)

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

Let backend provide a disk type. The information can be queried through
drvctl(4).

(mlelstv)

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

Set disk product name as disk type. The information can be queried through
drvctl(4).

(mlelstv)

2019-03-19 06:51:05 UTC MAIN commitmail json YAML

Set disk model name as disk type. The information can be queried through
drvctl(4).

(mlelstv)

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

Move standby on detach after wedges deletion in case wedges trigger
I/O on the parent disk. Add debug messages.

(mlelstv)

2019-03-19 06:19:44 UTC MAIN commitmail json YAML

libvdpau depends upon libXext and libX11, so make sure they're built first.

fixes x86 and evbarm builds.

(mrg)

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

2019-03-19 00:36:14 UTC MAIN commitmail json YAML

pax.1 & tar.1: add a minor clarification about "-s"

As a somewhat pedantic clarification, "-s" does not accept backslashes
as delimiters. (While here, also make the macro use of an expression
shared between pax.1 and tar.1 consistent.)

(gutteridge)

2019-03-19 00:12:08 UTC MAIN commitmail json YAML

pax.1: document the "s" flag of the "s" option

Note the "s" option has an "s" flag that "prevents substitutions from
being performed on symbolic link destinations". Carry over r. 1.25 from
christos@ and part of r. 1.26 from wiz@ from tar.1, since this
functionality is available in pax as well as tar.

(gutteridge)

2019-03-19 00:11:34 UTC MAIN commitmail json YAML

Report the users score _after_ the game has ended and the screen has
been restored to pre-game state.  Otherwise, the user gets a message
that their score did (or more likely, did not) improve over their
previous score, yet the user has no indication of what the current
score actually was!

(pgoyette)

2019-03-18 22:40:45 UTC MAIN commitmail json YAML

Revert previous.

The lines look like misapplied patches but I'm told they are correct.

(wiz)

2019-03-18 20:34:48 UTC MAIN commitmail json YAML

Kernel Heap Hardening: manage freed items with bitmaps rather than linked
lists when we're on-page and the page header is naturally big enough to
contain a bitmap.

This comes with no increase in memory consumption, and similar CPU cost
(maybe it's a little faster actually).

We want to favor bitmaps over linked lists, because linked lists install
kernel pointers inside the items, and this can be too easily exploitable
in use-after-free or double-free conditions, or in item buffer overflows
occurring within a pool page.

(maxv)

2019-03-18 20:14:02 UTC MAIN commitmail json YAML

add libXext and libX11 to LIBDPLIBS.  fixes eg, minidlna build.

(mrg)

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

2019-03-18 09:22:15 UTC MAIN commitmail json YAML

Make ZFS exportable by NFS, implement zfsctl_vptofh(),
zfs_netbsd_vptofh() and zfs_netbsd_fhtovp().

Undo changes to now completely unused zfs_fhtovp().

(hannken)

2019-03-18 09:21:31 UTC MAIN commitmail json YAML

Implement zfsctl_lookup_objset() to look up "zfsvfs" of an mounted snapshot.

(hannken)

2019-03-18 09:20:58 UTC MAIN commitmail json YAML

Set "mnt_stat.f_fsid" and "mnt_stat.f_fsidx" from the objset guid
like FreeBSD and Illumos do.

Use "f_fsid" for "va_fsid" and cheat NFSD to export snapshots under
".zfs" by setting these snaphots "f_fsidx" to the parents "f_fsidx".

(hannken)

2019-03-18 09:20:15 UTC MAIN commitmail json YAML

As zfs_netbsd_getpages() ignores "a_count" and processes exactly one page
return an error if "a_count != 1".

(hannken)

2019-03-18 09:19:39 UTC MAIN commitmail json YAML

Change zfs_readdir() to use malloc() instead of kmem_alloc() to
allocate cookies.  Required by protocol, caller uses free().

(hannken)

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

2019-03-18 04:46:54 UTC MAIN commitmail json YAML

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

merge makedepend 1.0.6 and x11perf 1.6.1.

(mrg)

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

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

revert previous - was wrong.

(mrg)

2019-03-18 02:52:24 UTC MAIN commitmail json YAML

Add Davicom DM9161,DM9161A,DM9161B and DM9601 support.

(msaitoh)

2019-03-18 02:50:35 UTC MAIN commitmail json YAML

remove delete sources in libXft 2.3.3.

(mrg)

2019-03-18 02:33:03 UTC MAIN commitmail json YAML

2019-03-18 02:15:21 UTC MAIN commitmail json YAML

restore the removed "function does something horrible" description,
but leave the real description as well.

(mrg)

2019-03-18 02:12:36 UTC MAIN commitmail json YAML

merge changes from xorg-server 1.20 list.h into this older version.

fixes sandy bridge crashing problems for me.

(mrg)

2019-03-18 02:01:41 UTC MAIN commitmail json YAML

call destroy on a mutex before freeing it.
fixes LOCKDEBUG assert on a GT 6xx card.

(mrg)

2019-03-17 19:57:55 UTC MAIN commitmail json YAML

Introduce a new flag, PR_USEBMAP, that indicates whether the pool uses a
bitmap to manage freed items. It dissociates PR_NOTOUCH from bitmaps, but
for now is set only when PR_NOTOUCH is set, which reproduces the current
behavior. Therefore, no functional change. Also clarify the code.

(maxv)

2019-03-17 15:57:34 UTC MAIN commitmail json YAML

fix maintainer of nsd/unbound, update version

(christos)

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

Kernel Heap Hardening: put the pool header at the beginning of the backing
page, not at the end of it.

This makes it harder to exploit buffer overflows, because it eliminates the
certainty that sensitive kernel data is located after the item space and is
therefore overwritable.

The pr_itemoffset field is recycled, and holds the (aligned) offset of the
item space. The pr_phoffset field becomes unused. We align 'itemspace' for
clarity, but it's not strictly necessary.

This comes with no performance cost or increase in memory usage, in
particular the potential padding consumed by roundup(PHSIZE, align) was
already implicitly consumed before, because of the (necessary) truncations
in the divisions. Now it's just more explicit, but not bigger.

(maxv)

2019-03-17 14:52:25 UTC MAIN commitmail json YAML

Move some code into a separate function, and explain a bit. Also define
PHSIZE. No functional change.

(maxv)

2019-03-17 14:11:49 UTC MAIN commitmail json YAML

fix the build: include the needed osf1 files for compat_linux on alpha

(christos)

2019-03-17 12:25:44 UTC MAIN commitmail json YAML

2019-03-17 11:20:36 UTC MAIN commitmail json YAML

Remove Pp that do nothing. Break line after macro. Fix typo.

(wiz)

2019-03-17 10:14:52 UTC MAIN commitmail json YAML

With TRYEMULROOT namei_getstartdir() gets used twice so have to
vrele() "ni_rootdir" and "ni_erootdir" on entry.

(hannken)

2019-03-17 09:54:06 UTC MAIN commitmail json YAML

Define missing HAVE_FONT for newcomers.

(rin)

2019-03-17 08:41:42 UTC MAIN commitmail json YAML

2019-03-17 08:38:52 UTC MAIN commitmail json YAML

2019-03-17 08:37:56 UTC MAIN commitmail json YAML

Wrap arm_cpu_marker if #ifdef MPDEBUG.

One day a9_mpsubr.S will die

(skrll)

2019-03-17 08:34:20 UTC MAIN commitmail json YAML

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

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

2019-03-17 07:22:18 UTC MAIN commitmail json YAML

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

Prepare the removal of the 'ioff' argument: add a KASSERT to ensure it is
zero, and remove the internal logic. The pool code is simpler now.

(maxv)

2019-03-17 06:36:22 UTC MAIN commitmail json YAML

Hard-align the fields of the structures with __aligned(32), and pass ioff=0
in the pool cache.

(maxv)

2019-03-17 06:17:30 UTC MAIN commitmail json YAML

update SYNOPSIS; suggest 5x8 font instead of 8x8

(tnn)

2019-03-17 06:09:35 UTC MAIN commitmail json YAML

import the Spleen wscons fonts from OpenBSD

Spleen is a 2-clause BSD licensed font set designed by Frederic Cambus.
The 5x8 font is designed for low resolution displays, but the font
comes in a variety of sizes suitable for larger display too.

(tnn)

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

ensure the device's UVM pager object is present before using uvm_pageratop

(tnn)

2019-03-17 01:47:57 UTC MAIN commitmail json YAML

delete unused variable

(tnn)

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

2019-03-17 01:14:25 UTC MAIN commitmail json YAML

note addition of ssdfb(4)

(tnn)

2019-03-17 01:06:42 UTC MAIN commitmail json YAML

config glue for ssdfb

(tnn)

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

2019-03-17 00:57:15 UTC MAIN commitmail json YAML

add ssdfb

The ssdfb driver provides wsdisplay(4) support for OLED/PLED framebuffer
modules based on one of the following controller chips:

- Solomon Systech Ltd SSD1306
- Sino Wealth Electronic Ltd SH1106

It supports xf86-video-wsfb and can optionally attach as the console.

Some products that should work with this driver include:
- Adafruit 0.96" 128x64 OLED graphic display
- Adafruit 1.3" 128x64 OLED graphic display
- Adafruit 128x32 OLED graphic display
- Adafruit PiOLED 128x32 Monochome OLED for Raspberry Pi
- "GM009605" commonly distributed with Arduino starter kits
- display modules made by Chengdu Heltec Automation technology co. LTD

Note: I used the name ssdfb(4) because that's what OpenBSD calls their
driver but the implementation is entirely unique to NetBSD.

(tnn)

2019-03-17 00:35:10 UTC MAIN commitmail json YAML

2019-03-17 00:30:55 UTC MAIN commitmail json YAML

allocate wsdisplay type 66 for ssdfb(4)

(tnn)

2019-03-16 22:14:09 UTC MAIN commitmail json YAML

we have MAP_ALIGNED, so use it (although it does not do anything by default)

(christos)

2019-03-16 21:57:15 UTC MAIN commitmail json YAML

PR/54061: Bump memory for jemalloc (a lot).

(christos)

2019-03-16 21:46:43 UTC MAIN commitmail json YAML

PR/54062: Using random garbage in the mmsghdr (in this case 0xa5's from
jemalloc debug) makes the syscall unhappy. Zero out the memory instead...

(christos)

2019-03-16 21:32:04 UTC MAIN commitmail json YAML

PR/54062: Fix the "snprintf_float" test failing after the jemalloc import
issue: jemalloc uses a lot more memory (if it can find it) by default and
this test limited the amount of memory it could get, causing it to get to
an error path with a missing mutex_unlock...

(christos)

2019-03-16 13:33:10 UTC MAIN commitmail json YAML

Misc changes:

- Turn two KASSERTs to real panics, they are useful and not expensive.
- Rename a few variables for clarity.
- Add a new panic, to make sure a freed item is in the item space.

(maxv)

2019-03-16 12:52:47 UTC MAIN commitmail json YAML

Disable multi-segment DMA as a workaround for init crashes on ODROID-C2 when using root on eMMC

(jmcneill)

2019-03-16 12:23:49 UTC MAIN commitmail json YAML

2019-03-16 12:09:58 UTC MAIN commitmail json YAML

2019-03-16 11:50:48 UTC MAIN commitmail json YAML

Bump STACK_ALIGNBYTES to (16 - 1) to satisfy requirement by AMD64
System V ABI in kernel level. This is because

(1) for LLDB, we want to bypass libc/csu (and therefore manual stack
    alignment in _start), and

(2) rtld in glibc >= 2.23 for Linux/x86_64 requires it.

Fix SEGV for Linux/x86_64 binaries with glibc >= 2.23, reported as
PR port-amd64/54052.

(rin)

2019-03-16 11:43:40 UTC MAIN commitmail json YAML

Make it compilable (remove unused variables).

(isaki)

2019-03-16 10:45:06 UTC MAIN commitmail json YAML

2019-03-16 10:13:34 UTC MAIN commitmail json YAML

Style and whitespace. NFC.

(skrll)

2019-03-16 10:05:40 UTC MAIN commitmail json YAML

2019-03-16 08:03:04 UTC MAIN commitmail json YAML

Disable COMPAT_OSF1, will be removed.

(maxv)

2019-03-16 04:41:09 UTC MAIN commitmail json YAML

Fix (probably) typo.  SLINEAR_LE -> ULINEAR_LE.

(isaki)

2019-03-16 04:36:19 UTC MAIN commitmail json YAML

Swap wrong ordered halt_input and halt_output (since rev1.1).
But I guess that it didn't lead a big impact.  Because hw_if->close
is called immediately after that in most cases.

(isaki)

2019-03-16 04:31:25 UTC MAIN commitmail json YAML

Remove duplicated option.

(isaki)

2019-03-16 03:27:15 UTC MAIN commitmail json YAML

Support more ALPS V2 devices

* The V2 devices found in Toshiba dynabook satellite B551/D and
  dynabook SS RX1/T8E.

(ryoon)

2019-03-15 22:09:21 UTC MAIN commitmail json YAML

2019-03-15 14:51:53 UTC netbsd-8 commitmail json YAML

2019-03-15 14:50:36 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/mpii.c: revision 1.22

PR/54045

fix mpii to adhere to physio diagnostic invariant that
fully processed data must not post an error:

1) verify expected scspi state via KASSERT() instead of just
    setting the variables.
2) set xs->resid only in known good conditions
3) insure setting errors in all error paths and refrain
    from clearing xs->resid in error paths.

While there do some cosmectic clean up:
1) extend and relocate some debug output
2) mpii HBAs can also manage non-disk devices like tapes etc,
    so log that physical "devices" instead of physical "disks" are
    attached or detached.

Tested with NEOSeries FlexStor II and luckily a broken tape drive 8-(

mpii0 at pci1 dev 0 function 0: vendor 1000 product 00ab (rev. 0x01)
mpii0: interrupting at irq 11
mpii0: HBA 9400-8i8e, firmware 3.0.4.0, MPI 2.6
mpii0: physical device inserted in slot 9
mpii0: physical device inserted in slot 13
mpii0: physical device inserted in slot 16
st0 at scsibus0 target 9 lun 0: <IBM, ULTRIUM-HH7, J4D1> tape removable
st0: density code 92, variable blocks, write-enabled
ch0 at scsibus0 target 9 lun 1: <BDT, FlexStor II, 5.50> changer removable
ch0: 23 slots, 2 drives, 1 picker, 1 portal
st0: tagged queueing
ch0: tagged queueing
st1 at scsibus0 target 13 lun 0: <IBM, ULTRIUM-HH7, J4D1> tape removable
st1: density code 92, variable blocks, write-enabled
st1: tagged queueing
ses0 at scsibus0 target 16 lun 0: <LSI, VirtualSES, 01> enclosure
services fixed

Note: pullup-8

(martin)

2019-03-15 14:47:22 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1216):

sys/net/if_ipsec.c: revision 1.21

Fix ipsecif(4) memory leak in some ioctl cases.

(martin)

2019-03-15 14:44:05 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1215):

sys/net/route.c: revision 1.217

Add missing ifa_release on error paths

(martin)

2019-03-15 14:37:33 UTC netbsd-7 commitmail json YAML

2019-03-15 14:36:22 UTC netbsd-7 commitmail json YAML

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

lib/libcurses/get_wch.c: revision 1.21
lib/libcurses/getch.c: revision 1.71

Rename global variable "state" to "_cursesi_state".

Until now, if application happens to have a global variable of the same
name, it was overridden by curses routines. This is the scenario in
which aspell crashes when linked to our curses, reported in pkg/44005.

We need to wipe out global/static variables like "_cursesi_state" or
"wstate" for thread safety. But it would be a future task...

XXX pullup to netbsd-8 and netbsd-7

(martin)

2019-03-15 14:30:19 UTC netbsd-8 commitmail json YAML

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

lib/libcurses/get_wch.c: revision 1.21
lib/libcurses/getch.c: revision 1.71

Rename global variable "state" to "_cursesi_state".

Until now, if application happens to have a global variable of the same
name, it was overridden by curses routines. This is the scenario in
which aspell crashes when linked to our curses, reported in pkg/44005.

We need to wipe out global/static variables like "_cursesi_state" or
"wstate" for thread safety. But it would be a future task...

XXX pullup to netbsd-8 and netbsd-7

(martin)

2019-03-15 11:45:17 UTC MAIN commitmail json YAML

2019-03-15 07:58:54 UTC MAIN commitmail json YAML

spell it defined(__NetBSD__) so it actually matches and we skip this
pragma warning during the build:

Warning: Per application configuration won't work with your OS version.

(mrg)

2019-03-15 07:03:36 UTC MAIN commitmail json YAML

properly mark libmesa_dri.so obsolete in mesa18 x86 builds.

(mrg)

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

libmesa_dri.so is obsolete in mesa18 for x86 as well.

(mrg)

2019-03-15 04:00:29 UTC MAIN commitmail json YAML

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

Add Davicom DM9161, DM9161[ABC] and DM9601.

(msaitoh)

2019-03-15 03:10:25 UTC MAIN commitmail json YAML

remove INCLUDES.all setting and it's processing.  already done elsewhere.

(mrg)

2019-03-15 02:38:20 UTC MAIN commitmail json YAML

- Simplily. Suggested by knakahara.
- Modify comment. Per queue VLAN enable flags is on 82599 and later.
- Fix typo in comment.

(msaitoh)

2019-03-14 23:49:38 UTC MAIN commitmail json YAML

2019-03-14 21:49:32 UTC MAIN commitmail json YAML

revert previous sshd hack (from Rin Okuyama)

(christos)

2019-03-14 21:10:33 UTC MAIN commitmail json YAML

Grr, disable the "time goes backwards" test here since this breaks too
frequently. We need a real fix.

(christos)

2019-03-14 21:09:03 UTC MAIN commitmail json YAML

unify rounding and range checking.

(christos)

2019-03-14 20:29:53 UTC MAIN commitmail json YAML

Optimize NVMM-Intel: keep the VMCS active on the host CPU, and lazy-switch
it on demand only when needed. This allows the CPU to use the cached
version of the guest state, rather than the in-memory copy of it. This is
much more performant.

A VMCS must be active on only one CPU, but one CPU can have several active
VMCSs at the same time.

We keep track of which CPU each VMCS is active on. When we want to execute
a VCPU, we determine whether its VMCS is loaded on another CPU, and if so
send an IPI to ask it to unbusy that VMCS. In most cases the VMCS is
already active on the current CPU, so we don't have to do anything and can
proceed with a fast VMRESUME.

We send IPIs with kpreemption enabled but with a bound LWP, because we
don't want to get context-switched to the CPU we just sent an IPI to.

Overall, with this in place, I see a ~15% performance increase in the
guests on NVMM-Intel.

(maxv)

2019-03-14 19:51:50 UTC MAIN commitmail json YAML

syscall debug - fix build when SYSCALL_DEBUG option is present in kernel config file

(palle)

2019-03-14 19:26:44 UTC MAIN commitmail json YAML

Move a KASSERT, applies to all branches.

(maxv)

2019-03-14 19:15:26 UTC MAIN commitmail json YAML

Reduce the mask of the VTPR, only the first four bits matter.

(maxv)

2019-03-14 19:10:28 UTC MAIN commitmail json YAML

Fail early if we're beyond the guest max ram.

(maxv)

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

Avoid a panic from the sequence

mlock(buf, 0);
munlock(buf, 0);
mlock(buf, page);
munlock(buf, page);

where buf is page aligned, and page is actually anything > 0
(but not too big) which will get rounded up to the next multiple
of the page size.

In that sequence, it is possible that the 1st munlock() is optional.

Add a KASSERT() (or two) to detect the first effects of the problem
(without that, or in !DIAGNOSTIC kernels) the problem eventually
causes some kind of problem or other (most often still a panic.)

After this, mlock(anything, 0) (or munlock) validates "anything"
but is otherwise a no-op (regardless of the alignment of anything).

Also, don't treat mlock(buf, verybig) as equivalent to mlock(buf, 0)
which is (more or less) what we had been doing.

XXX pullup -8 (maybe -7 as well, need to check).

(kre)

2019-03-14 18:59:37 UTC MAIN commitmail json YAML

2019-03-14 18:56:12 UTC MAIN commitmail json YAML

Remove __clang___ hacks for noreturn, reduce footprint when we don't compile
with JEMALLOC_PROF. More to do here.

(christos)

2019-03-14 16:59:10 UTC MAIN commitmail json YAML

2019-03-14 10:26:10 UTC MAIN commitmail json YAML

print little-endian header fields correctly.

(mlelstv)

2019-03-14 10:22:43 UTC MAIN commitmail json YAML

U-Boot fails to boot a compressed kernel_noload image, so stop emitting
them.

(jmcneill)

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

carp: don't skip pserialize_read_enter and ifa_release

(ozaki-r)

2019-03-14 03:52:40 UTC MAIN commitmail json YAML

Fix ipsecif(4) memory leak in some ioctl cases.

(knakahara)

2019-03-14 00:36:06 UTC MAIN commitmail json YAML

Rename global variable "state" to "_cursesi_state".

Until now, if application happens to have a global variable of the same
name, it was overridden by curses routines. This is the scenario in
which aspell crashes when linked to our curses, reported in pkg/44005.

We need to wipe out global/static variables like "_cursesi_state" or
"wstate" for thread safety. But it would be a future task...

XXX pullup to netbsd-8 and netbsd-7

(rin)

2019-03-13 23:37:48 UTC MAIN commitmail json YAML

2019-03-13 22:30:01 UTC MAIN commitmail json YAML

In zx_cursor_color(), don't throw away the second half of the color
map data.

(thorpej)

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

Fix an issue with FIOCSCURSOR FB_CUR_SETCMAP on zx described here:

    http://mail-index.netbsd.org/port-sparc/2019/02/11/msg002134.html

by replacing the fubyte() calls with copyin() into temporary buffers.

The other issue in zx_cursor_color() mentioned in that message will
be addressed separately.

(thorpej)

2019-03-13 20:56:33 UTC MAIN commitmail json YAML

2019-03-13 12:36:14 UTC netbsd-7-0 commitmail json YAML

2019-03-13 12:35:45 UTC netbsd-7-1 commitmail json YAML

2019-03-13 12:34:15 UTC netbsd-7 commitmail json YAML

2019-03-13 12:17:45 UTC MAIN commitmail json YAML

2019-03-13 12:16:49 UTC MAIN commitmail json YAML

Add vendor callback for post-bus clock ops and add SDHC_FLAG_STOP_WITH_TC flag

(jmcneill)

2019-03-13 11:47:40 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1685):
sys/arch/mvme68k/dev/pcctwo_68k.c: revision 1.11
Fix small (but fatal) oversight in device/softc split.

(msaitoh)

2019-03-13 11:30:23 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1684):
external/bsd/bzip2/dist/bzip2recover.c: revision 1.4
Apply fix for CVE-2016-3189 bzip2: heap use after free in bzip2recover

(msaitoh)

2019-03-13 11:29:57 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1684):
external/bsd/bzip2/dist/bzip2recover.c: revision 1.4
Apply fix for CVE-2016-3189 bzip2: heap use after free in bzip2recover

(msaitoh)

2019-03-13 11:29:28 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1684):
external/bsd/bzip2/dist/bzip2recover.c: revision 1.4
Apply fix for CVE-2016-3189 bzip2: heap use after free in bzip2recover

(msaitoh)

2019-03-13 11:13:48 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1683):
sys/compat/netbsd32/netbsd32_compat_60.c: revision 1.3
don't forget to convert the timespec.
XXX: pullup-8

(msaitoh)

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

2019-03-13 10:51:36 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1213):
sys/arch/mvme68k/dev/pcctwo_68k.c: revision 1.11
Fix small (but fatal) oversight in device/softc split.

(msaitoh)

2019-03-13 10:29:56 UTC MAIN commitmail json YAML

Fix aclk_emmc register offset, set RK_COMPOSITE_ROUND_DOWN for SD/EMMC clocks, and add a few more emmc clock nodes

(jmcneill)

2019-03-13 10:28:37 UTC MAIN commitmail json YAML

Set drive strength and output tap delay

(jmcneill)

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

Fix a bug that the VLAN HW filter function is not correctly disabled when
all vlan is detached. Part of ixgbe.c rev. 1.177.

(msaitoh)

2019-03-13 10:02:13 UTC MAIN commitmail json YAML

- Fix a bug that the VLAN HW filter function is not correctly disabled
  when all vlan is detached.
- Fix a bug that VLAN HW filter function is not correctly controlled on 82598.
- Control VLAN HW filter function correctly.
- Don't clear IXGBE_VLNCTRL_CFIEN bit When ETHERCAP_VLAN_HWFILTER is set.
  I think it's not required (and Linux doesn't do it). This change has no
  effect to NetBSD because ETHERCAP_VLAN_HWFILTER is not supported yet.

(msaitoh)

2019-03-13 09:42:01 UTC MAIN commitmail json YAML

fix merge botch in previous.  i *think* this is now right.  it sure builds..

(mrg)

2019-03-13 09:23:59 UTC MAIN commitmail json YAML

regen for openssl 1.1.1b.

not 100% sure this is right but my build works now.  here's what i did:

  % cd crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc
  % make regen

after checking that the openssl generator calling code had not change
(but the relevant .pl file had.)

(mrg)

2019-03-13 08:50:12 UTC MAIN commitmail json YAML

Add a bunch of fprintf(stderr,...) diagnostics to try and help determine
what is going wrong which is causing this test to crash the kernel.

(kre)

2019-03-13 06:27:34 UTC MAIN commitmail json YAML

Fix small (but fatal) oversight in device/softc split.

(martin)

2019-03-13 05:22:07 UTC MAIN commitmail json YAML

Add TSX_FORCE_ABORT related definitions.

(msaitoh)

2019-03-12 23:52:46 UTC MAIN commitmail json YAML

catch up the default __XCURSORPATH__ from libXcursor 1.2.0.

(mrg)

2019-03-12 23:51:40 UTC MAIN commitmail json YAML

lint library for jemalloc

(christos)

2019-03-12 23:50:56 UTC MAIN commitmail json YAML

2019-03-12 22:21:53 UTC MAIN commitmail json YAML

2019-03-12 18:46:20 UTC MAIN commitmail json YAML

Fix paste-o in an error path diagnostic message.

(jakllsch)

2019-03-12 17:48:50 UTC netbsd-8 commitmail json YAML

2019-03-12 17:48:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1212):
external/bsd/bzip2/dist/bzip2recover.c: revision 1.4
Apply fix for CVE-2016-3189 bzip2: heap use after free in bzip2recover

(snj)

2019-03-12 17:46:59 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1211):
sys/compat/netbsd32/netbsd32_compat_60.c: 1.3
don't forget to convert the timespec.

(snj)

2019-03-12 16:59:16 UTC MAIN commitmail json YAML

2019-03-12 16:58:14 UTC MAIN commitmail json YAML

2019-03-12 16:50:35 UTC MAIN commitmail json YAML

fix pasto (gnumalloc vs jemalloc)

(christos)

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

add libjemalloc for the non-standard jemalloc symbols.

(christos)

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

2019-03-12 15:11:13 UTC MAIN commitmail json YAML

remove global pointers, add get/seters.

(christos)

2019-03-12 15:10:44 UTC MAIN commitmail json YAML

2019-03-12 14:03:35 UTC MAIN commitmail json YAML

Take a reference on ndp->ni_rootdir and ndp->ni_erootdir.

A multithreaded process may chroot during namei() and we end up with
vn_under() trying to reference the now unreferenced ni_rootdir.

Ok: David Holland <dholland@netbsd.org>

Reported-by: syzbot+889319cdf91a3d0373a9@syzkaller.appspotmail.com

(hannken)

2019-03-12 11:05:09 UTC MAIN commitmail json YAML

it is CPPFLAGS for -D etc otherwise lint breaks!

(christos)

2019-03-12 10:32:35 UTC MAIN commitmail json YAML

2019-03-12 10:07:50 UTC MAIN commitmail json YAML

remove the recently added files or added entries for what is
./usr/include/$MACHINE and automatically add it.

add sun68k for sun2/sun3.  tested on about 12 platforms.

there may be more failures to figure out but this should make
them all special cases rather than always expected cases.

fortunately, most builds don't see to hit these issues for
reasons i haven't determined yet.

(mrg)

2019-03-12 08:29:52 UTC MAIN commitmail json YAML

Add missing space in "wiring for pmap .. did not change" message

(gson)

2019-03-12 07:44:58 UTC MAIN commitmail json YAML

2019-03-12 03:37:23 UTC MAIN commitmail json YAML

2019-03-12 03:08:34 UTC MAIN commitmail json YAML

2019-03-12 02:07:14 UTC MAIN commitmail json YAML

Correct copy-paste error. From joerg, thanks.

(maya)

2019-03-12 00:25:44 UTC MAIN commitmail json YAML

This had a similar problem to that reported in PR lib/54053
for the userland (libc) version of humanize_number(),
except in a much more limited, and less harmful, way ...

If the value to be printed was > ~0/10 (eg ~0 itself) and
the buffer given was big enough to hold it, "umax" would overflow,
and the expected result was not produced (here at least the effect was
simply to scale the result for huge values by one unnecessary step,
rather than maximally scale all values usually generating 0E, but
incorrect nonetheless.)

(kre)

2019-03-11 20:38:28 UTC MAIN commitmail json YAML

Add sanity check: make sure we retrieve a valid item header, by checking
its page address against the one we computed. If there's a mismatch it
means the buffer does not belong to the pool, and we panic.

(maxv)

2019-03-11 20:21:33 UTC MAIN commitmail json YAML

Rename pr_item_notouch_* to pr_item_bitmap_*, and move some code into new
pr_item_linkedlist_* functions. This makes it easier to see that we have
two ways of handling freed items.

No functional change.

(maxv)

2019-03-11 18:06:28 UTC MAIN commitmail json YAML

Add an initializatin that is not needed when the optimizer works...

(christos)

2019-03-11 17:59:28 UTC MAIN commitmail json YAML

2019-03-11 17:50:19 UTC MAIN commitmail json YAML

Register ./usr/X11R7/lib/libvdpau_g.a in md.amd64 sets

This unbreaks the build.

(kamil)

2019-03-11 17:45:12 UTC MAIN commitmail json YAML

Explicitly test for PR lib/54053

A suitable test was actually there already - but the results
were not verified.  So just add a test that the result string
is what is expected.  (Previously for len==128 and bytes==10000
it would  have returned "0E" now it returns 10000 as it should.)

(kre)

2019-03-11 15:10:51 UTC MAIN commitmail json YAML

PR lib/54053

When auto scaling, and the buffer is bigger than big enough
for the biggest possible number, don't try and calculate
the max value that will fit in the buffer - that calc
will overflow (guaranteed) and is useless, the value
we're formatting cannot possibly be bigger.  So simply
use the unscaled value (the raw number).

While here, also avoid returning values that are larger
than the buffer len ... while it would be nice to be able
to find out how big the buffer should be so the data will
fit, the interface doesn't really allow that (the buffer
length passed in controls the scaling - at least when
auto scaling) and the code already does "return -1" when
it detects the buffer length is too small, even before
it works out how much would have been needed.  So, rather
than returning a value > len (while truncating the result
to fit in len ... all courtesy of snprintf()) return -1
in this case as well.

Also, allow suffix==NULL (meaning "") - there's no reason
not to, and requiring users to pass in an explicit "" is
not useful.

(kre)

2019-03-11 14:35:22 UTC MAIN commitmail json YAML

PR/54045

fix mpii to adhere to physio diagnostic invariant that
fully processed data must not post an error:
1) verify expected scspi state via KASSERT() instead of just
  setting the variables.
2) set xs->resid only in known good conditions
3) insure setting errors in all error paths and refrain
  from clearing xs->resid in error paths.

While there do some cosmectic clean up:
1) extend and relocate some debug output
2) mpii HBAs can also manage non-disk devices like tapes etc,
  so log that physical "devices" instead of physical "disks" are
  attached or detached.

Tested with NEOSeries FlexStor II and luckily a broken tape drive 8-(

mpii0 at pci1 dev 0 function 0: vendor 1000 product 00ab (rev. 0x01)
mpii0: interrupting at irq 11
mpii0: HBA 9400-8i8e, firmware 3.0.4.0, MPI 2.6
mpii0: physical device inserted in slot 9
mpii0: physical device inserted in slot 13
mpii0: physical device inserted in slot 16
st0 at scsibus0 target 9 lun 0: <IBM, ULTRIUM-HH7, J4D1> tape removable
st0: density code 92, variable blocks, write-enabled
ch0 at scsibus0 target 9 lun 1: <BDT, FlexStor II, 5.50> changer removable
ch0: 23 slots, 2 drives, 1 picker, 1 portal
st0: tagged queueing
ch0: tagged queueing
st1 at scsibus0 target 13 lun 0: <IBM, ULTRIUM-HH7, J4D1> tape removable
st1: density code 92, variable blocks, write-enabled
st1: tagged queueing
ses0 at scsibus0 target 16 lun 0: <LSI, VirtualSES, 01> enclosure services fixed

Note: pullup-8

(kardel)

2019-03-11 09:20:14 UTC MAIN commitmail json YAML

2019-03-11 09:17:12 UTC MAIN commitmail json YAML

2019-03-11 08:05:18 UTC MAIN commitmail json YAML

2019-03-11 07:00:44 UTC MAIN commitmail json YAML

2019-03-11 06:45:03 UTC MAIN commitmail json YAML

2019-03-11 06:37:19 UTC MAIN commitmail json YAML

2019-03-11 06:25:55 UTC MAIN commitmail json YAML

2019-03-11 05:08:42 UTC MAIN commitmail json YAML

remove reference to non existance sys.startxrc.

(mrg)

2019-03-11 05:05:32 UTC MAIN commitmail json YAML

2019-03-11 03:56:30 UTC MAIN commitmail json YAML

2019-03-11 03:00:41 UTC MAIN commitmail json YAML

Add missing ifa_release on error paths

(ozaki-r)

2019-03-11 01:40:05 UTC MAIN commitmail json YAML

handle @PKG_EXPAT_LIBS@ and @PKG_EXPAT_CFLAGS@.

(mrg)

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

restore change lost in Xservers.ws.cpp -> Xservers.ws.in rename:

http://mail-index.netbsd.org/source-changes/2012/02/18/msg031930.html

Add -noretro as default server arg in configuration files where we are
sure the user will get a visible window "soon".
The sole reason we backed out the "retro" change from upstream
was to avoid an empty black screen after manualy starting just "X". With
these preconfigured startup mehtods, this confusion can not happen.

pointed out by jmcneill.

(mrg)

2019-03-11 00:31:36 UTC MAIN commitmail json YAML

2019-03-11 00:17:16 UTC MAIN commitmail json YAML

2019-03-11 00:15:39 UTC MAIN commitmail json YAML

2019-03-11 00:14:44 UTC MAIN commitmail json YAML

adjust to the new mandoc api

(christos)

2019-03-10 22:34:14 UTC MAIN commitmail json YAML

Introduce enhancements to the kcov(4) code

Add new tests verifying dup2(2) scenarios:
- kcov_dup2
- kcov_basic_dup2_pc
- kcov_basic_dup2_cmp

The dup2(2) trick is used by syzkaller and assert that it works.
All new tests pass.

While there add minor non-functional cleanup changes.

(kamil)

2019-03-10 22:00:37 UTC MAIN commitmail json YAML

2019-03-10 21:52:00 UTC MAIN commitmail json YAML

2019-03-10 21:25:09 UTC MAIN commitmail json YAML

Register kcov(4) in CHANGES

kcov(4): Added driver for kernel coverage tracing

Register the entry with the current date as the driver has been just
finished.

Primary author of the port: Siddharth Muralee.
Review and major code improvements by <maxv>.
Various contributions by myself.

(kamil)