Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 13:57:06 UTC Now

2020-12-11 19:35:16 UTC netbsd-8 commitmail json YAML

2020-12-11 19:34:06 UTC netbsd-8 commitmail json YAML

Remove options unknown to all native gcc on this branch.
The version check did not work because on this branch the numbering
scheme wass different (e.g. gcc 5.x is used and HAVE_GCC is 53, which
numerically clearly is > 7 - but that is not what the new check meant).

(martin)

2020-12-11 18:49:38 UTC MAIN commitmail json YAML

Describe after example like other examples

(ryoon)

2020-12-11 18:25:45 UTC MAIN commitmail json YAML

PR/55851: Martin Husemann: recognize <symbol>.part.<n> names
This is gross; perhaps we should hide them completely (not print them
in stack traces etc.)

(christos)

2020-12-11 18:23:25 UTC MAIN commitmail json YAML

2020-12-11 18:22:11 UTC MAIN commitmail json YAML

2020-12-11 18:03:33 UTC MAIN commitmail json YAML

2020-12-11 15:48:59 UTC netbsd-8 commitmail json YAML

2020-12-11 15:48:02 UTC netbsd-8 commitmail json YAML

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

sys/dev/hyperv/if_hvn.c: revision 1.19 (via patch)

hvn(4): fix unable to ifconfig up/down.

(martin)

2020-12-11 15:44:08 UTC netbsd-9 commitmail json YAML

2020-12-11 15:43:16 UTC netbsd-9 commitmail json YAML

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

sys/dev/hyperv/if_hvn.c: revision 1.19

hvn(4): fix unable to ifconfig up/down.

(martin)

2020-12-11 12:29:28 UTC MAIN commitmail json YAML

add some basic tests for libossaudio

since there are already tests for audio this is focused on making
sure the ioctls translate properly and implement the necessary OSS
compat quirks.

right now this only covers the dsp ioctls, it should also cover the
mixer ioctls, although that's significantly harder.

(nia)

2020-12-11 09:40:28 UTC MAIN commitmail json YAML

2020-12-11 09:22:20 UTC MAIN commitmail json YAML

Fix build failure when XNEPV is defined.

(knakahara)

2020-12-11 09:14:19 UTC MAIN commitmail json YAML

arm copyin/out: make copyin not use copyout's epilogue (typo in labels)

The epilogues are the same, so this is harmless, but if they ever
changed (e.g. after rearranging the register usage) it would be broken
in a very confusing way.

(dholland)

2020-12-11 09:02:33 UTC MAIN commitmail json YAML

arm bswap32: fix fatal typo in thumb code (PR 55854)

(dholland)

2020-12-11 08:23:46 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2020-12-11 08:13:08 UTC MAIN commitmail json YAML

hvn(4): fix unable to ifconfig up/down.

(nonaka)

2020-12-11 07:49:40 UTC MAIN commitmail json YAML

Not pic->pic_addroute but pic->pic_hwunmask should enable interrupts for MSI-X.

pic->pic_addroute should not enable interrupt, because callers expect
interrupts have been disabled until they call pic->pic_hwunmask.

By the way, the old implement writes zero to Vector Control for MSI-X Table
Entries, howerver it must be read and updated.  Because, there are not only
Mask Bit but also ST lower and ST upper.

(knakahara)

2020-12-11 07:24:38 UTC MAIN commitmail json YAML

Add ${LIBUTIL} to DPADD.

(simonb)

2020-12-11 07:01:27 UTC MAIN commitmail json YAML

Fix editor mishap in r1.18

(martin)

2020-12-11 05:01:19 UTC MAIN commitmail json YAML

Don't use EIMC_OTHER bit because it's read only other than 82598.

Documents say:

  82598:
    All of bit 31(OTHER bit) of EIxx are reserved. In reality, at least
    EIMS_OTHER and EIMC_OTHER exist and the OTHER interrupt doesn't work
    without EIMS_OTHER.

  Other than 82598:
    EIMS_OTHER is read only and EIMC_OTHER doesn't exist. If one of
    bit 29..16 is set, EIMS_OTHER is set to 1 (Note that bit 30(TCP timer
    isn't included)). Even if write bit 31 of EIMC to 1, it's ignored
    (EIMS_OTHER doesn't set).

We introduced new spin mutex in ixgbe.c rev. 1.260, so it's OK to remove
EIMC_OTHER stuff. We already set EIMS_OTHER in if_init(), so keep it for
82598. No functional change other than 82598.

Another solution is to control bit 30..16 directly to mask/unmask interrupt
instead of the mutex.

TODO:
  Some MSI-X interrupt(LSC, module insertion/removal etc.)'s mask/unmask
  code between ixgbe_msix_admin() and ixgbe_handle_admin() may be wrong.
  It'll be fixed later.

(msaitoh)

2020-12-11 03:00:10 UTC MAIN commitmail json YAML

2020-12-11 01:25:29 UTC MAIN commitmail json YAML

Add sel{record,remove}_knote(), so hide some of the details surrounding
knote / kevent registration in the selinfo structure.

(thorpej)

2020-12-11 01:08:51 UTC MAIN commitmail json YAML

make(1): document why runIgnImpl is used in jobs mode

(rillig)

2020-12-11 01:06:10 UTC MAIN commitmail json YAML

make(1): add tests for comments and non-comments in jobs mode

(rillig)

2020-12-11 00:29:01 UTC MAIN commitmail json YAML

make(1): rename shell flags in struct Shell

The previous name 'echo' was too unspecific, given that the other fields
in the same struct are called echoOff, echoOn, echoTmpl.

(rillig)

2020-12-11 00:22:23 UTC MAIN commitmail json YAML

make(1): clean up comments for struct Shell

(rillig)

2020-12-10 23:54:41 UTC MAIN commitmail json YAML

make(1): name Shell fields consistently

They are all templates with a single %s placeholder, so embed this
unambiguously in the variable name.  The previous variable names didn't
provide any clue that echoCmd, execIgnore and errExit had a lot in
common.

(rillig)

2020-12-10 23:36:20 UTC MAIN commitmail json YAML

make(1): clean up JobPrintCommand

The local variable 'cmd' had been used for both the unexpanded and the
expanded command.  This in turn had required the parameter to be
non-const.

(rillig)

2020-12-10 23:12:59 UTC MAIN commitmail json YAML

make(1): eliminate global variable numCommands

It had only been used in a very small scope.  The elimination of
Lst_ForEach made it easy to turn this global variable into a local
variable.

(rillig)

2020-12-10 23:03:00 UTC MAIN commitmail json YAML

make(1): extract JobOpenTmpFile from JobStart

(rillig)

2020-12-10 22:45:30 UTC MAIN commitmail json YAML

make(1): rename RunFlags to CommandFlags

Flags of similar names are also available in CmdOpts (global command
line options) and Job.  The new name CommandFlags emphasizes that these
flags apply to the smallest scope possible, which is a single command,
as opposed to the whole GNode/Job.

(rillig)

2020-12-10 22:34:39 UTC MAIN commitmail json YAML

make(1): split Job.errOffOrExecIgnore into separate fields

Like errOnOrEcho, these two fields were completely unrelated.  One of
them expected a %s placeholder, the other didn't.

(rillig)

2020-12-10 22:17:37 UTC MAIN commitmail json YAML

make(1): split Job.errOnOrEcho into separate fields

They have never been related.  Furthermore, Job.errOn is really tricky
to reach at all.  To do that, one has to define a custom shell and set
hasErrCtl=true.  The manual page has an example for that, but it's
probably not use in practice, just like the possibility to use the C
shell for all commands.

(rillig)

2020-12-10 21:41:35 UTC MAIN commitmail json YAML

make(1): negate Job.silent to echo

This gets rid of a few explicit negations and an implicit negation in
the variable name.

(rillig)

2020-12-10 21:33:25 UTC MAIN commitmail json YAML

make(1): unpack struct JobFlags

The job flags are only used individually.

(rillig)

2020-12-10 21:09:58 UTC MAIN commitmail json YAML

make(1): rename commandShell to shell

The word 'command' was not necessary for understanding the variable.

(rillig)

2020-12-10 20:50:24 UTC MAIN commitmail json YAML

Another leading space

(skrll)

2020-12-10 20:49:11 UTC MAIN commitmail json YAML

make(1): split JobFlags into separate fields

Having all these flags in a single bitmask makes it harder to see where
exactly they can possibly be used since their state could also be
modified using the unsuspicious job->flags = 0.  Using individual names
just leaves the single memset, and that is only used during
initialization.

(rillig)

2020-12-10 20:48:33 UTC MAIN commitmail json YAML

Remove leading space that crept in in the last change

(skrll)

2020-12-10 20:14:35 UTC MAIN commitmail json YAML

make(1): in JobStart, negate 'noExec' to 'run'

(rillig)

2020-12-10 20:10:03 UTC MAIN commitmail json YAML

make(1): fix theoretical type mismatch for Job_Touch

(rillig)

2020-12-10 17:55:30 UTC MAIN commitmail json YAML

make(1): fix test for command flags

The "false" is supposed to be run not only if the command has the '-'
flag, but also if the target is marked as .IGNORE or if the command line
option -i is given.

After the failed command, the remaining commands are skipped, therefore
the final echo for the empty line had to be moved up, at the beginning
of the target.

(rillig)

2020-12-10 17:06:13 UTC MAIN commitmail json YAML

make(1): test all combinations of switches for running commands

The code in JobPrintSpecials is rather complicated and contains
surprising interaction between some of the switches.

To see the exact effects of the switches, record the current state and
its output, to prevent accidental breakage during the upcoming
refactorings.

(rillig)

2020-12-10 17:02:51 UTC MAIN commitmail json YAML

Handle failing to acquire the iic bus.
Better handle errors when attaching sysmon sensors.

(jdc)

2020-12-10 16:47:42 UTC MAIN commitmail json YAML

make(1): document limitations of deferred '$' in ':?' modifier

(rillig)

2020-12-10 16:36:47 UTC MAIN commitmail json YAML

make(1): add test demonstrating how to defer evaluation in :? modifier

(rillig)

2020-12-10 16:07:26 UTC MAIN commitmail json YAML

Avoid an unused variable (breaking the build)

(martin)

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

Skip the repeated_link_addr test by default as it causes the
evbarm-aarch64 testbed to hang (PR port-evbarm/55521), and will not be
safe to run by default even after that bug is fixed, for similar
reasons as t_repeated_updown.
---

t_repeated_mtu.sh changes the MTU, which may cause NFS to fail.
if you have NFS root, this is system killing.

t_repeated_scan.sh kills and restarts both hostapd and
wpa_supplicant.

(mrg)

2020-12-10 07:27:37 UTC MAIN commitmail json YAML

Fix armeb; CORE_ADDR is uint64_t but 2nd argument of raw_supply() is
expected to be the same size as PC. Therefore, PC was always read as
zero for big-endian.

(rin)

2020-12-10 07:14:58 UTC MAIN commitmail json YAML

Fix arm, for which PT_STEP is defined but unimplemented.

XXX
Stop exposing PT_STEP to userland for arm?

(rin)

2020-12-10 04:03:00 UTC MAIN commitmail json YAML

Add a string literal for IAVF_VC_OP_CONFIG_RSS_LUT

(yamaguchi)

2020-12-10 04:00:11 UTC MAIN commitmail json YAML

remove unnecessary lock acquire and release

(yamaguchi)

2020-12-10 03:58:35 UTC MAIN commitmail json YAML

Fix a wrong value about HENA configuration

(yamaguchi)

2020-12-10 00:36:23 UTC MAIN commitmail json YAML

2020-12-10 00:33:14 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssl/dist/CHANGES@1.25 / diff / nxr@1.25
src/crypto/external/bsd/openssl/dist/Configure@1.27 / diff / nxr@1.27
src/crypto/external/bsd/openssl/dist/NEWS@1.25 / diff / nxr@1.25
src/crypto/external/bsd/openssl/dist/README@1.25 / diff / nxr@1.25
src/crypto/external/bsd/openssl/dist/apps/ca.c@1.20 / diff / nxr@1.20
src/crypto/external/bsd/openssl/dist/apps/s_client.c@1.23 / diff / nxr@1.23
src/crypto/external/bsd/openssl/dist/crypto/aes/asm/aesni-sha1-x86_64.pl@1.7 / diff / nxr@1.7
src/crypto/external/bsd/openssl/dist/crypto/asn1/tasn_dec.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/crypto/asn1/tasn_enc.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/crypto/bn/bn_lib.c@1.15 / diff / nxr@1.15
src/crypto/external/bsd/openssl/dist/crypto/conf/conf_def.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-avx2.pl deleted
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_ameth.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_asn1.c@1.11 / diff / nxr@1.11
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_key.c@1.6 / diff / nxr@1.6
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_lib.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/crypto/engine/eng_lib.c@1.8 / diff / nxr@1.8
src/crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c@1.24 / diff / nxr@1.24
src/crypto/external/bsd/openssl/dist/crypto/modes/gcm128.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c@1.17 / diff / nxr@1.17
      :
(more 554 files)
merge conflicts, regen

(christos)

2020-12-09 15:28:38 UTC MAIN commitmail json YAML

Remove <sys/param.h> include and assume users already include that.
Removes an include cycle when including <sys/resource.h> via:
ys/time.h, sys/timevar.h, sys/mutex.h, sys/intr.h on top of this
file, and sys/param.h, uvm/uvm_param.h, sys/resourcevar.h below.

(martin)

2020-12-09 14:21:09 UTC MAIN commitmail json YAML

xhci_pci: avoid potential double free of interrupt handles

Found by Kouichi Hashikawa in PR 55855.

(jakllsch)

2020-12-09 11:35:44 UTC MAIN commitmail json YAML

Add "memory" constraint on wrpsr, lost in previous.

(uwe)

2020-12-09 08:51:05 UTC MAIN commitmail json YAML

Remove unnecessary aarch64_dcache_wbinv_all now that pmapboot_enter does
dsb(ish)

(skrll)

2020-12-09 08:20:56 UTC MAIN commitmail json YAML

2020-12-09 08:18:35 UTC MAIN commitmail json YAML

2020-12-09 08:15:45 UTC MAIN commitmail json YAML

make(1): split the -j -n test into separate targets

The manual page says that in -j mode when the shell does not have ErrCtl
(and none of the default shells has that), the command prefix '-'
"affects the entire job", but this seems to be wrong.  At least, there
is no change in the output from before, when all commands had been in
the same target.

(rillig)

2020-12-09 07:57:52 UTC MAIN commitmail json YAML

2020-12-09 07:24:52 UTC MAIN commitmail json YAML

2020-12-09 07:10:01 UTC MAIN commitmail json YAML

Restructure the abort code for TD based transfers (ctrl, bulk, intr).

In PR kern/22646 some TDs can be on the done queue when the abort start
and, if this is the case, they need to processed after the WDH interrupt.
Instead of waiting for WDH we release TDs that have been touched by the
HC and replace them with new ones.  Once WDH happens the floating TDs
will be returned to the free list.

Also addresses the issue seen in PR kern/55835

Thanks to both Andreas Gustafsson and Edgar Fuß for testing.  Apologies to
Andreas Gustafsson for not committing this to HEAD for 4y6m.w

(skrll)

2020-12-09 05:48:56 UTC MAIN commitmail json YAML

Remove an old description.
This behavior was modified in sys/dev/audio/audio.c rev 1.65 (Mar. 2020).

(isaki)

2020-12-09 04:30:39 UTC MAIN commitmail json YAML

Rewrite error handling on audio_open().
This also fixes a few resource leaks on error case.

(isaki)

2020-12-09 04:24:08 UTC MAIN commitmail json YAML

Fix that audio_open() didn't halt the recording mixer correctly
if fd_allocfile() failed, since rev 1.65.
Will fix PR kern/55848.

(isaki)

2020-12-09 04:02:20 UTC MAIN commitmail json YAML

sp_tlb_flush() - fix inline asm miscompiled by newer gcc versions.

As one national park director once said: "my problems start when the
dumber of my visitors meet the smarter of my bears".

Old inline asm used specific hardcoded registers "assuming that gcc
doesn't do anything funny with these".  Unfortunately now it does,
especially when this function is inlined.  We ended up restoring a
wrong context.  The result was mysterious infinite memory faults.

Rewrite in safer inline asm, so that gcc is not confused.

Many thanks to chs@ for his patience.

(uwe)

2020-12-09 02:46:57 UTC MAIN commitmail json YAML

arm bswap32: Improve the comments showing the byte flow.

It's confusing to use 1-4 for bytes 1-4 and then 0 for literal zero,
so use a-d for bytes 1-4.

(dholland)

2020-12-09 00:43:48 UTC MAIN commitmail json YAML

2020-12-09 00:25:01 UTC MAIN commitmail json YAML

2020-12-09 00:03:32 UTC MAIN commitmail json YAML

make rump's uvm_aio_aiodone_pages() look more like the kernel version.
fixes some more rumpy assertions.

(chs)

2020-12-08 21:34:49 UTC MAIN commitmail json YAML

make(1): in jobs mode, invert local variable noSpecials to run

(rillig)

2020-12-08 20:17:18 UTC MAIN commitmail json YAML

make(1): negate RunFlags.silent to become RunFlags.echo

This reduces the number of negations in the code.

(rillig)

2020-12-08 20:10:24 UTC MAIN commitmail json YAML

make(1): move flags errOff into RunFlags.ignerr

(rillig)

2020-12-08 20:04:17 UTC MAIN commitmail json YAML

make(1): move flag runAlways into RunFlags

(rillig)

2020-12-08 19:58:20 UTC MAIN commitmail json YAML

make(1): move flag shutUp into struct RunFlags

Running a command is controlled by several flags.  Instead of passing
them around individually, it's easier to have them grouped.

(rillig)

2020-12-08 18:49:33 UTC netbsd-8 commitmail json YAML

2020-12-08 18:48:59 UTC netbsd-8 commitmail json YAML

Sync external/bsd/pkg_install with -current, requested by wiz in ticket #1626:

external/bsd/pkg_install/Makefile.inc          up to 1.7
external/bsd/pkg_install/dist/add/perform.c    up to 1.7
external/bsd/pkg_install/dist/admin/check.c    up to 1.4
external/bsd/pkg_install/dist/admin/main.c      up to 1.6
external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.6
external/bsd/pkg_install/dist/create/perform.c  up to 1.3
external/bsd/pkg_install/dist/create/pl.c      up to 1.4
external/bsd/pkg_install/dist/info/perform.c    up to 1.3
external/bsd/pkg_install/dist/lib/iterate.c    up to 1.3
external/bsd/pkg_install/dist/lib/lib.h        up to 1.10
external/bsd/pkg_install/dist/lib/license.c    up to 1.10
external/bsd/pkg_install/dist/lib/pkgdb.c      up to 1.4
external/bsd/pkg_install/dist/lib/plist.c      up to 1.4
external/bsd/pkg_install/dist/lib/version.h    up to 1.17
external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.4
external/bsd/pkg_install/lib/Makefile          up to 1.11
external/bsd/pkg_install/lib/config.h          up to 1.3

Import pkg_info 20201205, move the default pkg database from /var/db/pkg
to ${PREFIX/pkgdb.

(martin)

2020-12-08 18:47:21 UTC netbsd-9 commitmail json YAML

2020-12-08 18:45:59 UTC netbsd-9 commitmail json YAML

Sync external/bsd/pkg_install with -current, requested by wiz in ticket #1140:

external/bsd/pkg_install/Makefile.inc          up to 1.7
external/bsd/pkg_install/dist/add/perform.c    up to 1.7
external/bsd/pkg_install/dist/admin/check.c    up to 1.4
external/bsd/pkg_install/dist/admin/main.c      up to 1.6
external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.6
external/bsd/pkg_install/dist/create/perform.c  up to 1.3
external/bsd/pkg_install/dist/create/pl.c      up to 1.4
external/bsd/pkg_install/dist/info/perform.c    up to 1.3
external/bsd/pkg_install/dist/lib/iterate.c    up to 1.3
external/bsd/pkg_install/dist/lib/lib.h        up to 1.10
external/bsd/pkg_install/dist/lib/license.c    up to 1.10
external/bsd/pkg_install/dist/lib/pkgdb.c      up to 1.4
external/bsd/pkg_install/dist/lib/plist.c      up to 1.4
external/bsd/pkg_install/dist/lib/version.h    up to 1.17
external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.4
external/bsd/pkg_install/lib/Makefile          up to 1.11
external/bsd/pkg_install/lib/config.h          up to 1.3

Import pkg_info 20201205, move the default pkg database from /var/db/pkg
to ${PREFIX/pkgdb.

(martin)

2020-12-08 17:52:11 UTC MAIN commitmail json YAML

the busypage test is buggy, expect it to fail.

(chs)

2020-12-08 13:56:38 UTC MAIN commitmail json YAML

2020-12-08 10:33:47 UTC MAIN commitmail json YAML

add dummy ddxInputThreadInit() if INPUTTHREAD is defined.
fixes sun3 build and should fix x68k build too.

(mrg)

2020-12-08 07:53:20 UTC MAIN commitmail json YAML

Change the default interrupt-affinity of iavf(4)

(yamaguchi)

2020-12-08 04:09:38 UTC MAIN commitmail json YAML

A couple of tweaks to the previous re-factor:

- Some of what was defined as "generic itimer" behavior turned out to be
  ptimer-specific.  As such, everything related to the "fired timer queue"
  is now specific to ptimers, and the queue and softint handle fields of
  itimer_ops are not needed.

- Split itimer_fini() into 2 parts: itimer_poision() marks the timer as
  dead and attempts to cancel it.  itimer_fini() is then just responsible
  for freeing itimer resources and releasing the lock.  They are split
  into two parts, as ptimers require an addition processing step between
  those two operations, but other kinds of itimers do not necessarily require
  that.

- Export a few more itimer-related symbols that other itimer types will
  need.

Riding previous kernel version bump since there are no external uses of
this code since the version bump that accompanied the original change.

(thorpej)

2020-12-08 00:50:05 UTC MAIN commitmail json YAML

make(1): split JobPrintSpecials into manageable pieces

(rillig)

2020-12-08 00:23:31 UTC MAIN commitmail json YAML

make(1): extract JobPrintSpecials from JobPrintCommand

(rillig)

2020-12-08 00:09:51 UTC MAIN commitmail json YAML

make(1): extract InitShellNameAndPath from Shell_Init

This gets rid of the ugly "else #endif".

(rillig)

2020-12-07 23:59:59 UTC MAIN commitmail json YAML

2020-12-07 23:53:09 UTC MAIN commitmail json YAML

make(1): replace signal handling macros with local functions

(rillig)

2020-12-07 23:48:04 UTC MAIN commitmail json YAML

make(1): indent job.c with tabs instead of spaces

(rillig)

2020-12-07 22:55:01 UTC MAIN commitmail json YAML

make(1): remove duplicate code for job output

(rillig)

2020-12-07 22:47:03 UTC MAIN commitmail json YAML

make(1): replace macro MESSAGE with local function

The first parameter of the macro was always stdout, and there was no
apparent reason to pass anything else there.

Let the compiler decide whether to inline this or not, it's not
time-critical.

(rillig)

2020-12-07 22:37:18 UTC MAIN commitmail json YAML

make(1): remove duplicate code from bmake_strdup

Inlining is the job of the compiler, not of humans.

(rillig)

2020-12-07 22:27:56 UTC MAIN commitmail json YAML

2020-12-07 21:35:43 UTC MAIN commitmail json YAML

2020-12-07 20:28:53 UTC MAIN commitmail json YAML

make function static (fixes crossgdb build, reported by martin@)

(christos)

2020-12-07 20:24:05 UTC netbsd-8 commitmail json YAML

2020-12-07 20:22:13 UTC netbsd-9 commitmail json YAML

2020-12-07 20:20:15 UTC netbsd-8 commitmail json YAML

Apply patch, requested by maya in ticket #1634:

        external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c    (patch)

PR 55640: fix off by one in X Input Method.

(martin)

2020-12-07 20:18:55 UTC netbsd-9 commitmail json YAML

Apply patch, requested by maya in ticket #1145:

external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c (patch)

PR 55640: fix off by one in X Input Method.

(martin)

2020-12-07 20:05:36 UTC netbsd-8 commitmail json YAML

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

sys/dev/ic/nvme.c: revision 1.53

PR kern/55839:

handle multiple nvme_rescan()s correctly by doing the
name-space identify only once per nsid.
fixes issue where modloading triggers multiple
rescans.

(martin)

2020-12-07 20:04:07 UTC netbsd-9 commitmail json YAML

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

sys/dev/ic/nvme.c: revision 1.53

PR kern/55839:

handle multiple nvme_rescan()s correctly by doing the
name-space identify only once per nsid.
fixes issue where modloading triggers multiple
rescans.

(martin)

2020-12-07 20:01:02 UTC netbsd-8 commitmail json YAML

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

sys/netinet/ip_mroute.c: revision 1.164 (patch)

PR kern/55779:

restore non-desctructive guarantee of ip_mforward() mbuf
argument. This avoids generation invalid UDP checksums
on multicast packets in ip_output().

XXX the root cause of the misguided fix in 2008 should be
XXX investigated

(martin)

2020-12-07 19:58:04 UTC netbsd-9 commitmail json YAML

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

sys/netinet/ip_mroute.c: revision 1.164

PR kern/55779:

restore non-desctructive guarantee of ip_mforward() mbuf
argument. This avoids generation invalid UDP checksums
on multicast packets in ip_output().

XXX the root cause of the misguided fix in 2008 should be
XXX investigated

(martin)

2020-12-07 19:52:53 UTC netbsd-8 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1158.2.7 / diff / nxr@1.1158.2.7
src/doc/3RDPARTY@1.1444.2.24 / diff / nxr@1.1444.2.24
src/external/public-domain/tz/dist/Makefile@1.1.1.17.4.7 / diff / nxr@1.1.1.17.4.7
src/external/public-domain/tz/dist/NEWS@1.1.1.18.4.8 / diff / nxr@1.1.1.18.4.8
src/external/public-domain/tz/dist/README@1.1.1.5.6.3 / diff / nxr@1.1.1.5.6.3
src/external/public-domain/tz/dist/TZDATA_VERSION@1.8.4.8 / diff / nxr@1.8.4.8
src/external/public-domain/tz/dist/africa@1.1.1.11.4.8 / diff / nxr@1.1.1.11.4.8
src/external/public-domain/tz/dist/antarctica@1.1.1.8.4.4 / diff / nxr@1.1.1.8.4.4
src/external/public-domain/tz/dist/asia@1.1.1.16.4.7 / diff / nxr@1.1.1.16.4.7
src/external/public-domain/tz/dist/australasia@1.1.1.11.4.7 / diff / nxr@1.1.1.11.4.7
src/external/public-domain/tz/dist/backward@1.1.1.7.4.3 / diff / nxr@1.1.1.7.4.3
src/external/public-domain/tz/dist/backzone@1.1.1.11.4.5 / diff / nxr@1.1.1.11.4.5
src/external/public-domain/tz/dist/checktab.awk@1.1.1.8.8.2 / diff / nxr@1.1.1.8.8.2
src/external/public-domain/tz/dist/etcetera@1.1.1.2.6.2 / diff / nxr@1.1.1.2.6.2
src/external/public-domain/tz/dist/europe@1.1.1.17.4.7 / diff / nxr@1.1.1.17.4.7
src/external/public-domain/tz/dist/factory@1.1.1.2.6.2 / diff / nxr@1.1.1.2.6.2
src/external/public-domain/tz/dist/iso3166.tab@1.1.1.5.4.1 / diff / nxr@1.1.1.5.4.1
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.7.4.4 / diff / nxr@1.1.1.7.4.4
src/external/public-domain/tz/dist/leapseconds@1.1.1.8.4.5 / diff / nxr@1.1.1.8.4.5
src/external/public-domain/tz/dist/leapseconds.awk@1.1.1.5.8.4 / diff / nxr@1.1.1.5.8.4
      :
(more 13 files)
Pull up the following, requested by kre in ticket #1631:

external/public-domain/tz/dist/systemv          delete
external/public-domain/tz/dist/pacificnew      delete
external/public-domain/tz/dist/yearistype.sh    delete
external/public-domain/tz/dist/Makefile        up to 1.1.1.29
external/public-domain/tz/dist/NEWS            up to 1.1.1.32
external/public-domain/tz/dist/README          up to 1.1.1.9
external/public-domain/tz/dist/TZDATA_VERSION  up to 1.22
external/public-domain/tz/dist/africa          up to 1.1.1.23
external/public-domain/tz/dist/antarctica      up to 1.1.1.13
external/public-domain/tz/dist/asia            up to 1.1.1.27
external/public-domain/tz/dist/australasia      up to 1.1.1.20
external/public-domain/tz/dist/backward        up to 1.1.1.11
external/public-domain/tz/dist/backzone        up to 1.1.1.19
external/public-domain/tz/dist/checktab.awk    up to 1.1.1.10
external/public-domain/tz/dist/etcetera        up to 1.1.1.4
external/public-domain/tz/dist/europe          up to 1.1.1.29
external/public-domain/tz/dist/factory          up to 1.1.1.4
external/public-domain/tz/dist/iso3166.tab      up to 1.1.1.6
external/public-domain/tz/dist/leap-seconds.list up to 1.1.1.14
external/public-domain/tz/dist/leapseconds      up to 1.1.1.16
external/public-domain/tz/dist/leapseconds.awk  up to 1.1.1.11
external/public-domain/tz/dist/northamerica    up to 1.1.1.26
external/public-domain/tz/dist/southamerica    up to 1.1.1.17
external/public-domain/tz/dist/theory.html      up to 1.1.1.11
external/public-domain/tz/dist/version          up to 1.1.1.19
external/public-domain/tz/dist/ziguard.awk      up to 1.1.1.5
external/public-domain/tz/dist/zishrink.awk    up to 1.1.1.7
external/public-domain/tz/dist/zone.tab        up to 1.1.1.18
external/public-domain/tz/dist/zone1970.tab    up to 1.1.1.20
external/public-domain/tz/dist/zoneinfo2tdf.pl  up to 1.1.1.4
distrib/sets/lists/base/mi (apply patch)
doc/3RDPARTY (apply patch)
external/public-domain/tz/share/zoneinfo/Makefile (apply patch)

Update tzdate from 2018i to 2020d

(martin)

2020-12-07 19:39:09 UTC netbsd-8 commitmail json YAML

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

bin/sh/exec.c: revision 1.54

PR bin/55526

Fix a bug that has existed since the "command" command was added in
2003.  "command foo" would cause the definition of a function "foo"
to be lost (not freed, simply discarded) if "foo" is (in addition to
being a function) a filesystem command.  The case where "foo" is
a builtin was handled.

For now, when a function exists with the same name as a filesystem
command, the latter can never appear in the command hash table, and
when used (which can only be via "command foo", just "foo" finds
the function) will always result in a full PATH search.

XXX pullup everything (from NetBSD 2.0 onwards).  (really -8 and -9)

(martin)

2020-12-07 19:35:50 UTC netbsd-8 commitmail json YAML

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

sbin/dump/dump.h: revision 1.59
sbin/dump/main.c: revision 1.78

PR bin/55834

count blocks written in unsigned 64 bit counter
rather than signed int which overflows after 2^31-1
blocks (2TiB) after which neither the 5 minute
status updates or SIGINFO (^T) reports are issued
until the negative numbers increase past 0 and
wildly inaccurate reports would be written.

(martin)

2020-12-07 19:29:26 UTC netbsd-8 commitmail json YAML

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

external/mit/xorg-server.old/dist/xkb/xkb.c: revision 1.2

merge security fixes for xkb, as found in these xserver gitlab
commits:

270e439739e023463e7e0719a4eede69d45f7a3f - xkb: only swap once in XkbSetMap
446ff2d3177087b8173fa779fa5b77a2a128988b - Check SetMap request length carefully
87c64fc5b0db9f62f4e361444f4b60501ebf67b9 - Fix XkbSetDeviceInfo() and SetDeviceIndicators() heap overflows
de940e06f8733d87bbb857aef85d830053442cfe - xkb: fix key type index check in _XkbSetMapChecks
f7cd1276bbd4fe3a9700096dec33b52b8440788d - Correct bounds checking in XkbSetNames()

i haven't tested these run OK, and it was a 33 out of 34 hunks
did not apply cleanly, but they merge was still largely the
same (patch failed due to whitespace changes mostly), and i am
able to build-test successfully.

(martin)

2020-12-07 19:27:20 UTC netbsd-9 commitmail json YAML

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

external/mit/xorg-server.old/dist/xkb/xkb.c: revision 1.2

merge security fixes for xkb, as found in these xserver gitlab
commits:

270e439739e023463e7e0719a4eede69d45f7a3f - xkb: only swap once in XkbSetMap
446ff2d3177087b8173fa779fa5b77a2a128988b - Check SetMap request length carefully
87c64fc5b0db9f62f4e361444f4b60501ebf67b9 - Fix XkbSetDeviceInfo() and SetDeviceIndicators() heap overflows
de940e06f8733d87bbb857aef85d830053442cfe - xkb: fix key type index check in _XkbSetMapChecks
f7cd1276bbd4fe3a9700096dec33b52b8440788d - Correct bounds checking in XkbSetNames()

i haven't tested these run OK, and it was a 33 out of 34 hunks
did not apply cleanly, but they merge was still largely the
same (patch failed due to whitespace changes mostly), and i am
able to build-test successfully.

(martin)

2020-12-07 13:24:15 UTC MAIN commitmail json YAML

Add some debugging output to check sensor addition and refresh.

(jdc)

2020-12-07 10:59:27 UTC MAIN commitmail json YAML

acpicpu(4): Add support for Arm CPUs.

(jmcneill)

2020-12-07 10:57:41 UTC MAIN commitmail json YAML

2020-12-07 10:56:12 UTC MAIN commitmail json YAML

ACPI Processor UID is 32-bits (ci_acpiid).

(jmcneill)

2020-12-07 10:36:19 UTC MAIN commitmail json YAML

micron SMART 202 is percent lifetime used not remaining.

almost gave myself a heart attack when my server said 7% remaining!

(mrg)

2020-12-07 10:02:51 UTC MAIN commitmail json YAML

2020-12-07 08:31:07 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb/bfd-in3.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb/bfd.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb/bfd_stdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb/bfdver.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb/targmatch.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/aarch64eb/gstdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/aarch64eb/init.c@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/aarch64eb/jit-reader.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/aarch64eb/version.c@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/aarch64eb/xml-builtin.c@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdbsupport/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdbsupport/arch/aarch64eb/gdbsupport/config.h@1.1 / diff / nxr@1.1
      :
(more 27 files)
mknative for aarch64eb.

(rin)

2020-12-07 08:24:09 UTC MAIN commitmail json YAML

Add elf32-aarch64.c to DPSRCS and CLEANFILES.

(rin)

2020-12-07 07:51:25 UTC MAIN commitmail json YAML

make(1): add new unit test opt-keep-going-multiple.mk to file lists

(rillig)

2020-12-07 03:01:15 UTC MAIN commitmail json YAML

fix the build; gcc does not always see that it can't happen.

(christos)

2020-12-07 01:50:19 UTC MAIN commitmail json YAML

make(1): rename Var_Export1 to ExportVar

Since Var_Export1 is neither exported by the module nor does it belong
to the Var type, the previous function name was misleading.  The 1 in
the function name was not as expressive as possible.  The new name
aligns nicely with UnexportVar, which is a very young name as well.

(rillig)

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

2020-12-07 01:32:05 UTC MAIN commitmail json YAML

2020-12-07 01:27:08 UTC MAIN commitmail json YAML

make(1): actually fix the use-after-free bug and the double-free

The use-after-free bug had been there since 2020-11-22, the double-free
bug since a few minutes.

(rillig)

2020-12-07 01:24:41 UTC MAIN commitmail json YAML

make(1): fix use-after-free in -DDEBUG_SRC mode (since 2020-11-22)

(rillig)

2020-12-07 01:10:03 UTC MAIN commitmail json YAML

make(1): merge local variables in Compat_Run

(rillig)

2020-12-07 01:07:13 UTC MAIN commitmail json YAML

make(1): clean up Compat_Run

Now that errors in the main targets and in their dependencies have the
same effect on the .END node and its dependencies, the two variables can
be merged.

(rillig)

2020-12-07 01:04:07 UTC MAIN commitmail json YAML

make(1): don't make .END if the main targets already failed

This only applies to -k mode.  By default, make exits earlier and skips
the .END node as well if an error occurs.

(rillig)

2020-12-07 00:53:30 UTC MAIN commitmail json YAML

make(1): fix exit status in -k mode if a dependency fails

Whether in -k mode or not, the exit status tells whether all requested
targets were made or not.  If a dependency could not be made, the main
target was not made as well, therefore the exit status must be nonzero
in such a case.

This part of the code lacked proper unit tests until today.  The unit
test deptgt-end-fail.mk is compatible with make>=2003 at least, allowing
to compare the output over time.

In 2003, in the ok-ok-ok-ok case, "Making all from all-dep." was printed
twice in a row, for whatever reason  ... (40 minutes later) ... If I had
just made the two commands for 'all' and '.END' more distinguishable.
Back in 2003, the local variables for .END had not been initialized,
instead the .END node was run with the local variables of the last
preceding node.  In this case, that node was 'all', therefore ${.TARGET}
had obviously expanded to 'all'.

Somewhere in 2004, the shell commands were no longer run with the -e
flag, which resulted in the "exit status $?" line to be printed in cases
that had stopped early before.

Somewhere in 2005, the local variables for the .END node had been fixed.
The variable ${.TARGET} now had the value '.END', just as expected.  In
addition, the dependencies for the .END node were made, although without
getting their proper local variables.  This resulted in the output
"Making  out of nothing" instead of the expected "Making end-dep out of
nothing".

Still in 2005, in the test case "all=ok all-dep=ok end=ok end-dep=ERR",
the error code of the failed 'end-dep' was first reported as "*** Error
code 1 (continuing)".  To compensate for this improvement, a new bug had
been introduced.  The test case "all=ok all-dep=ok end=ERR end-dep=ERR"
had properly exited with status 1 on 2005-01-01, but on 2006-01-01 it
exited with status 0, thereby ignoring errors in the .END node.

Somewhere in 2008, some of the error messages (but not all) were
directed to stderr instead of stdout.  The actual output stayed the same
though.

Somewhere in 2011, the dependency of the .END node got its own local
variables, and ${.TARGET} now expanded to 'end-dep', as expected.

Somewhere in 2016, the two empty lines between the "*** Error code 1
(continuing)" and the "Stop." got compressed into a single empty line.

On 2020-12-07 (that is, today), the exit status 1 has been restored in
the error cases, after it had been wrong for at least 14 years.

(rillig)

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

make(1): refactor Compat_Run to show the error condition more clearly

This refactoring allows to gradually change the conditions for the
"Stop." error message, to demonstrate which cases are affected by each
tiny change.

(rillig)

2020-12-06 22:49:40 UTC MAIN commitmail json YAML

make(1): refactor error handling in Compat_Run

This is in preparation for the upcoming bug fixes.

(rillig)

2020-12-06 22:36:58 UTC MAIN commitmail json YAML

make(1): test all combinations of failed main and .END targets

Adding an individual test for each of the 16 combinations would have
been too much manual work, and it's not easy to come up with a good
naming scheme for all the tests, keeping them short and expressive at
the same time.

(rillig)

2020-12-06 21:22:04 UTC MAIN commitmail json YAML

2020-12-06 20:55:30 UTC MAIN commitmail json YAML

make(1): document undefined behavior from 2014

Earlier versions of make didn't know the -v option to print the expanded
value of a variable.  To make the test runnable by older makes as well,
switch to -V instead, which has been available much longer.

(rillig)

2020-12-06 20:33:44 UTC MAIN commitmail json YAML

make(1): error out on null bytes in makefiles

Makefiles are text files, they must not contain null bytes.

The previous code in this area was rotten anyway.  It assumed that
buf_end could be NULL even if buf_ptr was a valid pointer, which is no
longer true, probably since a few years already.

Continuing parsing after a null byte does not make sense.  If there's a
null byte in a text file, that file is corrupted, and parsing it leads
to unintended effects easily.  Therefore the only sensible action is to
stop parsing immediately.

The check whether cf->readMore could be null was outdated as well, which
previously made the fatal error impossible to reach.  Because of the
missing unit tests, nobody noticed this though.

The "exit status 0" in opt-file.exp is worring but that's due to another
bug and will be fixed in a follow-up commit.

(rillig)

2020-12-06 20:09:01 UTC MAIN commitmail json YAML

make(1): rename IFile.nextbuf to readMore

The previous name sounded too much like a noun, which was too confusing.
See unit-tests/opt-file.mk for the history of this part of the code.

(rillig)

2020-12-06 20:07:26 UTC MAIN commitmail json YAML

make(1): document how make behaved for null bytes in the makefile

(rillig)

2020-12-06 19:18:27 UTC MAIN commitmail json YAML

make(1): add test for makefile containing null bytes

(rillig)

2020-12-06 19:00:48 UTC MAIN commitmail json YAML

make(1): test parsing a makefile that ends in a backslash

(rillig)

2020-12-06 18:38:58 UTC MAIN commitmail json YAML

acpidump: Do not print FACS if HW_REDUCED flag is set.

According to ACPI 6.3 spec, FACS is optional when HW_REDUCED is set. ACPICA
ignores the FACS completely when HW_REDUCED is set, so we need to follow
suit since it is not available through /dev/acpi as the table is not
installed.

(jmcneill)

2020-12-06 18:37:04 UTC MAIN commitmail json YAML

make(1): fix undefined behavior in ParseEOF

Adding a number to a null pointer should have been caught by any
Undefined Behavior Sanitizer, but apparently neither GCC nor Clang do
this.

(rillig)

2020-12-06 18:13:17 UTC MAIN commitmail json YAML

2020-12-06 17:41:53 UTC MAIN commitmail json YAML

make(1): move CleanEnv to UnexportVars

It clearly didn't belong in the GetVarnamesToUnexport part of the code.

(rillig)

2020-12-06 17:35:52 UTC MAIN commitmail json YAML

make(1): extract UnexportVars from Var_UnExport

(rillig)

2020-12-06 17:29:27 UTC MAIN commitmail json YAML

make(1): fix comment in test for directive unexport-env

(rillig)

2020-12-06 17:27:11 UTC MAIN commitmail json YAML

make(1): clean up GetVarnamesToUnexport

(rillig)

2020-12-06 17:22:45 UTC MAIN commitmail json YAML

make(1): extract GetVarnamesToUnexport from Var_UnExport

(rillig)

2020-12-06 16:24:30 UTC MAIN commitmail json YAML

make(1): replace pointer comparisons with enum

Keeping track of what it means if varname.str == str is not as
expressive as declaring what exactly to unexport.

(rillig)

2020-12-06 16:06:11 UTC MAIN commitmail json YAML

2020-12-06 15:40:46 UTC MAIN commitmail json YAML

make(1): use FStr in Var_UnExport

(rillig)

2020-12-06 15:00:25 UTC MAIN commitmail json YAML

Don't descend to gdbserver for now

(christos)

2020-12-06 14:50:09 UTC MAIN commitmail json YAML

make(1): add FStr to var.c to make memory handling simpler

The pattern of having a variable and a corresponding freeIt variable
appears over and over again in make, so cast it into a struct.

(rillig)

2020-12-06 14:28:34 UTC MAIN commitmail json YAML

Move everyone to gdb-11

(christos)

2020-12-06 14:26:41 UTC MAIN commitmail json YAML

2020-12-06 14:20:20 UTC MAIN commitmail json YAML

make(1): move type definitions in var.c to the top

(rillig)

2020-12-06 14:01:40 UTC MAIN commitmail json YAML

acpi: Cleanup SPCR setup and style fixes.

(jmcneill)

2020-12-06 13:51:06 UTC MAIN commitmail json YAML

make(1): extract FreeEnvVar from Var_Parse

(rillig)

2020-12-06 13:45:58 UTC MAIN commitmail json YAML

Fix an uninitialized pointer deref introduced in rev 1.207.

Reported-by: syzbot+6d69101d5f2fd954c4e2@syzkaller.appspotmail.com

(thorpej)

2020-12-06 13:29:34 UTC MAIN commitmail json YAML

make(1): move .include lines as far down as possible

(rillig)

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

make(1): move COPTS above <bsd.prog.mk>

(rillig)

2020-12-06 12:47:12 UTC MAIN commitmail json YAML

2020-12-06 12:40:58 UTC MAIN commitmail json YAML

2020-12-06 12:23:13 UTC MAIN commitmail json YAML

acpi: Use acpi_intr_establish to install interrupt handlers

Get rid of bus-specific (isa_intr_establish) and MD (intr_establish) calls
from MI ACPI code, and use acpi_intr_establish everywhere.

(jmcneill)

2020-12-06 11:41:47 UTC MAIN commitmail json YAML

2020-12-06 11:38:28 UTC MAIN commitmail json YAML

acpi: remove unused acpi_quirks_osi_* functions

(jmcneill)

2020-12-06 11:35:27 UTC MAIN commitmail json YAML

2020-12-06 11:00:56 UTC MAIN commitmail json YAML

make(1): indent buf.h with tabs instead of spaces

(rillig)

2020-12-06 10:49:02 UTC MAIN commitmail json YAML

make(1): inline macros for debug logging

No changes to the resulting binary, except for the line numbers in
assertions.

(rillig)

2020-12-06 10:33:42 UTC MAIN commitmail json YAML

make(1): clean up macros for debug logging

Using a do-while loop prevents compiler warnings about possible dangling
else.  It also removes the unnecessary negation.

(rillig)

2020-12-06 10:31:48 UTC netbsd-9 commitmail json YAML

2020-12-06 10:31:02 UTC netbsd-9 commitmail json YAML

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

sbin/dump/dump.h: revision 1.59
sbin/dump/main.c: revision 1.78

PR bin/55834

count blocks written in unsigned 64 bit counter
rather than signed int which overflows after 2^31-1
blocks (2TiB) after which neither the 5 minute
status updates or SIGINFO (^T) reports are issued
until the negative numbers increase past 0 and
wildly inaccurate reports would be written.

(martin)

2020-12-06 10:28:28 UTC netbsd-8 commitmail json YAML

2020-12-06 10:24:47 UTC netbsd-8 commitmail json YAML

Apply patch, requested by mrg in ticket #1627:

external/mit/xorg-server/dist/xkb/xkb.c apply patch

Apply upstream patches for:
* CVE-2020-14360 / ZDI CAN 11572 XkbSetMap Out-Of-Bounds Access
* CVE-2020-25712 / ZDI-CAN-11839 XkbSetDeviceInfo Heap-based Buffer Overflow

(martin)

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

Apply patch, requested by mrg in ticket #1141:

external/mit/xorg-server/dist/xkb/xkb.c apply patch

Apply upstream patches for:
* CVE-2020-14360 / ZDI CAN 11572 XkbSetMap Out-Of-Bounds Access
* CVE-2020-25712 / ZDI-CAN-11839 XkbSetDeviceInfo Heap-based Buffer Overflow

(martin)

2020-12-06 10:09:36 UTC MAIN commitmail json YAML

Don't read from the chip when matching, fail the attach instead (requested
by jmcneill).  Reverts previous.

(jdc)

2020-12-06 10:06:15 UTC MAIN commitmail json YAML

Don't read from the chip when matching, fail the attach instead (requested
by jmcneill).  Reverts previous.
While here, handle errors attaching sysmon and acquiring the iic bus lock.

(jdc)

2020-12-06 09:03:29 UTC MAIN commitmail json YAML

Fix build after interval timers refectoring by thorpej@

(skrll)

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

src/external/gpl3/gdb/dist/gdb/mips-nbsd-nat.c@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libbfd/arch/mips64el/bfd_stdint.h@1.8 / diff / nxr@1.8
src/external/gpl3/gdb/lib/libbfd/arch/mipseb/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/mipseb/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/mipseb/bfd_stdint.h@1.7 / diff / nxr@1.7
src/external/gpl3/gdb/lib/libbfd/arch/mipseb/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/mipseb/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/mipseb/defs.mk@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/mipseb/targmatch.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libctf/arch/aarch64/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/aarch64/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/mipseb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/mipseb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/mips64el/gstdint.h@1.8 / diff / nxr@1.8
src/external/gpl3/gdb/lib/libdecnumber/arch/mipseb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gdb/lib/libdecnumber/arch/mipseb/gstdint.h@1.7 / diff / nxr@1.7
src/external/gpl3/gdb/lib/libgdb/arch/mips64el/config.h@1.18 / diff / nxr@1.18
src/external/gpl3/gdb/lib/libgdb/arch/mips64el/defs.mk@1.16 / diff / nxr@1.16
src/external/gpl3/gdb/lib/libgdb/arch/mips64el/init.c@1.16 / diff / nxr@1.16
src/external/gpl3/gdb/lib/libgdb/arch/mipseb/config.h@1.15 / diff / nxr@1.15
      :
(more 66 files)
regen more mips and aarch64

(christos)

2020-12-06 04:08:55 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/dist/gdb/sh-nbsd-nat.c@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/m68000/targmatch.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libbfd/arch/m68k/targmatch.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h@1.15 / diff / nxr@1.15
src/external/gpl3/gdb/lib/libbfd/arch/mips64el/targmatch.h@1.14 / diff / nxr@1.14
src/external/gpl3/gdb/lib/libbfd/arch/mipsel/targmatch.h@1.14 / diff / nxr@1.14
src/external/gpl3/gdb/lib/libbfd/arch/sh3eb/targmatch.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libbfd/arch/sparc/targmatch.h@1.13 / diff / nxr@1.13
src/external/gpl3/gdb/lib/libbfd/arch/sparc64/bfd_stdint.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/sparc64/targmatch.h@1.13 / diff / nxr@1.13
src/external/gpl3/gdb/lib/libbfd/arch/vax/targmatch.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libdecnumber/arch/mips64eb/gstdint.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libdecnumber/arch/sparc64/gstdint.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libgdb/Makefile@1.29 / diff / nxr@1.29
src/external/gpl3/gdb/lib/libgdb/arch/m68000/config.h@1.13 / diff / nxr@1.13
src/external/gpl3/gdb/lib/libgdb/arch/m68k/config.h@1.14 / diff / nxr@1.14
src/external/gpl3/gdb/lib/libgdb/arch/mips64eb/config.h@1.19 / diff / nxr@1.19
src/external/gpl3/gdb/lib/libgdb/arch/mipsel/config.h@1.16 / diff / nxr@1.16
      :
(more 18 files)
fix sh3, regen some more

(christos)

2020-12-06 03:46:23 UTC MAIN commitmail json YAML

2020-12-06 03:29:03 UTC MAIN commitmail json YAML

2020-12-06 03:28:26 UTC MAIN commitmail json YAML

2020-12-06 03:19:15 UTC MAIN commitmail json YAML

undo previous; __register_t is already defined

(christos)

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

acpi: add character device for accessing ACPI tables

The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.

(jmcneill)

2020-12-06 02:26:33 UTC MAIN commitmail json YAML

Don't expose register_t

(christos)

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

2020-12-05 23:36:45 UTC MAIN commitmail json YAML

merge security fixes for xkb, as found in these xserver gitlab
commits:

270e439739e023463e7e0719a4eede69d45f7a3f - xkb: only swap once in XkbSetMap
446ff2d3177087b8173fa779fa5b77a2a128988b - Check SetMap request length carefully
87c64fc5b0db9f62f4e361444f4b60501ebf67b9 - Fix XkbSetDeviceInfo() and SetDeviceIndicators() heap overflows
de940e06f8733d87bbb857aef85d830053442cfe - xkb: fix key type index check in _XkbSetMapChecks
f7cd1276bbd4fe3a9700096dec33b52b8440788d - Correct bounds checking in XkbSetNames()

i haven't tested these run OK, and it was a 33 out of 34 hunks
did not apply cleanly, but they merge was still largely the
same (patch failed due to whitespace changes mostly), and i am
able to build-test successfully.

(mrg)

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

2020-12-05 22:51:34 UTC MAIN commitmail json YAML

Don't let gcov mess up results

(sjg)

2020-12-05 22:49:50 UTC MAIN commitmail json YAML

Use __vaddr_t since we don't expose vaddr_t by default to userland.

(christos)

2020-12-05 22:44:57 UTC MAIN commitmail json YAML

bump version for xorg-server 1.20.10.

(mrg)

2020-12-05 22:44:37 UTC MAIN commitmail json YAML

2020-12-05 22:24:26 UTC MAIN commitmail json YAML

2020-12-05 22:14:45 UTC MAIN commitmail json YAML

fix alpha build.

(christos)

2020-12-05 21:36:21 UTC MAIN commitmail json YAML

Don't install header marked obsolete

pointed out by mrg

(nia)

2020-12-05 21:27:31 UTC MAIN commitmail json YAML

Don't bother with gdbserver for archs that don't build it.

(christos)