summaryrefslogtreecommitdiffstats
path: root/lib/libutil/imsg-buffer.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-30whitespace, found while pondering improvements to sffdumpderaadt2-6/+6
2019-08-30locate.updatedb can't update the database unless it is run as root.kmos1-1/+6
It will scan the entire disk before attempting to create the updated database and then error out. add a quick check to see if it as running as root and erroring out if that is not the case. "Makes sense" deraadt@
2019-08-30On SAS3 and newer controllers (using the IEEE sgl layout), the chain offsetjmatthew1-2/+3
field is in units of 16 bytes, not 4, fixing some but not all problems reported by Kor son of Rynar. ok dlg@, who points out this is exactly the same fix as r1.10 of mfii
2019-08-29syncderaadt1-0/+3
2019-08-29The kernel uses rtm_addrs as a bit field for addresses that arebluhm1-3/+4
included in the routing message. The significance of the bits has to be consistent with the order of the addresss. In route(8) store addresses in ascending order of RTA values. This allows to use MPLS routes together with route labels. OK mpi@ claudio@
2019-08-29Stop mentioning unsupported #number argument for break commandkn1-12/+3
There is no code for addressing breakpoints by numbers at all.
2019-08-29Enable USB Vbus supply on i.MX 8M.patrick1-2/+6
ok kettenis@
2019-08-29The IFP address in arp(8) used some bytes from a location dependingbluhm1-8/+10
on sizeof(long) as sockaddr_dl. We were lucky and it worked. Use the correct size and the algorithm from route(8) for arp(8). OK mpi@
2019-08-29In the HTML formatter, assert(3) that no HTML nesting violation occurs.schwarze2-40/+52
Tested on the complete manual page trees of Version 7 AT&T UNIX, 4.4BSD-Lite2, POSIX-2013, OpenBSD 2.2 to 6.5 and -current, FreeBSD 10.0 to 12.0, NetBSD 6.1.5 to 8.1, DragonFly 3.8.2 to 5.6.1, and Linux 4.05 to 5.02.
2019-08-29amldwusb(4), amlpciephy(4) and amlusbphy(4)kettenis4-2/+137
2019-08-29Add amldwusb(4), amlusbphy(4) and amlpciephy(4), drivers for the USBkettenis6-3/+762
controller glue and USB PHYs found on the Amlogic G12A/B SoCs. ok patrick@
2019-08-29Remove redundant ikev2_msg_valid_ike_sa() call.tobhe1-4/+1
ok patrick@
2019-08-29route(8) used inet/inet6 autodetection also for the link addressbluhm1-5/+8
type. Provide the address family AF_LINK and storage size of struct sockaddr_dl to the kernel when creating an IFP routing address. OK mpi@
2019-08-29Capitalize my last name in copyright.kettenis1-2/+2
2019-08-29ure: attach to RTL8153B device on Lenovo USB-C Dockjcs1-1/+2
2019-08-29Capitalize my last name in copyright.kettenis8-16/+16
2019-08-29the latest commit introduced a regression in DATA filtersgilles1-2/+2
ok martijn@
2019-08-29Always parse RSN/WPA IEs if the driver announces support for RSN.stsp1-3/+3
Prevents WPA APs from appearing as non-WPA APs to the AP selection logic. The decision whether or not to parse the IE was made as a side-effect of a check for the highest mutually supported version of WPA. We can safely assume that all our drivers support WPA versions <= 2 and parse the IE regardless of whether WPA is currently active or not. ok mpi@
2019-08-29Add support for RTL8153B after study of Linux r8152 driver.kevlo4-365/+605
Tested by myself, jcs@
2019-08-29the builtin filters matching used to be reversed, as in "function must notgilles1-2/+2
match", because it made code smaller, however it also made it harder to understand so it was reworked to have a function must match logic. the check_fcrdns function was not reversed, fix it spotted by otto@
2019-08-29fix iwm(4) frame length check to account for header in firmware rx packetstsp1-2/+2
ok mpi@ procter@
2019-08-29Don't write to mbuf length fields before mbuf is removed from iwm(4) Rx ring.stsp1-8/+7
Based on Dragonfly 96eaecf93d9f731459a0df8efc72cfad034320bd by Imre Vadasz ok mpi@ procter@
2019-08-29Split dev_close() routine in two parts.ratchov1-3/+13
The first part disconnects clients, the other closes the device and frees audio buffers. No behavior change.
2019-08-29Split dev_open() in two parts.ratchov1-15/+25
The first part resets audio parameters to the prefered ones, the second part opens the device and allocates the audio buffers. No behavior change.
2019-08-29Comment out the registration of smtp-out events.martijn1-1/+4
These are currently under development and allowing them to be registered might give the wrong idea of them working. OK gilles@
2019-08-29Make debug printf in port_open() look as othersratchov1-2/+2
2019-08-29It is not longer necessary to double-escape ; in %%%, problem reportednicm1-6/+2
by Theo Buehler.
2019-08-29Fix wrong comment about MIDI port hold flagratchov1-3/+3
2019-08-29Move code de disconnect all MIDI clients to its own routine.ratchov2-10/+19
This makes the routine reusable, no behavior change.
2019-08-29Move code de disconnect all audio clients to its own routine.ratchov1-10/+19
This makes the routine reusable, no behavior change.
2019-08-29Uniformize device-specific debug printfsratchov1-8/+8
2019-08-29pf_state_insert() must grab state lock exclusivelysashan1-2/+9
ok bluhm@
2019-08-29fix a comparison which generated a warning on sparc64.dlg1-2/+2
found by deraadt@
2019-08-29make the list of OM fibre distances go OM1, OM2, OM3, not OM2, OM1, OM3dlg1-2/+2
2019-08-28Use ACPI information to attach PCI busses like we do on arm64. There are akettenis10-35/+196
few additional quirks though, and attaching the PCI busses is delayed to replicate the existing code more closely. That may be changed in the future. Also tweak how we handle MSI support and respect to ACPI flag that says we shouldn't attempt to use MSIs. Some fallout is expected. ok patrick@
2019-08-28Fix white spaces and wrap long lines.bluhm1-12/+8
2019-08-28If the EX_CONFLICTOK flag is given, allow operations that (partly)kettenis1-2/+8
free space that is already free. ok patrick@
2019-08-28In rev 1.273 RTM_LOCK has been removed from net/rtsock.c. Sincebluhm1-109/+104
then the big switch in rtm_output() has RTM_CHANGE as a unique case. Remove redundant checks of rtm_type within this case. OK kn@
2019-08-28Polish; also, document defaults for 'listen on' and 'rde rib'.procter1-118/+129
input and ok claudio@ jmc@
2019-08-28At startup, unveil entire filesystem to read-only. If after privdrop, somederaadt2-2/+14
implausible bug existed in the socket setup (mostly dns-related and setsockopt) it would be largely neutered. of course, a very restrictive pledge is installed soon after that... ok mestre brynet florian
2019-08-28Recast "SCSISPC() != 2" into "!SCSI2() || SCSI3()", i.e. "!= 2" intokrw1-2/+2
"< 2 || > 2". Step towards allowing SCSISPC() to be updated to return actual SPC values.
2019-08-28change valid_domainname() to accept a trailing dot.eric1-23/+27
ok millert@
2019-08-28This code calls task_add(9) from a timeout, so create the taskq withkettenis1-2/+2
IPL_SOFTCLOCK instead of IPL_NONE. ok mpi@, deraadt@, patrick@
2019-08-28Add a link-greeting report. This allows us to get the active domain namemartijn6-8/+50
in use for the current request. OK gilles@
2019-08-28syncderaadt2-0/+2
2019-08-28Make filters more developer-friendly by giving more feedback on why amartijn3-79/+67
message was rejected. Feedback semarie@ OK gilles@
2019-08-28Introduce SCSI0(), SCSI2() and SCSI3() defines to clarify (some) useskrw6-19/+19
of SCSISPC() when checking the values of the INQUIRY version field.
2019-08-28sys/arch/luna88k/luna88k/locore0.S:dummy_cpu assumes thataoyama1-5/+4
ci_mp_atomic_{begin,end} are 6th and 7th elements of cpu_info structure. Actually that is dummy structure used in early boot stage, but for consistency, move ci_srp_hazards position in cpu_info. ok mpi@
2019-08-28add config lines for amdgpu on arm64jsg1-2/+8
2019-08-28new manual page AES_encrypt(3)schwarze4-5/+181