summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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@
2012-11-12Once a C_RECVDIR command is sent, a matching C_END command has to bePhilip Guenthe
sent later, even if the opendir() fails or the nodescend option is set. ok krw@, ian@
2012-11-12Fix various format string issues. Stop assuming time_t is long or smaller.Philip Guenthe
Enable warnings. ok krw@, ian@
2012-11-12Fix pid matching on kernel crashdumps in kvm_getprocs(KERN_PROC_PID)Philip Guenthe
2012-11-12add IWN_FLAG_NO_BT_COEX define for previous 6235 support in if_iwnjoshua stein
2012-11-11The next step towards a working gcc3/m88k: remove the argument area (from gcc2),Miod Vallat
and try to get the builtin varargs code to work. I have tried to mimic the gcc2 varargs logic, which is optimal in the sense that no argument gets duplicated and as many arguments as possible are passed in registers, to no avail (read: hair-pulling ICE out of nowhere in variadic functions). So I am now sticking to the original gcc 2.7 varargs, where an argument passed on the stack consumes the registers it would have been passed as, if its type would have allowed it. This spills too much memory on the stack, but on the other hand makes the expansion of va_arg() much simpler. This means that, should gcc3 on m88k platforms be solid enough, mixing varargs objects compiled with gcc 2 and gcc 3 will not be possible. But we're not there yet.
2012-11-11Explicitely include <nlist.h> if !__ELF__ for this file to compile.Miod Vallat
2012-11-11Recognize "uahalf" and "uaword" statement, as synonyms for "half" and "word"Miod Vallat
(the a.out assembler doesn't enforce alignment for "half" and "word" data). Needed because gcc 3 will produce such statements.
2012-11-11add support for the Intel Centrino Advanced-N 6235 to iwn(4).joshua stein
committed over a 6235 device, of course. ok deraadt@ kettenis@ stsp@ armani@
2012-11-11updating the character offset on the line all the time is astoundinglyTheo de Raadt
hostile to slow terminals. ok lum
2012-11-11Document the machine subcommands.Philip Guenthe
ok jmc@, pirofti@, mlarkin@
2012-11-11Fix dhclient.conf 'default' directive which was also broken in codeKenneth R Westerback
refactoring. i.e. use specified value if server has provided no data.
2012-11-11make the description of "debug" understandable for mortals (i.e.Jason McIntyre
non-programmers); krw, as well as ok'ing this diff, pointed out that it's only relevant for a DEBUG-compiled libc, which is non-default, and helped me tweak the wording appropriately;
2012-11-11supersede/append/prepend actions should work even if the dhcp serverKenneth R Westerback
doesn't send any data for the affected option. This was broken when the supersede/append/prepend/ignore logic was refactored. Reported by and fix tested by johnw via misc@
2012-11-11david livingstone, not livingston;Jason McIntyre
i picked this up from greg lehey's commit in freebsd, -r242849: that commit also changes the date of stanley's encounter from 10th nov. to 27th of oct. since the internet doesn;t seem to agree and not having anything authorative to hand, i have left the date untouched (i.e. 10th nov.).
2012-11-11syncTheo de Raadt
2012-11-11align ifaliasreq.ifra_addr similar to the way that ifreq is fixed --Theo de Raadt
a gruesome union, to block the compiler from placing the struct incorrectly aligned on stack frames ok guenther
2012-11-10use boolean_t not bool for a local boolean type so this won'tJonathan Gray
clash with a c99 style bool type. ok millert@ deraadt@
2012-11-10Simplify error handling, add IFCAP_VLAN_MTUStefan Fritsch
Patch by Dinar Talypov t.dinar.m AT gmail.com OK claudio@, mikeb@