Commit Graph

304338 Commits

Author SHA1 Message Date
andvar 713cc3c7aa Add #ifdef DDB blocks around Debugger(); calls to make kernel build without DDB. 2023-12-13 23:11:35 +00:00
andvar fd86cb87a6 Make NBPFILTER build by adopting NetBSD's bpf_mtap() interface and definitions.
Condition is also not needed, since this check is performed inside function.
2023-12-13 22:53:04 +00:00
andvar 0aeb5daea0 Add (intptr_t) casts to fix "cast to pointer from integer of different size",
mainly for GENERIC64_32_* configs.
Also change segp->ds_len format specifier to %lld, which fixes DMA_DEBUG build.
2023-12-13 20:53:14 +00:00
andvar 40470a808e Removing obsolete TTY_DEBUG option from ALL kernels. 2023-12-13 10:53:15 +00:00
msaitoh 44076bb50e ixgbe: micro-optimize ixgbe_txeof()
Update txr->packets outside the loop in ixgbe_txeof().
2023-12-13 08:25:54 +00:00
nia 1ab6dcf6ee doc: Recent changes 2023-12-13 08:20:04 +00:00
thorpej 86e7016815 mDNSPlatformInit(): If we fail to create an IPv6 socket, ignore the
error and just continue without IPv6 support.

PR bin/57769
2023-12-13 07:15:40 +00:00
mrg 5fcb500928 avoid use after free. skip the QUIET check already in gpt_warn(). 2023-12-13 06:51:57 +00:00
rin 817c79e386 arm: pmap: Fix clang build without DIAGNOSTIC 2023-12-13 06:42:40 +00:00
andvar cf4143716c remove TTY_DEBUG code from sun2/sparc64 zs.c code. it doesn't look relevant
to this particular drivers and likely is a leftover from some historical code.
2023-12-12 23:38:11 +00:00
andvar b51b3597f1 extract capacity variable to make VDSK_DEBUG enabled code build. 2023-12-12 21:34:34 +00:00
andvar 888272d5d9 s/maked/marked/ 2023-12-12 20:24:00 +00:00
mlelstv dcf3cbf86f Merge with generic libsa NFS code to minimize differences and to learn NFSv3. 2023-12-12 09:16:17 +00:00
mlelstv 10b25568d4 Add NFSv3 support. Try NFSv3 and fall back to NFSv2. 2023-12-12 09:12:55 +00:00
andvar 024efb0e43 Surround fdc declaration and definition with FD_DEBUG blocks.
FD_DEBUG is defined by default, thus build passes, however would fail otherwise
since it is only used in debug block.
2023-12-11 22:29:39 +00:00
andvar 4e59ab5c59 s/MRCOFFE$/MRCOFFEE/ and s/MRCOFFE_OFW/MRCOFFEE_OFW/ in install docs.
Also apply uwe change from sparc/contents s/GENERIC-KRUPS/KRUPS/.
2023-12-11 21:57:41 +00:00
andvar bac9e987c2 s/MRCOFFE$/MRCOFFEE/ and s/MRCOFFE_OFW/MRCOFFEE_OFW/ in install docs. 2023-12-11 21:43:33 +00:00
mlelstv 832b64785c Implement cngetc, don't abort. 2023-12-11 14:00:47 +00:00
mlelstv 8ca9a81697 Use IANA registerd service name "sunrpc" instead of "rpcbind". 2023-12-11 13:56:47 +00:00
mlelstv 89a2e064d6 Adjust next key value (it's not used anywhere). 2023-12-11 13:38:13 +00:00
mlelstv 70c2a8fcd3 Regen 2023-12-11 13:35:40 +00:00
mlelstv 446c7b4da5 Add RTL8156 2023-12-11 13:33:35 +00:00
mlelstv 35ca8e8840 Don't unregister envsys when not registered. 2023-12-11 13:30:33 +00:00
mlelstv 82249e7b1d Output is always 16bit, the internal audio data type may differ. 2023-12-11 13:27:24 +00:00
mlelstv 017edd802a Output is always 16bit, the internal audio data type may differ. 2023-12-11 13:06:06 +00:00
mlelstv 0f6d6d0b8f Report UART clock. 2023-12-11 12:53:08 +00:00
mlelstv aa2bd5103f Avoid overflow of totals. 2023-12-11 12:47:24 +00:00
mlelstv f169dbc4fd Be verbose about errors. 2023-12-11 12:45:22 +00:00
mlelstv 2d9177bfbe pathconf needs to return EINVAL when the variable is invalid
or cannot be associated with a file. This also needs to be true
when the node doesn't implement the pathconf function at all.
2023-12-11 12:42:18 +00:00
mlelstv d233f49979 mmap() fails for size == 0 with EINVAL unless the mapping is anonymous. 2023-12-11 09:26:08 +00:00
riastradh 096391dfcd skey(1): Fix documentation of `-x' to match implementation.
PR bin/28495
2023-12-11 02:08:26 +00:00
andvar 9a1d4f7670 fix format specifiers for OLDPRINTFS build option. 2023-12-10 23:19:12 +00:00
rillig 3001856bca make: explain in the debug log why a variable assignment is ignored 2023-12-10 20:17:23 +00:00
rillig db7eedc6b6 make: remove redundant text from diagnostic about bad '?:' modifier 2023-12-10 20:12:28 +00:00
rillig 79eb3d19c8 make: clean up the check for command line variables
It looked suspicious that to check whether a variable was set via the
command line, the variable value would be needed.  Moving the debug
diagnostic to the calling function resolved this smell.

A variable from the command line scope is never short-lived, so there's
no need to clean up after accessing the variable.

No functional change.
2023-12-10 20:03:30 +00:00
rillig 51a7c589f0 make: clean up comments and local identifiers
No binary change, except for line numbers in assertions.
2023-12-10 19:56:53 +00:00
rillig 0056683bf5 make: document how to trigger a use-after-free bug
Since 2017-02-01.
2023-12-10 18:59:50 +00:00
schmonz fee42fd1d9 NFS client: fix interop with macOS 14 servers.
Symptom: a bunch of "Cannot open `.' (Invalid argument)".

thorpej@ analysis and fix: on the first request to read a given
directory, make sure READDIR and READDIRPLUS cookie verifiers are
being set to 0. This is in RFC1813 and macOS must have gotten
stricter about it.

Verified on 10.0_RC1/aarch64 to fix the reproducers in PR kern/57691 as
well as the original use case in which I met the bug: pkg_rr once again
runs to completion.
2023-12-10 18:16:08 +00:00
rillig 35fd37d4b4 tests/libcurses: require 3 digits in octal character escapes
Previously, the string literal "\0" had been interpreted as "0", which
would have made the backslash redundant.  The tests don't use this form.
2023-12-10 18:04:55 +00:00
rillig 97817c96ae indent: be strict about options from profile files
Previously, the "option" 'xdi0' was treated the same as '-xdi0'.
2023-12-10 17:45:35 +00:00
rillig 08fd84594d tests/libcurses: constify 2023-12-10 15:51:13 +00:00
rillig 2209bb4284 tests/libcurses: fix typo in comment 2023-12-10 15:42:29 +00:00
rillig d7c2af39e9 tests/indent: fix name of test case 2023-12-10 15:39:25 +00:00
rillig 0d42f426f1 cat: repeat storage class 'static' for local functions
No binary change.
2023-12-10 15:31:53 +00:00
rillig 960c22026a lint: allow querying for 'static' followed by non-'static' declaration 2023-12-10 15:29:38 +00:00
rillig de4a7516ed lint: clean up comments
No functional change.
2023-12-10 14:59:47 +00:00
rillig c13c7044f5 make: fix crash in ':C' modifier on an empty expression
Since var.c 1.982 from 2021-12-13.
2023-12-10 14:30:50 +00:00
pgoyette de2847b369 Default the build of compat_90 module to include IPv6, as is done
for other INET6-sensitive modules (see if_lagg).

XXX Pullup to -10 (will add to existing ticket)
2023-12-10 00:29:24 +00:00
oster e9a684c420 Allow kernels builds which don't define INET6 to compile compat bits too. 2023-12-09 20:31:57 +00:00
jkoshy b89ce83275 Update elfconstants.m4 to upstream [r4003]:
- Use signed integer literals for DT_* values.
2023-12-09 19:42:41 +00:00