IABSD.fr/src

Branch :


Log

Author Commit Date CI Message
72a107cf 2020-07-27 13:06:13 Add function prototype and move sub functions to bottom
f94a2c25 2020-07-27 12:29:51 Remove space between '*' and pointer variable in s_server.c
0e15fe22 2020-07-27 12:19:51 Remove 's_' prefix from member of s_server_config struct
5a233072 2020-07-27 12:09:14 Convert openssl(1) s_server option handling ok and comments from jsing@
247fdabf 2020-07-27 08:03:10 Add a -d option to display-message to set delay, from theonekeyg at gmail dot com in GitHub issue 2322.
2f6a94ad 2020-07-27 07:24:03 trim trailing whitespace in if_iwn.c Patch by Holger Mikolon
d6d9140f 2020-07-27 07:10:36 Fix two cases where we shpould compare/store 64-bit values instead of 32-bit values. ok gkoehler@, drahn@
ccee21b1 2020-07-27 05:08:57 Fix powerpc64's sbrk() Initialize __curbrk = &_end. It's a 64-bit pointer, so use ld/std instead of lwz/stw. ok drahn@
b1ef1ce0 2020-07-26 21:59:16 Add / as alias for g (grep) Simpliy mdoc(7) markup for "n|# count" while here. Positive manual feedback jmc No objections millert
7726dc73 2020-07-26 18:34:10 Document aggr(4) in the TRUNK section Complete the synopsis while here. Feedback OK jmc
c04334bf 2020-07-26 17:44:15 Avoid nvram lock timeout on sparc64 systems with onboard BCM5704 instances that come without a fitted EEPROM/NVRAM. ok deraadt@, kn@
409840fe 2020-07-26 13:27:23 Reference unveil(2) in system accounting and daily.8. Reminder that unveil does not kill from brynet and gsoares. Wording tweaks from jmc; feedback from deraadt. ok jmc@, millert@, solene@, "fine with me" deraadt@
a2c1178d 2020-07-26 12:23:32 Reduce IWN_DEBUG message noise related to scanning. Patch by Holger Mikolon ok tobhe@
802163a1 2020-07-26 03:00:42 print the address of the "non-MAP_STACK stack", so it can be compared against failure reported in dmesg (hmm, is it time to delete those fault messages?)
8ae2ff80 2020-07-25 21:12:49 remove unsused enum key_type, copied initialy from relays. found by Ross L Richardson, thanks! ok deraadt@
4627c47a 2020-07-25 19:31:33 Add stackpivot asm for ppc and ppc64 regress test. Also tweak the pagefault test to work better on arches that do not modify the stack pointer on return.
11848c02 2020-07-25 17:44:30 Handle SSL_MODE_AUTO_RETRY being changed during a TLSv1.3 session. Both Perl's HTTP::Tiny and IO::Socket::SSL know about SSL_MODE_AUTO_RETRY and try to work around the fact that OpenSSL enabled it by default. However, this can lead to the mode being disabled prior to the TLSv1.3 handshake and then enabled after the handshake has completed. In order to handle this correctly we have to check the mode and inform the record layer prior to every read. Issue reported and test case provided by Nathanael Rensen <nathanael@polymorpheus.com>. ok inoguchi@ tb@
9b4e521a 2020-07-25 16:34:30 No need for a bzero(), just init saa.sf to NULL. All the saa.saa fields are explicitly initialized.
735d7ac9 2020-07-25 15:45:44 Add a EXIT STATUS section "no objection" ajacoutot@
78c5d546 2020-07-25 13:50:49 Nuke unused struct scsi_link member of struct wd33c93_softc. SGI compile tests by visa@
9ab2b445 2020-07-25 12:44:50 With "%lx" new awk(1) prints 64 bit value also on 32 bit platforms. Replace it with Perl pack() to get hex representation of -1 on current platform. Make test pass again on i386.
06930f11 2020-07-25 12:26:09 Port over NetBSD's arm64 disassembler for DDB. ok kettenis@, patrick@
d60dd69d 2020-07-25 12:14:16 More DESC -> DESCR; spotted by espie@
11680267 2020-07-25 12:08:17 tyop: DESC -> DESCR ok landry@ robert@
03a6d8ed 2020-07-25 11:53:37 remove half a dozen "goto" statements and a label that change nothing whatsoever, except making the code harder to read; OK tb@
8f5bca08 2020-07-25 10:11:38 Change kernel SLB setup code to avoid the (theoretical) possibility to enter duplicate mappings.
97b78b05 2020-07-25 00:48:03 timeout(9): remove TIMEOUT_SCHEDULED flag The TIMEOUT_SCHEDULED flag was added a few months ago to differentiate between wheel timeouts and new timeouts during softclock(). The distinction is useful when incrementing the "rescheduled" stat and the "late" stat. Now that we have an intermediate queue for new timeouts, timeout_new, we don't need the flag. The distinction between wheel timeouts and new timeouts can be made computationally. Suggested by procter@ several months ago.
df3b6e8e 2020-07-24 22:12:00 If KTRACE environment is set, generate ktrace output also for client and server. Together with the syslogd ktrace this helps debugging.
e7acdf99 2020-07-24 21:01:33 timeout(9): delay processing of timeouts added during softclock() New timeouts are appended to the timeout_todo circq via timeout_add(9). If this is done during softclock(), i.e. a timeout function calls timeout_add(9) to reschedule itself, the newly added timeout will be processed later during the same softclock(). This works, but it is not optimal: 1. If a timeout reschedules itself to run in zero ticks, i.e. timeout_add(..., 0); it will be run again during the current softclock(). This can cause an infinite loop, softlocking the primary CPU. 2. Many timeouts are cancelled before they execute. Processing a timeout during the current softclock() is "eager": if we waited, the timeout might be cancelled and we could spare ourselves the effort. If the timeout is not cancelled before the next softclock() we can bucket it as we normally would with no change in behavior. 3. Many timeouts are scheduled to run after 1 tick, i.e. timeout_add(..., 1); Processing these timeouts during the same softclock means bucketing them for no reason: they will be dumped into the timeout_todo queue during the next hardclock(9) anyway. Processing them is pointless. We can avoid these issues by using an intermediate queue, timeout_new. New timeouts are put onto this queue during timeout_add(9). The queue is concatenated to the end of the timeout_todo queue at the start of each softclock() and then softclock() proceeds. This means the amount of work done during a given softclock() is finite and we avoid doing extra work with eager processing. Any timeouts that *depend* upon being rerun during the current softclock() will need to be updated, though I doubt any such timeouts exist. Discussed with visa@ last year. No complaints after a month.
a9f43bc3 2020-07-24 20:39:03 netinet: tcp_close(): delay reaper timeout by one tick Zero-tick timeouts rely on implicit behavior in the timeout layer that inhibits optimizations in softclock(). bluhm@ says waiting a tick for the reaper shouldn't break anything. ok bluhm@
2fbe5cbb 2020-07-24 18:41:08 With TLS 1.3 error message has slightly changed if the cafile does not contain the CA of the server certificate.
720e1fee 2020-07-24 18:33:58 LibreSSL default TLS version has changed from 1.2 to 1.3. Adapt tests that use and check selected SSL version.
5da81402 2020-07-24 18:17:14 Use interface index instead of pointer to `ifnet' in carp(4). ok sashan@
a0b034c4 2020-07-24 16:40:47 fix sentence grammar in AUTHORS;
11f343f8 2020-07-24 16:38:47 tweak previous;
f5b217e8 2020-07-24 16:33:42 make it a bit clearer that -p is a path to a package repository, not just a regular file path; patient explanation (neccessary) and eventual ok espie
14c0d295 2020-07-24 16:22:33 Enable usertc if the NPT bit isn't set for %tick and %sys_tick. ok naddy@
8d2d5234 2020-07-24 14:54:38 Suppress kernel printf output in the octeon boot kernel. OK kettenis@
d2ccf808 2020-07-24 14:46:06 Remove bge(4) and brgphy(4) as the bootloader doesn't include network support of any kind. Speeds up booting a bit.
c15324e3 2020-07-24 14:27:47 Implement BOOT_QUIET option that supresses kernel printf output to the console. When the kernel panics, print console output is enabled such that we see those messages. Use this option for the powerpc64 boot kernel. ok visa@, deraadt@
4cb186b8 2020-07-24 14:06:33 Increase state counter for least-states when the address is selected by sticky-address. Also fix the problem that the interface which is specified by the selected table entry is not used properly. ok jung sashan
500422e9 2020-07-24 12:43:31 Turning on various scsi drivers' *DEBUG options reveals that this has rarely (if ever) been done. Fix many printf format errors to calm clang and gcc on amd64, i386, hppa. Missing #include, complaints if 'option <blah>DEBUG' is used in config files, etc. All in debug code.
073a2214 2020-07-24 07:05:37 Add a hook when the pane title changed.
dc1f8e2f 2020-07-24 05:32:51 sync
c0f7b35a 2020-07-24 04:53:04 Make timeout_add_sec(9) add a tick if given zero seconds All other timeout_add_*() functions do so before calling timeout_add(9) as described in the manual, this one did not. OK cheloha
cf6ca2c8 2020-07-24 03:20:50 Remove lacpmode and lacptimeout bits ifconfig(8) commands "lacptimeout 1" and "lacpmode active" error out with "ifconfig: Invalid option for trunk: tpmr0"; tpmr(4) has no mode or config, so these ioctls are inappropiate in the first place. Remove SIOCSTRUNKOPTS, SIOCGTRUNKOPTS stubs and now unused <net/if_trunk.h>. OK dlg
ef301d81 2020-07-24 01:57:06 Regular expression support in RS is an extension.
6e780b9a 2020-07-24 00:45:40 Remove trunkdev bits ifconfig(8) prints "trunk: trunkdev tpmrN" for member interfaces, which is misleading as tpmr(4) is being completed into a bridge-like interface. Remove SIOCGTRUNKPORT so tpmr(4) does not report members as trunk devices (next diff will implement SIOCBRDGIFS). OK dlg
e32d07ff 2020-07-24 00:43:09 Remove trunkproto bits ifconfig(8) prints "trunk: trunkproto none" for tpmr(4) which is useless as there is no configurable protocol in the first place. Remove SIOCSTRUNK and SIOCGTRUNK which were just simple stubs anyway. OK dlg
8fd64925 2020-07-23 23:14:40 sync
0ce57a28 2020-07-23 22:33:29 Fix wrong and missleading information in cy(4). - Correct error messages - RxFifoThreshold is named RX_FIFO_THRESHOLD with value of 6 - LogOverruns does not exist, error logging is always on ok bluhm@
236b8fcc 2020-07-23 22:01:08 Fix ibuf leak in sa_localauth when SA is freed. ok patrick@
483368fb 2020-07-23 20:19:27 Change line counter from int to unsigned long long to reduce overflow. In case unsigned long long is miraculously still too small add an additional overflow detection so we stop counting and add a marker to couter output. Input on earlier diff guenther@ OK millert
2c40dbd1 2020-07-23 20:13:01 getline(3) does it's own memory allocation. No need to use an intermediate buffer and copy it over to the final destination. Tweaks and OK millert@, schwarze@
f75b961e 2020-07-23 18:51:24 Free SLB descriptors when we destroy a pmap.
7e22e691 2020-07-23 17:34:53 document PEM_X509_INFO_read(3) and PEM_X509_INFO_read_bio(3) OK tb@
dd0c637a 2020-07-23 17:15:35 Fix a bug in PEM_X509_INFO_read_bio(3) that is very likely to cause use-after-free and double-free issues in calling programs. The bug was introduced in SSLeay-0.6.0 released on June 21, 1996 and has been present since OpenBSD 2.4. I found the bug while documenting the function. The bug could bite in two ways that looked quite different from the perspective of the calling code: * If a stack was passed in that already contained some X509_INFO objects and an error occurred, all the objects passed in would be freed, but without removing the freed pointers from the stack, so the calling code would probable continue to access the freed pointers and eventually free them a second time. * If the input BIO contained at least two valid PEM objects followed by at least one PEM object causing an error, at least one freed pointer would be put onto the stack, even though the function would return NULL rather than the stack. But the calling code would still have a pointer to the stack, so it would be likely to access the new bogus pointers sooner or later. Fix all this by remembering the size of the input stack on entry and cutting it back to exactly that size when exiting due to an error, but no further. While here, do some related cleanup: * Garbage collect the automatic variables "error" and "i" which were only used at one single place each. * Use NULL rather than 0 for pointers. I like bugfixes that make the code four lines shorter, reduce the number of variables by one, reduce the number of brace-blocks by one, reduce the number if if-statements by one, and reduce the number of else-clauses by one. Tweaks and OK tb@.
5fc7d48a 2020-07-23 16:21:44 Bump MAXCPUS (for MULTIPROCESSOR kernels) to 48, which seems to be the maximum numbers of cores available in any POWER9 system.
2674a7f8 2020-07-23 16:01:08 Enter DDB directly when we encounter an unhandled trap such that we can inspect the state corresponding to that trap.
5e96aed0 2020-07-23 15:09:09 Use per-pmap lock to protect userland SLB handling.
37304ae7 2020-07-23 14:53:48 change bfd amd64 ELF_MAXPAGESIZE from 1M to 4K An amd64 clang 10 binary built with lld 10 would abort after calling execve(2) if it had been stripped. PT_LOAD segment aligment being changed by strip was the cause. Changing to 4K matches lld and results in a working binary after strip. Introducing ELF_MINPAGESIZE of 4K (which is ELF_MAXPAGESIZE if not defined by the arch) would have also worked but we don't support large pages in userland. ok kettenis@
97f343bd 2020-07-23 14:34:55 Fix strlcpy() usage. The size argument should be the full size of the buffer, not the number of bytes to copy. The strlcpy() return value should be checked to verify that truncation did not occur. OK florian@
5784a26a 2020-07-23 14:17:56 Check all lists if option not found already.
ac5517e4 2020-07-23 13:54:07 Update to 4.3.2.
371cc347 2020-07-23 11:09:13 drm/i915/perf: Use GTT when saving/restoring engine GPR From Umesh Nerlige Ramappa b3944d5248c6be0f2dc95a231822c6c67d6f6fd9 in linux 5.7.y/5.7.10 aee62e02c48bd62b9b07f5e297ecfc9aaa964937 in mainline linux
fc19d940 2020-07-23 11:05:52 drm/i915/gvt: Fix two CFL MMIO handling caused by regression. From Colin Xu 7924e77bf17003aad76f31126d27afe17439876d in linux 5.7.y/5.7.10 fccd0f7cf4d532674d727c7f204f038456675dee in mainline linux
12f7ecba 2020-07-23 11:03:14 drm/i915/gt: Only swap to a random sibling once upon creation From Chris Wilson b99382de1233866a7eea4a016029d417bdcc0fe7 in linux 5.7.y/5.7.10 110f9efa858f584c6bed177cd48d0c0f526940e1 in mainline linux
033fc66b 2020-07-23 11:00:13 drm/i915/gt: Ignore irq enabling on the virtual engines From Chris Wilson efce4c5bf8873329a578b70c4b5b0df0fee73e2d in linux 5.7.y/5.7.10 858f1299fd6f7518ddef19ddd304c8398ac79fa5 in mainline linux
d8b0789b 2020-07-23 10:57:50 drm/i915: Move cec_notifier to intel_hdmi_connector_unregister, v2. From Maarten Lankhorst bc4727542c394ac99e1826e35d708d83088591d3 in linux 5.7.y/5.7.10 6647e6cdba753e71170be7da2acfead7154f56d8 in mainline linux
117df390 2020-07-23 10:54:50 drm/amdgpu/display: create fake mst encoders ahead of time (v4) From Alex Deucher 4c76a5a3db25f24accb12acf4a6f3707ee283761 in linux 5.7.y/5.7.10 3168470142e0a82b5732c04ed4c031a9322ae170 in mainline linux
f0851b17 2020-07-23 10:49:23 drm/amd/display: OLED panel backlight adjust not work with external display connected From hersen wu 702e13f8d26c6d18389c299347580783fef02bcd in linux 5.7.y/5.7.10 b448d30b0c303d5454ea572b772d1ffae96bc6e7 in mainline linux
332c92d0 2020-07-23 10:46:17 drm/amd/display: handle failed allocation during stream construction From Josip Pavic adfe5ec9ac3ff13e9dabe42216fb34a9e9c19738 in linux 5.7.y/5.7.10 be73e608ae2711dc8a1ab8b9549d9e348061b2ee in mainline linux
473d62af 2020-07-23 10:43:10 drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr() From Xiaojie Yuan 7c7df36732772d4f68e0ed50667ced18440bb2ad in linux 5.7.y/5.7.10 05051496b2622e4d12e2036b35165969aa502f89 in mainline linux
2aee0a62 2020-07-23 10:40:17 drm/amdgpu/powerplay: Modify SMC message name for setting power profile mode From chen gong b22a2501543e9ebe88b8375652ad41715f1e765d in linux 5.7.y/5.7.10 98a34cf931e848f8489d3fb15a8f5fc03802ad65 in mainline linux
f94c830f 2020-07-23 10:10:15 Even more whitespace fixup.
752a0852 2020-07-23 09:49:33 Fix typo in previous commit such that the code is actually compiled in.
6d00698e 2020-07-23 09:21:51 match on AMDI0010 Makes imt(4) and ims(4) attach and touchpad work on jmc@'s Inspiron 5505. "pms0: Elantech Clickpad, version 4, firmware 0x5f1001" also probes but by itself did not result in a functional touchpad. ok kettenis@
1d772be3 2020-07-23 09:17:03 Fix comments to match code; OK fcambus@
c5b7f942 2020-07-23 07:45:28 Handle the case where we can sleep (and therefore switch CPUs) while handling kernel traps.
79587802 2020-07-23 05:59:21 Grammar fix: accept -> accepts. ok jmc
e3eac33c 2020-07-23 01:24:53 Increase the event queue size. When polling for admin command completion, we don't wait for the event to be posted to the queue, we just look at the command itself, which means we can build up a backlog of events to be posted. Newer firmware for ConnectX-4 seems to get upset if the backlog grows beyond some fraction of the event queue size, causing an interrupt storm. This was reported by patrick@ and Hrvoje Popovski (at least) while testing support for multiple tx/rx queues. With the new event queue size, we can safely create 8 queues.
e567d068 2020-07-23 00:08:10 Nuke unused struct scsi_link member of spc_softc. luna88k compile test by aoyama@
94d2852c 2020-07-22 22:06:00 Nuke unused struct scsi_link member of vdsk_softc. sparc64 compile test by jmatthew@
09e5d825 2020-07-22 21:14:05 Init GOP and COMPHY.
fad015d2 2020-07-22 20:58:40 Pass tid we're looking for to mvpp2_prs_hw_read(), then we can zero the prs entry there and also save a few lines.
fef01367 2020-07-22 20:50:16 Rework mvpp2_prs_flow_find() to return a tid instead of a whole prs entry, saving at least one unnecessary malloc(9)/free(9) cycle.
284a504d 2020-07-22 20:41:26 Make switching CPUs in DDB work.
ef3cc1ee 2020-07-22 20:39:02 Actually try to evict a PTE from a different slot instead of failing to evict the same PTE 16 times because the PTE is wired.
793c5642 2020-07-22 20:37:34 Use interface index instead of pointer to `ifnet' in `struct bstp_port'. ok yasuoka@
e283fc53 2020-07-22 20:36:09 Integrated cam in the Lenovo X1 6th Generation Notebook works.
47b8e6a0 2020-07-22 19:57:59 Fix more whitespace issues.
e042150e 2020-07-22 19:56:42 Use correct ethertype and IP proto defines.
70ad0a12 2020-07-22 19:54:05 Fix whitespace issue.
af1244a6 2020-07-22 19:53:11 Use 1U for BIT(x), always define it and use it in four more places.
0db84b27 2020-07-22 19:20:41 Collapse consecutive stars to avoid exponential behavior. OK tb@
d162cc44 2020-07-22 19:09:15 Don't grab the kernel lock for mpsafe interrupts.
739ba58d 2020-07-22 17:39:50 pstat -t was showing bogus column data on ttys, in modes where newline doesn't occur to rewind to column 0. If OPOST is inactive, simply return 0. ok millert
fcf94dc6 2020-07-22 16:49:13 Implement IPIs.
29688a32 2020-07-22 15:33:49 sensorsd(8) reported an unveil failure due to chdir / . Call chdir(2) before unveil(2). Use absolute config path after chdir, also necessary for SIGHUP. /etc/sensorsd.conf.db must be unveiled, cgetent(3) tries to open it. OK beck@
7932220e 2020-07-22 14:06:08 build bsd.mp (issues remain, but doing the build effort is valuable already)