summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/memcmp.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-03-23Make it possible to use ix(4) with MSI-X, currently disabled by default.mpi2-38/+180
The current implementation still uses a single queue but already establishes a different handler for link interrupts. This is done in preparation for multi-queues support. Based on a bigger diff from haesbaert@ and on the FreeBSD code. Tested by Hrvoje Popovski and jmatthew@, ok jmatthew@
2020-03-23Print maps when exiting unless an END rule has been defined.mpi1-1/+24
This allows to use oneliners like: # btrace -e 'profile:hz:99 { @[tid] = count(); }' ok kn@
2020-03-23If an USB audio device supports less rates for recording than forbluhm1-2/+8
playing, the uaudio(4) driver selected a wrong rate. Then recording failed with "block size too large". The v1_rates field of the parameters contains the correct intersection of valid rates. Use it for v1 devices. OK ratchov@
2020-03-23Fix brightness control on machines where initial brigness unknown.ratchov1-13/+10
On certain machines (like the ASUS 1001PXD) _BQC returns an out of range value. Make acpivout_get_brightness() always return a valid value in order to not break brightness controls, like the display.brightness control in wsconsctl(8). ok patrick
2020-03-23Spell "status" correctly.patrick1-2/+2
ok jasper@ mpi@
2020-03-23Declare lz_enter_rr_into_zone() static, it's only used inflorian1-1/+1
this file. Pointed out by clang with -Wmissing-prototypes
2020-03-23Fix prototype.florian1-1/+1
Pointed out by clang with -Wstrict-prototypes
2020-03-23Update to libunbound 1.10.0florian48-2889/+5570
Heavy lifting by sthen in unbound(8) Tested by benno and matthieu
2020-03-23Add a test program for getopt(3) that is adequate for manual testingschwarze4-2/+174
and a compact test suite for getopt(3) intended automated regression testing, both written from scratch. The suite is intended to provide full coverage, except that it doesn't test manual changes of optind and optreset and except that it so far avoids the situation where we have a known bug.
2020-03-22remove unused variable; ok beck@ mpi@anton1-4/+2
2020-03-22Mark omissions of break statements as intentional.bru1-3/+3
CID 1453207 (Missing break in switch)
2020-03-22Add 'ikectl show sa' command to print information about the state oftobhe6-21/+222
negotiated IKE SAs, their Child SAs and resulting IPsec flows. ok patrick@
2020-03-22Implement WSDISPLAYIO GET/SET ioctls in rkdrm. This allows backlight controls on the pinebook pro through wsconsctl. Thanks, Mark. ok kettenis@, patrick@bmercer1-1/+9
2020-03-22Make efi_device_path_depth() return the full device path depth if we don'tkettenis6-12/+12
find a media device path node. Fixes booting OpenBSD on some older U-Boot versions that are in wide circulation such as 2017.09 and 2017.11. ok patrick@
2020-03-22Don't allocate a framebuffer if no interface ports have been configured.kettenis3-8/+15
ok patrick@
2020-03-22Fix agent address parsing:martijn1-41/+47
- Allow IPv6 addresses to be used based on format. - Allow IPv6 addresses without brackets skip the port if it results in a nonsensical address. This allows us to use ::1 - Try to connect to the address immediately instead of only trying the socket. - Add pledge unix so we can actually create a unix socket. Feedback, additional testing and OK jan@
2020-03-22zap trailing whitespaceanton6-21/+21
2020-03-21The #pwm-cells attribute describes the amount of flags in additionpatrick1-3/+3
to the phandle, so adjust the check to be more inclusive. ok kettenis@
2020-03-21Simplify some goto'ing that jumps a single line orkrw2-16/+9
does nothing at all. The first one spotted as CID 1452976. Reads good to millert@ ok mpi@
2020-03-21r1.244 introduced rt_hash() with careful checks of src for NULL atkrw1-6/+6
each dereference. r1.275 added a check at the top of the function, with an immediate "return (-1)" if src == NULL. Thus making the repeated checks in the body superfluous. CID 1452932. ok millert@ mpi@
2020-03-21Fix crash when no device ports have been registered. Remove unused variablekettenis1-4/+2
while I'm there. ok patrick@
2020-03-21Teach i386 boot98) and friends about ffs2. fdboot(8) is the exception:otto6-12/+27
ffs2 support does not fit there. But the the kernel loaded by the floppy ramdisk does support ffs2.
2020-03-21AIX colours are always stored as 90-97, not 100-107. From Johannesnicm1-10/+10
Altmanninger.
2020-03-21Set end position correctly, GitHub issue 2129 from Anindya Mukherjee.nicm1-3/+3
2020-03-21Break code to convert an argument as a percentage into a common function.nicm4-90/+89
2020-03-21Preserve exit status from run-shell and pass to the client.nicm1-3/+8
2020-03-21Add clock support for i.MX8MM. The CCM is based on the i.MX8MQ version,patrick2-12/+461
so we can re-use the same mechanisms. It's not the same though, which means that some code is duplicated. There's some room for refactoring. The PLLs, on the other hand, work quite differently. This allows most of our supported peripherals to work, including clock frequency scaling. Feedback from and ok kettenis@
2020-03-21Instead of passing the flags as part of a struct that's supposed to bepatrick10-54/+39
filled by the callee, change the usb_allocmem() API to take another argument for the flags. ok mpi@
2020-03-21drm/amd/display: remove duplicated assignment to grph_obj_typejsg1-2/+1
From Colin Ian King bef7177cefad180b9776ed49290d42bfb873da1e in linux 4.19.y/4.19.111 d785476c608c621b345dd9396e8b21e90375cb0e in mainline linux
2020-03-21Stop tracing if vget(9) fails.mpi1-9/+16
Make sure to release the last reference of the vnode after all other traced processes have given up on it. CID 1453020 Unchecked return value. Inputs from guenther@, ok visa@
2020-03-21test skipping of initial hyphens and minus signs in automatic tags;schwarze5-6/+42
related to tags.c rev. 1.30
2020-03-21When setting automatic tags, skip initial hyphens and minus signs,schwarze1-3/+19
bringing the behaviour for mdoc(7) closer to what is already done for man(7). Triggered by the observation of kn@ that automatic tagging didn't work very well for find(1) primaries. OK kn@
2020-03-20patrick points out that i missed axppmic and rkpmic...jmc1-1/+5
2020-03-20Fix select-word when not on a word, from Anindya Mukherjee.nicm1-6/+7
2020-03-20pccbb.c: tsleep(9) -> tsleep_nsec(9), timeout_add(9) -> timeout_add_nsec(9)cheloha1-3/+5
Straightforward ticks -> milliseconds conversions.
2020-03-20add bdpmic;jmc1-2/+4
2020-03-20Apply same menu items to view mode like copy mode.nicm2-8/+10
2020-03-20syncderaadt1-0/+1
2020-03-20Similarly, disable zoom if only one pane.nicm1-2/+2
2020-03-20Put swap down back in the right place.nicm1-2/+2
2020-03-20Disable swap entries if nothing to swap with.nicm1-5/+5
2020-03-20Still want the per-mode menus outside copy mode.nicm1-2/+2
2020-03-20Unset 'sa->sa_simult' when the exchange fails with CHILD_SA_NOT_FOUND.tobhe1-2/+5
Normally iked remembers whether there was a simultaneous rekeying attempt from both peers ant then resolves it according to RFC 7296 and unsets 'sa_simult' once both are done. It is possible that only one of the peers saw that the other tried to rekey at the same time, resulting in a CHILD_SA_NOT_FOUND error message from the other. The peer receiving this error must delete 'sa_simult', otherwise it will try to resolve the conflict during the next rekey exchange and delete the valid new Child SA. ok patrick@
2020-03-20Oops, typo in key binding.nicm1-2/+2
2020-03-20Make the mouse_word and mouse_line formats work in copy mode and enablenicm6-24/+69
the default pane menu in copy mode.
2020-03-20The i.MX8MQ 32K clock is always on.patrick2-1/+5
2020-03-20Fix positioning of menu in choose modes and a couple of keys in tree mode.nicm3-5/+13
2020-03-20futex(2): futex_wait(): ensure timeout is set when calling rwsleep_nsec(9)cheloha1-2/+2
rwsleep_nsec(9) will not set a timeout if the nsecs parameter is equal to INFSLP (UINT64_MAX). We need to limit the duration to MAXTSLP (UINT64_MAX - 1) to ensure a timeout is set.
2020-03-20__thrsleep(2): ensure timeout is set when calling tsleep_nsec(9)cheloha1-2/+2
tsleep_nsec(9) will not set a timeout if the nsecs parameter is equal to INFSLP (UINT64_MAX). We need to limit the duration to MAXTSLP (UINT64_MAX - 1) to ensure a timeout is set.
2020-03-20Disable apm(4) on the floppy ramdisk and keep the cd one in sync.otto2-4/+5
This allows FFS2 to be enabled. Has been in snaps for quite some days. With and ok deraadt@