FreeBSD/src cef2490share/man/man4 ciss.4

ciss.4: List all devices supported by ciss(4)

PR:             285744
Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56285

(cherry picked from commit 54f5d20492d231b5c2ddc6f1d94dbffa1707d820)
DeltaFile
+47-1share/man/man4/ciss.4
+47-11 files

FreeBSD/src 131a3e9share/man/man4 ciss.4

ciss.4: List all devices supported by ciss(4)

PR:             285744
Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56285

(cherry picked from commit 54f5d20492d231b5c2ddc6f1d94dbffa1707d820)
DeltaFile
+45-1share/man/man4/ciss.4
+45-11 files

FreeBSD/src d31fa76share/man/man4 ciss.4

ciss.4: List all devices supported by ciss(4)

PR:             285744
Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56285

(cherry picked from commit 54f5d20492d231b5c2ddc6f1d94dbffa1707d820)
DeltaFile
+45-1share/man/man4/ciss.4
+45-11 files

FreeBSD/src cd34d8dsys/compat/linux linux_socket.c

linux: Translate IPv6 hoplimit ancillary data for recvmsg

Signed-off-by:  Ricardo Branco <rbranco at suse.de>
Reviewed by:    pouria
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2138
DeltaFile
+18-0sys/compat/linux/linux_socket.c
+18-01 files

FreeBSD/src caaa7a0sys/compat/linux linux_socket.c

linux: Support IPPROTO_RAW socket option translation

Handle Linux IPPROTO_RAW socket options in the Linuxulator for both
getsockopt(2) and setsockopt(2). Detect the socket family and remap
the level to IPPROTO_IPV6 for AF_INET6, reusing the existing option
translators.

This fixes IPV6_CHECKSUM for IPv6 raw sockets, which Linux programs
set at level IPPROTO_RAW rather than IPPROTO_IPV6.

Signed-off-by:  Ricardo Branco <rbranco at suse.de>
PR:             294434
Reviewed by:    pouria
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2138
DeltaFile
+41-0sys/compat/linux/linux_socket.c
+41-01 files

FreeBSD/src 64e2715sys/compat/linux linux_socket.c linux_socket.h

linux: Support ICMP6_FILTER socket option translation

Handle Linux IPPROTO_ICMPV6 socket options in the Linuxulator and map
ICMP6_FILTER for both getsockopt(2) and setsockopt(2).

Linux and FreeBSD use inverted bit semantics for struct icmp6_filter, so
invert the filter contents before/after calling setsockopt/getsockopt.

Signed-off-by:  Ricardo Branco <rbranco at suse.de>
PR:             294434
Reviewed by:    pouria
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2138
DeltaFile
+67-0sys/compat/linux/linux_socket.c
+2-0sys/compat/linux/linux_socket.h
+69-02 files

FreeBSD/src 3a54aa3sys/netinet tcp_timewait.c

tcp: use RFC 6191 for connection recycling in TIME-WAIT

Implement the criteria specified in RFC 6191 for recycling TCP
connections in TIME-WAIT.

Reviewed by:            rscheff, Marius Halden
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D56321
DeltaFile
+8-3sys/netinet/tcp_timewait.c
+8-31 files

FreeBSD/src 67a7c5fsys/net/route nhop_ctl.c

routing: Fix use-after-free in finalize_nhop

FIB_NH_LOG calls the `nhop_get_upper_family(nh)` to read
`nh->nh_priv->nh_upper_family` for failure logging.
Call FIB_NH_LOG before freeing nh so failures are logged
without causing a panic.

MFC after: 3 days

(cherry picked from commit 7d38eb720a8d8345949986d779e785984ae19ae0)
DeltaFile
+2-2sys/net/route/nhop_ctl.c
+2-21 files

FreeBSD/src c775ed2sys/net/route nhop_ctl.c

routing: Fix use-after-free in finalize_nhop

FIB_NH_LOG calls the `nhop_get_upper_family(nh)` to read
`nh->nh_priv->nh_upper_family` for failure logging.
Call FIB_NH_LOG before freeing nh so failures are logged
without causing a panic.

MFC after: 3 days

(cherry picked from commit 7d38eb720a8d8345949986d779e785984ae19ae0)
DeltaFile
+2-2sys/net/route/nhop_ctl.c
+2-21 files

FreeBSD/src b3b23f2sys/tools/syscalls/scripts syscall_json.lua

syscall: Create a script to export the data as json

Create a script to export the parsed data as json. Include the
annotations for the system call arguments, since they are helpful to
downstream uses.

Sponsored by:           Netflix
Reviewed by:            brooks
Differential Revision:  https://reviews.freebsd.org/D56408
DeltaFile
+126-0sys/tools/syscalls/scripts/syscall_json.lua
+126-01 files

FreeBSD/src 2a1745dsys/tools/syscalls/core scarg.lua

syscalls: Preserve the attributes of the args

Lightly parse and preserve the attributes of the args as attributes.

Sponsored by:           Netflix
Reviewed by:            brooks
Differential Revision:  https://reviews.freebsd.org/D56407
DeltaFile
+19-0sys/tools/syscalls/core/scarg.lua
+19-01 files

FreeBSD/src 62a19cdsys/crypto/aesni aeskeys_i386.S, sys/i386/i386 swtch.S bioscall.S

i386: mark the stack as non-executable

Sponsored by:           Netflix
Reviewed by:            jhb
Differential Revision:  https://reviews.freebsd.org/D56411
DeltaFile
+2-0sys/i386/i386/swtch.S
+2-0sys/kern/subr_ticks.S
+2-0sys/crypto/aesni/aeskeys_i386.S
+2-0sys/i386/i386/bioscall.S
+2-0sys/i386/i386/exception.S
+2-0sys/i386/i386/locore.S
+12-03 files not shown
+18-09 files

FreeBSD/src f5d0b30sbin/ipf/ippool ippool.5

ippool(5): Correct example in man page

The example provided puts the semicolon in the wrong place. It must
come after the file:// specification, not in it.

MFC after:      1 week
DeltaFile
+1-1sbin/ipf/ippool/ippool.5
+1-11 files

FreeBSD/src 51d2c38tests/sys/kqueue kqueue_fork.c

tests: kqueue: improve diagnostics for our CPONFORK test

Notably, confirm in the child that our close-on-fork fd is actually
closed, and break RECV_ALL out into a table and check each bit
individually to provide a better message when the test fails.

While we're here, just switch to waitid() rather than trying to identify
the point where we have to make the switch.  This reduces maintenance
slightly, as keeping our assertion static would require still adding to
a _RECV_ALL mask *just* for that purpose.

Reviewed by:    kib, markj (both slightly earlier version)
Differential Revision:  https://reviews.freebsd.org/D56372
DeltaFile
+60-11tests/sys/kqueue/kqueue_fork.c
+60-111 files

FreeBSD/src 6fb5df5share/vt/keymaps Makefile

br.lenovo.kdb: add it to Makefile

This keyboard was implemented but wasn't actually installed to the
system.

Fixes: 9357c694e8dca627c25b15529e8435b2ab3dd48b
MFC after: 1 day
Relnotes: yes
DeltaFile
+1-0share/vt/keymaps/Makefile
+1-01 files

FreeBSD/src 4390c37share/man/man4 rge.4, sys/dev/rge if_rge.c if_rge_sysctl.c

rge: add disable_aspm tunable for PCIe power management

Add a per-interface loader tunable dev.rge.%d.disable_aspm to
disable PCIe ASPM (L0s/L1) and ECPM on the RTL8125/8126/8127.

Disabling ASPM reduces latency at the cost of higher power
consumption. Default is off (ASPM left as configured by BIOS).

Signed-off-by: Christos Longros <chris.longros at gmail.com>

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D56103
DeltaFile
+12-16sys/dev/rge/if_rge.c
+9-0share/man/man4/rge.4
+5-0sys/dev/rge/if_rge_sysctl.c
+1-0sys/dev/rge/if_rgevar.h
+27-164 files

FreeBSD/src aae9068sys/dev/asmc asmc.c asmcvar.h

asmc: add automatic voltage/current/power/ambient sensor detection

Apple SMCs contain numerous undocumented voltage, current, power,
and ambient light sensors. This change adds automatic detection
and registration of these sensors as sysctls.

New sysctl trees:
  dev.asmc.0.voltage.*  - Voltage sensors (millivolts)
  dev.asmc.0.current.*  - Current sensors (milliamps)
  dev.asmc.0.power.*    - Power sensors (milliwatts)
  dev.asmc.0.ambient.*  - Ambient light sensors

Implementation:
- Scans all SMC keys at attach time via asmc_key_dump_by_index()
- Identifies sensors by key prefix patterns:
  - Voltage: VC*, VD*, VG*, VP*, VI*
  - Current: I{C,D,G,M,N,O,H,P,B,A,L}*
  - Power:   P{C,D,N,S,T,H,F,Z,z}*
  - Light:   ALV*, ALS*

    [24 lines not shown]
DeltaFile
+435-2sys/dev/asmc/asmc.c
+10-0sys/dev/asmc/asmcvar.h
+445-22 files

FreeBSD/src 65ccf92sys/kern vfs_syscalls.c, sys/sys fcntl.h

openat(2): check that userspace pass known and allowed flags

(cherry picked from commit 8a5601cff1ea32ab63df1377f61620e4f91999b3)
DeltaFile
+6-0sys/sys/fcntl.h
+4-1sys/kern/vfs_syscalls.c
+10-12 files

FreeBSD/src ee3ef70lib/libsys fork.2

fork.2: note that all methods to pre-resolve symbols have consequences

(cherry picked from commit 660498986a8e56025d9d2f9c6a0813c09a27ba8e)
DeltaFile
+2-0lib/libsys/fork.2
+2-01 files

FreeBSD/src 803a892include unistd.h

unistd.h: _Fork(2) is required by POSIX 2024

(cherry picked from commit f286933c950f6308117c8400f36f3160f6227491)
DeltaFile
+4-1include/unistd.h
+4-11 files

FreeBSD/src 090c9easys/kern vfs_aio.c kern_event.c

kevent: do not check knote lists being empty before removing a knote

(cherry picked from commit 31069fdbdae1027a6f1af7d56d418de4428ac6d9)
DeltaFile
+2-4sys/kern/vfs_aio.c
+1-2sys/kern/kern_event.c
+3-62 files

FreeBSD/src 52aed37lib/libthr libthr.3

libthr.3: describe SIGTHR

(cherry picked from commit 934a35ac2bbbcf8cd65d8824fa824eb5c6170c88)
DeltaFile
+19-0lib/libthr/libthr.3
+19-01 files

FreeBSD/src 46b2975lib/libthr libthr.3

libthr.3: describe what we mean by C runtime environment.

(cherry picked from commit fa912e3b9b5c074793bb1899f8256ea4baf72631)
DeltaFile
+6-0lib/libthr/libthr.3
+6-01 files

FreeBSD/src 6c1672asys/kern subr_early.c

subr_early.c: cleanup includes

(cherry picked from commit 4da93b9a8a5411f7386e79053d9c46df29627594)
DeltaFile
+0-2sys/kern/subr_early.c
+0-21 files

FreeBSD/src b49b3cclib/libsys ntp_adjtime.2

ntp_adjtime.2: Increase visibility

+ s/ntp/ntpd/ for correctness + apropos results in document description
+ silence a linter warning by escaping a period with a zero-width space

MFC after:      3 days
DeltaFile
+3-3lib/libsys/ntp_adjtime.2
+3-31 files

FreeBSD/src cddcca7sys/conf newvers.sh, usr.bin/yacc config.h

15.1: Update stable/15 to -PRERELEASE

This marks the start of the FreeBSD 15.1 release cycle; the stable/15
tree is now in "code slush".

Developers are encouraged to prioritize fixing bugs (and/or merging bug
fixes from HEAD) over new features at this time.  Commit approval from
re@ is not required but if new features introduce problems they may be
removed from the release.

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+2-2sys/conf/newvers.sh
+1-1usr.bin/yacc/config.h
+3-32 files

FreeBSD/src 19887b9sbin/ifconfig Makefile

ifconfig: Do not build geneve with WITHOUT_NETLINK_SUPPORT

geneve(4) is netlink-only, therefore, don't build it with
WITHOUT_NETLINK_SUPPORT=1 set.

Reported by:    kp
Fixes:          688e289ee904 ("ifconfig: Add support for geneve (netlink)")
Differential Revision: https://reviews.freebsd.org/D55184
DeltaFile
+1-1sbin/ifconfig/Makefile
+1-11 files

FreeBSD/src a249ddfsys/powerpc/powerpc intr_machdep.c

powerpc/intr setup: Don't check intr name for IPI

Since whether or not the irq is an IPI is passed into
powerpc_setup_intr_int(), use this as the check for IPI instead of
checking the name string.
DeltaFile
+1-1sys/powerpc/powerpc/intr_machdep.c
+1-11 files

FreeBSD/src 603a29bsys/powerpc/mpc85xx platform_mpc85xx.c

mpc85xx: Support timebase sync on T-series devices

Freescale T-series QorIQ devices use a different register to twiddle the
timebase enable.
DeltaFile
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+18-61 files

FreeBSD/src 1fc50a4sys/powerpc/booke pmap.c, sys/powerpc/include tlb.h spr.h

powerpc/pmap: Add support for page sizes found on E6500

E6500 cores (MMUv2) support all powers-of-2 page sizes from 4k to 1TB,
not just powers of 4.  By using the other page sizes (8k, 32k, etc) we
can save on TLB1 space, saving up to ~1/3 of used TLB1 entries.
DeltaFile
+13-13sys/powerpc/include/tlb.h
+17-6sys/powerpc/booke/pmap.c
+5-0sys/powerpc/include/spr.h
+35-193 files