summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/recallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-03No more status subcommands; ok florian@otto6-124/+40
2019-12-03Add display of mode sense data to SCSIDEBUG.krw1-20/+46
2019-12-03Correctly represent flows as traffic selectors as described in RFC 7296. Thistobhe6-44/+135
allows us to deduplicate the network ranges sent in the TS payload and saves some bytes on the wire. ok patrick@
2019-12-03Style nits in function arguments.nicm7-19/+19
2019-12-03rkemmcphy(4)patrick2-3/+44
2019-12-03pwmfan(4)patrick2-2/+43
2019-12-03rkpwm(4)patrick2-2/+44
2019-12-03Allinner -> Allwinnerpatrick1-3/+3
2019-12-03Since device tree trip points might not be sorted, but our codepatrick1-4/+19
expected a sorted list, do the sorting ourselves upon parsing the trip points. ok kurt@
2019-12-03With -R and an implicit ".", don't prepend file paths with "./"jca2-10/+14
Looks nicer and matches the output of GNU grep. ok millert@ deraadt@ visa@ miod@
2019-12-03Add pwmfan(4), a driver for PWM-regulated fans.patrick4-3/+140
ok kurt@
2019-12-03Add rkpwm(4), a driver for the RK3399's PWM controller.patrick4-3/+189
ok kurt@
2019-12-03Add support for the RK3399's PWM clock to rkclock(4).patrick2-1/+8
ok kurt@
2019-12-03Document implicit "." default file for -Rkn1-2/+7
OK visa deraadt
2019-12-03Fix typo: ECHD -> ECDH.tb1-4/+4
From Michael Forney, thanks!
2019-12-03fwide() does not unlock if error was occurred.asou1-2/+4
ok guenther@ and deraadt
2019-12-03add support for printing RFC 8300 Network Service Header (NSH)dlg5-7/+329
ok deraadt@
2019-12-02rename binaries to differentiate failure cases (in dmesg output) betweenderaadt4-6/+6
the two cases "syscall in main program" (will succeed until we fix go) and "syscall in library" (now properly fails) ok mortimer
2019-12-02Tweak inaccurate commentjca1-2/+1
2019-12-02add support for VXLAN-GPE as per draft-ietf-nvo3-vxlan-gpe-08.dlg2-34/+82
it's nicely backwards compatible, so we can use the same code for both vxlan and vxlan-gpe.
2019-12-02Tweak previous, using fputs here was finejca1-2/+2
2019-12-02Use getline(3) to handle lines longer than 8192 bytes in patch filesjca6-51/+62
Spotted by jsg@ when working on mesa. Diff tested by sthen@ in a partial i386 bulk. Input from and ok jsg@ millert@
2019-12-02the dhcp6 printing doesn't need these files anymore.dlg2-275/+0
they were based on draft-ietf-dhc-dhcpv6-14, which was not what ended up in the dhcpv6 rfc(s). the current printing code is a lot smaller and self contained. ok deraadt@
2019-12-02rewrite dhcpv6 parsing so it follows the rfc, not an incompat draft.dlg3-280/+159
it looks like this code was using draft-ietf-dhc-dhcpv6-14 from 1999. there were 27 drafts, and by the time it got to draft 23 and the rfc it was significantly different. this code for draft 14 cannot handle actual dhcpv6 messages. im kind of surprised (disappointed?) that noone noticed before. i only noticed cos the code was segfaulting on sparc64, and when i tried to fix it the resulting messages looked nothing like what stock tcpdump produced. the main difference between the early drafts and what ended up in the rfc is that the base dhcpv6 messages in early drafts were large structure with a lot of fixed fields, while the rfc settled on a 4 byte header that contains a 1 byte message type and a 3 byte transaction id. the rest of the messages are built from dhcp options fields. this cuts all the old handling out, and fixes the fault in the options handling by using EXTRACT_16BITS to get at the code and length fields instead of using ntohs. dhcpv6 explicitly states that it does not align options, so this is necessary to avoid faults on strict alignment archs anyway. no options are pretty printed at the moment, you just get a numeric type, a length, and a hexdump of the value. this is still better than the garbage that the draft parsing produced. if someone is interested in making this easier to read, it would be a straightforward and well contained project to better handle option printing. ok deraadt@
2019-12-02With -R assume that "." was passed instead of printing a warningjca1-3/+7
Saner default behavior that matches GNU grep. Diff from miod@, support from espie@, ok visa@ millert@
2019-12-02Revert "timeout(9): switch to tickless backend"cheloha6-254/+152
It appears to have caused major performance regressions all over the network stack. Reported by bluhm@ ok deraadt@
2019-12-02Remove client menu, I don't think it adds anything.nicm1-8/+1
2019-12-02Have SCSIDEBUG show the number of bytes of VPD inquiry data received,krw1-1/+3
not the number of bytes that were available in the buffer.
2019-12-02It is not always clear what ld.so was backed up to ld.so.backup, andderaadt1-2/+1
better that folk doing development in here use their own cp tooling.
2019-12-02Save the computed median to avoid having it to compute it all the time;otto1-6/+11
ok florian@
2019-12-02update currency exchange rates;jmc1-39/+39
2019-12-02Don't forget the scsi_vpd_header when calculating the number of byteskrw1-2/+3
obtained by scsi_inquire_vpd().
2019-12-02Replace rwsleep(9) with rwsleep_nsec(9) in vfs_lockf.c.visa1-3/+4
Prompted by and OK cheloha@ OK mpi@ anton@
2019-12-02Remove now unneeded kernel locking from vfs_lockf.c.visa1-7/+2
OK mpi@ anton@
2019-12-02Use a unified cache in all libunbound based resolvers.florian1-4/+60
OK otto
2019-12-02Stop supporting UVM_FLAG_TRYLOCK in uvm_mapanon(), it is not used.mpi1-11/+4
ok tedu@, visa@
2019-12-02increment refcount before doing the call to resolve(); ok florian@otto1-2/+2
2019-12-02Add an "all" mode for status and a much more compact and readable histogramotto7-103/+74
display; remove the why bogus status message; ok florian@
2019-12-02drm/i915/userptr: Try to acquire the page lock around set_page_dirty()jsg1-1/+21
From Chris Wilson e80e88ef6057c7947409bda9898387d25e54aaa9 in linux 4.19.y/4.19.87 2d691aeca4aecbb8d0414a777a46981a8e142b05 in mainline linux
2019-12-02drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICsjsg1-5/+18
From Evan Quan 8a67fbf6597122c4a5e2c48716bc441364357eef in linux 4.19.y/4.19.87 355d991cb6ff6ae76b5e28b8edae144124c730e4 in mainline linux
2019-12-02sync namesderaadt2-3/+3
2019-12-02tc_windup: separate timecounter.tc_freq_adj from timehands.th_adjustmentcheloha1-4/+5
We currently mix timecounter.tc_freq_adj and timehands.th_adjtimedelta in ntp_update_second() to produce timehands.th_adjustment, our net skew. But if you set a low enough adjfreq(2) adjustment you can freeze time. This prevents ntp_update_second() from running again. So even if you then set a sane adjfreq(2) you cannot unfreeze time without rebooting. If we just reread timecounter.tc_freq_adj every time we recompute timehands.th_scale we avoid this trap. visa@ notes that this is more costly than what we currently do but that the cost itself is negligible. Intuitively, timecounter.tc_freq_adj is a constant skew and should be handled separately from timehands.th_adjtimedelta, an adjustment that we chip away at very slowly. tedu@ notes that this problem is sort-of an argument for imposing range limits on adjfreq(2) inputs. He's right, but I think we should still separate the counter adjustment from the adjtime(2) adjustment, with or without range limits. ok visa@
2019-12-02output_createtmp() remembers the true name, so output_finish() does notderaadt6-19/+18
need to replay it.
2019-12-02linewrap usagederaadt1-3/+3
2019-12-02missing | leads to incompete resultsderaadt1-2/+2
2019-12-02For 32 bit systems, cast the long long used by strtoll() to unsigned longderaadt1-2/+2
and then a void * for calling the hexdump() operator with bluhm
2019-12-01Add sizes for free() in auvia(4).fcambus1-3/+3
OK mpi@
2019-12-01Don't require a valid sa_len for a bunch of IPv4 "get" ioctlsjca1-3/+6
Same fix as for the IPv6 case. Fixes a regression in ports/net/openvpn spotted by landry@, ok bluhm@
2019-12-01Add missing space between "accept" and "bogus"kn1-2/+2
2019-12-01comply with POSIX and make execve() return EACCES for directoriesnaddy2-9/+3
ok millert@ deraadt@