summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-10bump libcrypto minor after symbol additionTheo Buehler
2021-05-10Make SSL_CIPHER, SSL_CTX, SSL_SESSION, {DTLS1,SSL3}_STATETheo Buehler
and a few other structs in libssl opaque. from/ok jsing
2021-05-10Provide SSL_SESSION_get0_cipher(3)Theo Buehler
ok jsing
2021-05-10Provide SSL_CTX_get_ssl_method(3)Theo Buehler
ok jsing
2021-05-10Provide SSL_CIPHER_find(3)Theo Buehler
ok jsing
2021-05-10Expose EVP_Digest{Sign,Verify}(3)Theo Buehler
ok jsing
2021-05-10Expose EC_POINT_{get,set}_affine_coordinates(3) andTheo Buehler
EC_POINT_set_compressed_coordinates(3) ok jsing
2021-05-10Expose EC_GROUP_{get,set}_curve(3)Theo Buehler
ok jsing
2021-05-10To add keep-alive support the read handler got changed a lot. Now whenClaudio Jeker
tls_read hits the EOF (s == 0) case it is always a cause to close the connection. All possible data was already consumed and if something is still in the buffer then it remained in there for a reason. Issue noticed and OK deraadt@
2021-05-10remove serial number (used during development to observe file rewrites)Theo de Raadt
2021-05-10sigfillsiz is int, not long; ok kettenisTheo de Raadt
2021-05-10Extend eval_all test a little bit.Claudio Jeker
2021-05-10Better way to detect the double new lines the API issues from time to time.Claudio Jeker
This way done lines now will have a newline.
2021-05-10Let iwm(4) flush Tx queues before removing the firmware station andStefan Sperling
before stopping a Tx block ack session. This aligns us more closely with how the Linux iwlwifi driver is doing things. Also, reset the device if an errors occurs in the block ack session task. Fixes auto-recovery after such errors. Prompted by firmware error reports from kettenis@ and Matthias Schmidt. Doesn't fix the reported issues completely. I will keep investigating. Tested: 7265: stsp 8265: Matthias Schmidt 9260: phessler, kettenis
2021-05-10Refactor softraid crypto code to allow use of a discipline-specific dataStefan Sperling
structure for RAID1C volumes, as requested by jsing@ during review of my initial RAID1C patch. This should effectively be a cosmetic change. The point of this exercise is to allow the data structure changes made here in softraidvar.h. Tested on CRYPTO and RAID1C by Josh Grosse, Matthias Schmidt, and myself. ok jsing@
2021-05-10reduce exception.S diff to FreeBSDJonathan Gray
ok mlarkin@
2021-05-10Pull the logic to get the "lock" for TLB shooting intoPhilip Guenther
pmap_start_tlb_shoot(), to get the #ifdef goo out of pmap_tlb_shoot{page,range,tlb}() Use a normal do{}while(0) when nooping pmap_tlb_shootwait() tweak and ok kettenis@
2021-05-09fpu_valid_opcode() did not correctly handle 16 bit fp instructionsJonathan Gray
such as an stval of 0xaa22. The RISC-V Instruction Set Manual states that setting stval to a non-zero value with the instruction on illegal instruction exception is an optional feature so instead of changing fpu_valid_opcode() remove it entirely. ok deraadt@ kettenis@ drahn@
2021-05-09Change offsets to (N * 8) to reduce chance of register clobber and mistakes.Dale Rahn
Simplify integer loading, use 'li <dest>, <value>' instead of x0/zero register Adjust _JB_SIGMASK to not collide with saved registers.
2021-05-09Add draft-ietf-sidrops-rpki-rsc OIDjob
Listed under 'SMI Security for S/MIME CMS Content Type (1.2.840.113549.1.9.16.1)' https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#security-smime-1 OK tb@
2021-05-09Some x86 machines advertise the "hardware reduced" ACPI feature, advertiseMark Kettenis
S4 and S5 support, but fail to populate the SLEEP_CONTROL_REG and SLEEP_STATUS_REG descriptions in the FADT. An example of such a machine is the ASUS Zenbook 14 UM433DA. Any attempt to powerdown the machine will result in a kernel crash. It turns out that using the legacy ACPI PM registers works fine on this machien. So fall back on those registers if SLEEP_CONTROL_REG and/or SLEEP_STATUS_REG aren't provided. ok deraadt@, mpi@
2021-05-09Add subtest for EPRT command in ftpd regression testjan
2021-05-09Prepare to provide EVP_Digest{Sign,Verify}Theo Buehler
These are one-shot versions combining EVP_Digest{Sign,Verify}{Update,Final}. and are part of the OpenSSL 1.1.1 API. While they simplify callers in some situations slightly, their real use is for EdDSA that by design can't be split into Update/Final steps. Based on OpenSSL commit 7539418981c140648a620d72edd7398564878b5c ok inoguchi
2021-05-09Add subtest for SIZE command in ftpd regression testsjan
2021-05-09Add subtest for RNFR and RNTO in ftpd regression testsjan
2021-05-09Garbage collect sz in mft_parse_filehash() which has been unusedTheo Buehler
since mft.c r1.20.
2021-05-09two whitespace tweaksTheo Buehler
2021-05-09Remove unnecessary NULL check that breaks the build with OpenSSL 1.1.Theo Buehler
ok job
2021-05-09return type on a different line and use (void) instead of ()Jonathan Gray
2021-05-09fix indentationJonathan Gray
2021-05-08adapt ruslan@freebsd's disasm to our world, and replace the incomplete decoder.Theo de Raadt
ok jsg kettenis
2021-05-08similar to ruslan@freebsd's work, use https://github.com/riscv/riscv-opcodesTheo de Raadt
to generate instruction decoder tables $ cat opcodes opcodes-rvc-pseudo opcodes-rvc opcodes-custom | ./parse-opcodes -c with jsg
2021-05-08Recognize GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a.Kenneth R Westerback
"IdontNeedEFI", a.k.a. "BIOS boot"). Often used to contain the second stage boot loader binary on disk images. Makes it easier to recognize/overwrite/remove the contents. Example image provided by mlarkin@
2021-05-08Spoof GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a.Kenneth R Westerback
"IdontNeedEFI", a.k.a. "BIOS boot") as FS_BOOT. Often used to contain the second stage boot loader binary on disk images. Makes it easier to recognize/overwrite/remove the contents. Not yet supported in fdisk(8). Example image provided by mlarkin@
2021-05-08Perhaps the syntax '((' and '()' will be valid one day, but not at theMark Lumsden
moment. This diff works the two checks for them into the main for parsing loop.
2021-05-08Revert previous commit.Martijn van Duren
Someone this introduces some problems that I didn't ran into during testing
2021-05-08stop parsing if a digit is found as first character of an expression.Mark Lumsden
2021-05-08In the C locale make codepoints > 0x7f return EILSEQ, since these aren'tMartijn van Duren
part of that locale. This matches what at least FreeBSD and glibc do. OK millert@
2021-05-08Fix a race in the kqueue-read test. If the writer thread managed to fillanton
up the pipe buffer, it will hang in write(2) waiting for the pipe to become writeable again. While doing so, it cannot observe that the kqueue thread as already finished implying that ctx_thread_alive() would return false, meaning no further writes are wanted. Therefore open the pipe in non blocking mode and just ignore EAGAIN errors while writing.
2021-05-08kernel setjmp saves 14 registers, not 13. ddb continue now works.Theo de Raadt
ok jsg
2021-05-07Replace random mix of u_int* and uint* types with consistent uint* types.Kenneth R Westerback
2021-05-07Print Synopsys version number, use OF_getpropbool(9) where appropriateMark Kettenis
and handle a few more device properties seen on the beaglev board. ok jsg@
2021-05-07Dynamic socket buffers make tests unreliable, set fixed buffer size.Alexander Bluhm
2021-05-07Fix the \x escape sequence to be limited to max 2 characters, instead ofMartijn van Duren
consuming as long as there are isxdigit(3) characters available. While here document it and mark it as an extension. OK millert@
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2021-05-07Increase ConnectionAttempts from 4 to 10 as the tests occasionally timeDarren Tucker
out on heavily loaded hosts.
2021-05-07RealTek -> RealtekJonathan Gray
ok jmc@ kevlo@
2021-05-07Give an error if quoted string is found as first non-white char afterMark Lumsden
'('.
2021-05-07Take a note of expression length when it is extracted from lineMark Lumsden
submitted to excline().
2021-05-07include pid in LogVerbose spamDamien Miller