summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-25in the clock drivers, seperate the soft-state and hard-state which wasTheo de Raadt
all jumbled up in the same functions. the rtc (mc chip) and clock (i8243) startup was also mixed up. they the soft state and hardware state can be started in the right order, and it is easy to restart just the neccessary parts upon resume. tested in numerous cases: (apic, pic) * (GENERIC.MP, GENERIC) * (mp, non-mp) * (i386, amd64) ok kettenis
2010-07-25^U scrolls backwards, not forwards; from marrob at lavabit comJason McIntyre
2010-07-25Sync to bsd.lv; in particular, pull in lots of bug fixes.Ingo Schwarze
new features: * support the .in macro in man(7) * support minimal PDF output * support .Sm in mdoc(7) HTML output * support .Vb and .nf in man(7) HTML output * complete the mdoc(7) manual bug fixes: * do not let mdoc(7) .Pp produce a newline before/after .Sh; reported by jmc@ * avoid double blank lines related to man(7) .sp and .br * let man(7) .nf and .fi flush the line; reported by jsg@ and naddy@ * let "\ " produce a non-breaking space; reported by deraadt@ * discard \m colour escape sequences; reported by J.C. Roberts * map undefined 1-character-escapes to the literal character itself maintenance: * express mdoc(7) arguments in terms of an enum for additional type-safety * simplify mandoc_special() and a2roffdeco() * use strcspn in term_word() in place of a manual loop * minor optimisations in the -Tps and -Thtml formatting frontends
2010-07-25Missing SCSI_DATA_IN flag in dvd_read_copyright() causedKenneth R Westerback
confusion. Fixes at least my usb DVD reader and The Blue Tick.
2010-07-25Restore previous behaviour of always bzero()'ing the buf passed toKenneth R Westerback
scsi_inquire_vpd(). scsi_inquire_vpd() oddness noted by jsg@ after report of macppc problems by kili@.
2010-07-25When using GCC, we always want GNU inline semantics. Fixes issues withMark Kettenis
-Wsystem-headers and -std=c99, where GCC 4.2 would warn that it couldn't give us C99 inline semantics. ok guenther@, dcoppa@, millert@, deraadt@
2010-07-25syncMarcus Glocker
2010-07-25Add another uvideo(4) device which needs theMarcus Glocker
UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE quirk.
2010-07-25handle portslock. reminded by antoine@Marc Espie
2010-07-25echo behaves differently in sh and csh, only handling C-style escapesPhilip Guenthe
in the former, so switch an example that needs them to use printf instead. From bcr at freebsd.org. ok halex@
2010-07-25Let DVD's play again. Logic reversal prevented copyright reading.Kenneth R Westerback
Symptoms noted by oga@. actual bug spotted by dlg@
2010-07-25oopsMarc Espie
2010-07-24Add a newline to the input we feed to cpp to get rid of its 'no newlinePhilip Guenthe
at end of file' warnings. Simplify the shell quoting to make it easier to read while we're at it "looks allright" beck@
2010-07-24missed a couple indents in previousJacob Meuser
2010-07-24Mention that acpidock(4) sets up a sensor and that it can be used withMichael Knudsen
sensorsd to do actions when docking or undocking. ok jordan
2010-07-24Teach lint about C99's _Bool and _Complex, plus some related gccPhilip Guenthe
extensions: __real__ and __imag__ operators, the use of '~' for complex conjugation, and 'i' or 'j' as a suffix for complex constants. While this doesn't handle folding and overflow detection for complex constants correctly, it's good enough to make it through libm...and found several bugs once it could do so. "no objections" miod@, krw@
2010-07-24Switch hppa64 to timecounters.Mark Kettenis
2010-07-24Restore a needed 'return' removed in the last commit, and stylisticMatthew Dempsky
tweak to eliminate an 'else' clause.
2010-07-24When changing so that the client passes its stdout and stderr as well asNicholas Marriott
stdin up to the server, I forgot one essential point - the tmux server could now be both the producer and consumer. This happens when tmux is run inside tmux, as well as when piping tmux commands together. So, using stdio(3) was a bad idea - if sufficient data was written, this could block in write(2). When that happened and the server was both producer and consumer, it deadlocks. Change to use libevent bufferevents for the client stdin, stdout and stderr instead. This is trivial enough for output but requires a callback mechanism to trigger when stdin is finished. This relies on the underlying polling mechanism for libevent to work with whatever devices to which the user could redirect stdin, stdout or stderr, hence the change to use poll(2) over kqueue(2) for tmux.
2010-07-24Convert PCI addresses to proper 64-bit physical addresses.Mark Kettenis
2010-07-24kqueue(2) is currently broken when used with /dev/null and a few otherNicholas Marriott
devices. An upcoming fix for some problems with the client stdout/stderr handling relies on it working, so make tmux force libevent to use poll(2) via EVENT_NOKQUEUE, until we have fixed kqueue.
2010-07-24Make pmap_extract() work for large pages.Mark Kettenis
2010-07-24Don't sleep while holding the uvm_psel_lck mutex. Should fix "locking againstMark Kettenis
myself" panics that some people have seen over the last year-and-a-half. Cherry picked from a more complex (and therefore scarier) diff from oga@. ok tedu@, oga@
2010-07-24syncTheo de Raadt
2010-07-24move to 4.8-betaTheo de Raadt
2010-07-24Fix PTE_PAGE().Mark Kettenis
2010-07-24One the -> On theMiod Vallat
2010-07-24fix another race. vscsi_cmd checked if the adapter was running atDavid Gwynne
the start and queued the command for processing by userland later. the adapter could stop running between the check and the queue. this merges the state and queue mutexes and combines the check and queue ops in vscsi_cmd into the same critical section. tweaked by and ok matthew@
2010-07-24pass state to Makewhatis. With new hooks in there, that means displayMarc Espie
will integrate with pkg_add output (no more disturbed error messages from wrong subject lines)
2010-07-24add suspend/resume code, modelled along pms. on at least one ASUS laptopTheo de Raadt
(which krw is the lucky owner of) this requires a much bigger hammer. we have to reset it and put it back into the right mode ok krw
2010-07-24Don't declare wcscoll() twicePhilip Guenthe
2010-07-24struct emul's e_arglen member is expected to count in units ofPhilip Guenthe
sizeof(char *), not in bytes, so we've been allocating and copying around four or eight times as many bytes as we needed to ok kettenis@ deraadt@
2010-07-24Get rid of scsi_deinit(), and change scsi_init() back to a one-timeMatthew Dempsky
initialization strategy, rather than pretending to do user reference counting. Previously, we would re-initialize the SCSI pool(9)s, which had the fun consequence of causing sysctl(kern.pool.npools) to infinite loop at IPL_VM. ok krw@
2010-07-24Send normal output to stdout instead of everything to stderr. ThisRay Lai
is currently done in the latest versions of GNU patch. Please watch out for output appearing out-of-order. Discussed with millert and deraadt. OK deraadt
2010-07-24Include pid file name in error message for a failed kill(). Prompted byNicholas Marriott
PR 6288. ok deraadt
2010-07-24mount -f doesn't help mfs, but it doesn't hurt, so stop warning about it.Ted Unangst
ok deraadt
2010-07-24leftover from revert of long agoJacob Meuser
"feel free!" deraadt
2010-07-23Plug mem leak.Ray Lai
OK nicm
2010-07-23Handle redirection to relative url's in the Location: header of httpAlexander Hall
responses. Yes, they are violating the rfc's. Yes they do exist anyway. Also fix a memory leak when url_encode fails to malloc, by simply err'ing out if so. feedback and ok phessler@
2010-07-23smtpd should NOT fatal when it permanently fails a bounce delivery as thisGilles Chehade
can be a normal situation and will allow a local/authenticated user to trigger the fatal on purpose ... ignore permanently failed bounce deliveries since there's not much smtpd can do anyway, that's what the previous queue code did. experienced and reported by pirofti@
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
cvs/rcs. OK xsa zinovik
2010-07-23Don't initialize acpiec pointer in acpi_softc until registration succeedsJordan Hargrave
ok deraadt
2010-07-23Control/data registers were being mapped with swapped io space tagsJordan Hargrave
Fix naming & order of tag to be clear ok deraadt
2010-07-23Block all signals before sending SIGTERM to all non-system processes.Todd C. Miller
This ensures that we reach the call to reboot(2) without being killed by some other process. OK deraadt@ nicm@
2010-07-23bring back changes in uaudio.c r1.83, this time remembering to commitJacob Meuser
uaudioreg.h. sorry about that. sync endpoints allow for the sample clock on USB audio devices to not be synchronized to the USB clock. the sync endpoint gives information on how much data to send to the data endpoint. although devices that require sync endpoints will "work" when the sync endpoint inormation is ignored, there is a possibility of static, echoing, or any other type of clock desync error. requires some small changes to existing code: * tighten up checks for whether a setting needs/supplies a sync endpoint. ignore settings that need a sync endpoint but don't supply one. previously all settings that require a sync endpoint were ignored. * if a sync endpoint is being used, use the same denominator for fractional samples as the sync endpoint uses (2**16). this only implements playback sync endpoints. recording sync endpoints are an odd concept: the driver would control the clock rate of the device. there may be such devices, but I can't even imagine how that could be reliably implemented. I guess you would sync to the USB clock or the system clock ... but then, what's the point?
2010-07-23Fix searchname to handle short name segments, remove hack in acpidock.Jordan Hargrave
2010-07-23Improve English.Ray Lai
Help by jmc, earlier version OK thib krw
2010-07-23AMD amd64 errara are not on the i386 install media, since there is oftenTheo de Raadt
not room. we do place them on the amd64 install media though, since many of them matter more for 64 bit mode.
2010-07-23Change the strategy for using the FPU in the kernel. The kernel FPU stateMark Kettenis
is now shared with all processes/threads. As a result, you can now use the FPU in true process context (instead of just in kernel threads), but you need to make sure you restore the default FPU state before calling fpu_kernel_exit() if you change rounding mode, precision or exception masks. Lots of discussion with thib@ and Mike Belopuhov. ok thib@, deraadt@
2010-07-23Don't leak the contents of the FPU and SSE registers between processes.Mark Kettenis
ok deraadt@