summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-06We want the first, not the last, OpenBSD partition in the MBR.Kenneth R Westerback
2016-01-06Forgot to remove this file on my previous commitmestre
2016-01-06Remove unnecessary header files from phantasia(6)mestre
Lesson learnt: don't include an header sorted alphabetically just because. The external definition of variables was done on phantglobs.h but their declaration was on phantstruct.h and therefore the latter must be included before the former. It's easier to just include phantstruct.h inside phantglobs.h since it always need it. With help and OK from tb@
2016-01-06ansifytb
ok mestre@
2016-01-06Prevent integer overflows in sosend() and soreceive() by convertingStefan Kempf
min()+uiomovei() to ulmin()+uiomove() and re-arranging space computations in sosend(). The soreceive() part was also reported by Martin Natano. ok bluhm@ and also discussed with tedu@
2016-01-06fix comment typosStuart Henderson
2016-01-06This is just an example and we don't have to bump the set's versionReyk Floeter
number all the time, but let's use install59.fs as it will be the first release that includes vmm.
2016-01-06Last step of ansification of phantasia:tb
Convert function() to function(void). ok mestre@
2016-01-06Ansify the bulk of phantasia. No binary change on amd64. Basedtb
on an older diff by mestre. ok mestre@
2016-01-06Ansify map.c.tb
ok mestre@
2016-01-06Use return instead of exit from main.tb
ok mestre@
2016-01-06Ensure that iwn(4) always uses a CCK rate as last fallback in the firmware'sStefan Sperling
tx rate retry table. This will hopefully make 11n mode work in very noisy environments. iwm(4) already does the same. ok kettenis@
2016-01-06iwm(4) adjusts the firmware's tx rate retry table dynamically so we mustStefan Sperling
tell the firmware to always try the first rate in the table first. ok kettenis@
2016-01-06Follow the spec and check the SCI_EN bit to see if ACPI has alreadyMark Kettenis
been enabled and don't bother enabling it again if it is. This should fix systems that don't implement legacy mode and therefore set ACPI_ENABLE and ACPI_DISABLE to zero. ok mlarkin@, yasuoka@
2016-01-06Add pledge "drm", which allows a subset of the drm(4) ioctls. These areMark Kettenis
basically only the ioctls that Linux allows on the so-called "render nodes". For now, it also allows DRM_IOCTL_GET_MAGIC and DRM_IOCTL_GEM_OPEN, as we don't implement prime/dma-buf yet in OpenBSD. That still leaves a big gaping hole, so they will be removed as soon as we can. Based on a diff by robert@, who did all the heavy lifting by studying the behaviour of the chromium GPU process, with some further suggestions by deraadt@. ok jsg@, deraadt@, robert@
2016-01-06deactivate POOL_DEBUG for releaseSebastian Benoit
ok deraadt, jsg
2016-01-06revert 1.87, more work is needed hereMike Belopuhov
2016-01-06Bring efidev.c goodness into softraid.c by returning and displayingKenneth R Westerback
the same error messages on GPT processing failures. Add a message about failed GPT entry checksum error to both. This was inadvertantly deleted in the switch to one entry at a time processing. tweaks & ok yasuoka@ jsing@
2016-01-05remove long deprecated "set debug "none|urgent|misc|loud" levels inSebastian Benoit
pf.conf. Change this before upgrade or pf.conf won't load. florian@ henning@ phessler@ jung@
2016-01-05add 6.0 firmware keyStuart Henderson
2016-01-05Bump example pubkey filenames for 5.9Florian Obser
OK benno@
2016-01-056.0 packages keyChristian Weisgerber
2016-01-05include all i915 drm ioctls on top of the common drm onesRobert Nagy
ok deraadt@, kettenos@, guenther@
2016-01-05syncTheo de Raadt
2016-01-05+.Xr video 1 ,Jason McIntyre
from gerald hanuer
2016-01-05Remove the IEEE80211_NO_HT macro. Reduces ifdef spaghetti, enables 11n modeStefan Sperling
in bsd.rd, and might uncover some bugs. Suggested by tedu@ and deraadt@. ok sthen@ jasper@ deraadt@
2016-01-05annoying whitespaceTheo de Raadt
2016-01-05Move over to the v1 of Grant Table entriesMike Belopuhov
In spite of comments in the Xen source code encouraging use of v2 entries in the new code, there's no benefit for us to do so at the moment. While v1 entries support only full page mappings, they're half the size of their newer counterparts, increasing the number of available grant table references from 8000 to 16000 within the same allotment of grant table frames (up to 32).
2016-01-05Use "path" not "file" as the function arg to utimes() and utimensat().Todd C. Miller
The DESCRIPTION section already referred to "path" in some places.
2016-01-05Fix whitespaceIngo Feinerer
2016-01-05add 6.0 base key for release after 5.9Theo de Raadt
2016-01-05don't use the second argument of pledge(2) as the whitelist is not stabilizedSebastien Marie
for now. ok reyk@
2016-01-05stuff may still change, disable whitelist for now.Marc Espie
ok semarie@
2016-01-05Regression suite for ul(1).Ingo Schwarze
Even though this is testing UTF-8, the test file is 7-bit clean. Will be enabled once the ul(1) program is fixed.
2016-01-05Memorize the DMA segment's data offset within the pageMike Belopuhov
Grant table references don't convey the information about an actual offset of the data within the page, however Xen needs to know it. We (ab)use bus_dma_segment's _ds_boundary member to store it and can get away with not restoring it's original value atm because neither i386 nor amd64 bus_dmamap_unload(9) code needs it.
2016-01-05Preliminary fixes to make the description of -s easier to understand,Ingo Schwarze
and to clarify that fold(1) is intended to count display column positions rather than characters. More work is needed on the code to add UTF-8 support and to fix other POSIX violations, and in that context, further updates to the manual will also be needed. Triggered by a different diff from Michal Mazurek <akfaew at jasminek dot net>. OK on the wording jmc@, but he didn't check the content. Part of the content verified by guenther@.
2016-01-05the 3rd of january is not a new year's holiday in scotland, as notedJason McIntyre
by craig skinner; craig requested we amended this to 2nd of january, which is officially a holiday in scotland but i think the entry is misleading, so i just zapped it - the occasion is really new year's day, which is the 1st;
2016-01-05Make some things static that are only used in loadfile_elf.cMike Larkin
diff from Michal Mazurek, thanks!
2016-01-05Fail fast if elf64_exec fails. No need to populate the bootargs/stackMike Larkin
and gdt pages if we couldn't load the kernel. diff from Michal Mazurek, thanks!
2016-01-05more bzero -> memset conversionsMike Larkin
from Michal Mazurek, thanks!
2016-01-05Remove PTE locking from pmap_extract() because it does not add any MPVisa Hankala
safety. The function has to be called in a context where conflicting pmap updates cannot happen. Otherwise the returned physical address might not be valid. Suggested by kettenis@
2016-01-05Some implementations of HitSyncDCache() call pmap_extract() for va->paVisa Hankala
conversion. Because pmap_extract() acquires the PTE mutex, a "locking against myself" panic is triggered if the cache routine gets called in a context where the mutex is already held. In the pmap, all calls to HitSyncDCache() are for a whole page. Add a new cache routine, HitSyncDCachePage(), which gets both the va and the pa of a page. This removes the need of the va->pa conversion. The new routine has the same signature as SyncDCachePage(), allowing reuse of the same routine for cache implementations that do not need differences between "Hit" and non-"Hit" routines. With the diff, POWER Indigo2 R8000 boots multiuser again. Tested on sgi GENERIC-IP27.MP and octeon GENERIC.MP, too. Diff from miod@, ok kettenis@
2016-01-04Add HISTORY and AUTHORS sections.Ingo Schwarze
From the author John A. Kunze via https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196786 and Michal Mazurek <akfaew at jasminek dot net>. Correctness also verified from the CSRG archive CD.
2016-01-04Follow style(9) and drop lint /* NOTREACHED */ annotations fromtb
the examples. Diff from Juuso Lapinlampi < wub () partyvan ! eu >, thanks! ok schwarze@
2016-01-04no need for af on divert-to rule; from/ok mikebJason McIntyre
2016-01-04More cleanup and sorting on header sectionmestre
OK tb@ and he also pointed out that for consistency with rest of the tree we should include termios.h instead of sys/ttydefaults.h, where applicable
2016-01-04Record the modified mbuf chain after transmit checksum setup codeMike Belopuhov
Keep the modified chain pointer and pass it back to the calling code so that it will get properly accounted for. Change it to m_pullup since m_pulldown with a zero offset is just as good. Tested by yasuoka@, myself and mxb at alumni ! chalmers ! se, thanks! ok yasuoka, mpi
2016-01-04Bugfix: When errno happens to be EILSEQ upon entry to fgetws(3),Ingo Schwarze
and when the file ends without a terminating Ln character, fgetws(3) discarded any characters read and reported bogus EOF. Never inspect errno(2) unless right after an error occurred! OK millert@
2016-01-04Skip "suspend" device node during probingMike Belopuhov
2016-01-04Include the node name into the error messageMike Belopuhov