summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-11Spacing.Marcus Glocker
2008-11-11allocate job only when it's needed.Marc Espie
okay otto@
2008-11-11escape minus signs;Jason McIntyre
2008-11-11for sshd -T print 'permitopen any' vs. 'permitopen' for case of noKevin Steves
permitopen's; ok and input dtucker@
2008-11-11USE_AFS not referenced so remove #ifdef. fixes sshd -T not printingKevin Steves
kerberosgetafstoken. ok dtucker@
2008-11-11some small improvements. ok gillesTed Unangst
2008-11-11slightly optimized the ptrace stat allocation to only happen when needed.Ted Unangst
ok deraadt
2008-11-11make sure that any messing we do with a process's directories happens ↵Ted Unangst
atomically and not after sleeping. ok deraadt pedro
2008-11-11- queue process no longer schedules messages which do not have flagGilles Chehade
F_MESSAGE_COMPLETE - submit recipients to the queue as we read them from RCPT instead of submiting them all at once when DATA is over. this prevents us from having to keep a potentially large number of recipients in memory during the whole session. - remove all code that dealt with the recipients queue of a message as it is no longer used. - several small changes to make sure the server is always in a recoverable state in case of an unexpected shutdown.
2008-11-11remove the use of O_EXLOCK, when open()ing a file, and use flock() instead.Charles Longeau
ok gilles@
2008-11-11Replace some 4 space knf spacing with install space paranoia tabs, savingKenneth R Westerback
33 characters.
2008-11-10add a per-stream ``soft volume'' knob and the corresponding -v option.Alexandre Ratchov
The code will be useful later for the volume knob in the sndio API.
2008-11-10- open the message file earlier after a successful MAIL command instead ofGilles Chehade
waiting for the DATA command. this currently has no impact on the session but is needed for another change that will make submission of recipients safer with regard to "unexpected shutdowns at bad timings"
2008-11-10- define MAX_LINE_SIZE which is the maximum length of a line we allow fromGilles Chehade
a client. it must be set to the highest value we have from all of the extensions which are/will be implemented. - replace all occurences of STRLEN define with MAX_LINE_SIZE, kill STRLEN
2008-11-10rename h_errno field into getaddrinfo_error, to avoid confusion with errno.Charles Longeau
h_errno has been obsoleted since the gethostbyname() --> getaddrinfo() replacement. ok gilles@
2008-11-10fix store_write_header() prototype.Charles Longeau
ok gilles@
2008-11-10typo: be -> by in commentOwain Ainsworth
``of course'' deraadt@.
2008-11-10Clear ifindex2ifnet[] in if_detach() this is needed because link localClaudio Jeker
addressing in IPv6 likes to do ifp = ifindex2ifnet[ifindex] without properly checking if the ifindex is valid. As a side-effect this solves parts of PR 5981. Debugged by jsing@. OK jsing@, deraadt@
2008-11-10clean namespace a fair bit; wrap kernel-use-only structures and gunk inTheo de Raadt
#ifdef _KERNEL
2008-11-10fix some situations where it was impossible to buy a hotel,Stuart Henderson
and make the game closer to the rules (may only buy a hotel after 4 houses are owned on all properties in the group). from Olivier ANTOINE in PR 5976.
2008-11-10delete operation not needed; from naddyTheo de Raadt
2008-11-10#if 0 a function which we have we do not use, and where the call to it is in ↵Theo de Raadt
#if 0 as well
2008-11-10Fix the bits to enable bus mastering mode on some newer chips. FromOwain Ainsworth
Alex Deuchar via drm git.
2008-11-10spaces fixed while reading codeTheo de Raadt
2008-11-10If a bind() spuriously fails (as appears to happen once in a blue moon dueTheo de Raadt
to some stupid ipv6 bug in particular), remove that 'listen' from the list and continue operation. issue spotted by naddy ok henning
2008-11-10Make writeback work on after a suspend. From Dave Airlie via drm git.Owain Ainsworth
2008-11-10Use the correct sizeof for the _ca.Artur Grabowski
"obviously correct" kettenis@
2008-11-10- remove last occurences of the atomic api in store.c, smtpd no longer usesGilles Chehade
atomic api when dealing with files but uses stdio instead
2008-11-10remove unused variable 'error' from two functions; llvm/clang; ok dlgConstantine A. Murenin
2008-11-10Remove 17 unused vars from uvideo_softc.Marcus Glocker
2008-11-10One more replacement; 2 -> UVIDEO_SH_MIN_LENMarcus Glocker
2008-11-10Fix typo in comment, okay jmc@.Pedro Martelletto
2008-11-10missing staticMarc Espie
2008-11-10adjust comment to reflect reality (CompatRunCommand is gone)Marc Espie
2008-11-10don't assign ifp to ifp; llvm/clang; ok jsgConstantine A. Murenin
2008-11-10remove some dead code and fix a comment; llvm/clang; ok jsgConstantine A. Murenin
2008-11-10Add eMPIA Technology 2761 (ASUS EeePC 701 Notebooks) chipset whichMarcus Glocker
works since BULK xfers are supported. Reminded by deraadt@
2008-11-10uninitialised value caused some lmenv(4) fans to never appear sometimes;Constantine A. Murenin
the bug was reported long time ago by Simon Slaytor with adm9240; the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt
2008-11-10vm_map_lock() around calls to uvm_map_findspace(); ok teduTheo de Raadt
2008-11-10last character in line is at len - 1. ok gillesTed Unangst
2008-11-10insertion sort is faster than bubble sort. ok gillesTed Unangst
2008-11-10- simplify the passing of ssl cert/key during ssl configuration,Gilles Chehade
from Jacek Masiulaniec <jacekm@dobremiasto.net>
2008-11-10same vmspace song and dance as in kern_sysctl.c 1.167; ok kurtTheo de Raadt
2008-11-10- in queue, do not use the atomic api when dealing with real filesGilles Chehade
change based on a comment from deraadt@ - in queue_register_submission(), if an envelope cannot be fully written because of some error (ie: disk full), not only return error but also remove the partial envelope from file system. this prevents the queue process from trying (failing) to reload it over and over.
2008-11-10- plug a descriptor leak when session is aborted by a server error insteadGilles Chehade
of a client QUIT or client timeout
2008-11-10- move '=>' into the lex loop, requested by and with help from deraadt@Gilles Chehade
2008-11-10PuTTY supports AES CTR modes, so interop test against them tooDamien Miller
2008-11-10- in queue_load_submissions(), if queue_message_from_id() fails for someGilles Chehade
reason just warn instead of aborting the whole smtpd.
2008-11-10- snprintf() can return -1, make sure every call is checked properlyGilles Chehade
2008-11-10- recognize '=>' as one token instead of trying to match '=' and '>'. thisGilles Chehade
prevents: "foo = > bar" from being valid