summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-15Document that strtod functions accept INF, NAN, NAN(). From Michal Mazurek.Martynas Venckus
2012-09-15Improve instructions for handling non-blocking I/O with poll(2) andStefan Sperling
the mio_* functions. As per suggestion from jmc tidy up spacing in RETURN VALUES section and Xr poll(2). ok jmc ratchov
2012-09-15Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.Philip Guenthe
Much ports testing of various versions by naddy@ and jasper@ ok matthew@, miller@
2012-09-15Don't depend on sa_family_t being typedefed by <sys/types.h>; pull inPhilip Guenthe
<netinet/in.h> to reliably get it ok matthew@, millert@, deraadt@
2012-09-14Don't read the xrun counter before the offset in the audio ring,Alexandre Ratchov
otherwise we'd open a tiny time window during which a xrun may occur in turn making the sio_onmove() clock wrong during one tick.
2012-09-14Have mio_open(3) document all return values in the RETURN VALUES section.Stefan Sperling
And don't document the return value of mio_pollfd() twice, one instance of which was incorrect. ok jmc, ratchov
2012-09-14Remove s_ssl from the smtp session since it is duplicated in the io struct.Eric Faurot
Change ssl_session_init to ssl_smtp_init and make it simpler: only create an SSL* from the SSL_CTX* passed as parameter, so it does not have to know about the struct session itself. Kill some dead prototypes while there. ok chl@ gilles@
2012-09-14When printing ioev, do not segfault if there is no associated iobuf.Eric Faurot
Also give info about the cipher if there is an ssl context. ok chl@ gilles@
2012-09-14tweak the description of "value" somewhat; ok gillesJason McIntyre
2012-09-14remove unused variableMarkus Friedl
2012-09-14Check limits before allocating the session.Eric Faurot
While there, move smtp_resume() in the if block; it makes more sense. ok gilles@
2012-09-14more accurate fix: don't mark '!' as a meta character, recognize "!" asMarc Espie
a shell reserved word. okay millert@
2012-09-14! is a meta character, this letsMarc Espie
test: ! pgrep process work, without trying to look for a '!' command (remember that not running a shell for each command is an optimization ?) bug fix prompted by eric@'s remark, okay millert@
2012-09-14restructure this page somewhat, and make it read better; ok gillesJason McIntyre
2012-09-14There's no reason to unlink the destination if we can't even openTodd C. Miller
the source file. This fixes a problem with the databases/ruby-ldap port. Note that I changed the O_TRUNC to O_EXCL to avoid the race between unlink/rename and creat. OK naddy@ jeremy@
2012-09-13Fix comment line lengthDarren Tucker
2012-09-13specify the bounds of the dst to strlcat (both values were static andTheo de Raadt
equal, but it is more correct) from Michal Mazurek
2012-09-13Update to tzcode2012f. Now that tzcode is in git there are no moeTodd C. Miller
SCCS ids. No actual code changes.
2012-09-13Fix precedence bug (& has lower precedence than !=).Paul Irofti
Okay otto@. Found by Michal Mazurek <akfaew at jasminek dot net>, thanks!
2012-09-13Update to tzdata2012f from ftp.iana.orgTodd C. Miller
2012-09-13Simplify the way we call the rc.d(8) script in "restart".Antoine Jacoutot
ok sthen@
2012-09-13There is no need to compile this with -Werror by default.Claudio Jeker
2012-09-13tell mii_attach where the phy is on the chip, rather than asking it toDavid Gwynne
probe every address and have bge_miibus_read fail at the wrong address. needed to support recent chips which have phys in locations other than phy address 1 (and removes a conditional in an io path).
2012-09-13regenjoshua stein
2012-09-13recognize the Intel Centrino Advanced-N 6235joshua stein
2012-09-12match on another axis AX88772B that comes with the asus ux21/ux31ajoshua stein
2012-09-12regenjoshua stein
2012-09-12add another ASIX AX88772B devicejoshua stein
2012-09-12reword a bitGilles Chehade
2012-09-12- document that aliases lookups are folded to lowercaseGilles Chehade
- also document that we strip the address extensions before aliases lookups
2012-09-12missed a word :-)Gilles Chehade
2012-09-12- e-mail -> email , as discussed with jmc@ on aliases(5)Gilles Chehade
- reword first paragraph - $HOME -> ~/
2012-09-12- reword paragraph on ~/.forward permissionsGilles Chehade
2012-09-12after a bit of discussion we decided to remove these for now, we'llGilles Chehade
reintroduce later when the support is ready ... after our first release. prompted by and ok eric@
2012-09-12- we lacked man pages for the aliases and forward file formats rewrote fromGilles Chehade
scratch using the sendmail pages as a base. with a bit of rewording by jmc@, we'll improve further in base
2012-09-12Define empty CDIAGFLAGS for programs that use Werror.Christiano F. Haesbaert
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
2012-09-12Fix a race condition which would cause segfault due to the kernelChristiano F. Haesbaert
sending less (or more) data than expected. We do a sysctl to know how much data should be read, and then we try to read that amount, but there is a window between this two calls that things can change, this makes sure we have an "atomic view" of data. From Patrick Wildt, tested with over 7000 SAs, thanks. ok deraadt
2012-09-12Use sg_addr instead of sg_lo_addr, leftovers from last commit.Christiano F. Haesbaert
ok dlg
2012-09-12Make sure we don't sleep on autoconf.Christiano F. Haesbaert
ok mikeb
2012-09-12bgpctl bits for the GR support added to bgpd.Claudio Jeker
OK sthen
2012-09-12Better graceful restart support (implementing more then just the EoR record).Claudio Jeker
This implements only the "Restarting Client" bits of the RFC -- in other words bgpd will keep the FIB when the client restarts but it will not do GR when restarting itself. The capability is still off by default (you need "announce restart yes" to enable it). Tested by Anders Berggren. OK sthen@
2012-09-11pthread_sigmask() doesn't require <pthread.h>, only <signal.h>.Matthew Dempsky
Pointed out by Brad.
2012-09-11prevent detection of bogus librariesMarc Espie
problem initially noticed by deraadt@, exchanged various patches with kettenis@ decided to fix the bug now, even though ldconfig could probably use a larger rewrite. okay matthew@
2012-09-11- simplify scheduler_compute_schedule by making it a quadratic delaying.Gilles Chehade
no more if/else, we derive the delay from the retry count. works for qmail, should work for us too. ok eric@
2012-09-11syncTheo de Raadt
2012-09-11Cope with PIE, if it is enabled. Note that this has not been completelyTheo de Raadt
tested, but it is time to get it in at least.
2012-09-11Cope with PIE, if it is enabledTheo de Raadt
2012-09-11Initialize fd correctly. This fixes a lot of problems.Eric Faurot
ok gilles@
2012-09-11Support FTDI FT2232H. This has a new base clock rate, different divisor,Theo de Raadt
and the buffersizes are now taken from the endpoint descriptors. From Raphael Graf
2012-09-11Add -nopie to the linker flags.Mark Kettenis