committer filter by committer.
@path/to/ filter by path in repository.
committer@path/to/ filter by committer AND path in repository.
abdef0123 filter by commit's SHA hash.
rNNN filter by SVN revision.
rNNN-rMMM filter by SVN revisions range (inclusive).
Multiple filters can be specified separated by spaces or comas in which case they'll be combined using OR operator.
8e9ca137 | andrew | Aug. 11, 2022, 1:30 p.m. | Adjust function definition in subr_devmap.c to avoid clang 15 warning
With clang 15, the following -Werror warning is produced: sys/kern/subr_devmap.c:87:19: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] devmap_print_table() ^ void This is because devmap_print_table() and devmap_lastaddr() are declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration. Sponsored by: The FreeBSD Foundationcgit |
|
ec666d18 | andrew | Aug. 11, 2022, 1:30 p.m. | Adjust function definition in ofw to avoid clang 15 warning
With clang 15, the following -Werror warning is produced: sys/dev/ofw/openfirm.c:826:9: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] OF_enter() ^ void This is because OF_enter() and OF_exit are declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration. Sponsored by: The FreeBSD Foundationcgit |
|
05cef747 | andrew | Aug. 11, 2022, 1:30 p.m. | Adjust function definition in hwpmc to avoid clang 15 warning
With clang 15, the following -Werror warning is produced: sys/dev/hwpmc/hwpmc_arm64.c:530:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] pmc_arm64_initialize() ^ void This is because many of the functions are declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration. Sponsored by: The FreeBSD Foundationcgit |
|
40503b79 | melifaro | Aug. 11, 2022, 12:48 p.m. | routing: populate fibs with interface routes after growing net.fibs.
Currently it is possible to extend number of fibs in runtime, but this functionality is of limited use when net.add_addrs_all_fibs is non-zero, as the routing tables are created empty. This change automatically populate newly-created fibs with the kernel-originated interface routes (filtered by RTF_PINNED flag) if net.add_addrs_all_fibs is set. ``` -> sysctl net.add_addr_allfibs=1 net.add_addr_allfibs: 0 -> 1 -> sysctl net.fibs net.fibs: 2 -> sysctl net.fibs=3 net.fibs: 2 -> 3 BEFORE: -> setfib 2 netstat -rn Routing tables (fib: 2) AFTER: -> setfib 2 netstat -rn Routing tables (fib: 2) Internet: Destination Gateway Flags Netif Expire 10.0.0.0/24 link#1 U vtnet0 10.0.0.5 link#1 UHS lo0 127.0.0.1 link#2 UH lo0 Internet6: Destination Gateway Flags Netif Expire ::1 link#2 UHS lo0 2a01:4f9:3a:fa00::/64 link#1 U vtnet0 2a01:4f9:3a:fa00:5054:ff:fe15:4a3b link#1 UHS lo0 fe80::%vtnet0/64 link#1 U vtnet0 fe80::5054:ff:fe15:4a3b%vtnet0 link#1 UHS lo0 fe80::%lo0/64 link#2 U lo0 fe80::1%lo0 link#2 UHS lo0 ``` Differential Revision: https://reviews.freebsd.org/D36075 MFC after: 1 monthcgit |
|
02e05b8f | melifaro | Aug. 11, 2022, 12:48 p.m. | routing: fixup empty mask prefix handling after 2ce553854cbd.
MFC after: 1 monthcgit |
|
258828d0 | melifaro | Aug. 11, 2022, 9:47 a.m. | routing: fix build warning without ROUTE_MPATH
Reported by: Gary Jennejohn <garyj@gmx.de> MFC after: 1 monthcgit |
|
248da794 | kp | Aug. 11, 2022, 8:40 a.m. | if_ovpn tests: Test using a TCP socket for DCO
This used to trigger panics, so try to reproduce it. Create an if_ovpn interface, set a new peer on it with a TCP fd (as opposed to the expected UDP) and ensure that this is rejected. Sponsored by: Rubicon Communications, LLC ("Netgate")cgit |
|
fd6b3bed | kp | Aug. 11, 2022, 8:40 a.m. | if_ovpn: reject non-UDP sockets
We must ensure that the fd provided by userspace is really for a UDP socket. If it's not we'll panic in udp_set_kernel_tunneling(). Reported by: Gert Doering <gert@greenie.muc.de> Sponsored by: Rubicon Communications, LLC ("Netgate")cgit |
|
0b6d133c | ganbold | Aug. 11, 2022, 8:26 a.m. | Add RockChip RK356X support to existing RockChip thermal driver. | |
64f92395 | pho | Aug. 11, 2022, 7:42 a.m. | stress2: Added a regression test | |
ace8bb34 | ganbold | Aug. 11, 2022, 5:32 a.m. | Add support for RK3568 to RockChip GRF and SPI drivers.
Partially from https://reviews.freebsd.org/D36027 Submitted by: soscgit |
|
39fdad34 | imp | Aug. 11, 2022, 3:29 a.m. | stand: impose 510,000 byte limit for /boot/loader and /boot/pxeldr
The BIOS method of booting imposes an absolute limit of 640k for the size of the program being run due to btx. In practice, this means that programs larger than about 500kiB will fail in odd ways as the stack / heap will overflow. Pick 510,000 as the cutoff line semi-arbitrarily. loader_lua is now almost too big and we want to break the build when it crosses this threshold. In my experience, below 500,000 always works, above 520,000 always seems to fail with things getting bad somewhere between 512,000 to 515,000. 510,000 is as close to the line as I think we can go, though experience may dictate we need to lower this in the future. This is at-best a stop-breakage until we have a better way to subset the boot loader for BIOS booting to allow better, more fined-tuned /boot/loaders for the many different environments they have to run in. This likely means we'll have a graphical loader than understands a few filesystmes for installation, and a non-graphical loader that understands the most filesystems possible for everything else in the future. Our build infrastructure needs some work before we can do that, however. At this late date, it likely isn't worth the efforts to move parts of the loader into high memory. There's a number of assumptions about where the stack is, where buffers reside, etc that are fulfilled when it lives in the first 640k that would need bounce buffers and/or other counter measures if we were to split it up. All BIOS calls are done in 16-bit mode with SEG:OFF addresses, requiring them to be in the first 640k of RAM. And nearly all machines in the last decade can boot with UEFI (though there's some exceptions, so it isn't worth killing outright yet). Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D36129cgit |
|
e2295b91 | imp | Aug. 11, 2022, 3:28 a.m. | stand: i386/amd64: Always use elf format for /boot/loader and pxeldr
The first level boot blocks have understood how to load ELF code since 1999. Switch /boot/loader and /boot/pxeldr over to being ELF format so that in-tree tools can examine them more closely. In addition, one could, in theory, now have a 'lo-mem' and a 'hi-mem' segment (though a lot of work would need to be done with bounce buffers, btx, code segment marking, etc for an arrangement like that to work). As far as I can tell, this is the last a.out binary in the tree. There are several raw binaries left, but everything else is ELF. Reviewed by: emaste, kevans Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D36130cgit |
|
9f9fc6bb | philip | Aug. 11, 2022, 2:48 a.m. | contrib/tzdata: import tzdata 2022b
Changes: https://github.com/eggert/tz/blob/2022b/NEWS MFC after: 3 dayscgit |
|
79499b48 | philip | Aug. 11, 2022, 2:23 a.m. | Import tzdata 2022b |