| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
repetitive statements.
|
| |
|
|
| |
updated to match API change. From Dale Rahn via beck@ ok markus@
|
| |
|
|
| |
Pedro Martelletto, ok markus@
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
bz#3171, spotted by ronf at timeheart.net, ok djm@.
|
| | |
|
| | |
|
| |
|
|
| |
OK deraadt@, kettenis@
|
| |
|
|
| |
OK deraadt@, kettenis@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EFIFB_HEIGHT and EFIFB_WIDTH instead of efifb_std_descr.n{rows,cols}.
Because the efifb resolution doesn't change, this ensures 'ri_emuwidth'
and 'ri_emuheight' will always get the same value when we remap and
later when we attach, so the text area is always displayed at the same
position.
This fixes display glitches happening on smaller screens or with larger
fonts, which caused the content previously displayed in the area that
was becoming margins when remapping to remain there.
OK jsg@
|
| |
|
|
| |
OK kettenis@
|
| |
|
|
| |
ok patrick@
|
| | |
|
| |
|
|
|
|
|
| |
from the range [1..UINT_MAX] initially. On inode re-use increment
and on wrap refill from the range [1..UINT_MAX-1] to avoid
assigning UINT_MAX (the original value). Zero still means uninitialized.
ok millert@
|
| | |
|
| |
|
|
| |
'address'.
|
| |
|
|
|
|
|
|
|
|
| |
to select the VGA or the EFI framebuffer properly. Previous
initializes VGA unconditionally, it caused serious problems like the
video distortion and so on. As a downside of this commit, some early
panic or debug messages will not be displayed.
test Andrew Daugherity, jsg
ok jsg kettenis
|
| |
|
|
|
|
|
|
| |
for multi-queue operation. Vector 0 is used for events, and the
subsequent vectors are mapped to a tx and rx queue each.
tested on esxi 6.7 and qemu by me, and on vmware fusion by dlg@
ok dlg@
|
| |
|
|
|
|
|
|
| |
Bring the two syscalls in sync with recent MP changes in the file layer.
Inconsistency pointed by haesbaert@.
ok anton@, visa@
|
| | |
|
| |
|
|
|
|
| |
directives are processed correctly and handling of Include directives
that appear before Match. Both tests currently fail.
bz#3122 and bz#3169 - patch from Jakub Jelen
|
| |
|
|
| |
OK martijn@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug, present since 4.4BSD, was that a trailing dash in an option
group, when the dash is not permitted as an option letter, resulted
in the whole option group being returned as an argument, even though
the previous option in the group was already parsed as an option:
OPTS=abc ./getopt-test -a- -c arg ===>> OPT(a)ARG(-a-)ARG(-c)ARG(arg).
Instead, treat the dash as an invalid option and continue parsing
options: ===>> OPT(a)ERR(?-)OPT(c)ARG(arg).
The undesirable behaviour was that allowing the dash as an option
letter only allowed isolated dashes ("-") and trailing dashes in
groups ("-a-"), but neither middle dashes in groups ("-a-b"), even
though that already partially worked in 4.4BSD, nor leading dashes
in groups ("--a"), even though that works on all other BSDs and on
glibc. Also, while POSIX does not require that the dash can be
used as an option letter at all, arguably, it encourages that letters
either be fully supported or not supported at all. It is dubious
whether supporting an option letter in some positions but not in
others can be considered conforming.
This patch makes OpenBSD behaviour identical to FreeBSD and NetBSD,
improves compatibility with glibc (except that glibc does not support
isolated "-"), improves compatibility with DragonFly (except that
DragonFly is buggy when the dash option letter can take an optional
argument but that argument is not present), improves compatibility
with Illumos and Solaris 11 (except those do not support "-" and
mishandle "--a"), and restores 4.4BSD behaviour for "-a-b". In no
respect i'm aware of is compatibility with any other systems reduced.
For the full rationale, see my mail to tech@
on 30 Mar 2020 14:26:41 +0200.
Part of the problem was originally reported by an anonymous coward
on tech@ on 12 Mar 2020 03:40:24 +0200, additional analysis was
contributed by martijn@, and then the OP sent the final version of
the patch i'm now committing on 17 Mar 2020 19:17:56 +0200.
No licensing problem here because after the commit, the file does
not contain a single word written by the OP. Also, the OP told me
in private mail that he intends to publish the patch under the ISC
license already contained in the file and that he wishes to be known
by the pseudonym "0xef967c36".
OK martijn@, and no objection when shown on tech@,
but commit delayed to stay clear of the release.
|
| |
|
|
|
|
|
|
|
|
| |
Tell make that trap_subr.S needs assym.h.
Fill in opal_cngetc() so I can type at the "ddb>" prompt.
Add enough code to trap_subr.S to "c" continue from ddb.
Give registers to ddb.
Try to load symbols from initrd.
ok kettenis@
|
| |
|
|
| |
from sshd_config; patch from Jakub Jelen
|
| |
|
|
| |
spotted by & ok sthen@
|
| |
|
|
|
|
|
|
|
| |
address. In that case, the linking to the pf state must be dissolved
as the latter still contains the old address. If it is a divert
state, also remove the state as any divert state must be associated
with a matching socket. Call pf_remove_divert_state() and
pf_inp_unlink() from in_pcbconnect().
reported by Tim Kuijsten; OK sashan@ claudio@
|
| | |
|
| |
|
|
| |
plus minor improvements to punctuation and markup
|
| |
|
|
| |
okay ratchov@
|
| |
|
|
|
|
| |
Nothing uses the header anymore.
OK deraadt@ mpi@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If rsize is NULL, do not update the variable. Otherwise the bootloader
will crash when it invokes libsa's fchmod().
This lets the bootloader work again after the recent loadrandom()
change. The fix should also improve the chances of sysupgrade(8) on
loongson.
Note that pmon_iostrategy() does not allow writing. fchmod() will fail
but does not prevent boot.
|
| | |
|
| |
|
|
| |
tweak and OK tb@
|
| |
|
|
|
|
|
|
|
|
| |
Since our last concurrency mistake only ioctl(2) ans sysctl(2) code path
take the reader lock. This is mostly for documentation purpose as long as
the softnet thread is converted back to use a read lock.
dlg@ said that comments should be good enough.
ok sashan@
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
This is the same change made in rev 1.21 to match the drm drivers.
It was reverted as Lucas Raab reported problems with inteldrm taking
over the fb with a 4k display. Lucas confirmed that this is no longer
an issue.
Prompted by a similar patch from John Carmack to raise the limits.
ok kettenis@
|
| | |
|
| |
|
|
| |
discussed with deraadt@
|
| |
|
|
| |
no functional change as clflush is currently only done on Intel
|
| |
|
|
|
|
|
|
|
| |
djm pulled support in for pcap_breakloop on the bpf side of things,
this makes it work when reading files too.
from Caspar Schutijser
lteo@ seems keen
ok djm@
|
| |
|
|
|
|
|
|
| |
this means if something wants to m_prepend to it later on, there's
probably a ton of space available for it. this is similar to the
changes i made on some intel nic drivers.
ok jmatthew@ and his bit of paper with a diagram of how the maths works.
|
| |
|
|
|
| |
They won't work any more due to pledge restrictions so just print
an error and exit if the spool is world-writable. OK beck@
|
| |
|
|
| |
and (b) the boot-time acceleration.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
When ddb loads symbols, the .strtab contains char strings and doesn't
need long alignment. Our bootloader provides long alignment, but I
started loading symbols on powerpc64 without our bootloader.
ok mpi@ guenther@ kettenis@
|
| |
|
|
|
|
|
|
|
| |
They can be configured with the new ikesa enc options aes-128-gcm,
aes-256-gcm, aes-128-gcm-12 and aes-256-gcm-12.
Tested with Strongswan by Stephan Mendling and myself
Tested with Juniper SRX by remi@
ok sthen@, patrick@
|