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

2024-05-10 10:43:21 UTC Now

2022-01-15 09:58:23 UTC MAIN commitmail json YAML

Move CPUID_CAPEX_FLAGS next to %eax because it's for %eax.

(msaitoh)

2022-01-15 09:55:14 UTC MAIN commitmail json YAML

No functional change.

- Modify comment. Add comment. Fix typo. Mainly taken from dragonfly.
- Use __BIT().

(msaitoh)

2022-01-15 09:08:57 UTC MAIN commitmail json YAML

make: remove trailing whitespace in meta.c

(rillig)

2022-01-15 08:56:41 UTC MAIN commitmail json YAML

2022-01-15 08:14:37 UTC MAIN commitmail json YAML

2022-01-15 07:39:04 UTC MAIN commitmail json YAML

The translations that need invalidation are always last level so remove
the (dubious) logic around tracking the level.  The "any level" TLB
invalidation maintenance operation are used, but this may change after
further testing.

before
======
1661.0u 420.2s 2:53.82 1197.3% 231+29k 10+33918io 102pf+0w
1646.8u 425.2s 2:52.96 1198.0% 232+29k 1+33937io 49pf+0w
1647.9u 425.7s 2:52.58 1201.6% 232+29k 0+33940io 32pf+0w

After
=====
1602.5u 420.8s 2:49.09 1196.6% 238+30k 24+33893io 54pf+0w
1600.7u 421.3s 2:51.53 1178.8% 238+30k 1+33914io 33pf+0w
1597.5u 424.3s 2:50.46 1186.1% 238+30k 0+33915io 17pf+0w

LGTM from ryo@

(skrll)

2022-01-15 07:11:26 UTC MAIN commitmail json YAML

2022-01-15 06:22:30 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2022-01-14 23:56:35 UTC MAIN commitmail json YAML

update header too.

(christos)

2022-01-14 23:55:16 UTC MAIN commitmail json YAML

The "ibm" and "oldibm" tables are identical, because POSIX just
standardised the table from V7. Nobody, including the original authors,
seems to have noticed this.  Merge them and update the documentation.
Also fix the odd, inconsistent, spelling of "pre-4.3BSD-Reno").
(From nabijaczleweli)

(christos)

2022-01-14 23:46:56 UTC MAIN commitmail json YAML

Fix emul and exe DT_ types (from RVP, as was the previous commit)

(christos)

2022-01-14 22:55:10 UTC MAIN commitmail json YAML

etcupdate(8): consistent -h and -? text

(lukem)

2022-01-14 22:28:59 UTC MAIN commitmail json YAML

ihidev(4): Prohibit closing an unopened ihidev.

(riastradh)

2022-01-14 22:28:50 UTC MAIN commitmail json YAML

ihidev(4): Avoid reference count overflow.

(riastradh)

2022-01-14 22:28:42 UTC MAIN commitmail json YAML

ims(4): Sprinkle KERNEL_LOCKED_P assertions.

Access to the softc and hidms state is currently kernel-locked.

(riastradh)

2022-01-14 22:28:23 UTC MAIN commitmail json YAML

ihidev(4): Take the lock for ihidev_open, ihidev_close.

Need this to serialize access to sc_state, sc_refcnt.

XXX Should harmonize this with uhidev(4) and tighten assertions.

(riastradh)

2022-01-14 22:26:45 UTC MAIN commitmail json YAML

ihidev(4): Check kmem_alloc(..., KM_NOSLEEP) for failure.

(riastradh)

2022-01-14 22:26:35 UTC MAIN commitmail json YAML

ihidev(4): Allocate report buffer with KM_SLEEP.

Limited to 64k and only happens on attach anyway.  Let's not leave a
rake to trip on here.

(riastradh)

2022-01-14 22:25:49 UTC MAIN commitmail json YAML

ihidev(4): Fix locking and interrupt handler.

- Can't run iic_exec in softint because it does cv_wait, at least on
  some i2c controllers -- defer to workqueue instead.

- Fix violations of locking rules:
  . Do not take a lock at higher IPL than it is defined at!
  . Do not sleep under a lock!
  . Definitely do not sleep under a spin lock!
  In this case, sc_intr_lock was defined at IPL_VM but used at IPL_TTY,
  and i2c transactions -- possibly causing sleep for cv_wait -- were
  issued under it.

  But in this case, the interrupt handler needs only a single bit to
  mark whether the work is pending, so just use atomic_swap for that.

- Use an adaptive lock (IPL_NONE) for i2c transactions.

- Detach children, and do so before freeing anything.

(riastradh)

2022-01-14 21:59:51 UTC MAIN commitmail json YAML

genfs(9): Prune dead branch.

(riastradh)

2022-01-14 21:32:27 UTC MAIN commitmail json YAML

ihidev(4): Add missing includes and header guard.

Mark the sections that are conventionally separate files for hardware
interface (*reg.h) versus software state (*var.h).

(riastradh)

2022-01-14 19:44:04 UTC MAIN commitmail json YAML

don't blindly enable memory and IO access on macppc

(macallan)

2022-01-14 19:42:56 UTC MAIN commitmail json YAML

add flag to disable blindly enabling memory and IO access on everything we
find

(macallan)

2022-01-14 19:31:44 UTC MAIN commitmail json YAML

2022-01-14 19:19:35 UTC MAIN commitmail json YAML

This is a temporary hack to avoid nfs crashes related to nfs_delaytruncate.

(christos)

2022-01-14 18:43:23 UTC MAIN commitmail json YAML

meta_cmd_cmp: use bool for once

Just use Buf_Init() some mallocs will be inevitable.

(sjg)

2022-01-14 18:28:28 UTC MAIN commitmail json YAML

Put the appropriate DT_ constant in the dirent structure depending on the
file type.

(christos)

2022-01-14 18:25:22 UTC MAIN commitmail json YAML

make: inline EvalBare

No functional change.

(rillig)

2022-01-14 15:48:51 UTC MAIN commitmail json YAML

Update for cpuid flags:

- The table 11 was changed from CPUID 0x0f leaf 0 %edx to a Linux mapping.
- The table 12 was changed from CPUID 0x0f leaf 1 %edx to CPUID 0x07 leaf 1
  %edx. Print avx_vnni and avx512_bf16.
- Print cppc, enqcmd and arch_lbr.
- Modify linux mapping. No used on NetBSD.

(msaitoh)

2022-01-14 15:46:41 UTC MAIN commitmail json YAML

Add Architectural LBR and Linear Address Masking.

(msaitoh)

2022-01-14 15:45:53 UTC MAIN commitmail json YAML

Both Intel and AMD says the name of CPUID 0x01 %edx bit 19 is "CLFSH".

(msaitoh)

2022-01-14 13:31:05 UTC MAIN commitmail json YAML

Don't use __printflike, use the explicit attribute so that this works outside
NetBSD.

(christos)

2022-01-14 12:48:31 UTC MAIN commitmail json YAML

libedit: rl_message: annotate __printflike

(tnn)

2022-01-14 07:40:52 UTC MAIN commitmail json YAML

Formatting. NFCI.

(skrll)

2022-01-14 07:34:07 UTC MAIN commitmail json YAML

2022-01-14 07:21:53 UTC MAIN commitmail json YAML

Restore the previous pmap_remove_all behaviour as the new method meant
the n1sdp couldn't complete a build.

No noticeable change in kernel build performance.

(skrll)

2022-01-13 16:03:38 UTC MAIN commitmail json YAML

Add some CPUID bits from the latest Intel SDM.

- Last Branch Record.
- Thread Director.
- AVX version of VNNI.
- Fast short REP MOV.
- HRESET.
- PPIN.

(msaitoh)

2022-01-13 16:02:44 UTC MAIN commitmail json YAML

Add Alder Lake, Rocket Lake and Sapphire Rapids. From the latest Intel SDM.

(msaitoh)

2022-01-13 14:47:11 UTC MAIN commitmail json YAML

sysinst(8): use scan_ssid=1 so hidden wifi networks can be used

(nia)

2022-01-13 08:25:24 UTC MAIN commitmail json YAML

2022-01-13 04:51:50 UTC MAIN commitmail json YAML

meta.c: add .MAKE.META.CMP_FILTER

On rare occasions it is useful to be able to filter command lines
before comparison.

(sjg)

2022-01-13 00:21:41 UTC MAIN commitmail json YAML

Use __BIT(). KNF. No functional change.

(msaitoh)

2022-01-12 15:35:51 UTC MAIN commitmail json YAML

2022-01-12 12:55:46 UTC MAIN commitmail json YAML

Ignore new APC UPS devices when matching uhid devices.

(martin)

2022-01-12 12:54:45 UTC MAIN commitmail json YAML

2022-01-12 12:54:02 UTC MAIN commitmail json YAML

Add a new APC UPS device id.

(martin)

2022-01-12 08:23:53 UTC MAIN commitmail json YAML

Fix to call lacp_linkstate with IFNET_LOCK held

Network stack calls lacp_linkstate through lagg_port_ioctl when
doing "ifconfig up" or "ifconfig down" to an interface that is
a member of lagg(4). And IFNET_LOCK in the member interface
is held while the ioctl.
Therefore, lacp_linkstate is renamed to
lacp_linkstate_ifnet_locked, and always called with IFNET_LOCK
held. It avoids locking agains myself.

(yamaguchi)

2022-01-12 01:21:36 UTC MAIN commitmail json YAML

lagg(4): Need to take IFNET_LOCK around if_init.

This should really just avoid dropping IFNET_LOCK before it's done
changing the port interface's configuration, but this stop-gap change
will serve provisionally to reduce crashes until we can confirm that
there's no deadlock lurking in the time this logic drops IFNET_LOCK.

(riastradh)

2022-01-11 22:55:55 UTC MAIN commitmail json YAML

remove redundant error initialization and break earlier. (from rvp)

(christos)

2022-01-11 22:45:56 UTC MAIN commitmail json YAML

2022-01-11 22:32:44 UTC MAIN commitmail json YAML

acpi: sdhc: Support sdhci-caps and sdhci-caps-mask properties.

(jmcneill)

2022-01-11 19:47:34 UTC MAIN commitmail json YAML

tests/make: clean up after test for option '-dF'

When the file for the debug log cannot be opened, make exits
immediately.  This doesn't give the test a chance to clean up the
temporary log file.

Instead of trying to treat a regular file as a directory and create a
file in it, assume that the directory /nonexistent-$uuid is actually
nonexistent.  This leads to the same kind of error message, independent
of strerror(3).

(rillig)

2022-01-11 19:27:13 UTC MAIN commitmail json YAML

2022-01-11 18:30:15 UTC MAIN commitmail json YAML

PR/56618: Walter Lozano: Improve libedit compatibility with readline by
implementing:

    rl_copy_text, rl_erase_empty_line, rl_message, rl_on_new_line,
    rl_replace_line, rl_restore_prompt, rl_save_prompt

(christos)

2022-01-11 11:10:46 UTC MAIN commitmail json YAML

Use a single "p" variable.

Should fix PR kern/56614: kernel panic on tmux

(hannken)

2022-01-11 10:53:08 UTC MAIN commitmail json YAML

acpi: ged: Mask interrupts before dispatching handler

For the benefit of GEDs backed by level interrupts, mask the interrupt
source before dispatching the handler to a worker thread and unmask it
after it has been handled.

(jmcneill)

2022-01-11 10:07:23 UTC MAIN commitmail json YAML

doc: sysinst WLAN changes

(nia)

2022-01-11 09:44:49 UTC MAIN commitmail json YAML

sysinst(8): Add a "data" argument to do_ifreq that is set after the
ifr struct is zeroed.

This allows us to simplify the code by not having 2x socket creation
code for checking whether interfaces are wireless.

(nia)

2022-01-10 23:16:05 UTC MAIN commitmail json YAML

2022-01-10 22:26:14 UTC MAIN commitmail json YAML

Fix locking in the error path (from RVP). Centralize unlock code.

(christos)

2022-01-10 22:14:01 UTC MAIN commitmail json YAML

sysinst(8): Avoid asking Wi-Fi questions about non-Wi-Fi devices.

(nia)

2022-01-10 20:32:29 UTC MAIN commitmail json YAML

make: add debug logging for capturing the output of external commands

This applies to all 4 situations in which the output of an external
command is used for modifying a variable or an expression:

* the assignment operator '!='
* the assignment modifier '::!='
* the SUN shell modifier ':sh'
* the other shell modifier ':!cmd!'

Previously, only the shell modifier ':!cmd!' had debug logging.

Suggested by Christoph Badura.

(rillig)

2022-01-10 20:14:54 UTC MAIN commitmail json YAML

sun4v: add function to retrieve hypervisor api version

(palle)

2022-01-10 20:04:01 UTC MAIN commitmail json YAML

read the ps arguments from the correct place.

(christos)

2022-01-10 19:51:30 UTC MAIN commitmail json YAML

2022-01-10 19:23:00 UTC MAIN commitmail json YAML

Add sysinst message catalogs

(martin)

2022-01-10 18:04:20 UTC MAIN commitmail json YAML

Use p->p_stackbase instead of USRSTACK because the stackbase can move because
of ASLR.

(christos)

2022-01-10 17:50:18 UTC MAIN commitmail json YAML

2022-01-10 15:31:38 UTC MAIN commitmail json YAML

Add sysinst catalog files

(martin)

2022-01-10 12:17:48 UTC MAIN commitmail json YAML

2022-01-10 10:02:30 UTC MAIN commitmail json YAML

"Unobsolete" the sysinst message catalogs, now that we install them again.

(martin)

2022-01-10 06:00:00 UTC MAIN commitmail json YAML

2022-01-10 01:47:49 UTC MAIN commitmail json YAML

2022-01-09 20:53:54 UTC MAIN commitmail json YAML

tests/make: add placeholders for .PARSEDIR and .INCLUDEDFROMDIR

When run via 'cd usr.bin/make/unit-tests && make test', the tests are in
the current directory.  When run via ATF, the tests are in
/usr/tests/usr.bin/make/unit-tests, while the current directory is a
temporary directory.  Allow both variants, plus others that may occur in
the bmake distribution.

(rillig)

2022-01-09 20:30:04 UTC MAIN commitmail json YAML

sun4v: enable sun4v_intr_xxx() function previously imported from OpenBSD. Note that the sun4v_intr_devino_to_sysino() function is adapted to match OpenBSD version 1.57 (the introduction of INTR_DEVINO is done in revision 1.58)

(palle)

2022-01-09 20:21:44 UTC MAIN commitmail json YAML

tests/make: ensure that '.ifn' is an unknown directive

Due to the way DetermineKindOfConditional works, it could have been that
'.ifn' is treated like the negation of the plain '.if'.

(rillig)

2022-01-09 19:57:14 UTC MAIN commitmail json YAML

make: add missing printflike annotations to parse.c

Clang is stricter than GCC in checking format string inconsistencies.
Reported by Tobias Nygren.

(rillig)

2022-01-09 18:59:27 UTC MAIN commitmail json YAML

make: extract low-level character operations into utility function

Suggested by nia.
https://mail-index.netbsd.org/source-changes-d/2022/01/09/msg013564.html

No functional change.

(rillig)

2022-01-09 18:49:28 UTC MAIN commitmail json YAML

make: in Cmd_Exec, return error message instead of format string

This change leaves only literal format strings in parse.c.  It allows
for more detailed error messages than the current "non-zero status" or
"exited on a signal".

No functional change.

(rillig)

2022-01-09 18:27:23 UTC MAIN commitmail json YAML

uvideo(4): Fix USB interface numbering.

Don't try to be clever and count -- just use bInterfaceNumber.

The previous logic to count interface descriptors failed to consider
interfaces with alternate settings, which led it to pass an invalid
interface number to usbd_device2interface_handle.

It is simpler to just use the recorded bInterfaceNumber, which is
guaranteed by the USB spec to be zero-indexed and below
bNumInterfaces as we need.

(riastradh)

2022-01-09 18:22:32 UTC MAIN commitmail json YAML

tests/make: demonstrate inconsistencies in Cmd_Exec callers

The assignment 'VAR != cmd' generates a warning, the others generate an
error message.  That error message is ignored for backwards
compatibility though.

The assignment via the expression ${VAR::!=cmd} only uses the output of
the command if there was no error, the other places use the output
nevertheless.

(rillig)

2022-01-09 18:11:09 UTC MAIN commitmail json YAML

2022-01-09 16:56:08 UTC MAIN commitmail json YAML

make: shorten ApplyModifier_Assign

No functional change.

(rillig)

2022-01-09 16:39:50 UTC MAIN commitmail json YAML

Install sysinst message catalogs.

(martin)

2022-01-09 15:48:30 UTC MAIN commitmail json YAML

make: use consistent variable names for varargs

No binary change.

(rillig)

2022-01-09 15:05:21 UTC MAIN commitmail json YAML

tests/make: test output channels for parse errors and other errors

(rillig)

2022-01-09 15:05:16 UTC MAIN commitmail json YAML

2022-01-09 15:03:43 UTC MAIN commitmail json YAML

dwcmmc: Add support for card detect using SDMMC_CDETECT register

(jmcneill)

2022-01-09 14:28:23 UTC MAIN commitmail json YAML

2022-01-09 14:06:00 UTC MAIN commitmail json YAML

2022-01-09 13:54:16 UTC MAIN commitmail json YAML

2022-01-09 12:43:52 UTC MAIN commitmail json YAML

make: fix use-after-free in -dp mode (since yesterday)

In a .for loop that contains an unclosed .if directive,
Cond_restore_depth generates an error message.  If stack traces are
enabled using the option '-dp', the details of the .for loop are added
to the stack trace, but at that point, the ForLoop had already been
freed.  To reproduce:

make-2022.01.09.00.33.57 -r -f unit-tests/directive-for.mk -dp

(rillig)

2022-01-09 11:43:58 UTC MAIN commitmail json YAML

make: remove redundant lines from stack traces

These lines repeated the information from the .for loop line above them.

(rillig)

2022-01-09 11:28:04 UTC MAIN commitmail json YAML

make: in ApplyDependencySourceWait, align variable type with %u

No binary change.

(rillig)

2022-01-09 09:50:53 UTC MAIN commitmail json YAML

2022-01-09 09:17:32 UTC MAIN commitmail json YAML

2022-01-09 09:05:35 UTC MAIN commitmail json YAML

2022-01-09 07:45:05 UTC MAIN commitmail json YAML

2022-01-09 07:40:12 UTC MAIN commitmail json YAML

2022-01-09 07:38:33 UTC MAIN commitmail json YAML

Remove unnecessary machine=emips item - it was added to
distrib/sets/lists/debug/md.emips

(skrll)

2022-01-09 06:33:13 UTC MAIN commitmail json YAML

Let user gracefully abort recording with SIGINT.

(mlelstv)

2022-01-09 03:33:26 UTC MAIN commitmail json YAML

etcupdate: add -? for help. improve option errors

Support -? to show help.
Implemented using getopts "leading colon optstring" feature.
Improve error messages for unknown options and missing arguments.
Change usage-related errors from stdout to stderr.
Keep all other errors to stdout for now.

(lukem)

2022-01-09 03:31:23 UTC MAIN commitmail json YAML

etcupdate: -h to stdout. improve help

Send -h help to stdout not stderr, and exit 0 not 1.
Show options alphabetically.
Use UPPER_CASE instead of lowercase as the convention for argument names.

(lukem)

2022-01-09 03:25:38 UTC MAIN commitmail json YAML

etcupdate: style change: function { on new line

(lukem)

2022-01-09 00:36:28 UTC MAIN commitmail json YAML

eqos: handle the GMAC_MTL_INTERRUPT_STATUS register having something

drain a couple of registers that want either a read or a write-1-to-
clear bit, and keep track of how many happen via evcnt.

i had this trigger one time, but not since adding instrumentation to
see exactly it was saying (the GMAC_MTL_INTERRUPT_STATUS_Q0IS bit was
set, and it requires some handling now implemented.)

ok jmcneill

(mrg)

2022-01-09 00:33:57 UTC MAIN commitmail json YAML

make: remove redundant parameter from ForLoop_SubstVarLong

The buffer of a .for loop is always either empty or ends with '\n'.  A
variable name consists of arbitrary non-whitespace characters.
Therefore a variable name can never reach the end of the buffer.

No functional change.

(rillig)

2022-01-08 23:57:32 UTC MAIN commitmail json YAML

postinstall(8); add -?. expand operation usage

(lukem)

2022-01-08 23:52:26 UTC MAIN commitmail json YAML

2022-01-08 23:41:43 UTC MAIN commitmail json YAML

make: fix stack traces in -dp mode (since 2021-01-26)

Previously, the stack traces omitted some lines that seemed to be
redundant.  As a result, the stack traces contained confusing line
numbers.

(rillig)

2022-01-08 23:30:42 UTC MAIN commitmail json YAML

postinstall: improve -s usage

Reword -s SRC_ARG to be a bit clearer as to the variations, and sync
more with postinstall(8).

(lukem)

2022-01-08 23:07:17 UTC MAIN commitmail json YAML

postinstall: tweak -a and -m usage

(lukem)

2022-01-08 23:04:11 UTC MAIN commitmail json YAML

postinstall: add -? to usage

(lukem)

2022-01-08 22:42:28 UTC MAIN commitmail json YAML

make: reduce confusing code in ParseForLoop

The previous version of the code gave the wrong impression that For_Eval
would modify CurFile.  That happens only later, in For_Run.

No functional change.

(rillig)

2022-01-08 22:24:53 UTC MAIN commitmail json YAML

eqos: interrupt evcnt and minor fix

there's basic interrupt evcnt, which is the parent for the rx and
tx interrupts, and 3 status interrupts, one of which has 7 more
subtypes (watchdog timeout, carrier missing/lost, etc.)  as these
cases are evcnt counted now, make some debugging default off.

avoid removing bits from dma_status when rx/tx is handled, so that
later check of dma_status for non-zero does not trip.  the two bits
in dma_status removed are never checked again besides the test that
may have failed (but probably doesn't as at least one other bit in
two other variables will be set.)

ok jmcneill

(mrg)

2022-01-08 22:24:20 UTC MAIN commitmail json YAML

make: fix line number in debug log after returning from a file

The parser returns to the next line, not to the current line.

(rillig)

2022-01-08 22:13:44 UTC MAIN commitmail json YAML

2022-01-08 21:28:59 UTC MAIN commitmail json YAML

make: return early from SkipIrrelevantBranches

No functional change.

(rillig)

2022-01-08 20:21:34 UTC MAIN commitmail json YAML

2022-01-08 17:35:05 UTC MAIN commitmail json YAML

urlphy(4): Fix missing mii locking in urlphy_attach.

(riastradh)

2022-01-08 17:34:14 UTC MAIN commitmail json YAML

ukbd(4): Fix previous change to initial LED flashing.

Without this change the LEDs would get stuck on until the first
keypress.  (This also seemed to trigger a crash in heavy load on
bringing aue(4) up and down over and over again while unplugging, but
I'm not sure why and I hope it's not actually related...)

(riastradh)

2022-01-08 17:25:19 UTC MAIN commitmail json YAML

2022-01-08 14:28:14 UTC MAIN commitmail json YAML

2022-01-08 13:27:31 UTC netbsd-8 commitmail json YAML

2022-01-08 13:26:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #1723):

sys/conf/copyright: revision 1.20

Welcome to 2022!

(martin)

2022-01-08 13:24:36 UTC netbsd-9 commitmail json YAML

2022-01-08 13:23:47 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #1401):

sys/conf/copyright: revision 1.20

Welcome to 2022!

(martin)

2022-01-08 12:59:34 UTC MAIN commitmail json YAML

place additional parens around multiline string constant to appease clang

(tnn)

2022-01-08 11:04:13 UTC MAIN commitmail json YAML

make: rename is_shell_metachar, fix character conversion warning

No binary change.

(rillig)

2022-01-08 10:22:03 UTC MAIN commitmail json YAML

2022-01-08 09:55:33 UTC MAIN commitmail json YAML

make: constify UnescapeBackslash, fix typo in comment

No binary change.

(rillig)

2022-01-08 09:53:44 UTC MAIN commitmail json YAML

make: remove redundant braces

No binary change, except for assertion line numbers.

(rillig)

2022-01-08 09:02:47 UTC MAIN commitmail json YAML

2022-01-08 09:01:00 UTC MAIN commitmail json YAML

2022-01-08 09:00:23 UTC MAIN commitmail json YAML

Make VERBOSE_ARM32 compile again and reduce #ifdefs while I'm here

(skrll)

2022-01-08 08:40:20 UTC MAIN commitmail json YAML

Attempt to fix emips build

(skrll)

2022-01-08 06:58:40 UTC MAIN commitmail json YAML

postinstall: add -?. improve option errors

Support -? to show help.
Implemented using getopts "leading colon optstring" feature.
Improve error messages for unknown options and missing arguments.

(lukem)

2022-01-08 06:57:34 UTC MAIN commitmail json YAML

postinstall: usage improvements

Show options alphabetically.
Use UPPER_CASE instead of lowercase as the convention for argument names.
Provide per-OPERATION argument usage.
Implement options alphabetically.

(lukem)

2022-01-08 06:56:43 UTC MAIN commitmail json YAML

postinstall: improve validation and help

Validate the operation and items before extracting any etc.tgz,
so that help or errors are displayed quicker, for a better user
experience.

Style:
- Rename todo to ITEMS.
- Order processing of list after check.
- Ensure DIFF_OPT is initialised, for consistency.

(lukem)

2022-01-08 06:55:13 UTC MAIN commitmail json YAML

postinstall: style tweaks

Fix ... in comments and internal errors.
Sort variables declared at top of main(), for easier review.

(lukem)

2022-01-08 06:53:58 UTC MAIN commitmail json YAML

postinstall: help to stdout. usage tweaks

When invoked as "help" or "usage", send the usage to stdout
instead of stderr, so that it's easier to pipe to a pager.

Explicitly warn that the operation is missing.

Tweak the usage; "operation" instead of "op", no need for [] around ...

(lukem)

2022-01-08 02:00:49 UTC MAIN commitmail json YAML

Use += for SRCS list

(pgoyette)

2022-01-08 01:58:16 UTC MAIN commitmail json YAML

Remove extra blank line

(pgoyette)

2022-01-08 01:50:54 UTC MAIN commitmail json YAML

Use \t for pre-comment white-space

(pgoyette)

2022-01-07 23:13:50 UTC MAIN commitmail json YAML

make: clean up structure of For_Eval

Put related decisions on the same indentation level, remove unnecessary
negation, keep the code for the '.for' directive together.

No functional change.

(rillig)

2022-01-07 22:59:32 UTC MAIN commitmail json YAML

2022-01-07 22:08:09 UTC MAIN commitmail json YAML

make: remove redundant condition in ParseRawLine

The input buffer is guaranteed to be terminated by '\n'.  This means
that after a '\\', there is no need to check for the end of that buffer.

While here, condense ReadLowLevelLine.

No functional change.

(rillig)

2022-01-07 21:57:26 UTC MAIN commitmail json YAML

make: rename local variable in ParseRawLine

The previous variable name suggested that the variable would point to
the first '#' character of the line, instead it points to the whitespace
before the first '#'.

No functional change.

(rillig)

2022-01-07 21:40:57 UTC MAIN commitmail json YAML

make: condense UnescapeBackslash

No functional change.

(rillig)

2022-01-07 21:04:50 UTC MAIN commitmail json YAML

make: in loadfile, use simpler magic numbers

No functional change.

(rillig)

2022-01-07 21:00:50 UTC MAIN commitmail json YAML

make: have as few statements as possible between va_start and va_end

No functional change.

(rillig)

2022-01-07 20:54:45 UTC MAIN commitmail json YAML

make: remove redundant function parameter in suffix handling

Now that mainNode is globally visible, there is no need to pass it
through function parameters.

No functional change.

(rillig)

2022-01-07 20:50:35 UTC MAIN commitmail json YAML

2022-01-07 20:37:25 UTC MAIN commitmail json YAML

make: clean up comments, variable names, function names

The comment in ApplyDependencySourceOther repeated the code, its second
half didn't match any current code.

The comment above ParseDependencySourcesEmpty repeated the code.

No binary change, except for assertion line numbers.

(rillig)

2022-01-07 20:15:10 UTC MAIN commitmail json YAML

make: clean up handling of .for loops

Sort ForLoop members in natural reading order.

Remove redundant condition in ForLoop_ParseItems; at that point, the
number of variables is non-zero.

Rename Buf_AddEscaped since that function is not part of the Buffer API,
it is specific to .for loops.

No functional change.

(rillig)

2022-01-07 20:09:58 UTC MAIN commitmail json YAML

make: eliminate file-scope variable forLevel

No functional change.

(rillig)

2022-01-07 20:04:49 UTC MAIN commitmail json YAML

make: use simpler code for handling .for loops

Since the body of a .for loop is scanned from start to end, there is no
need to remember the length of a variable name.

Using memcmp for comparing the variable name was probably overkill since
the variable names are usually very short, so rather compare them byte
by byte.

No functional change.

(rillig)

2022-01-07 19:30:18 UTC MAIN commitmail json YAML

2022-01-07 19:24:27 UTC MAIN commitmail json YAML

2022-01-07 16:51:25 UTC MAIN commitmail json YAML

Update Advent Sunday date to 2022

(nia)

2022-01-07 15:51:42 UTC MAIN commitmail json YAML

2022-01-07 15:50:11 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssl/dist/CHANGES@1.28 / diff / nxr@1.28
src/crypto/external/bsd/openssl/dist/Configure@1.29 / diff / nxr@1.29
src/crypto/external/bsd/openssl/dist/NEWS@1.28 / diff / nxr@1.28
src/crypto/external/bsd/openssl/dist/README@1.28 / diff / nxr@1.28
src/crypto/external/bsd/openssl/dist/apps/s_client.c@1.24 / diff / nxr@1.24
src/crypto/external/bsd/openssl/dist/apps/s_server.c@1.24 / diff / nxr@1.24
src/crypto/external/bsd/openssl/dist/apps/speed.c@1.21 / diff / nxr@1.21
src/crypto/external/bsd/openssl/dist/crypto/armcap.c@1.14 / diff / nxr@1.14
src/crypto/external/bsd/openssl/dist/crypto/asn1/a_strex.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/crypto/bn/asm/mips.pl@1.9 / diff / nxr@1.9
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_asn1.c@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssl/dist/crypto/engine/eng_lib.c@1.9 / diff / nxr@1.9
src/crypto/external/bsd/openssl/dist/crypto/evp/e_aes.c@1.25 / diff / nxr@1.25
src/crypto/external/bsd/openssl/dist/crypto/evp/evp_enc.c@1.14 / diff / nxr@1.14
src/crypto/external/bsd/openssl/dist/crypto/objects/o_names.c@1.10 / diff / nxr@1.10
src/crypto/external/bsd/openssl/dist/crypto/ppccap.c@1.20 / diff / nxr@1.20
src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c@1.18 / diff / nxr@1.18
src/crypto/external/bsd/openssl/dist/crypto/uid.c@1.8 / diff / nxr@1.8
src/crypto/external/bsd/openssl/dist/crypto/x509/x509_vfy.c@1.24 / diff / nxr@1.24
src/crypto/external/bsd/openssl/dist/ssl/d1_lib.c@1.12 / diff / nxr@1.12
      :
(more 12 files)
merge conflicts between openssl-1-1-1k and openssl-1-1-1m

(christos)

2022-01-07 14:03:55 UTC MAIN commitmail json YAML

make: clean up comments and names in parse.c

No binary change except for assertion line numbers.

(rillig)

2022-01-07 13:56:10 UTC MAIN commitmail json YAML

make: rename IFile and its fields to match their actual content

For lines that use backslash continuation, the human-readable line
number does not equal the number of raw lines that have been read from
the file.

The big comment in PrintStackTrace has become outdated, it still
referred to first_lineno.  Due to the bugs documented in
opt-debug-parse.mk, that function needs to be redone completely.

No functional change.

(rillig)

2022-01-07 12:44:57 UTC MAIN commitmail json YAML

make: merge calls to ApplyModifier_Time

This enables GCC 11 to inline ApplyModifier_Time, like all the other
modifiers.  Similar pattern as for ':M' and ':N', as well as for ':D'
and ':U'.

No functional change.

(rillig)

2022-01-07 12:37:27 UTC MAIN commitmail json YAML

make: merge duplicate code for modifiers 'gmtime' and 'localtime'

No functional change.

(rillig)

2022-01-07 12:33:25 UTC MAIN commitmail json YAML

make: clean up variable modifiers 'gmtime' and 'localtime'

Use consistent wording (zulu -> gmt), make VarStrftime parameter order
consistent with strftime, rename confusing 'time_t utc' to 't',
eliminate common subexpression in error message.

No functional change.

(rillig)

2022-01-07 10:17:39 UTC MAIN commitmail json YAML

2022-01-07 09:49:43 UTC MAIN commitmail json YAML

make: clean up ParseDependencySources

It is not necessary anymore to modify the passed-in line.  It had been
necessary when the parsing function was several hundred lines long, to
avoid gotos.

No functional change.

(rillig)

2022-01-07 09:35:12 UTC MAIN commitmail json YAML

make: clean up local variables in ParseDependencyTargets

Having only a single moving pointer is less confusing than the previous
copying between tgt and cp.  For example, it did not make sense that the
target would start with '!'.

No functional change.

(rillig)

2022-01-07 09:28:35 UTC MAIN commitmail json YAML

make: remove redundant variable in ParseDependencyTargetWord

No functional change.

(rillig)

2022-01-07 09:19:43 UTC MAIN commitmail json YAML

make: clean up function argument names and comments

No binary change except for assertion line numbers.

(rillig)

2022-01-07 09:02:19 UTC MAIN commitmail json YAML

make: remove redundant initializer in CondParser_ComparisonOrLeaf

No binary change.

(rillig)

2022-01-07 08:48:16 UTC MAIN commitmail json YAML

make: clean up nitpicks in parse.c

In PrintLocation, fname is not an iterator, so prefer fname[0] over
*fname.

List stdout and stderr in this order, for consistency with main.c.

No functional change.

(rillig)

2022-01-07 08:37:24 UTC MAIN commitmail json YAML

make: reduce negations in ParseVErrorInternal

No functional change.

(rillig)

2022-01-07 08:30:04 UTC MAIN commitmail json YAML

make: rename local variable in bmake_malloc

The length of a string does not include the trailing '\0'.

No binary change.

(rillig)

2022-01-07 08:28:06 UTC MAIN commitmail json YAML

make: reduce code for initializing error handling in shell

No functional change.

(rillig)

2022-01-07 08:20:00 UTC MAIN commitmail json YAML

make: fix null pointer when including empty file (since 2022-01-01)

Calling malloc(0) may return a null pointer, but callers of bmake_malloc
do not expect that.

Reported by Chris Pinnock, found by cross-compiling NetBSD on OpenBSD,
where tools/groff creates Makefile.dep files of size 0.

(rillig)

2022-01-07 07:34:10 UTC MAIN commitmail json YAML

Safe vendor/product for reporting. Avoids repeated loading/unloading
of hdaudioverbose module.

(mlelstv)

2022-01-07 07:25:37 UTC MAIN commitmail json YAML

Calculate the minimum address, don't assume the first entry is the start.

(mlelstv)

2022-01-07 06:57:57 UTC MAIN commitmail json YAML

Two fixes:

  - Fix previous again. The missing comma is intended to split the long line.
  - Add missing right parenthesis.

(msaitoh)

2022-01-07 05:30:30 UTC MAIN commitmail json YAML

sh(1): improve getopts docs for optstring leading :

getopts has different behaviour if the leading character
of optstring is `:', so describe in more detail:
- no errors are printed (already there)
- unknown options set var to `?' and OPTARG to the unknown option
- missing arguments set var to `:' and OPTARG to the option name

Slight rewording of other paragraphs for more clarity.

(lukem)

2022-01-07 05:17:38 UTC MAIN commitmail json YAML

Add missing comma. Found by tnn@.

(msaitoh)

2022-01-07 05:10:30 UTC MAIN commitmail json YAML

sh(1): fix formatting warnings

(lukem)

2022-01-07 03:07:41 UTC MAIN commitmail json YAML

tests: skip ndp_cache_state on qemu

(ozaki-r)

2022-01-07 01:10:58 UTC MAIN commitmail json YAML

acpibat(4): Fix race in detach with AcpiOsExecute deferred call.

(riastradh)

2022-01-07 01:03:02 UTC MAIN commitmail json YAML

postinstall: fix x11 migration of /usr/X11R6/lib/X11

Fix the x11 check if /usr/X11R6/lib/X11/* needs to migrate to /etc/X11/*
by ensuring that the former actually is detected.

Avoids false migration errors for paths such as /fs if /usr/X11R6
doesn't exist, such as:
x11 check:
        Migrate /fs to /etc/X11/fs

The original implemention handled this correctly, but the bug
crept in postinstall 1.110 on 2010/11/21.

(lukem)

2022-01-06 22:10:39 UTC MAIN commitmail json YAML

Fix typo, remove dot

(wiz)

2022-01-06 21:55:24 UTC MAIN commitmail json YAML

2022-01-06 20:50:19 UTC MAIN commitmail json YAML

Revert change for array definition, it was incorrect, thanks Uwe.

(blymn)

2022-01-06 20:41:31 UTC MAIN commitmail json YAML

Fix previous and actually disable UFS_DIRHASH

(pgoyette)

2022-01-06 18:00:58 UTC MAIN commitmail json YAML

display the raw value of each field when -v specified

(ryo)

2022-01-06 17:59:15 UTC MAIN commitmail json YAML

2022-01-06 17:05:33 UTC MAIN commitmail json YAML

Fix for systems that override SYSTEM_LD_TAIL

(christos)

2022-01-06 16:12:09 UTC netbsd-9 commitmail json YAML

2022-01-06 16:11:07 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hauke in ticket #1400):

external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c: revision 1.7

Default files to BSD group ownership in line with ffs, after the lead
of FreeBSD <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D139076>
(patch by hannken@)

(martin)

2022-01-06 15:08:56 UTC MAIN commitmail json YAML

Since UFS_DIRHASH is explicitly disabled in GENERIC kernels (due to
being suspected of memory corruption), it should not be enabled in
the default module configurations either.

(pgoyette)

2022-01-06 12:09:42 UTC MAIN commitmail json YAML

lagg(4): Take lock as required around if ioctl.

Note: There are some calls to SIOCADDMULTI/SIOCDELMULTI that take the
lock when they don't need it, but it's not clear it's harmful either
unless they come via a caller that holds softnet_lock.

candidate fix for
https://mail-index.netbsd.org/current-users/2021/12/31/msg041876.html

ok yamaguchi

(riastradh)

2022-01-06 09:01:16 UTC MAIN commitmail json YAML

Added more field definitions for ARMv8.x system registers

(ryo)

2022-01-06 08:46:43 UTC MAIN commitmail json YAML

2022-01-06 07:39:10 UTC MAIN commitmail json YAML

QEMU e1000's PHY code doesn't reflect the PSSR_LINK bit. Do workaround.

  IEEE 802.3 clause 22's PHY device has a link status bit in the BMCR
  register, but it's required to read twice to get the correct value.
  Almost all PHY devices have the vendor specific register which has
  the link status bit that it's not required to read twice. makphy(4)
  use the bit in the PSSR register to reduce the access cost.

  QEMU's e1000 provides the PHY specific status register at 0x11 but the
  link indication bit (PSSR_LINK.) is always 1 because
  e1000x_update_regs_on_link_{down,up}() modify MII_SR_LINK_STATUS
  (BMSR_LINK in NetBSD) but don't modify PSSR_LINK. It causes
  "virsh domif-setlink xxx yyy down" doesn't work.
  To avoid this problem, read the BMSR and check the BMSR_LINK bit. Add
  MAKPHY_QUIRK_PSSR_LINK bit for this quirk. Set it if MII_EXTSR doesn't
  exist because it's one of the case of QEMU.

  Found and tested by ozaki-r.

(msaitoh)