summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-06Set up the interrupt handler before creating the event queue.Jonathan Matthew
Apparently the boot rom on some cards leaves an interrupt vector set up, which will be run on completion of the first command after we set up the event queue, causing kernel crashes. chris@ reported this a while ago.
2019-06-06Tree structure for manual pages: crypto(3) links to 33 functionIngo Schwarze
group pages, and these link on to all their second-level subpages. Only a handful of second-level pages have third-level subpages. So all crypto pages can now be reached from the www.libressl.org frontpage via at most four clicks, in most cases three clicks. Also link back from leaf pages to their respective group pages and add a couple of additional links between related pages. Triggered by a question from deraadt@. OK jmc@ tb@
2019-06-06Reapply patches lost in the perl 5.28.2 updateAndrew Fresh
2019-06-05Add a -v flag to source-file to show the commands and line numbers.Nicholas Marriott
2019-06-05Need to increment the argument to skip the prefix earlier, fixesNicholas Marriott
repeated incremental search in copy mode, reported by Kaushal Modi in GitHub issue 1780.
2019-06-05assume RSA_METHOD is opaque and only access members through setters/gettersGilles Chehade
2019-06-05provide getters and setters for the RSA_METHOD interfaceGilles Chehade
ok tb@, jsing@, sthen@
2019-06-05Remove workaround and return EINVAL when userland sends routing messagesClaudio Jeker
with bad address flags. OK bluhm@ sthen@
2019-06-05a long long time ago, in a galaxy quite close actually, reyk@ introduced anGilles Chehade
RSA privsep engine to isolate private keys in the ca process. ECDSA support in smtpd is become a frequent request so here's an ECDSA privsep engine and the code required for smtpd to load ECDSA certificates and use them.
2019-06-05Fix bogus cross reference: EVP_SignDigest* -> EVP_DigestSign*Theo Buehler
2019-06-05We know which flow table entries are actually in use, so we can justJonathan Matthew
delete those rather than blindly deleting everything, which also means we don't need to check against a specific syndrome code to ignore errors we get deleting entries that aren't there.
2019-06-05this can support 64BIT DVA for ioDavid Gwynne
2019-06-04Fix capitalization in XAUTHORITY defaultkn
2019-06-04if_netisr(): trade NET_LOCK() for NET_RLOCK()Alexandr Nedvedicky
OK mpi@
2019-06-04pfsync_sendout() requires PF_LOCK()Alexandr Nedvedicky
OK mpi@
2019-06-04OPENSSL_realloc(3) is no longer used, we now use reallocarray(3)Ingo Schwarze
2019-06-04Readability tweak in a comment.Theo Buehler
2019-06-04Remove the blinding later to avoid leaking information on the lengthTheo Buehler
of ckinv. Pointed out and fix suggested by David Schrammel and Samuel Weiser ok jsing
2019-06-04Readability tweaks for comments that explain the blinding.Theo Buehler
2019-06-04Remove the blinding later to avoid leaking information on the lengthTheo Buehler
of kinv. Pointed out and fix suggested by David Schrammel and Samuel Weiser ok jsing
2019-06-04Add missing NULL check for the protocol control block (pcb) pointer inanton
mrt{6,}_ioctl. Calling shutdown(2) on the socket prior to the ioctl command can cause it to be NULL. ok bluhm@ claudio@ Reported-by: syzbot+bdc489ecb509995a21ed@syzkaller.appspotmail.com Reported-by: syzbot+156405fdea9f2ab15d40@syzkaller.appspotmail.com
2019-06-04Do nog segfault on malformed ttys(5) entry; ok kn@ jca@Otto Moerbeek
2019-06-04Let SP kernel work with WITNESS. The necessary instrumentation wasVisa Hankala
missing from the SP variant of mtx_enter() and mtx_enter_try(). mtx_leave() was correct already. Prompted by and OK patrick@
2019-06-04Remove the unused pvh_attrs attribute from struct vm_page_md.Patrick Wildt
ok kettenis@
2019-06-04Bump MAXCPUS to 32 so that we can use all cores on the Ampere eMAG.Patrick Wildt
ok kettenis@
2019-06-04.In openssl/x509_vfy.hIngo Schwarze
for consistency with all the other X509_STORE_*(3) manual pages
2019-06-04Move a function used as a callback out of a header so there will only beJonathan Gray
one function with a single address.
2019-06-04Add several missing .In linesIngo Schwarze
and add a sentence pointing to the detailed description in RSA_get_ex_new_index(3), worded like in DH_get_ex_new_index(3).
2019-06-04To avoid SYN retransmit, kill local tcp pf state that will be reused.Alexander Bluhm
This makes the state reuse tests faster and more reliable.
2019-06-04use htolemXX and lemtohXX instead of htoleXX and letohXXDavid Gwynne
this makes the generated code a lot shorter on sparc64, and has no effect on little endian archs. this has been in my tree for well over a year without issue.
2019-06-04Move to env var, likelky the possibility to set malloc options fromOtto Moerbeek
main is going away.
2019-06-04tx and rx descriptors work fine with 64bit dvaDavid Gwynne
ok jmatthew@
2019-06-04Implement mcx_media_change(). This disables the port, sets the media type toJonathan Matthew
the requested type (or all available types, if none specified), then re-enables it to start negotiation. While here, only set up the available media types during attach, rather than on every mcx_media_status() call, as they don't reflect the type of module or cable present so they won't change over time. ok dlg@
2019-06-04Disable the unmapping of ld.so's boot data for now, as boehm-gc apparentlyPhilip Guenther
follows some pointer into the middle of it. Best to keep things working while tracking down the wonkiness. problem noted by naddy@
2019-06-03Explicitly state that the cases in the inner switch in term_fill()Ingo Schwarze
are exhaustive. While there is no bug, being explicit has no downside is is potentially safer for the future. Michal Nowak <mnowak at startmail dot com> reported that gcc 4.4.4 and 7.4.0 on illumos throw -Wuninitialized false positives.
2019-06-03Initialize the local variable "lastln" in mparse_buf_r().Ingo Schwarze
While there is no bug, it logically makes sense given the meaning of the variable that lastln is NULL as long as firstln is NULL. Michal Nowak <mnowak at startmail dot com> reported that gcc 4.4.4 and 7.4.0 on illumos throw -Wuninitialized false positives.
2019-06-03Initialize the local variable "act" in print_mdoc_node().Ingo Schwarze
While there is no bug, it helps clarity, and it is also safer in this particular code because in case a bug gets introduced later, accessing a NULL pointer is less dangerous than accessing an uninitialized pointer. Michal Nowak <mnowak at startmail dot com> reported that gcc 4.4.4 and 7.4.0 on illumos throw -Wuninitialized false positives.
2019-06-03sort struct declarationsanton
2019-06-03be better at finding a nice directory to extract temporary filesMarc Espie
(this should interface with vstat to avoid vanishing directories, but it's already better than it was)
2019-06-03Add new-session -X and attach-session -x to send SIGHUP to parent whenNicholas Marriott
detaching (like detach-client -P). From Colin Watson in GitHub issue 1773.
2019-06-03Prevent corruption of the pckbc command queue. If multiple synchronousanton
commands are in flight and all corresponding threads are sleeping waiting for a response, the first command to timeout will clear the command queue. The remaining threads once awake will then try to remove a dequeued command from the queue, leading to corruption. Instead, remove commands from the queue before waking up the sleeping thread. A quirk is still needed to handle the case where tsleep() returns successfully during suspend. ok mpi@ visa@ Reported-by: syzbot+fe74fc50c630bfa26302@syzkaller.appspotmail.com
2019-06-03This diff gives the commands beginning-of-buffer and end-of-buffer theMark Lumsden
ability to take a numeric argument and move n/10th of the way from the top or bottom of the current buffer respectively. A universal argument of higher than 9 puts the cursor back to the end/start of buffer.
2019-06-03Don't close the socket in rsync_socket() itself but after calling it.Christian Weisgerber
Fixes a corner case where the socket was closed twice, reported by Hiltjo Posthuma. ok deraadt@
2019-06-03add missing .In linesIngo Schwarze
2019-06-03add missing .In lineIngo Schwarze
2019-06-03Map the raw bus space operations to the regular ones.Patrick Wildt
ok kettenis@
2019-06-03syncTheo de Raadt
2019-06-03Fix priorities of LIPs to match the other changes made in rev 1.17.Mark Kettenis
Makes MSI/MSI-X actually work reliably on machines with agintc(4). ok patrick@
2019-06-03Implement rx filtering using the flow table. Now we have three flow groups,Jonathan Matthew
one that will match any packet, used in promisc mode; one that matches on the low bit of the first byte of the destination mac address, used to receive all multicast packets; and one that matches on the whole destination mac address, used to receive unicast, broadcast and specific multicast addresses. As we add multicast addresses, we create flow entries to match them, but if we run out, we create an all-multicast flow entry. ok dlg@
2019-06-03- Remove a redundant check within alc_mii_readreg_813x().Kevin Lo
The PHY address is already checked within alc_miibus_readreg(). - Remove redundant call to alc_stop_queue(). First thing alc_stop_mac() does is call alc_stop_queue(). From Brad