summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-19use simple linear interpolation in the resampling code.Alexandre Ratchov
This partially removes the ``metallic'' noise audible especially when upsampling 8k -> 44.1k.
2008-12-19- fatal() if flock() has failed for any reason that's not EWOULDBLOCK, thisGilles Chehade
is not supposed to happen but better safe than sorry. suggested by jacekm@ - while at it, remove the locking of delivery file we create when doing a Maildir delivery. the purpose of Maildir is to prevent the need for locking in the first place ... I must have been tired that day.
2008-12-19- smtpd handled mbox locking failures as "regular" temporary failures whichGilles Chehade
is not good at all. As a result, under heavy load messages would be kept in queue, and delayed for hours just because we failed locking a few times. This commit makes smtpd distinguish between lock fails and "regular" temporary fails. - delivery scheduler will reschedule immediately a message that couldn't be delivered because of a lock fail. If we fail to lock too many times we fallback to previous "delay increase" logic. "looks sane" jacekm@
2008-12-18Introduce safe_fclose, which tries to push file to the disk asJacek Masiulaniec
quickly as possible; it fails under temporary error conditions, letting caller react appropriately. ok gilles@
2008-12-18Declarations for functions used only in smtp_session.c were movedJacek Masiulaniec
to that file from smtpd.h. ok gilles@
2008-12-18Check fwrite return code at DATA stage.Jacek Masiulaniec
Add basic line length checking, as required by rfc. It is no longer required to disable EV_READ upon evbuffer_readline failure. ok gilles@
2008-12-18ddb.log is enabled by default, so use "unless disabled" ratherStuart Henderson
than "if enabled". ok jmc@
2008-12-18- condition lists is wrongly described, unbreak the following syntax:Gilles Chehade
"accept for { domain "foo", domain "bar" } ..." From Nicholas Mariott <nicholas.marriott@gmail.com>
2008-12-18Print the interface livelocks if non-zero. From deraadt@Can Erkin Acar
2008-12-18Instead of directly applying ntoh*() to fields of the capturedHans-Joerg Hoexer
packet and thus modifying it use local varialbes instead. Otherwise, hexdumping packets shows corrupted data. ok markus@ some time ago
2008-12-18Remove redundant function prototypes which are already in pfvar.hDavid Hill
ok henning@
2008-12-18Don't err() on blank lines.Jacek Masiulaniec
ok gilles@
2008-12-18Cleanup /incoming before handling each MAIL FROM.Jacek Masiulaniec
Improve cleanup condition to cover more cases. ok gilles@
2008-12-18Don't set the global bit PG_G for kernel pmap low memory mappings.Kurt Miller
ok deraadt@
2008-12-18Don't set the global bit PG_G for kernel pmap low memory mappings. Use aKurt Miller
new function pmap_prealloc_lowmem_ptp() to setup kernel pmap ptp 0 without the PG_G bit set. This fixes the remaining reaper -> pmap_page_remove panics. With much diagnostic help from Art and Theo. ok deraadt@
2008-12-18use atomic operations to update ptes in pmap_unwire(). okay weingart@Kurt Miller
2008-12-18Add pthread_attr_[sg]etguardsize() to match rthread, including manpagesPhilip Guenthe
Bump lib minor ok otto@ kurt@ marc@; doc review by jmc@
2008-12-18syncTheo de Raadt
2008-12-17Warn if empty map is being created; this catches at least usageJacek Masiulaniec
error such as "makemap foo.db". ok gilles@
2008-12-17Merge newaliases into makemap.Jacek Masiulaniec
ok gilles@
2008-12-17typoMiod Vallat
2008-12-17Make the code that picks an IRQ from the list of possible IRQs a bit smarterMark Kettenis
by avoiding legacy IRQs if possible. Fixes problems (some, not all) with machines that advertise legacy IRQs as usable even if they have ISA devices onboard that need those IRQs. ok marco@
2008-12-17add some newly created stats that are defined in ieee80211_ioctl.hjoshua stein
but not shown here update some descriptions to show that they are for wpa as well as wep input from and ok damien@
2008-12-17Introduce /purge, where all msgs scheduled for deletion are put byJacek Masiulaniec
queue, and removed from disk by runner. On startup, clean /incoming by moving msgs within it to /purge. ok gilles@
2008-12-17- Extend our quirk device table by a flags field.Marcus Glocker
- Add Apple iSight first revision device to the quirk table for future code. - Fix some logic in the device matching function. OK deraadt@
2008-12-17sort;Jason McIntyre
2008-12-17Add a workaround for some crazyness that happens if a cloning route has aClaudio Jeker
low priority gateway route below itself plus a carp interface on the same network. The result is that some arp entries can't be added. This is a bandaid that will give me time to figure out the real bug.
2008-12-17Add support for demotion counter.Michele Marchetto
When interfaces go up/down the demotion counter of the specified group is decreased/increased. ok henning@
2008-12-17change the name displayed by the c-mode on the mode line to "c",Igor Sobrado
as other modes do, for consistency and to save a few chars. written with help from kjell@ ok kjell@
2008-12-17sort CFLAGS, SRCS and the list of compile-time options; while here,Igor Sobrado
add some missing full stops. ok kjell@
2008-12-17stop using stderr in the library, wrap all diagnostic fprintfsAlexandre Ratchov
so they are visible only when the DEBUG macro is #defined and SIO_DEBUG env. variable is set. requested by many, discussed with jakemsr
2008-12-17Document ENOBUFS for writev(2).Ray Lai
Okay claudio, deraadt.
2008-12-17more on editors; ok ajacoutotJason McIntyre
2008-12-17tweak previous;Jason McIntyre
2008-12-17Backout anonymous union fix, since it breaks V4L ports. we try to fixMarcus Glocker
this upstream instead. OK deraadt@
2008-12-17Rewrite the 'mbuf' page to display mbuf usage information from system poolsCan Erkin Acar
and mbuf cluster statistics collected for each interface. More useful than earlier bar graphs about mbuf types. Requested by and ok deraadt@
2008-12-17fix spell errors, from Thomas Pfaff <tpfaff(at)tp76.info>, thanks!Alexandre Ratchov
2008-12-17add a writable ``appbufsz'' field to the sa_par structure, containingAlexandre Ratchov
the program-part of the buffer size, ie the part that is subject to underruns. Useful for apps like cdio(1) that don't have their own rings, or to apps that have a minimum ring size constraint. Setting the ``bufsz'' parameter becomes deprecated. ok jakemsr
2008-12-16Make the "machine xir" ddb command work on machines with TomatilloMark Kettenis
schizo(4) variants.
2008-12-16- make it possible to edit a merged file using an external editor ;Antoine Jacoutot
useful when 'sdiff eb' does not cope with one's needs. idea and input from weerd@ ok weerd@ sthen@
2008-12-16when searching for an endpoint, return the correct abuf pointers.Alexandre Ratchov
Fixes the volume knob not working when the input chain has more than two aprocs
2008-12-16reorder so that web certificates are more obvious.Marc Espie
Avoid the classical noob problem: read half the manpage, figure out how to build a DSA certificate, then realize it's not what you need. historically, RSA was patented, and so it made sense to put DSA first. But the patent expired a few years ago... okay millert@, jmc@
2008-12-16Use macros from route.h when mapping route priorities to names; theStuart Henderson
hardcoded values used here before were incorrect. ok claudio@
2008-12-16Move the functionality of psignal() to a new function ptsignal()Philip Guenthe
that takes an additional argument "type" that indicates whether the signal is for the process, just a particular thread, or propagated to a thread because it's not caught or blocked. psignal() becomes a wrapper that does the first of those. So that sys_kill() can tell apart signals for the process and signals for the process's original thread, the tid of the original thread is defined as its pid + THREAD_PID_OFFSET. ok tedu@ art@ andreas@ kurt@ "better early than late" deraadt@
2008-12-16strptime() never sets tm_isdst, so set it to -1 before passing thePhilip Guenthe
struct tm to mktime() so that the calculation will follow the local DST rules ok millert@ otto@
2008-12-15Make the "machine xir" ddb command work on machines with uperf(4) on sbus(4).Mark Kettenis
2008-12-15Make the "machine xir" ddb command work on machines with uperf(4) on ebus(4).Mark Kettenis
2008-12-15Let tty subsystem know when transmit is finished so ioctls do not hang.Dale Rahn
2008-12-15Unbreak netstat, reflecting kernel changes.Michele Marchetto
Now it shows MPLS informations correctly. OK claudio@
2008-12-15work around tree breakage by mpls peopleTheo de Raadt