Age | Commit message (Collapse) | Author |
|
ok beck@ deraadt@
|
|
|
|
|
|
still specified snprintf() and vsnprintf() based on earlier drafts.
Allows snprintf() and vsnprintf() to be used when _XOPEN_SOURCE is
defined as 500. OK guenther@
|
|
open the device only once with the correct flags, instead of twice (one
file handle for reading and one for writing). Committing this at once
because the changes are interrelated.
ok stefan
|
|
with the -F and -s flags.
ok stefan
|
|
Compile test and ok tobiasu@
|
|
ok @stefan armani@
|
|
when attempting pubkey auth with a certificate, if no separate
private key is found among the keys then try with the certificate
key itself.
bz#2550 reported by Peter Moody
|
|
After discussion with tb@, deraadt@ and millert@, this was also OK'ed by them
|
|
applications like zdump(8) because pledge(2) doesn't allow access(2) to
/usr/share/zoneinfo.
millert@ better described why this call can go away:
"This looks like an attempt to do access checks based on the real uid instead
of the effective uid. Basically for setuid programs we don't want to allow a
user to set TZ to a path they should not be able to otherwise access.
However, we already have a check for issetugid() above so I think the doaccess
bits can just be removed and we can rely on open()."
After discussion with tb@, deraadt@ and millert@, this was also OK'ed by them
|
|
|
|
from Michal Mazurek, ok tb@
|
|
ACPI specs. With the correct value, it can now be used in a few places
instead of hardcoding 0x79.
ok kettenis@
|
|
ok mpi@
|
|
option itself may go away sometime soon.
ok guenther@, deraadt@
|
|
|
|
considered.
ok deraadt@
|
|
ok kettenis@ mpi@
|
|
in libc's hidden/stdlib.h instead of in each .c file that needs one
ok deraadt@ gsoares@ mpi@
|
|
Fixes allignment in viusage
By Raf Czlonka
|
|
|
|
Noted here, https://github.com/libressl-portable/portable/issues/161, we
document a non-existent constant in the examples for
EVP_PKEY_CTX_set_rsa_padding.
ok deraadt@
|
|
|
|
|
|
it factorizes path resolution in resolvpath() function, and use it in
sys_pledge() and pledge_namei().
please note that wl_paths is still disabled.
|
|
Kernel bits:
- When creating a VM, a list of memory ranges has to be specified,
similar to the BIOS memory map. This is necessary for VMs with
RAM sizes approaching 4G because we'll need PCI MMIO space in
the higher parts of the 32 bit address space.
vmctl and vmd bits:
- Construct appropriate memory ranges to create a VM with a given
RAM size
- Construct a corresponding BIOS memory map from the memory ranges
and update the boot params page accordingly.
- Make sure that all variables that represent guest physical addresses
match the address width of the target CPU instead of using uint32_t.
- Fix some integer promotion glitches that actually restricted VM
RAM size to 2G.
This changes the VM create ioctl interface, so update your kernel,
vmd, and vmctl.
ok mlarkin@
|
|
observed to fire for spurious reasons with buggy hardware/bios.
It is being ignored by both FreeBSD and Linux as well.
Fixes GENERIC kernel boot on ADI RCC-VE with buggy bios versions, where
ichiic(4) ended up stealing interrupts from ehci(4), rendering the internal
eMMC flash unusable.
Also, always ackknowledge all interrupts by writing status bits back
to avoid a potential SMBALERT# interrupt storm.
with and ok deraadt@ kettenis@ mpi@
|
|
still no binary change.
|
|
ioctl requests.
|
|
Xr fix while here...
|
|
- rewrite canonpath() to not require extra byte before shrinking
- make canonpath() error not fatal for the caller (proposition from tedu@)
ok millert@ tedu@ deraadt@
|
|
the vlan interface is ifp, the vlans parent interface is ifp0, the new
interface parent is newifp0.
requested by mpi@
no binary change
|
|
The unimplemented mode is MSB/LSB (8 bit), not 16 bit mode.
|
|
overriding
ok deraadt@ kettenis@
|
|
Noticed by pascal-cuoq from Github:
https://github.com/libressl-portable/openbsd/issues/56
ok beck@
|
|
void return types 'return no value'. This is obvious and therefore
unneccessary to mention.
We spare rewind(3)'s sentence because espie@ pointed out that it's a
warning - the function masks a potential error.
This commit also adds a sentence to X509_free clarifying that it's
NULL-safe. This bit was discussed with doug@.
ok martijn@, sentiment supported by schwarze@
|
|
|
|
explanations provided by schwarze@.
|
|
|
|
|
|
|
|
'sc_link'. 'sc_link' is a field in the various device *_softc
structures, where the sc_ prefix was for 'softc'. Reduces potential
mental confusion. Newer code from down under was already using
'link'.
No functional change.
Prompted by bluhm@'s adventures in scsi. ok dlg@ jmatthew@
|
|
|
|
|
|
ok mpi@ bluhm@
|
|
of a use after free. In sdopen() the scsi link pointer is taken
from the scsi disk struct. While the scsi disk memory is refcounted
by autoconf, the scsi link may be detached and freed during sleep.
The solution is to check wether the disk is dying after every sleep.
The SDF_DYING flag is set before scsi bus and scsi disk are detached,
so without this flag the link must be valid.
input and OK krw@
|
|
So if vop_generic_revoke() does not unmount because the mount point
is busy, this could result in a mount point without a valid device.
It is better to check and sleep in a loop to avoid a corrupt mount
point.
OK natano@ krw@
|
|
|
|
this file has not been touched in nearly two years - putting this out
as a test of whether to propose its removal;
|