summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-25Move HID->bus constant conversion for HID report types out of ihidevJoshua Stein
into hidmt. The HID code uses hid_feature, hid_input, and hid_output constants to refer to report types internally that then need to be converted to their bus-level counterparts before actually getting sent out (so hid_feature becomes UHID_FEATURE_REPORT for USB, I2C_HID_REPORT_TYPE_FEATURE for i2c). This conversion was hard-coded in ihidev but ihidev_[gs]et_report should assume the type passed is already an i2c-level define, not a hid one. This is how uhidev does it. Add a conversion routine callback that any hidmt callers need to set so that hidmt can convert hid constants to the bus-level versions. Also add a similar conversion function to uhidev. ok deraadt
2018-08-25regenMark Kettenis
2018-08-25Audio as found on an "Oland" Radeon card. Naming is a bit arbitrary, butMark Kettenis
this one is present on several GCN gen 1 cards that have names that start in the HD 7700 range.
2018-08-25Define __HAVE_ACPI.Mark Kettenis
ok deraadt@, krw@, jca@
2018-08-25fix misplaced parenthesis inside an if-clause. already fixed in FreeBSD in revRicardo Mestre
295608. OK jca@
2018-08-25fix misplaced parenthesis inside an if-clause. already fixed in NetBSD in revRicardo Mestre
1.13. OK stsp@ jca@ claudio@
2018-08-25oops, hook up the tests for the roff(7) .char requestIngo Schwarze
2018-08-25Rudimentary implementation of the roff(7) .char (output glyphIngo Schwarze
definition) request, used for example by groff_hdtbl(7). This simplistic implementation may interact incorrectly with the .tr (input character translation) request. But come on, you are not only using .char *and* .tr, but you do so with respect to the same character in the same manual page?
2018-08-25Fix printing of ioapic remapping messages; avoid printing duplicate info.Mark Kettenis
ok deraadt@
2018-08-25process -> threadanton
2018-08-25Change kcov semantics, kernel code coverage tracing is now enabled on a peranton
thread basis instead of process. The decision to enable on process made development easier initially but could lead to non-deterministic results for processes with more than one thread. This behavior matches the implementation found on both Linux and FreeBSD. With help and ok mpi@ visa@
2018-08-25markup flag arguments; ok jmc@ schwarze@anton
2018-08-25If man(7) next-line scope is open and the line ends with \c,Ingo Schwarze
the scope remains open. Needed for example for groff_man(7).
2018-08-25The current rasops cursor implementation simply inverts the appropriateMark Kettenis
framebuffer pixels by doing an XOR with an all-ones bit pattern. This means the code has to read from the framebuffer which can be very slow. Add an implementation that simply redraws the character covered by the cursor with the foreground and background color swapped. While this doesn't necessarily have the same visual result, most people probably won't notice the difference (let's see). Use this implementation when the RI_WRONLY or the RI_VCONS flags are set. ok fcambus@
2018-08-25Insert new child nodes at the end.Mark Kettenis
ok patrick@
2018-08-25Also run DSA tests with the PEM encoded public key.Theo Buehler
2018-08-25Match ACPI devices based on _CID if no match for _HID is found.Mark Kettenis
ok mpi@
2018-08-25As Intel(TM) cpus are discovered to have more bugs, more workaround MSRsTheo de Raadt
are added. Presence of such MSRs is indicated with a feature flag, which we probe and print at startup for each AP CPU. EFI screen scrolling hasn't gotten faster (yet) and 9600 baud serial console is still the same speed as 1980. Final piece of the puzzle is machines have more cpus, providing more opportunity for screen scrolling and serial fifo's to fill up. The BSP cpu is watching the AP cpus probe and print, but increased latency causes it to exceed a timeout and print "cpuXX: failed messages". Crank that timeout. discussed with kettenis, ok guenther
2018-08-25Rework disks to have pluggable backends.ccardenas
This is prep work for adding qcow2 image support. From Ori Bernstein. Many thanks! Tested by many. OK ccardenas@
2018-08-25Don't treat UnicodeChar == 0 as a keyboard input. The same fix wasYASUOKA Masahiko
done on amd64 already. Original diff from Frank Groeneveld ok tb patrick
2018-08-24Fix dates that got broken by committing from one day to anotherIngo Schwarze
due to timezone differences.
2018-08-24update usage for pkcs8;Jason McIntyre
ok tb
2018-08-24Rudimentary implementation of the roff(7) .while request.Ingo Schwarze
Needed for example by groff_hdtbl(7). There are two limitations: It does not support nested .while requests yet, and each .while loop must start and end in the same scope. The roff_parseln() return codes are now more flexible and allow OR'ing options.
2018-08-24tweak previous;Jason McIntyre
2018-08-24sync libcrypto relink fileStuart Henderson
2018-08-24syncTheo Buehler
2018-08-24crank majors after symbol addition/modification/removalTheo Buehler
2018-08-24Adjust documentation for SSL_copy_session_id()Theo Buehler
ok jsing
2018-08-24Let SSL_copy_session_id() return an int for error checking.Theo Buehler
Accordingly, add some error checking to SSL_copy_session_id(), BIO_ssl_copy_session_id(), and SSL_dup(). Prompted by OpenSSL commit 17dd65e6e1f Tested in a bulk build by sthen ok jsing
2018-08-24Add const to EVP_PKCS82PKEY().Theo Buehler
tested in a bulk by sthen ok jsing
2018-08-24Add consts to EVP_PKEY_asn1_set_private()Theo Buehler
Requires adding a const to the priv_decode() member of EVP_PKEY_ASN1_METHOD and adjusting all *_priv_decode() functions. All this is already documented this way. tested in a bulk build by sthen ok jsing
2018-08-24After removing support for broken PKCS#8 formats (it was high time),Theo Buehler
we can add const to PKCS8_pkey_get0(). In order for this to work, we need to sprinkle a few consts here and there. tested in a bulk by sthen ok jsing
2018-08-24The broken pkcs8 formats generated by openssl pkcs -{embed,nooct,nsdb}Theo Buehler
are no longer supported. Remove their documentation. ok jsing
2018-08-24Stop handling broken PKCS#8 formats in openssl(1).Theo Buehler
ok jsing
2018-08-24Remove EVP_PKEY2PKCS8_broken() and PKCS8_set_broken()Theo Buehler
Provide PKCS8_pkey_add1_attr_by_NID() and PKCS8_pkey_get0_attrs(). Remove the whole broken code and simplify pkcs8_priv_key_info_st accordingly. Based on OpenSSL commit 54dbf42398e23349b59f258a3dd60387bbc5ba13 plus some const that was added later. tested in a bulk build by sthen ok jsing
2018-08-24Document const change for OCSP_cert_to_id()Theo Buehler
ok jsing
2018-08-24Add const to two arguments of OCSP_cert_to_id()Theo Buehler
tested in a bulk by sthen ok jsing
2018-08-24Provide X509_get0_serialNumber()Theo Buehler
tested in a bulk by sthen ok jsing
2018-08-24Turn a number of #defines into proper functions with prototypes matchingTheo Buehler
those that OpenSSL has had for ages. ok jsing
2018-08-24Change PEM_Sign{Init,Update}() to return an int.Theo Buehler
tested in a bulk by sthen ok jsing
2018-08-24Check return value of EVP_EncodeUpdate() in PEM_write_bio().Theo Buehler
ok jsing
2018-08-24Check return value of EVP_EncodeUpdate() in b64_write().Theo Buehler
ok jsing
2018-08-24Convert EVP_EncodeUpdate() to return an int to allow for errorTheo Buehler
checking. Matches our documented behavior. Based on OpenSSL commit c5ebfcab713a82a1d46a51c8c2668c419425b387 tested in a bulk by sthen ok jsing
2018-08-24Provide EVP_CIPHER_CTX_encrypting().Theo Buehler
tested in a bulk by sthen ok jsing
2018-08-24unifdef DTLS1_AD_MISSING_HANDSHAKE_MESSAGE.Joel Sing
This code has been rotting since 2006. ok bcook@ tb@
2018-08-24Document prototype change and return values for BIO_set_cipher()Theo Buehler
ok jsing
2018-08-24Return an int in BIO_set_cipher() to be able to report errors.Theo Buehler
tested in a bulk by sthen ok jsing
2018-08-24In DSO_up_ref(), check return value of CRYPTO_add() and reportTheo Buehler
failure accordingly. ok jsing
2018-08-24In ENGINE_up_ref(), check return value of CRYPTO_add() and reportTheo Buehler
failure accordingly. ok jsing
2018-08-24Document new prototype and return values of X509_OBJECT_up_ref_count()Theo Buehler
ok jsing