summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-30more refactorMarc Espie
2012-04-30just a bit of refactoring, make sure option handling is done in state,Marc Espie
as should be, so we can reuse it without needing to duplicate all of pkg_create code.
2012-04-30generalise ksh keybinding system - bindings are no longer limited inDamien Miller
length and need not start with ESC or ^X; patch from marco@ feedback mpi@
2012-04-29Add a flag to move-window to renumber the windows in a session (closingNicholas Marriott
any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
2012-04-29punctuation needs to be space separated;Jason McIntyre
2012-04-29Recognize 85230 chips, and take advantage of their FIFOs to reduce theMiod Vallat
amount of TX empty interrupts.
2012-04-29I am not sure what the mess with the wiring of carrier lines on Indigo resolvesMiod Vallat
to, so make this controllable with device flags, and default to non-bogus wiring.
2012-04-29repair src/xsrc handlingMarc Espie
fix it wrt FLAVOR/SUBPACKAGE passing
2012-04-29Use int not u_char for colours from options since they may have bit 8Nicholas Marriott
set to mark them as 256-colour. Reported by Chris Johnson.
2012-04-28Be sure to initialize the `state' member of the softc when attaching theMiod Vallat
console keyboard, otherwise led update commands will never get transmitted. Noticed by sebastia@
2012-04-28Only trust giofb_consid if non-zero.Miod Vallat
2012-04-28Rework the definition of label_t to get it correctly aligned to an 8 byteMiod Vallat
boundary; this makes ddb usable again.
2012-04-28explain why the base pseudo-handle is a dirty hack and why it's lessMarc Espie
confusing than the clean approach
2012-04-28File::Path::rmtree is very stupid and spews out warning messages if there'sMarc Espie
no cwd. Well, if there's no cwd, we don't care about getting back there, so wrap rmtree to just move to / before calling the real rmtree.
2012-04-28document sqlite3;Jason McIntyre
2012-04-28zap blank spacesMarc Espie
2012-04-28work-around the fact that BaseSystem updates have specific dependencyMarc Espie
handling
2012-04-28cleaner code: only wrap the call to quirks itself inside an eval.Marc Espie
anything else that could fail shouldn't be inside the eval. create an object instead of saying "hey we're cool, let's let other stuff break horribly".
2012-04-28add a "fake" handle class for base system updates and ForwardDependenciesMarc Espie
2012-04-28Document (BASE)LOCALSTATEDIR.Antoine Jacoutot
2012-04-28Added yet another magic for my ALPS touchpad.Tobias Stoeckmann
ok mpi@
2012-04-27Sprinkle bus_space_barrier after register writes. 70% paranoia and 30%Miod Vallat
``boots being interrupted while the prom is loading the kernel and then restarted no longer seem to end up with a hosed chip with this diff'' on sgi.
2012-04-27Remove mention of CHMOD and CHOWN variables, no longer used.Jeremy Evans
OK espie@
2012-04-27Fix the `all keys up' event handling logic to only apply to it, and not toMiod Vallat
regular `one key is up' events. Makes the shift, alt, ctrl, etc keys behave as expected after the next keystroke.
2012-04-27The new probe logic would pretend light(4) devices always exist on Indigo;Miod Vallat
fix this by reinstating the actual probe which got removed by mistake in the recent gio probe and console code rework. Found the hard way by sebastia@
2012-04-27Remove reg.h inclusion.Paul Irofti
Missed by miod@ in his previous commit. Now groff should build. Okay miod@.
2012-04-27A message-body should be forwarded for DELETE method too.giovanni
from Florian Obser ok pyr@
2012-04-27use our light-weight OpenBSD::MkTemp, which is safer, more accurate,Marc Espie
and doesn't pull a shitload of other modules with it.
2012-04-27Add a brief comment describing each bogus v4 network that is filtered byPeter Hessler
default, similar to the v6 entries. While here, add a filter for 100.64.0.0/10, which is now reserved by RFC 6598 OK henning@, sthen@
2012-04-26va is of type vaddr_t; allow sparc64 to build with DEBUGOkan Demirmen
ok miod@
2012-04-26Cleanup unp_bind() a little:Matthew Dempsky
- Require sun_family to be set to AF_UNIX (also in unp_connect()) - Ensure internal sockaddr_un's always have their length set to sizeof(struct sockaddr_un) regardless of the user specified length, implicitly extending with NUL characters as necessary. - Normalize sun_path to never contain a non-NUL character after a NUL character. Lack of NUL termination on truncated sockaddrs issue pointed out by Michael Kerrisk on the Austin Group mailing list. ok millert
2012-04-26Document TIOCEXT and cleanup other ioctl descriptions.Matthew Dempsky
ok jmc, nicm
2012-04-26grow the isoTheo de Raadt
2012-04-26syncTheo de Raadt
2012-04-26Drop support from openpty() for 8+ year old kernels that don't supportMatthew Dempsky
/dev/ptm. Users are strongly encouraged to upgrade to a more recent release if they haven't already. ok deraadt
2012-04-26Add strnlen() to libkern.Matthew Dempsky
ok deraadt
2012-04-25Skip cache flushes in pmap_zero_page() and pmap_copy_page() on systemsMiod Vallat
without virtual aliasing, or for pages which are not currently mapped cached. 1+% speed increase on sgi IP27 and loongson kernels. Tested on LS2F, R4400, R5000, R12000 and R16000.
2012-04-25Add a buffer with all input from last ground state, will be used forNicholas Marriott
control mode. From George Nachman.
2012-04-25fix a few warningsEric Faurot
2012-04-25Fix typos, from Michael W. Bombardieri <mb at ii.net>, Thanks!Alexandre Ratchov
2012-04-25later -> latter;Jason McIntyre
2012-04-25Before writing it to disk, warn the user if their new MBR containsMatthew Dempsky
more than one OpenBSD partition. ok deraadt
2012-04-25Use explicit_bzero() for clearing key material.Matthew Dempsky
Pointed out by Michael W. Bombardieri on tech@. ok deraadt
2012-04-24Fix a few inaccuraciesMiod Vallat
2012-04-24Minor tweaks:Miod Vallat
- correctly gather version information. When reading device registers is a two step process (write address, read data), it is a very bad idea to call a wrapper around these two operations (to read register B) between the two operations inline (to read register A). Unless you want to know the version information for your garbage latches, that is. Now Indy 8-bit devices no longer get reported as 24-bit devices, and Indy 24-bit devices no longer get reported as 8-bit devices. (not that it mattered much anyway) - define and use symbolic constants when parsing the video mode settings to figure out the display resolution. This code still itches, but much less now.
2012-04-24Pour even more smarts into the GIO device identification code, to the pointMiod Vallat
that it can now tell ID-less framebuffers apart correctly. Therefore, we can use direct configuration instead of ugly games. Frame buffer drivers match routines now only need to check for the fake ID they receive. Tested on various newport and grtwo setups (including multihead configurations)
2012-04-24Harvest some low-hanging fruit in thu R5k/RM7k cache routines:Miod Vallat
- replace masking with large `power of two minus one' constants with a pair of shifts, this is shorter code and does not require the at register. - merge R5000 and RM52xx setup, as the configuration register layout is the same on both processors. - In Mips5k_IOSyncDCache(), delay building the call frame until we know we will not perform a leaf call. Replace leaf calls with jumps to the appropriate routines. Tested on R5000, RM5271 and RM7000.
2012-04-24Add support for wired mappings, using the last unused bit in the PTE.Miod Vallat
2012-04-24Introduce a #define for the number of PFN bits in a pte, to be used in theMiod Vallat
.S code when masking the upper bits, instead of hardcoding them. Makes code easier to understand (and also I might have a need to reduce PFN width on some particular CPU models in the future). No change in generated code.
2012-04-24In sosend() for AF_UNIX control message sending, correctly calculateTheo de Raadt
the size (internalized ones can be larger on some architectures) for fitting into the socket. Avoid getting confused by sb_hiwat as well. This fixes a variety of issues where sendmsg() would fail to deliver a fd set or fail to wait; even leading to file leakage. Worked on this with claudio for about a week...