summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-21a little rearranging:Jacob Meuser
- move the azalia_widget_init_connection call from azalia_widget_label_widgets to just after azalia_widget_init - move azalia_widget_label_widgets to after dacgroup initialization - move the widget info printing from azalia_widget_init_connection and azalia_widget_init to new function azalia_widget_dump_info - call azalia_widget_dump_info right after azalia_widget_init_connection - in functions that are ony used if AZALIA_DEBUG is defined, use printf instead of DPRINTF()
2008-12-21add mixer_class member to struct widget_t, and define the mixerJacob Meuser
classes in azalia.h instead of azalia_codec.c. this will allow the mixer class to be determined outside of azalia_generic_mixer_init.
2008-12-21add function azalia_widget_sole_conn, which determines if theJacob Meuser
given widget is the sole connection to an ADC, DAC or pin complex. not used just yet.
2008-12-21on i386 and amd64, let ctrl-alt-delete let you enter ddb if ddb.console=1David Gwynne
and machdep.kbdreset=2. "i like it" deraadt@
2008-12-21Make the "machine xir" ddb command work on machines with pyro(4).Mark Kettenis
tested by deraadt@
2008-12-21fix session flags resetting; ok gilles@Jacek Masiulaniec
2008-12-21just attach cpu0, not cpu*, ok kettenisTheo de Raadt
2008-12-21- missing prototype + smtp.c was misusing session_auth_pickup()Gilles Chehade
- unlike starttls, ssmtp sets the F_SECURE flag on session before helo/ehlo handlers are called. this means that if we clear all flags in helo/ helo handlers, we prevent smtpd from advertising AUTH as it will do so only for F_SECURE sessions. This commits unbreaks SMTP AUTH with smtp sessions. Problem spotted by James Turner <james@bsdgroup.org>
2008-12-21Change the way we include mpbios code to be similar to what we do on i386.Mark Kettenis
ok deraadt@
2008-12-21Undo m_defrag().Damien Bergamini
m_defrag() does not work. It seems to assume that if the length of the mbuf passed as parameter is less than MHLEN, then it is an mbuf header and not a cluster (or something like that.) It thus fails miserably in the bcopy path. I don't have the time to investigate further into this. Thanks to Okan Demirmen for reporting the issue on a ral(4) RT2560. The RT2560 chipset does not support TX scatter and thus m_defrag() was called much more often than in other drivers using m_defrag() where it was less noticeable.
2008-12-21fix example comparison function to work with large ranges of numbers. ok ↵Ted Unangst
djm otto
2008-12-21remove mixer bits from the audio(4) backend of libsndio, it's notAlexandre Ratchov
possible to get them right in the current state of the mixer. discussed with jakemsr
2008-12-21Add more compile time checking; fix warnings reported by gcc.Jacek Masiulaniec
From: Nicholas Marriott <nicholas.marriott@gmail.com>
2008-12-21Add more compile time checking; fix one warning reported by gcc.Jacek Masiulaniec
From: Nicholas Marriott <nicholas.marriott@gmail.com>
2008-12-21fix more spelling errors and typos,Alexandre Ratchov
from Thomas Pfaff <tpfaff(at)@tp76.info>, thanks
2008-12-21Teach the header files not to bail out if pcc is used instead of gcc.Anders Magnusson
Ok deraadt@.
2008-12-21- AUTH PLAIN may receive credentials as a parameter to AUTH or on aGilles Chehade
following line, this commit brings support for the latter which was not supported yet. - AUTH LOGIN is now supported, allowing smtp auth support on clients that do not support AUTH PLAIN (ie: my mobile phone for instance ;)
2008-12-20Add man page for wcstol and friends.Mark Kettenis
ok jmc@
2008-12-20protect mbstat with spl; ok claudio mikebTheo de Raadt
2008-12-20- various improvements from Ingo Schwarze;Jason McIntyre
- remove non-functional -v option from docs/usage() feedback/ok millert otto
2008-12-20- update smtpd.conf to provide an example of an auth enabled listenerGilles Chehade
- update smtpd.conf.5 just to provide an example, a better description of "enable auth" will come when im done implementing it ;)
2008-12-20- import first bricks of SMTP AUTH support. currently only AUTH PLAIN isGilles Chehade
supported, AUTH LOGIN will follow soon. AUTH will only work if a listen directive has "enable auth" keywords, AND session is safe (ssmtp or starttls).
2008-12-19Sync some bits with sudo 1.7.0 final.Todd C. Miller
2008-12-19Add missing #ifdef DDB around prototyupe.Mark Kettenis
2008-12-19document the default localpref, from discussion withHenning Brauer
Mick Hohmann <mick at IM dot net>
2008-12-19On many systems the information returned by _PRT is an absolute lie, especiallyMark Kettenis
in the PIC case. So if _CRS returns a plausible value, go with that, and only chose an interrupt from the list returned by _PRT if the value returned by _CRS makes no sense.
2008-12-19fix IF-MIB element and implementation ifInUnknownErrors -> ifInUnknownProtosReyk Floeter
2008-12-19fix indentation, no binary change.Jacek Masiulaniec
2008-12-19be more specific about the field delimiter;Jason McIntyre
reported by Arto Huusko, NetBSD PR bin/40214 feedback/ok otto
2008-12-19syncTheo de Raadt
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@