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

2024-05-10 15:24:10 UTC Now

2019-01-02 02:56:43 UTC MAIN commitmail json YAML

2019-01-02 02:55:41 UTC MAIN commitmail json YAML

2019-01-02 00:50:02 UTC MAIN commitmail json YAML

use the right version of ELF2AOUT

(christos)

2019-01-02 00:48:13 UTC MAIN commitmail json YAML

use the right version of ELF2AOUT

(christos)

2019-01-02 00:46:34 UTC MAIN commitmail json YAML

more headers only in 120

(christos)

2019-01-01 19:41:05 UTC MAIN commitmail json YAML

2019-01-01 19:09:13 UTC MAIN commitmail json YAML

2019-01-01 19:06:38 UTC MAIN commitmail json YAML

document the elf2foo tools.
The bsd.sys.mk tools are un-prefixed, since the "right" version is installed
for the platform, as opposed to the tools ones which should be able to
co-exist.

(christos)

2019-01-01 18:46:09 UTC MAIN commitmail json YAML

2019-01-01 14:01:46 UTC MAIN commitmail json YAML

Match all arm (and simplify powerpc conditionals)

(martin)

2019-01-01 10:09:27 UTC MAIN commitmail json YAML

Cannot use ZFS_ENTER() / ZFS_EXIT() as zfs_netbsd_putpages() is used
during vnode reclaim.

Add missing protection with fstrans.

(hannken)

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

As already noted in XXX comment do a zil_commit() on reclaim.

(hannken)

2019-01-01 10:08:01 UTC MAIN commitmail json YAML

Cannot hold zfs object across call to vcache_get() as it might
deadlock with another reclaim.

Add vfs operation zfs_newvnode() to create a new zfs node and
hold the zfs object in zfs_loadvnode() and zfs_newvnode() only.

(hannken)

2019-01-01 10:06:55 UTC MAIN commitmail json YAML

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

Add commented out amdgpu.

(Builds, untested on hardware)

(maya)

2019-01-01 08:07:47 UTC MAIN commitmail json YAML

2019-01-01 06:28:43 UTC MAIN commitmail json YAML

Move llvm header directories to base/mi.
They are created unconditionally by mtree.

Should help with set lists on non-llvm-for-now builds :-)

(maya)

2019-01-01 05:38:34 UTC pgoyette-compat commitmail json YAML

Bring in some fixes from HEAD to address a couple of build breaks (in
i386 ipmi driver and sun2 rump tests).  Also fix a 'resolve conflict'
from previous commit in sparc64

With this, I am able to successfully build 66 out of 67 architectures
(the same architectures as handled by the releng build server.  The
only exception is evbarm64 which has a strange build failure during
the installcd step - the same failure occurs on HEAD.  It seems to be
something in the build itself, perhaps a difference between handling
of -O vs -M (MAKEOBJDIR vs MAKEOBJDIRPREFIX).

(pgoyette)

2019-01-01 05:29:40 UTC MAIN commitmail json YAML

2019-01-01 03:12:31 UTC MAIN commitmail json YAML

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

- new binutils
- new tzcode2018i

(christos)

2019-01-01 03:04:56 UTC MAIN commitmail json YAML

Release 2018i - 2018-12-30 11:05:43 -0800

  Briefly:
    S達o Tom辿 and Pr鱈ncipe switches from +01 to +00 on 2019-01-01.

  Changes to future timestamps

    Due to a change in government, S達o Tom辿 and Pr鱈ncipe switches back
    from +01 to +00 on 2019-01-01 at 02:00.  (Thanks to Vadim
    Nasardinov and Michael Deckers.)

Release 2018h - 2018-12-23 17:59:32 -0800

  Briefly:
    Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
    New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
    Metlakatla, Alaska observes PST this winter only.
    Guess Morocco will continue to adjust clocks around Ramadan.
    Add predictions for Iran from 2038 through 2090.

  Changes to future timestamps

    Guess that Morocco will continue to fall back just before and
    spring forward just after Ramadan, the practice since 2012.
    (Thanks to Maamar Abdelkader.)  This means Morocco will observe
    negative DST during Ramadan in main and vanguard formats, and in
    rearguard format it stays in the +00 timezone and observes
    ordinary DST in all months other than Ramadan.  As before, extend
    this guesswork to the year 2037.  As a consequence, Morocco is
    scheduled to observe three DST transitions in some Gregorian years
    (e.g., 2033) due to the mismatch between the Gregorian and Islamic
    calendars.

    The table of exact transitions for Iranian DST has been extended.
    It formerly cut off before the year 2038 in a nod to 32-bit time_t.
    It now cuts off before 2091 as there is doubt about how the Persian
    calendar will treat 2091.  This change predicts DST transitions in
    2038-9, 2042-3, and 2046-7 to occur one day later than previously
    predicted.  As before, post-cutoff transitions are approximated.

  Changes to past and future timestamps

    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
    Kostanay) did not switch, so create a zone Asia/Qostanay.

    Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
    It did not change clocks that day and remains on -08 this winter.
    (Thanks to Ryan Stanley.)  It will revert to the usual Alaska
    rules next spring, so this change affects only timestamps
    from 2018-11-04 through 2019-03-10.

  Change to past timestamps

    Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
    not 00:00.  I transcribed the time incorrectly from Shanks.
    (Thanks to Phake Nick.)

    Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
    (Thanks to Phake Nick.)

    Guam observed DST irregularly from 1959 through 1977.
    (Thanks to Phake Nick.)

    Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
    10-01 changed standard time to +08:30 (not +08).  Its transition
    back to +08 after WWII was on 1945-09-15, not the previous day.
    Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
    (Thanks to Phake Nick, Steve Allen, and Joseph Myers.)  Also,
    its 1952 fallback was on 11-02 (not 10-25).

    This release contains many changes to timestamps before 1946 due
    to Japanese possession or occupation of Pacific/Chuuk,
    Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
    Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
    (Thanks to Phake Nick.)

    Assume that the Spanish East Indies was like the Philippines and
    observed American time until the end of 1844.  This affects
    Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.

  Changes to past tm_isdst flags

    For the recent Morocco change, the tm_isdst flag should be 1 from
    2018-10-27 00:00 to 2018-10-28 03:00.  (Thanks to Michael Deckers.)
    Give a URL to the official decree.  (Thanks to Matt Johnson.)

(christos)

2019-01-01 01:52:40 UTC MAIN commitmail json YAML

Welcome to 2019!

(jnemeth)

2019-01-01 00:40:01 UTC MAIN commitmail json YAML

s/pointer/void */ in a few places.  remove now (void *) casts.

(mrg)

2019-01-01 00:37:06 UTC MAIN commitmail json YAML

2019-01-01 00:34:53 UTC MAIN commitmail json YAML

xsrc/external/mit/xf86-input-elographics/dist/src/xf86Elo.c@1.7 / diff / nxr@1.7
xsrc/external/mit/xf86-input-ws/dist/src/emumb.c@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-input-ws/dist/src/ws.h@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-ati-kms/dist/src/radeon_video.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-ati-kms/dist/src/radeon_video.h@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-ati-kms/dist/src/radeon_xvmc.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-ati-kms/include/config.h@1.9 / diff / nxr@1.9
xsrc/external/mit/xf86-video-ati/dist/src/AtomBios/CD_Operations.c@1.4 / diff / nxr@1.4
xsrc/external/mit/xf86-video-ati/dist/src/compat-api.h@1.4 / diff / nxr@1.4
xsrc/external/mit/xf86-video-ati/dist/src/drmmode_display.c@1.4 / diff / nxr@1.4
xsrc/external/mit/xf86-video-ati/dist/src/legacy_output.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-ati/dist/src/radeon_atombios.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-ati/dist/src/radeon_crtc.c@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-ati/dist/src/radeon_driver.c@1.16 / diff / nxr@1.16
xsrc/external/mit/xf86-video-ati/dist/src/radeon_kms.c@1.4 / diff / nxr@1.4
xsrc/external/mit/xf86-video-ati/dist/src/radeon_modes.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-ati/dist/src/radeon_video.h@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-ati/dist/src/radeon_xvmc.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-ati/xorg-server-copy/msp3430.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-geode/dist/src/geode.h@1.6 / diff / nxr@1.6
      :
(more 14 files)
fix various errors and warnings with xorg-server 1.20:

- no Error() in scope
- more wakeup/blockhandler ABI changes
- more notify fd API changes
- more xf86CursorResetCursor changes
- lots of char* -> const char*
- fix ati kms config.h now HAVE_XF86_CURSOR_RESET_CURSOR is available
- another xf86GetOS() is removed fix
- OsBlockSIGIO() etc, -> old, but still around API until properly converted
- don't free const char * data owned by some other system

(mrg)

2018-12-31 22:17:21 UTC MAIN commitmail json YAML

xsrc/external/mit/xf86-video-amdgpu/include/config.h@1.7 / diff / nxr@1.7
xsrc/external/mit/xf86-video-ati-kms/include/config.h@1.8 / diff / nxr@1.8
xsrc/external/mit/xf86-video-ati/dist/src/compat-api.h@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-ati/dist/src/drmmode_display.c@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-ati/dist/src/radeon_kms.c@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-ati/dist/src/radeon_probe.c@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-ati/include/config.h@1.16 / diff / nxr@1.16
xsrc/external/mit/xf86-video-intel/dist/src/compat-api.h@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/src/sna/sna.h@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-intel/dist/src/sna/sna_accel.c@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-intel/dist/src/sna/sna_driver.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-mach64/dist/src/atipreinit.c@1.8 / diff / nxr@1.8
xsrc/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c@1.8 / diff / nxr@1.8
xsrc/external/mit/xf86-video-nouveau/dist/src/nv_driver.c@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-nouveau/dist/src/nv_proto.h@1.3 / diff / nxr@1.3
xsrc/external/mit/xf86-video-nv/dist/src/compat-api.h@1.2 / diff / nxr@1.2
xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.c@1.6 / diff / nxr@1.6
xsrc/external/mit/xf86-video-rendition/dist/src/rendition.c@1.4 / diff / nxr@1.4
xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_driver.c@1.7 / diff / nxr@1.7
xsrc/external/mit/xf86-video-savage/dist/src/compat-api.h@1.2 / diff / nxr@1.2
      :
(more 8 files)
mostly fix amd64 xorg-server 1.20 builds:

- avoid bswap_16 etc defines for now.  ends up with code-in-decl
- more ABI_VERSION 23 fixes (BlockHandler/WakeHandler) including re-fix
  from previous
- more Notify API
- more shadowUpdatePackedWeak() removal
- remove fd_set handling from intel driver (part of ABI_VERSION 23)
- cope better with PixMap/Drawable separation in new server
- remove support for maxHValue and maxVValue (XXX?)
- hide drmmode_udev_notify() when not building udev
- comment out nouveau 'wfb' support, xorg-server 1.20 only supplies
  either 'wfb' or 'fb' interface, not both, and we choose 'fb'
- define 'pointer' in nv_proto.h rather than relying upon Xdefs.h
- normalise the value of _XTYPEDEF_POINTER
- EGL is broken (missing) in xsrc currently

(mrg)

2018-12-31 21:38:53 UTC MAIN commitmail json YAML

2018-12-31 21:38:39 UTC MAIN commitmail json YAML

2018-12-31 20:57:13 UTC MAIN commitmail json YAML

2018-12-31 19:33:07 UTC MAIN commitmail json YAML

src/distrib/sets/lists/comp/mi@1.2246 / diff / nxr@1.2246
src/etc/mtree/NetBSD.dist.base@1.183 / diff / nxr@1.183
src/external/bsd/llvm/include/Makefile@1.44 / diff / nxr@1.44
src/external/bsd/llvm/include/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/AggressiveInstCombine/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/AggressiveInstCombine/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/IPO/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/IPO/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/InstCombine/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/InstCombine/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Instrumentation/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Instrumentation/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Scalar/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Scalar/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Utils/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/include/llvm-c/Transforms/Utils/Makefile.inc@1.1 / diff / nxr@1.1
      :
(more 82 files)
Install most of the llvm headers.

This is missing some generated files, llvm/include/IR/*.inc

(maya)

2018-12-31 19:25:46 UTC MAIN commitmail json YAML

2018-12-31 19:07:21 UTC MAIN commitmail json YAML

"emac" function is now "gmac" in the dts

(jmcneill)

2018-12-31 18:47:46 UTC MAIN commitmail json YAML

use 0 instead of %r0 for dcbst and icbi otherwise binutils-2.31.1 bitch.

(christos)

2018-12-31 13:54:53 UTC MAIN commitmail json YAML

2018-12-31 13:53:12 UTC MAIN commitmail json YAML

2018-12-31 13:37:07 UTC MAIN commitmail json YAML

Switch to arm-elf2aout from objcopy since new binutils don't support a.out
anymore.

(christos)

2018-12-31 13:35:16 UTC MAIN commitmail json YAML

2018-12-31 13:32:06 UTC MAIN commitmail json YAML

Update usage comments, add arm

(christos)

2018-12-31 13:31:25 UTC MAIN commitmail json YAML

- prefix elf conversion tools with their platform to avoid conflicts
- add arm-elf2aout

(christos)

2018-12-31 13:30:17 UTC MAIN commitmail json YAML

Switch to elf2aout for new binutils

(christos)

2018-12-31 13:05:08 UTC MAIN commitmail json YAML

2018-12-31 13:02:41 UTC MAIN commitmail json YAML

2018-12-31 12:45:19 UTC MAIN commitmail json YAML

updates for xorg-server 1.20.

(mrg)

2018-12-31 12:13:50 UTC MAIN commitmail json YAML

2018-12-31 12:01:31 UTC MAIN commitmail json YAML

updates for xorg-server 1.20:

- xf86GetOS()/LoaderGetOS() have been replaced.  replace them with
  direct platform #ifdefs for now.
- shadowUpdatePackedWeak() is gone, use local thunks.
- xf86DisableRandR() is gone, disable it (should be obsolete)

(mrg)

2018-12-31 11:59:23 UTC MAIN commitmail json YAML

2018-12-31 11:58:43 UTC MAIN commitmail json YAML

2018-12-31 11:19:58 UTC MAIN commitmail json YAML

updates for xorg-server 1.20.  don't define stuff here for it.

(mrg)

2018-12-31 11:14:40 UTC MAIN commitmail json YAML

s/inclue/include/ in an error message.

(mrg)

2018-12-31 11:14:06 UTC MAIN commitmail json YAML

src/external/mit/xorg/server/xorg-server/Makefile.Xserver@1.21 / diff / nxr@1.21
src/external/mit/xorg/server/xorg-server/Makefile.servermod@1.5 / diff / nxr@1.5
src/external/mit/xorg/server/xorg-server/dix/Makefile@1.18 / diff / nxr@1.18
src/external/mit/xorg/server/xorg-server/fb/Makefile.fb@1.11 / diff / nxr@1.11
src/external/mit/xorg/server/xorg-server/glx/Makefile.glx@1.13 / diff / nxr@1.13
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile@1.4 / diff / nxr@1.4
src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile@1.18 / diff / nxr@1.18
src/external/mit/xorg/server/xorg-server/hw/xfree86/Makefile@1.37 / diff / nxr@1.37
src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile@1.16 / diff / nxr@1.16
src/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile@1.33 / diff / nxr@1.33
src/external/mit/xorg/server/xorg-server/hw/xfree86/dixmods/Makefile@1.15 / diff / nxr@1.15
src/external/mit/xorg/server/xorg-server/hw/xfree86/dixmods/xorgxkb/Makefile deleted
src/external/mit/xorg/server/xorg-server/hw/xfree86/drivers/modesetting/Makefile@1.2 / diff / nxr@1.2
src/external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile@1.17 / diff / nxr@1.17
src/external/mit/xorg/server/xorg-server/hw/xfree86/ramdac/Makefile@1.8 / diff / nxr@1.8
src/external/mit/xorg/server/xorg-server/hw/xfree86/shadowfb/Makefile@1.6 / diff / nxr@1.6
src/external/mit/xorg/server/xorg-server/hw/xfree86/utils/cvt/Makefile@1.9 / diff / nxr@1.9
src/external/mit/xorg/server/xorg-server/hw/xfree86/utils/gtf/Makefile@1.4 / diff / nxr@1.4
src/external/mit/xorg/server/xorg-server/hw/xfree86/vbe/Makefile@1.6 / diff / nxr@1.6
src/external/mit/xorg/server/xorg-server/hw/xfree86/vgahw/Makefile@1.5 / diff / nxr@1.5
      :
(more 10 files)
build updates for xorg-server 1.20.3:
- moved/removed/new files
- don't define HAVE_XORG_CONFIG_H or HAVE_DIX_CONFIG_H if using
  ${X11FLAGS.DIX} -- already included.

put glxvnd into glx itself for now.

(mrg)

2018-12-31 10:35:46 UTC MAIN commitmail json YAML

2018-12-31 10:21:51 UTC MAIN commitmail json YAML

2018-12-31 10:19:09 UTC MAIN commitmail json YAML

2018-12-31 09:53:40 UTC MAIN commitmail json YAML

2018-12-31 09:50:03 UTC MAIN commitmail json YAML

2018-12-31 02:45:55 UTC MAIN commitmail json YAML

2018-12-31 02:45:10 UTC MAIN commitmail json YAML

2018-12-30 23:19:40 UTC MAIN commitmail json YAML

add build libs (undocumented).

(christos)

2018-12-30 22:48:31 UTC MAIN commitmail json YAML

forgot to commit compilation fix.

(christos)

2018-12-30 22:40:00 UTC MAIN commitmail json YAML

Fix support for case sensitive HFS.
Without this change, the wrong file is returned, if 2 file names contain a
subset of each other.

Code submitted in PR bin/52993 by Harold Gutch

(sevan)

2018-12-30 21:58:11 UTC MAIN commitmail json YAML

Add video related terms CIF, FCIF, QCIF, SIF, SQCIF

(sevan)

2018-12-30 17:32:43 UTC MAIN commitmail json YAML

binutils 2.31 for everyone!

(christos)

2018-12-30 16:52:26 UTC MAIN commitmail json YAML

PR install/53819: fix polish translation of menu exit string

(martin)

2018-12-30 16:48:58 UTC MAIN commitmail json YAML

PR install/53820: fix column headers in polish translation

(martin)

2018-12-30 16:25:15 UTC MAIN commitmail json YAML

Disable DEBUG by default.

Comment out DIAGNOSTIC while where are it's already defined by
GENERIC.common

(skrll)

2018-12-30 15:43:43 UTC MAIN commitmail json YAML

Document bobcat/puma family nicknames.

(is)

2018-12-30 15:05:53 UTC MAIN commitmail json YAML

BUFQ_PRIOCSCAN enabled on evbmips kernels.

(sevan)

2018-12-30 14:51:36 UTC MAIN commitmail json YAML

Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real      103.45 user      194.98 sys
priocscan  nolog
1345.48 real      103.57 user      274.32 sys
fcfs + log
736.02 real      101.71 user      192.95 sys
fcfs  nolog
1475.16 real      103.06 user      271.14 sys

(sevan)

2018-12-30 12:51:53 UTC netbsd-8 commitmail json YAML

2018-12-30 12:16:16 UTC netbsd-8 commitmail json YAML

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

sys/dev/mii/mii_physubr.c: revision 1.81
sys/dev/mii/mii_physubr.c: revision 1.82

  KNF in comment. No functional change.

-

  802.3 22.2.4.1.1 "Reset" says The reset shall be completed in 0.5s, so change
the value from 100ms to 500ms.

(martin)

2018-12-30 12:05:48 UTC MAIN commitmail json YAML

Avoid crash when no algorithm is specified in parameter file.

(mlelstv)

2018-12-30 11:55:15 UTC MAIN commitmail json YAML

Add support for DT_RUNPATH - it is just the same as we always have treated
DT_RPATH.  Approved by core.

(martin)

2018-12-30 09:19:04 UTC MAIN commitmail json YAML

2018-12-30 09:17:53 UTC MAIN commitmail json YAML

2018-12-30 08:59:39 UTC MAIN commitmail json YAML

2018-12-30 08:51:21 UTC MAIN commitmail json YAML

add new man subdir to path.

(mrg)

2018-12-30 08:51:05 UTC MAIN commitmail json YAML

2018-12-30 08:35:04 UTC MAIN commitmail json YAML

avoid using GBM_BO_USE_LINEAR if it isn't defined.

XXX: xorg-server 1.18 issue?

(mrg)

2018-12-30 08:34:29 UTC MAIN commitmail json YAML

2018-12-30 07:34:43 UTC MAIN commitmail json YAML

2018-12-30 07:26:02 UTC MAIN commitmail json YAML

2018-12-30 07:13:15 UTC MAIN commitmail json YAML

2018-12-30 06:59:35 UTC MAIN commitmail json YAML

2018-12-30 06:46:48 UTC MAIN commitmail json YAML

2018-12-30 06:40:53 UTC MAIN commitmail json YAML

2018-12-30 06:33:30 UTC MAIN commitmail json YAML

- Control BMCR_PDOWN for IFM_NONE. Some chips still don't work as expected.
  It would be required to modify PSCR and/or other register.
- Set mii_media_active correctly on non-autonego mode.

(msaitoh)

2018-12-30 05:45:22 UTC MAIN commitmail json YAML

2018-12-30 05:05:22 UTC MAIN commitmail json YAML

Fix acpi_print_string(). Treat NUL termination correctly to not to print
NUL character. For example, this change prints an OEMID "41 4d 44 00 41 4d"
with "AMD". Tested by Patrick Welche.

(msaitoh)

2018-12-30 04:18:09 UTC MAIN commitmail json YAML

2018-12-30 03:23:46 UTC MAIN commitmail json YAML

- fix wrong reloc name in assert
- fix uninitialized

(christos)

2018-12-30 01:54:13 UTC MAIN commitmail json YAML

no pie/sanitizers for boot code.

(christos)

2018-12-30 01:48:37 UTC MAIN commitmail json YAML

binutils 2.31.1 can put copy relocations in the relro segment. Delay
protecting the relro segment for the main object until copy relocations
are done.

(christos)

2018-12-30 00:42:48 UTC MAIN commitmail json YAML

2018-12-30 00:42:09 UTC MAIN commitmail json YAML

Update description, nfc

(sevan)

2018-12-30 00:41:21 UTC MAIN commitmail json YAML

2018-12-29 23:06:42 UTC MAIN commitmail json YAML

ipfstat(8): note -o option applicability, and remove redundant words.

(gutteridge)

2018-12-29 20:29:46 UTC MAIN commitmail json YAML

Document more supported CPU Famililies: Bobcat (for a while) and Puma
(recently)

(is)

2018-12-29 20:06:49 UTC MAIN commitmail json YAML

fix stack size calculation

(scole)

2018-12-29 19:53:38 UTC MAIN commitmail json YAML

pmapboot_pte_print() is only used when VERBOSE_INIT_ARM is defined.

(alnsn)

2018-12-29 18:34:59 UTC MAIN commitmail json YAML

2018-12-29 18:34:01 UTC MAIN commitmail json YAML

2018-12-29 18:09:32 UTC MAIN commitmail json YAML

2018-12-29 17:54:54 UTC MAIN commitmail json YAML

Fix the segmentation check, the limit is relative, not absolute.

(maxv)

2018-12-29 16:27:12 UTC MAIN commitmail json YAML

compiler_rt: Update prepare-import.sh according to future updates

Allow: asan, msan, lsan, tsan, ubsan, xray, interception, includes,
      ubsan_minimal, fuzzer, sanitizer_common, stats, safestack.

(kamil)

2018-12-29 15:56:33 UTC MAIN commitmail json YAML

2018-12-29 13:09:35 UTC MAIN commitmail json YAML

ROOT.a doesn't resolve to a useful partition, hardcode wd0a and ld0a for now.

(alnsn)

2018-12-29 11:35:14 UTC MAIN commitmail json YAML

Note mbuf API changes, and removal of compat_ibcs2.

(maxv)

2018-12-29 11:33:00 UTC MAIN commitmail json YAML

Remove reference to compat_darwin (was retired a long time ago).

(maxv)

2018-12-29 11:30:13 UTC MAIN commitmail json YAML

2018-12-29 09:48:54 UTC MAIN commitmail json YAML

Disable compat_ibcs2, it is being retired.

(maxv)

2018-12-29 08:49:52 UTC MAIN commitmail json YAML

2018-12-29 06:46:43 UTC MAIN commitmail json YAML

2018-12-29 06:34:16 UTC MAIN commitmail json YAML

Enable the same workaround as
USB_PRODUCT_MICROSOFT_24GHZ_XCVR20

For Microsoft Natural 6000 wheel.

Modified patch from Julian in kern/44634

(maya)

2018-12-29 06:30:41 UTC MAIN commitmail json YAML

2018-12-29 06:29:29 UTC MAIN commitmail json YAML

Fix typo in previous :)

(maya)

2018-12-29 06:27:42 UTC MAIN commitmail json YAML

Add Microsoft Natural Wireless Mouse 600.

Modified patches from Julian in PR kern/44634

(maya)

2018-12-29 06:23:50 UTC MAIN commitmail json YAML

fix sets for binutils-2.31.1

(christos)

2018-12-29 04:59:33 UTC MAIN commitmail json YAML

2018-12-29 04:58:52 UTC MAIN commitmail json YAML

Add ReakTek RTL8189FTV SDIO 802.11 interface.

(thorpej)

2018-12-29 04:51:04 UTC MAIN commitmail json YAML

2018-12-29 04:39:14 UTC MAIN commitmail json YAML

Expose the worker thread idle timeout via sysctl as "kern.threadpool.idle_ms".

(thorpej)

2018-12-29 04:05:47 UTC MAIN commitmail json YAML

2018-12-29 01:22:57 UTC MAIN commitmail json YAML

2018-12-29 01:08:14 UTC MAIN commitmail json YAML

adjust for binutils 2.31.1

(christos)

2018-12-29 01:04:39 UTC MAIN commitmail json YAML

Break the loop after a successful mount.

(alnsn)

2018-12-29 00:52:11 UTC MAIN commitmail json YAML

Don't hardcode wd0a in cgdroot.kmod, try NAME=cgd.conf and ROOT.a.

(alnsn)

2018-12-29 00:35:21 UTC MAIN commitmail json YAML

2018-12-28 23:53:35 UTC MAIN commitmail json YAML

Add caveats section to the screenblank(1) man page to note issues will
arise if /dev is on a file system mounted with noatime or nodevmtime.

(gutteridge)

2018-12-28 22:55:20 UTC MAIN commitmail json YAML

Define DPRINTF() as __nothing when !USB_DEBUG. Drop excess braces.

No functional changes intended.

(rin)

2018-12-28 22:18:13 UTC MAIN commitmail json YAML

commit missing update from xdpyinfo 1.3.2.

(mrg)

2018-12-28 22:16:48 UTC MAIN commitmail json YAML

2018-12-28 21:51:49 UTC MAIN commitmail json YAML

Expand the weak-symbol section to mention module unload issues.  As
noted by martin@ on source-chages-d list.

(pgoyette)

2018-12-28 21:37:56 UTC MAIN commitmail json YAML

Add an entry regarding weak symbols

(pgoyette)

2018-12-28 21:30:20 UTC MAIN commitmail json YAML

PR toolchain/53810
PR toolchain/53684
PR toolchain/53685

No one defines TARGET_DEFAULT_CPU anymore. Use ENABLE_SHARED_LIBGCC
instead to determine whether GCC is configured for m68k or m68000.
This fixes C++ binaries on m68k, that require libgcc_s.

OK mrg

(rin)

2018-12-28 21:23:01 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/lib/libbfd/arch/aarch64/bfd.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/aarch64/bfd_stdint.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/aarch64/bfdver.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libbfd/arch/aarch64/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libbfd/arch/aarch64/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/alpha/bfd.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/alpha/bfd_stdint.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/alpha/bfdver.h@1.11 / diff / nxr@1.11
src/external/gpl3/binutils/lib/libbfd/arch/alpha/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/alpha/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/arm/bfd.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/arm/bfd_stdint.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libbfd/arch/arm/bfdver.h@1.11 / diff / nxr@1.11
src/external/gpl3/binutils/lib/libbfd/arch/arm/config.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/arm/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/armeb/bfd.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/armeb/bfd_stdint.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/armeb/bfdver.h@1.11 / diff / nxr@1.11
src/external/gpl3/binutils/lib/libbfd/arch/armeb/config.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/armeb/defs.mk@1.5 / diff / nxr@1.5
      :
(more 338 files)
regen

(christos)

2018-12-28 20:43:25 UTC MAIN commitmail json YAML

remove armnbsd which is not supported anymore.

(christos)

2018-12-28 20:12:35 UTC MAIN commitmail json YAML

Re-do previous (always make available preinit/initarray/finiarray), with
less disruption.

(christos)

2018-12-28 19:54:36 UTC MAIN commitmail json YAML

Add a test case that exercises repeated sceduling and cancelling of a job,
with periodic dropping of the interlock.

(thorpej)

2018-12-28 18:44:11 UTC MAIN commitmail json YAML

Document "ROOT." syntax before documenting a generic .

(alnsn)

2018-12-28 18:33:54 UTC MAIN commitmail json YAML

2018-12-28 18:17:11 UTC MAIN commitmail json YAML

2018-12-28 16:01:53 UTC MAIN commitmail json YAML

kre@ notified me that the kernel/t_threadpool "rapid" test was occasionally
tripping a KASSERT() failure in the i386-qemu test rig.  It turns out this
is due to "rapid" simply being a buggy test that makes assumptions that
aren't always true, especially on slower / uniprocesor hardware.  So, the
right thing to do is just remove the test.

(thorpej)

2018-12-28 15:46:30 UTC MAIN commitmail json YAML

remove m68k a.out/4k and sh64 vectors that are not supported anymore.

(christos)

2018-12-28 15:28:36 UTC MAIN commitmail json YAML

2018-12-28 15:06:07 UTC MAIN commitmail json YAML

fix LUN handling (byte order issue)

now ch0 on a NEOSeries FlexStor II is detected again on LUN 1
this is a regression introduced in 1.15 update and 1.8.10.3 pullup

Tested with NEOSeries FlexStor II:
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 disk inserted in slot 9
mpii0: physical disk inserted in slot 13
mpii0: physical disk inserted in slot 16
st0 at scsibus0 target 9 lun 0: <IBM, ULTRIUM-HH7, J4D1> tape removable
st0: drive empty
st0: tagged queueing
st1 at scsibus0 target 13 lun 0: <IBM, ULTRIUM-HH7, J4D1> tape removable
st1: drive empty
ch0 at scsibus0 target 13 lun 1: <BDT, FlexStor II, 5.50> changer removable
ch0: 23 slots, 2 drives, 1 picker, 1 portal
st1: tagged queueing
ch0: tagged queueing
ses0 at scsibus0 target 16 lun 0: <LSI, VirtualSES, 01> enclosure services fixed
ses0: SCSI-3 SES Device

(kardel)

2018-12-28 13:53:17 UTC MAIN commitmail json YAML

Avoid duplicate definitions on arm (reported by kre@)

(christos)

2018-12-28 13:11:46 UTC MAIN commitmail json YAML

Limit wcslcat, wcslcpy visibility to _NETBSD_SOURCE
wcswidth, wcwidth to POSIX.1-2001 or _NETBSD_SOURCE

Updated patch from kretschm in PR standards/39422

(maya)

2018-12-28 12:44:15 UTC MAIN commitmail json YAML

Be more verbose about the IPMI device.

(mlelstv)

2018-12-28 12:21:53 UTC MAIN commitmail json YAML

Fix some macro usage. Fix a typo.

(wiz)

2018-12-28 08:59:06 UTC MAIN commitmail json YAML

2018-12-28 06:45:53 UTC MAIN commitmail json YAML

turn on INCLUDE_CONFIG_FILE.

(mrg)

2018-12-28 06:20:32 UTC MAIN commitmail json YAML

- Backout some changes done in rev. 1.44. OK'd by jdolecek@:
  - Remove e1000phyreg.h and use makphyreg.h again.
  - Remove Energy detect stuff. Leave it by default.
  - Remove MDI crossover configuraton. Leave it by default. I think it's OK to
    add new API to change the mode.
  - PHY_RESET() is used to commit some changes, so I think it's not good to
    always clear BMCR_AUTOEN before reset in makphy_reset().
  - It's not required to read MII_100T2SR twice because this register has no
    any bit which is latched.
- Use mii_phy_reset() instead of extracted code.
- Don't set PSCR_CRS_ON_TX on newer. Those chips have no this bit.
- Add some "XXX FIXME" comment. Non GMII mode uses different page except
  very old chip. Some bits are at the same location but others are not.
- Remove obsolete comment.
- s/MII_MAKPHY_/MAKPHY_/

XXX rev. 1.44 changed the setting of mii_media_active when the interface is
set to other than auto. I suspect the intention of the change is to reflect
the link up/down status. But, it didn't work because non auto setting makes
PSSR_LINK bit alwasy set "without modifing some registers".
This commit won't fix the change and it'll be fixed in the next commit.

(msaitoh)

2018-12-28 05:56:07 UTC MAIN commitmail json YAML

802.2 22.2.4.1.1 "Reset" says The reset shall be completed in 0.5s, so change
the value from 100ms to 500ms.

(msaitoh)

2018-12-28 05:04:55 UTC MAIN commitmail json YAML

2018-12-28 05:04:35 UTC MAIN commitmail json YAML

88E154[358] have the same ID.

(msaitoh)

2018-12-28 00:15:57 UTC MAIN commitmail json YAML

Fix job reference counting:
- threadpool_job_hold() no longer returns failure on overflow; it
  asserts that overflow doesn't happen.
- threadpool_job_rele() must be called with the job lock held.
- Always grab a reference count on the job in threadpool_schedule_job()
  if we're going to do any work.
- Drop that reference count directly in threadpool_job_done(); it's not
  safe to dereference the job structure after the job function has called it.
- In the overseer thread, when handing off the job to work thread, hold an
  extra reference briefly, as there's a window where we hold neither the
  pool lock or the job lock, and without this extra reference, the job could
  be snatched away.

(thorpej)

2018-12-27 21:48:01 UTC MAIN commitmail json YAML

redo the previous using ptoa().  also apply to another instance of
the same integer overflow, and now savecore actually does something
in the OD1K.

(mrg)

2018-12-27 21:35:48 UTC MAIN commitmail json YAML

No need to quadruple a buffer because strunvis(3) doesn't expand.

(alnsn)

2018-12-27 21:29:41 UTC MAIN commitmail json YAML

avoid integer overflow when calculating the end address of a ram
block.  fixes a bug when a PhysMem range covers more than 4GB.

with this, my OD1K (8GB ram) is almost able to properly coredump.
savecore finds the core, but can't read it properly.

(mrg)

2018-12-27 21:25:46 UTC MAIN commitmail json YAML

avoid infinite loop in kmem_check().  fixes bug introduced in previous.

(mrg)

2018-12-27 21:20:40 UTC MAIN commitmail json YAML

Update TODO.sanitizers

Mark as done:
- upstream local patches, mostly to compiler-rt
  <- all patches submitted to review
- investigate and address the libcxx failing tests on NetBSD
  <- done by Michal Gorny
- FILE and DIR sanitization (needed by at least: ESan, MSan)
  <- done by Michal Gorny
- add missing interceptors (mostly MSan-centric)
  <- all local patches merged upstream, it's too opaque to keep it around
- port or finish the port of: XRay, profile
  <- done
- detect and fix more bugs in basesystem
  <- too opaque to keep it here
- uvm_map.c E2BIG workaround or limit raise (1MB -> 10MB?), needed by libFuzzer
  <- done

(kamil)

2018-12-27 21:17:08 UTC MAIN commitmail json YAML

Document that cgd.conf supports NAME=label and ROOT.<suffix> targets.

XXX Default paramsfile for NAME=label is /etc/cgd/dkNN (resolved wedge
partition) and /etc/cgd/ROOT.<suffix> for ROOT.<suffix>. This isn't yet
documented. IMO, it should be the other way around: /etc/cgd/label
for the former and /et/cgd/[root-device] for the latter.

(alnsn)

2018-12-27 19:35:32 UTC MAIN commitmail json YAML

2018-12-27 19:33:52 UTC MAIN commitmail json YAML

Add an initfini_array test that does not depend on the linker putting it
there automatically.

(christos)

2018-12-27 19:32:32 UTC MAIN commitmail json YAML

Allow both array and non-array constructors for transition.

(christos)

2018-12-27 18:58:14 UTC MAIN commitmail json YAML

2018-12-27 18:57:43 UTC MAIN commitmail json YAML

explain why we skip objmain.

(christos)

2018-12-27 18:57:15 UTC MAIN commitmail json YAML

2018-12-27 16:59:17 UTC MAIN commitmail json YAML

2018-12-27 16:27:29 UTC MAIN commitmail json YAML

Back to 2.31 for x86! Hooray :-)

(christos)

2018-12-27 16:26:53 UTC MAIN commitmail json YAML

explicitly disable initfini-array; we don't have it yet.

(christos)

2018-12-27 14:53:05 UTC MAIN commitmail json YAML

Remove initfini array rest (restore original FSF version).

(christos)

2018-12-27 14:24:11 UTC MAIN commitmail json YAML

Style, use __nothing, and remove _M_ (unused, appears to be a typo). No
functional change.

(maxv)

2018-12-27 14:05:54 UTC MAIN commitmail json YAML

Clean up double free in some error paths that did trigger
an assertion in libprop.

(mlelstv)

2018-12-27 14:03:55 UTC MAIN commitmail json YAML

2018-12-27 12:21:08 UTC netbsd-8 commitmail json YAML

2018-12-27 12:19:45 UTC netbsd-8 commitmail json YAML

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

sys/kern/kern_time.c: revision 1.191

Fix kernel info leak. There are 2x4 bytes of padding in struct itimerval.

[  738.451860] kleak: Possible leak in copyout: [len=32, leaked=8]
[  738.481840] #0 0xffffffff80b7c42a in kleak_note <netbsd>
[  738.491821] #1 0xffffffff80b7c4aa in kleak_copyout <netbsd>
[  738.501806] #2 0xffffffff80b6154e in sys___getitimer50 <netbsd>
[  738.511778] #3 0xffffffff80b61e39 in sys___setitimer50 <netbsd>
[  738.521781] #4 0xffffffff8025ab3c in sy_call <netbsd>
[  738.521781] #5 0xffffffff8025ad6e in sy_invoke <netbsd>
[  738.531808] #6 0xffffffff8025adf4 in syscall <netbsd>

(martin)

2018-12-27 12:17:19 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/x86/identcpu.c: revision 1.81
sys/arch/x86/x86/identcpu.c: revision 1.82
sys/arch/x86/x86/identcpu.c: revision 1.84
sys/arch/x86/include/specialreg.h: revision 1.131

Declare the MSR_VIA_ACE values as macros, and use a consistent naming,
similar to the rest of the file.

I'm wondering if I'm not fixing a huge bug here. The ECX8 value we were
using was wrong: ECX8 is bit 1, not bit 0. Bit 0 is ALTINST, an alternate
ISA, which is now known to be backdoored.

So it looks like we were explicitly enabling the backdoor.

Not tested, because I don't have a VIA cpu.

-

Merge the VIA detection code into cpu_probe_c3.

-

Explicitly disable ALTINST on VIA, in case it isn't disabled by default
already (the 'VIA cpu backdoor').

(martin)

2018-12-27 12:04:09 UTC netbsd-8 commitmail json YAML

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

sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.219

pset_create() takes a pointer so it needs special handling.

(martin)

2018-12-27 12:02:18 UTC netbsd-7-0 commitmail json YAML

2018-12-27 12:01:50 UTC netbsd-7-0 commitmail json YAML

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

sys/kern/kern_time.c: revision 1.191

Fix kernel info leak. There are 2x4 bytes of padding in struct itimerval.

[  738.451860] kleak: Possible leak in copyout: [len=32, leaked=8]
[  738.481840] #0 0xffffffff80b7c42a in kleak_note <netbsd>
[  738.491821] #1 0xffffffff80b7c4aa in kleak_copyout <netbsd>
[  738.501806] #2 0xffffffff80b6154e in sys___getitimer50 <netbsd>
[  738.511778] #3 0xffffffff80b61e39 in sys___setitimer50 <netbsd>
[  738.521781] #4 0xffffffff8025ab3c in sy_call <netbsd>
[  738.521781] #5 0xffffffff8025ad6e in sy_invoke <netbsd>
[  738.531808] #6 0xffffffff8025adf4 in syscall <netbsd>

(martin)

2018-12-27 12:01:28 UTC netbsd-7-1 commitmail json YAML

2018-12-27 12:01:06 UTC netbsd-7-1 commitmail json YAML

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

sys/kern/kern_time.c: revision 1.191

Fix kernel info leak. There are 2x4 bytes of padding in struct itimerval.

[  738.451860] kleak: Possible leak in copyout: [len=32, leaked=8]
[  738.481840] #0 0xffffffff80b7c42a in kleak_note <netbsd>
[  738.491821] #1 0xffffffff80b7c4aa in kleak_copyout <netbsd>
[  738.501806] #2 0xffffffff80b6154e in sys___getitimer50 <netbsd>
[  738.511778] #3 0xffffffff80b61e39 in sys___setitimer50 <netbsd>
[  738.521781] #4 0xffffffff8025ab3c in sy_call <netbsd>
[  738.521781] #5 0xffffffff8025ad6e in sy_invoke <netbsd>
[  738.531808] #6 0xffffffff8025adf4 in syscall <netbsd>

(martin)

2018-12-27 12:00:43 UTC netbsd-7 commitmail json YAML

2018-12-27 12:00:10 UTC netbsd-7 commitmail json YAML

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

sys/kern/kern_time.c: revision 1.191

Fix kernel info leak. There are 2x4 bytes of padding in struct itimerval.

[  738.451860] kleak: Possible leak in copyout: [len=32, leaked=8]
[  738.481840] #0 0xffffffff80b7c42a in kleak_note <netbsd>
[  738.491821] #1 0xffffffff80b7c4aa in kleak_copyout <netbsd>
[  738.501806] #2 0xffffffff80b6154e in sys___getitimer50 <netbsd>
[  738.511778] #3 0xffffffff80b61e39 in sys___setitimer50 <netbsd>
[  738.521781] #4 0xffffffff8025ab3c in sy_call <netbsd>
[  738.521781] #5 0xffffffff8025ad6e in sy_invoke <netbsd>
[  738.531808] #6 0xffffffff8025adf4 in syscall <netbsd>

(martin)

2018-12-27 10:09:56 UTC MAIN commitmail json YAML

note kernel crash dumps for arm64.

(mrg)

2018-12-27 09:57:16 UTC MAIN commitmail json YAML

Fix kernel info leaks.

+ Possible info leak: [len=80, leaked=10]
| #0 0xffffffff80bad7a7 in kleak_copyout
| #1 0xffffffff8048e71b in netbsd32___msgctl50
| #2 0xffffffff8022fb5b in netbsd32_syscall
| #3 0xffffffff802096dd in handle_syscall

(maxv)

2018-12-27 09:55:27 UTC MAIN commitmail json YAML

make savecore for arm64 basically work.

- move MD lwp "md_ktf" member into struct pcb.  the pcb is used by
  the gdb "bsd-kvm" target code to find the stack of each thread
  and needs to be available in a well known location.
- implement aarch64_nbsd_supply_pcb() in GDB.  makes basic gdb work
  on a crash dump.
- remove '#if L_MD_KTF + 8 == L_MD_CPACR' conditional code, as there
  is no more L_MD_KTF.

with this gdb has minimal working functionality with "target kvm",
and crash can at least "ps" on a crash dump.

ok skrll.

(mrg)

2018-12-27 08:13:50 UTC MAIN commitmail json YAML

- initialise sk_rx_hiaddr and sk_tx_hiaddr
- use MSK_ADDR_LO() and MSK_ADDR_HI()
- expand a debug message
- remove unused softc members

(mrg)

2018-12-27 07:56:43 UTC MAIN commitmail json YAML

Fix apparent race.

We're doing a LIST_FOREACH, but unlock filelist_lock in the middle of the
loop and drop the reference to fp. We then read fp->...le_next, but it
may have been freed by another thread.

This is difficult to trigger and observe, probably only KASAN can see
problems of this kind.

Switch to LIST_FOREACH_SAFE, and re-fetch np after re-locking.

May fix PR/53674.

(maxv)

2018-12-27 07:56:12 UTC MAIN commitmail json YAML

l2tp(4): fix output bytes counter. Pointed by k-goda@IIJ, thanks.

(knakahara)

2018-12-27 07:22:31 UTC MAIN commitmail json YAML

Several improvements and fixes:

* Change the Assist API. Rather than passing callbacks in each call, the
  callbacks are now registered beforehand. Then change the I/O Assist to
  fetch MMIO data via the Mem callback. This allows a guest to perform an
  I/O string operation on a memory that is itself an MMIO.

* Introduce two new functions internal to libnvmm, read_guest_memory and
  write_guest_memory. They can handle mapped memory, MMIO memory and
  cross-page transactions.

* Allow nvmm_gva_to_gpa and nvmm_gpa_to_hva to take non-page-aligned
  addresses. This simplifies a lot of things.

* Support the MOVS instruction, and add a test for it. This instruction
  is special, in that it takes two implicit memory operands. In
  particular, it means that the two buffers can both be in MMIO memory,
  and we handle this case.

* Fix gross copy-pasto in nvmm_hva_unmap. Also fix a few things here and
  there.

(maxv)

2018-12-27 04:54:03 UTC MAIN commitmail json YAML

Note change to systat
Include missing periods

(sevan)

2018-12-27 04:45:29 UTC MAIN commitmail json YAML

Restore curlwp->l_name in threadpool_job_done(), rather than after the
job function has returned.  This lays the groundwork for some job object
reference counting change that will be coming in a subsequent comment.

(thorpej)

2018-12-27 02:54:00 UTC MAIN commitmail json YAML

2018-12-26 22:57:22 UTC MAIN commitmail json YAML

Remove extra -c. -c has been the default behavior since 2003, and
the comment why it is needed was introduced in 2001. We don't want
to duplicate -c which is set in ${COPY} because someone might want
to override that.

(christos)

2018-12-26 22:21:10 UTC MAIN commitmail json YAML

Fix spurios whitespace (thank you substandard vi clones).

(thorpej)

2018-12-26 22:16:27 UTC MAIN commitmail json YAML

Rather than performing lazy initialization, statically initialize early
in the respective kernel startup routines.

(thorpej)

2018-12-26 21:48:55 UTC MAIN commitmail json YAML

Document the threadpool_job_fn_t type and its use.

(thorpej)