summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-30Fold struct dpme into struct entry. Same reasons as for foldingKenneth R Westerback
struct block0 into struct partition_map. Easier to read code.
2016-01-30Refactor add_partition_to_map() to be simpler if perhaps lessKenneth R Westerback
performance optimized. New logic will simplify merging struct dpme into struct entry.
2016-01-30There is not much to do if we run out of memory, so simply exit ifKenneth R Westerback
a malloc() or calloc() fails. Simplifies a bunch of logic, makes add_data_to_map() always succeed or exit, so make it a void.
2016-01-30Fourth step in synching with NetBSD:Ingo Schwarze
KNF: Remove parentheses from return lines. No object change. This makes emacs.c and prompt.c identical to the NetBSD versions. It reduces the remaining diff from +2053 -1261 to +1526 -734. OK czarkoff@
2016-01-30Explain how to run multiple copies of the same daemon;Ingo Schwarze
triggered by a frequently asked question by Paolo Aglialoro on misc@; using snmpd(8) on inet6(4) as an example suggested by sthen@; tweaks and OK ajacoutot@.
2016-01-30redo sthen's idea deeper in pkg_add, so that *every* url can be abbreviatedMarc Espie
the same way (e.g., PKG_PATH=ftp.openbsd.org will work) okay sthen@
2016-01-30ping, ping6: corrects -E (audible beep when no packet is received before theSebastien Marie
next packet is transmitted) regression with help and ok florian@
2016-01-30delete "#ifdef notdef" code that is no longer present in NetBSD;Ingo Schwarze
no change in the generated source files
2016-01-30regenJonathan Gray
2016-01-30correct the string for 82801HBM RAIDJonathan Gray
2016-01-30Third step in synching with NetBSD:Ingo Schwarze
* rename fkey_t to funckey_t and el_term_t to el_terminal_t * rename struct editline member el_term to el_terminal * rename many functions in terminal.c from term_*() to terminal_*(), for consistency with the file name and to not look related to <term.h> No functional change. This makes refresh.c and sig.c almost identical to the NetBSD versions. It reduces the remaining diff from +2446 -1805 to +2053 -1420. OK czarkoff@
2016-01-29whitespace fixes; ok ajacoutotJason McIntyre
2016-01-29Remove leftover roaming dead code. ok djm markus.Darren Tucker
2016-01-29Fold struct block0 into struct partition map. There can be only oneKenneth R Westerback
and read/write_block0() can move the data from/to disk to/from appropriate fields anywhere. Removes a bunch of dereferencing, malloc'ing and pointer checking.
2016-01-29Remove code that has been disabled for almost 20 years:tb
No need for bauds structure, since handled by cfsetspeed. From Chris Bennett, thanks! ok millert@
2016-01-29Add do_dump_map() to make command processing more consistent. PassKenneth R Westerback
1/0 (a.k.a. vverbose/not verbose) do do_dump_map() to differentiate P/p.
2016-01-29Use apmd instead of ntpd in the example since the later is on by default.Antoine Jacoutot
2016-01-29Second step in synching with NetBSD:Ingo Schwarze
* Rename some types from *key*_t to *keymacro*_t. * Rename struct editline member el_key to el_keymacro. * Rename some functions in keymacro.c from key*() to keymacro*(). This removes the conflict of key_clear(), key_end(), and key_print() with macros in <term.h>. No functional change. This makes keymacro.h identical to the NetBSD version. It reduces the remaining diff from +2640 -1998 to +2446 -1805. OK czarkoff@
2016-01-29Add support for "control/shutdown" power management facilityMike Belopuhov
At the moment only "poweroff" and "reboot" actions are supported. Suspend/resume requires additional changes.
2016-01-29Add support for XS_WATCH: XenStore notification facilityMike Belopuhov
After configuring a watch for the node, XenStore will asynchronously notify the system when the value of the specified node changes with an event message.
2016-01-29Cleanup XenStore APIMike Belopuhov
Turns out that we want to let devices choose whether they're issuing XenStore requests to the backend or frontend. This also unifies the the API somewhat as providing the xen softcore structure is now mandatory.
2016-01-29Base 10 should be enough for anybody! Allowing hex and octal numberKenneth R Westerback
input for partition id's, partition starting points and partition sizes is silly, especially since we never display anything but base 10 numbers. Also ensure that numbers end with a space, tab or newline.
2016-01-29Warn of partitions extending past the end of the media.Kenneth R Westerback
2016-01-29Start synching with NetBSD:Ingo Schwarze
Rename the files key.[hc] to keymacro.[hc] and term.[hc] to terminal.[hc]. The change makes sense because "term.h" conflicts with <term.h> and the functions key_clear(), key_end(), and key_print() in "key.h" conflict with macros in <term.h>. No content change yet, no binary change in *.o after "strip -d". This reduces the remaining diff from +4634 -3992 to +2640 -1998. OK czarkoff@, and mmcc@ agrees with the direction.
2016-01-29Tweak printing of partitions. Always show the pblock info in theKenneth R Westerback
'p' command output. And always show the lblock info in the 'P' command. Showing sometimes one and sometimes another with a subtle extra character to indicate which is being shown is error prone.
2016-01-29use hid_desc fields since we have them, instead of manual offsetsJoshua Stein
into hid_desc_buf tested by jsg
2016-01-29Check that byte order is native only if we're using more than oneAlexandre Ratchov
byte per sample, check that samples are lsb-aligned only if there's padding. Fixes unsupported parameters not being detected if compiled in 24-bit mode and sndiod is not running.
2016-01-29sort includesmmcc
from Michael Reed
2016-01-29remove unneeded CHAR_BIT macrommcc
from Michael Reed
2016-01-29Move the AUDIO_GETDEV ioctl in its own routine.Alexandre Ratchov
2016-01-29Shorter names means a few whitespace adjustments.Kenneth R Westerback
2016-01-29Rename struct partition_map_header to struct partition_map. No change toKenneth R Westerback
.o files.
2016-01-29Rename struct partition_map to struct entry. No change to .o files.Kenneth R Westerback
2016-01-29Conform to Apple Mac OS X's behaviour of setting dpme_flags on freeKenneth R Westerback
partitions to 0, and setting them to VALID | ALLOCATED on the map partition.
2016-01-29remove unused fieldEric Faurot
2016-01-29Conform to Apple Mac OS X's behaviour of not giving 'Apple_Free'Kenneth R Westerback
partitions a name. Nuke kFreeName.
2016-01-29Therefor -> Therefore (where appropriate)tb
from ray@, ok jmc@
2016-01-29Support for RGB colour, using the extended cell mechanism to avoidNicholas Marriott
wasting unnecessary space. The 'Tc' flag must be set in the external TERM entry (using terminal-overrides or a custom terminfo entry), if not tmux will map to the closest of the 256 or 16 colour palettes. Mostly from Suraj N Kurapati, based on a diff originally by someone else.
2004-04-07import openssl-0.9.7dMarkus Friedl
2016-01-29Simplify code: hasrun is confusing and useless. There is no wayEric Faurot
filter_drain_query() can be called when the ->current filter is still running the query. Just make sure we move forward after having received the response from the current filter. ok gilles@
2016-01-29We're not allowed to change audio parameters while the device isAlexandre Ratchov
in use by another program. Explain that and remove wrong example.
2016-01-29Display play and record parameters that are not independentAlexandre Ratchov
as a single variable (this corresponds to the way the audio driver handles them). As we're at it, drop unused/duplicate parameters. ok mpi
2016-01-29Remove the query queueing mechanism. It's useless since pipelining isEric Faurot
not supported anyway. ok sunil@ gilles@
2016-01-29include packet type of non-data packets in debug3 output;Damien Miller
ok markus dtucker
2016-01-29Add regression test for RekeyLimit parsing of >32bit values (4G and 8G).Darren Tucker
2016-01-29remove superfluous macrommcc
ok nicm
2016-01-29Revert "account for packets buffered but not yet processed" change as itDarren Tucker
breaks for very small RekeyLimit values due to continuous rekeying. ok djm@
2016-01-29syncJonathan Gray
2016-01-29install the relayd mibJonathan Gray
ok blambert@
2016-01-29Allow RekeyLimits in excess of 4G up to 2**63 bits (limited by the returnDarren Tucker
type of scan_scaled). Part of bz#2521, ok djm.