summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-15Do not try to transmit packets if the interface is not running.Joel Sing
ok chris@ deraadt@ dtucker@ mikeb@
2012-11-15imsg_get() returns ssize_t, not size_t.Kenneth R Westerback
2012-11-15syncStuart Henderson
2012-11-15Shuffle #include's to use the majority idiom everywhere - i.e. useKenneth R Westerback
dhcpd.h to pull in most sys/net/netinet/etc. .h file. Eliminate superfluous #include's.
2012-11-15splimp -> splnet; OK jmc@ claudio@ miod@Gleydson Soares
while here switch to .Xr splnet 9; pointed out by jmc@
2012-11-15If '-d' is specified to keep dhclient from daemonizing, don'tKenneth R Westerback
redirect privileged child's STDIN/OUT/ERROR to /dev/null. This was already avoided for the unprivileged process. Makes printf/note debugging easier.
2012-11-14some formatting/sorting/consistency fixes for "machine"; ok guentherJason McIntyre
2012-11-14update to 1.2.5Robert Nagy
2012-11-14Do not bother reloading r1 from the stack in the epilogue, if it has not beenMiod Vallat
clobbered (e.g. in leaf functions). While saving it helps debugging, reading it back is just useless in that case.
2012-11-14Generously sprinkle RTX_FRAME_RELATED_P() in the prologue and epilogue code,Miod Vallat
as recommended by the documentation. I have not seen a difference in the generated code so far, but I'd rather play safe at the moment.
2012-11-14Define EPILOGUE_USES(). And suddenly the life analysis pass doesn't decideMiod Vallat
reloading the return address register from the stack in the epilogue isn't a useless operation anymore.
2012-11-14Revert the `sequence' part of 1.3 - it is actually not necessary and hidesMiod Vallat
other problems by making the optimizer more eager to optimize out the whole prologue and epilogue away in some cases.
2012-11-14Oops. Commit the one that actually compiles.Kenneth R Westerback
2012-11-14When copying option.data, use option.len to specify the amount ofKenneth R Westerback
data to copy, rather than a static value that *may* be incorrect. e.g. when option.data is NULL. Allows 'ignore subnet-mask;' to work. Prompted by a different but similar problem found by jmc@.
2012-11-14allocate a mailbox payload dma memory upfront instead of per requestMike Belopuhov
2012-11-14add support for the lenovo usb 2.0 ethernet adapterjoshua stein
2012-11-14regenjoshua stein
2012-11-14add lenovo usb ethernet adapterjoshua stein
2012-11-14Remove useless _new_ and _old_ from various function names to makeKenneth R Westerback
them shorter and eliminate implications about what the function does. No functional change.
2012-11-14use F_OK macro instead of 0 in access() when checking by file existence. ↵Gleydson Soares
make the code easier to read. no functional change. OK millert@
2012-11-14Use the iwn-6030 firmware for the Intel Centrino Advanced-N 6030 as well.Mark Kettenis
Makes these variants actually work. Based on a diff from James Turned, also confirmed by weerd@
2012-11-14fix a bug, hidden by the break statement in the special option case,Igor Sobrado
in the example code. millert@ suggested using -ne instead of -gt since $# can't be negative. ok millert@
2012-11-14In the unlikely event that a NULL device is passed to priv_pcap_live(),Lawrence Teo
ensure that the function will stop and return NULL instead of continuing (which could lead to a segfault). ok benno deraadt otto
2012-11-14allow the full range of unsigned serial numbers; 'fine' deraadt@Damien Miller
2012-11-14fix username passed to helper programDamien Miller
prepare stdio fds before closefrom() spotted by landry@
2012-11-13Writing a 1 to the MEF bit of the ERRSTS0 register of the 82443LX host bridgeMark Kettenis
when it is already cleared will trigger an NMI if the corresponding bit ini the ERRCMD register is enabled. So instead of unconditionally writing 1 into some of the bits, simply read the register and write back the value that we just read. This will clear any status bits that were set (since they are R/WC) and leave all other bits alone. Tested by Karlis Mikelsons.
2012-11-13pasto in log messageFlorian Obser
ok henning
2012-11-13pasto in log messageFlorian Obser
ok henning
2012-11-13Column numbers are gone for good.Florian Obser
"yes" deraadt, input jmc
2012-11-13Pass -DOPENBSD_CROSS to CFLAGS when cross-compiling gcc2. Temporary bandaidMiod Vallat
until we get rid of it. Soon.
2012-11-13Make COMPILER_VERSION a definitive assignment in there, for it to overrideMiod Vallat
<bsd.own.mk>. Allows cross-gcc to be built on a host using a different compiler version than the target.
2012-11-13Do not advance the timecounter too fast on MULTIPROCESSOR kernels; noticedMiod Vallat
and ok aoyama@
2012-11-13do an OACTIVE/if_start dance only once per tx interruptMike Belopuhov
2012-11-13enable hardware tx checksum offloading as oce doesn'tMike Belopuhov
seem to require an initialized pseudo-header checksum
2012-11-13more cleanup missed in the previous commitMike Belopuhov
2012-11-13major cleanup; get rid of the oce_destroy_queueMike Belopuhov
2012-11-13Add accept.c from ldpd and use it to handle file descriptor exhaustionYASUOKA Masahiko
in accept() case. "go for it" deraadt
2012-11-13macro tweaking;Jason McIntyre
2012-11-13Correct the first argument of agpmmap() making possible to mmap the AGPMartin Pieuchot
aperture. ok kettenis@
2012-11-13do not miss the last envelopeEric Faurot
ok gilles@
2012-11-13Allow filtering based on the NEXTHOP attribute. This allows to build rulesClaudio Jeker
like: allow from any nexthop neighbor (to allow only prefixes that use the routers IP address as nexthop). Lots of testing, input and OK florian@
2012-11-13Simplify the smtpctl code: add a try_connect() function to test ifEric Faurot
the server is running, and flush()/next_message() helpers to make imsg request/response loops easier. ok gilles@
2012-11-13Constify arguments to sendto_nat_t and add missingYASUOKA Masahiko
#include "recvfromto.h" to l2tp_ctrl.c. no binary changes.
2012-11-12protect rxeof path with an splnet; ok kettenisMike Belopuhov
2012-11-12move some stuff around, do minor cleanupMike Belopuhov
2012-11-12Cleanups and improvements:Eric Faurot
* Log more events (especially client session) and use a better scheme for that: each messages is prefixed with a token to easily identify its class: - info/warn/debug: general server messages - smtp-in: smtp client connections - relay: status update for relayed messages - delivery: status update for local deliveries * Implement "smtpctl monitor" to display updates of selected internal counters. * When reloading the on-disk queue at startup do not commit a message if no envelope was submitted for that message. * Remove unused stuff in the config parser. ok gilles@
2012-11-12require scan_scaled to set errno to EINVAL rather than ERANGE if itAlexander Hall
encounters an invalid multiplier, like the man page says it should "looks sensible" deraadt@, ok ian@
2012-11-12make scan_scaled set errno to EINVAL rather than ERANGE if it encountersAlexander Hall
an invalid multiplier, like the man page says it should "looks sensible" deraadt@, ok ian@
2012-11-12fix a potential memory leak; OK martinh@ sthen@Gleydson Soares
2012-11-12Don't check if ${local_rcconf} is defined before sourcing rc.conf but doAntoine Jacoutot
it unconditionally. The only place local_rcconf could have been defined is from /etc/rc sourcing rc.conf but then the variable is not exported so it will never be seen by rc.subr. ok robert@