IABSD.fr/src

Branch :


Log

Author Commit Date CI Message
331b91e4 2022-01-05 03:53:26 use the index provided by the txcompletion descriptor in txeof. this replaces the use of a register in txeof to figure out how much of the ring has been completed by the hardware. that register isn't reset when an interface is taken down and brought up again, which messes with the calculations of free slots on the ring, which in turn messes up the ability to transmit packets. this means the watchdog can't know where the hardware is up to anymore, so just restartthe chip if the watchdog fires. it seems to be important to start the tx ring in msk_init on the 0th ring entry that we use to reset the high address value to 0. we still fill the 0th descriptor, but we let the first msk_start call post it for us when a packet goes on the ring. a slight tweak and ok jmatthew@
3276931a 2022-01-05 03:32:43 Add mpfclock(4), a driver for the PolarFire SoC MSS clock controller. OK kettenis@
8aa3b490 2022-01-05 02:00:55 remove unused defines ok gnezdo@
bcf979e4 2022-01-04 20:55:48 Future-proof by adding some proposed compatible strings to match on.
f4f4cc81 2022-01-04 20:52:34 Readability tweaks in the print helper i2r_IPAddressOrRanges. Assign repeated nested expressions to local variables and avoid some awkward line wrapping.
6543b26c 2022-01-04 20:43:44 struct pci_matchid is useful an upcoming userland program that wants to includes pcivar.h because it inspects vid/pid tables
f56b290d 2022-01-04 20:41:42 hide more things behind _KERNEL, in case userland manages to include this file
02fbd552 2022-01-04 20:40:43 Consistently name variables with a _len suffix instead of mixing things like prefixlen, afi_length, etc. suggested by jsing
598f4af5 2022-01-04 20:33:02 Only check the parent to be canonical once we know it is non-NULL. suggested by jsing during review
406a7a7b 2022-01-04 20:30:30 Refactor extract_min_max() extract_min_max() crammed all the work in two return statements inside a switch. Make this more readable by splitting out the extraction of the min and max as BIT STRINGs from an addressPrefix or an addressRange and once that's done expanding them to raw addresses. ok inoguchi jsing
f762180d 2022-01-04 20:23:05 Remove checks that are duplicated in extract_min_max() The NULL checks and the checks that aor->type is reasonable are already performed in extract_min_max(), so it is unnecessary to repeat them in X509v3_addr_get_range() ok inoguchi jsing
9898d3b5 2022-01-04 20:21:14 sync
37f392f9 2022-01-04 20:21:04 Make X509v3_addr_get_range() readable. Instead of checking everything in a single if statement, group the checks according to their purposes. ok inoguchi jsing
761d8685 2022-01-04 20:17:07 Add a length check to make_addressPrefix() Make the callers pass in the afi so that make_addressPrefix() can check prefixlen to be reasonable. If the afi is anything else than IPv4 or IPv6, cap its length at the length needed for IPv6. This way we avoid arbitrary out-of-bounds reads if the caller decides to pass in something stupid. ok inoguchi jsing
313ac8f1 2022-01-04 20:04:38 Remove some dead code IPAddressRange_new() populates both its min and max members, so they won't ever be NULL and will never need to be allocated. ok inoguchi jsing
8af78584 2022-01-04 20:02:22 Drop a pointless NULL check IPAddressOrRange_new() instantiates a choice type, so we need to allocate one member of the union ourselves, so aor->u.addressPrefix will always be NULL. ok inoguchi jsing
b7d4d78f 2022-01-04 19:56:53 First pass over x509_addr_validate_path() Replace reaching into the structs with IPAddressFamily accessors and add a few comments that explain what the code is actually doing. ok inoguchi jsing
29d838e0 2022-01-04 19:51:24 Document ruby31 FLAVOR
a4b2db38 2022-01-04 19:49:14 Refactor IPAddressFamily accessors Introduce a helper function that allows fetching the AFI and the optional SAFI out of an IPAddressFamily. Also add two wrappers that only fetch and validate the AFI, where validation currently only means that the length is between 2 and 3. Use these accessors throughout to simplify and streamline the code. ok inoguchi jsing
de22d368 2022-01-04 18:41:32 Pass the filename back from the parser to the parent. The parent will then add the filename to the filepath tree instead of doing that in entity_write_req(). In the parser pass the filename instead of the full entity object to various proc_parser functions. With this it will be possible to check more then one file in the parser. OK tb@, earlyer version OK benno@
86bd3e15 2022-01-04 18:16:09 Fix -n mode by setting repository states to REPO_DONE instead of the more correct REPO_FAILED. The problem is that with REPO_FAILED the repo no longer matches a subsequent rrdp_get lookup and as a result the repo uses rsync which wrong in this case. OK benno@ tb@
21a11680 2022-01-04 18:13:31 Use the device we read the hibernate signature from for the entire resume. This fixes setups where a umass device no longer attaching at resume results in a softraid device being renumbered so the hibernate-time device is no longer correct ok mlarkin@ jsing@
fae5bdc0 2022-01-04 16:15:28 Restrict the pci(4) ioctl interface to devices detected by the kernel. This fixes issues on the M1 Macs where the PCI probe done by Xorg breaks the WiFi chip. ok patrick@
0df2aed8 2022-01-04 15:55:28 fix length boundary checks for incoming packets in iwm/iwx The minimum length and the maximum length required were both too low, due to an error in accounting for the 4-byte packet length+flags header. Patch by Christian Ehrhardt
a048bec5 2022-01-04 15:53:57 fix Rx Block Ack session validity checks in iwm(4) and iwx(4) I ported a NULL pointer check from iwlwifi rxmq.c which cannot happen in our version of this code. Instead we need to check the BA session ID to determine whether a BA session is valid. Patch by Christian Ehrhardt.
03a878ae 2022-01-04 15:37:23 Simplify the verify callback The final warnx() is very noisy and essentially a remnant of earlier debugging code. By ditching it and erroring directly on encountering an unknown critical extension, the code becomes a bit simpler. ok claudio
ec4b63a0 2022-01-04 15:25:05 Try to handle possible vm_register() failures and return an error back to the caller instead of most probably crashing because of a NULL pointer access. This fixes also another -Wunused-but-set-variable warning. OK benno@ dv@
79ac00b5 2022-01-04 15:22:53 Remove unused imsg type IMSG_VMDOP_RECEIVE_VM_RESPONSE. OK benno@ dv@
0c8271c8 2022-01-04 15:21:40 Another -Wunused-but-set-variable fix. Based on input from dv@
98142e86 2022-01-04 15:18:44 Fix some simple -Wunused-but-set-variable warnings. OK benno@ dv@
29ec0a10 2022-01-04 13:43:14 - add LDAP - capitalise RADIUS when referring to the protocol - remove tis from raf czlonka ok sthen ajacoutot
8a93f6f8 2022-01-04 13:40:58 acpi_getprop() needs to actually make sure that we're looking at the correct property. While there adjust acpi_getpropint() as well to increase similarity with acpi_getprop(). ok kettenis@
cac2b49e 2022-01-04 13:39:01 Stop setting X509_V_FLAG_IGNORE_CRITICAL Since the last bump, libcrypto knows about the RFC 3779 extensions. Therefore, setting X509_V_FLAG_IGNORE_CRITICAL is no longer needed. In fact, we want to error on critical extensions neither rpki-client nor libcrypto knows about. On older LibreSSL versions with the default verify callback, this causes verification failures. Implement a verify callback that intercepts X509_V_ERR_UNHANDLED_CRITICAL_EXTENSIONS and checks that the cert doesn't contain critical extensions not supported by libcrypto other than the expected RFC 3779 extensions. Tested with LibreSSL 3.3 and 3.4 on OpenBSD 6.9 and 7.0-stable by me and with LibreSSL 3.2 on Linux by claudio. input/ok claudio
9ccbb9b1 2022-01-04 12:53:31 Return 0 on failure from send/get kex functions in the legacy stack. In the legacy stack, a message handling function returns -1 for failure, 0 for need more data and 1 for success (although in extra special cases 2 may also be used). However, the various send/get kex functions only need to indicate success or failure - switch these to return 0 on failure (rather than -1) and use normal result testing. This leaves GOST unchanged for now, as that code is special and needs extra work. ok inoguchi@ tb@
7797d4a0 2022-01-04 11:31:42 remove the last part of driver for aic-6250 scsi on aviion
2e52d851 2022-01-04 11:17:11 Use normal result testing for tls1_check_curve().
ca11234c 2022-01-04 11:14:54 Refactor ssl3_get_server_kex_ecdhe() to separate parsing and validation. If we receive something other than a "named curve", send a handshake failure alert as we're unable to complete the handshake with the given parameters. If the server responded with a curve that we did not advertise send an illegal parameter alert. ok inoguchi@ tb@
29c32886 2022-01-04 11:01:58 Pull key share group/length CBB code up from tls13_key_share_public() This provides better symmetry with the parsing code and will allow for better reuse with the legacy stack, which has different message structures. ok inoguchi@ tb@
96f00877 2022-01-04 11:01:24 remove files missed when sgi was removed ok visa@
08f92585 2022-01-04 10:34:16 Only allow zero length key shares when we know we're doing HRR. ok inoguchi@ tb@
3c80d5b5 2022-01-04 08:38:53 Log command invocation in debugging log to aid in manually reproducing failing commands.
25a6215e 2022-01-04 07:20:33 unbreak test: was picking up system ssh-add instead of the one supposedly being tested. Spotted by dtucker and using his VM zoo (which includes some systems old enough to lack ed25519 key support)
9bef9860 2022-01-04 06:48:46 remove unused file
4d544115 2022-01-04 06:32:39 Add `ipsec_flows_mtx' mutex(9) to protect `ipsp_ids_*' list and trees. ipsp_ids_lookup() returns `ids' with bumped reference counter. original diff from mvs ok mvs
b3441518 2022-01-04 06:20:37 Make host name DHCP option configurable. Diff from hagen@sdf.org, tweaks by me. OK phessler testing & OK bket
11cc0cd9 2022-01-04 06:17:46 Wait for the link-local address to become non-tentative. Otherwise we just end up with an ugly "Can't assign requested address" error from sendmsg(2). OK phessler
d405dcaf 2022-01-04 05:50:43 Remove commented out gtp from amd64 GENERIC It has long been irrelevant as pointed out by Crystal Kolipe kolipe.c AT exoticsilicon.com ok mlarkin
656f8411 2022-01-03 23:48:03 sync
5cd0c9a5 2022-01-03 21:49:37 note the -c runs sh -c; from nabijaczleweli
68b5d5e1 2022-01-03 16:42:17 Prefix life time is independent from router life time. Form an IPv6 address even if the router announcing the prefix isn't a default router. Problem reported by mgraves AT brainfat.net on misc OK denis
91aad4ce 2022-01-03 15:50:16 SOCs -> SoCs
329157c6 2022-01-03 12:01:32 the prism54 domain is long abandoned don't give any traffic to whoever registered it afterwards ok claudio@ stsp@
f790b53d 2022-01-03 09:48:41 ansi
3ea1dcec 2022-01-03 03:40:48 By default, put intermediate files in a temp dir and remove it on completion. To leave files in /tmp, use new -k option.
fe0d117c 2022-01-03 03:06:49 Don't use != 0 to check whether a pointer is non-NULL.
244d81b5 2022-01-03 02:10:57 reuse gcu(4) comment from GENERIC fixing spelling
950d978d 2022-01-03 00:44:30 happend -> happened
f59bdad6 2022-01-02 23:39:48 approprate -> appropriate
a89e9613 2022-01-02 23:34:15 Resore -> Restore
36467ff3 2022-01-02 23:31:10 firmare -> firmware
4162249a 2022-01-02 23:29:12 excuted -> executed
1b0e8792 2022-01-02 23:14:26 Prism54 (only full-mac varients) -> Prism54 Full-MAC
30783a34 2022-01-02 23:05:15 Mac -> MAC
df8d9afd 2022-01-02 22:36:03 spelling ok jmc@ reads ok tb@
ed6bb786 2022-01-02 21:01:20 immediatly -> immediately
38dd1e12 2022-01-02 21:00:37 fix strange indentation in code example
2fef1223 2022-01-02 20:10:24 Grab kernel lock when required. ok patrick@
f9b35d7e 2022-01-02 20:00:21 Don't use != 0 to check whether a pointer is non-NULL.
4b0a6a04 2022-01-02 17:26:14 Stop writing big-endian checksums into the little-endian GPT header fields gh_csum and gh_part_csum. Constrain kernel to accepting only correct little-endian checksums. Temporarily allow fdisk(8) to read either endian GPTs so that big-endian GPTs can be made correct by a simple 'fdisk -e' && 'w'. Fixes inter-architecture, inter-OS GPT portability and GPT fdisk(8) on big-endian architectures. Broken since initial GPT implementation. Suggestions and ok kettenis@
bb7ff1e6 2022-01-02 06:16:08 priviledged -> privileged
66286566 2022-01-02 05:59:53 priveledged -> privileged
d4881cea 2022-01-02 05:49:50 convension -> convention
38d1ccf7 2022-01-02 05:40:06 Nummber -> Number
7a01c7d3 2022-01-02 05:37:19 numers -> numbers
5e505ec9 2022-01-02 05:32:00 contoller -> controller
b487db00 2022-01-02 05:30:07 phsyaddr -> physaddr
a08b077f 2022-01-02 05:00:28 spelling
a7c97ccf 2022-01-02 03:41:08 addres -> address
48cd9f46 2022-01-02 02:31:08 unhandle -> unhandled
be1b22fc 2022-01-02 02:26:50 slignment -> alignment
b040ff10 2022-01-02 02:13:33 preferense -> preference
7fcada35 2022-01-02 01:59:42 plaform -> platform
2f731f58 2022-01-02 01:20:25 Don't use *ENTRY_NB() with END_BUILTIN(), at least yet Problem noted by naddy@
1d46a334 2022-01-02 01:01:04 establush -> establish
ec0f1ad6 2022-01-01 23:47:14 Add ENTRY_NB() macro for doing an ASM function entry without setting the binding to global (NB == "no binding"), as clang 13 is now warning about changing the binding from global to weak. This first pass does amd64 and sparc64 and pulls DEFS.h out of the per-arch directory to a common directory; others to follow ok kettenis@
05d7ee9d 2022-01-01 18:54:09 Revert the hack for Apple M1 systems. ok patrick@
b83a19dd 2022-01-01 18:52:36 Rewrite the kernel FPU handling code. The new code saves the FPU state in cpu_switch() instead of at the kernel edge and gets rid of the FPU state tracking in struct cpu_info and struct pcb. This fixes the random crashes seen with SMP kernels on Apple M1. ok patrick@
f2e739fd 2022-01-01 18:52:26 Use correct defines for random seed magic/length. Spotted by Andreas Schnebinger
17a80e6e 2022-01-01 18:20:52 uniq(1): miscellaneous style(9)-ish stuff - Include what you use: + Add <strings.h> for strcasecmp(3). + Drop <errno.h>, unused. - Pull the "errstr" declaration out of the getopt(3) loop up to the top of main(). - Align the strtonum(3) error messages with the argument names in the uniq.1 manpage and the usage string. They are referred to as "chars" and "fields". - Trim some whitespace. - Return from main() instead of exit(3). - De-(void) fprintf(3). - Prefer getprogname(3) to __progname.
2d34e7b7 2022-01-01 17:44:18 uniq(1): bump numchars, numfields from int to long long Also bump repeats from int to unsigned long long. While here, don't cast the result of strtonum() and unwrap some lines.
685fac69 2022-01-01 14:18:39 Remove unused function prototype.
05284820 2022-01-01 11:45:35 Add missing locking to pmap_extract(9) and pmap_unwire(9). ok patrick@, mpi@
e3cefe4e 2022-01-01 08:10:29 Multiprocol -> Multiprotocol
bb254240 2022-01-01 08:01:27 Identifiier -> Identifier
2360386f 2022-01-01 07:00:57 copyright++;
2475e070 2022-01-01 05:55:06 spelling
682522bd 2022-01-01 04:18:06 fix memleak in process_extension(); oss-fuzz issue #42719
07c13846 2022-01-01 03:59:22 eascape -> escape
311023f2 2022-01-01 03:57:20 approciate -> appropriate
59c27355 2022-01-01 02:44:22 failured -> failed