summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/algorithm.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-20States in pf(4) let ICMP and ICMP6 packets pass if they have abluhm1-4/+24
packet in their payload that matches an exiting connection. It was not checked whether the outer ICMP packet has the same destination IP as the source IP of the inner protocol packet. Enforce that these addresses match, to prevent ICMP packets that do not make sense. Issue found by Nicolas Collignon, Corentin Bayet, Eloi Vanderbeken, Luca Moro at Synacktiv.com OK sashan@
2019-03-20Improve cursor positioning after reflow by storing the position as annicm3-73/+80
offset into the entire history before reflow and restoring it aftewards.
2019-03-20fix examples (libtls uses its own error reporting mechanism)espie1-4/+4
okay tb@
2019-03-20regenjsg2-4/+49
2019-03-20add more intel graphics pci ids with known marketing namesjsg1-2/+11
2019-03-20Include function name in logging.nicm1-5/+7
2019-03-20Do not leak ranges on error.nicm1-2/+5
2019-03-20Ignore invalid styles rather than throwing away the whole format, thisnicm1-2/+3
matches what we used to do.
2019-03-20Bit more logging to show drawing errors.nicm1-2/+6
2019-03-20remove bogus escaping of < and >schwarze1-4/+4
2019-03-20remove incorrect escaping of '+', correctly escape '-', and garbage collect .Tnschwarze1-9/+6
2019-03-20fix serious markup error: \B -> \fB to select bold fontschwarze1-1/+1
2019-03-20escape backslashes;schwarze2-11/+11
patch from Peter Piwowarski <peterjpiwowarski at gmail dot com>
2019-03-20regenjsg2-23/+408
2019-03-20add radeondrm pci ids missing from pcidevs but present in drm_pciids.hjsg1-12/+89
2019-03-19Parsing error messages display only the first 80 characters of thekrw1-2/+2
offending line. It is fruitless to try to position the "^" at a character more than 80 characters from the start of the line.
2019-03-19delay dropping privs a bit when root so that setrtable works.tedu2-6/+17
traceroute bits from benno. ok benno claudio
2019-03-19Remove old X proto documentation directories.matthieu1-39/+1
2019-03-19Include window-status-style and window-status-current style in the format.nicm1-13/+31
2019-03-19correct LOCATION_REPORTED maskanton1-2/+2
2019-03-19Document the flag EVP_CIPHER_CTX_FLAG_WRAP_ALLOW needed for the EVPschwarze2-4/+71
AES wrap modes, the function EVP_CIPHER_CTX_set_flags(3) needed to set it, and the companion functions EVP_CIPHER_CTX_clear_flags(3) and EVP_CIPHER_CTX_test_flags(3). With help and an OK from tb@.
2019-03-19Add a cursor_character format.nicm2-2/+20
2019-03-19Avoid an internal 2 byte overread in ssl_sigalgs().jsing1-7/+2
Found by oss-fuzz, fixes issue #13797. ok beck@ tb@
2019-03-19Revert TLS1_get{,_client}_version simplification because DTLS.jsing4-14/+15
2019-03-19When the last line of the input is empty and the previous line reducedschwarze1-1/+3
the line input buffer to a length of one byte, do not write one byte past the end of the line input buffer. Minimal code to show the bug: printf ".ds X\n.X\n\n" | MALLOC_OPTIONS=C mandoc Bug found by bentley@ in the sysutils/rancid par(1) manual page.
2019-03-19Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS.nicm1-3/+3
2019-03-19When running sendmail, set argv[0] to "sendmail" not "send-mail".millert1-2/+2
This was a historical oddity that dates back to back to the days of delivermail.
2019-03-19In uaudio_pdata_intr() don't error out early if the status is USBD_IOERROR.claudio1-2/+2
At least my uaudio(4) over ohci is encountering a fair amount of USBD_IOERROR when the system is busy (most probably because the deadline is missed because of the big lock being hold). With this in, playing music while running a make build no longer stops after a few seconds. OK ratchov@
2019-03-19syncderaadt1-0/+2
2019-03-19update libelf from elftoolchain r3714 to r3717jsg1-6/+6
check for overflow correctly after computing a file offset
2019-03-19update libelf from elftoolchain r3669 to r3714jsg18-97/+156
includes changes to address problems sunil@ found with fuzzing original diff from and ok sunil@
2019-03-19Nuke a couple of XXX comments.krw1-3/+1
2019-03-18Use same idiom for pretty_print_domain_search() andkrw3-25/+29
pretty_print_classless_routes(), making both of them local to options.c. Avoids a double pretty print of DHO_DOMAIN_SEARCH, eliminates an unneeded 1024 byte static array. Shrinks size of upcoming diff to implement parsing of domain search option in leases and dhclient.conf.
2019-03-18Disable wscons regress test for now. This test is touching /dev entriesclaudio1-2/+2
and the result is a rather annoying keyboard repeat issue. Finding this was a bit of a saga. OK by many
2019-03-18Free temporary screens when writing format.nicm2-3/+11
2019-03-18The individual -fg, -bg and -attr options have been deprecated (innicm5-318/+17
favour of -style), undocumented and hidden from show-options since 2014. Remove them, except for status-fg and status-bg.
2019-03-18Add some bits to the STATUS LINE section about the new option.nicm1-5/+10
2019-03-18Consistently use imperative present tense throughout the manualkn1-4/+4
Feedback and OK jmc
2019-03-18Extend the #[] style syntax and use that together with previous formatnicm15-571/+1348
changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.
2019-03-18An existing VM may be started by referencing its IDkn2-6/+10
Document `vmctl start id ...' again but be clear about the difference between starting new and existing VMs by name and ID respectively. This completes what I started with vmctl.8 revision 1.61. Feedback and OK jmc
2019-03-18spelling;jmc1-3/+3
2019-03-18* note that the handshake must be completed firstschwarze1-4/+15
* correct the description of "unknown" (the previous are both from OpenSSL 1.1.1, still under a free license) * add a comment saying that TLS1_get_version() and TLS1_get_client_version() are intentionally undocumented (reasons provided by jsing@)
2019-03-18add a temporary addition to NAME for openrsync; ok deraadtjmc1-2/+3
2019-03-18syncanton1-0/+1
2019-03-18Add kubsan(4), a undefined behavior sanitizer for the kernel. It'santon6-7/+606
capable of detecting undefined behavior at runtime and all findings are printed to the system console, including the offending line in the source code. kubsan is limited to architectures using Clang as their default compiler and is not enabled by default. Derived from the NetBSD implementation. ok kettenis@ visa@
2019-03-18Add a couple of checks to ensure option data fits into the proposalkrw1-9/+10
field being memcpy()'d into. Tweak DHO_ROUTERS handling to be similar to the other cases populating proposal->rtstatic, including a warning when things go wrong.
2019-03-18Modify rasops_list_font_cb() to not filter out fonts with differentfcambus1-5/+1
sizes than the currently used one. This allows getting a list of all loaded fonts when using the WSDISPLAYIO_LSFONT ioctl. On top of allowing to see all fonts which are currently loaded when invoking the -l option of wsfontload(8), it also removes the confusion as to why we might reach the WSDISPLAY_MAXFONTCOUNT limit faster than expected when loading more fonts. OK sthen@
2019-03-18repair a few more yoda comparesderaadt3-8/+8
2019-03-18Mode init needs to be fired with the mode on the list or it will not benicm2-9/+9
resized correctly.
2019-03-18Add format variables for the default formats for the various modesnicm8-16/+83
(tree_mode_format and so on) and add a -a flag to display-message to list variables with values.