summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-30whitespace, found while pondering improvements to sffdumpTheo de Raadt
2019-08-30locate.updatedb can't update the database unless it is run as root.kmos
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 offsetJonathan Matthew
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-29syncTheo de Raadt
2019-08-29The kernel uses rtm_addrs as a bit field for addresses that areAlexander Bluhm
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 commandkn
There is no code for addressing breakpoints by numbers at all.
2019-08-29Enable USB Vbus supply on i.MX 8M.Patrick Wildt
ok kettenis@
2019-08-29The IFP address in arp(8) used some bytes from a location dependingAlexander Bluhm
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.Ingo Schwarze
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)Mark Kettenis
2019-08-29Add amldwusb(4), amlusbphy(4) and amlpciephy(4), drivers for the USBMark Kettenis
controller glue and USB PHYs found on the Amlogic G12A/B SoCs. ok patrick@
2019-08-29Remove redundant ikev2_msg_valid_ike_sa() call.tobhe
ok patrick@
2019-08-29route(8) used inet/inet6 autodetection also for the link addressAlexander Bluhm
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.Mark Kettenis
2019-08-29ure: attach to RTL8153B device on Lenovo USB-C DockJoshua Stein
2019-08-29Capitalize my last name in copyright.Mark Kettenis
2019-08-29the latest commit introduced a regression in DATA filtersGilles Chehade
ok martijn@
2019-08-29Always parse RSN/WPA IEs if the driver announces support for RSN.Stefan Sperling
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.Kevin Lo
Tested by myself, jcs@
2019-08-29the builtin filters matching used to be reversed, as in "function must notGilles Chehade
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 packetStefan Sperling
ok mpi@ procter@
2019-08-29Don't write to mbuf length fields before mbuf is removed from iwm(4) Rx ring.Stefan Sperling
Based on Dragonfly 96eaecf93d9f731459a0df8efc72cfad034320bd by Imre Vadasz ok mpi@ procter@
2019-08-29Split dev_close() routine in two parts.Alexandre Ratchov
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.Alexandre Ratchov
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.Martijn van Duren
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 othersAlexandre Ratchov
2019-08-29It is not longer necessary to double-escape ; in %%%, problem reportedNicholas Marriott
by Theo Buehler.
2019-08-29Fix wrong comment about MIDI port hold flagAlexandre Ratchov
2019-08-29Move code de disconnect all MIDI clients to its own routine.Alexandre Ratchov
This makes the routine reusable, no behavior change.
2019-08-29Move code de disconnect all audio clients to its own routine.Alexandre Ratchov
This makes the routine reusable, no behavior change.
2019-08-29Uniformize device-specific debug printfsAlexandre Ratchov
2019-08-29pf_state_insert() must grab state lock exclusivelyAlexandr Nedvedicky
ok bluhm@
2019-08-29fix a comparison which generated a warning on sparc64.David Gwynne
found by deraadt@
2019-08-29make the list of OM fibre distances go OM1, OM2, OM3, not OM2, OM1, OM3David Gwynne
2019-08-28Use ACPI information to attach PCI busses like we do on arm64. There are aMark Kettenis
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.Alexander Bluhm
2019-08-28If the EX_CONFLICTOK flag is given, allow operations that (partly)Mark Kettenis
free space that is already free. ok patrick@
2019-08-28In rev 1.273 RTM_LOCK has been removed from net/rtsock.c. SinceAlexander Bluhm
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'.Richard Procter
input and ok claudio@ jmc@
2019-08-28At startup, unveil entire filesystem to read-only. If after privdrop, someTheo de Raadt
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" intoKenneth R Westerback
"< 2 || > 2". Step towards allowing SCSISPC() to be updated to return actual SPC values.
2019-08-28change valid_domainname() to accept a trailing dot.Eric Faurot
ok millert@
2019-08-28This code calls task_add(9) from a timeout, so create the taskq withMark Kettenis
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 nameMartijn van Duren
in use for the current request. OK gilles@
2019-08-28syncTheo de Raadt
2019-08-28Make filters more developer-friendly by giving more feedback on why aMartijn van Duren
message was rejected. Feedback semarie@ OK gilles@
2019-08-28Introduce SCSI0(), SCSI2() and SCSI3() defines to clarify (some) usesKenneth R Westerback
of SCSISPC() when checking the values of the INQUIRY version field.
2019-08-28sys/arch/luna88k/luna88k/locore0.S:dummy_cpu assumes thatKenji Aoyama
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 arm64Jonathan Gray
2019-08-28new manual page AES_encrypt(3)Ingo Schwarze