Commit Graph

253903 Commits

Author SHA1 Message Date
martin ab6a8c79a9 Document final 8.3 changes 2024-05-11 15:25:24 +00:00
martin ae544b0937 Welcome to 8.3 2024-05-04 18:56:59 +00:00
martin 9b6724c38a Prepare for 8.3 2024-05-04 18:53:21 +00:00
martin 20acc88f96 Ticket #1960 2024-04-28 10:17:03 +00:00
martin 23ae91479f Pull up following revision(s) (requested by ozaki-r in ticket #1960):
sys/netinet6/frag6.c: revision 1.78

frag6: fix calculation of fragment length

Because of the miscalculation, 32 bytes fragmented IPv6 packets
have been wrongly dropped.

See https://mail-index.netbsd.org/tech-net/2024/04/14/msg008741.html
for more details.

Patch from Yasuyuki KOZAKAI (with minor tweaks)
2024-04-28 10:15:20 +00:00
martin e7ea7b4ea9 Tickets #1955 - #1959 2024-04-18 16:45:55 +00:00
martin 79e2f96f87 Pull up following revision(s) (requested by andvar in ticket #1959):
sys/arch/x86/x86/viac7temp.c: revision 1.10

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@.
2024-04-18 16:44:20 +00:00
martin 24cd58005e Pull up following revision(s) (requested by riastradh in ticket #1958):
usr.bin/who/utmpentry.c: revision 1.22

PR/56013: Kouichi Hashikawa: Move setutent/setutxent right before the loops.
2024-04-18 16:10:17 +00:00
martin b0fdda04ab Pull up following revision(s) (requested by riastradh in ticket #1957):
external/gpl2/grep/dist/src/grep.c: revision 1.3

PR/56584: Andreas Gustafsson: Skip FIFO's when -D
2024-04-18 16:06:24 +00:00
martin 97d3454ed6 Pull up following revision(s) (requested by riastradh in ticket #1956):
external/bsd/am-utils/dist/include/amq_defs.h: revision 1.2
	external/bsd/am-utils/dist/amq/amq_xdr.c: revision 1.2
	external/bsd/am-utils/dist/amq/amq.c: revision 1.4
	external/bsd/am-utils/dist/amd/amq_subr.c: revision 1.4
	external/bsd/am-utils/dist/amd/amq_subr.c: revision 1.5

fix pointer bug (thanks RVP) and change to use 64 bit times. Don't bother
with backwards compatibility; too much work for little benefit.

remove long cast (thanks RVP)
2024-04-18 16:02:26 +00:00
martin 4613459105 Pull up following revision(s) (requested by riastradh in ticket #1955):
distrib/evbarm/instkernel/sshramdisk/Makefile: revision 1.26

evbarm/instkernel/sshramdisk: Put firmware in the right paths.

Maybe this should also be wired up to `release' to put the ramdisk in
the releasedir so we detect destdir path leakage like this had.

PR port-evbarm/58035
2024-04-18 15:42:45 +00:00
martin 632bcc763e Tickets #1953 and #1954 2024-04-17 18:09:14 +00:00
martin 6d2c4ca3ec 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.
2024-04-17 18:07:53 +00:00
martin 998dc44aaa 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.
2024-04-17 16:26:10 +00:00
martin ebc8f5cdbd Ticket #1952 2024-03-25 15:59:02 +00:00
martin 9d4a6cb464 Pull up following revision(s) (requested by uwe in ticket #1952):
external/gpl2/groff/dist/tmac/doc.tmac: revision 1.3

doc.tmac: .Lk - handle punctuation without anchor-text correctly
doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.

PR bin/58074
2024-03-25 15:58:08 +00:00
martin 6da5bd33dd Tickets #1949 - #1951 2024-03-25 15:55:32 +00:00
martin c6481fdf3d Pull up following revision(s) (requested by riastradh in ticket #1951):
sys/dev/qbus/if_qe.c: revision 1.82

vax/qe(4): supply an ipf->if_init() so that if_init() doesn't crash.

convert the existing qeinit() to one compatible with if_init.
should fix PR#58068.
2024-03-25 15:37:25 +00:00
martin b70cf9b465 Pull up following revision(s) (requested by riastradh in ticket #1949):
etc/etc.amd64/Makefile.inc: revision 1.17
	distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.17
	etc/etc.i386/Makefile.inc: revision 1.70
	distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.16

x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534
2024-03-25 15:21:04 +00:00
martin 0df60cad7a Pull up following revision(s) (requested by mrg in ticket #1950):
usr.bin/audio/common/wav.c: revision 1.24

audio_wav_parse_hdr: handle zero-length data files again
the previous clean up turns zero-length data into no data and thus
an error, instead of simply doing nothing.  noted by gson.
2024-03-25 15:12:58 +00:00
martin e6f4f034c5 Tickets #1940 and #1948 2024-03-12 12:50:10 +00:00
martin 8baa764157 Pull up the following revisions, requested by mrg in ticket #1948:
usr.bin/audio/common/auconv.h                   up to 1.6
	usr.bin/audio/common/audio.c                    up to 1.27
	usr.bin/audio/common/decode.c                   up to 1.2
	usr.bin/audio/common/libaudio.h                 up to 1.22
	usr.bin/audio/common/sun.c                      up to 1.11
	usr.bin/audio/common/wav.c                      up to 1.22
	usr.bin/audio/play/audioplay.1                  up to 1.34
	usr.bin/audio/play/play.c                       up to 1.64
	usr.bin/audio/record/audiorecord.1              up to 1.45
	usr.bin/audio/record/record.c                   up to 1.58

- support for playing 32-bit and 64-bit IEEE FP .wav files
- support for recording 24 bit .wav files
- read-overflow fixes for .wav files, and other fixes for the
  wav parser
- audioplay gains -n flag (no play, like make -n)
- audiorecord manual gained useful examples
2024-03-12 12:47:40 +00:00
martin a67321fb02 Pull up following revision(s) (requested by riastradh in ticket #1940):
sys/dev/usb/usbdi.c: revision 1.248

usbdi(9): Avoid calling ubm_softint with lock held and polling on.

PR kern/57783
2024-03-12 12:36:17 +00:00
martin 6941b2d41c Tickets #1945 - #1947 2024-03-11 20:06:31 +00:00
martin 22c1661494 Pull up following revision(s) (requested by ozaki-r in ticket #1947):
lib/libc/gen/getcap.c: revision 1.58

Fix memory leak in getent()

Memory was not freed if record was not found
2024-03-11 20:05:15 +00:00
martin 54ca1bb28e Pull up following revision(s) (requested by riastradh in ticket #1946):
sys/net/if_tun.c: revision 1.175

tun(4): Allow IPv6 packets with TUNSLMODE configured.
PR kern/58013
2024-03-11 19:31:31 +00:00
martin e0825c962f Pull up following revision(s) (requested by riastradh in ticket #1945):
sys/kern/sysv_shm.c: revision 1.142 (patch)

Avoid overflow when computing kern.ipc.shmmax. Keep shmmax (bytes) and
shmall (pages) values aligned and use arithmetic everywhere instead
of shifts.

Should fix PR 57979
2024-03-11 18:04:54 +00:00
martin 6c3fa2605c Tickets #1939, #1941 - #1944 2024-03-10 19:22:56 +00:00
martin 862c689593 Pull up following revision(s) (requested by riastradh in ticket #1944):
sys/netinet6/in6.c: revision 1.292

netinet6: Avoid NPD on `ifconfig ifN inet6 ... pltime 0 vltime 0'.
PR kern/53922
2024-03-10 19:13:09 +00:00
martin f5c2491f17 Pull up following revision(s) (requested by riastradh in ticket #1943):
usr.bin/getconf/getconf.c: revision 1.37
	usr.bin/getconf/getconf.1: revision 1.14

PR/57875: Jason Bacon: Try again without an _ for portability.
getconf.1: Note that leading underscores in configuration
variable names are ignored by getconf(1).

While here, add a section with examples, and make the synopsis
more concise.

PR bin/57875
2024-03-10 19:05:46 +00:00
martin e7ecf6db58 Pull up following revision(s) (requested by riastradh in ticket #1942):
sys/dev/usb/if_urtwn.c: revision 1.109 (patch)

urtwn(4): Ditch old queued commands on overflow.
Don't increment ring->queued past what the task will decrement.

This is a stop-gap measure; really, we should just have one task for
each operation that is deferred to the task thread.

PR kern/57965
2024-03-10 19:00:27 +00:00
martin eae4b0ea90 Pull up following revision(s) (requested by riastradh in ticket #1941):
lib/libc/net/getnameinfo.3: revision 1.43

Document the NI_NUMERICSCOPE flag.
PR lib/57832
2024-03-10 18:48:57 +00:00
martin be6585e9d1 Pull up following revision(s) (requested by riastradh in ticket #1939):
lib/libc/net/getnameinfo.c: revision 1.60

PR/57609: Carl Engvall: Add salen checks but accept larger sizes
(upto sockaddr_storage)
2024-03-10 13:47:32 +00:00
martin f1cd348f13 Ticket #1938 2024-02-29 10:47:52 +00:00
martin 33f5b136e4 Pull up the following, requested by msaitoh in ticket #1938:
sys/dev/pci/if_wm.c			1.792,1.794-1.798 via patch
	sys/dev/pci/if_wmreg.h			1.131

- Add RQDPC(Receive Queue Drop Packet Count) to iqdrops.
- Drop frames if the RX descriptor ring has no room on multiqueue system.
- Improve dmesg output.
  - Print RX packet buffer size.
  - Fix the upper 16bit of Image Unique ID(EtrackID).
- Fix comment.
2024-02-29 10:46:27 +00:00
martin 34c7daca18 Ticket #1937 2024-02-23 18:18:35 +00:00
martin 232bde9a31 Pull up following revision(s) (requested by riastradh in ticket #1937):
tests/lib/libm/t_fenv.c: revision 1.14
	tests/lib/libm/t_fenv.c: revision 1.15
	lib/libm/arch/x86_64/fenv.c: revision 1.11

fenv(3): Add test for PR port-amd64/57949.

fenv(3): Fix fetestexcept to avoid side effects on trap state.

PR port-amd64/57949
2024-02-23 18:15:53 +00:00
martin ee102d90c6 Tickets #1935 and #1936 2024-02-17 16:14:05 +00:00
martin 17b44179a9 Pull up following revision(s) (requested by shm in ticket #1936):
libexec/utmp_update/utmp_update.c: revision 1.14

Check for non-printable characters in ut_host.
2024-02-17 16:11:46 +00:00
martin 996181c962 Pull up the following, requested by kre in ticket #1935:
external/public-domain/tz/dist/Makefile         up to 1.1.1.38
	external/public-domain/tz/dist/NEWS             up to 1.1.1.45
	external/public-domain/tz/dist/TZDATA_VERSION   up to 1.37
	external/public-domain/tz/dist/africa           up to 1.1.1.33
	external/public-domain/tz/dist/asia             up to 1.12
	external/public-domain/tz/dist/australasia      up to 1.9
	external/public-domain/tz/dist/checknow.awk     up to 1.1.1.2
	external/public-domain/tz/dist/etcetera         up to 1.1.1.8
	external/public-domain/tz/dist/europe           up to 1.1.1.39
	external/public-domain/tz/dist/leap-seconds.list up to 1.7
	external/public-domain/tz/dist/leapseconds      up to 1.7
	external/public-domain/tz/dist/leapseconds.awk  up to 1.1.1.14
	external/public-domain/tz/dist/northamerica     up to 1.1.1.35
	external/public-domain/tz/dist/southamerica     up to 1.1.1.25
	external/public-domain/tz/dist/theory.html      up to 1.1.1.19
	external/public-domain/tz/dist/version          up to 1.12
	external/public-domain/tz/dist/zishrink.awk     up to 1.1.1.9
	external/public-domain/tz/dist/zonenow.tab      up to 1.1.1.2
	doc/3RDPARTY					apply patch

Updated tzdata to 2024a
2024-02-17 15:55:08 +00:00
martin 3305e779ef Tickets #1931 - #1934 2024-02-03 14:28:16 +00:00
martin 2889853294 Pull up following revision(s) (requested by riastradh in ticket #1934):
sys/dev/hdaudio/hdafg.c: revision 1.29

ignore NULL for hdaudio_audiodev in hdafg_freem

also guard against NULL in ad_{capture,playback}
observed during shutdown on Lenovo W510
2024-02-03 14:27:05 +00:00
martin 381ed247f5 Pull up the following, requested by msaitoh in ticket #1933:
sys/dev/pci/ixgbe/ix_txrx.c			1.105-1.116 via patch
	sys/dev/pci/ixgbe/ixgbe.c			1.345-1.346,1.349 via patch
	sys/dev/pci/ixgbe/ixgbe.h			1.94-1.98
	sys/dev/pci/ixgbe/ixgbe_type.h			1.62
	sys/dev/pci/ixgbe/ixv.c				1.193,1.195-1.196

- Clear the WTHRESH bit field before writing it.
- Optimize ixgbe_txeof().
- Use kmem_zalloc() instead of malloc(,M_ZERO).
- Add QPRDC(Queue Packet Receive Drop Count) into iqdrops.
- No functional change
  - Move assignment of TXD.
  - ixv(4): Remove unused IFF_OACTIVE.
  - Don't include the Flow Director related members to reduce the
    size of struct tx_ring. On amd64 and aarch64, the real size is
    not changed because of the alignment.
  - The descriptor ring size and the alignment are tested in the
    attach function, so it's not required to use
    roundup2(size, DBA_ALIGN).
  - Use #ifdef LRO more to reduce the size of struct rx_ring.
  - Change "me" from 32bit to 8bit because the max is 128.
    This commit doesn't change the real size of ix_queue, tx_ring
    and rx_ring because of the alignment.
  - Th RSC (hardware receive side coalescing) feature has been
    disabled all along, so enclose the code with #ifdef RSC.
  - Remove unused.
  - Modify for the readability.
  - Modify comment.
  - Fix comment. Whitespace.
2024-02-03 12:17:03 +00:00
martin e221697f36 Pull up following revision(s) (requested by msaitoh in ticket #1932):
sys/dev/pci/if_wm.c: revision 1.793

Add Intel I219-{LM,V}(20,21) support.
2024-02-03 12:04:06 +00:00
martin fddc04b762 regen (ticket #1931) 2024-02-03 11:31:24 +00:00
martin 2accba37bb Pull up following revision(s) (requested by msaitoh in ticket #1931):
sys/dev/pci/pcidevs: revision 1.1477
	sys/dev/pci/pcidevs: revision 1.1494
	sys/dev/pci/pcidevs: revision 1.1498
	sys/dev/pci/pcidevs: revision 1.1499
	sys/dev/pci/pcidevs: revision 1.1500
	sys/dev/pci/pcidevs: revision 1.1501
	sys/dev/pci/pcidevs: revision 1.1502

Add ID for the EXAR XR17V354 PCIe UART.
From Hakan Engvall.
PR kern/57202

pcidevs: Add missing I225/I226 series devices

pcidevs: Add Mellanox ConnectX-6 Lx.

add some newer Areca boards in prep for updating driver

Add Intel C26[26] eSPI.

Update Intel Raptor Lake devices.

Add Intel I219-{LM,V}(20,21)
2024-02-03 11:30:32 +00:00
martin 68a185d1eb Ticket #1930 2024-01-14 15:36:10 +00:00
martin d221e4acdb Pull up following revision(s) (requested by riastradh in ticket #1930):
external/bsd/iscsi/dist/src/lib/protocol.c: revision 1.5

libiscsi: Fix types of Time2Wait and Time2Retain in logout decap.

According to https://www.rfc-editor.org/rfc/rfc7143#section-11.15,
these are both 2-byte quantities.  Loading 4-byte quantities and
passing them through ISCSI_NTOHS might have worked by accident on
x86, but it's not gonna fly on big-endian.  (Fortunately sparc64 is
not just big-endian but also strict-alignment so it caught this
problem!)

XXX Is there an upstream for this code?  doc/3RDPARTY doesn't cite
any easily-followed references.

PR port-sparc64/57784
2024-01-14 15:34:58 +00:00
martin 0618852a04 Ticket #1929 2024-01-01 11:40:17 +00:00
martin d36c71a07c Pull up following revision(s) (requested by hgutch in ticket #1929):
sys/conf/copyright: revision 1.22

Update copyright notice for 2024.
2024-01-01 11:39:25 +00:00