-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge FreeBSD 2024-05-10 #2207
Merge FreeBSD 2024-05-10 #2207
Commits on May 10, 2024
-
Add details on the format of system cron files, which are mentioned in cron(8) which refers here but barely explained here. Reviewed by: imp Pull Request: freebsd/freebsd-src#1106
Configuration menu - View commit details
-
Copy full SHA for 042267e - Browse repository at this point
Copy the full SHA 042267eView commit details -
mdconfig: Print options when listing devices
PR: 278624 Reviewed by: imp Pull Request: freebsd/freebsd-src#1210
Configuration menu - View commit details
-
Copy full SHA for b01988d - Browse repository at this point
Copy the full SHA b01988dView commit details -
PR: 130238 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D45139
Configuration menu - View commit details
-
Copy full SHA for 44e72c6 - Browse repository at this point
Copy the full SHA 44e72c6View commit details -
am64: Allow cpu.h to be included from assembly
Reviewed by: jhibbits, kevans Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45081
Configuration menu - View commit details
-
Copy full SHA for e353ac0 - Browse repository at this point
Copy the full SHA e353ac0View commit details -
arm64: Support a shared release for spin-table
When releasing multiple CPUs that share a release address we need them to wait for their turn to boot. Add a mechanism to do this by booting them until they enable the TLB before waiting their turn to enter init_secondary. Reviewed by: jhibbits, kevans Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45082
Configuration menu - View commit details
-
Copy full SHA for c78ebc6 - Browse repository at this point
Copy the full SHA c78ebc6View commit details -
arm64: Flush the spintable release address
Ensure the spintable release address is written back from the cache to memory. The other CPUs reading this may not be reading it with the cache enabled so ensure it is written to the point of coherency before issuing the wakeup sev. As cpu_dcache_wbinv_range includes the needed barrier remove it from the inline asm before the sev instruction. Reviewed by: jhibbits, kevans Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45083
Configuration menu - View commit details
-
Copy full SHA for 797f1c7 - Browse repository at this point
Copy the full SHA 797f1c7View commit details -
dev/psci: Check all compat strings
When searching for the PSCI FDT node we only check a few compat strings. Use the existing compat_data array to check all strings the driver may attach to. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D44913
Configuration menu - View commit details
-
Copy full SHA for f91e940 - Browse repository at this point
Copy the full SHA f91e940View commit details -
arm64/gicv3: Check if the hardware supports LPIs
Some simulators have the ITS in the DTB passed to the kernel, however it is a runtime configuration option to enable it. Check the GICD_TYPER register to see if LPIs are enabled before attaching the ITS driver. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D44914
Configuration menu - View commit details
-
Copy full SHA for 4ab0f5a - Browse repository at this point
Copy the full SHA 4ab0f5aView commit details -
arm64: Merge common page table creation code
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45061
Configuration menu - View commit details
-
Copy full SHA for 719908c - Browse repository at this point
Copy the full SHA 719908cView commit details -
arm64: Update the page table list in locore
The comment describing the page tables was out of date. Update it with the current list. Sponsored by: Arm Ltd
Configuration menu - View commit details
-
Copy full SHA for 634dd43 - Browse repository at this point
Copy the full SHA 634dd43View commit details -
cat: Check for lack of success rather than a specific failure.
MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: oshogbo Differential Revision: https://reviews.freebsd.org/D45149
Configuration menu - View commit details
-
Copy full SHA for c6f9df7 - Browse repository at this point
Copy the full SHA c6f9df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad4f3bd - Browse repository at this point
Copy the full SHA ad4f3bdView commit details -
PR: 278847 Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for 2e0c027 - Browse repository at this point
Copy the full SHA 2e0c027View commit details -
posix: POSIX-1.2008 moved SA_* from XSI to base standard
Starting with POSIX-1.2008, "The SA_RESETHAND, SA_RESTART, SA_SIGINFO, SA_NOCLDWAIT, and SA_NODEFER constants are moved from the XSI option to the Base." Make them so visible. PR: 275328 Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 06af7bd - Browse repository at this point
Copy the full SHA 06af7bdView commit details -
grdc: add countdown timer mode
PR: 35113 Differential Revision: https://reviews.freebsd.org/D43463
Configuration menu - View commit details
-
Copy full SHA for 71ed1ad - Browse repository at this point
Copy the full SHA 71ed1adView commit details -
Add the stock BSD copyright and license from the 4.4-Lite distribution (indirected by SPDX). Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 6ed7d0e - Browse repository at this point
Copy the full SHA 6ed7d0eView commit details -
nvmecontrol: Fix a sizeof mismatch
In this case it is harmless since it is an array of pointers so the resulting length is identical. Reported by: Coverity Scan CID: 1545055 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for bf1820f - Browse repository at this point
Copy the full SHA bf1820fView commit details -
nvmf: Use strlcpy instead of strncpy to ensure termination
Reported by: Coverity Scan CID: 1545054 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 1f029b8 - Browse repository at this point
Copy the full SHA 1f029b8View commit details -
nvmecontrol: Free array of I/O queue pairs on failure to handoff
This is harmless but cleaner. Reported by: Coverity Scan CID: 1545041,1545049 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 0ac468c - Browse repository at this point
Copy the full SHA 0ac468cView commit details -
nvmecontrol: Free the addrinfo list when failing to open a TCP socket
Reported by: Coverity Scan CID: 1545048 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 1662e47 - Browse repository at this point
Copy the full SHA 1662e47View commit details -
ctl_backend_block: Correct value of NVME nsdata nuse field
Reported by: Coverity Scan CID: 1545043 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 1f83483 - Browse repository at this point
Copy the full SHA 1f83483View commit details -
nvmf_transport: Remove invalid assertion
This is leftover from an earlier iteration of the code where 'nt' was not dynamically allocated but was the passed in 'ops' pointer so was always alive. Reported by: Coverity Scan CID: 1545042 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 50884a0 - Browse repository at this point
Copy the full SHA 50884a0View commit details -
sctp: store cookie secret change time as time_t
Reported by: Coverity Scan CID: 1492349 CID: 1493281 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 9d8a371 - Browse repository at this point
Copy the full SHA 9d8a371View commit details -
sctp: store vtag expire time as time_t
Reported by: Coverity Scan CID: 1492525 CID: 1493239 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 42aeb8d - Browse repository at this point
Copy the full SHA 42aeb8dView commit details -
Summary: In some cases the TPM utilities may read only a partial block, instead of a full block. If a new command starts while in the middle of a read it may cause the TPM to go catatonic and no longer respond to SPI. Reviewed by: kd Obtained from: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D45140
Configuration menu - View commit details
-
Copy full SHA for 10eea8d - Browse repository at this point
Copy the full SHA 10eea8dView commit details -
conf: Generate fdt_static_dtb.h in OBJDIR
Though the kernel build expects ${.OBJDIR} to be equal to ${.CURDIR} that may not always be the case. Correctly generate fdt_static_dtb.h in ${.OBJDIR}, which is conceptually more correct anyway. Obtained from: Juniper Networks, Inc.
Configuration menu - View commit details
-
Copy full SHA for de1ac94 - Browse repository at this point
Copy the full SHA de1ac94View commit details -
sctp: store heartbeat creation time as time_t
Reported by: Coverity Scan CID: 1493087 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for b67716d - Browse repository at this point
Copy the full SHA b67716dView commit details -
sctp: improve heartbeat timer computation
PR: 278666 Reviewed by: Albin Hellqvist MFC after: 3 days Pull Request: https://reviews.freebsd.org/D45107
Configuration menu - View commit details
-
Copy full SHA for 5120ea0 - Browse repository at this point
Copy the full SHA 5120ea0View commit details -
Also ${XARGS_J} this allows use of non-BSD xargs when building kernel modules. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D45146
Configuration menu - View commit details
-
Copy full SHA for dd4d206 - Browse repository at this point
Copy the full SHA dd4d206View commit details -
madt: print CPU APIC ID as signed int
Instead of printing something like "MADT: Found CPU APIC ID 4294967295 ACPI ID 512: disabled" print the APIC ID as a singed int for a more user-friendly -1. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45158
Configuration menu - View commit details
-
Copy full SHA for 0b272e0 - Browse repository at this point
Copy the full SHA 0b272e0View commit details -
Increase IOAPIC_MAX_ID to 255 (from 254)
A test system provided by AMD panicked with "madt_parse_apics: I/O APIC ID 255 too high". I/O APIC ID 255 is acceptable, so increase the limit. Reviewed by: jhb, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45157
Configuration menu - View commit details
-
Copy full SHA for 4e32868 - Browse repository at this point
Copy the full SHA 4e32868View commit details -
It turns out this wasn't in 4.4BSD. I had a false positive for gdc.c (which is in 4.4BSD, but part of gated, not this). gdc.c comes from the ncurses tests, so it shouldn't have this copyright. This version is mostly Amos Shapir and John Lupien's code. It comes from ncurses test directory. ncurses has made dozens of improvements to this file since we imported it in 1997 (which pre-dates their online history), so it's not clear if their new copyright applies (which doesn't mention Amos or John) or if some other copyright applies. In any case, it wasn't 4.4BSD, so revert this. This reverts commit 6ed7d0e. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 88cbbbb - Browse repository at this point
Copy the full SHA 88cbbbbView commit details -
md: Merge two switch statements in mdstart_vnode
While here, use bp->bio_cmd instead of auio.uio_rw to drive read vs write behavior. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D45155
Configuration menu - View commit details
-
Copy full SHA for f75764f - Browse repository at this point
Copy the full SHA f75764fView commit details -
uio: Use switch statements when handling UIO_READ vs UIO_WRITE
This is mostly to reduce the diff with CheriBSD which adds additional constants to enum uio_rw, but also matches the normal style used for uio_segflg. Reviewed by: kib, emaste Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D45142
Configuration menu - View commit details
-
Copy full SHA for 473c90a - Browse repository at this point
Copy the full SHA 473c90aView commit details -
vm: Change the return types of kernacc and useracc to bool
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D45156
Configuration menu - View commit details
-
Copy full SHA for 9e01640 - Browse repository at this point
Copy the full SHA 9e01640View commit details -
Release notes at https://www.nlnetlabs.nl/news/2024/May/08/unbound-1.20.0-released/ Security: The DNSBomb vulnerability CVE-2024-33655
Configuration menu - View commit details
-
Copy full SHA for c2a8005 - Browse repository at this point
Copy the full SHA c2a8005View commit details -
linux: Adjust rlimit SIGPENDING & MSGQUEUE behaviour to match linprocfs
Reviewed by: imp Pull Request: freebsd/freebsd-src#1227
Configuration menu - View commit details
-
Copy full SHA for a7cc56b - Browse repository at this point
Copy the full SHA a7cc56bView commit details -
CONTRIBUTING.md/style: spring cleaning
+ move Lua to alphabetize subsections + word manpages like other subsections + man PR's shouldn't bump document date MFC after: (maybe MFC to BETA3 along w/ e7ff917 ?)
Configuration menu - View commit details
-
Copy full SHA for 467e3e2 - Browse repository at this point
Copy the full SHA 467e3e2View commit details -
tftpd: Add missing
-S
option to synopsis.MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D45129
Configuration menu - View commit details
-
Copy full SHA for 816c4d3 - Browse repository at this point
Copy the full SHA 816c4d3View commit details -
tftpd: Drop unneeded includes.
MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D45130
Configuration menu - View commit details
-
Copy full SHA for 1111da6 - Browse repository at this point
Copy the full SHA 1111da6View commit details -
This went unnoticed due to namespace pollution in our headers. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D45131
Configuration menu - View commit details
-
Copy full SHA for ae285a8 - Browse repository at this point
Copy the full SHA ae285a8View commit details -
tftpd: Satisfy clang-analyzer.
* Replace `random()` with `arc4random()`. * Change some variable types. * Drop some unused assignments. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D45132
Configuration menu - View commit details
-
Copy full SHA for 4d09eb8 - Browse repository at this point
Copy the full SHA 4d09eb8View commit details -
tftpd: silence gcc overflow warnings
GCC 13 complains that we might be writing too much to an on-stack buffer when createing a filename. In practice there is a check that filename isn't too long given the time format and other static characters so GCC is incorrect, but GCC isn't wrong that we're potentially trying to put a MAXPATHLEN length string + some other characters into a MAXPATHLEN buffer (if you ignore the check GCC can't realistically evaluate at compile time). Switch to snprintf to populate filename to ensure that future logic errors don't result in a stack overflow. Shorten the questionably named yyyymmdd buffer enough to slience the warning (checking the snprintf return value isn't sufficent) while preserving maximum flexibility for admins who use the -F option. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D45086
Configuration menu - View commit details
-
Copy full SHA for 25945af - Browse repository at this point
Copy the full SHA 25945afView commit details -
Release notes at https://www.nlnetlabs.nl/news/2024/May/08/unbound-1.20.0-released/ Security: The DNSBomb vulnerability CVE-2024-33655 Merge commit 'c2a80056864d6eda0398fd127dc0ae515b39752b' into main
Configuration menu - View commit details
-
Copy full SHA for 335c7cd - Browse repository at this point
Copy the full SHA 335c7cdView commit details -
kern/intr: remove support for passing trap frame as argument
While otherwise a handy potential approach, getting the trap frame via the argument isn't documented and isn't supposed to be used. With all uses removed, now remove support to end the mixed calling conventions. Differential Revision: https://reviews.freebsd.org/D37688 Reviewed by: imp, mhorne Pull Request: freebsd/freebsd-src#1225
Configuration menu - View commit details
-
Copy full SHA for 38c3524 - Browse repository at this point
Copy the full SHA 38c3524View commit details -
intr: Document how to get the interrupt frame
Document that the only way to get the interrupt thread is to use curthread->td_intr_frame, rather than the old-style of having a NULL pointer for the interrupt thread. As of 38c3524, support for that has been removed. I neglected to update that commit message with these details. Suggested by: mhorne
Configuration menu - View commit details
-
Copy full SHA for a2409f1 - Browse repository at this point
Copy the full SHA a2409f1View commit details
Commits on Aug 26, 2024
-
Reviewed by: imp, manu Pull Request: freebsd/freebsd-src#1193
Configuration menu - View commit details
-
Copy full SHA for 0c73a34 - Browse repository at this point
Copy the full SHA 0c73a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38d82f0 - Browse repository at this point
Copy the full SHA 38d82f0View commit details -
aic7xxx: aicasm correct include file
aicasm just puts the value of the "-i" passed include file in the generated file with quotes around it. This means that there are manual edits made to aic7xxx_reg_print.c and aic79xx_reg_print.c now we check to see if the value passed to '-i' starts with a '<', if it does don't output the quotes. Signed-off-by: HP van Braam <[email protected]> Reviewed by: imp (minor code simplification) Pull Request: freebsd/freebsd-src#1209
Configuration menu - View commit details
-
Copy full SHA for 5eebdb6 - Browse repository at this point
Copy the full SHA 5eebdb6View commit details -
aic7xxx: make target mode enable a device hint
Previously it was only possible to enable target mode for these drivers by rebuilding the kernel with AHC_TMODE_ENABLE or AHD_TMODE_ENABLE and a bitmask of which units to statically enable for target mode. There is no space-savings in the driver by not having AHC_TMODE_ENABLE set, so in addition to the compile time option lets also introduce some tunables: hint.ahc.<unit>.tmode_enable=0/1 hint.ahd.<unit>.tmode_enable=0/1 For compatibility the old behavior is retained, but it can be overridden with tunables Signed-off-by: HP van Braam <[email protected]> Reviewed by: imp, mav Pull Request: freebsd/freebsd-src#1208
Configuration menu - View commit details
-
Copy full SHA for 34becad - Browse repository at this point
Copy the full SHA 34becadView commit details -
intro.2 as errno.2: Update maximum hard link limit
MFC after: 1 week Co-authored-by: brooks Reviewed by: brooks, emaste, imp Pull Request: freebsd/freebsd-src#1192
Configuration menu - View commit details
-
Copy full SHA for bec9ad5 - Browse repository at this point
Copy the full SHA bec9ad5View commit details -
intro.2: Add sys/syscall.h to SYNOPSIS
MFC after: 1 week Co-authored-by: brooks Reviewed by: brooks, emaste, imp Pull Request: freebsd/freebsd-src#1192
Configuration menu - View commit details
-
Copy full SHA for 60dfd28 - Browse repository at this point
Copy the full SHA 60dfd28View commit details -
intro.2 as errno.2: Use the name macro for errno
Reviewed by: imp Pull Request: freebsd/freebsd-src#1192
Configuration menu - View commit details
-
Copy full SHA for 60493ba - Browse repository at this point
Copy the full SHA 60493baView commit details -
arp(8): fix a typo in error message for -s/-S
Reviewed by: imp Pull Request: freebsd/freebsd-src#1214
Configuration menu - View commit details
-
Copy full SHA for 9234196 - Browse repository at this point
Copy the full SHA 9234196View commit details -
Merge llvm-project release/18.x llvmorg-18.1.5-0-g617a15a9eac9
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/18.x llvmorg-18.1.5-0-g617a15a9eac9. PR: 276104 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for e27defa - Browse repository at this point
Copy the full SHA e27defaView commit details -
Fixup: Merge llvm-project release/18.x llvmorg-18.1.5-0-g617a15a9eac9
Update version numbers, config headers, etc. Git tricked me into losing these before pushing. PR: 276104 Fixes: d67fc74b9249 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 63113da - Browse repository at this point
Copy the full SHA 63113daView commit details -
rc.conf.5: modernise network_interfaces
It's not 1996 anymore, and we use CIDR nowadays. Update the various ifconfig_ examples to use CIDR notation instead of netmasks, and also add an example of a basic ifconfig_ entry that most users will be interested in. Reviewed by: imp Pull Request: freebsd/freebsd-src#1217
Configuration menu - View commit details
-
Copy full SHA for 8473b9e - Browse repository at this point
Copy the full SHA 8473b9eView commit details -
Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for 2bf6da4 - Browse repository at this point
Copy the full SHA 2bf6da4View commit details -
lib/clang: clean out old llvm/clang Sparc target remnants
The WITH_LLVM_TARGET_ENABLE_SPARC option was removed a long time ago, but some ifdefs were still laying around, so clean them up. PR: 276104 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 54e7a5b - Browse repository at this point
Copy the full SHA 54e7a5bView commit details -
nfsd: Fix Link conformance with RFC8881 for delegations
RFC8881 specifies that, when a Link operation occurs on an NFSv4, that file delegations issued to other clients must be recalled. Discovered during a recent discussion on [email protected]. Although I have not observed a problem caused by not doing the required delegation recall, it is definitely required by the RFC, so this patch makes the server do the recall. Tested during a recent NFSv4 IETF Bakeathon event. MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for 2c51e39 - Browse repository at this point
Copy the full SHA 2c51e39View commit details -
rc.conf.5: Fix translation from netmask to cdir
These two should have been 30 bit masks, not 32, as the original netmasks were 255.255.255.252. Fixes: cb808de Noticed by: Kelly Hays
Configuration menu - View commit details
-
Copy full SHA for 18ea339 - Browse repository at this point
Copy the full SHA 18ea339View commit details -
ota: Merge one true awk 20240422 (a3b68e649d2d)
Apr 22, 2024: fixed regex engine gototab reallocation issue that was introduced during the Nov 24 rewrite. Thanks to Arnold Robbins. Fixed a scan bug in split in the case the separator is a single character. thanks to Oguz Ismail for spotting the issue. Mar 10, 2024: fixed use-after-free bug in fnematch due to adjbuf invalidating the pointers to buf. thanks to github user caffe3 for spotting the issue and providing a fix, and to Miguel Pineiro Jr. for the alternative fix. MAX_UTF_BYTES in fnematch has been replaced with awk_mb_cur_max. thanks to Miguel Pineiro Jr. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 75767e1 - Browse repository at this point
Copy the full SHA 75767e1View commit details -
release: Use qemu when cross-building vm images
For a bit over 5 years, we have used qemu when cross-building cloudware images; in particular, it's necessary when installing packages which might include post-install scripts. Use qemu in the vm-images target too; while "generic" vm images don't install packages, they still run newaliases and /etc/rc.d/ldconfig, both of which fail without appropriate emulation. MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for a21ad2f - Browse repository at this point
Copy the full SHA a21ad2fView commit details -
TCP can be subject to Sack Attacks lets fix this issue.
There is a type of attack that a TCP peer can launch on a connection. This is for sure in Rack or BBR and probably even the default stack if it uses lists in sack processing. The idea of the attack is that the attacker is driving you to look at 100's of sack blocks that only update 1 byte. So for example if you have 1 - 10,000 bytes outstanding the attacker sends in something like: ACK 0 SACK(1-512) SACK(1024 - 1536), SACK(2048-2536), SACK(4096 - 4608), SACK(8192-8704) This first sack looks fine but then the attacker sends ACK 0 SACK(1-512) SACK(1025 - 1537), SACK(2049-2537), SACK(4097 - 4609), SACK(8193-8705) ACK 0 SACK(1-512) SACK(1027 - 1539), SACK(2051-2539), SACK(4099 - 4611), SACK(8195-8707) ... These blocks are making you hunt across your linked list and split things up so that you have an entry for every other byte. Has your list grows you spend more and more CPU running through the lists. The idea here is the attacker chooses entries as far apart as possible that make you run through the list. This example is small but in theory if the window is open to say 1Meg you could end up with 100's of thousands link list entries. To combat this we introduce three things. when the peer requests a very small MSS we stop processing SACK's from them. This prevents a malicious peer from just using a small MSS to do the same thing. Any time we get a sack block, we use the sack-filter to remove sacks that are smaller than the smallest v4 mss (minus 40 for max TCP options) unless it ties up to snd_max (since that is legal). All other sacks in theory should be at least an MSS. If we get such an attacker that means we basically start skipping all but MSS sized Sacked blocks. The sack filter used to throw away data when its bounds were exceeded, instead now we increase its size to 15 and then throw away sack's if the filter gets over-run to prevent the malicious attacker from over-running the sack filter and thus we start to process things anyway. The default stack will need to start using the sack-filter which we have talked about in past conference calls to take full advantage of the protections offered by it (and reduce cpu consumption when processing sacks). After this set of changes is in rack can drop its SAD detection completely Reviewed by:tuexen@, rscheff@ Differential Revision: <https://reviews.freebsd.org/D44903>
Configuration menu - View commit details
-
Copy full SHA for 631cbeb - Browse repository at this point
Copy the full SHA 631cbebView commit details -
mlx5en: add diagnostic in one more case of failed eeprom read prepara…
…tion Sponsored by: Nvidia Networking MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for b71f517 - Browse repository at this point
Copy the full SHA b71f517View commit details -
Import device-tree files from Linux 6.6
Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 9240193 - Browse repository at this point
Copy the full SHA 9240193View commit details -
dts: Bump the freebsd branding version to 6.6
Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 5f1f1ee - Browse repository at this point
Copy the full SHA 5f1f1eeView commit details -
Import device-tree files from Linux 6.7
Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for ac17482 - Browse repository at this point
Copy the full SHA ac17482View commit details -
dts: Bump the freebsd branding version to 6.7
Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 32a4699 - Browse repository at this point
Copy the full SHA 32a4699View commit details -
Import device-tree files from Linux 6.8
Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 7665819 - Browse repository at this point
Copy the full SHA 7665819View commit details -
dts: Bump the freebsd branding version to 6.8
Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 49e551a - Browse repository at this point
Copy the full SHA 49e551aView commit details -
if: guard against if_ioctl being NULL
There are situations where an struct ifnet has a NULL if_ioctl pointer. For example, e6000sw creates such struct ifnets for each of its ports so it can call into the MII code. If there is then a link state event this calls do_link_state_change() -> rtnl_handle_ifevent() -> dump_iface() -> get_operstate() -> get_operstate_ether(). That wants to know if the link is up or down, so it tries to ioctl(SIOCGIFMEDIA), which doesn't go well if if_ioctl is NULL. Guard against this, and return EOPNOTSUPP. PR: 275920 MFC ater: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for 80555bc - Browse repository at this point
Copy the full SHA 80555bcView commit details -
Rename `M_PRINT` and `M_UPDATE` to `M_SHOW` and `M_MODIFY` to match the names of the commands they represent. No functional change intended. MFC after: 3 days Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D45096
Configuration menu - View commit details
-
Copy full SHA for 28d3f57 - Browse repository at this point
Copy the full SHA 28d3f57View commit details -
pw: Don't silently ignore unparsed command line arguments.
MFC after: 3 days Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D45097
Configuration menu - View commit details
-
Copy full SHA for b0d00c9 - Browse repository at this point
Copy the full SHA b0d00c9View commit details -
adduser: Fix confusion between
uclass
and_class
.This caused adduser to produce an invalid `pw(8)` command line. Due to bugs in `pw(8)`, the command line was silently accepted and led to the user being created, but locked out and with no home directory. Also fix the default value for the “Another user?” prompt. Fixes: 170d088 MFC after: 3 days Reviewed by: karels, allanjude Differential Revision: https://reviews.freebsd.org/D45098
Configuration menu - View commit details
-
Copy full SHA for 983bdc7 - Browse repository at this point
Copy the full SHA 983bdc7View commit details -
pw: Test home directory ownership and mode.
MFC after: 3 days Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D45099
Configuration menu - View commit details
-
Copy full SHA for 5699dc1 - Browse repository at this point
Copy the full SHA 5699dc1View commit details -
endian.h: Define uint{16,32,64}_t
The Draft Posix Issue 8 standard requires that these be defined. Define them in the usual way that lets multiple headers define them. Opted to not just use #include <stdint.h>, allowed by the draft, to be conservative. Add notes about how we comply with Issue 8, and that we've opted to define these only as macros, though the standard allows functions, macros or both. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for d0f1115 - Browse repository at this point
Copy the full SHA d0f1115View commit details -
ps: handle incorrect -D values
I just noticed a slight issue with the '-D' option. Basically, I accidentally typed something along the lines of: ps -Dboth-p303 I.E. missing out the "space". Instead of giving an error, it behaved as if I'd just typed "ps". Looking at bin/ps/ps.c, where the -D option is parsed, it doesn't error-out if there is no valid match. This commit fixes the bug.
Configuration menu - View commit details
-
Copy full SHA for d25b3e7 - Browse repository at this point
Copy the full SHA d25b3e7View commit details -
git-arc: Add list mode support for the update command
This can be particularly useful to do bulk-updates of multiple commits using the same message, e.g. git arc update -lm "Move function xyz to libfoo" main..myfeature Similar to the list mode for the create command, git arc will list all the candidate revisions with a single prompt. Once that is confirmed, all the revisions are updated without showing the diffs or pausing further prompts. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45050
Configuration menu - View commit details
-
Copy full SHA for 6a2f09f - Browse repository at this point
Copy the full SHA 6a2f09fView commit details -
fib_dxr: log malloc() failures.
MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for 2c0b063 - Browse repository at this point
Copy the full SHA 2c0b063View commit details -
sound: Merge pcm_chn_create() and chn_init()
Follow-up of b3ea087 ("sound: Merge pcm_chn_destroy() and chn_kill()") While here, add device_printf()'s to all failure points. Also fix an existing bug where we'd unlock an already unlocked channel, in case we went to "out" (now "out2") before locking the channel. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D44993
Configuration menu - View commit details
-
Copy full SHA for 49ca112 - Browse repository at this point
Copy the full SHA 49ca112View commit details -
sound: Add __assert_unreachable() to default cases in pcm_chn_add() a…
…nd pcm_chn_remove() We should normally never enter these cases. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D44994
Configuration menu - View commit details
-
Copy full SHA for 607948f - Browse repository at this point
Copy the full SHA 607948fView commit details -
sound: Convert pcm_chn_add() to void
It always returns 0. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D44998
Configuration menu - View commit details
-
Copy full SHA for 7f2ab88 - Browse repository at this point
Copy the full SHA 7f2ab88View commit details -
sound: Remove hw.snd.version and SND_DRV_VERSION
hw.snd.version and SND_DRV_VERSION define the sound driver version and are meant to be used in bug reports, but because these values are constant, there is not much useful information we can extract from them. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: dev_submerge.ch, emaste Differential Revision: https://reviews.freebsd.org/D44996
Configuration menu - View commit details
-
Copy full SHA for f234e2e - Browse repository at this point
Copy the full SHA f234e2eView commit details -
RELNOTES: Mention hw.snd.version being removed
Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for 8cc0b35 - Browse repository at this point
Copy the full SHA 8cc0b35View commit details -
sound: Move chip.h contents to pcm/sound.h
Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D44997
Configuration menu - View commit details
-
Copy full SHA for aa4ec9a - Browse repository at this point
Copy the full SHA aa4ec9aView commit details -
sound: Remove unused dsp_cdevs[] fields and devices
These fields and devices are unused as of e8c0d15 ("sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)"). While here, remove unused SND_DEV_* defines from pcm/sound.h and convert the list to an enum. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: dev_submerge.ch, markj Differential Revision: https://reviews.freebsd.org/D45013
Configuration menu - View commit details
-
Copy full SHA for 857ac81 - Browse repository at this point
Copy the full SHA 857ac81View commit details -
sound: Use nitems() where possible
No functional change intended. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D45014
Configuration menu - View commit details
-
Copy full SHA for a90d99e - Browse repository at this point
Copy the full SHA a90d99eView commit details -
sound: Move vchan-related code to pcm/vchan.*
pcm/sound.* contains code that should be part of pcm/vchan.*. Changes: - pcm_setvchans() -> vchan_setnew() - pcm_setmaxautovchans() -> vchan_setmaxauto() - hw.snd.maxautovchans moved to pcm/vchan.c - snd_maxautovchans declaration moved to pcm/vchan.h and definition to pcm/vchan.c Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: dev_submerge.ch, markj Differential Revision: https://reviews.freebsd.org/D45015
Configuration menu - View commit details
-
Copy full SHA for d24df84 - Browse repository at this point
Copy the full SHA d24df84View commit details -
sound: Rename pcm_getparentchannel() to vchan_getparentchannel()
Follow the rest of the vchan.c naming convention. No functional change intended. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45016
Configuration menu - View commit details
-
Copy full SHA for 84e407e - Browse repository at this point
Copy the full SHA 84e407eView commit details -
sound: Remove unused "num" argument from chn_init() and related callers
It is always -1 (i.e unused). Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D45095
Configuration menu - View commit details
-
Copy full SHA for 4005f12 - Browse repository at this point
Copy the full SHA 4005f12View commit details -
fib_dxr: free() does nothing if arg is NULL, so remove a redundant ch…
…eck. MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for 34d2485 - Browse repository at this point
Copy the full SHA 34d2485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b5804f - Browse repository at this point
Copy the full SHA 6b5804fView commit details -
sound: Update pcm/vchan.c LICENSE header
Sponsored by: The FreeBSD Foundation MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for 858f3dc - Browse repository at this point
Copy the full SHA 858f3dcView commit details -
tests/fusefs: fix all tests that depend on kern.maxphys
The tests try to read kern.maxphys sysctl into int value, while unsigned long is required. Not sure when this was broken, seems like since cd85379. Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D45053
Configuration menu - View commit details
-
Copy full SHA for d46ef42 - Browse repository at this point
Copy the full SHA d46ef42View commit details -
arm: Remove stray references to dev/sound/chip.h
Fixes: 923e004 ("sound: Move chip.h contents to pcm/sound.h") Reported by: Jenkins CI Sponsored by: The FreeBSD Foundation MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for 836c7b2 - Browse repository at this point
Copy the full SHA 836c7b2View commit details -
sockets: hide socket hhook(9)s under SOCKET_HHOOK
There are no in-tree consumers of these hooks. Reviewed by: stevek Differential Revision: https://reviews.freebsd.org/D44928
Configuration menu - View commit details
-
Copy full SHA for cd1c1bd - Browse repository at this point
Copy the full SHA cd1c1bdView commit details -
release: Rework vm_extra_pre_umount
The vm_extra_pre_umount function in vmimage.subr served two purposes: It removed /etc/resolv.conf and /qemu (if cross-building), and it provided a function for cloudware to override in order to make cloud specific changes to the filesystem before constructing a disk image. This resulted in a number of bugs: 1. When cross-building, the emulator binary was left as /qemu in the Azure, GCE, Openstack and Vagrant images. 2. The build host's resolv.conf was left as /etc/resolv.conf in the basic-ci and basic-cloudinit images. 3. When building GCE images, a Google-specific resolv.conf file was constructed, and then deleted before the disk image was created. Move the bits needed for running code inside a VM staging directory from vm_install_base into a new vm_emulation_setup routine, and move the corresponding cleanup bits from vm_extra_pre_umount to a new vm_emulation_cleanup routine. Remove the /qemu and /etc/resolv.conf cleanups from the cloudware configuration files (where they exist) since we will now be running vm_emulation_cleanup to remove those even when vm_extra_pre_umount has been overridden. Override vm_emulation_cleanup in gce.conf since in that one case (and *only* that one case) we don't want to clean up resolv.conf (since it was constructed for the VM image rather than copied from the host). releng/14.1 candidate. MFC after: 1 week Sponsored by: https://www.patreon.com/cperciva
Configuration menu - View commit details
-
Copy full SHA for 5c5d346 - Browse repository at this point
Copy the full SHA 5c5d346View commit details -
nvmf: Remove packing pragmas from nvmf_proto.h
The protocol structures do not need explicit packing and static assertions verify the size of all the structures as well as the offsets of several key fields. The pragma triggers warnings when building with GCC. Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 273de33 - Browse repository at this point
Copy the full SHA 273de33View commit details -
nvmf_tcp: Correct tests for PDU direction
Add parentheses to ensure the correct order of operations. Reported by: GCC
Configuration menu - View commit details
-
Copy full SHA for d6d099f - Browse repository at this point
Copy the full SHA d6d099fView commit details -
The CLOCK_* constants are "defined variable or preprocessor constants" and so use .Dv. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45106
Configuration menu - View commit details
-
Copy full SHA for 22499b6 - Browse repository at this point
Copy the full SHA 22499b6View commit details -
nvmf: Add explicit alignment for struct nvmf_fabric_cmd
This avoids -Wcast-align warnings from clang when upcasting from struct nvmf_fabric_cmd to struct nvmf_fabric_prop_set_cmd. Reported by: bapt Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 537ea50 - Browse repository at this point
Copy the full SHA 537ea50View commit details -
lagg: propagate up/down to the children
Based on the old submission from asomers@. With modern state of locking in lagg(4), the patch got much simplier. Enable the test that was waiting for this change. PR: 226144 Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D44605
Configuration menu - View commit details
-
Copy full SHA for e84e540 - Browse repository at this point
Copy the full SHA e84e540View commit details -
lagg: remove use of net epoch in the ioctl paths
Rely on LAGG_SLOCK() instead. The use of network epoch(9) here was added in 6573d75 (later tidied by 87bf9b9) as a large sweep that blindly substituted blocking kernel primitives with epoch(9). In these particular code paths use of epoch(9) is incorrect and doesn't provide any protection against a stale pointer. Recent fix 48698ea, which should actually have removed the epoch use, created a potential sleeping in epoch problem.
Configuration menu - View commit details
-
Copy full SHA for 9f80abb - Browse repository at this point
Copy the full SHA 9f80abbView commit details -
lagg: enable tests that stress the configuration changes
I wasn't able to reproduce a crash in several runs. Might be that 48698ea or earlier changes have closed the races. In case crashes with just enabled tests are registered, I will either work on them or disable tests again.
Configuration menu - View commit details
-
Copy full SHA for dede707 - Browse repository at this point
Copy the full SHA dede707View commit details -
Add minimal sg(4) manual page. This implements a subset of the Linux IOCTL interface for either native FreeBSD programs, or for Linux binaries in the linuxulator. Noticed by: Lexi Winter Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 73cc5d6 - Browse repository at this point
Copy the full SHA 73cc5d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a26de97 - Browse repository at this point
Copy the full SHA a26de97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b7ced3 - Browse repository at this point
Copy the full SHA 1b7ced3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d7e9ee - Browse repository at this point
Copy the full SHA 3d7e9eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 460d7f8 - Browse repository at this point
Copy the full SHA 460d7f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 887939f - Browse repository at this point
Copy the full SHA 887939fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6ec9d - Browse repository at this point
Copy the full SHA 4c6ec9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c869f - Browse repository at this point
Copy the full SHA c9c869fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ae6a4a - Browse repository at this point
Copy the full SHA 1ae6a4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6e35ce - Browse repository at this point
Copy the full SHA d6e35ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97a4cd0 - Browse repository at this point
Copy the full SHA 97a4cd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 462846d - Browse repository at this point
Copy the full SHA 462846dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fae92ac - Browse repository at this point
Copy the full SHA fae92acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dea710 - Browse repository at this point
Copy the full SHA 1dea710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234460d - Browse repository at this point
Copy the full SHA 234460dView commit details -
dlopen(3): mention fdlopen for capsicum(4)
Capsicum-sandboxed applications generally cannot use dlopen, as absolute and cwd-relative paths cannot be accessed. Mention that fdlopen is useful for sandboxed applications. PR: 277169 Reviewed by: markj, oshogbo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45108
Configuration menu - View commit details
-
Copy full SHA for 35325d9 - Browse repository at this point
Copy the full SHA 35325d9View commit details -
boot1.efi: Don't redundantly include devpath.c
devpath.c is on both the comand line and in libefi. This is redundant and was a mistake in 4cf36aa. It never should have been here. In practice, this just means that the devpath.o from libefi.a goes unused. This will cause problems with some upcoming changes (D44872) to enable LTO to reduce the size of the binaries, so go ahead and make the change now to reduce the changeset for that. No functional change indended. Fixes: 4cf36aa Co-authored-by: sobomax Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for ebad9e9 - Browse repository at this point
Copy the full SHA ebad9e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c9f438 - Browse repository at this point
Copy the full SHA 6c9f438View commit details -
fib_dxr: KASSERTs for chasing NULL ptr and runaway refcount suspects
MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for bc97bbd - Browse repository at this point
Copy the full SHA bc97bbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e12d36a - Browse repository at this point
Copy the full SHA e12d36aView commit details -
fib_dxr: set fib_data field in struct dxr_aux early enough
Previously it was possible for dxr_build() to return with da->fd unset in case of range_tbl or x_tbl malloc() failures. This may have led to NULL ptr dereferencing in dxr_change_rib_batch(). MFC after: 1 week PR: 278422
Configuration menu - View commit details
-
Copy full SHA for d183e73 - Browse repository at this point
Copy the full SHA d183e73View commit details -
busdma: deduplicate _bus_dmamap_addseg() function
It is functionally identical in all implementations, so move the function to subr_busdma_bounce.c. The KASSERT present in the x86 version is now enabled for all architectures. It should be universally applicable. Reviewed by: jhb MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45047
Configuration menu - View commit details
-
Copy full SHA for 864fdbe - Browse repository at this point
Copy the full SHA 864fdbeView commit details -
busdma: better handling of small segment bouncing
Typically, when a DMA transaction requires bouncing, we will break up the request into segments that are, at maximum, page-sized. However, in the atypical case of a driver whose maximum segment size is smaller than PAGE_SIZE, we end up inefficiently assigning each segment its own bounce page. For example, the dwmmc driver has a maximum segment size of 2048 (PAGE_SIZE / 2); a 4-page transfer ends up requiring 8 bounce pages in the current scheme. We should attempt to batch segments into bounce pages more efficiently. This is achieved by pushing all considerations of the maximum segment size into the new _bus_dmamap_addsegs() function, which wraps _bus_dmamap_addseg(). Thus we allocate the minimal number of bounce pages required to complete the entire transfer, while still performing the transfer with smaller-sized transactions. For most drivers with a segment size >= PAGE_SIZE, this will have no impact. For drivers like dwmmc mentioned above, this improves the memory and performance efficiency when bouncing a large transfer. Co-authored-by: jhb Reviewed by: jhb MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45048
Configuration menu - View commit details
-
Copy full SHA for a778d1b - Browse repository at this point
Copy the full SHA a778d1bView commit details -
It serves the purpose of attaching syscon devices as early as possible; this is required for early attachment of the PLL clock driver. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44270
Configuration menu - View commit details
-
Copy full SHA for d01028f - Browse repository at this point
Copy the full SHA d01028fView commit details -
jh7110: Add StarFive JH7110 clock/reset generator drivers
Implement a core clknode driver for the JH7110 (StarFive VisionFive v2) platform. Add clock/reset generator drivers for the PLL, SYS, and AON clock groupings. Co-authored-by: mhorne Reviewed by: mhorne Sponsored by: The FreeBSD Foundation (mhorne's contributions) Differential Revision: https://reviews.freebsd.org/D43037
Configuration menu - View commit details
-
Copy full SHA for 6e97e29 - Browse repository at this point
Copy the full SHA 6e97e29View commit details -
Add a variant of the existing dwmmc driver, and enable it in the GENERIC kernel. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44026
Configuration menu - View commit details
-
Copy full SHA for 8196952 - Browse repository at this point
Copy the full SHA 8196952View commit details -
Revert "jh7110: Add StarFive JH7110 clock/reset generator drivers"
I did not set the author field properly; revert to fix this. This reverts commit 5d6d627.
Configuration menu - View commit details
-
Copy full SHA for c2ce369 - Browse repository at this point
Copy the full SHA c2ce369View commit details -
jh7110: Add StarFive JH7110 clock/reset generator drivers
Implement a core clknode driver for the JH7110 (StarFive VisionFive v2) platform. Add clock/reset generator drivers for the PLL, SYS, and AON clock groupings. Co-authored-by: mhorne Reviewed by: mhorne Sponsored by: The FreeBSD Foundation (mhorne's contributions) Differential Revision: https://reviews.freebsd.org/D43037
Configuration menu - View commit details
-
Copy full SHA for 64feedf - Browse repository at this point
Copy the full SHA 64feedfView commit details -
libcbor: Ignore errors for unknown #pragmas
libcbor embeds clang-specific #pragmas that GCC then warns about. Reviewed by: emaste
Configuration menu - View commit details
-
Copy full SHA for 17066e8 - Browse repository at this point
Copy the full SHA 17066e8View commit details -
tcp: clean up macro useage in tcp_fixed_maxseg()
Replace local PAD macro with PADTCPOLEN macro No functional change. Reviewed By: tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D45076
Configuration menu - View commit details
-
Copy full SHA for 9acc398 - Browse repository at this point
Copy the full SHA 9acc398View commit details -
libzpool: Disable -Wpointer-to-int-cast warnings for GCC
This warning is already disabled for zfs.ko.
Configuration menu - View commit details
-
Copy full SHA for 95eafe1 - Browse repository at this point
Copy the full SHA 95eafe1View commit details -
nvmecontrol: Fix a sign compare mismatch
Even though mqes (uint16_t) and queue_size (u_int) are both unsigned, the expression 'mqes + 1' gets promoted to int which is signed. Keep the value unsigned by explicitly promoting mqes to u_int before incrementing the value. Reported by: GCC
Configuration menu - View commit details
-
Copy full SHA for 0029db0 - Browse repository at this point
Copy the full SHA 0029db0View commit details -
nvme: Bump the alignment of struct nvme_health_information_page to 8
This ensures that embedded uint64_t values used for statistics counters are aligned when allocating a structure on the stack or as part of a containing structure. In particular this quiets -Waddress-of-packed-member warnings from GCC when compiling the code in nvmfd to update the stats. Reported by: GCC
Configuration menu - View commit details
-
Copy full SHA for 73224df - Browse repository at this point
Copy the full SHA 73224dfView commit details -
sockets: garbage collect PRCOREQUESTS and stale comment
The code deleted predates FreeBSD history. The comment deleted is 99% outdated. Why KAME decided to use these constants instead of normal ones also lost in centuries.
Configuration menu - View commit details
-
Copy full SHA for 12b11ad - Browse repository at this point
Copy the full SHA 12b11adView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc15453 - Browse repository at this point
Copy the full SHA dc15453View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eb7d96 - Browse repository at this point
Copy the full SHA 3eb7d96View commit details -
arm64 pmap: Add ATTR_CONTIGUOUS support [Part 3]
Introduce L3C promotion of base page mappings. When the base page size is 4KB, use ATTR_CONTIGUOUS to promote 16 aligned, contiguous base page mappings to a 64KB mapping. Alternatively, when the base page size is 16KB, use ATTR_CONTIGUOUS to promote 128 aligned, contiguous base page mappings to a 2MB mapping. Given the frequency of L3C counter updates, switch to per-CPU counters to avoid cache line ping ponging. Revise the L3C counter descriptions to reflect the fact that the size of an L3C mapping varies depending on the base page size. Co-authored-by: Eliot Solomon <[email protected]> Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D44983
Configuration menu - View commit details
-
Copy full SHA for 7f4b36a - Browse repository at this point
Copy the full SHA 7f4b36aView commit details -
ObsoleteFiles.inc: Remove /var/db/portsnap
This is a followup to commit "Remove remnants of portsnap(8)" (9b30b96). I wasn't aware of OLD_DIRS. Approved by: markj (mentor) MFC after: 1 day MFC with: 9b30b96 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45023
Configuration menu - View commit details
-
Copy full SHA for f2b48d4 - Browse repository at this point
Copy the full SHA f2b48d4View commit details -
dtb: rockchip: Add Radxa ROCK 4C Plus to the build.
The ROCK 4C Plus is a cost-reduced variant of the ROCK Pi 4 based on the RockChip RK3399-T. Reviewed by: manu MFC after: 1 week Differential Revision: <https://reviews.freebsd.org/D45110
Configuration menu - View commit details
-
Copy full SHA for e54a3cc - Browse repository at this point
Copy the full SHA e54a3ccView commit details -
mii: Add support for Realtek RTL8211F-VD PHY
The RTL8211F-VD is a replacement/upgrade for the RTL8211F. Based on torvalds/linux@bb726b7, the only difference is the lack of the PCR2 register, which FreeBSD doesn't use. This fixes autonegotiation problems using the RTL8211F with ukphy(4). Reviewed by: manu, bz MFC after: 1 month Differential Revision: <https://reviews.freebsd.org/D45109
Configuration menu - View commit details
-
Copy full SHA for ed09550 - Browse repository at this point
Copy the full SHA ed09550View commit details -
Allow carp(4) to use the VRRPv3 protocol (RFC 5798). We can distinguish carp and VRRP based on the protocol version number (carp is 2, VRRPv3 is 3), and support both from the carp(4) code. Reviewed by: glebius Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44774
Configuration menu - View commit details
-
Copy full SHA for 5ea6b90 - Browse repository at this point
Copy the full SHA 5ea6b90View commit details -
carp: don't chain call vrrp_send_ad via carp_send_ad
Provide inline send_ad_locked() that switches between protocol specific sending function. Rename carp_send_ad() to carp_callout() to avoid getting lost in all these multiple foo_send_ad. No functional change intended. Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D45036
Configuration menu - View commit details
-
Copy full SHA for b8e8ede - Browse repository at this point
Copy the full SHA b8e8edeView commit details -
carp: assert that we are calling correct input function. We are.
Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D45037
Configuration menu - View commit details
-
Copy full SHA for 0c67f0a - Browse repository at this point
Copy the full SHA 0c67f0aView commit details -
carp: refactor packet tagging for ether_output()
- Separate HMAC preparation (CARP specific) from tagging. - In unicast mode (CARP specific) don't put tag at all. - Don't put pointer to software context into the tag. Putting just vhid, an integer value, is a safer design. Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D45038
Configuration menu - View commit details
-
Copy full SHA for 54d278d - Browse repository at this point
Copy the full SHA 54d278dView commit details -
There is only one functional change here - we don't allow SIOCSVH (or netlink request) to change sc->sc_version. I'm convinced that allowing such a change doesn't brings any practical value, but creates enless minefields in front of both developers and end users (sysadmins). If you want to switch from VRRP to CARP or vice versa, you'd need to recreate the VHID. Oh, one tiny funtional change: carp_ioctl_set() won't modify any fields if it returns EINVAL. Previously you could provide valid advbase with invalid advskew - that used to modify advbase and return EINVAL. All other changes is a sweep around not ever using CARP fields when we are in VRRP mode and vice versa. Also adding assertions on sc_version where necessary. Do not send VRRP vars in CARP mode via NetLink and vice versa. However in compat ioctl SIOCGVH for VRRP mode the CARP fields would be zeroes. This allows to declare softc as union and thus prevent any future logic deterioration wrt to mixing VRRP and CARP. Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D45039
Configuration menu - View commit details
-
Copy full SHA for 40ec3a6 - Browse repository at this point
Copy the full SHA 40ec3a6View commit details -
netinet tests: basic VRRP tests
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44775
Configuration menu - View commit details
-
Copy full SHA for 505dab0 - Browse repository at this point
Copy the full SHA 505dab0View commit details -
carp: document the new VRRPv3 support
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44776
Configuration menu - View commit details
-
Copy full SHA for 0835ea3 - Browse repository at this point
Copy the full SHA 0835ea3View commit details -
pf: always mark states as unlinked before detaching them
Users have reported crashes in pf_test_state_udp() where at least one state key is NULL. That suggests that pf_detach_state() ran concurrently with pf_test_state_udp(). pf_test_state_udp() holds the state lock (aka the id lock), but pf_detach_state() does not. The intent is that detached states are not returned by STATE_LOOKUP/ pf_find_state(), as the state's timeout is set to PFTM_UNLINKED and thus pf_find_state() does not find the state. There are other paths to pf_detach_state() (outside of pf_unlink_state()) though, where we did not set the timeout to PFTM_UNLINKED. Fix those, and assert that the timeout is set correctly when we enter pf_detach_state(). MFC after: 1 week See also: https://redmine.pfsense.org/issues/15413 Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D45101
Configuration menu - View commit details
-
Copy full SHA for 25b2d99 - Browse repository at this point
Copy the full SHA 25b2d99View commit details -
While the SACK Scoreboard in the base stack limits the number of holes by default to only 128 per connection in order to prevent CPU load attacks by splitting SACKs, filtering out SACK blocks of unusually small size can further improve the actual processing of SACK loss recovery. Reviewed By: tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D45075
Configuration menu - View commit details
-
Copy full SHA for 90e1b4e - Browse repository at this point
Copy the full SHA 90e1b4eView commit details -
tcp: add sysctl to allow/disallow TSO during SACK loss recovery
Introduce net.inet.tcp.sack.tso for future use when TSO is ready to be used during loss recovery. Reviewed By: tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D45068
Configuration menu - View commit details
-
Copy full SHA for 57eb93b - Browse repository at this point
Copy the full SHA 57eb93bView commit details -
tcp: add counter to track when SACK loss recovery uses TSO
Add a counter to track how frequently SACK has transmitted more than one MSS using TSO. Instances when this will be beneficial is the use of PRR, or when ACK thinning due to GRO/LRO or ACK discards by the network are present. Reviewed By: tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D45070
Configuration menu - View commit details
-
Copy full SHA for 40ccd3b - Browse repository at this point
Copy the full SHA 40ccd3bView commit details -
libthr: avoid varargs in fcntl and openat interposers
Align these signatures with the ones in syscalls.master (and thus libsys.h). There's no reason to do va_args twice and in some ABIs (e.g,, CheriABI) you can't access fixed arguments as varargs if you weren't called with varargs signature. Reviewed by: imp, kib, jhibbits Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D45126
Configuration menu - View commit details
-
Copy full SHA for f0078be - Browse repository at this point
Copy the full SHA f0078beView commit details -
soxstack: slience 32-bit gcc warning
Modern GCC complains when casting pointers to integers of a different size (even a larger one). Switch from uint64_t to uintptr_t which will always be the right size for a stack address instead of maybe being too big. Reviewed by: dchagin, emaste Differential Revision: https://reviews.freebsd.org/D45087
Configuration menu - View commit details
-
Copy full SHA for 7ed262f - Browse repository at this point
Copy the full SHA 7ed262fView commit details -
ofed: don't expose symbols twice
ibv_init_wq and ibv_cleanup_wq are made visible with the default_symver which puts them in the IBVERBS_1.1 ABI. Don't try to expose them as IBVERBS_PRIVATE_14 symbols as GNU ld complains with --no-undefined-symbol. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D45090
Configuration menu - View commit details
-
Copy full SHA for b11b6be - Browse repository at this point
Copy the full SHA b11b6beView commit details -
bsdinstall: Stop loading cryptodev for ZFS installations
- zfs depends on the crypto module, not cryptodev, and most arm64 kernel configs include std.dev, which includes "device crypto" anyway. - This config works around a problem with kldxref lacking cross-target support, but that has since been fixed. - Loading cryptodev creates /dev/crypto, which gives unprivileged users access to the kernel's opencrypto framework. Very few applications need it, so we're needlessly increasing the kernel's surface area. Thus, stop auto-loading cryptodev. Reviewed by: kevans, allanjude, des Differential Revision: https://reviews.freebsd.org/D45127
Configuration menu - View commit details
-
Copy full SHA for 960ae77 - Browse repository at this point
Copy the full SHA 960ae77View commit details -
vmm: Start reconciling amd64 and arm64 copies of vmm_dev.c
Most of the code in vmm_dev.c and vmm.c can and should be shared between amd64 and arm64 (and eventually riscv) rather than being duplicated. To the end of adding a shared implementation in sys/dev/vmm, this patch eliminates most of the differences between the two copies of vmm_dev.c. - Remove an unneeded cdefs.h include. - Simplify the amd64 implementation of vcpu_unlock_one(). - Simplify the arm64 implementation of vcpu_lock_one(). - Pass buffer sizes to alloc_memseg() and get_memseg() on arm64. On amd64 this is needed for compat ioctls, but these functions should be merged. - Make devmem_mmap_single() stricter on arm64. Reviewed by: corvink, jhb Differential Revision: https://reviews.freebsd.org/D44995
Configuration menu - View commit details
-
Copy full SHA for 99821e1 - Browse repository at this point
Copy the full SHA 99821e1View commit details -
This had been added for debugging and shouldn't have been committed. Fixes: f81cdf2 ("bhyve: Add support for XML register definitions") MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for f8224bb - Browse repository at this point
Copy the full SHA f8224bbView commit details -
smsc(4): update to mention Microchip
Microchip Technology acquired SMSC in 2012, and all current products and datasheets refer to the devices supported by this driver as Microchip parts. Mention SMSC in a parenthetical comment to explain the driver's name. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45115
Configuration menu - View commit details
-
Copy full SHA for f6dc0ae - Browse repository at this point
Copy the full SHA f6dc0aeView commit details -
Merge commit 5300a6731e98 from llvm-project (by Jonathan Peyton):
[OpenMP] Fix re-locking hang found in issue 86684 (#88539) This was initially reported here (including stacktraces): https://stackoverflow.com/questions/78183545/does-compiling-imagick-with-openmp-enabled-in-freebsd-13-2-cause-sched-yield If `__kmp_register_library_startup()` detects that another instance of the library is present, `__kmp_is_address_mapped()` is eventually called. which uses `kmpc_alloc()` to allocate memory. This function calls `__kmp_entry_thread()` to access the thread-local memory pool, which is a bad idea during initialization. This macro internally calls `__kmp_get_global_thread_id_reg()` which sets the bootstrap lock at the beginning (before calling `__kmp_register_library_startup()`). The fix is to use `KMP_INTERNAL_MALLOC()`/`KMP_INTERNAL_FREE()` instead of `kmpc_malloc()`/`kmpc_free()`. `KMP_INTERNAL_MALLOC` and `KMP_INTERNAL_FREE` do not use any bootstrap locks. They just translate to `malloc()`/`free()` and are meant to be used during library initialization before other library-specific allocators have been initialized. Fixes: #86684 This should fix OpenMP processes sometimes getting locked with 100% CPU usage, endlessly calling sched_yield(2). PR: 278845 Reported by: Cassidy B. Larson <[email protected]> MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 1d9b0c7 - Browse repository at this point
Copy the full SHA 1d9b0c7View commit details -
Merge commit 73bb8d9d92f6 from llvm-project (by Jonathan Peyton):
[OpenMP] Fix child processes to use affinity_none (#91391) When a child process is forked with OpenMP already initialized, the child process resets its affinity mask and sets proc-bind-var to false so that the entire original affinity mask is used. This patch corrects an issue with the affinity initialization code setting affinity to compact instead of none for this special case of forked children. The test trying to catch this only testing explicit setting of KMP_AFFINITY=none. Add test run for no KMP_AFFINITY setting. Fixes: #91098 This should fix OpenMP processes sometimes getting stuck on a single CPU core. PR: 278845 Reported by: Cassidy B. Larson <[email protected]> MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 8544bc5 - Browse repository at this point
Copy the full SHA 8544bc5View commit details -
linuxkpi: Make arch_io_*_memtype_wc amd64-only
Linux only implements these functions on x86. They return 0 on other architectures. The FreeBSD implementation calls PHYS_TO_DMAP but this panics on i386 because it does not have a direct map so return 0 on i386 as well for now. These functions are only used by graphics/drm-*-kmod to mark the VRAM aperture write-combining but this is also accomplished by a call to vm_phys_fictitious_reg_range so this change is sufficient to fix drm-*-kmod on i386 for FreeBSD 14.1. Reviewed by: kib MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D45125
Configuration menu - View commit details
-
Copy full SHA for 2e871cb - Browse repository at this point
Copy the full SHA 2e871cbView commit details -
nvme: Explicitly align struct nvme_command on an 8 byte boundary
This was already true for most architectures due to uint64_t structure members. However, i386 is special in that it only requires 4 byte alignment for uint64_t. As a result, casts from struct nvme_command to struct nvmf_fabric_cmd were raising a "cast increases alignment" warning on i386. Explicitly aligning struct nvme_command pacifies this warning on i386. Reported by: rscheff Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 9463d39 - Browse repository at this point
Copy the full SHA 9463d39View commit details -
net80211: add a new field specifically for announcing specific ciphers
This dates way, way back with the original net80211 support w/ atheros chips. The earliest chip (AR5210) had limitations supporting software encryption. It only had the four WEP slots, and not any keycache entries. So when trying to do CCMP/TKIP encryption would be enabled and the key slots would have nothing useful in them, resulting in garbage encryption/decryption. I changed this back in 2012 to disable supporting hardware WEP for AR5210 so if_ath(4) / net80211 crypto is all done in software and yes, I could do CCMP/TKIP on AR5210 in software. Fast-forward to newer-ish hardware - the Qualcomm 11ac hardware. Those also don't support pass-through keycache slots! Well, the hardware does at that layer, but then there's a whole offload data path encap/decap layer that's turning the frames from raw wifi into ethernet frames (for "dumb" AP behaviours) or "wifi direct" frames (ie, "windows".) This hides a bunch of header frame contents required for doing the software encryption / decryption path. But then if you enable the raw transmit/receive frame format it ALSO bypasses the hardware encryption/decryption engine! So for those NICs: * If you want to do encryption, you can only use the firmware supported ciphers w/ wifi direct or ethernet; * If you want to use software encrypt/decrypt, you MUST disable all encryption and instead use 100% software encryption. The wpa_supplicant bsd driver code has a specific comment about this and flips on supporting WEP/TKIP/CCMP, which is understandable but it doesn't fix the ACTUAL intention of all of this stuff. So: * create a new field, ic_sw_cryptocaps * populate it with the default supported set of ciphers for net80211 (right now wep, tkip, ccmp) * Communicate the combination of both ic_sw_cryptocaps and ic_cryptocaps to wpa_supplicant via the relevant devcap ioctl. * Update manpage. I'll follow this up with a driver_bsd.c change in wpa_supplicant to trust this again, and then start adding the other cipher support there. Differential Revision: https://reviews.freebsd.org/D44820
Configuration menu - View commit details
-
Copy full SHA for 4496e7a - Browse repository at this point
Copy the full SHA 4496e7aView commit details -
wpa: Remove the now not-needed local logic to hard-code cipher support
A previous commit now exposes the supported net80211 ciphers for the given NIC, rather than the hardware cipher list. This is going to be especially important moving forward when we add more cipher and key management support. Differential Revision: https://reviews.freebsd.org/D44821
Configuration menu - View commit details
-
Copy full SHA for 0e8ecc1 - Browse repository at this point
Copy the full SHA 0e8ecc1View commit details -
net80211: add driver / crypto methods to set the hardware / software …
…cipher suites Drivers currently announce hardware crypto cipher support by setting up ic_cryptocaps. This adds two public function calls: * ieee80211_set_software_ciphers() - set the software cipher set; * ieee80211_set_hardware_ciphers() - set the hardware cipher set. For now these just call into the newly crypto routines to set the ciphers. This then adds the two crypto routines, similarly named, to set the hardware/software cipher suite. This is a no-op right now - wep/tkip/ccmp are already set by default so drivers aren't required to call these routines for software encryption, and drivers already set ic_cryptocaps for hardware encryption. Differential Revision: https://reviews.freebsd.org/D44827
Configuration menu - View commit details
-
Copy full SHA for 62c7d49 - Browse repository at this point
Copy the full SHA 62c7d49View commit details -
net80211: add new ciphers and RSN flags
These are the rest of the ciphers and RSN flags from 802.11-2016. * add the rest of the ciphers from 802.11-2016 * add the rest of the RSN flags from 802.11-2016 Of special interest here are the extended key ID field for supporting >1 unicast key (to support seamless rekeying w/out dropping frames) and the MFP (management frame protection) config bits. This is a no-op; no code is using these new fields. (In particular, no code in net80211 uses the RSN capability bits; but that will change when we start on MFP support.) Differential Revision: https://reviews.freebsd.org/D44864
Configuration menu - View commit details
-
Copy full SHA for 882b61e - Browse repository at this point
Copy the full SHA 882b61eView commit details -
release: make dependencies, not recursive make
For historical reasons, the vm-release and cloudware-release targets were written as recursive makes of ${VMTARGETS} and ${CLOUDTARGETS}; this worked fine until we started running `make release -jN` and had both VM and cloud targets depending on ${QEMUTGT}, at which point things exploded when we tried to build the port twice at the same time. Switch vm-release and cloudware-release to have make dependencies on their individual components; this way a single make process runs and is aware of the duplicate dependency (and only runs it once). MFC after: 5 days
Configuration menu - View commit details
-
Copy full SHA for 857524c - Browse repository at this point
Copy the full SHA 857524cView commit details -
xen/debug: remove usage of sbuf_{clear,finish}() on drained sbuf
Using sbuf_clear() on a drained sbuf is explicitly prohibited, and using sbuf_finish() after printing a trace leads to a single trace being printed, as after calling sbuf_finish() further attempts to use the same sbuf will lead to a panic. While there also switch to using xen_emergency_print() instead of attempting to write directly to the hypervisor console. xen_emergency_print() can be implemented per-arch to use a different mechanism than the console hypercall (note the default implementation still uses the console hypercall). Fixes: df62b8a ('xen: add a handler for the debug interrupt') Sponsored by: Cloud Software Group Reviewed by: markj Differential review: https://reviews.freebsd.org/D45060
Configuration menu - View commit details
-
Copy full SHA for c1e4eac - Browse repository at this point
Copy the full SHA c1e4eacView commit details -
libpfctl: fix file descriptor leak
pfctl_get_rules_info() opened a netlink socket, but failed to close it again. Fix this by factoring out the netlink-based function into a _h variant that takes struct pfctl_handle, and implement pfctl_get_rules_info() based on that, remembering to close the fd. While here migrate all in-tree consumers to the _h variant. MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for 2a8233b - Browse repository at this point
Copy the full SHA 2a8233bView commit details -
If memory allocation fails, m is NULL. Since this is possible, check for it. Reported by: Coverity Scan CID: 1086866 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for c3dc3b7 - Browse repository at this point
Copy the full SHA c3dc3b7View commit details -
Update example from gcc6 to gcc13
We only "support" gcc12 and gcc13 for cross building, for some value of "support". Update the example from gcc6 to gcc13. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 25fe736 - Browse repository at this point
Copy the full SHA 25fe736View commit details -
sctp: fix sctp_sendall() when an mbuf chain is provided
In this case uio is NULL, which needs to be checked and m must be copied into the sctp_copy_all structure. Reported by: Coverity Scan CID: 1400449 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 7d42206 - Browse repository at this point
Copy the full SHA 7d42206View commit details -
sctp: don't provide uninitialized memory to process_chunk_drop()
Right now, the code in process_chunk_drop() does not look the the corresponding fields. Therefore, no functional change intended. Reported by: Coverity Scan CID: 1472476 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 9260972 - Browse repository at this point
Copy the full SHA 9260972View commit details -
sctp: allow stcb == NULL in sctp_shutdown()
Consistently handle this case. Reported by: Coverity Scan CID: 1533813 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 05b95a9 - Browse repository at this point
Copy the full SHA 05b95a9View commit details -
No functional chnage intended. MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 4e10e0e - Browse repository at this point
Copy the full SHA 4e10e0eView commit details -
fusefs: make the tests more robust to changes to maxphys
Remove assumptions in two test cases that maxphys won't be huge. Reported by: kib MFC after: 2 weeks Sponsored by: Axcient
Configuration menu - View commit details
-
Copy full SHA for 8aab153 - Browse repository at this point
Copy the full SHA 8aab153View commit details -
PR: 278847 Reviewed by: jhibbits Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45133
Configuration menu - View commit details
-
Copy full SHA for b86ca10 - Browse repository at this point
Copy the full SHA b86ca10View commit details -
snd_hdsp(4): RME HDSP 9632 and HDSP 9652 sound card driver.
Add a sound(4) bridge device driver for the RME HDSP 9632 and HDSP 9652 sound cards. These cards require a nowadays rare PCI 32bit (not PCIe) slot, but still see use due to their value and wealth of features. The HDSP 9632 is mostly comparable to the newer HDSPe AIO, while the HDSP 9652 is similar to the HDSPe RayDAT. These HDSPe PCIe cards are supported by the snd_hdspe(4) driver which was taken as a starting point for development of snd_hdsp(4). Implementation is kept separately due to substantial differences in hardware configuration and to allow easy removal in case PCI 32bit support would be phased out in the future. The snd_hdsp(4) kernel module is not enabled by default, and can be loaded at runtime with kldload(8) or during boot via loader.conf(5). Basic operation was tested with both cards, not including all optional cable connectors and expansion boards. Features should be roughly on par with the snd_hdspe(4) supported cards. Reviewed by: christos, br Differential Revision: https://reviews.freebsd.org/D45112
Configuration menu - View commit details
-
Copy full SHA for 6480b74 - Browse repository at this point
Copy the full SHA 6480b74View commit details -
sound: Remove nmix variable from mixer_oss_mixerinfo()
nmix is used to compare against oss_mixerinfo->dev, which is a user-supplied value to select the mixer device (if not -1, in which case we'll select the default one) we want to fetch the information of. It is also used to set oss_mixerinfo->dev in case it is -1. However, nmix is at best redundant, since we have the loop counter already (i), and confusing at worst. For example, suppose a system with 3 mixer devices. We call SNDCTL_MIXERINFO with oss_mixerinfo->dev=1, meaning we want to get information for /dev/mixer1. Suppose /dev/mixer0 detaches while inside the loop, so we'll hit the loop's "continue" case, and nmix won't get incremented (i.e will stay 0 for now). At this point nmix counts 1 device less, so when it reaches 1, we'll be fetching /dev/mixer2's information instead of /dev/mixer1's. This is also true in case the mixer device disappears prior to the call to mixer_oss_mixerinfo(). Simply remove nmix and use the loop counter to both set oss_mixerinfo->dev and check against it in case a non -1 value is supplied. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D45135
Configuration menu - View commit details
-
Copy full SHA for d01e92b - Browse repository at this point
Copy the full SHA d01e92bView commit details -
sound: Fix oss_sysinfo->numcards
According to the OSS manual, oss_sysinfo->numcards holds the number of detected audio devices in the system, while the current ncards variable, whose value is assigned to oss_sysinfo->numcards, holds the number of currently registered devices only. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: dev_submerge.ch, emaste Differential Revision: https://reviews.freebsd.org/D45136
Configuration menu - View commit details
-
Copy full SHA for 841b50e - Browse repository at this point
Copy the full SHA 841b50eView commit details -
sound: Add missing oss_mixerinfo devnode and legacy_device fields
They are missing from soundcard.h and are in fact used by some applications, such as OSS' ossinfo(1): http://manuals.opensound.com/developer/ossinfo.c.html The new size for filler is chosen according to the most recent official version of soundcard.h, which includes those 2 fields. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D45137
Configuration menu - View commit details
-
Copy full SHA for 674f925 - Browse repository at this point
Copy the full SHA 674f925View commit details -
sound: Rename oss_audioinfo->real_device to oss_audioinfo->legacy_device
The OSS manual now documents this field as "legacy_device". Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D45138
Configuration menu - View commit details
-
Copy full SHA for 46a93f8 - Browse repository at this point
Copy the full SHA 46a93f8View commit details -
arm/pmu: remove passing trap frame as argument
While otherwise a handy potential approach, getting the trap frame via the argument isn't documented and isn't supposed to be used. Adjust pmu_intr() to instead use curthread->td_intr_frame, which is the proper way. Reviewed by: imp Pull Request: freebsd/freebsd-src#1126
Configuration menu - View commit details
-
Copy full SHA for 42e52a3 - Browse repository at this point
Copy the full SHA 42e52a3View commit details -
kern/intr: change ->ie_irq to unsigned
All architecture implementations actually want this to be unsigned. INTRNG the equivalent is overtly unsigned. x86 and PowerPC merely avoid the need to explicitly convert at several points. Reviewed by: imp Pull Request: freebsd/freebsd-src#1126
Configuration menu - View commit details
-
Copy full SHA for 1dbd3ce - Browse repository at this point
Copy the full SHA 1dbd3ceView commit details -
kern/intr: redeclare intr_setaffinity()'s third arg constant
This matches reality and allows removal of a __DECONST(). Fixes: 4c72d07 ("LinuxKPI: const argument to irq_set_affinity_hint()") Fixes: 9b33b15 ("Add support to cpuset for binding hardware interrupts") Reviewed by: imp Pull Request: freebsd/freebsd-src#1126
Configuration menu - View commit details
-
Copy full SHA for 95478df - Browse repository at this point
Copy the full SHA 95478dfView commit details -
intrng: switch flag arguments to unsigned
The flag variables behind these are all unsigned. As such adjust the declarations to match reality and reduce the number of mismatches. Reviewed by: imp Pull Request: freebsd/freebsd-src#1126
Configuration menu - View commit details
-
Copy full SHA for 781d02d - Browse repository at this point
Copy the full SHA 781d02dView commit details -
sys: declare bit sets unsigned
Substantially reduce the number of signed/unsigned issues (warnings if enabled). While these are presently disabled for FreeBSD, being able to enable another warning would be good. Differential Revision: https://reviews.freebsd.org/D32793 Reviewed by: imp, jhibbits Pull Request: freebsd/freebsd-src#1126
Configuration menu - View commit details
-
Copy full SHA for 9e13c5c - Browse repository at this point
Copy the full SHA 9e13c5cView commit details -
arm: add missing atomic-pointer functions
The pointer function types were missing for these functions, so add them. Valuable for places where type sizes vary by architecture. Differential Revision: https://reviews.freebsd.org/D37778 Reviewed by: imp, andrew Pull Request: freebsd/freebsd-src#1126
Configuration menu - View commit details
-
Copy full SHA for eb013eb - Browse repository at this point
Copy the full SHA eb013ebView commit details -
intr/x86: replace use of vector in interface with intsrc
Several x86 interrupt core functions were already operating on intsrc structures. Now switch the remaining 3 to intsrc for consistency. Swap the order of intr_add_handler()'s first two arguments. This matches INTRNG and is more consistent with other functions in this interface. Differential Revision: https://reviews.freebsd.org/D35386 Reviewed by: imp, markj (previous version) Pull Request: freebsd/freebsd-src#1126
Configuration menu - View commit details
-
Copy full SHA for 46b28fb - Browse repository at this point
Copy the full SHA 46b28fbView commit details -
arp.8: don't document a syntax that doesn't exist
The arp.8 manpage documents 'arp -d <addr> pub', but the 'pub' flag is not accepted by the arp command. Remove this incorrect documentation. Reviewed by: imp, gleb, mp Pull Request: freebsd/freebsd-src#1215
Configuration menu - View commit details
-
Copy full SHA for f822128 - Browse repository at this point
Copy the full SHA f822128View commit details -
Address module reproducibility issues
Use .PATH & bare filename. This prevents the real source path from being included in the built object, which improves reproducibility. Signed-off-by: Dan McGregor <[email protected]> Reviewed by: imp Pull Request: freebsd/freebsd-src#1211
Configuration menu - View commit details
-
Copy full SHA for d71550e - Browse repository at this point
Copy the full SHA d71550eView commit details -
New sysctl to disable NOMATCH until devmatch runs
Introduce hw.bus.devctl_nomatch_enabled and use it to suppress NOMATCH until devmatch runs There's a lot of NOMATCH events generated at boot. We also run devmatch once during early boot to load unmatched devices. To avoid redundant work, don't start generating NOMATCH events until after devmatch runs. Set hw.bus.devctl_nomatch_enabled=1 just before we run devmatch. The kernel will suppress NOMATCH events until this is set to true. This saves about 170ms from the boot on aarch64 running atop Apple M-series processors and the VMWare Fusion hypervisor. Reviewed by: imp, cperciva MFC after: 3 days Sponsored by: Google Summer of Code Pull Request: freebsd/freebsd-src#1213
Configuration menu - View commit details
-
Copy full SHA for 76d3f23 - Browse repository at this point
Copy the full SHA 76d3f23View commit details -
Allow -DNO_STRICT_REGEX to restore historic regex behavior
Allow restoring the behavior of '{' as described in regex(3). Ie. only treat it as start of bounds if followed by a digit. If NO_STRICT_REGEX is not defined, the behavior introduced by commit a4a8016 is retained, otherwise the previous behavior is restored. Differential Revision: https://reviews.freebsd.org/D45134
Configuration menu - View commit details
-
Copy full SHA for b151117 - Browse repository at this point
Copy the full SHA b151117View commit details -
nfscl: Do not do readahead for directories
For a very long time, the NFS client has done readahead for directory blocks. Unlike data blocks, the readahead cannot begin until the Readdir RPC reply has been received, since the directory offset cookie in that Readdir RPC reply is needed. As such, the readahead is serialized and does not seem to provide any real benefit. Recent testing/benchmarking shows that removing this readahead code for Readdir does not have a negative impact on performance. Therefore, this patch deletes the readahead code for Readdir, which simplifies the code and may make future changes simpler. MFC after: 1 month
Configuration menu - View commit details
-
Copy full SHA for 17fa6a1 - Browse repository at this point
Copy the full SHA 17fa6a1View commit details -
Fix memory corruption in C++ demangler
The __cxa_demangle_gnu3() and cpp_demangle_gnu3() functions segfault on various libcxxabi test cases due to a copy and paste error. This change fixes that. This is a subset of libcxxrt/libcxxrt#34 which fixes the immediate problem. Reviewed by: imp, emaste (I think) Pull Request: freebsd/freebsd-src#1222
Configuration menu - View commit details
-
Copy full SHA for dd81b69 - Browse repository at this point
Copy the full SHA dd81b69View commit details -
ipfw: correctly report table manipulation errors
Let ipfw(8) report the actual error instead of the error that may have come from calling printf(). Reviewed by: imp Pull Request: freebsd/freebsd-src#1221
Configuration menu - View commit details
-
Copy full SHA for 92cdab5 - Browse repository at this point
Copy the full SHA 92cdab5View commit details -
ahc(4): Default to memory mapped IO
When this driver was written it made sense to make this default to off, but these days almost all BIOSses will do the right thing. Furthermore non-mmio communication only works on Intel architectures. So lets default to allowing mmio, but not change the semantics of the AHC_ALLOW_MEMIO flag to not break existing installs. Also document the already existing hint.ahc.<unit>.allow_memio. Signed-off-by: HP van Braam <[email protected]> Reviewed by: imp (small style tweak) Pull Request: freebsd/freebsd-src#1219
Configuration menu - View commit details
-
Copy full SHA for d9efef5 - Browse repository at this point
Copy the full SHA d9efef5View commit details -
Update README.md to add pointer to release page.
Reviewed by: imp Pull Request: freebsd/freebsd-src#1151
Configuration menu - View commit details
-
Copy full SHA for 2da60fd - Browse repository at this point
Copy the full SHA 2da60fdView commit details -
sysexits: Tidy deprecated header and manual
<sysexits.h> was deprecated in the base system in a1432b4 for FreeBSD 8.0 and is retained only for backwards compatibility. Make that clear, since sysexits(3) suggested using it since it was in style(9) prior to this. MFC after: 1 week Co-authored-by: imp Fixes: a1432b4 Reviewed by: imp, pauamma (previous version) Pull Request freebsd/freebsd-src#1195
Configuration menu - View commit details
-
Copy full SHA for 516d2a1 - Browse repository at this point
Copy the full SHA 516d2a1View commit details -
at cron file is now in /etc/cron.d
PR: 243380 Reviewed by: imp Pull Request: freebsd/freebsd-src#1106
Configuration menu - View commit details
-
Copy full SHA for 6ab44f3 - Browse repository at this point
Copy the full SHA 6ab44f3View commit details -
Add details on the format of system cron files, which are mentioned in cron(8) which refers here but barely explained here. Reviewed by: imp Pull Request: freebsd/freebsd-src#1106
Configuration menu - View commit details
-
Copy full SHA for 5ac1b9e - Browse repository at this point
Copy the full SHA 5ac1b9eView commit details -
mdconfig: Print options when listing devices
PR: 278624 Reviewed by: imp Pull Request: freebsd/freebsd-src#1210
Configuration menu - View commit details
-
Copy full SHA for f1f07c8 - Browse repository at this point
Copy the full SHA f1f07c8View commit details -
PR: 130238 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D45139
Configuration menu - View commit details
-
Copy full SHA for a4563f7 - Browse repository at this point
Copy the full SHA a4563f7View commit details -
am64: Allow cpu.h to be included from assembly
Reviewed by: jhibbits, kevans Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45081
Configuration menu - View commit details
-
Copy full SHA for 897d35c - Browse repository at this point
Copy the full SHA 897d35cView commit details -
arm64: Support a shared release for spin-table
When releasing multiple CPUs that share a release address we need them to wait for their turn to boot. Add a mechanism to do this by booting them until they enable the TLB before waiting their turn to enter init_secondary. Reviewed by: jhibbits, kevans Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45082
Configuration menu - View commit details
-
Copy full SHA for fc49bf6 - Browse repository at this point
Copy the full SHA fc49bf6View commit details -
arm64: Flush the spintable release address
Ensure the spintable release address is written back from the cache to memory. The other CPUs reading this may not be reading it with the cache enabled so ensure it is written to the point of coherency before issuing the wakeup sev. As cpu_dcache_wbinv_range includes the needed barrier remove it from the inline asm before the sev instruction. Reviewed by: jhibbits, kevans Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45083
Configuration menu - View commit details
-
Copy full SHA for 822974a - Browse repository at this point
Copy the full SHA 822974aView commit details -
dev/psci: Check all compat strings
When searching for the PSCI FDT node we only check a few compat strings. Use the existing compat_data array to check all strings the driver may attach to. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D44913
Configuration menu - View commit details
-
Copy full SHA for dce9c12 - Browse repository at this point
Copy the full SHA dce9c12View commit details -
arm64/gicv3: Check if the hardware supports LPIs
Some simulators have the ITS in the DTB passed to the kernel, however it is a runtime configuration option to enable it. Check the GICD_TYPER register to see if LPIs are enabled before attaching the ITS driver. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D44914
Configuration menu - View commit details
-
Copy full SHA for 9744b52 - Browse repository at this point
Copy the full SHA 9744b52View commit details -
arm64: Merge common page table creation code
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45061
Configuration menu - View commit details
-
Copy full SHA for 8637e1f - Browse repository at this point
Copy the full SHA 8637e1fView commit details -
arm64: Update the page table list in locore
The comment describing the page tables was out of date. Update it with the current list. Sponsored by: Arm Ltd
Configuration menu - View commit details
-
Copy full SHA for 201afe6 - Browse repository at this point
Copy the full SHA 201afe6View commit details -
cat: Check for lack of success rather than a specific failure.
MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: oshogbo Differential Revision: https://reviews.freebsd.org/D45149
Configuration menu - View commit details
-
Copy full SHA for e840f3f - Browse repository at this point
Copy the full SHA e840f3fView commit details -
MFC after: 3 days Sponsored by: Klara, Inc.
Configuration menu - View commit details
-
Copy full SHA for 76d0f4f - Browse repository at this point
Copy the full SHA 76d0f4fView commit details -
PR: 278847 Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for f88e8d0 - Browse repository at this point
Copy the full SHA f88e8d0View commit details -
Summary: In some cases the TPM utilities may read only a partial block, instead of a full block. If a new command starts while in the middle of a read it may cause the TPM to go catatonic and no longer respond to SPI. Reviewed by: kd Obtained from: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D45140
Configuration menu - View commit details
-
Copy full SHA for ba0b942 - Browse repository at this point
Copy the full SHA ba0b942View commit details -
conf: Generate fdt_static_dtb.h in OBJDIR
Though the kernel build expects ${.OBJDIR} to be equal to ${.CURDIR} that may not always be the case. Correctly generate fdt_static_dtb.h in ${.OBJDIR}, which is conceptually more correct anyway. Obtained from: Juniper Networks, Inc.
Configuration menu - View commit details
-
Copy full SHA for 8414c3c - Browse repository at this point
Copy the full SHA 8414c3cView commit details -
posix: POSIX-1.2008 moved SA_* from XSI to base standard
Starting with POSIX-1.2008, "The SA_RESETHAND, SA_RESTART, SA_SIGINFO, SA_NOCLDWAIT, and SA_NODEFER constants are moved from the XSI option to the Base." Make them so visible. PR: 275328 Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for ef3dd5d - Browse repository at this point
Copy the full SHA ef3dd5dView commit details -
grdc: add countdown timer mode
PR: 35113 Differential Revision: https://reviews.freebsd.org/D43463
Configuration menu - View commit details
-
Copy full SHA for 0bde748 - Browse repository at this point
Copy the full SHA 0bde748View commit details -
Add the stock BSD copyright and license from the 4.4-Lite distribution (indirected by SPDX). Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 9e5c3ad - Browse repository at this point
Copy the full SHA 9e5c3adView commit details -
nvmecontrol: Fix a sizeof mismatch
In this case it is harmless since it is an array of pointers so the resulting length is identical. Reported by: Coverity Scan CID: 1545055 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for fc79ccb - Browse repository at this point
Copy the full SHA fc79ccbView commit details -
nvmf: Use strlcpy instead of strncpy to ensure termination
Reported by: Coverity Scan CID: 1545054 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for ca2224a - Browse repository at this point
Copy the full SHA ca2224aView commit details -
nvmecontrol: Free array of I/O queue pairs on failure to handoff
This is harmless but cleaner. Reported by: Coverity Scan CID: 1545041,1545049 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 15d4893 - Browse repository at this point
Copy the full SHA 15d4893View commit details -
nvmecontrol: Free the addrinfo list when failing to open a TCP socket
Reported by: Coverity Scan CID: 1545048 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for eebd436 - Browse repository at this point
Copy the full SHA eebd436View commit details -
ctl_backend_block: Correct value of NVME nsdata nuse field
Reported by: Coverity Scan CID: 1545043 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for e5e132e - Browse repository at this point
Copy the full SHA e5e132eView commit details -
nvmf_transport: Remove invalid assertion
This is leftover from an earlier iteration of the code where 'nt' was not dynamically allocated but was the passed in 'ops' pointer so was always alive. Reported by: Coverity Scan CID: 1545042 Sponsored by: Chelsio Communications
Configuration menu - View commit details
-
Copy full SHA for 99338a0 - Browse repository at this point
Copy the full SHA 99338a0View commit details -
Also ${XARGS_J} this allows use of non-BSD xargs when building kernel modules. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D45146
Configuration menu - View commit details
-
Copy full SHA for a2162f8 - Browse repository at this point
Copy the full SHA a2162f8View commit details -
madt: print CPU APIC ID as signed int
Instead of printing something like "MADT: Found CPU APIC ID 4294967295 ACPI ID 512: disabled" print the APIC ID as a singed int for a more user-friendly -1. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45158
Configuration menu - View commit details
-
Copy full SHA for ff1ee86 - Browse repository at this point
Copy the full SHA ff1ee86View commit details -
sctp: store cookie secret change time as time_t
Reported by: Coverity Scan CID: 1492349 CID: 1493281 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 9339b86 - Browse repository at this point
Copy the full SHA 9339b86View commit details -
Increase IOAPIC_MAX_ID to 255 (from 254)
A test system provided by AMD panicked with "madt_parse_apics: I/O APIC ID 255 too high". I/O APIC ID 255 is acceptable, so increase the limit. Reviewed by: jhb, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45157
Configuration menu - View commit details
-
Copy full SHA for be803f5 - Browse repository at this point
Copy the full SHA be803f5View commit details -
sctp: store vtag expire time as time_t
Reported by: Coverity Scan CID: 1492525 CID: 1493239 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 4c29956 - Browse repository at this point
Copy the full SHA 4c29956View commit details -
sctp: store heartbeat creation time as time_t
Reported by: Coverity Scan CID: 1493087 MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for eeb5e86 - Browse repository at this point
Copy the full SHA eeb5e86View commit details -
It turns out this wasn't in 4.4BSD. I had a false positive for gdc.c (which is in 4.4BSD, but part of gated, not this). gdc.c comes from the ncurses tests, so it shouldn't have this copyright. This version is mostly Amos Shapir and John Lupien's code. It comes from ncurses test directory. ncurses has made dozens of improvements to this file since we imported it in 1997 (which pre-dates their online history), so it's not clear if their new copyright applies (which doesn't mention Amos or John) or if some other copyright applies. In any case, it wasn't 4.4BSD, so revert this. This reverts commit 6ed7d0e. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 365dfe3 - Browse repository at this point
Copy the full SHA 365dfe3View commit details -
sctp: improve heartbeat timer computation
PR: 278666 Reviewed by: Albin Hellqvist MFC after: 3 days Pull Request: https://reviews.freebsd.org/D45107
Configuration menu - View commit details
-
Copy full SHA for 94dc360 - Browse repository at this point
Copy the full SHA 94dc360View commit details -
md: Merge two switch statements in mdstart_vnode
While here, use bp->bio_cmd instead of auio.uio_rw to drive read vs write behavior. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D45155
Configuration menu - View commit details
-
Copy full SHA for 4a76675 - Browse repository at this point
Copy the full SHA 4a76675View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92a4887 - Browse repository at this point
Copy the full SHA 92a4887View commit details -
vm: Change the return types of kernacc and useracc to bool
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D45156
Configuration menu - View commit details
-
Copy full SHA for 4ed5c79 - Browse repository at this point
Copy the full SHA 4ed5c79View commit details -
linux: Adjust rlimit SIGPENDING & MSGQUEUE behaviour to match linprocfs
Reviewed by: imp Pull Request: freebsd/freebsd-src#1227
Configuration menu - View commit details
-
Copy full SHA for 6e18ee3 - Browse repository at this point
Copy the full SHA 6e18ee3View commit details -
CONTRIBUTING.md/style: spring cleaning
+ move Lua to alphabetize subsections + word manpages like other subsections + man PR's shouldn't bump document date MFC after: (maybe MFC to BETA3 along w/ e7ff917 ?)
Configuration menu - View commit details
-
Copy full SHA for 591891f - Browse repository at this point
Copy the full SHA 591891fView commit details -
tftpd: Add missing
-S
option to synopsis.MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D45129
Configuration menu - View commit details
-
Copy full SHA for 7bf3106 - Browse repository at this point
Copy the full SHA 7bf3106View commit details -
tftpd: Drop unneeded includes.
MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D45130
Configuration menu - View commit details
-
Copy full SHA for 1d1f9d2 - Browse repository at this point
Copy the full SHA 1d1f9d2View commit details -
This went unnoticed due to namespace pollution in our headers. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D45131
Configuration menu - View commit details
-
Copy full SHA for d26188b - Browse repository at this point
Copy the full SHA d26188bView commit details -
tftpd: Satisfy clang-analyzer.
* Replace `random()` with `arc4random()`. * Change some variable types. * Drop some unused assignments. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D45132
Configuration menu - View commit details
-
Copy full SHA for 9caa6ed - Browse repository at this point
Copy the full SHA 9caa6edView commit details -
tftpd: silence gcc overflow warnings
GCC 13 complains that we might be writing too much to an on-stack buffer when createing a filename. In practice there is a check that filename isn't too long given the time format and other static characters so GCC is incorrect, but GCC isn't wrong that we're potentially trying to put a MAXPATHLEN length string + some other characters into a MAXPATHLEN buffer (if you ignore the check GCC can't realistically evaluate at compile time). Switch to snprintf to populate filename to ensure that future logic errors don't result in a stack overflow. Shorten the questionably named yyyymmdd buffer enough to slience the warning (checking the snprintf return value isn't sufficent) while preserving maximum flexibility for admins who use the -F option. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D45086
Configuration menu - View commit details
-
Copy full SHA for b8a049f - Browse repository at this point
Copy the full SHA b8a049fView commit details -
Release notes at https://www.nlnetlabs.nl/news/2024/May/08/unbound-1.20.0-released/ Security: The DNSBomb vulnerability CVE-2024-33655 Merge commit 'c2a80056864d6eda0398fd127dc0ae515b39752b' into main
Configuration menu - View commit details
-
Copy full SHA for 4f467cb - Browse repository at this point
Copy the full SHA 4f467cbView commit details -
kern/intr: remove support for passing trap frame as argument
While otherwise a handy potential approach, getting the trap frame via the argument isn't documented and isn't supposed to be used. With all uses removed, now remove support to end the mixed calling conventions. Differential Revision: https://reviews.freebsd.org/D37688 Reviewed by: imp, mhorne Pull Request: freebsd/freebsd-src#1225
Configuration menu - View commit details
-
Copy full SHA for 90ec168 - Browse repository at this point
Copy the full SHA 90ec168View commit details -
intr: Document how to get the interrupt frame
Document that the only way to get the interrupt thread is to use curthread->td_intr_frame, rather than the old-style of having a NULL pointer for the interrupt thread. As of 38c3524, support for that has been removed. I neglected to update that commit message with these details. Suggested by: mhorne
Configuration menu - View commit details
-
Copy full SHA for c205e0e - Browse repository at this point
Copy the full SHA c205e0eView commit details