summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-30Sort alphabeticallyTheo Buehler
2023-04-30Remove unnecessary targetTheo Buehler
2023-04-30policy test: simplify MakefileTheo Buehler
2023-04-30Fix that atactl sd0 readattr didn't work for some disks. Change it toYASUOKA Masahiko
check the cksums of the attribute values instead of comparing the revisions. diff from NetBSD through naito.yuichiro at gmail.com. test by kolipe.c at exoticsilicon.com. ok kevlo miod deraadt
2023-04-29bump version to 8.4Sebastian Benoit
2023-04-29New manual page written by Ted Bullock,Ingo Schwarze
dropping the empty RETURN VALUES section and adding the missing "#include <stdilib.h>" below EXAMPLES.
2023-04-29Provide function prototypes for macros that take arguments,Ingo Schwarze
rename the "ev" argument to "event" to make some text read better, and get rid of colons at the ends of list tags. OK jmc@ and Ted Bullock.
2023-04-29Mention a few standard BIO_ctrl(3) command constantsIngo Schwarze
that provide type-specific functionality here. While here, fix some wrong return types in the SYNOPSIS.
2023-04-29Mention a few standard BIO_ctrl(3) command constantsIngo Schwarze
that provide type-specific functionality here, and add the missing return type to one function prototype.
2023-04-29Add "counter-timer" to openboot_special[] in order to not mention it asMiod Vallat
unconfigured during boot, now that timer(4) is gone.
2023-04-29Mention the type-specific BIO_ctrl(3) command constantsIngo Schwarze
in the manual pages of the respective BIO types.
2023-04-29Mention the type-specific BIO_ctrl(3) command constantsIngo Schwarze
in the manual pages of the respective BIO type. While here, fix some wrong return types in the SYNOPSIS.
2023-04-29Remove net lock from DIOCGETQUEUEKlemens Nanni
Same logic and argument as for the parent *S ioctl unlocked in r1.400, might as well have committed them together: Both ticket and number of queues stem from the pf_queues_active list which is effectively static to pf_ioctl.c and fully protected by the pf lock. OK sashan
2023-04-29remove some 19 year old #if 0 codeMike Larkin
ok deraadt
2023-04-29whitespaceMike Larkin
2023-04-29as noticed by sdk@, a package with an exact numbers of 64K chunks wouldMarc Espie
produce a spurious error (so 1 chance in 2^26) It's like read/write: we need to recognize 0 as EOF and not try to checksum a non-existing block. while there, also make sure that we got all the signed blocks at EOF before exit(0) Note that none of those two bugs affect the actual security of signed packages: the basic assertion that only signed data gets written through the pipe is still 100% valid ! but it's a good idea to not emit spurious messages for valid files, and also to recognize truncated files ! okay tb@ (thanks a lot)
2023-04-29Print VHE feature in dmesg.Mark Kettenis
ok mlarkin@, patrick@
2023-04-29Run open rsync and ports rsync programs against each other usingAlexander Bluhm
the --rsync-path option. So we can see whether the tests pass in all interoperability combinations. Suggested by claudio@
2023-04-28Mark OpenSSLDie() as __deadTheo Buehler
This tells gcc that OPENSSL_assert() will not return and thus avoids a silly warning that triggers scary gentoo QA warnings. From claudio
2023-04-28vmd(8): fix specifying boot image in vm.confDave Voutila
Previous change to allow overriding changed the way we parsed and stored the boot image path. The lifetime of the path was...much too short. Heap allocate the kernel path. Found by Mischa Peters. ok mlarkin@
2023-04-28adjust after man_validate.c rev. 1.128 improved the error messagesIngo Schwarze
2023-04-28Make LLVM 15 happier by changing from K&R to ANSI prototypesTheo Buehler
2023-04-28Do not rewrite MAN_LP and MAN_P to MAN_PP because doing that causesIngo Schwarze
confusing warning messages complaining about macros that don't even appear in the input file. As a welcome side effect, this also shortens the code... Fixing a minibug reported by Alejandro Colomar <alx dot manpages at gmail dot com>.
2023-04-28Clarify -b usage by `vmctl start`.Dave Voutila
2023-04-28Add rtentry refcnt type to dt(4).Vitaliy Makkoveev
ok bluhm@
2023-04-28vmd(8)/vmctl(8): allow vm owners to override boot kernel.Dave Voutila
vmd allows non-root users to "own" a vm defined in vm.conf(5). While the user can start/stop the vm, if they break their filesystem they have no means of booting recovery media like a ramdisk kernel. This change opens the provided boot kernel via vmctl and passes the file descriptor through the control channel to vmd. The next boot of the vm will use the provided file descriptor as boot kernel/bios. Subsequent boots (e.g. a reboot) will return to using behavior defined in vm.conf or the default bios image. ok mlarkin@
2023-04-28Execute each test as make target. Remove the shell wrapper. MarkAlexander Bluhm
failing test so that claudio@ can fix them.
2023-04-28Remove unneeded header includes in vmd.Dave Voutila
No functional change. virtio block/networking emulation do not need to know about vmm or any kernel types.
2023-04-28bump MAXDSIZ to 128G on amd64 and 64G on arm64Robert Nagy
discussed with kettenis@, ok deraadt@
2023-04-28Free all libcrypto global state memory before returningJob Snijders
Found with the help of Otto's malloc memory leak detector!
2023-04-28Return a non-zero error exit code on any DER cache discrepanciesJob Snijders
2023-04-28timer(4/sparc64): remove driverScott Soule Cheloha
The timer(4/sparc64) driver was effectively disabled during the previous release. Nobody has come forward asking for it to be adapted to work with the new clockintr framework, so it's time to remove the driver from the tree. As of today, if you want to run OpenBSD on SPARC v9 hardware, that hardware needs to sport either %tick and %tick_compare (%asr23), or %stick (%asr24) and %stick_compare (%asr25). All Sun/Oracle SPARC v9 hardware meets these conditions, from the UltraSPARC I onward. Most HAL/Fujitsu SPARC v9 hardware meets these conditions, from the SPARC64 III onward. The only HAL/Fujitsu hardware that might not have %tick_compare are the HAL SPARC64 I and SPARC64 II, for which I can find no documentation. However, those processors are currently unsupported by OpenBSD for other reasons, so their support status is unchanged by the removal of this driver. With help from miod@. Link: https://marc.info/?l=openbsd-tech&m=167898759928206&w=2 "after unlock" deraadt@, ok mlarkin@ miod@
2023-04-28Fix leaks reported by ASANTheo Buehler
debugged with job
2023-04-28Too many stupid things whine about these being used uninitializedTheo Buehler
(which they aren't), so appease them.
2023-04-28Revert amd64/i386 floppy change. Missing diff to vnconfig brokeKenneth R Westerback
installboot'ing due to incorrect d_type (must be 'floppy' not 'vnd') in disklabel. Noticed by deraadt@ and sthen@
2023-04-28Remove preservation and use of cached DER/BER encodings in the d2i/i2d pathsJob Snijders
A long time ago a workflow was envisioned for X509, X509_CRL, and X509_REQ structures in which only fields modified after deserialization would need to be re-encoded upon serialization. Unfortunately, over the years, authors would sometimes forget to add code in setter functions to trigger invalidation of previously cached DER encodings. The presence of stale versions of structures can lead to very hard-to-debug issues and cause immense sorrow. Fully removing the concept of caching DER encodings ensures stale versions of structures can never rear their ugly heads again. OK tb@ jsing@
2023-04-28Some wording tweaks to finish the polishing.Ingo Schwarze
While here, also correct the HISTORY section. OK jmc@
2023-04-28Mark the obsolete PROXY_PARAM and SOCKS BIO_ctrl(3) command constantsIngo Schwarze
as intentionally undocumented. Do that here because no related manual pages exist.
2023-04-28Enable policy checking by default now that we are DAG implementation based.Bob Beck
This ensures that we will no longer silently ignore a certificate with a critical policy extention by default. ok tb@
2023-04-28Mark a number of BIO_ctrl(3) command constants as intentionallyIngo Schwarze
undocumented because they are NOOPs or deprecated.
2023-04-28kill the .Xr to BN_nist_mod_521(3) which no longer existsIngo Schwarze
2023-04-28Unifdef LIBRESSL_HAS_POLICY_DAG and remove it from the MakefileTheo Buehler
with beck
2023-04-28Import rsync regress provided by Martin Cracauer so that bluhm@ can workClaudio Jeker
improve it in tree.
2023-04-28Add BIO_C_SET_MD_CTX to the list of command constants.Ingo Schwarze
2023-04-28Take the old policy code behind the barnTheo Buehler
It can go play in the fields with all the other exponential time policy "code". discussed with jsing ok & commit message beck
2023-04-28Document BIO_set_md_ctx(3) and BIO_C_SET_MD_CTX.Ingo Schwarze
Correct the return types of some macros. Improve the RETURN VALUES section.
2023-04-28The policy test is no longer expected to failTheo Buehler
2023-04-28Enable the new policy checking code in x509_policy.cTheo Buehler
ok beck jsing
2023-04-28Silence gcc-4 warnings about sk_sort()Theo Buehler
Tell it we deliberately ignore the return value, (we really don't care what the old comparison function was).
2023-04-28Remove misinformation, reason had nothing to do with efficiencyJob Snijders
"Failure to re-encode on modification is a bug not a feature." OK jsing@