summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-23the SAT spec from t10.org defines messages for tunnelling ATA commands overDavid Gwynne
SCSI when you're talking to a scsi to ata translation layer (satl). this implements the ata command ioctl handler in scsi_ioctl.c that wraps the ata command requests up in these scsi commands and then issues them against the hardware. this cuts atascsi over to interpreting these scsi commands rather than the ioctls directly. this should allow mpi users (with a relatively recent firmware) to use atactl against their SATA disks. i cant test cos my mpi(4) parts are too old to either support these scsi commands or too old to take recent firmwares. ok marco@ @krw tested by krw@ and me on ahci/atascsi
2010-04-23Update test to also check that .Xr without args is ignored.Ingo Schwarze
Related to mdoc_validate.c 1.47.
2010-04-23Check handling of tab characters.Ingo Schwarze
Related to term.c 1.30, mdoc_term.c 1.75.
2010-04-23Do not run the tests with -fstrict -Wall by default.Ingo Schwarze
I want to test some features that -fstrict does not allow. And as long as i do not test for specific error messages, having -Wall on by default just causes useless noise.
2010-04-23Handle literal tab characters both in literal context (.Bd -literal)Ingo Schwarze
and outside. In literal context, tab stops are at each eigth column; outside, they are at each fifth column. Use tabwidth = 5 as the default and temporarily switch to 8 in termp_bd_pre(). This requires to move the term_flushln() of the final line of a display from termp_bd_post() to termp_bd_pre(); the former still needs term_newln() to handle the final lines of non-literal displays. Handling inside term_flushln() is tricky because a tab collapses with inter-word spacing, but not with another tab. Missing feature reported independently by jmc@ and deraadt@.
2010-04-22Fix a segfault reported by nicm@, introduced in rev. 1.38.Ingo Schwarze
When finding a blank line, trying to parse it is a bad idea. Instead, after adding .Pp to the AST, just return from parsetext().
2010-04-22Don't include sysctl.h, and remove an unused struct from the softc.Stuart Henderson
ok deraadt@
2010-04-22De-inline atomic_setbits_int and atomic_clearbits_int, on arm these functionsDale Rahn
are emulated by disabling interrupts which requires a lot more header files than a simple atomic operation should be need. ok deraadt@
2010-04-22Whitespace cleanup on generated asm code, so it is readable.Dale Rahn
2010-04-22Remove unused sysctl.h include. Inspired by claudio's commit the other day.Michael Knudsen
ok sthen
2010-04-22syncTheo de Raadt
2010-04-22Committing on behalf or ariane@.Owain Ainsworth
recommit pmemrange: physmem allocator: change the view of free memory from single free pages to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Useable now that bugs have been found and fixed in most architecture's pmap.c ok by everyone who has done a pmap or uvm commit in the last year.
2010-04-22zap trailing whitespace;Jason McIntyre
2010-04-22Allow multiple users to share the same aucat server. If aucat isAlexandre Ratchov
run by root, it binds a shared address to the socket, cranks the process priority and drops privileges. sio_open(3) will try to connect to the private socket first (if any), then to the shared socket. Only one user may have connections to aucat at a given time. based on discussions with henning, pyr and others ok jacek, deraadt
2010-04-22tweak previous; ok nicmJason McIntyre
2010-04-22- sort the keyword listJason McIntyre
- rewrite the description of "size" ok gilles jacekm
2010-04-22Fix a case of runner trying to send imsg directly to smtp process insteadJacek Masiulaniec
of forwarding it via queue.
2010-04-22use BUS_DMA_ZERO on alloc instead of bzeroing after.Owain Ainsworth
ok dlg@, marco@
2010-04-22- kill the runner_imsg_compose wrapper to reduce indirectionJacek Masiulaniec
- kill noisy log_debug
2010-04-22Including bgpd.h in mrt.h is dumb.Claudio Jeker
2010-04-22Depending on capa.neg.as4byte (bgp session is using 4-byte AS numberClaudio Jeker
extension) we need to switch between _AS4 and non _AS4 types. The non _AS4 mrt types are totaly confused by 4-byte AS_PATH attributes since they expect 2-byte ones (and vice versa). Problem found and fix tested by Xiaoliang Zhao (xzhao at cernet edu cn).
2010-04-22Correct the BGP4MP subtypes according to draft-ietf-grow-mrt-11.Claudio Jeker
The _AS4 types where reversed and the local types are missing even though I'm not sure if bgpd will ever support them.
2010-04-22Whoops, EVUTIL_SET_SOCKET_ERROR went missing.Nicholas Marriott
2010-04-22- remove ptei(), which was verified to be unused.Jasper Lievisse Adriaanse
ok miod@
2010-04-22Unbreak build of MPLS enabled kernel. proc.h is needed.Michele Marchetto
ok claudio@
2010-04-22Fix cut 'n paste typoMarco Peereboom
2010-04-22cut atascsi over to providing and using iopools. this gets rid of NO_CCBDavid Gwynne
and makes the ioctl path more reliable on busy disks by allowing it to sleep in the runqueue for an io to use. mk@ did the original diff and figured most of the problems out. ok mk@
2010-04-21Provide nmea(4) position information using the new angle sensor type.Stuart Henderson
Use SENSOR_FINVALID until we have good data, suggested by deraadt@ "i am happy" deraadt@
2010-04-21let this compile on RAMDISKS, which have no ioctlTheo de Raadt
2010-04-21syncTheo de Raadt
2010-04-21introduce first map parser for maps of kind K_SECRETS !Gilles Chehade
map_parse_secret() converts a map value into a struct map_secret. lka no longer needs to do any parsing, it simply calls map_lookup() with kind K_SECRETS, checks if it returned a !NULL value, and call lka_encode_secret to safely do the base64 encoding.
2010-04-21Mark zombie windows as dead in choose-window list, from Romain Francoise.Nicholas Marriott
2010-04-21when creating a map, make sure we do not store a key/val separator at theGilles Chehade
beginning of the key (ie: "gilles: bleh" should not be stored as key[gilles] val[ bleh])
2010-04-21Rewrite key string conversions to be readable and to work properly forNicholas Marriott
multiple modifiers.
2010-04-21Directly comparing pcitag_t's doesn't work on all platforms so decompose theMark Kettenis
tag and compare the individual components.
2010-04-21sys/sysctl.h is not needed here. OK deraadt@Claudio Jeker
2010-04-21map.c is growing big, split it into three different files:Gilles Chehade
map.c contains the map API calls as usable by smtpd processes, map_backend.c contains backend implementations and map_parser.c contains parser implementations used internally by the map API
2010-04-21Clean up the awful _EVENT_* poo in the libevent headers, and don'tNicholas Marriott
install event-config.h. Pointed out by deraadt.
2010-04-21my evbuffer_readln_crlf() hack can be killed now that nicm@ has brought usGilles Chehade
an update to libevent that ships with evbuffer_readln(). beers for nicm@ !
2010-04-21change prototypes for map_*_get() functions, we need the get-er functionGilles Chehade
to fill the size of value for the caller. have map_lookup() actually lookup the parser in map_parsers table and call it if it is set, otherwise return raw value which is similar to current behavior. currently, no map kind has a parser set, so this is essentially no functionnal change. fix map_stdio_get(), it was not used yet in -current but i spotted a bug while enabling it in my sandbox. it returns key and value instead of key.
2010-04-21Update libevent to 1.4.13.Nicholas Marriott
This is the core library only, the DNS parts are removed and it does not include the other extra bits (HTTP, DNS, and RPC), a separate port for these will appear in due course. Thanks to jsg, sthen, alek, gilles, jacekm, bernd and any others I've forgotten for testing/comments. Note that /usr/include/evdns.h should be removed after updating. ok deraadt
2010-04-21map_lookup() takes an additionnal parameter of type enum map_kind whichGilles Chehade
will be used to select the appropriate map parser. make sure every call to map_lookup() is updated. map_lookup() currently ignores the value.
2010-04-21introduce enum map_kind, the map_parsers array and map_parser_lookup()Gilles Chehade
which will be used to perform stronger checks on map values. they are unused yet ...
2010-04-21scale angle by 1000000 to permit min.sec accuracyTheo de Raadt
2010-04-21simplify map_lookup() by having the backend lookup done in newGilles Chehade
map_backend_lookup() function, no functionnal change, first of many changes to come in map.c
2010-04-21More reworking of interrupt handling and VME support, and rename variousMiod Vallat
board-specific defines to prevent any risk of collision. This also adds clock support for AV530 family, and timecounter support (cio code sync'ed with mvme88k). And various bugs fixed in the process. This is enough to get models 4600 and 530 to run multiuser with a Hawk Ethernet VME card (the onboard Ethernet is not supported yet, coming soon). There is no way to share a disk with DG/UX yet, the kernel (and fdisk(8)) needs to become aware of its ways.
2010-04-21First stab at a VGA arbiter. The VGA arbiter makes sure that only a singleMark Kettenis
VGA device can be active, and is responsible for routing IO to the active VGA device. Processes can use the new PCIOC_GETVGA and PCIOC_SETVGA ioctls to manipulate the VGA arbiter. ok deraadt@, oga@
2010-04-21Runner process is just a helper for queue, so tear down its imsgJacek Masiulaniec
channels to parent, mda, mta, lka, smtp, and control. This leaves just the channel to queue, which forwards imsgs on runner's behalf and redirects any replies back to it. OK gilles@
2010-04-21Fix pathetic performance when submitting large mails via /usr/sbin/sendmail,Jacek Masiulaniec
caused by realloc() abuse.
2010-04-21Fix validation of div by constant; from Guy Harris; ok deraadt@ miod@Otto Moerbeek