summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-22new manual page X509at_add1_attr(3)Ingo Schwarze
describing five functions to change arrays of X.501 Attribute objects
2021-10-22fix a gratuitiously different argument nameIngo Schwarze
2021-10-22After deleting hifn(4) the only provider for the LZS compressionAlexander Bluhm
algorithm is gone. Reomve all LZS references from the tree. The v42bis in isakmpd also looks unsupported. OK mvs@ patrick@ sthen@
2021-10-22new manual page X509at_get_attr(3)Ingo Schwarze
documenting five X.501 Attribute read accessors
2021-10-22First step of cleanup in the io land. Introduce io_buf_new() andClaudio Jeker
io_buf_close(). These function will inject a size of the the buffer at the beginning of the buffer and will allow the read size to be switched to proper async IO. OK benno@
2021-10-22Implement --compare-dest in openrsync. compare-dest allows you to addClaudio Jeker
additional directories to check for files to be available. OK benno@
2021-10-22Prevent mem leaks in the (unlikely) event that getaddrinfo returnsDarren Tucker
no addresses. ALso, remove an unneeded NULL check in addr_ntop. From khaleesicodes via github PR#281, ok deraadt@
2021-10-22Put back sys/types.h and sys/socket.h. The latter was unintentionallyTheo Buehler
removed and the former is still needed, as pointed out by kettenis
2021-10-22When reading the symlink value during the fts travers use ent->fts_accpathClaudio Jeker
since the fts traverse does chdirs for performance reasons. OK deraadt@
2021-10-22Fix some ghastly whitespace. From Martin VahlensieckTheo Buehler
2021-10-22Use unsigned char instead of u_char in base64.c. This is a mildTheo Buehler
portability annoyance since not all systems have u_char. Remove the now unused includes sys/types.h and stdio.h. u_char diff from Jonas Termansen ok deraadt
2021-10-22Garbage collect an unused variable.Theo Buehler
2021-10-22Stop setting enc.modified manually. It's no longer needed.Theo Buehler
2021-10-22Remove unnecessary semicolons in case statements. From khaleesicodesDarren Tucker
via github PR#280.
2021-10-22Fix typos in comments. From khaleesicodes via github PR#280.Darren Tucker
2021-10-22return unsupported version for version less than HTTP/0.9 and higherSebastian Benoit
than HTTP/1.9. Downgrade version >= HTTP/1.2++ to 1.1. Found by "J. K." (openbsd DOT list AT krottmayer DOT com) ok claudio@
2021-10-22regenJonathan Gray
2021-10-22add Intel ADL-S and ADL-P graphics ids Mesa matchesJonathan Gray
fix a GMA600 id while here
2021-10-22Remove last dangling usage of CRYPTO_F_NOQUEUE.Anton Lindqvist
ok tb@
2021-10-22syncAnton Lindqvist
2021-10-22knf nitsAnton Lindqvist
2021-10-22add pipe select hangup test case; ok mpi@Anton Lindqvist
2021-10-22Preserve pipe select(2) semantics when the other end of the pipe is gone.Anton Lindqvist
In preparation for implementing select(2) on top of kqueue. ok mpi@
2021-10-22One could end up with the wrong encoding in xenocara while having a uccAnton Lindqvist
keyboard attached and /etc/kbdtype being present. The advertised encoding of a wsmux is a bit fragile as the last attached device will dictate it. If this happens to be a ucc keyboard, KB_US will always be the advertised encoding as its encoding is immutable and /etc/kbdtype is ignored. Instead, do not advertise the encoding for ucc devices when the parent mux queries its attached devices. However, asking the device directly (i.e. bypassing the mux) still returns the encoding as wsconsctl(8) would otherwise report an error. Thanks to landry@ for the report and testing.
2021-10-21Remove more dead code related to crypto task queues.Tobias Heider
2021-10-21Remove code to run crypto operations in a task queue. The code wasTobias Heider
not reachable because all callers had set the CRYPTO_F_NOQUEUE flag. ok patrick@ mvs@ bluhm@
2021-10-21Simplify the description of RETURN VALUES.Ingo Schwarze
After tb@'s commit x509/x509_lu.c rev. 1.33, it is no longer necessary to talk about X509_LU_* constants as return values from these functions. Feedback and OK from tb@.
2021-10-21Initialize interrupts to G1NS by configuring IGROUPR and IGRPMODR. ThisPatrick Wildt
makes interrupts work with Parallels on the Apple M1. Tested by patrick@ on Ampere eMAG and MacchiatoBin Tested by fkr@ on Pinebook Pro ok kettenis@
2021-10-21Release solock() before call unp_internalize() and take it within whenVitaliy Makkoveev
access garbage collector data. This is the next step to make UNIX domain sockets locking fine grained. This also moves M_WAIT/M_WAITOK allocations out from `unp_lock' rwlock(9). The lock order between fdplock() and `unp_lock' changed and now fdplock() should be taken first. This was not required, but helps to mpi@'s knote(9) related work. ok bluhm@
2021-10-21regenJonathan Gray
2021-10-21add Gemini Lake MEI; from fkrJonathan Gray
2021-10-21Remove hifn(4), safe(4), and ubsec(4) crypto drivers. They requireAlexander Bluhm
the asynchronous crypto API which makes progress in MP difficult. The hardware is rarely available. They support only obsolete crypto algorithms. Scheduling crypto tasks via PCI is probably slower than the CPU, especailly as modern CPUs have their own accelerators.
2021-10-21Have ampintcmsi(4) go through the list of interrupt controllers to find thePatrick Wildt
correct parent. So far we were directly calling some ampintc(4) code, which is fine for regular hardware. With Parallels on the Apple M1, ampintcmsi(4) is combined with agintc(4), which is quite a surprise. Luckily both types of interrupt controllers use the same API for passing interrupt information, so we can craft one structure and both ampintc(4) and agintc(4) will happily work with it. ok kettenis@
2021-10-21Simplify a return value check for X509_STORE_get_by_subject() nowTheo Buehler
that we know that it only returns 0 or 1. Eliminate the last uses of X509_LU_{FAIL,RETRY}. ok jsing
2021-10-21Set enc.modified if the X509_REQ is going to be modified.Theo Buehler
ok jsing
2021-10-21new manual page X509_ATTRIBUTE_set1_object(3)Ingo Schwarze
documenting five X.501 Attribute write accessors
2021-10-21Sync parts of X509_STORE_get_by_subject() with OpenSSLTheo Buehler
Initialize stmp.type and stmp.data.ptr so that a user-defined lookup method need not take responsibility of initializing those. Get rid of current_method, which was never really used. Stop potentially returning a negative value since most callers assume Boolean return values already. In addition, garbage collect the pointless j variable. ok jsing
2021-10-21Document commands used to send VM IP to Xen hostDenis Fondras
OK kn@
2021-10-21Prepare to make X509 opaque.Theo Buehler
ok jsing
2021-10-21Clean up the naming of SNMP_C_GETNEXTREQ and SNMP_C_RESPONSE insideMartijn van Duren
smi_debug_elements OK sthen@
2021-10-21libtls: Don't reach into X509_STORE_CTX.Theo Buehler
ok jsing
2021-10-21s/SNMP_C_GETRESP/SNMP_C_RESPONSEMartijn van Duren
OK sthen@
2021-10-21Switch from X509_VERIFY_PARAM_set_flags() to X509_STORE_set_flags().Theo Buehler
This reduces the number of reacharounds into libcrypto internals. ok jsing
2021-10-21isakmpd: prepare for opaque X509_STORE_CTX struct.Theo Buehler
ok benno
2021-10-21isakmpd: prepare for opaque X509_EXTENSION struct. This needs to useTheo Buehler
an accessor instead of reaching directly into the struct. ok benno
2021-10-21Add XKU_ANYEKU #define and use it to cache the anyExtendedKeyUsageTheo Buehler
extension. This is part of OpenSSL commit df4c395c which didn't make it into our tree for some reason. ok jsing
2021-10-21Remove 'disk' editing command. Determining the disk geometry on startup (fromKenneth R Westerback
-l, -c/-h/-s or DIOCGPDINFO) should be enough for anyone.
2021-10-21Prepare to provide X509_get_X509_PUBKEY() as a function.Theo Buehler
ok jsing
2021-10-21when a client sends header lines without a colon, respond with 400 BadSebastian Benoit
Request instead of 500 Internal Server Error. ok claudio@
2021-10-21Avoid sys/param.h, or annotate reasons for including where required.Theo de Raadt
This includes using HOST_NAME_MAX and PATH_MAX in snaps for around 3 weeks, noone noticed a change in behaviour.