summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-09Let mcount.o compile by ignoring a warning about the profile.h ASMPhilip Guenther
ok patrick@
2019-11-09Replace the hand-rolled pipe lock with a rwlock. A necessary first stepanton
towards unlocking pipes. ok cheloha@ mpi@ visa@
2019-11-09move NT eflag clearing after register saving, otherwise %eax isTheo de Raadt
corrupted with the eflags value. Found by julius zint. ok guenther
2019-11-09Forgot comment requested by deraadt in previous.Florian Obser
2019-11-09Add RTP_PROPOSAL_SOLICIT to allow unwind(8) to solicit DNS proposalsFlorian Obser
from slaacd and dhclient when it starts. Discussed with deraadt who notes that it's a bit odd to have this as a route priority. One idea is to have this as a dedicated route message and not a priority. But we want to move this forward and learn how it can be used so we are going with this for now. OK deraadt
2019-11-09Add lldb support for debugging running binaries on amd64.mortimer
Follows a similar model as NetBSD. Much help from patrick, kettenis and guenther. lldb and lldb-server remain not installed by default. ok patrick@
2019-11-09Mechanically change the forwarder SIMPLEQ to a TAILQ. Needed forFlorian Obser
future work to be able to easily delete elements while iterating. OK kn
2019-11-09Fix function name in error message.denis
input & OK claudio@
2019-11-09Add test for req -addext in appstest.shKinichiro Inoguchi
2019-11-09In the past, generating comment nodes stopped at the .TH or .DdIngo Schwarze
macro, which is usually close to the beginning of the file, right after the Copyright header comments. But espie@ found horrible input files in the textproc/fstrcmp port that generate lots of parse nodes before even getting to the header macro. In some formatters, comment nodes after some kinds of real content triggered assertions. So make sure generation of comment nodes stops once real content is encountered.
2019-11-09Shuffle sd_get_parms() logic to ensure we only update sc->params withKenneth R Westerback
a complete set of validated (possibly fictitious) data. Add SCSIDEBUG output showing mismatch between disksize and cyls * heads * sectors.
2019-11-09Give access points which fail to AUTH or ASSOC less priority duringStefan Sperling
the next selection of networks from the join list. Prevents endless attempts to connect to an AP which is out of reach but still somehow manages to get a beacon or two across to us during scan. Tested with wifi networks at the University of Bucharest. Makes switching wifi networks possible after walking to a different room without having to down/up the interface or suspend/resume. ok phessler@
2019-11-09Fix SCSIDEBUG display of VPD inquiry data.Kenneth R Westerback
Remove extraneous whitespace in SCSIDEBUG read capacity display.
2019-11-09Fix SCSIDEBUG display of VPD inquiry data.Kenneth R Westerback
Remove extraneous whitespace in SCSIDEBUG read capacity display.
2019-11-09Trigger a background scan when root runs the 'ifconfig scan' command.Stefan Sperling
This will update the list of cached APs for future invocations of the 'scan' command, and will force a search for a better AP to roam to. ok sthen@ phessler@
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2019-11-09whitespace fixes, no functional change.David Gwynne
2019-11-09drm/amdgpu/powerplay/vega10: allow undervolting in p7Jonathan Gray
From Pelle van Gils fd9a708c7bde2175357acf87ff3a4416b9807f59 in linux 4.19.y/4.19.82 e6f4e274c1e52d1f0bfe293fb44ddf59de6c0374 in mainline linux
2019-11-09drm/amdgpu: fix memory leakJonathan Gray
From Nirmoy Das f2824a020746ec60fbb780756e42ac13efb221d0 in linux 4.19.y/4.19.82 083164dbdb17c5ea4ad92c1782b59c9d75567790 in mainline linux
2019-11-09drm/amd/display: fix odm combine pipe resetJonathan Gray
From Dmytro Laktyushkin a0d8a590d983d55fc48293ff573ae31a23b3c7d0 in linux 4.19.y/4.19.82 f25f06b67ba237b76092a6fc522b1a94e84bfa85 in mainline linux
2019-11-09Update the list of firmware files loaded by iwm(4)Stefan Sperling
2019-11-09Fix SCSIDEBUG compile. Missed a %lx -> %x.Kenneth R Westerback
2019-11-09whitespace fixes, no functional change.David Gwynne
2019-11-09Clear the unref callback function pointer when cleaning up an ieee80211_node.Stefan Sperling
ok mpi@
2019-11-09failure to allocate memory is not an XXXFlorian Obser
2019-11-09Ack the interrupt first, so that it can receive interrupts for newYASUOKA Masahiko
arrival packets. diff from IIJ. ok dlg
2019-11-09syncTheo de Raadt
2019-11-08Add that make-backup-files variable is enabled by defaultsolene
make-backup-files toggles backup, so when you add it in your ~/.mg this disables backup. ok benno@
2019-11-08Switch 8260 and 8265 iwm(4) devices to -34 firmware.Stefan Sperling
2019-11-08Add support to iwm(4) for new umac scan API in newer firmware versions.Stefan Sperling
Tested by phessler@, Tracey Emery, and myself on 8260 and 8265.
2019-11-08Add support to iwm(4) for ADD_STA commands used by newer firmware.Stefan Sperling
Tested by phessler@, Tracey Emery, and myself on 8260 and 8265.
2019-11-08The u_long fields in struct disk_parms (secsize, heads, cyls, sectors)Kenneth R Westerback
are always initializd to u_int32_t values. And are then copied into u_int32_t fields in the disklabel. Switch them to u_int32_t. Cluebats and ok deraadt@ jca@
2019-11-08Substitute boolean_t/TRUE/FALSE/db_addr_t by int/1/0/vaddr_t.Martin Pieuchot
Tested by miod@, ok aoyama@
2019-11-08added too much for -stable, if ftp says 404, we still need to save thatMarc Espie
2019-11-08 There is at most one Default Router Proposal present per router.Florian Obser
We can just use find_dfr_proposal_by_gw() instead of looping through the list manually. This was copied from the address proposal code which needs to loop since usually there are two address proposals present.
2019-11-08forgot to set proposal idFlorian Obser
2019-11-08Silence the compiler on 64bits archs where sizeof(void *) != sizeof(int).Martin Pieuchot
ok partrick@, kettenis@
2019-11-08spelling;Jason McIntyre
2019-11-08void being too clever about setting/clearing ifpromisc on the parent.David Gwynne
ifpromisc() already refcounts, so carp doesn't have to do it implicitly with the carpdev list. there's no functional change, the code just gets a bit simpler.
2019-11-08document the new interface hooks stuffDavid Gwynne
2019-11-08fix bogus pointer/double free crash, when /etc/printcap db file is not present,Ricardo Mestre
by adding a missing check for the return value -1 on both cgetfirst(3) and cgetnext(3) OK millert@ deraadt@
2019-11-08convert interface address change hooks to tasks and a task_list.David Gwynne
this follows what's been done for detach and link state hooks, and makes handling of hooks generally more robust. address hooks are a bit different to detach/link state hooks in that there's only a few things that register hooks (carp, pf, vxlan), but a lot of places to run the hooks (lots of ipv4 and ipv6 address configuration). an address hook cookie was in struct pfi_kif, which is part of the pf abi. rather than break pfctl -sI, this maintains the void * used for the cookie and uses it to store a task, which is then used as intended with the new api.
2019-11-08duplicate 'x' character in getopt(3) optstringDamien Miller
2018-04-27Import lpd, a re-implementation of the lpr daemon following the latestEric Faurot
OpenBSD coding practices (fork+exec/privsep/pledge/...). It is only intended to replace the lpd(8) daemon for the moment, not the lpr(1), lprm(1), lpq(1) and lpc(8) commands. This is a work in progress. The server part should be fairly functionnal, but the printer part is not complete: remote printers should work, for local printers it depends on the setup. Anyway, at this point it's better in the tree than rotting on my disk. ok deraadt@
2019-11-08Add support for button 2 and 3 to imt(4).YASUOKA Masahiko
ok jcs
2019-11-08timeout.9: cite 1997 Varghese/Lauck timeout wheel paper; ok jmc@ schwarze@cheloha
2019-11-07Remove get_pc_str_offset(), which has been unused since we switchedPatrick Wildt
to clang, where the stack frame format changed significantly. Prompted by guenther@ noticing deprecated ASM warnings ok drahn@
2019-11-07The compiler -pg option implies -fno-ret-protector, as we want to disablePhilip Guenther
retguard and similar when profiling. However, that missed all the .S files, as ${PROF} wasn't added when ${NORMAL_S} was converted from direct invocation of ${AS} to instead use ${CC}. Similarly, mcount.o still had retguards as it cannot be built with -pg. So: pass ${PROF} when compiling .S files, and compile "no profiling" files with -fno-ret-protector on archs with retguard. feedback and ok mpi@ mortimer@
2019-11-07sd_size() is a wrapper around sd_read_cap_10() and sd_read_cap_16() soKenneth R Westerback
rename it sd_read_cap(). Reduces possible confusion with the unrelated sdsize().