summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-29Remove code that has been disabled for almost 20 years:tb1-39/+1
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. Passkrw1-3/+12
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.ajacoutot1-9/+10
2016-01-29Second step in synching with NetBSD:schwarze9-212/+213
* 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 facilitymikeb2-3/+57
At the moment only "poweroff" and "reboot" actions are supported. Suspend/resume requires additional changes.
2016-01-29Add support for XS_WATCH: XenStore notification facilitymikeb4-34/+150
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 APImikeb4-64/+78
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 numberkrw1-37/+21
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.krw1-1/+7
2016-01-29Start synching with NetBSD:schwarze6-17/+17
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 thekrw1-25/+7
'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 offsetsjcs1-34/+23
into hid_desc_buf tested by jsg
2016-01-29Check that byte order is native only if we're using more than oneratchov1-2/+2
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 includesmmcc1-8/+7
from Michael Reed
2016-01-29remove unneeded CHAR_BIT macrommcc1-4/+0
from Michael Reed
2016-01-29Move the AUDIO_GETDEV ioctl in its own routine.ratchov1-6/+12
2016-01-29Shorter names means a few whitespace adjustments.krw3-23/+18
2016-01-29Rename struct partition_map_header to struct partition_map. No change tokrw5-92/+92
.o files.
2016-01-29Rename struct partition_map to struct entry. No change to .o files.krw3-61/+61
2016-01-29Conform to Apple Mac OS X's behaviour of setting dpme_flags on freekrw1-9/+9
partitions to 0, and setting them to VALID | ALLOCATED on the map partition.
2016-01-29remove unused fielderic1-4/+1
2016-01-29Conform to Apple Mac OS X's behaviour of not giving 'Apple_Free'krw1-8/+2
partitions a name. Nuke kFreeName.
2016-01-29Therefor -> Therefore (where appropriate)tb6-10/+10
from ray@, ok jmc@
2016-01-29Support for RGB colour, using the extended cell mechanism to avoidnicm6-62/+216
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.
2016-01-29Simplify code: hasrun is confusing and useless. There is no wayeric1-11/+3
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 isratchov1-15/+5
in use by another program. Explain that and remove wrong example.
2016-01-29Display play and record parameters that are not independentratchov1-22/+26
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 iseric1-29/+2
not supported anyway. ok sunil@ gilles@
2016-01-29include packet type of non-data packets in debug3 output;djm1-2/+19
ok markus dtucker
2016-01-29Add regression test for RekeyLimit parsing of >32bit values (4G and 8G).dtucker1-2/+4
2016-01-29remove superfluous macrommcc2-2/+1
ok nicm
2016-01-29Revert "account for packets buffered but not yet processed" change as itdtucker1-8/+3
breaks for very small RekeyLimit values due to continuous rekeying. ok djm@
2016-01-29syncjsg1-0/+1
2016-01-29install the relayd mibjsg1-1/+2
ok blambert@
2016-01-29Allow RekeyLimits in excess of 4G up to 2**63 bits (limited by the returndtucker5-27/+22
type of scan_scaled). Part of bz#2521, ok djm.
2016-01-29Account for packets buffered but not yet processed when computing whether ordtucker1-3/+8
not it is time to perform rekeying. bz#2521, based loosely on a patch from olo at fb.com, ok djm@
2016-01-29Fix err.h uses, reporting errno when available and simplifying errormmcc1-13/+13
messages. Partially from Michael Reed.
2016-01-29Move a pool_put() to avoid a use after free.jsg1-3/+2
ok mlarkin@ stefan@
2016-01-28sigsuspend is section 2, not 3.jmc1-2/+2
2016-01-28Flip base_order to a LIST().krw2-62/+41
2016-01-28Delete a bunch of Morris dancing in delete_partition_from_map().krw1-27/+16
No need to create a new dpme. Just rename/retype the existing and let combine_entry() suck in any surrounding empty space partitions.
2016-01-28Fix a crash when a server sends a non-standard newline ("\n" instead of "\r\n").martijn1-2/+4
Present since ssl support was initially added in OpenBSD 4.0 Found by sthen@ via github downtime OK sthen@
2016-01-28Hand rolled lists suck. First, replace disk_order with an LIST.krw4-80/+43
2016-01-28Oops. Deleted one too many lines. Need to advance pointer when traversingkrw1-1/+2
list.
2016-01-28Convert to uiomove. Diff from Martin Natano.stefan2-7/+7
2016-01-28malloc(3) returns a pointer, so check against NULL, not 0. (No functional change)gsoares3-7/+7
OK millert@
2016-01-28When adding a new partition to the map, use only existing mappedkrw1-47/+2
space. Don't try to create new free space partitions to use. If the map does not know about all of the space on the disk, it is broken.
2016-01-28The CSRG declared alarm(3) obsolete 30 years ago (before 4.2BSD),schwarze2-12/+7
but it is likely to remain in POSIX for the forseeable future, and there is nothing wrong with using it, so remove the marker. By contrast, POSIX 2008 now declared setitimer(3) obsolescent. While here, remove a few cross references pointing to obsolete or non-standard functions and update the POSIX reference. Triggered by a question from <ChrisBennett at bennettconstruction dot us>. OK millert@ tb@
2016-01-28Document the new daemon status check.schwarze1-2/+7
2016-01-28Run "rcctl ls faulty", which is silent when all services work as expected.schwarze1-1/+4
Based on an original idea and a different patch from landry@. OK jung@ zhuk@ landry@ krw@ agreed to the general idea