summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for ^R (redraw) in insert mode too.millert2021-03-102-3/+9
| | | | From gotroyb127, OK tb@
* Don't return ERR if resize didn't change sizemillert2021-03-106-20/+25
| | | | | | | This is a backport of the ncurses 5.9 20120707 patch. Previously, getch() would return ERR if SIGWINCH was received but the window didn't actually change size. This can happen, for example, when the xterm font is changed. OK tb@
* Fix redrawing of a multiline PS1 prompt in vi mode.millert2021-03-101-8/+9
| | | | From gotroyb127 OK tb@
* Typofix previouskn2021-03-101-2/+2
|
* Guard TLS1_get_{client_,}version() macros with #ifndef LIBRESSL_INTERNAL.jsing2021-03-101-1/+3
| | | | These are no longer used (and should not be used) internally.
* Revise TLS extension regress to match version handling changes.jsing2021-03-101-57/+25
|
* Improve internal version handling.jsing2021-03-109-108/+145
| | | | | | | | | | | | | | | | | | Add handshake fields for our minimum TLS version, our maximum TLS version and the TLS version negotiated during the handshake. Initialise our min/max versions at the start of the handshake and leave these unchanged. The negotiated TLS version is set in the client once we receive the ServerHello and in the server at the point we select the highest shared version. Provide an ssl_effective_version() function that returns the negotiated TLS version if known, otherwise our maximum TLS version - this is effectively what is stored in s->version currently. Convert most of the internal code to use one of these three version fields, which greatly simplifies code (especially in the TLS extension handling code). ok tb@
* do not request client certificate unless requirederic2021-03-101-3/+1
| | | | | | | issue hit by florian@ diff by jsing@ ok tb@
* The ktrace record for recvmsg/recvfrom could contain extract bits inderaadt2021-03-101-3/+10
| | | | | msg_flags (they get set internally). Correct the record to only contain what the caller requested.
* cleanup the 3 ways (2 for ipv4, 1 for ipv6) of doing dynamic addressderaadt2021-03-101-10/+21
| | | | | allocation. not the perfect text yet, but it is better. discussed with florian and jmc
* Let MAIR comment catch up with reality.kettenis2021-03-101-2/+5
|
* Fix typo for ATS attribute member in IORT root complex struct.patrick2021-03-101-2/+2
|
* Expand the maximum length for CHAP challenge to 96 octets. npppdyasuoka2021-03-101-2/+2
| | | | | | couldn't handle ICCN message which has a ProxyAuthenChallenge AVP longer than 24 octets. Juniper actually send such challenges. Reported and tested by Ryan Freeman.
* Fix "phone number" spelling.patrick2021-03-101-3/+3
| | | | ok yasuoka@
* spellingjsg2021-03-1068-162/+162
| | | | ok gnezdo@ semarie@ mpi@
* sndiod: When a slot structure is recycled allocate new controlratchov2021-03-101-27/+8
| | | | | | | Trying to rename the program level control is not needed anymore. When a slot is given to another program, the new ctl_{new,del}() functions can be used to delete the control of the old program and create a new one for the new program. Cleaner, simpler.
* sndiod: Style tweak: swap if/else code blocks in slot_new()ratchov2021-03-101-16/+16
|
* When adding files from the manifest only the .crl need to be first, afterclaudio2021-03-101-34/+12
| | | | | | that the order does not matter so simplify the code and just walk the list twice. Add the .crl first and then in the second round all other files. OK job@
* pmap_avail_setup() is the only place physmem is calculated, delete a bunchderaadt2021-03-101-9/+2
| | | | | of code which thinks it could be done elsewhere. ok kurt
* Import regenerated moduli file.dtucker2021-03-107-811/+891
|
* no need to reset buffer after send_msg() as that is done for us;djm2021-03-101-3/+1
| | | | patch from Mike Frysinger
* Also log transforms on IKE SA rekey.tobhe2021-03-091-3/+10
|
* Node without a "status" property should be considered enabled as well.kettenis2021-03-091-3/+3
| | | | ok patrick@
* Issuing FIOSETOWN and TIOCSPGRP ioctl commands on a tun(4) device leaksanton2021-03-091-2/+3
| | | | | | | | | | | device references causing a hang while trying to remove the same interface since the reference count will never reach zero. Instead of returning, break out of the switch in order to ensure that tun_put() gets called. ok deraadt@ mvs@ Reported-by: syzbot+2ca11c73711a1d0b5c6c@syzkaller.appspotmail.com
* Shorten the if_cloners_lock name preventing it from being truncated inanton2021-03-091-2/+2
| | | | | | the top(1) wait column. ok mvs@
* Recognize Apple Firestorm cores.kettenis2021-03-091-1/+3
|
* Zap stray Xrkn2021-03-091-2/+1
|
* Fix TRUNK synopsis alignmentkn2021-03-091-2/+6
|
* Remove documentation for all port modules no longer supported. ok sthen@tracey2021-03-091-153/+12
|
* Add support for 30-bit color modes.kettenis2021-03-091-2/+4
|
* Fix some old phrasing on how to set up a trap handler which aren't correctmartijn2021-03-091-7/+18
| | | | | | anymore after moving it from its own subprocess to snmpe. feedback and OK jan@
* Dedicated regress test for snmp(1) instead of semi-relying on snmpd(8)'smartijn2021-03-092-2/+1173
| | | | | | | regress for basic functionality. This regress covers quite a few usecases, but there's still plenty missing. feedback and OK bluhm@
* document zstd support in EXTRACT_CASES and change from a big code samplesthen2021-03-091-30/+32
| | | | | that isn't directly usable to a shorter table and example of what one might need to add to EXTRACT_CASES when making a change; ok espie@
* Kernel drops fewer messages in sendsyslog(2), adapt syslogd(8)bluhm2021-03-0913-15/+300
| | | | | tests. Kernel stashes logs temporarily, test it. Fix some races in existing tests.
* Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8)bluhm2021-03-094-36/+168
| | | | | | | | | | | | | are started before syslogd(8). This resulted in ugly sendsyslog(2) dropped logs and the real message was lost. Create a temporary stash for log messages within the kernel. It has a limited size of 100 messages, and each message is truncated to 8192 bytes. When the stash is exhausted, the well-known dropped message is generated with a counter. After syslogd(8) has setup everything, it sends a debug line through libc to flush the kernel stash. Then syslogd receives all messages from the kernel before the usual logs. OK deraadt@ visa@
* Replace time_t startup_time with struct timespec link_timeout.krw2021-03-093-12/+19
| | | | Feedback from otto@
* Add initial bits for Check Point UTM-1 EDGE N.visa2021-03-093-3/+15
| | | | From Thaison Nguyen
* Allow cursor to be just after match if copying, GitHub issue 2602.nicm2021-03-091-3/+6
|
* Copy mode improvements from Anindya Mukherjee:nicm2021-03-092-79/+55
| | | | | | | | | | - Fix word and word-end for wrapped lines. - Fix copying of selection end on wrapped lines. - Fix wrapped word selection edge case. - Update select-line to respect wrapped lines. - Update window_copy_..._pos() functions to use grid_reader. GitHub issue 2605.
* Change the implementation of the malloc cache to keep lists ofotto2021-03-091-152/+118
| | | | | regions of a given size. In snaps for a while, committing since no issues were reported and a wider audience is good. ok deraadt@
* dhcpleased wants /var (but contains code to handle when it isn't there).deraadt2021-03-091-3/+3
| | | | | | | But in the nfs diskless case, we can do better by starting it a little later. This disrupts nfs diskless on dynamic addresses a little, if it ever actually worked with dhclient, but anyone doing that deserves the headache. ok florian
* Do not adjust (uhm.. zero) the swap 'b' partition size if physmem isderaadt2021-03-091-2/+2
| | | | | | zero (should not happen, but did), because the auto-allocate code will put a filesystem on that partition. ok otto kurt
* ofw_read_mem_regions() can skip calculation of physmem. pmap.cderaadt2021-03-091-5/+1
| | | | | | | | | | already calculates _usable_ memory and updates physmem (if it is 0), whereas ofw_read_mem_regions() was counting usable+unuseable memory. ie. 4G or more on some machines. powerpc's 32-bit pagetable cannot use memory beyond 4G phys addr. (On a 4G machine, physmem64 was calculated as 0, which caused the installer's auto-diskabel code to place /tmp on the b partition). ok gkoehler, works for kurt also
* Enable ixl(4).patrick2021-03-082-2/+4
|
* Start looking at parsing text to find separators.lum2021-03-081-5/+26
|
* Put regex tests into a function.lum2021-03-081-40/+32
|
* Revert commitid: AZrsCSWEYDm7XWuv;claudio2021-03-083-10/+14
| | | | | | Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic. This diff did not properly kill SINGLE_PTRACE and broke RAMDISK kernels.
* dhclient relationship with "inet autoconf" is incorrect, it activatedderaadt2021-03-081-5/+5
| | | | dhcpleased.
* We no longer "accept" RAs in the kernel, delete misleading comment.florian2021-03-081-2/+1
|
* Note that slaacd(8) is enabled by default. Also note that if youflorian2021-03-081-5/+2
| | | | | | disabled it in the past and then note that IPv6 autoconfiguration doesn't work for you, you will quickly note that we will point and laugh.