summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-23regenccardenas
2018-04-23Add ids for AMD 15h 3xh family along with Kaveri graphicsccardenas
Ok mlarkin@ jsg@
2018-04-22syncTheo de Raadt
2018-04-22use NULL for pointerTheo de Raadt
2018-04-22mmap() no longer needs to be used. Without providing too many details,Theo de Raadt
describe how an inner-region is found for applying MAP_STACK, and that currently MAP_STACK remains set when the sigaltstack is disabled. ok kettenis guenther schwarze
2018-04-22install ccp.4Jonathan Gray
2018-04-22Use free(9) size argument in azalia_codec_select_dacs(). FromAlexandre Ratchov
Michael W. Bombardieri. Thanks.
2018-04-22Wrap debug-only variable definition in #ifdef AZALIA_DEBUG. FromAlexandre Ratchov
Michael W. Bombardieri. Thanks.
2018-04-22try logging, but if we're in pkg_info, we don't have the toolsMarc Espie
problem reported by TJ
2018-04-22Add reference counting that prevents freeing of busy aesni sessions.Visa Hankala
The early freeing has become possible because aesni_process() and crypto_freesession() are no longer serialized by the kernel lock. The flaw has caused kernel panics with IPsec traffic. Issue seen by some, fix tested by mabi on bugs@ OK mikeb@, mpi@
2018-04-21spelling error in log messageMike Larkin
2018-04-21more undos from the mistake this morningTheo de Raadt
2018-04-20Tweak gre(4):Anthony J. Bentley
Correct reference to RFC. Disambiguate section names. Lowercase the "using" in Network Virtualization using Generic Routing Encapsulation. ok jmc@ schwarze@
2018-04-20revert to 2018/04/20 10:00:00, before oopsChristian Weisgerber
2018-04-20adjust the example to make it work;Jason McIntyre
from matt schwartz ok claudio
2018-04-20oops, snapshot tests not ready yetTheo de Raadt
2018-04-20syncTheo de Raadt
2018-04-20Add a workaround that lets loongson bootblocks work with PMON thatVisa Hankala
uses the O32 calling convention. Such firmware comes at least on some Loongson 3A development boards. This differs from the LS2F-based machines made by Lemote whose PMON uses the GCC O64 calling convention.
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2018-04-20Make loongson bootblocks use disklabel duid instead of PMON device nameVisa Hankala
when indicating the boot device to the kernel. This should reduce ambiguity in root device selection.
2018-04-20remove the background scan timeout on detach, so we don't crash shortlyJonathan Matthew
afterwards. crash reported by Piotr Isajew ok stsp@
2018-04-20grammar fixes PTE's -> PTEsMike Larkin
ok guenther, jmc, tom, millert, deraadt
2018-04-20better wordingDavid Gwynne
2018-04-20enable ccp(4) as found on recent amd chipsDavid Gwynne
2018-04-20enable ccp(4) as found on amd seattle platforms, eg, overdrive 1000sDavid Gwynne
ok kettenis@ jmatthew@
2018-04-20ccp(4) manpageDavid Gwynne
2018-04-20add a small driver for AMDs cryptographic co processor.David Gwynne
the hardware provides crypto offload, zlib offload, and an rng. this code only supports the rng at the moment. this device is present on their amd seatlle platforms, and very present on their epyc stuff. ok kettenis@ jmatthew@
2018-04-20regenDavid Gwynne
2018-04-20add and update amd cryptographic co-processor devicesDavid Gwynne
2018-04-19Tweak the description of -l:Ingo Schwarze
Avoid the misunderstanding that the essential purpose of -l is similar to the purpose of the -a option in mandoc(1), which is not the point: the fact that -l implies -a is merely a minor detail. The point of -l is to make man(1) behave like mandoc(1). Move the mention of -a to the end to de-emphasize it. Nate Bargmann reported that this seriously confused him, and i can see why.
2018-04-19start splitting the kern manpage up starting with the KASSERT bits.David Gwynne
this started when looking for function prototypes not in the SYNOPSIS section and fixing that, but ingo argues that it doesn't make sense to document 30 unrelated functions in one manpage anyway. ok deraadt@ mpi@ schwarze@
2018-04-19when adding span ports, restrict them to ether and mplstunnel interfaces.David Gwynne
this is the same check that's done when adding normal members to the bridge. it prevents things like gif(4) being added to the bridge, which in turn prevents panics when shoving ethernet packets down a layer 3 interface. reported and tested by jasper@
2018-04-19Document the "f" callback argument that tb@ asked about.Ingo Schwarze
While here, include a patch from tb@ adding the missing return type to ENGINE_ctrl() in the SYNOPSIS.
2018-04-19Compatibility with man-db:Ingo Schwarze
In page name mode (= man(1) default mode), also try to interpret names containing slashes as absolute or relative file names. Missing feature reported by Nate Bargmann on <groff at gnu dot org>, and the man-db maintainer Colin Watson <cjwatson at debian dot org> explained to me how this is supposed to work.
2018-04-19Add gif subdir.Alexander Bluhm
2018-04-19Create two gif(4) interfaces in different routing domains. TestAlexander Bluhm
encapsulating IPv4 and IPv6 packets in IPv4 and IPv6 gif tunnels.
2018-04-18apply some consistency with other manpages.David Gwynne
move all the function prototypes to the SYNOPSIS section, rather than having them underneath sections later in the page. make those sections subheaders rather than full section headers while im here. ok schwarze@
2018-04-18crank versionTheo de Raadt
2018-04-18re-enable ucode loading. The problem is the standard memory allocatorTheo de Raadt
cannot handle the larger firmwares, so we must place them somewhere else where the kernel can read them. Let's use 1MB. And pay attention if someone gets burned by this decision. Other solutions get a lot more hairy ok mlarkin jsing
2018-04-18Some programs create a PROT_NONE guard page at the far-end of the providedTheo de Raadt
stack buffer. With a page-aligned buffer, creating a MAP_STACK sub-region would undo the PROT_NONE guard. Ignore that last page. (We could check if the last page is non-RW before choosing to skip it. But we've already elected to grow STK sizes to compensate. Always ignoring the last page makes it a non-MAP_STACK guard page which can be opportunistically discovered) ok semarie stefan kettenis
2018-04-18Change how display-message uses the client. Originally it was onlyNicholas Marriott
intended as the target client where the message should be displayed but at some point (perhaps when -p was added), it was used for format expansion too. This means it can get a bit weird where you have client formats expanding for a client with a different current session than the target session. However, it is nice that display-message can be used to show information about a specific client. So change so that the -c client will be used if the session matches the target session (-t or default), otherwise the best client will be chosen.
2018-04-18Include source function name in grid_check_y logging.Nicholas Marriott
2018-04-18If m_pullup() changes the mbuf in gif_input(), also adjust the mbufAlexander Bluhm
pointer in the IP protocol loop. Reset the loop's mbuf when the mbuf is freed. The latter is not necessary, but clearing a pointer to freed data is safer. OK dlg@
2018-04-18tweak previous;Jason McIntyre
2018-04-18Fix || example.Nicholas Marriott
2018-04-18Remove RELAY_MAX_SESSIONS from relayd, there is no reason to limit relaysClaudio Jeker
to 1024 session per process (esp. with keep-alive). Now the fd limit is the new maximum and relayd will make sure to not accept too many sessions. The tcp backlog config maximum is now 512, adjust manpage accordingly. OK benno@ deraadt@
2018-04-18handle failure better in release_firmware()/request_firmware()Jonathan Gray
Alloc the containing struct with M_ZERO so if loadfirmware() fails and doesn't set the pointer we won't try to free an address based on uninitialised memory. Use M_DEVBUF not M_DRM when freeing the buffer allocated by loadfirmware().
2018-04-18Stop modifying vm page flags using mixed atomic and non-atomicPatrick Wildt
operations. This resolves one of the failures frequently seen on QEMU where spawning processes while another process is working can lead to crashes. Committing on behalf of drahn@ ok kettenis@ jsg@
2018-04-18Introduce a pmap lock on pmap_fault_fixup(). Heavily threadedPatrick Wildt
applications will crash without this lock as other threads attempt to walk the tree while another thread is adding/removing mappings. Committing on behalf of drahn@ ok kettenis@
2018-04-18Try to get the layout from the default mux when attaching a consoleMartin Pieuchot
keyboard late. This makes keyboard re-attaching due to the machdep.forceukbd sysctl(2) respect /etc/kbdtype. Issue reported by Artturi Alm, jmc@ and landry@. ok kettenis@