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

2024-05-09 21:01:43 UTC Now

2024-04-18 15:33:44 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1828):

sys/stand/efiboot/efiboot.c: revision 1.23

efiboot: Duplicate efi_bootdp before we clobber it in efi_net_probe.

Patch from jakllsch@.  Makes Socionext Synquacer boot considerably
more reliably.

PR kern/58075

(martin)

2024-04-18 15:32:36 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #656):

sys/stand/efiboot/efiboot.c: revision 1.23

efiboot: Duplicate efi_bootdp before we clobber it in efi_net_probe.

Patch from jakllsch@.  Makes Socionext Synquacer boot considerably
more reliably.

PR kern/58075

(martin)

2024-04-18 15:24:21 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #655):

sys/modules/Makefile: revision 1.285
share/mk/bsd.own.mk: revision 1.1365
share/mk/bsd.own.mk: revision 1.1366
sys/arch/aarch64/include/sljit_machdep.h: revision 1.4
sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c: revision 1.5
(all via patch)

sljit: Pacify -Wsign-compare.

If these sizes are negative, we're probably in trouble anyway, so
assert nonnegative here.
Needed to resolve PR 58103.

bsd.own.mk: Enable MKLSJIT on aarch64.

Make sure there's only one copy of the conditional, in bsd.own.mk;
just make sys/modules/Makefile conditional on MKSLJIT so we don't
have to keep these in sync.

As a workaround for PR 58106, tweak the conditional definition of
SLJIT_CACHE_FLUSH to use cpu_icache_sync_range only in _HARDKERNEL,
and use __builtin___clear_cache in userland and in rump kernels.

PR 58103: bpfjit.kmod is not built on aarch64
bsd.own.mk: No need for MKSLJIT to be set differently from others.
- Use ?=, not =, so mk.conf setting wins.
- Write out per-architecture tabular settings, not a conditional.
- Add comments for the architectures that look like they should have
  sljit but don't.  (XXX Missing comments about powerpc and mips --
  not sure why, is this because modules don't yet work on those
  architectures, or what?)

Tidying for PR 58103: bpfjit.kmod is not built on aarch64.

(martin)

2024-04-18 15:21:55 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #655):

sys/modules/Makefile: revision 1.285
share/mk/bsd.own.mk: revision 1.1365
share/mk/bsd.own.mk: revision 1.1366
sys/arch/aarch64/include/sljit_machdep.h: revision 1.4
sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c: revision 1.5

sljit: Pacify -Wsign-compare.

If these sizes are negative, we're probably in trouble anyway, so
assert nonnegative here.
Needed to resolve PR 58103.

bsd.own.mk: Enable MKLSJIT on aarch64.

Make sure there's only one copy of the conditional, in bsd.own.mk;
just make sys/modules/Makefile conditional on MKSLJIT so we don't
have to keep these in sync.

As a workaround for PR 58106, tweak the conditional definition of
SLJIT_CACHE_FLUSH to use cpu_icache_sync_range only in _HARDKERNEL,
and use __builtin___clear_cache in userland and in rump kernels.

PR 58103: bpfjit.kmod is not built on aarch64
bsd.own.mk: No need for MKSLJIT to be set differently from others.
- Use ?=, not =, so mk.conf setting wins.
- Write out per-architecture tabular settings, not a conditional.
- Add comments for the architectures that look like they should have
  sljit but don't.  (XXX Missing comments about powerpc and mips --
  not sure why, is this because modules don't yet work on those
  architectures, or what?)

Tidying for PR 58103: bpfjit.kmod is not built on aarch64.

(martin)

2024-04-18 12:16:23 UTC MAIN commitmail json YAML

Fix types in pmap_page_clear_attributes so that the top bits of
the u_long mdpg_attrs aren't dropped giving atomic_cas_ulong no
chance of completing if any of the top bits is set.

Update pmap_page_set_attributes for consistency.

An ATF test run completed for me with this fix.

port-riscv/58006: ATF tests no longer complete on riscv-riscv64

(skrll)

2024-04-18 10:32:03 UTC MAIN commitmail json YAML

2024-04-18 04:52:43 UTC MAIN commitmail json YAML

allow mapping of blitter registers

(macallan)

2024-04-17 18:52:54 UTC MAIN commitmail json YAML

tap(4): Just use mutex_enter.

PR kern/58167

(riastradh)

2024-04-17 18:52:39 UTC MAIN commitmail json YAML

tap(4): Use DETACH_FORCE with config_detach.

It doesn't make a difference here, because tap_detach never fails,
but let's make it more obvious at the call site that failure is
forbidden here.

No functional change intended.

PR kern/58166

(riastradh)

2024-04-17 18:52:25 UTC MAIN commitmail json YAML

tap(4): Prune dead branches around tap_dev_destroyer.

No functional change intended.

PR kern/58166

(riastradh)

2024-04-17 18:32:13 UTC MAIN commitmail json YAML

tap(4): Prune dead branches around tap_dev_close.

No functional change intended.

PR kern/58166

(riastradh)

2024-04-17 18:10:27 UTC MAIN commitmail json YAML

modules/examples/fopsmapper: KNF, sprinkle comments

Missing: MP-safety; this is a kind of broken example.

(riastradh)

2024-04-17 18:09:14 UTC netbsd-8 commitmail json YAML

2024-04-17 18:07:53 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1954):

share/mk/bsd.lib.mk: revision 1.398
share/mk/bsd.lib.mk: revision 1.399
share/mk/bsd.x11.mk: revision 1.152
(via patch)

PR/58104: Kouichi Hashikawa: Use ${TOOL_AWK}

Back-out unintented commit.

(martin)

2024-04-17 18:06:32 UTC netbsd-9 commitmail json YAML

2024-04-17 18:04:57 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1826):

share/mk/bsd.lib.mk: revision 1.398
share/mk/bsd.lib.mk: revision 1.399
share/mk/bsd.x11.mk: revision 1.152
(via patch)

PR/58104: Kouichi Hashikawa: Use ${TOOL_AWK}

Back-out unintented commit.

(martin)

2024-04-17 18:03:46 UTC netbsd-10 commitmail json YAML

2024-04-17 18:02:23 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #654):

share/mk/bsd.lib.mk: revision 1.398
share/mk/bsd.lib.mk: revision 1.399
share/mk/bsd.x11.mk: revision 1.152
(via patch)

PR/58104: Kouichi Hashikawa: Use ${TOOL_AWK}

Back-out unintented commit.

(martin)

2024-04-17 18:01:29 UTC MAIN commitmail json YAML

sys/conf.h: Need sys/types.h for dev_t, devmajor_t.

(riastradh)

2024-04-17 16:26:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1953):

sys/dev/pci/if_iwn.c: revision 1.100

if_iwn.c: pick up proper firmware for Centrino Wireless-N 130

Both variants should use iwlwifi-6000g2b-6 not iwlwifi-6000g2a-6. (It
seems only two specific product variants use iwlwifi-6000g2a-6. We
could simplify by reversing the sense of the test, as OpenBSD does, but
it doesn't seem to matter much, as what we now match seems to be the
full gamut possible, so the simpler diff was chosen here.)

Addresses PR kern/58105 from wandrien.dev%gmail.com@localhost, with the
PCI_PRODUCT_INTEL_WIFI_LINK_130_1 match tested by the reporter. Code
inspection of the FreeBSD driver indicates we should safely be able to
match PCI_PRODUCT_INTEL_WIFI_LINK_130_2 also.

(martin)

2024-04-17 16:24:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1825):

sys/dev/pci/if_iwn.c: revision 1.100

if_iwn.c: pick up proper firmware for Centrino Wireless-N 130

Both variants should use iwlwifi-6000g2b-6 not iwlwifi-6000g2a-6. (It
seems only two specific product variants use iwlwifi-6000g2a-6. We
could simplify by reversing the sense of the test, as OpenBSD does, but
it doesn't seem to matter much, as what we now match seems to be the
full gamut possible, so the simpler diff was chosen here.)

Addresses PR kern/58105 from wandrien.dev%gmail.com@localhost, with the
PCI_PRODUCT_INTEL_WIFI_LINK_130_1 match tested by the reporter. Code
inspection of the FreeBSD driver indicates we should safely be able to
match PCI_PRODUCT_INTEL_WIFI_LINK_130_2 also.

(martin)

2024-04-17 16:23:08 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #653):

sys/dev/pci/if_iwn.c: revision 1.100

if_iwn.c: pick up proper firmware for Centrino Wireless-N 130

Both variants should use iwlwifi-6000g2b-6 not iwlwifi-6000g2a-6. (It
seems only two specific product variants use iwlwifi-6000g2a-6. We
could simplify by reversing the sense of the test, as OpenBSD does, but
it doesn't seem to matter much, as what we now match seems to be the
full gamut possible, so the simpler diff was chosen here.)

Addresses PR kern/58105 from wandrien.dev%gmail.com@localhost, with the
PCI_PRODUCT_INTEL_WIFI_LINK_130_1 match tested by the reporter. Code
inspection of the FreeBSD driver indicates we should safely be able to
match PCI_PRODUCT_INTEL_WIFI_LINK_130_2 also.

(martin)

2024-04-17 13:23:33 UTC MAIN commitmail json YAML

2024-04-17 11:44:00 UTC MAIN commitmail json YAML

2024-04-17 11:42:47 UTC MAIN commitmail json YAML

2024-04-17 07:47:48 UTC MAIN commitmail json YAML

turn LEDs off when shutting down

(macallan)

2024-04-17 06:11:56 UTC MAIN commitmail json YAML

2024-04-17 02:46:03 UTC MAIN commitmail json YAML

ftp.1: drop a sentence that's no longer accurate

(gutteridge)

2024-04-17 02:34:45 UTC MAIN commitmail json YAML

Add support for a range of USB serial adapters

From Cameron Williams in PR kern/58127

(maya)

2024-04-17 02:33:04 UTC MAIN commitmail json YAML

2024-04-17 02:32:09 UTC MAIN commitmail json YAML

Add some USB serial adapters

From Cameron Williams in PR kern/58127

(maya)

2024-04-16 23:43:08 UTC MAIN commitmail json YAML

Add comparison function so that it can be used to provide a stable sort
(Jan-Benedict Glaw)

(christos)

2024-04-16 23:40:36 UTC MAIN commitmail json YAML

Set LC_ALL=C before calling sort so that it works consistently. Unfortunately
ENVIRON["LC_ALL"] = "C"; does not work like in gawk (Jan-Benedict Glaw)

(christos)

2024-04-16 23:30:19 UTC MAIN commitmail json YAML

Be more explicit with sort fields to produce consistent results with gnu
sort (Jan-Benedict Glaw)

(christos)

2024-04-16 19:15:37 UTC MAIN commitmail json YAML

2024-04-16 19:11:45 UTC netbsd-10 commitmail json YAML

2024-04-16 19:10:07 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by thorpej in ticket #652):

sys/arch/alpha/pci/irongate_pci.c: revision 1.13

Add a missing barrier in irongate_conf_read0().

(martin)

2024-04-16 19:07:22 UTC netbsd-9 commitmail json YAML

2024-04-16 19:06:07 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1824):
etc/mtree/special: revision 1.172
Add /etc/sshd/ssh_host_ed25519_key* .

(martin)

2024-04-16 18:59:49 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by thorpej in ticket #651):

sys/dev/usb/ugen.c: revision 1.177

ugen and ugenif share the same /dev/ugenN.xx namespace in such a way
that the device unit number does not necessarily match the /dev/ugenN.xx
unit number (N).  If you ONLY have ugen devices, it happens to work out
and devpubd scripts can be extremely naive.  If you ONLY have ugenif
devices, it also happens to work out, but your devpubd scripts have to
slightly more informed.  If you have a mix of ugen AND ugenif devices,
though, you're pretty much out of luck.

So, this change adds a "ugen-unit" device property which devpubd scripts
can query to determine which /dev/ugenN.xx nodes a given ugen or ugenif
device is using.

(martin)

2024-04-16 18:45:39 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by thorpej in ticket #649):

sys/dev/usb/uftdi.c: revision 1.77
share/man/man4/ugen.4: revision 1.39
sys/dev/usb/ugen.c: revision 1.176
sys/dev/usb/usbdevices.config: revision 1.43

Define a "flags 1" config directive for ugenif, which is similar to ugen's,
but rather forces the ugenif to match at the *lowest* match priority rather
than the highest.  This allows ugenif to claim only otherwise unclaimed
interfaces.

Add a "match quirk" mechanism to the uftdi driver that allows it to
selectively reject individual interfaces based on the combination of
- Vendor ID
- Product ID
- Interface number
- Vendor string
- Product string

This is necessary[*] to allow some devices that would otherwise match
uftdi (and thus instantiate a ucom) to be matched by ugenif instead,
which is required to make the device available to libusb1.

[*] ...due to a deficiency in the USB stack that does not provide a
mechanism for a user-space driver to claim a device from a kernel driver
and then return it back at a later time.

Use this new match quirk mechanism to reject "interface 1" of the
FTDI 2232C-based Tigard debug board; On this board, "interface 0"
is brought out to regular TTL-level UART pins, but "interface 1" is
brought out to SWD and JTAG headers, and is really only useful when
used with something like openocd.  Because the FTDI 2232C on this board
just uses the standard FTDI vendor and product IDs, it can only be
distinguished by the strings, which cannot be specified usbdevices.config,
thus necessitating the match quirk entry (that works in combination
with the ugenif entry added in usbdevices.config).

(martin)

2024-04-16 18:33:47 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #648):

lib/libc/time/strptime.c: revision 1.66

strptime(3): Declare digit d as time_t.

This doesn't make a semantic difference -- d can only take on the ten
values {0,1,2,3,4,5,6,7,8,9}, and the arithmetic with it later all
comes out the same whether the type is unsigned or time_t, even if
time_t were int32_t instead of int64_t.

But it pacifies overzealous compilers used by downstream users of
this code.  And while it's silly to use a much wider type (64-bit
signed) than is needed here to store a single digit, it doesn't
really hurt either (32-bit unsigned is much larger than needed too).

PR lib/58041

(martin)

2024-04-16 18:17:45 UTC netbsd-10 commitmail json YAML

2024-04-16 16:13:45 UTC MAIN commitmail json YAML

restore amd64 live image support for resize root after combined mbr/gpt commit

we need to resize_gpt now, as it takes precedence over mbr/disklabel
this change brings us to behave like the evbarm images.

XXX: we don't seem to touch disklabel and MBR, but they exist. Not sure whether
that has any negative repercussions, maybe another system might regard MBR as the
sole source of truth when GPT also exists.

(maya)

2024-04-16 14:34:03 UTC MAIN commitmail json YAML

src/sys/external/bsd/drm2/amdgpu/files.amdgpu@1.31 / diff / nxr@1.31
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu.h@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_acpi.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_hwmgr.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_smu7_hwmgr.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_acpi.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.49 / diff / nxr@1.49
src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drv.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_acpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_base.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_pci.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_tegra.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/priv.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadowacpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mxm/nouveau_nvkm_subdev_mxm_base.c@1.5 / diff / nxr@1.5
      :
(more 12 files)
drm: Set CONFIG_ACPI in linux/acpi.h and make it build.

Leave a little ACPI-related functionality disabled for now, like
getting EDID out of ACPI -- needs a bit more work to make this work,
and I don't have hardware to work on that.

Should help with failures of the forms:

- unable to locate a BIOS ROM
- bios: unable to locate usable image

on various machines.

(riastradh)

2024-04-16 14:29:33 UTC MAIN commitmail json YAML

opensolaris/sys/sys/elf.h: Omit needless __ELF_WORD_SIZE.

(riastradh)

2024-04-16 14:26:53 UTC MAIN commitmail json YAML

nouveau: Rework nouveau2netbsd hack to get ACPI stuff.

(riastradh)

2024-04-16 14:15:53 UTC MAIN commitmail json YAML

2024-04-16 00:03:30 UTC MAIN commitmail json YAML

vax/unimpl_emul.S: Initialise locations storing floating-point values with
a constant of the appropriate format

(kalvisd)

2024-04-15 12:24:53 UTC MAIN commitmail json YAML

Mipsn64* has no 64bit compat, its userland is native n64 - instead it
has n32 compat.

(martin)

2024-04-15 08:06:36 UTC MAIN commitmail json YAML

Add a newline to a printf message.

(simonb)

2024-04-15 06:48:07 UTC MAIN commitmail json YAML

Fix alignment of ddb 'ps/[lw]' output. LID matches PID and has more digits.

(skrll)

2024-04-14 20:10:29 UTC MAIN commitmail json YAML

Only limit the scroll warning, but continue to send the scroll events.

(mlelstv)

2024-04-14 18:02:55 UTC MAIN commitmail json YAML

s/force_comile_error/force_compile_error/

(andvar)

2024-04-14 15:21:20 UTC MAIN commitmail json YAML

make: make string matching platform-independent

Previously, whether the character range '[a-è¾°]' matched, depended on the
signedness of the plain 'char' type.  Since make operates on byte
strings and does not support UTF-8 or other multi-byte character
encodings, this edge case is not expected to occur in practice.

No change in the unit tests as this edge case is not covered by tests.

(rillig)

2024-04-14 12:51:17 UTC MAIN commitmail json YAML

kern/58149: aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived

Apply the kernel diff from the PR

1. sendsig_siginfo() previously assumed that user SP was always aligned to
  16 bytes and could call signal handlers with SP misaligned. This is a
  wrong assumption because aarch64 demands that SP is aligned *only while*
  it's being used to access memory. Now it properly aligns it before
  pusing anything on the stack.

2. cpu_mcontext_validate() used to check if _REG_SP was aligned and
  considered the ucontext invalid otherwise. This meant if a signal was
  sent to a process whose SP was misaligned, the signal handler would fail
  to return because the ucontext passed from the kernel was an invalid
  one. Now setcontext(2) doesn't complain about misaligned SP.

(skrll)

2024-04-14 12:30:48 UTC MAIN commitmail json YAML

2024-04-14 08:29:54 UTC MAIN commitmail json YAML

Revert previous until Christos has a chance to work out why it breaks
the builds.

(kre)

2024-04-14 07:56:45 UTC MAIN commitmail json YAML

2024-04-14 07:56:13 UTC MAIN commitmail json YAML

2024-04-13 18:38:17 UTC MAIN commitmail json YAML

amd64 live image: support EFI as well as BIOS boot

The biggest caveat is that there's a small number of machines that try to
EFI boot but fail, so would prefer a BIOS only image. I'm not adding a
separate BIOS only image because the live image is pretty niche.
(For regular installation images, we do create a separate BIOS-only version)

(maya)

2024-04-13 17:22:33 UTC MAIN commitmail json YAML

Don't build/install the compat plugin.

(christos)

2024-04-13 14:02:51 UTC MAIN commitmail json YAML

tests/fmtcheck: show that fmtcheck does not support "%2$s"

(rillig)

2024-04-13 12:28:01 UTC MAIN commitmail json YAML

port-arm/58135: reproducible pmap KASSERT failure for armv7 with NFS root

Don't unconditionally set XN in pmap_clearbit - only set it if a mapping
exists VM_PROT_EXEC is being cleared.

I've simplified the #ifdefs in the patch from the PR.

(skrll)

2024-04-13 10:36:01 UTC MAIN commitmail json YAML

Restore a space I accidentally removed from a copyright with

$NetBSD: pmap.c,v 1.396 2020/03/13 16:14:18 skrll Exp $

(skrll)

2024-04-13 09:12:09 UTC MAIN commitmail json YAML

viac7temp(4): define module metadata using MODULE() macro and implement
viac7temp_modcmd() to handle module load/unload events.

Fixes PR kern/58148. Look OK by mrg@.

XXX pullup-10, -9, -8

(andvar)

2024-04-13 08:50:19 UTC MAIN commitmail json YAML

2024-04-13 02:01:38 UTC MAIN commitmail json YAML

PR/58136: Paul Ripke: Fix use after free.

(christos)

2024-04-12 19:09:50 UTC MAIN commitmail json YAML

Edgar Fuß pointed out that sh(1) did not mention comments (at all).
This has been true forever, and no-one else (including me) ever seems
to have noticed this ommission.

Correct that.

While in the area, improve the general sections on the Lexical structure
of the shell's input, and including some refinements to how quoting is
described.

(kre)

2024-04-12 19:06:45 UTC MAIN commitmail json YAML

remove now-unused assignment

(jakllsch)

2024-04-12 16:54:37 UTC MAIN commitmail json YAML

include opt_ntp.h for PPS_SYNC

(jakllsch)

2024-04-12 16:28:43 UTC MAIN commitmail json YAML

Filter out -Wp,-iremap,* from CPPFLAGS as is done in hostprog.mk

Seems to fix build of libnbcompat in reproducible mode on host toolchains w/o -iremap

(jakllsch)

2024-04-12 14:22:51 UTC MAIN commitmail json YAML

Files libgcc_eh_g.a and libgcc_s_g.a are debuglib, not debug.

(hannken)

2024-04-12 11:40:10 UTC MAIN commitmail json YAML

2024-04-12 07:16:50 UTC MAIN commitmail json YAML

Require at least 64 MB RAM to run the getrusage_maxrss test case as it
allocates 40 MB and we should leave some for the system, too.

(gson)

2024-04-12 05:44:38 UTC MAIN commitmail json YAML

2024-04-12 05:17:48 UTC MAIN commitmail json YAML

2024-04-12 05:04:02 UTC MAIN commitmail json YAML

Repair handling of ccd sysctls to not use newp as an index.

This is a work-around for kern/58051.  It is not a complete fix.

(pgoyette)

2024-04-11 19:12:11 UTC MAIN commitmail json YAML

fix previous. Doing assignmnents of conditionals does not work for being
used as conditionals (thanks rillig@)

(christos)

2024-04-11 18:41:03 UTC MAIN commitmail json YAML

avoid lint warning on the vax

(christos)

2024-04-11 15:29:16 UTC MAIN commitmail json YAML

2024-04-11 13:51:36 UTC MAIN commitmail json YAML

sys_futex.c: Fix illustration of futex(2).

In this illustration, we need to _set_ bit 1 to claim ownership, not
_clear_ bit 1 to claim ownership.

No functional change intended -- comment only.

(riastradh)

2024-04-11 13:06:29 UTC MAIN commitmail json YAML

Mention the 16-color screenmode.

(jandberg)

2024-04-11 10:42:42 UTC MAIN commitmail json YAML

mcx(4): enforce full-duplex mark in mcx_media_status(), when link is up.

LACP protocol requires full-duplex to be enabled for lagg(4) to work,
however mcx(4) was not setting this capability making it to fail.

Fixes PR kern/58124.  OK'd by msaitoh@

(andvar)

2024-04-11 08:19:31 UTC MAIN commitmail json YAML

2024-04-11 07:34:37 UTC MAIN commitmail json YAML

Fix invalid IPv6 route when ipsecif(4) is deleted tunnel.  Pointed out by ohishi@IIJ.

The pointed bug is fixed by modification in nd6_need_cache().
Others are similar bugs.

XXX pullup-9, 10

(knakahara)

2024-04-11 06:42:18 UTC MAIN commitmail json YAML

fix typo in method name: part_attr_fornat_str -> part_attr_format_str.

(andvar)

2024-04-11 06:20:29 UTC MAIN commitmail json YAML

UPDATING: note new sets

(nia)

2024-04-11 02:15:39 UTC MAIN commitmail json YAML

Nix /var/run/named entry from set lists.

Normally we don't do this, but /var/run/named is

(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.

However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.

Do the same with /var/run/lwresd just in case.

PR misc/57877

(riastradh)

2024-04-11 02:08:17 UTC MAIN commitmail json YAML

doc/3RDPARTY: Tidy up am-utils entry.

Add vendor branch and release branch pattern.

(riastradh)

2024-04-10 20:50:18 UTC MAIN commitmail json YAML

+FYSA for your situational awareness
+NIPR non-classified IP router (network)
+RIPR releasable IP router (network)
+SIPR secret IP router (network)

(all US military speak)

(jschauma)

2024-04-10 20:00:12 UTC MAIN commitmail json YAML

s/Unfornately/Unfortunately/ in comment.

(andvar)

2024-04-10 17:52:41 UTC MAIN commitmail json YAML

ed: fix inconsistency in comment

(rillig)

2024-04-10 16:14:26 UTC MAIN commitmail json YAML

2024-04-10 14:24:31 UTC MAIN commitmail json YAML

Changes since the end of March

(nia)

2024-04-09 22:38:17 UTC MAIN commitmail json YAML

Now that the bug in bsd.lib.mk, MAKELINKLIB is not needed anymore (as it
should not be). Pointed out by kre@

(christos)

2024-04-09 22:37:23 UTC MAIN commitmail json YAML

Merge two identical if's and fix a logic error in them ( && instead of ||)

(christos)

2024-04-09 21:02:17 UTC MAIN commitmail json YAML

Revert previous, we have no /etc/skel/.editrc (currently anyway).
This change looks to have been accidentally included in the big
sets reduction/division.

This should fix the builds.

(kre)

2024-04-09 17:06:12 UTC MAIN commitmail json YAML

doc: openssl 3.3.0 out

(wiz)

2024-04-09 15:17:25 UTC MAIN commitmail json YAML

Add new sets: base32, debug32, manhtml

- base32 contains (when MKCOMPAT=yes) shared libraries for 32-bit
  compatibility, previously included in base

- debug32 contains (when MKCOMPAT=yes) debug symbols and static libraries
  containing debug symbols for 32-bit compatiblity, previously included
  in debug

- manhtml contains (when MKHTML=yes) the HTML files previously included
  in 'man', which are of limited utility without third-party software.

The motivation for this change is to be able to easily exclude sets
from CD-ROM images that go over the size limit without xz compression
(which many NetBSD platforms struggle to extract at acceptable speeds).

(nia)

2024-04-09 08:53:08 UTC MAIN commitmail json YAML

lagg(4): allocate memory for struct lagg_req by calloc(3)
to fix build error on clang

(yamaguchi)

2024-04-08 21:28:36 UTC MAIN commitmail json YAML

snprintb.3: provide examples for hexadecimal character escapes

Suggested by uwe@, in reaction to the previous commit, which preferred
octal in the examples. Hexadecimal escapes are more familiar to most
programmers, and the chance of mistaking \x14 for decimal 14 is less
than the chance of mistaking octal \014 for decimal 14.

(rillig)

2024-04-08 20:28:34 UTC MAIN commitmail json YAML

Update the date of the documentation to reflect recent changes.

(andvar)

2024-04-08 12:38:59 UTC MAIN commitmail json YAML

kre says this should be obsolete

(christos)

2024-04-08 12:32:57 UTC MAIN commitmail json YAML

ifconfig(8): move laggportpri next to laggport

(uwe)

2024-04-08 12:32:16 UTC MAIN commitmail json YAML

put back /var/run/named

(christos)

2024-04-08 10:26:17 UTC MAIN commitmail json YAML

Remove unnecessary characters left over from the previous commit.

(nakayama)

2024-04-08 09:25:25 UTC MAIN commitmail json YAML

Correct a very minor typo (s/id/is/)

(kre)

2024-04-08 04:29:52 UTC MAIN commitmail json YAML

Added documents about parameters related to lagg(4)

PR misc/58125

(yamaguchi)

2024-04-08 00:50:49 UTC MAIN commitmail json YAML

lagg(4): fix missing initialization of the number of array

pointed out by martin@, thanks.

(yamaguchi)

2024-04-07 22:59:13 UTC MAIN commitmail json YAML

riscv: Schedule next hardclock tick in the future, not the past.

If we have missed hardclock ticks, schedule up to one tick interval
in the future anyway; don't try to play hardclock catchup by
scheduling for when the next hardclock tick _should_ have been, in
the past, leading to ticking as fast as possible until we've caught
up.  as fast as possible until we've caught up.

Playing hardclock catchup triggers heartbeat panics when continuing
from ddb, if you've been in ddb for >15sec.  Other hardclock drivers
like x86 lapic don't play hardclock catchup either.

PR kern/57920

(riastradh)

2024-04-07 22:52:53 UTC MAIN commitmail json YAML

riscv: Make sure cpu0->ci_cpu_freq is initialized by cpu_attach.

Otherwise this stays zero, which screws up cpu_ipi_wait.

(riastradh)

2024-04-07 21:33:12 UTC MAIN commitmail json YAML

Revert last, unbreak build.  Unless the bind Makefiles start installing
a /var/run/named file (which in general would be wrong, as most sites run
named in a chroot these days) the file is obsolete, and should not, and
does not, get generated by the build, nor should it be included in any
sets.

Ideally we'd have an "optional" flag for the sets files, to allow them
to mention files that might exist, and don't matter (and are not included
in the sets), but that's a bigger change than is needed just to fix the
builds.

(kre)

2024-04-07 19:51:49 UTC MAIN commitmail json YAML

Remove extra whitespace after P-4032.

(andvar)

2024-04-07 19:39:24 UTC MAIN commitmail json YAML

Initial version of evbmips kernel configuration files documentation.
The goal is to give a better understanding which hardware they represent
and how to build them. Also not to lose this information over the years.

Loosely based on a README.evbarm, however has additional notes on building
targets. The file is not final, some discussion came up about the need of
*32 kernel configs. simon is planning to review.

(andvar)

2024-04-07 17:08:00 UTC MAIN commitmail json YAML

2024-04-07 15:20:17 UTC MAIN commitmail json YAML

snprintb: reject empty bit descriptions and wrongly placed defaults

(rillig)

2024-04-07 15:02:08 UTC MAIN commitmail json YAML

/var/run/named is not obsolete

(christos)

2024-04-07 14:40:34 UTC MAIN commitmail json YAML

Switch vax to HAVE_XORG_SERVER_VER=120.

Tested on my VAXstation 3100/m30 with smg(4).
Ok'ed by mrg@ on tech-x11@:
https://mail-index.netbsd.org/tech-x11/2024/04/thread1.html#002457

(tsutsui)

2024-04-07 14:36:23 UTC MAIN commitmail json YAML

Use default X11FLAGS to build Xorg servers on vax.

It looks necessary on HAVE_XORG_SERVER_VER=120.

(tsutsui)

2024-04-07 14:28:27 UTC MAIN commitmail json YAML

snprintb.3: clean up formatting and wording, prefer octal in examples

Using hexadecimal character escapes requires separate string literals if
the description starts with one of the letters A-F; octal character
escapes have at most 3 digits, reducing ambiguity.

(rillig)

2024-04-07 12:30:38 UTC MAIN commitmail json YAML

make qsort sorting deterministic

(christos)

2024-04-07 12:05:23 UTC MAIN commitmail json YAML

snprintb: reject combinations of 'f' with ':' as well as 'F' with '='

These combinations would lead to garbled output.

(rillig)

2024-04-07 10:10:54 UTC MAIN commitmail json YAML

snprintb: reject empty descriptions

In cases where the snprintb output is garbled, it is not trustworthy, so
make sure the mistakes in the bitfmt are fixed early.

(rillig)

2024-04-06 14:20:27 UTC MAIN commitmail json YAML

Redo the mktemp(1) part - some mktemp's (including ours) require the
XXXX's to be at the end of the name (like mk*temp(3)) so however well
it will work with mktemp implementations which allow the X's to be
anywhere in the final component of the name, it will work just as
well on them with the X's at the end.

But we don't normally need all of that mess - knowing which temp
file is which is useful only when debugging the script, and that's
(mostly) long done.  So, in normal uses now just use $(mktemp) and
allow mktemp to pick its own name - we don't need to know what it is.
Every mktemp(1) supports that mode of operation.

Bug when debugging the script (which for current purposes will be
taken to be when the -x flag is passed to the shell running it, to
trace what it does) then we will make the temp files have names we
can recognise (and in that case, also don't delete them when done).

While here, check for mktemp(1) failing, and abort if that
happens (we assume that if it fails it will write an error
message to stderr, so the script does not need to.)

As for the purpose of the script ... of course the header file
generated (or an equivalent elsewhere) could be generated and
maintained by hand, but why would anyone want to do all that
work when software can do it for us, and do it correctly without
human thought?

This also allows the options in the master list (option.list) to be
arranged in a way that is meaningful for them, unrelated to the order
the shell needs to have them in (or rearrange them to be at run time)
and have that order shuffled however is convenient.  Currently all
the posix standard options are first, then the "hybrid" options, and
finally the local ones for this shell.  Currently "pipefail" is in the
final set, but once the next posix version is published, that will
become a standard option, and get moved in the list - the shell won't
even notice as this script puts the options into shell desired order.

(kre)

2024-04-06 13:42:46 UTC MAIN commitmail json YAML

2024-04-06 13:42:18 UTC MAIN commitmail json YAML

Add RISC-V support

(skrll)

2024-04-06 13:41:03 UTC MAIN commitmail json YAML

2024-04-06 13:36:11 UTC MAIN commitmail json YAML

update em-toggle-overwrite binding (Xose Vazquez Perez)

(christos)

2024-04-06 13:35:59 UTC MAIN commitmail json YAML

2024-04-06 13:35:36 UTC MAIN commitmail json YAML

Add KX-6000 (ZX-E) HDA codecs.

(andvar)

2024-04-06 10:08:54 UTC MAIN commitmail json YAML

2024-04-06 09:51:34 UTC MAIN commitmail json YAML

Use "%zu" for type "size_t".  Kernel ALL/i386 compiles again.

(hannken)

2024-04-06 09:11:50 UTC MAIN commitmail json YAML

2024-04-06 09:10:11 UTC MAIN commitmail json YAML

Add Zhaoxin devices, mainly from my TVS-675 NAS device, and some additional
to fill the gaps from pci-ids database.

(andvar)

2024-04-05 23:06:32 UTC MAIN commitmail json YAML

spacify the paper size for PostScript

(christos)

2024-04-05 23:05:54 UTC MAIN commitmail json YAML

specify the page size for PostScript

(christos)

2024-04-05 23:05:04 UTC MAIN commitmail json YAML

specify the paper size for PostScript

(christos)

2024-04-05 22:30:18 UTC MAIN commitmail json YAML

From Jan-Benedict Glaw:

Use `printf` instead of `echo` for precise output

`man` pages generated under NetBSD and Linux differ as the escape codes
may or may not be interpreted when going through those two chained `echo`es.
Instead just use `printf`, which produces the desired output, always.

(christos)

2024-04-05 22:28:20 UTC MAIN commitmail json YAML

Use ${TOOL_DATE} (Jan-Benedict Glaw)

(christos)

2024-04-05 22:27:25 UTC MAIN commitmail json YAML

Use ${TOOL_DATE} (Jan-Benedict Glaw)

(christos)

2024-04-05 22:22:17 UTC MAIN commitmail json YAML

From Jan-Benedict Glaw:

Fix a redirection and prepare a stable sort for upper-/lowercase
option letters

This script is a mess, I strongly believe that it should be rewritten.
However, I'm not 100% sure why it was invented in the first place
(come on, the generated header file isn't _that_ complicated that
it couldn't be sanely managed by hand!), but let's fix the sorting
order by using LC_ALL=C.

Also add a few 'X' to the `mktemp` template to make non-BSD
implementations happy. As a bonus, actually *use* the initial `sed`
output instead of throwing it away by piping it into `sort` with
also connecting `sort`'s stdin with the original input file...

(christos)

2024-04-05 22:21:40 UTC MAIN commitmail json YAML

flex.1: fix single-bit error in contributor name

(rillig)

2024-04-05 18:57:10 UTC MAIN commitmail json YAML

usb *hci: Always set ux_status before usbd_xfer_schedule_timeout.

Add an assert to usbd_xfer_schedule_timeout to enforce this.

Since access to ux_status is serialized by the bus lock, and nothing
releases the bus lock in the interim, this doesn't make a functional
change.  But it does reduce confusion by readers, who no longer have
to worry if some callers got the order wrong.  It could also now
potentially be factored out in a subsequent commit.

(riastradh)

2024-04-05 16:56:58 UTC MAIN commitmail json YAML

break strength ties so that qsort is deterministic

(christos)

2024-04-05 16:44:54 UTC MAIN commitmail json YAML

2024-04-05 13:05:41 UTC MAIN commitmail json YAML

uvm: Expand v_size <= v_writesize assertions to help diagnostics.

PR kern/58117

(riastradh)

2024-04-05 12:03:24 UTC MAIN commitmail json YAML

Revert last, the .pic file is used elsewhere.

(kre)

2024-04-05 11:20:34 UTC MAIN commitmail json YAML

Apply FreeBSD svn r373278 fix for ZFS corruption.  Fix for NetBSD
PR kern/58111 .

It would be extremely unlikely to trip this bug on NetBSD, as we don't
expose SEEK_DATA and SEEK_HOLE and you need to call ioctl(2) with
FIOSEEKDATA and FIOSEEKHOLE directly which no currently known code does,
and even then be unlucky enough to trip a race condition.

With a reproducer based on that in https://www.illumos.org/issues/16087,
I saw 11 groups of failures over 8 hours.  With this patch, no
failures in 10 hours.  The repro for NetBSD will be attached to
https://gnats.netbsd.org/58111 .

Original FreeBSD commit message:
--------------------------------
dnode_is_dirty: check dnode and its data for dirtiness

Over its history this the dirty dnode test has been changed between
checking for a dnodes being on `os_dirty_dnodes` (`dn_dirty_link`) and
`dn_dirty_record`.

It turns out both are actually required.

In the case of appending data to a newly created file, the dnode proper
is dirtied (at least to change the blocksize) and dirty records are
added.  Thus, a single logical operation is represented by separate
dirty indicators, and must not be separated.

The incorrect dirty check becomes a problem when the first block of a
file is being appended to while another process is calling lseek to skip
holes. There is a small window where the dnode part is undirtied while
there are still dirty records. In this case, `lseek(fd, 0, SEEK_DATA)`
would not know that the file is dirty, and would go to
`dnode_next_offset()`. Since the object has no data blocks yet, it
returns `ESRCH`, indicating no data found, which results in `ENXIO`
being returned to `lseek()`'s caller.

This change simply updates the dirty check to check both types of dirty.
If there's anything dirty at all, we immediately go to the "wait for
sync" stage, It doesn't really matter after that; both changes are on
disk, so the dirty fields should be correct.

Sponsored by:  Klara, Inc.
Sponsored by:  Wasabi Technology, Inc.

(simonb)

2024-04-05 11:04:37 UTC MAIN commitmail json YAML

Just build the staticlib.

(christos)

2024-04-05 11:04:19 UTC MAIN commitmail json YAML

2024-04-05 08:51:27 UTC MAIN commitmail json YAML

Probable hack fix for current build breakage.

Make sure to build external/mit before external/mpl (as bind in mpl
needs libuv from mit) and in mit/libuv make sure to build the
static library with the new MAKESTATICLIB mechanism, as that is
what bind needs.

(kre)

2024-04-05 07:04:17 UTC MAIN commitmail json YAML

lagg(4) test: Fix typo and old comment

(yamaguchi)

2024-04-05 06:51:41 UTC MAIN commitmail json YAML

lagg(4): Fix missing destroy for list and entry

(yamaguchi)

2024-04-05 06:48:23 UTC MAIN commitmail json YAML

lagg(4): Added vlan check

(yamaguchi)

2024-04-05 06:37:29 UTC MAIN commitmail json YAML

lagg(4): release lock before pserialize_perform() if possible

(yamaguchi)

2024-04-05 06:31:37 UTC MAIN commitmail json YAML

lagg(4): move reply limitation to recive processing

(yamaguchi)

2024-04-05 06:23:48 UTC MAIN commitmail json YAML

lagg(4): remove unnecessary masking

pointed out by ozaki-r@, thanks.

(yamaguchi)

2024-04-05 06:21:02 UTC MAIN commitmail json YAML

lagg(4): set suppress at the same time with distribution state

(yamaguchi)

2024-04-05 06:19:28 UTC MAIN commitmail json YAML

added missing workq_wait for lacp_tick_work()

(yamaguchi)

2024-04-05 06:16:32 UTC MAIN commitmail json YAML

lagg(4): added check of LACP running state for safety

When LACP stops, the handler of callout do nothing
because all port is already detached from lacp.
Therefore, the added checks are just for safety.

(yamaguchi)

2024-04-05 06:11:16 UTC MAIN commitmail json YAML

2024-04-05 06:07:37 UTC MAIN commitmail json YAML

lagg(4): added missing pserialize_read_enter

(yamaguchi)

2024-04-05 06:05:37 UTC MAIN commitmail json YAML

lagg(4): added __predict_true

(yamaguchi)

2024-04-05 01:16:01 UTC MAIN commitmail json YAML

- Create 3 new variables:
  MAKELINKLIB that follows MKLINKLIB but can be overwritten by Makefiles
  MAKESTATICLIB that follows MKSTATICLIB but can be overwritten by Makefiles
  LINKINSTALL that follows MAKELINKLIB but can be overwritten by Makefiles
  These give enough control to the module Makefiles so that they don't need
  to override the default library install rules which break the debug sets.
- Remove /usr/libexec/named which duplicated /usr/lib/named

(christos)

2024-04-05 00:43:42 UTC MAIN commitmail json YAML

config(1): Make sort order deterministic.

Ensure we break ties in every case.  This way, even though we use the
unstable qsort(3) library routine, the output is reproducible, no
matter what algorithm is behind qsort(3).

It would be nice if we could just use a stable sort function here,
but mergesort(3) is nonstandard, so we'd have to add it to
tools/compat, which is a big pain.

Instead, put a tie-breaking rule in every comparison function we use
with qsort, and abort() in the event of ties -- that way, we noisily
refuse to rely on unstable sort order.

While here, dispense with any question of integer overflow, and
sprinkle comments.

PR bin/58115

(riastradh)

2024-04-04 23:54:18 UTC MAIN commitmail json YAML

2024-04-04 23:53:05 UTC MAIN commitmail json YAML

mention gallium.old hack

(christos)

2024-04-04 23:50:13 UTC MAIN commitmail json YAML

Don't ccreate dwarf-4 on these files because it breaks ctfconvert.

(christos)

2024-04-04 21:19:25 UTC MAIN commitmail json YAML

Temporarily make PR t_sp:sigsafe noisier.

This is an attempt to diagnose why it's flaky in the releng testbeds
but not when I run it.  This change will be backed out once we get
new testbed output.

(riastradh)

2024-04-04 20:33:59 UTC MAIN commitmail json YAML

external/bsd/am-utils: delete outdated amd2netbsd under dist

This was stored as a local change to dist, where it doesn't belong --
it belongs outside dist.  But we already have an amd2netbsd with the
correct path outside of dist.

(riastradh)

2024-04-04 17:27:32 UTC MAIN commitmail json YAML

rumpkern/t_sp: Save stdout and stderr to report on failure.

This is not very tidy at the moment, but it's an experiment using the
approach in PR bin/58112, to diagnose why t_sp:sigsafe keeps failing
intermittently.  If this works, perhaps can tidy it up and apply it
to all the other tests that run rump_servers.

(riastradh)

2024-04-04 17:27:23 UTC MAIN commitmail json YAML

rumpuser(3): New RUMP_STDOUT, RUMP_STDERR environment variables.

If set, then when rump daemonizes, it opens the path in RUMP_STDOUT
and redirects fd 1 to that (which mostly gets the kernel console
output), and opens the path in RUMP_STDERR and redirects fd 2 to that
(no idea what this gets but it's probably good to record if it ever
gets anything).

This will allow tests that rely on rump_server daemons to stash the
output for diagnostics in case, e.g., the rump kernel crashes.

PR bin/58112

(riastradh)

2024-04-04 16:58:35 UTC MAIN commitmail json YAML

Better output handling (des at FreeBSD)

(christos)

2024-04-04 16:57:45 UTC MAIN commitmail json YAML

make this work again

(christos)

2024-04-04 09:19:43 UTC MAIN commitmail json YAML

2024-04-04 09:09:24 UTC MAIN commitmail json YAML

lagg(4): move allocate memory before ioctl

(yamaguchi)

2024-04-04 08:54:52 UTC MAIN commitmail json YAML

Added KASSERT for LACP_LOCK

(yamaguchi)

2024-04-04 08:53:14 UTC MAIN commitmail json YAML

2024-04-04 08:50:58 UTC MAIN commitmail json YAML

lagg(4): replace NULL check with KASSERT because lp_softc is always non-NULL

(yamaguchi)

2024-04-04 08:38:22 UTC MAIN commitmail json YAML

lagg(4): increase output packets and bytes only if no error occurred

pointed out by ozaki-r@, thanks.

(yamaguchi)

2024-04-04 08:36:03 UTC MAIN commitmail json YAML

lagg(4): change errno

suggested by ozaki-r@, thanks.

(yamaguchi)

2024-04-04 08:31:58 UTC MAIN commitmail json YAML

lagg(4): added NULL check for pfil_run_hooks

pointed out by ozaki-r@, thanks.

(yamaguchi)

2024-04-04 08:29:25 UTC MAIN commitmail json YAML

lagg(4): move comment about IFF_PROMISC

pointed out by ozaki-r@, thanks.

(yamaguchi)

2024-04-04 08:26:32 UTC MAIN commitmail json YAML

lagg(4): added size check to SIOCSLAGG

pointed out by ozaki-r@, thanks.

(yamaguchi)

2024-04-04 08:22:17 UTC MAIN commitmail json YAML

added missing LAGG_UNLOCK()

(yamaguchi)

2024-04-04 08:20:20 UTC MAIN commitmail json YAML

lagg(4): Remove unnecessary LAGG_LOCK holding while lagg_proto_detach()
to avoid deadlock in workqueue_wait due to LAGG_LOCK holding

lagg_proto_detach dose not need to hold LAGG_LOCK because only one
context can access to a detaching protocol after sc->sc_var is updated.
But it was held without any reason. And it had caused a deadlock by
holding LAGG_LOCK in caller of workqueue_wait
and waiting for the lock in worker.

(yamaguchi)

2024-04-04 08:01:55 UTC MAIN commitmail json YAML

ifconfig: remove optional space

(yamaguchi)

2024-04-04 07:55:32 UTC MAIN commitmail json YAML

2024-04-04 07:49:06 UTC MAIN commitmail json YAML

acquire LAGG_PROTO_LOCK instead of pserialize read section

(yamaguchi)

2024-04-04 07:45:57 UTC MAIN commitmail json YAML

lagg(4): added log on detaching a port from SELECTED state to STANDBY

(yamaguchi)

2024-04-04 07:40:39 UTC MAIN commitmail json YAML

lagg(4): Added LACP_READY state for logging
when a port turns SELECTED or UNSELECTED

(yamaguchi)

2024-04-04 07:35:01 UTC MAIN commitmail json YAML

lagg(4): Added 0 length check

(yamaguchi)

2024-04-04 07:31:10 UTC MAIN commitmail json YAML

lagg(4): fix missing update of the number of active ports

(yamaguchi)

2024-04-04 07:29:35 UTC MAIN commitmail json YAML

lagg(4): update link speed when a physical interface is removed

(yamaguchi)

2024-04-04 00:46:42 UTC MAIN commitmail json YAML

i386 longjmp: Restore stack first, then signal mask.

Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.

While here:

- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use forward branches for statically predicted not-taken.
  => val==0 is unlikely in longjmp

PR lib/57946

(riastradh)

2024-04-04 00:46:30 UTC MAIN commitmail json YAML

amd64 longjmp: Restore stack first, then signal mask.

Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.

While here:

- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use `xorl %eXX,%eXX' instead of `xorq %rXX,%rXX'.
  => Same effect, one byte shorter, breaks dep chain on more uarches.
- Use forward branches for statically predicted not-taken.
  => val==0 is unlikely in longjmp

PR lib/57946

(riastradh)

2024-04-03 18:53:42 UTC MAIN commitmail json YAML

2024-04-03 14:54:51 UTC MAIN commitmail json YAML

need <ieeefp.h> for i386.

(christos)

2024-04-03 07:00:06 UTC MAIN commitmail json YAML

new sentence, new line

(wiz)