-
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-03-01 #2175
Merge FreeBSD 2024-03-01 #2175
Commits on Feb 26, 2024
-
ipsec esp: avoid dereferencing freed secasindex
It is possible that SA was removed while processing packed, in which case it is changed to the DEAD state and it index is removed from the tree. Dereferencing sav->sah then touches freed memory. Reviewed by: ae Sponsored by: NVIDIA networking MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44079
Configuration menu - View commit details
-
Copy full SHA for 1a56620 - Browse repository at this point
Copy the full SHA 1a56620View commit details -
This is a module to setup the XDG directories and environment variables. For now the only usage is to have a XDG_RUNTIME_DIR environment setup at user login. All other environment variable have a default fallback so no need to export them in this module. The directory is created according to the XDG Base directory specification. The default base directory is /var/run/xdg/<username> but can be configured using the runtime_dir=<dir> module option. According to the spec the directory *must* not survive a reboot so adding var_run_enable="YES" to rc.conf is highly recommanded. Reviewed by: des, pauamma (manpages) Differential Revision: https://reviews.freebsd.org/D44011 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 6e69612 - Browse repository at this point
Copy the full SHA 6e69612View commit details -
pam: Always use pam_xdg for session and xdm
This ensure that the XDG_RUNTIME_DIR is always created and the environment variable is present which is a must for any wayland user (at least). The only "cost" of it is a directory is created and unused. Reviewed by: des Differential Revision: https://reviews.freebsd.org/D44012 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 6b9e6f1 - Browse repository at this point
Copy the full SHA 6b9e6f1View commit details -
diff: Fix --expand-tabs and --side-by-side.
* Overhaul column width and padding calculation. * Rewrite print_space() so it is now a) correct and b) understandable. * Rewrite tab expansion in fetch() for the same reason. This brings us in line with GNU diff for all cases I could think of. Sponsored by: Klara, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D44014
Configuration menu - View commit details
-
Copy full SHA for 53de23f - Browse repository at this point
Copy the full SHA 53de23fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312b107 - Browse repository at this point
Copy the full SHA 312b107View commit details -
kern: fix panic with disabled ttys
PR: 277240, 277329 Reviewed by: kib (earlier version) Fixes: f1d0a0c ("jail: Fix information leak.") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44086
Configuration menu - View commit details
-
Copy full SHA for 975d773 - Browse repository at this point
Copy the full SHA 975d773View commit details -
rtld-elf: support either byte-order of hints file
Accept either little-endian or big-endian representation of the ELF hints magic number in the header of a hints file and convert the parameters to the native byte-order of the repsective system. This is a pre-requisite for a planned change to always write the byte order in little-endian format on all architectures. The only relvant architecture that uses big-endian data is powerpc64, and it is not likely that new architectures will choose that representation of data in memory. When all supported architectures use little-endian data in the hints file, the byte swap logic can be enabled for big-endian CPUs at compile time. Up to that point, there is a very small run-time penalty that is paid on all systems to check the byte-order of the hints file and to provide the option to byte-swap the parameters read from the hints file header. This commit contains the changes from review D44080 (which had been split off from this patch for easier review), Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D44053
Configuration menu - View commit details
-
Copy full SHA for 7b77d37 - Browse repository at this point
Copy the full SHA 7b77d37View commit details -
ofwdump: Convert ints that are booleans to bool.
No functional changes... Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for bc4c7e7 - Browse repository at this point
Copy the full SHA bc4c7e7View commit details -
snd_uaudio(4): Fix sample rate selection after 42fdcd9.
The sample rate selection of snd_uaudio(4) at runtime was implicitly relying on a specific order in the device config list. In case a default was set through the hw.usb.uaudio.default_rate sysctl tunable, commit 42fdcd9 removed a duplicate sample rate entry from that list, which inadvertently broke sample rate selection at runtime. Implement sample rate selection in a way that works for any order in the device config list. Reported by: Lexi Winter <[email protected]> MFC after: 1 week Reviewed by: christos Differential Revision: https://reviews.freebsd.org/D44051
Configuration menu - View commit details
-
Copy full SHA for a9341f0 - Browse repository at this point
Copy the full SHA a9341f0View commit details -
Ignore the "manual not found" warnings for snd_ai2s(4) and snd_davbus(4). Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D43996
Configuration menu - View commit details
-
Copy full SHA for 8bfb23a - Browse repository at this point
Copy the full SHA 8bfb23aView commit details
Commits on Feb 27, 2024
-
Add loader.exit(status). While one can get alomst this behavior with loader.perform("quit"), quit doesn't allow a value to be returned to the firmware. The interpretation of 'status' is firmware specific. This can be used when autobooting doesn't work in scripts, for example, to allow the firmware to try something else... Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44094
Configuration menu - View commit details
-
Copy full SHA for 9398a49 - Browse repository at this point
Copy the full SHA 9398a49View commit details -
pam_xdg: Remove leftover debug printf
Sponsored by: Beckhoff Automation GmbH & Co. KG Fixes: 6e69612 ("pam: Add pam_xdg module")
Configuration menu - View commit details
-
Copy full SHA for 8432990 - Browse repository at this point
Copy the full SHA 8432990View commit details -
pam_xdg: Check asprintf return value
Reported by: Shawn Webb <[email protected]> Sponsored by: Beckhoff Automation GmbH & Co. KG Fixes: 6e69612 ("pam: Add pam_xdg module")
Configuration menu - View commit details
-
Copy full SHA for 2d2950c - Browse repository at this point
Copy the full SHA 2d2950cView commit details -
Otherwise on success it ontain the return value of asprintf. Sponsored by: Beckhoff Automation GmbH & Co. KG Fixes: 2d2950c ("pam_xdg: Check asprintf return value")
Configuration menu - View commit details
-
Copy full SHA for 5acbe6d - Browse repository at this point
Copy the full SHA 5acbe6dView commit details -
PP mutexes: unlock: Reset inherited prio regardless of privileges
'uq_inherited_pri' contains the current priority inherited from Priority Protection mutexes. If -1 is passed through 'm_ceilings[1]', meaning that there are no such mutexes held anymore, this must be reflected into it by setting it to PRI_MAX, regardless of whether the thread has privilege to set realtime priorities (PRI_MAX is also obviously not a realtime priority level). By contrast, it shall not be updated and the computed 'new_inherited_pri' shall stay unused if the thread doesn't have the ability to set a realtime priority, possibly keeping an older such priority acquired previously. Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43984
Configuration menu - View commit details
-
Copy full SHA for 1df8700 - Browse repository at this point
Copy the full SHA 1df8700View commit details -
PP mutexes: lock: Check if priority is too high against base one
Doing this instead of using the current (user) priority, which includes current lendings, prevents gratuitous failures for threads involved in multiple locking groups, where each group is defined as the threads that can lock a particular PP or PI mutex. No deadlock can occur in this case. Indeed, if a thread holds such a lock A giving it a higher priority than the ceiling of some other lock B that is PP, and B is acquired by another thread, effectively the latter may not be able to run but this situation can only last until the first thread releases A, which it will do eventually. Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44044
Configuration menu - View commit details
-
Copy full SHA for 9ac3ac9 - Browse repository at this point
Copy the full SHA 9ac3ac9View commit details -
PP mutexes: lock: Reduce 'umtx_lock' holding before taking the user lock
There is no need to have it for the priority check (that the thread doesn't have a higher priority than the mutex's ceiling), and there's also no need to take it if the thread doesn't have privileges to set its priority to the mutex's ceiling. While here, turn 'su' into a 'bool' and compute the internal priority corresponding to the mutex's ceiling once and for all, putting it in new 'new_pri'. Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44045
Configuration menu - View commit details
-
Copy full SHA for 39e4665 - Browse repository at this point
Copy the full SHA 39e4665View commit details -
sched: Simplify sched_lend_user_prio_cond()
If 'td_lend_user_pri' has the expected value, there is no need to check the fields that sched_lend_user_prio() modifies, they either are already good or soon will be ('td->td_lend_user_pri' has just been changed by a concurrent update). Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44050
Configuration menu - View commit details
-
Copy full SHA for aeff15b - Browse repository at this point
Copy the full SHA aeff15bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81b7ebe - Browse repository at this point
Copy the full SHA 81b7ebeView commit details -
vge(4): Fix a typo in a source code comment
- s/opration/operation/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 04d5a8a - Browse repository at this point
Copy the full SHA 04d5a8aView commit details -
dumprestore.h: Fix typos in source code comments
- s/dumpped/dumped/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 8f87d40 - Browse repository at this point
Copy the full SHA 8f87d40View commit details -
Configuration menu - View commit details
-
Copy full SHA for cce3a70 - Browse repository at this point
Copy the full SHA cce3a70View commit details -
pf: fix packet-to-big for route-to as well
When we handle a packet via route-to (i.e. pf_route6()) we still need to verify the MTU. However, we only run that check in the forwarding case. Set the PFIL_FWD tag when running the pf_test6(PF_OUT) check from pf_route6(). We are in fact forwarding, so should call the test function as such. This will cause us to run the MTU check, and generate an ICMP6 packet-too-big error when required. See also: 54c62e3 See also: f1c0030 See also: https://redmine.pfsense.org/issues/14290 Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for 9566d92 - Browse repository at this point
Copy the full SHA 9566d92View commit details -
bxe(4): Fix two typos in a kernel messages
- s/successfull/successful/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for e2f3649 - Browse repository at this point
Copy the full SHA e2f3649View commit details -
carp(4): Fix a typo in a source code comment
- s/successfull/successful/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 6bce41a - Browse repository at this point
Copy the full SHA 6bce41aView commit details -
CTL: Drop Format Device and Rigid Disk Geometry mode pages
Those mode pages are obsolete since SBC-2 specification almost 20 years ago. First I was trying to understand possible relations between physical block and physical sector terms in different specs. Then was thinking about possible relations to device CHS geometry and compatibility issues. Finally I just decided that none of it worth the efforts and should rest in piece. PR: 276524
Configuration menu - View commit details
-
Copy full SHA for 7c667af - Browse repository at this point
Copy the full SHA 7c667afView commit details -
rman: Remove rman_set_start/end
These functions are not safe as the rman implementation assumes that all regions (including allocated resources) are sorted by address in the internal linked-list. Differential Revision: https://reviews.freebsd.org/D43936
Configuration menu - View commit details
-
Copy full SHA for 04fc3fb - Browse repository at this point
Copy the full SHA 04fc3fbView commit details -
Reviewed by: dsl Differential Revision: https://reviews.freebsd.org/D43937
Configuration menu - View commit details
-
Copy full SHA for 9b619f0 - Browse repository at this point
Copy the full SHA 9b619f0View commit details -
bhnd_usb: Use bus_generic_rman_*
For SYS_RES_MEMORY, use bus_generic_rman_* for activate/deactivate_resource methods as well as custom map/unmap_resource methods that request submappings of the sc_mem resource allocated from the parent bus. Differential Revision: https://reviews.freebsd.org/D43938
Configuration menu - View commit details
-
Copy full SHA for b25f03a - Browse repository at this point
Copy the full SHA b25f03aView commit details -
bhnd_chipc: Make use of bus_generic_rman_* to simplify some code
This uses bus_generic_rman_alloc/release_resource to reduce some code duplication. However, I've left the custom activate/deactivate methods as-is. Differential Revision: https://reviews.freebsd.org/D43939
Configuration menu - View commit details
-
Copy full SHA for 3a48dfe - Browse repository at this point
Copy the full SHA 3a48dfeView commit details -
mkimg.1: add new PARTITION SPECIFICATION section
The specification follows a commentary to the function parse_part() in the source code and the code itself. MFC after: 3 days
Eugene Grosbein authored and Eugene Grosbein committedFeb 27, 2024 Configuration menu - View commit details
-
Copy full SHA for d1797fb - Browse repository at this point
Copy the full SHA d1797fbView commit details -
netlink: Don't use a zero-length array
Define SNL_DECLARE_FIELD_PARSER* macros to create a parser that has no output attributes only input fields and use this to define the snl_donemsg_parser. This removes the need for the zero-length nla_p_donemsg[] variable. Zero length arrays are not valid in ISO C. Reviewed by: jrtc27, melifaro Differential Revision: https://reviews.freebsd.org/D43918
Configuration menu - View commit details
-
Copy full SHA for 69945c4 - Browse repository at this point
Copy the full SHA 69945c4View commit details -
netlink: restore original buffer if nlmsgs_to_linux() fails
Caller is responsible to free it or reuse. Fixes: 17083b9
Configuration menu - View commit details
-
Copy full SHA for 41ce9c8 - Browse repository at this point
Copy the full SHA 41ce9c8View commit details -
Add share/mk/local.dirdeps-targets.mk
To include site.dirdeps-targets.mk
Configuration menu - View commit details
-
Copy full SHA for 8aea77b - Browse repository at this point
Copy the full SHA 8aea77bView commit details -
It conflicts with the general "DEBUG" macro defined as an option in LINT builds. Since this is actually unused, just rename it to GMAC_DEBUG. Reviewed by: manu MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44102
Configuration menu - View commit details
-
Copy full SHA for fae39d8 - Browse repository at this point
Copy the full SHA fae39d8View commit details -
conf: deduplicate dwc config logic
Move the core dwc(4) file entries to the MI conf/files. Platform-specific versions e.g. rk_dwc are retained in their current position. On arm64 this necessitates adding an additional 'device dwc' option. This hardware is found on several available/emerging RISC-V SoCs, so we will soon need it on this architecture. Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44103
Configuration menu - View commit details
-
Copy full SHA for a01dc14 - Browse repository at this point
Copy the full SHA a01dc14View commit details -
conf: deduplicate dwmmc config logic
The core of this driver is supported by multiple architectures. Move the config entries to the MI conf/files. This hardware is found on several available/emerging RISC-V SoCs, so we will soon need it on this architecture. Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44104
Configuration menu - View commit details
-
Copy full SHA for f84e9df - Browse repository at this point
Copy the full SHA f84e9dfView commit details -
riscv: add dwc, dwmmc to NOTES
In the future these drivers will be enabled in GENERIC. For now, ensure they build with LINT. Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for 036ce93 - Browse repository at this point
Copy the full SHA 036ce93View commit details -
riscv: add starfive kernelconf template
Enable the Synopsis UART driver. Other drivers will be added in the future. Reviewed by: jrtc27 Sponsored by: The FreeBSD Foundatino Differential Revision: https://reviews.freebsd.org/D44105
Configuration menu - View commit details
-
Copy full SHA for 749e318 - Browse repository at this point
Copy the full SHA 749e318View commit details
Commits on Feb 28, 2024
-
rc: Set var_run_enable to enable by default
This will load/save the /var/run directories at boot/shutdown if and only if /var/run/ is a tmpfs mount so it is a win for tmpfs users and a no-op for everyone else. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D44097 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 72b0453 - Browse repository at this point
Copy the full SHA 72b0453View commit details -
nvmecontrol.8: Fix the SYNOPSIS section
The manpage of nvmecontrol(8) has the following SYNOPSIS: nvmecontrol format [-f fmt] [-m mset] [-o pi] [-l pil] [-E] [-C] <device-id | namespace-id> The correct switch for the pi option is -p according to sbin/nvmecontrol/format.c: OPT("pi", 'p', arg_uint32, opt, pi, "Protective information") So correct the SYNOPSIS section accordingly. PR: 276554 Reviewed by: imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D44099
Configuration menu - View commit details
-
Copy full SHA for 77f6c0c - Browse repository at this point
Copy the full SHA 77f6c0cView commit details -
The last example in the manpage md5(1) wants to demonstrate GNU mode (md5sum), but uses BSD mode (md5) instead: In GNU mode, the -c option does not compare against a hash string passed as parameter. Instead, it expects a digest file, as created under the name digest for /boot/loader.conf in the example above. PR: 276560 Reviewed by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D44098
Configuration menu - View commit details
-
Copy full SHA for 865baea - Browse repository at this point
Copy the full SHA 865baeaView commit details -
stand: Remove dangling mips references
Remove mips support files from ficl. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 07d6006 - Browse repository at this point
Copy the full SHA 07d6006View commit details -
gicv3: Change how we initialize its children.
The current code is written such that all the attach routines can do so in parallel. However, newbus serializes children today, and is likely to do so in the future. Only allocate memory for the first time. Add an assertion that this memory is allocated for larger units. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44032
Configuration menu - View commit details
-
Copy full SHA for 15c8a61 - Browse repository at this point
Copy the full SHA 15c8a61View commit details -
gicv3: Panic if the gicv3 already running
Due to undefined behavior, it's impossible to re-program a gicv3 ITS table once it's programmed once. Memory corruption happens otherwise. Panic if we detect the LPI is already enabled. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44033
Configuration menu - View commit details
-
Copy full SHA for 51c57ca - Browse repository at this point
Copy the full SHA 51c57caView commit details -
gicv3: Don't allocate pend_base if we're already started
If the gicv3 is already started, then don't allocate memory for the pend_base tables. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44034
Configuration menu - View commit details
-
Copy full SHA for ddd98f5 - Browse repository at this point
Copy the full SHA ddd98f5View commit details -
gicv3: Only set the redistributor base if we're not prealloced
Only set the redistributor base if we're not reallocated. If we are preallocated, leave it all alone. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44035
Configuration menu - View commit details
-
Copy full SHA for ae84491 - Browse repository at this point
Copy the full SHA ae84491View commit details -
gicv3: Report PENDBASE when bootverbose
Report some stats about PENDBASE when we're running under bootverbose. We don't do this by default because experience has been excess output in this routine hangs the system. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44036
Configuration menu - View commit details
-
Copy full SHA for b4368e8 - Browse repository at this point
Copy the full SHA b4368e8View commit details -
gicv3: Define PA masks for the PENDBASR and PROPBASER registers
Define masks for these registers to find the PA of where these are pointing. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44096
Configuration menu - View commit details
-
Copy full SHA for a3f164a - Browse repository at this point
Copy the full SHA a3f164aView commit details -
gicv3: In its_init_cpu_lpi record each cpu's PENDBASER
When we're using the preallocated memory for gicv3, record each cpu's PENDBASER where we'd normally allocate memory for it. Make sure that memory is in the excluded list and map the PA to VA and store that, to mimic what we do with the allocation case. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44037
Configuration menu - View commit details
-
Copy full SHA for 1d13cc2 - Browse repository at this point
Copy the full SHA 1d13cc2View commit details -
gicv3: If the LPI is already allocated, remember it
If the LPI Configuration Tabel has been pre-allocated by the boot loader, then we have to remember PROPBASER and use it rather than allocating memory for it ourselves. Linux provides us with a reserved table that contains all the gicv3 allocations, so make sure what we read from PROPBASER matches something in that table. Normally, bare metal boot loaders leave the gic in a reset state. However, Linux brings it up fully so it can do I/O to boot the next kernel via kexec. Since the gicv3 PENDBASER can't be reset while running due to undefined behavior, we must reuse what's there for both PENDBASER and PROPBASER. With this commit, the workaround is complete. Details are at https://lkml.iu.edu/hypermail/linux/kernel/1809.2/06246.html and pointers in the thread. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44038
Configuration menu - View commit details
-
Copy full SHA for cb4a83c - Browse repository at this point
Copy the full SHA cb4a83cView commit details -
ota: Import One True Awk from 20240122 (6a07a6d3bb63)
Jan 22, 2024: Restore the ability to compile with g++. Thanks to Arnold Robbins. Dec 24, 2023: Matchop dereference after free problem fix when the first argument is a function call. Thanks to Oguz Ismail Uysal. Fix inconsistent handling of --csv and FS set in the command line. Thanks to Wilbert van der Poel. Casting changes to int for is* functions. Nov 27, 2023: Fix exit status of system on MacOS. Update to REGRESS. Thanks to Arnold Robbins. Fix inconsistent handling of -F and --csv, and loss of csv mode when FS is set. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for e8a605e - Browse repository at this point
Copy the full SHA e8a605eView commit details -
lorder: Clean up and improve robustness.
* Properly parse (no) command-line options. * Ensure that errors go to stderr and result in a non-zero exit. * Drop the special-case code for a single argument, as it will produce the wrong outcome if the file does not exist or is corrupted. * Don't print anything until after we've collected all the data. * Always create all temporary files before setting the trap. This ensures that the trap can safely fire at any moment, regardless of any previous definition of `T`. * Use a temporary file rather than a pipe between `nm` and `sed` to ensure proper termination if `nm` fails due to a missing or invalid input. * The check for self-referential entries was conditional on testing our argument list against a regex looking for archives. This was a needless and unreliable optimization; make the check unconditional. * Document that lorder will not work properly if any of its inputs have spaces in their name. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44133
Configuration menu - View commit details
-
Copy full SHA for 5c7b986 - Browse repository at this point
Copy the full SHA 5c7b986View commit details -
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44134
Configuration menu - View commit details
-
Copy full SHA for 96da41b - Browse repository at this point
Copy the full SHA 96da41bView commit details -
While lorder is not required by our current toolchain (or any toolchain we've used in the past decade or two), it still occasionally shows up in build systems of third party software, including The Open Group's UNIX conformance test suite, and the maintenance cost is negligible. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: imp, allanjude, emaste Differential Revision: https://reviews.freebsd.org/D44135
Configuration menu - View commit details
-
Copy full SHA for cf4d9bf - Browse repository at this point
Copy the full SHA cf4d9bfView commit details -
ldconfig: support hints files of either byte-order
Make the ldconfig program accept hints files in little-endian and big-endian format on all architectures. The default format is the native byte-order of the respective host. This is expected to change when a version of the pkg command is available that implements support for either byte-order in its internal ldconfig function. (Already committed in the development tree of the pkg utility, a release is expected at the end of Q1/2024). This update adds the -B option to the ldconfig program. It enforces the creation of a big-endian hints file on a little-endian host. The main purpose to is support of tests with non-native byte-order files on little-endian hosts. It will be removed when all supported FreeBSD releases use little-endian hints files by default. When little-endian hints files are generally used, support of either byte-order in libexec/rtld can also be removed. When support for big-endian hints files is no longer required, the COND_SWAP macro in ldconfig and rtld shall be replaced by le32toh(), which just return their argument on little-endian architectures. Approved by: kib MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D44093
Configuration menu - View commit details
-
Copy full SHA for e0dfeca - Browse repository at this point
Copy the full SHA e0dfecaView commit details -
Reviewed by: melifaro MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44088
Configuration menu - View commit details
-
Copy full SHA for 48f33b5 - Browse repository at this point
Copy the full SHA 48f33b5View commit details -
netlink: add bool type support
Reviewed by: melifaro Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44089
Configuration menu - View commit details
-
Copy full SHA for dfed87b - Browse repository at this point
Copy the full SHA dfed87bView commit details -
pf: convert kill/clear state to use netlink
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44090
Configuration menu - View commit details
-
Copy full SHA for 706d465 - Browse repository at this point
Copy the full SHA 706d465View commit details -
socket tests: remove MSG_TRUNC test for unix/seqpacket
The PF_UNIX/SOCK_SEQPACKET was marked as PR_ATOMIC and that made soreceive_generic() to treat it pretty much as a datagram socket. However, POSIX says: The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type, and is also connection-oriented. The only difference between these types is that record boundaries are maintained using the SOCK_SEQPACKET type. A record can be sent using one or more output operations and received using one or more input operations, but a single operation never transfers parts of more than one record. Record boundaries are visible to the receiver via the MSG_EOR flag in the received message flags returned by the recvmsg() function. It is protocol-specific whether a maximum record size is imposed. What the test was doing is checking if MSG_TRUNC would report the space required to return up the end of next mbuf record in the socket buffer. Apparently the test assumed that this boundary is defined by the write(2) size on the peer socket. This was true in test conditions, but I'm not sure it would always be true - sbcompress() may merge mbufs. Anyway, the mbuf boundaries are internal socket buffer implementation, they are not SOCK_SEQPACKET records. The records need to be explicitly marked with MSG_EOR by sender, and the test definitely wasn't doing that. Reviewed by: tuexen, markj Differential Revision: https://reviews.freebsd.org/D43707
Configuration menu - View commit details
-
Copy full SHA for 152a6d4 - Browse repository at this point
Copy the full SHA 152a6d4View commit details -
tests/unix_seqpacket: remove EMSGSIZE tests
These tests were not testing conformance to the specification, rather than the limitation of our implementation. The specification doesn't say that a SOCK_SEQPACKET shall ever return EMSGSIZE. It says: The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type, and is also connection-oriented. The only difference between these types is that record boundaries are maintained using the SOCK_SEQPACKET type. A record can be sent using one or more output operations and received using one or more input operations, but a single operation never transfers parts of more than one record. Record boundaries are visible to the receiver via the MSG_EOR flag in the received message flags returned by the recvmsg() function. It is protocol-specific whether a maximum record size is imposed. The EMSGSIZE is specified as 'message is too large to be sent all at once, as the socket requires'. Indeed existing implementation that has unix/seqpacket marked as PR_ATOMIC has such a limitation. But future implementation won't have, thus remove the tests. Reviewed by: tuexen, asomers Differential Revision: https://reviews.freebsd.org/D43756
Configuration menu - View commit details
-
Copy full SHA for d6ef964 - Browse repository at this point
Copy the full SHA d6ef964View commit details -
tests/unix_seqpacket: provide function that returns bound & listening…
… sock Use the function in mk_pair_of_sockets(), and in four existing tests - 'listen_bound', 'connect', 'shutdown_send' and 'shutdown_send_sigpipe'. While here make mk_pair_of_sockets() return pointer to sockaddr_un instead of path. This also fixes bug of returning pointer to stack memory of returning function. However, the only caller that cares about this return is temporarily ifdefed out. No functional change intended. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D43852
Configuration menu - View commit details
-
Copy full SHA for 1f46c32 - Browse repository at this point
Copy the full SHA 1f46c32View commit details -
tests/unix_seqpacket: test that data can be sent before accept(2)
This is undocumented feature of PF_UNIX/SOCK_STREAM and thus of PF_UNIX/SOCK_SEQPACKET, too. Put the test into this file, since this file is most advanced and has all primitives to write this test in minimum number of lines. Differential Revision: https://reviews.freebsd.org/D43853
Configuration menu - View commit details
-
Copy full SHA for 3bc122d - Browse repository at this point
Copy the full SHA 3bc122dView commit details -
tests/unix_seqpacket: test that implied connect doesn't work
Applies both to SOCK_STREAM and SOCK_SEQPACKET. Put the test in this file as it is most advanced one. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D43854
Configuration menu - View commit details
-
Copy full SHA for 253d8a1 - Browse repository at this point
Copy the full SHA 253d8a1View commit details -
lib{c,sys}: expose cap_sandboxed from libc/gen
It's a thin wrapper on cap_getmode() implemented in libc, not a system call so the symbol should have been exposed by libc/gen/Symbol.map alongside the implementation. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44110
Configuration menu - View commit details
-
Copy full SHA for 882d9f4 - Browse repository at this point
Copy the full SHA 882d9f4View commit details -
sockets: in solisten_proto() don't call sbdestroy() on a PR_SOCKBUF
A socket marked with PR_SOCKBUF has protocol specific socket buffers and will take care of the in its pr_listen method. Right now we don't have any sockets that can listen and are PR_SOCKBUF, but that will change soon.
Configuration menu - View commit details
-
Copy full SHA for 7ee47c3 - Browse repository at this point
Copy the full SHA 7ee47c3View commit details
Commits on Feb 29, 2024
-
rtld: unconditionally generate map file during build
It is needed at least to ensure that undesirable code is not linked into rtld from libsys/libc, and adding the map file option each time is not productive. Reviewed by: brooks, emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44136
Configuration menu - View commit details
-
Copy full SHA for 7999401 - Browse repository at this point
Copy the full SHA 7999401View commit details -
rtld: use generated map file to check for some leaks from libc into rtld
Reviewed by: brooks, emaste (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44136
Configuration menu - View commit details
-
Copy full SHA for 5db5c6c - Browse repository at this point
Copy the full SHA 5db5c6cView commit details -
powerpc: Bump maximum number of FDT reserved mem entries
Newer firmware on POWER systems, including v2.10 of the Talos II and Blackbird firmware can end up reserving more than 32 memory regions in the device tree, which exceeded an assumption made by ofw_machdep.c's excise_fdt_reserved(). Bump the maximum number of FDT reservations to the next power of 2 in order to fix booting on newer firmware. PR: 277097 Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D44015
Configuration menu - View commit details
-
Copy full SHA for b52dceb - Browse repository at this point
Copy the full SHA b52dcebView commit details -
Update the Arm Optimized Routine library to v24.01
Sponsored by: Arm Ltd
Configuration menu - View commit details
-
Copy full SHA for 5a02ffc - Browse repository at this point
Copy the full SHA 5a02ffcView commit details -
usbconfig: allow to get usb vendors and products from the usb.ids dat…
…abase Reviewed by: emaste, manu Differential Revision: https://reviews.freebsd.org/D3392
Configuration menu - View commit details
-
Copy full SHA for 8fe86d9 - Browse repository at this point
Copy the full SHA 8fe86d9View commit details -
usb_vendors: add new usb_vendors
usb_vendors is a local copy of usb.ids (similar to pci_vendors) It is now used by usbconfig(1) when listing the devices.
Configuration menu - View commit details
-
Copy full SHA for db1d086 - Browse repository at this point
Copy the full SHA db1d086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a98d9d - Browse repository at this point
Copy the full SHA 5a98d9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76f58d4 - Browse repository at this point
Copy the full SHA 76f58d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddca081 - Browse repository at this point
Copy the full SHA ddca081View commit details -
lorder: Don't rely on legacy syntax.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44155
Configuration menu - View commit details
-
Copy full SHA for aedb37d - Browse repository at this point
Copy the full SHA aedb37dView commit details -
lorder: Tweak invalid file test.
Different implementations of `nm` have different ways of telling you that your file is not a valid object or library, but they all seem to have “not recognized” as a common substring. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44154
Configuration menu - View commit details
-
Copy full SHA for aa80cfa - Browse repository at this point
Copy the full SHA aa80cfaView commit details -
loader/zfs: Fix to actually return the last error
The last fix, to try to return the last error, really returns the first return code after the last error, which could be zero. Instead, return the last error. Also, change rc to err to make it visually distinct from rv, which is the cause of my error in e54bb0a. Reported by: Bill Sommerfeld <[email protected]> Fixes: e54bb0a Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 525e6d6 - Browse repository at this point
Copy the full SHA 525e6d6View commit details -
loader/efi: Small diff reduction
Make doing the boot once protocol more similar to copies of this code. Sponsored by: Netflix Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D44007
Configuration menu - View commit details
-
Copy full SHA for 2425dbd - Browse repository at this point
Copy the full SHA 2425dbdView commit details -
kernel: Sync ldscript files wrt gnu.attributes and .note.GNU-stack
Bring the keeping of .gnu.attributes to all architectures. Also discard .note.GNU-stack on all archtiectures. Plus delete obsolete comment that was removed from i386 in 2010. Sponsored by: Netflix Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44069
Configuration menu - View commit details
-
Copy full SHA for 23dff4f - Browse repository at this point
Copy the full SHA 23dff4fView commit details -
firmware: load binary firmware files
When we can't find a .ko module to satisfy the firmware request, try harder by looking for a file to read in directly. We compose this file's name by appending the imagename parameter to the firmware path (currently hard-wired to be /boot/firmware, future plans are for a path). Allow this file to be unloaded when firmware_put() releases the last reference, but we don't need to do the indirection and dance we need to do when unloading the .ko that will unregister the firmware. Sponsored by: Netflix Reviewed by: manu, jhb Differential Revision: https://reviews.freebsd.org/D43555
Configuration menu - View commit details
-
Copy full SHA for c7b1e98 - Browse repository at this point
Copy the full SHA c7b1e98View commit details -
firmware: Allow binary files to be loaded by /boot/loader
Files loaded "-t firmware" (or module_type="firmware"). They are registered with the firmware system using the full path to the file. There's only one firmware per file, and it is the entire file. We do an extra firmware_get() on any firmware we find here to prevent them from ever being unloaded (we can't handle that case sanely). Sponsored by: Netflix Reviewed by: tsoome, jhb Differential Revision: https://reviews.freebsd.org/D43522
Configuration menu - View commit details
-
Copy full SHA for 479905a - Browse repository at this point
Copy the full SHA 479905aView commit details -
firmware: document new native file loading.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D43611
Configuration menu - View commit details
-
Copy full SHA for 9478c7f - Browse repository at this point
Copy the full SHA 9478c7fView commit details -
Reported by: Gary Jennejohn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73157ce - Browse repository at this point
Copy the full SHA 73157ceView commit details -
Merge one true awk from 2024-01-22 for the Awk Second Edition support
This brings in Unicode support, CSV support and a number of bug fixes. They are described in _The AWK Programming Language_, Second Edition, by Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley, 2024, ISBN-13 978-0138269722, ISBN-10 0138269726). Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for f32a640 - Browse repository at this point
Copy the full SHA f32a640View commit details -
Use proper format specifiers (with casts) and don't redefine flags. Fixes: c7b1e98 Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 3a3afbe - Browse repository at this point
Copy the full SHA 3a3afbeView commit details -
Just after 12.2 and before the stable/13 branch, kevans added lpager.c to provide a pager interface for commands written in lua. It was merged into 12.3. Now that 12.2 is long since EOL, we can remove the pager shim here. Nobody needs that old loader + new lua scripts. Plus only one command is affected. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44142
Configuration menu - View commit details
-
Copy full SHA for 8b9178c - Browse repository at this point
Copy the full SHA 8b9178cView commit details -
loader/lua: Remove compat shim for loader.lua_path
loader.lua_path was committed before stable/13 was branched, and merged in to for 12.2. Remove workaround for it not being present. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44143
Configuration menu - View commit details
-
Copy full SHA for ab97d42 - Browse repository at this point
Copy the full SHA ab97d42View commit details -
loader/lua: Remove workaround for command_error
loader.command_error was available prior to stable/12 branching. No need to check if it is available or not. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44144
Configuration menu - View commit details
-
Copy full SHA for 552f307 - Browse repository at this point
Copy the full SHA 552f307View commit details -
libsys: reduce makefile declaration duplication
Every PSEUDO entry (_foo.o) has a corresponding NOASM entry (foo.o) to suppress its addition to ASM. Check PSEUDO instead when adding entries to ASM. No functional change. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44106
Configuration menu - View commit details
-
Copy full SHA for e52a917 - Browse repository at this point
Copy the full SHA e52a917View commit details -
libsys: consolidate PSEUDO definitions
Consolidate in preparation for further cleanup. Also relocate the sole NOASM entry. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44107
Configuration menu - View commit details
-
Copy full SHA for f102db5 - Browse repository at this point
Copy the full SHA f102db5View commit details -
libsys: make PSEUDO take a bare syscall name
Rather than having PSEUDO be a list of object files when all consumers want syscall names or source files, make it a list of bare syscall names like INTERPOSED (which is built on PSEUDO). Improve document of variables developers can set. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44108
Configuration menu - View commit details
-
Copy full SHA for 6d3f4dc - Browse repository at this point
Copy the full SHA 6d3f4dcView commit details -
lib{c,sys}: expose _getlogin consistently
Historically we exposed _getlogin as a private symbol on a per-arch basis (except on aarch64 and riscv) for no obvious reason. We now need to expose it for libc's use so remove the special case from makesyscalls.lua and expose it in the generated syscalls.map. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44116
Configuration menu - View commit details
-
Copy full SHA for 304cdac - Browse repository at this point
Copy the full SHA 304cdacView commit details
Commits on Mar 1, 2024
-
Cirrus-CI: bump Clang versions to 16 and 17
Clang/LLVM 17 is currently the in-tree default compiler, so use it as the default Cirrus-CI toolchain. Clang/LLVM 18 is coming soon and needs to be added here, but I ran into trouble with llvm18-lite package availability so will look at that later. Reviewed by: dim (earlier), Jose Luis Duran Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44162
Configuration menu - View commit details
-
Copy full SHA for 51c6bf0 - Browse repository at this point
Copy the full SHA 51c6bf0View commit details -
pf: support if-bound with reply-to
On reply-to we don't know what interface to bind to when we create the state. Create any reply-to state as floating, but bind to the appropriate interface once we're handling the reply. See also: https://redmine.pfsense.org/issues/15220 Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for 6460322 - Browse repository at this point
Copy the full SHA 6460322View commit details -
pf tests: IPv6 versions of the route-to/reply-to if-bound tests
Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for fb99582 - Browse repository at this point
Copy the full SHA fb99582View commit details -
pam_xdg: Close the dir after removal
CID: 1534878 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 56ec98a - Browse repository at this point
Copy the full SHA 56ec98aView commit details -
ldconfig: remove ignored -v (verbose) option
The -v option used to print useful information when operating on a.out format libraries. After the removal of a.out support, it was accepted but did not have any effect. Remove the option and update the man-page. While here mention the set of historic options that are accepted but ignored: "-elf", "-s", and "-v". The FILES section contained outdated information and did not mention the way library directories of optional ports and packages are included in the library search path recorded in the hints file. The description of the "-B" option was incorrect (described a planned change) for big-endian platforms (powerpc64). These do still default to big-endian hints files, since the current version of the "pkg" program expects the hints file to be in native byte-order. Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D44139
Configuration menu - View commit details
-
Copy full SHA for 484de86 - Browse repository at this point
Copy the full SHA 484de86View commit details -
CODEOWNERS: Add Stephane Rochoy
Stephane Rochoy isn't quite the maintainer of these items, but has an interest in them. As an experiment, see if this is a viable thing to do.
Configuration menu - View commit details
-
Copy full SHA for 0854004 - Browse repository at this point
Copy the full SHA 0854004View commit details -
Cirrus-CI: Add manual Clang 18 jobs
Work is in progress to import Clang/LLVM 18 as the base system compiler. llvm18-lite is not yet in the quarterly package set but but will be available in the not too distant future, and is available for src forks that switch to latest packages. Add manual llvm18 jobs now so that they can be used for testing. Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for 2423565 - Browse repository at this point
Copy the full SHA 2423565View commit details -
mqueuefs: fix statfs report to not signal file system full
Synthetic file systems that do not actually allocate file system blocks or inodes should report that they have space available and that they provide 0 inodes, in order to prevent capacity monitoring tools from warning about resource exhaustion. This has been fixed in all other synthetic file systems in base in commit 88a795e, but this file was overlooked since its name does not indicate that it also provides a file system. MFC after: 1 month
Configuration menu - View commit details
-
Copy full SHA for b307cfe - Browse repository at this point
Copy the full SHA b307cfeView commit details -
arm64: Fix typo in pagetable_l0_ttbr0_bootstrap symbol name
Obtained from: CheriBSD
Configuration menu - View commit details
-
Copy full SHA for c6a6ec8 - Browse repository at this point
Copy the full SHA c6a6ec8View commit details -
HTPS has actually three states not two so the macro needs to account …
…for that. Ok lets fix up the tcp_in_hpts() so that it also says yes if you are in the race state moving and you are scheduled to be put in. This also requires changing the MPASS to be the old version non inline function of tcp_in_hpts(). This change also adds a new inline macro so that a uint64_t timestamp can be obtained by a transport (aka Rack will use this). Reviewed by: glebius, tuexen Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D44157
Randall Stewart authored and Randall Stewart committedMar 1, 2024 Configuration menu - View commit details
-
Copy full SHA for 638b5ae - Browse repository at this point
Copy the full SHA 638b5aeView commit details -
nvme: Firmware revisions in the firmware slot info logpage are ASCII …
…strings In particular, don't try to byteswap the values as 64-bit integers and always print a non-empty version as a string. Reviewed by: chuck, imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44121
Configuration menu - View commit details
-
Copy full SHA for 7485926 - Browse repository at this point
Copy the full SHA 7485926View commit details -
pci_host_generic: Enumerate resource ranges under bootverbose
Previously ranges were only enumerated for the FDT attachment but not ACPI. This commit moves the enumeration to the shared attach routine so it is done for both. While here, don't list empty ranges but do include the resource type for each range. Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44132
Configuration menu - View commit details
-
Copy full SHA for b286700 - Browse repository at this point
Copy the full SHA b286700View commit details -
First batch of word smithing: /boot, /dev and /etc. Improved wording and a few missing files added, though /dev is by no means complete. Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for 03ee091 - Browse repository at this point
Copy the full SHA 03ee091View commit details -
hier.7: various improvements m-s
Second batch of word smithing: /media, /mnt, /nonexistant, /rescue, /sbin: Improved wording and a few missing files added Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for 94dedfd - Browse repository at this point
Copy the full SHA 94dedfdView commit details -
hier.7: various improvements usr (no src)
Third batch of word smithing: /usr but not /usr/src: Improved wording and a few missing files added. Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for a5b0727 - Browse repository at this point
Copy the full SHA a5b0727View commit details -
hier.7: various improvements usr/src and /var
Forth batch of word smithing: /usr/src and /var: Improved wording and a few missing files added. Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for f19875b - Browse repository at this point
Copy the full SHA f19875bView commit details -
nvme: Report only the unknown bits
When we get a smart error that's unknown, report only the unknown (reserved) bits of the Critical Warning Bitfield. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for c5246cb - Browse repository at this point
Copy the full SHA c5246cbView commit details -
Add an UNDEFINED_VERSION option
When enabled (current default) link with --undefined-version to allow symbol maps to contain symbols not defined by libraries. When disabled, link with --no-undefined-version to disallow these bugs. WITHOUT_UNDEFINED_VERSION is currently broken. Once it is fixed it should be made the default and this option should likely be removed. Reviewed by: dim, emaste Differential Revision: https://reviews.freebsd.org/D44169
Configuration menu - View commit details
-
Copy full SHA for 2956f58 - Browse repository at this point
Copy the full SHA 2956f58View commit details
Commits on Mar 2, 2024
-
read.2: Use .Fn markup instead of .Xr for read/write calls
Udpate both write / read references from .Xr to .Fn to eliminate self-reference cross reference. Reviewed by: imp Pull Request: freebsd/freebsd-src#1128
Configuration menu - View commit details
-
Copy full SHA for 0d161f7 - Browse repository at this point
Copy the full SHA 0d161f7View commit details -
read(2): Add write cross reference
Add a write cross reference in the SEE ALSO section. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for beadbca - Browse repository at this point
Copy the full SHA beadbcaView commit details
Commits on Aug 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 959c56d - Browse repository at this point
Copy the full SHA 959c56dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9231f5b - Browse repository at this point
Copy the full SHA 9231f5bView commit details -
if_hn: Fix two typos in source code comments
- s/managment/management/ - s/transacion/transaction/ Obtained from: NetBSD MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 6b188a0 - Browse repository at this point
Copy the full SHA 6b188a0View commit details -
tcp: prevent div by zero in cc_htcp
Make sure the divident is at least one. While cwnd should never be smaller than t_maxseg, this can happen during Path MTU Discovery, or when TCP options are considered in other parts of the stack. PR: 276674 MFC after: 3 days Reviewed By: tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D43797
Configuration menu - View commit details
-
Copy full SHA for 9d39125 - Browse repository at this point
Copy the full SHA 9d39125View commit details -
tcp: use enum for all congestion control signals
Facilitate easier troubleshooting by enumerating all congestion control signals. Typecast the enum to int, when a congestion control module uses private signals. No external change. Reviewed By: glebius, tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D43838
Configuration menu - View commit details
-
Copy full SHA for 8a1f510 - Browse repository at this point
Copy the full SHA 8a1f510View commit details -
tcp: provide correct snd_fack on post_recovery
Ensure that snd_fack holds a valid value when doing the post_recovery CC processing, for preparation of the cc_cubic update, so that local pipe calculations can correctly refer to snd_fack during and after CC events. Reviewed By: tuexen, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D43957
Configuration menu - View commit details
-
Copy full SHA for 9dd4e31 - Browse repository at this point
Copy the full SHA 9dd4e31View commit details -
tcp: cubic - restart epoch after RTO
This is a migitation to avoid sudden extreme jumps in cwnd, as t_epoch can be very out of date after an RTO. Per RFC9438, sec 4.8, t_epoch is to be reset whenever cwnd grows beyond ssthresh (CC phase transitions from slow start to congestion avoidance), to be fixed with the upcoming cc_cubic changes. MFC after: 3 days Reviewed By: cc, #transport Sponsored by: NetApp, Inc Differential Revision: https://reviews.freebsd.org/D44023
Configuration menu - View commit details
-
Copy full SHA for 6a61747 - Browse repository at this point
Copy the full SHA 6a61747View commit details -
sctp: improve sending of packets containing an INIT ACK chunk
If the peer announced support of zero checksums, do so when sending packets containing an INIT ACK chunk. MFC after: 1 week
Configuration menu - View commit details
-
Copy full SHA for 5440360 - Browse repository at this point
Copy the full SHA 5440360View commit details -
tcp: retain some CC signals outside of kernel scope
Summary: fix build error after f74352f Reviewers: #transport! Subscribers: imp, melifaro, glebius Differential Revision: https://reviews.freebsd.org/D44066
Configuration menu - View commit details
-
Copy full SHA for eba6a5b - Browse repository at this point
Copy the full SHA eba6a5bView commit details -
loader: Move ldscripts to match more standard practices
In the larger open source community, ld scripts are foo.ldscrpt rather than ldscript.arch like we use here. This moves the EFI ldscripts. Sponsored by: Netflix Reviewed by: tsoome, kevans, emaste Differential Revision: https://reviews.freebsd.org/D44056
Configuration menu - View commit details
-
Copy full SHA for 3b490a4 - Browse repository at this point
Copy the full SHA 3b490a4View commit details -
kboot: Centralize ldscript addition
Make the pattern for ldscripts always be arch/$MACHINE_ARCH/$MACHINE_ARCH.ldscript so we can add it from a central Makefile. This also moves from ldscript.arch to arch.ldscript to match the loader's new convention. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44057
Configuration menu - View commit details
-
Copy full SHA for d881c3f - Browse repository at this point
Copy the full SHA d881c3fView commit details -
loader/powerpc: Share ldscript
Share ldscript between the different ppc versions. There's two different scripts since we build 32-bit binaries for all types of powerpc, but have little endian and big endian variations that are different by only two lines. Set the output format and include the rest. Move to foo.ldscript as well. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44058
Configuration menu - View commit details
-
Copy full SHA for e73e017 - Browse repository at this point
Copy the full SHA e73e017View commit details -
loader/uboot: Move to foo.ldconfig
Move to the foo.ldconfig convention to match the rest of the boot loader. No functional change intended. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44059
Configuration menu - View commit details
-
Copy full SHA for 6275226 - Browse repository at this point
Copy the full SHA 6275226View commit details -
loader/kboot: simplify linker set inclusion a little
Linker set sections are included by default. No need to do so explicitly. These were bogusly copied from the efi ldscripts. They were there due to a workaround introduced in 2002 by peter@ for a gcc upgrade, but whatever bugs necessitated it were filed by 2010 when rpaulo@ imported the i386 support (though they were copied even though the objcopy retained them correctly, the gcc bug having been fixed). They've never been needed. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44060
Configuration menu - View commit details
-
Copy full SHA for 929956b - Browse repository at this point
Copy the full SHA 929956bView commit details -
loader/efi: Linker sets not needed.
We don't need linker sets listed as sections. They are explicitly included in the objcopy we use to create the .efi file. This practice was added in 2002 by peter@ in a6d81d8 to make ia64 builds self-hosted. However, it was added back to the objcopy in 2010 by rpaulo in 8df7a05 for i386 EFI support, though the ldscript file then retained them needlessly. The gcc/binutils bug having been fixed in the interim. We've not needed them since then, but the redundancy didn't matter. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44061
Configuration menu - View commit details
-
Copy full SHA for 046dfb1 - Browse repository at this point
Copy the full SHA 046dfb1View commit details -
loader/efi: Use unique linker set for lua
After the linker set cleanup in ldscripts, there's now only one place we need to know the linkerset name, so go ahead and change the lua interpreter augmentation linker set to be uniquely named. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44062
Configuration menu - View commit details
-
Copy full SHA for 6af0a27 - Browse repository at this point
Copy the full SHA 6af0a27View commit details -
loader/ficl: Rename the ficl compile set to X4th_compile_set
And upcoming change will need this set to be named this. Since it's only used in the efi Makefile, and inside if ficl itself, the change should be a nop. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44063
Configuration menu - View commit details
-
Copy full SHA for 60ac941 - Browse repository at this point
Copy the full SHA 60ac941View commit details -
loader/efi: Only include interpreter's linker script
For safety, only include the interpreter's linker script. Note that the simple loader doesn't have one, but it's not an error to copy a ELF section that does not exist. No functional change, however. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44064
Configuration menu - View commit details
-
Copy full SHA for eebfe42 - Browse repository at this point
Copy the full SHA eebfe42View commit details -
sigsys test: correct count of delivered signals
When knob is zero, intent is that no SIGSYS signals are delivered. Comparing zero to zero does not test much, we should compare the count of delivered SIGSYSs to zero. Reviewed by: dchagin, imp Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44077
Configuration menu - View commit details
-
Copy full SHA for 3f038b3 - Browse repository at this point
Copy the full SHA 3f038b3View commit details -
tcp_rack.4: Fix a link in the SEE ALSO section
The URL of the paper at arxiv.org has changed so link the PDF-file directly. MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for e138c7d - Browse repository at this point
Copy the full SHA e138c7dView commit details -
tcp: address enum-int-mismatch
fix gcc13 error after f74352f
Configuration menu - View commit details
-
Copy full SHA for b90603c - Browse repository at this point
Copy the full SHA b90603cView commit details -
tcp: need default in switch statement for enum.
fix clang error after c9b6241 Reviewed By: imp Differential Revision: https://reviews.freebsd.org/D44081
Configuration menu - View commit details
-
Copy full SHA for 240212c - Browse repository at this point
Copy the full SHA 240212cView commit details -
Despite looking trivial, it requires proper split of exports from libsys and libc, proper filtering work in rtld, and operational libsys. Reviewed by: emaste, imp Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44075
Configuration menu - View commit details
-
Copy full SHA for bd2cf00 - Browse repository at this point
Copy the full SHA bd2cf00View commit details -
snd_hdspe(4): Optional unified pcm device.
Add a sysctl tunable to unify all physical ports of an HDSPe sound card into one pcm device, with up to 14 (AIO) or 36 (RayDAT) channels. This makes all ports available in multi-channel audio software. Differential Revision: https://reviews.freebsd.org/D43798
Configuration menu - View commit details
-
Copy full SHA for 226b0a1 - Browse repository at this point
Copy the full SHA 226b0a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef9e4a4 - Browse repository at this point
Copy the full SHA ef9e4a4View commit details -
loader: we can only env_discard() existing variable
While dropping nvpair from nvstore, we also remove the corresponding environment variable. By doing so, we should be careful not to try to unset non-existing variable. Reviewed by: imp MFC after: 2 week Differential revision: https://reviews.freebsd.org/D44083
Configuration menu - View commit details
-
Copy full SHA for 4543e92 - Browse repository at this point
Copy the full SHA 4543e92View commit details -
ipsec esp: avoid dereferencing freed secasindex
It is possible that SA was removed while processing packed, in which case it is changed to the DEAD state and it index is removed from the tree. Dereferencing sav->sah then touches freed memory. Reviewed by: ae Sponsored by: NVIDIA networking MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44079
Configuration menu - View commit details
-
Copy full SHA for 5ec4c49 - Browse repository at this point
Copy the full SHA 5ec4c49View commit details -
This is a module to setup the XDG directories and environment variables. For now the only usage is to have a XDG_RUNTIME_DIR environment setup at user login. All other environment variable have a default fallback so no need to export them in this module. The directory is created according to the XDG Base directory specification. The default base directory is /var/run/xdg/<username> but can be configured using the runtime_dir=<dir> module option. According to the spec the directory *must* not survive a reboot so adding var_run_enable="YES" to rc.conf is highly recommanded. Reviewed by: des, pauamma (manpages) Differential Revision: https://reviews.freebsd.org/D44011 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 9290d68 - Browse repository at this point
Copy the full SHA 9290d68View commit details -
pam: Always use pam_xdg for session and xdm
This ensure that the XDG_RUNTIME_DIR is always created and the environment variable is present which is a must for any wayland user (at least). The only "cost" of it is a directory is created and unused. Reviewed by: des Differential Revision: https://reviews.freebsd.org/D44012 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for 32f8c12 - Browse repository at this point
Copy the full SHA 32f8c12View commit details -
diff: Fix --expand-tabs and --side-by-side.
* Overhaul column width and padding calculation. * Rewrite print_space() so it is now a) correct and b) understandable. * Rewrite tab expansion in fetch() for the same reason. This brings us in line with GNU diff for all cases I could think of. Sponsored by: Klara, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D44014
Configuration menu - View commit details
-
Copy full SHA for 720b4db - Browse repository at this point
Copy the full SHA 720b4dbView commit details -
Sponsored by: Klara, Inc.
Configuration menu - View commit details
-
Copy full SHA for b501725 - Browse repository at this point
Copy the full SHA b501725View commit details -
kern: fix panic with disabled ttys
PR: 277240, 277329 Reviewed by: kib (earlier version) Fixes: f1d0a0c ("jail: Fix information leak.") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44086
Configuration menu - View commit details
-
Copy full SHA for 9cc1c62 - Browse repository at this point
Copy the full SHA 9cc1c62View commit details -
rtld-elf: support either byte-order of hints file
Accept either little-endian or big-endian representation of the ELF hints magic number in the header of a hints file and convert the parameters to the native byte-order of the repsective system. This is a pre-requisite for a planned change to always write the byte order in little-endian format on all architectures. The only relvant architecture that uses big-endian data is powerpc64, and it is not likely that new architectures will choose that representation of data in memory. When all supported architectures use little-endian data in the hints file, the byte swap logic can be enabled for big-endian CPUs at compile time. Up to that point, there is a very small run-time penalty that is paid on all systems to check the byte-order of the hints file and to provide the option to byte-swap the parameters read from the hints file header. This commit contains the changes from review D44080 (which had been split off from this patch for easier review), Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D44053
Configuration menu - View commit details
-
Copy full SHA for 154e282 - Browse repository at this point
Copy the full SHA 154e282View commit details -
ofwdump: Convert ints that are booleans to bool.
No functional changes... Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 788fcad - Browse repository at this point
Copy the full SHA 788fcadView commit details -
snd_uaudio(4): Fix sample rate selection after 42fdcd9.
The sample rate selection of snd_uaudio(4) at runtime was implicitly relying on a specific order in the device config list. In case a default was set through the hw.usb.uaudio.default_rate sysctl tunable, commit 42fdcd9 removed a duplicate sample rate entry from that list, which inadvertently broke sample rate selection at runtime. Implement sample rate selection in a way that works for any order in the device config list. Reported by: Lexi Winter <[email protected]> MFC after: 1 week Reviewed by: christos Differential Revision: https://reviews.freebsd.org/D44051
Configuration menu - View commit details
-
Copy full SHA for e58b23d - Browse repository at this point
Copy the full SHA e58b23dView commit details -
Ignore the "manual not found" warnings for snd_ai2s(4) and snd_davbus(4). Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D43996
Configuration menu - View commit details
-
Copy full SHA for d7c16c0 - Browse repository at this point
Copy the full SHA d7c16c0View commit details -
Add loader.exit(status). While one can get alomst this behavior with loader.perform("quit"), quit doesn't allow a value to be returned to the firmware. The interpretation of 'status' is firmware specific. This can be used when autobooting doesn't work in scripts, for example, to allow the firmware to try something else... Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44094
Configuration menu - View commit details
-
Copy full SHA for da04c94 - Browse repository at this point
Copy the full SHA da04c94View commit details -
pam_xdg: Remove leftover debug printf
Sponsored by: Beckhoff Automation GmbH & Co. KG Fixes: 6e69612 ("pam: Add pam_xdg module")
Configuration menu - View commit details
-
Copy full SHA for fadffe7 - Browse repository at this point
Copy the full SHA fadffe7View commit details -
pam_xdg: Check asprintf return value
Reported by: Shawn Webb <[email protected]> Sponsored by: Beckhoff Automation GmbH & Co. KG Fixes: 6e69612 ("pam: Add pam_xdg module")
Configuration menu - View commit details
-
Copy full SHA for 1fb374d - Browse repository at this point
Copy the full SHA 1fb374dView commit details -
Otherwise on success it ontain the return value of asprintf. Sponsored by: Beckhoff Automation GmbH & Co. KG Fixes: 2d2950c ("pam_xdg: Check asprintf return value")
Configuration menu - View commit details
-
Copy full SHA for a1c2125 - Browse repository at this point
Copy the full SHA a1c2125View commit details -
PP mutexes: unlock: Reset inherited prio regardless of privileges
'uq_inherited_pri' contains the current priority inherited from Priority Protection mutexes. If -1 is passed through 'm_ceilings[1]', meaning that there are no such mutexes held anymore, this must be reflected into it by setting it to PRI_MAX, regardless of whether the thread has privilege to set realtime priorities (PRI_MAX is also obviously not a realtime priority level). By contrast, it shall not be updated and the computed 'new_inherited_pri' shall stay unused if the thread doesn't have the ability to set a realtime priority, possibly keeping an older such priority acquired previously. Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43984
Configuration menu - View commit details
-
Copy full SHA for 9011023 - Browse repository at this point
Copy the full SHA 9011023View commit details -
PP mutexes: lock: Check if priority is too high against base one
Doing this instead of using the current (user) priority, which includes current lendings, prevents gratuitous failures for threads involved in multiple locking groups, where each group is defined as the threads that can lock a particular PP or PI mutex. No deadlock can occur in this case. Indeed, if a thread holds such a lock A giving it a higher priority than the ceiling of some other lock B that is PP, and B is acquired by another thread, effectively the latter may not be able to run but this situation can only last until the first thread releases A, which it will do eventually. Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44044
Configuration menu - View commit details
-
Copy full SHA for a811bfc - Browse repository at this point
Copy the full SHA a811bfcView commit details -
PP mutexes: lock: Reduce 'umtx_lock' holding before taking the user lock
There is no need to have it for the priority check (that the thread doesn't have a higher priority than the mutex's ceiling), and there's also no need to take it if the thread doesn't have privileges to set its priority to the mutex's ceiling. While here, turn 'su' into a 'bool' and compute the internal priority corresponding to the mutex's ceiling once and for all, putting it in new 'new_pri'. Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44045
Configuration menu - View commit details
-
Copy full SHA for 3b0fbe3 - Browse repository at this point
Copy the full SHA 3b0fbe3View commit details -
sched: Simplify sched_lend_user_prio_cond()
If 'td_lend_user_pri' has the expected value, there is no need to check the fields that sched_lend_user_prio() modifies, they either are already good or soon will be ('td->td_lend_user_pri' has just been changed by a concurrent update). Reviewed by: kib Approved by: emaste (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44050
Configuration menu - View commit details
-
Copy full SHA for a230c82 - Browse repository at this point
Copy the full SHA a230c82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d70d33 - Browse repository at this point
Copy the full SHA 4d70d33View commit details -
vge(4): Fix a typo in a source code comment
- s/opration/operation/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 73c77cc - Browse repository at this point
Copy the full SHA 73c77ccView commit details -
dumprestore.h: Fix typos in source code comments
- s/dumpped/dumped/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 5096fb4 - Browse repository at this point
Copy the full SHA 5096fb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6980ea5 - Browse repository at this point
Copy the full SHA 6980ea5View commit details -
pf: fix packet-to-big for route-to as well
When we handle a packet via route-to (i.e. pf_route6()) we still need to verify the MTU. However, we only run that check in the forwarding case. Set the PFIL_FWD tag when running the pf_test6(PF_OUT) check from pf_route6(). We are in fact forwarding, so should call the test function as such. This will cause us to run the MTU check, and generate an ICMP6 packet-too-big error when required. See also: 54c62e3 See also: f1c0030 See also: https://redmine.pfsense.org/issues/14290 Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for 5d9f3b2 - Browse repository at this point
Copy the full SHA 5d9f3b2View commit details -
bxe(4): Fix two typos in a kernel messages
- s/successfull/successful/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for c31c2a9 - Browse repository at this point
Copy the full SHA c31c2a9View commit details -
carp(4): Fix a typo in a source code comment
- s/successfull/successful/ MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 97bc626 - Browse repository at this point
Copy the full SHA 97bc626View commit details -
CTL: Drop Format Device and Rigid Disk Geometry mode pages
Those mode pages are obsolete since SBC-2 specification almost 20 years ago. First I was trying to understand possible relations between physical block and physical sector terms in different specs. Then was thinking about possible relations to device CHS geometry and compatibility issues. Finally I just decided that none of it worth the efforts and should rest in piece. PR: 276524
Configuration menu - View commit details
-
Copy full SHA for d586d80 - Browse repository at this point
Copy the full SHA d586d80View commit details -
rman: Remove rman_set_start/end
These functions are not safe as the rman implementation assumes that all regions (including allocated resources) are sorted by address in the internal linked-list. Differential Revision: https://reviews.freebsd.org/D43936
Configuration menu - View commit details
-
Copy full SHA for 93c743d - Browse repository at this point
Copy the full SHA 93c743dView commit details -
Reviewed by: dsl Differential Revision: https://reviews.freebsd.org/D43937
Configuration menu - View commit details
-
Copy full SHA for d7d3b21 - Browse repository at this point
Copy the full SHA d7d3b21View commit details -
bhnd_usb: Use bus_generic_rman_*
For SYS_RES_MEMORY, use bus_generic_rman_* for activate/deactivate_resource methods as well as custom map/unmap_resource methods that request submappings of the sc_mem resource allocated from the parent bus. Differential Revision: https://reviews.freebsd.org/D43938
Configuration menu - View commit details
-
Copy full SHA for 3925611 - Browse repository at this point
Copy the full SHA 3925611View commit details -
bhnd_chipc: Make use of bus_generic_rman_* to simplify some code
This uses bus_generic_rman_alloc/release_resource to reduce some code duplication. However, I've left the custom activate/deactivate methods as-is. Differential Revision: https://reviews.freebsd.org/D43939
Configuration menu - View commit details
-
Copy full SHA for fd007b6 - Browse repository at this point
Copy the full SHA fd007b6View commit details -
mkimg.1: add new PARTITION SPECIFICATION section
The specification follows a commentary to the function parse_part() in the source code and the code itself. MFC after: 3 days
Configuration menu - View commit details
-
Copy full SHA for 7dd26f0 - Browse repository at this point
Copy the full SHA 7dd26f0View commit details -
netlink: Don't use a zero-length array
Define SNL_DECLARE_FIELD_PARSER* macros to create a parser that has no output attributes only input fields and use this to define the snl_donemsg_parser. This removes the need for the zero-length nla_p_donemsg[] variable. Zero length arrays are not valid in ISO C. Reviewed by: jrtc27, melifaro Differential Revision: https://reviews.freebsd.org/D43918
Configuration menu - View commit details
-
Copy full SHA for 18f2418 - Browse repository at this point
Copy the full SHA 18f2418View commit details -
netlink: restore original buffer if nlmsgs_to_linux() fails
Caller is responsible to free it or reuse. Fixes: 17083b9
Configuration menu - View commit details
-
Copy full SHA for 6ca76b5 - Browse repository at this point
Copy the full SHA 6ca76b5View commit details -
Add share/mk/local.dirdeps-targets.mk
To include site.dirdeps-targets.mk
Configuration menu - View commit details
-
Copy full SHA for 7336754 - Browse repository at this point
Copy the full SHA 7336754View commit details -
It conflicts with the general "DEBUG" macro defined as an option in LINT builds. Since this is actually unused, just rename it to GMAC_DEBUG. Reviewed by: manu MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44102
Configuration menu - View commit details
-
Copy full SHA for d2ddd63 - Browse repository at this point
Copy the full SHA d2ddd63View commit details -
conf: deduplicate dwc config logic
Move the core dwc(4) file entries to the MI conf/files. Platform-specific versions e.g. rk_dwc are retained in their current position. On arm64 this necessitates adding an additional 'device dwc' option. This hardware is found on several available/emerging RISC-V SoCs, so we will soon need it on this architecture. Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44103
Configuration menu - View commit details
-
Copy full SHA for 0835929 - Browse repository at this point
Copy the full SHA 0835929View commit details -
conf: deduplicate dwmmc config logic
The core of this driver is supported by multiple architectures. Move the config entries to the MI conf/files. This hardware is found on several available/emerging RISC-V SoCs, so we will soon need it on this architecture. Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44104
Configuration menu - View commit details
-
Copy full SHA for 45b1b35 - Browse repository at this point
Copy the full SHA 45b1b35View commit details -
riscv: add dwc, dwmmc to NOTES
In the future these drivers will be enabled in GENERIC. For now, ensure they build with LINT. Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for c1f8235 - Browse repository at this point
Copy the full SHA c1f8235View commit details -
riscv: add starfive kernelconf template
Enable the Synopsis UART driver. Other drivers will be added in the future. Reviewed by: jrtc27 Sponsored by: The FreeBSD Foundatino Differential Revision: https://reviews.freebsd.org/D44105
Configuration menu - View commit details
-
Copy full SHA for b0249b7 - Browse repository at this point
Copy the full SHA b0249b7View commit details -
rc: Set var_run_enable to enable by default
This will load/save the /var/run directories at boot/shutdown if and only if /var/run/ is a tmpfs mount so it is a win for tmpfs users and a no-op for everyone else. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D44097 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for ef06d23 - Browse repository at this point
Copy the full SHA ef06d23View commit details -
nvmecontrol.8: Fix the SYNOPSIS section
The manpage of nvmecontrol(8) has the following SYNOPSIS: nvmecontrol format [-f fmt] [-m mset] [-o pi] [-l pil] [-E] [-C] <device-id | namespace-id> The correct switch for the pi option is -p according to sbin/nvmecontrol/format.c: OPT("pi", 'p', arg_uint32, opt, pi, "Protective information") So correct the SYNOPSIS section accordingly. PR: 276554 Reviewed by: imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D44099
Configuration menu - View commit details
-
Copy full SHA for 7de17aa - Browse repository at this point
Copy the full SHA 7de17aaView commit details -
The last example in the manpage md5(1) wants to demonstrate GNU mode (md5sum), but uses BSD mode (md5) instead: In GNU mode, the -c option does not compare against a hash string passed as parameter. Instead, it expects a digest file, as created under the name digest for /boot/loader.conf in the example above. PR: 276560 Reviewed by: mhorne MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D44098
Configuration menu - View commit details
-
Copy full SHA for fe5e56f - Browse repository at this point
Copy the full SHA fe5e56fView commit details -
stand: Remove dangling mips references
Remove mips support files from ficl. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for c2b6b08 - Browse repository at this point
Copy the full SHA c2b6b08View commit details -
gicv3: Change how we initialize its children.
The current code is written such that all the attach routines can do so in parallel. However, newbus serializes children today, and is likely to do so in the future. Only allocate memory for the first time. Add an assertion that this memory is allocated for larger units. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44032
Configuration menu - View commit details
-
Copy full SHA for 5a482f9 - Browse repository at this point
Copy the full SHA 5a482f9View commit details -
gicv3: Panic if the gicv3 already running
Due to undefined behavior, it's impossible to re-program a gicv3 ITS table once it's programmed once. Memory corruption happens otherwise. Panic if we detect the LPI is already enabled. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44033
Configuration menu - View commit details
-
Copy full SHA for 1b04e71 - Browse repository at this point
Copy the full SHA 1b04e71View commit details -
gicv3: Don't allocate pend_base if we're already started
If the gicv3 is already started, then don't allocate memory for the pend_base tables. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44034
Configuration menu - View commit details
-
Copy full SHA for 3b72d0d - Browse repository at this point
Copy the full SHA 3b72d0dView commit details -
gicv3: Only set the redistributor base if we're not prealloced
Only set the redistributor base if we're not reallocated. If we are preallocated, leave it all alone. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44035
Configuration menu - View commit details
-
Copy full SHA for 2400e54 - Browse repository at this point
Copy the full SHA 2400e54View commit details -
gicv3: Report PENDBASE when bootverbose
Report some stats about PENDBASE when we're running under bootverbose. We don't do this by default because experience has been excess output in this routine hangs the system. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44036
Configuration menu - View commit details
-
Copy full SHA for 4423731 - Browse repository at this point
Copy the full SHA 4423731View commit details -
gicv3: Define PA masks for the PENDBASR and PROPBASER registers
Define masks for these registers to find the PA of where these are pointing. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44096
Configuration menu - View commit details
-
Copy full SHA for 1a6a0f7 - Browse repository at this point
Copy the full SHA 1a6a0f7View commit details -
gicv3: In its_init_cpu_lpi record each cpu's PENDBASER
When we're using the preallocated memory for gicv3, record each cpu's PENDBASER where we'd normally allocate memory for it. Make sure that memory is in the excluded list and map the PA to VA and store that, to mimic what we do with the allocation case. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44037
Configuration menu - View commit details
-
Copy full SHA for 288bf37 - Browse repository at this point
Copy the full SHA 288bf37View commit details -
gicv3: If the LPI is already allocated, remember it
If the LPI Configuration Tabel has been pre-allocated by the boot loader, then we have to remember PROPBASER and use it rather than allocating memory for it ourselves. Linux provides us with a reserved table that contains all the gicv3 allocations, so make sure what we read from PROPBASER matches something in that table. Normally, bare metal boot loaders leave the gic in a reset state. However, Linux brings it up fully so it can do I/O to boot the next kernel via kexec. Since the gicv3 PENDBASER can't be reset while running due to undefined behavior, we must reuse what's there for both PENDBASER and PROPBASER. With this commit, the workaround is complete. Details are at https://lkml.iu.edu/hypermail/linux/kernel/1809.2/06246.html and pointers in the thread. Sponsored by: Netflix Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44038
Configuration menu - View commit details
-
Copy full SHA for 2730601 - Browse repository at this point
Copy the full SHA 2730601View commit details -
lorder: Clean up and improve robustness.
* Properly parse (no) command-line options. * Ensure that errors go to stderr and result in a non-zero exit. * Drop the special-case code for a single argument, as it will produce the wrong outcome if the file does not exist or is corrupted. * Don't print anything until after we've collected all the data. * Always create all temporary files before setting the trap. This ensures that the trap can safely fire at any moment, regardless of any previous definition of `T`. * Use a temporary file rather than a pipe between `nm` and `sed` to ensure proper termination if `nm` fails due to a missing or invalid input. * The check for self-referential entries was conditional on testing our argument list against a regex looking for archives. This was a needless and unreliable optimization; make the check unconditional. * Document that lorder will not work properly if any of its inputs have spaces in their name. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44133
Configuration menu - View commit details
-
Copy full SHA for da477bc - Browse repository at this point
Copy the full SHA da477bcView commit details -
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44134
Configuration menu - View commit details
-
Copy full SHA for 45419ba - Browse repository at this point
Copy the full SHA 45419baView commit details -
While lorder is not required by our current toolchain (or any toolchain we've used in the past decade or two), it still occasionally shows up in build systems of third party software, including The Open Group's UNIX conformance test suite, and the maintenance cost is negligible. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: imp, allanjude, emaste Differential Revision: https://reviews.freebsd.org/D44135
Configuration menu - View commit details
-
Copy full SHA for 7959c17 - Browse repository at this point
Copy the full SHA 7959c17View commit details -
ldconfig: support hints files of either byte-order
Make the ldconfig program accept hints files in little-endian and big-endian format on all architectures. The default format is the native byte-order of the respective host. This is expected to change when a version of the pkg command is available that implements support for either byte-order in its internal ldconfig function. (Already committed in the development tree of the pkg utility, a release is expected at the end of Q1/2024). This update adds the -B option to the ldconfig program. It enforces the creation of a big-endian hints file on a little-endian host. The main purpose to is support of tests with non-native byte-order files on little-endian hosts. It will be removed when all supported FreeBSD releases use little-endian hints files by default. When little-endian hints files are generally used, support of either byte-order in libexec/rtld can also be removed. When support for big-endian hints files is no longer required, the COND_SWAP macro in ldconfig and rtld shall be replaced by le32toh(), which just return their argument on little-endian architectures. Approved by: kib MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D44093
Configuration menu - View commit details
-
Copy full SHA for 4448582 - Browse repository at this point
Copy the full SHA 4448582View commit details -
Reviewed by: melifaro MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44088
Configuration menu - View commit details
-
Copy full SHA for ee0cfb3 - Browse repository at this point
Copy the full SHA ee0cfb3View commit details -
netlink: add bool type support
Reviewed by: melifaro Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44089
Configuration menu - View commit details
-
Copy full SHA for 65ab58c - Browse repository at this point
Copy the full SHA 65ab58cView commit details -
pf: convert kill/clear state to use netlink
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44090
Configuration menu - View commit details
-
Copy full SHA for 9f3831f - Browse repository at this point
Copy the full SHA 9f3831fView commit details -
socket tests: remove MSG_TRUNC test for unix/seqpacket
The PF_UNIX/SOCK_SEQPACKET was marked as PR_ATOMIC and that made soreceive_generic() to treat it pretty much as a datagram socket. However, POSIX says: The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type, and is also connection-oriented. The only difference between these types is that record boundaries are maintained using the SOCK_SEQPACKET type. A record can be sent using one or more output operations and received using one or more input operations, but a single operation never transfers parts of more than one record. Record boundaries are visible to the receiver via the MSG_EOR flag in the received message flags returned by the recvmsg() function. It is protocol-specific whether a maximum record size is imposed. What the test was doing is checking if MSG_TRUNC would report the space required to return up the end of next mbuf record in the socket buffer. Apparently the test assumed that this boundary is defined by the write(2) size on the peer socket. This was true in test conditions, but I'm not sure it would always be true - sbcompress() may merge mbufs. Anyway, the mbuf boundaries are internal socket buffer implementation, they are not SOCK_SEQPACKET records. The records need to be explicitly marked with MSG_EOR by sender, and the test definitely wasn't doing that. Reviewed by: tuexen, markj Differential Revision: https://reviews.freebsd.org/D43707
Configuration menu - View commit details
-
Copy full SHA for 04ef3ee - Browse repository at this point
Copy the full SHA 04ef3eeView commit details -
tests/unix_seqpacket: remove EMSGSIZE tests
These tests were not testing conformance to the specification, rather than the limitation of our implementation. The specification doesn't say that a SOCK_SEQPACKET shall ever return EMSGSIZE. It says: The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type, and is also connection-oriented. The only difference between these types is that record boundaries are maintained using the SOCK_SEQPACKET type. A record can be sent using one or more output operations and received using one or more input operations, but a single operation never transfers parts of more than one record. Record boundaries are visible to the receiver via the MSG_EOR flag in the received message flags returned by the recvmsg() function. It is protocol-specific whether a maximum record size is imposed. The EMSGSIZE is specified as 'message is too large to be sent all at once, as the socket requires'. Indeed existing implementation that has unix/seqpacket marked as PR_ATOMIC has such a limitation. But future implementation won't have, thus remove the tests. Reviewed by: tuexen, asomers Differential Revision: https://reviews.freebsd.org/D43756
Configuration menu - View commit details
-
Copy full SHA for ea57de3 - Browse repository at this point
Copy the full SHA ea57de3View commit details -
tests/unix_seqpacket: provide function that returns bound & listening…
… sock Use the function in mk_pair_of_sockets(), and in four existing tests - 'listen_bound', 'connect', 'shutdown_send' and 'shutdown_send_sigpipe'. While here make mk_pair_of_sockets() return pointer to sockaddr_un instead of path. This also fixes bug of returning pointer to stack memory of returning function. However, the only caller that cares about this return is temporarily ifdefed out. No functional change intended. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D43852
Configuration menu - View commit details
-
Copy full SHA for cdfa5ed - Browse repository at this point
Copy the full SHA cdfa5edView commit details -
tests/unix_seqpacket: test that data can be sent before accept(2)
This is undocumented feature of PF_UNIX/SOCK_STREAM and thus of PF_UNIX/SOCK_SEQPACKET, too. Put the test into this file, since this file is most advanced and has all primitives to write this test in minimum number of lines. Differential Revision: https://reviews.freebsd.org/D43853
Configuration menu - View commit details
-
Copy full SHA for 29bfffd - Browse repository at this point
Copy the full SHA 29bfffdView commit details -
tests/unix_seqpacket: test that implied connect doesn't work
Applies both to SOCK_STREAM and SOCK_SEQPACKET. Put the test in this file as it is most advanced one. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D43854
Configuration menu - View commit details
-
Copy full SHA for 312d6ac - Browse repository at this point
Copy the full SHA 312d6acView commit details -
lib{c,sys}: expose cap_sandboxed from libc/gen
It's a thin wrapper on cap_getmode() implemented in libc, not a system call so the symbol should have been exposed by libc/gen/Symbol.map alongside the implementation. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44110
Configuration menu - View commit details
-
Copy full SHA for a1d7c49 - Browse repository at this point
Copy the full SHA a1d7c49View commit details -
sockets: in solisten_proto() don't call sbdestroy() on a PR_SOCKBUF
A socket marked with PR_SOCKBUF has protocol specific socket buffers and will take care of the in its pr_listen method. Right now we don't have any sockets that can listen and are PR_SOCKBUF, but that will change soon.
Configuration menu - View commit details
-
Copy full SHA for 15c997b - Browse repository at this point
Copy the full SHA 15c997bView commit details -
rtld: unconditionally generate map file during build
It is needed at least to ensure that undesirable code is not linked into rtld from libsys/libc, and adding the map file option each time is not productive. Reviewed by: brooks, emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44136
Configuration menu - View commit details
-
Copy full SHA for 3ab2c12 - Browse repository at this point
Copy the full SHA 3ab2c12View commit details -
rtld: use generated map file to check for some leaks from libc into rtld
Reviewed by: brooks, emaste (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44136
Configuration menu - View commit details
-
Copy full SHA for dbbe9b6 - Browse repository at this point
Copy the full SHA dbbe9b6View commit details -
powerpc: Bump maximum number of FDT reserved mem entries
Newer firmware on POWER systems, including v2.10 of the Talos II and Blackbird firmware can end up reserving more than 32 memory regions in the device tree, which exceeded an assumption made by ofw_machdep.c's excise_fdt_reserved(). Bump the maximum number of FDT reservations to the next power of 2 in order to fix booting on newer firmware. PR: 277097 Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D44015
Configuration menu - View commit details
-
Copy full SHA for e4c6e82 - Browse repository at this point
Copy the full SHA e4c6e82View commit details -
Update the Arm Optimized Routine library to v24.01
Sponsored by: Arm Ltd
Configuration menu - View commit details
-
Copy full SHA for aead2f9 - Browse repository at this point
Copy the full SHA aead2f9View commit details -
usbconfig: allow to get usb vendors and products from the usb.ids dat…
…abase Reviewed by: emaste, manu Differential Revision: https://reviews.freebsd.org/D3392
Configuration menu - View commit details
-
Copy full SHA for d7b107d - Browse repository at this point
Copy the full SHA d7b107dView commit details -
usb_vendors: add new usb_vendors
usb_vendors is a local copy of usb.ids (similar to pci_vendors) It is now used by usbconfig(1) when listing the devices.
Configuration menu - View commit details
-
Copy full SHA for d219815 - Browse repository at this point
Copy the full SHA d219815View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4459fa - Browse repository at this point
Copy the full SHA e4459faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9464ec1 - Browse repository at this point
Copy the full SHA 9464ec1View commit details -
lorder: Don't rely on legacy syntax.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44155
Configuration menu - View commit details
-
Copy full SHA for a6f36ef - Browse repository at this point
Copy the full SHA a6f36efView commit details -
lorder: Tweak invalid file test.
Different implementations of `nm` have different ways of telling you that your file is not a valid object or library, but they all seem to have “not recognized” as a common substring. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44154
Configuration menu - View commit details
-
Copy full SHA for 92847a5 - Browse repository at this point
Copy the full SHA 92847a5View commit details -
loader/zfs: Fix to actually return the last error
The last fix, to try to return the last error, really returns the first return code after the last error, which could be zero. Instead, return the last error. Also, change rc to err to make it visually distinct from rv, which is the cause of my error in e54bb0a. Reported by: Bill Sommerfeld <[email protected]> Fixes: e54bb0a Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for b5eaff3 - Browse repository at this point
Copy the full SHA b5eaff3View commit details -
loader/efi: Small diff reduction
Make doing the boot once protocol more similar to copies of this code. Sponsored by: Netflix Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D44007
Configuration menu - View commit details
-
Copy full SHA for 8b1c9a2 - Browse repository at this point
Copy the full SHA 8b1c9a2View commit details -
kernel: Sync ldscript files wrt gnu.attributes and .note.GNU-stack
Bring the keeping of .gnu.attributes to all architectures. Also discard .note.GNU-stack on all archtiectures. Plus delete obsolete comment that was removed from i386 in 2010. Sponsored by: Netflix Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44069
Configuration menu - View commit details
-
Copy full SHA for d4959a2 - Browse repository at this point
Copy the full SHA d4959a2View commit details -
firmware: load binary firmware files
When we can't find a .ko module to satisfy the firmware request, try harder by looking for a file to read in directly. We compose this file's name by appending the imagename parameter to the firmware path (currently hard-wired to be /boot/firmware, future plans are for a path). Allow this file to be unloaded when firmware_put() releases the last reference, but we don't need to do the indirection and dance we need to do when unloading the .ko that will unregister the firmware. Sponsored by: Netflix Reviewed by: manu, jhb Differential Revision: https://reviews.freebsd.org/D43555
Configuration menu - View commit details
-
Copy full SHA for 5d7c0f9 - Browse repository at this point
Copy the full SHA 5d7c0f9View commit details -
firmware: Allow binary files to be loaded by /boot/loader
Files loaded "-t firmware" (or module_type="firmware"). They are registered with the firmware system using the full path to the file. There's only one firmware per file, and it is the entire file. We do an extra firmware_get() on any firmware we find here to prevent them from ever being unloaded (we can't handle that case sanely). Sponsored by: Netflix Reviewed by: tsoome, jhb Differential Revision: https://reviews.freebsd.org/D43522
Configuration menu - View commit details
-
Copy full SHA for 9007090 - Browse repository at this point
Copy the full SHA 9007090View commit details -
firmware: document new native file loading.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D43611
Configuration menu - View commit details
-
Copy full SHA for 3aea5fd - Browse repository at this point
Copy the full SHA 3aea5fdView commit details -
Reported by: Gary Jennejohn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c703e4 - Browse repository at this point
Copy the full SHA 6c703e4View commit details -
Merge one true awk from 2024-01-22 for the Awk Second Edition support
This brings in Unicode support, CSV support and a number of bug fixes. They are described in _The AWK Programming Language_, Second Edition, by Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley, 2024, ISBN-13 978-0138269722, ISBN-10 0138269726). Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 22f7af6 - Browse repository at this point
Copy the full SHA 22f7af6View commit details -
Use proper format specifiers (with casts) and don't redefine flags. Fixes: c7b1e98 Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 9a39869 - Browse repository at this point
Copy the full SHA 9a39869View commit details -
Just after 12.2 and before the stable/13 branch, kevans added lpager.c to provide a pager interface for commands written in lua. It was merged into 12.3. Now that 12.2 is long since EOL, we can remove the pager shim here. Nobody needs that old loader + new lua scripts. Plus only one command is affected. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44142
Configuration menu - View commit details
-
Copy full SHA for 0aa8a96 - Browse repository at this point
Copy the full SHA 0aa8a96View commit details -
loader/lua: Remove compat shim for loader.lua_path
loader.lua_path was committed before stable/13 was branched, and merged in to for 12.2. Remove workaround for it not being present. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44143
Configuration menu - View commit details
-
Copy full SHA for ecf9b7f - Browse repository at this point
Copy the full SHA ecf9b7fView commit details -
loader/lua: Remove workaround for command_error
loader.command_error was available prior to stable/12 branching. No need to check if it is available or not. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44144
Configuration menu - View commit details
-
Copy full SHA for 9c620f3 - Browse repository at this point
Copy the full SHA 9c620f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 600f23e - Browse repository at this point
Copy the full SHA 600f23eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 682ddf1 - Browse repository at this point
Copy the full SHA 682ddf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3b9122 - Browse repository at this point
Copy the full SHA b3b9122View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0696b97 - Browse repository at this point
Copy the full SHA 0696b97View commit details -
Cirrus-CI: bump Clang versions to 16 and 17
Clang/LLVM 17 is currently the in-tree default compiler, so use it as the default Cirrus-CI toolchain. Clang/LLVM 18 is coming soon and needs to be added here, but I ran into trouble with llvm18-lite package availability so will look at that later. Reviewed by: dim (earlier), Jose Luis Duran Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44162
Configuration menu - View commit details
-
Copy full SHA for 1d83075 - Browse repository at this point
Copy the full SHA 1d83075View commit details -
pf: support if-bound with reply-to
On reply-to we don't know what interface to bind to when we create the state. Create any reply-to state as floating, but bind to the appropriate interface once we're handling the reply. See also: https://redmine.pfsense.org/issues/15220 Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for 4907ef5 - Browse repository at this point
Copy the full SHA 4907ef5View commit details -
pf tests: IPv6 versions of the route-to/reply-to if-bound tests
Sponsored by: Rubicon Communications, LLC ("Netgate")
Configuration menu - View commit details
-
Copy full SHA for a13810e - Browse repository at this point
Copy the full SHA a13810eView commit details -
pam_xdg: Close the dir after removal
CID: 1534878 Sponsored by: Beckhoff Automation GmbH & Co. KG
Configuration menu - View commit details
-
Copy full SHA for a04c27d - Browse repository at this point
Copy the full SHA a04c27dView commit details -
ldconfig: remove ignored -v (verbose) option
The -v option used to print useful information when operating on a.out format libraries. After the removal of a.out support, it was accepted but did not have any effect. Remove the option and update the man-page. While here mention the set of historic options that are accepted but ignored: "-elf", "-s", and "-v". The FILES section contained outdated information and did not mention the way library directories of optional ports and packages are included in the library search path recorded in the hints file. The description of the "-B" option was incorrect (described a planned change) for big-endian platforms (powerpc64). These do still default to big-endian hints files, since the current version of the "pkg" program expects the hints file to be in native byte-order. Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D44139
Configuration menu - View commit details
-
Copy full SHA for 8f869ed - Browse repository at this point
Copy the full SHA 8f869edView commit details -
CODEOWNERS: Add Stephane Rochoy
Stephane Rochoy isn't quite the maintainer of these items, but has an interest in them. As an experiment, see if this is a viable thing to do.
Configuration menu - View commit details
-
Copy full SHA for 805b183 - Browse repository at this point
Copy the full SHA 805b183View commit details -
Cirrus-CI: Add manual Clang 18 jobs
Work is in progress to import Clang/LLVM 18 as the base system compiler. llvm18-lite is not yet in the quarterly package set but but will be available in the not too distant future, and is available for src forks that switch to latest packages. Add manual llvm18 jobs now so that they can be used for testing. Sponsored by: The FreeBSD Foundation
Configuration menu - View commit details
-
Copy full SHA for 60b2756 - Browse repository at this point
Copy the full SHA 60b2756View commit details -
mqueuefs: fix statfs report to not signal file system full
Synthetic file systems that do not actually allocate file system blocks or inodes should report that they have space available and that they provide 0 inodes, in order to prevent capacity monitoring tools from warning about resource exhaustion. This has been fixed in all other synthetic file systems in base in commit 88a795e, but this file was overlooked since its name does not indicate that it also provides a file system. MFC after: 1 month
Configuration menu - View commit details
-
Copy full SHA for 7fcfb81 - Browse repository at this point
Copy the full SHA 7fcfb81View commit details -
arm64: Fix typo in pagetable_l0_ttbr0_bootstrap symbol name
Obtained from: CheriBSD
Configuration menu - View commit details
-
Copy full SHA for 32e883e - Browse repository at this point
Copy the full SHA 32e883eView commit details -
HTPS has actually three states not two so the macro needs to account …
…for that. Ok lets fix up the tcp_in_hpts() so that it also says yes if you are in the race state moving and you are scheduled to be put in. This also requires changing the MPASS to be the old version non inline function of tcp_in_hpts(). This change also adds a new inline macro so that a uint64_t timestamp can be obtained by a transport (aka Rack will use this). Reviewed by: glebius, tuexen Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D44157
Configuration menu - View commit details
-
Copy full SHA for b805c2f - Browse repository at this point
Copy the full SHA b805c2fView commit details -
nvme: Firmware revisions in the firmware slot info logpage are ASCII …
…strings In particular, don't try to byteswap the values as 64-bit integers and always print a non-empty version as a string. Reviewed by: chuck, imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44121
Configuration menu - View commit details
-
Copy full SHA for 0ce64dd - Browse repository at this point
Copy the full SHA 0ce64ddView commit details -
pci_host_generic: Enumerate resource ranges under bootverbose
Previously ranges were only enumerated for the FDT attachment but not ACPI. This commit moves the enumeration to the shared attach routine so it is done for both. While here, don't list empty ranges but do include the resource type for each range. Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D44132
Configuration menu - View commit details
-
Copy full SHA for a98d48b - Browse repository at this point
Copy the full SHA a98d48bView commit details -
First batch of word smithing: /boot, /dev and /etc. Improved wording and a few missing files added, though /dev is by no means complete. Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for 839b307 - Browse repository at this point
Copy the full SHA 839b307View commit details -
hier.7: various improvements m-s
Second batch of word smithing: /media, /mnt, /nonexistant, /rescue, /sbin: Improved wording and a few missing files added Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for 0fe4505 - Browse repository at this point
Copy the full SHA 0fe4505View commit details -
hier.7: various improvements usr (no src)
Third batch of word smithing: /usr but not /usr/src: Improved wording and a few missing files added. Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for 26acb88 - Browse repository at this point
Copy the full SHA 26acb88View commit details -
hier.7: various improvements usr/src and /var
Forth batch of word smithing: /usr/src and /var: Improved wording and a few missing files added. Reviewed by: imp Pull Request: freebsd/freebsd-src#831
Configuration menu - View commit details
-
Copy full SHA for 1a7584f - Browse repository at this point
Copy the full SHA 1a7584fView commit details -
nvme: Report only the unknown bits
When we get a smart error that's unknown, report only the unknown (reserved) bits of the Critical Warning Bitfield. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for 9097fb4 - Browse repository at this point
Copy the full SHA 9097fb4View commit details -
Add an UNDEFINED_VERSION option
When enabled (current default) link with --undefined-version to allow symbol maps to contain symbols not defined by libraries. When disabled, link with --no-undefined-version to disallow these bugs. WITHOUT_UNDEFINED_VERSION is currently broken. Once it is fixed it should be made the default and this option should likely be removed. Reviewed by: dim, emaste Differential Revision: https://reviews.freebsd.org/D44169
Configuration menu - View commit details
-
Copy full SHA for 8c22c69 - Browse repository at this point
Copy the full SHA 8c22c69View commit details -
read.2: Use .Fn markup instead of .Xr for read/write calls
Udpate both write / read references from .Xr to .Fn to eliminate self-reference cross reference. Reviewed by: imp Pull Request: freebsd/freebsd-src#1128
Configuration menu - View commit details
-
Copy full SHA for 0e4aed2 - Browse repository at this point
Copy the full SHA 0e4aed2View commit details -
read(2): Add write cross reference
Add a write cross reference in the SEE ALSO section. Sponsored by: Netflix
Configuration menu - View commit details
-
Copy full SHA for c90f0cd - Browse repository at this point
Copy the full SHA c90f0cdView commit details