summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-30- add missing trailing 't' of the mos(4) entry's 'Etherne'Jasper Lievisse Adriaanse
2009-01-29KNF (whitespace fixes). ok grunk@Alexander Bluhm
2009-01-29pass "xerrok" status across the execution call stack to more closelyJared Yanovich
match what both POSIX and ksh.1 already describe in regards to set -e/errexit's behavior in determining when to exit from nonzero return values. specifically, the truth values tested as operands to `&&' and `||', as well as the resulting compound expression itself, along with the truth value resulting from a negated command (i.e. a pipeline prefixed `!'), should not make the shell exit when -e is in effect. issue reported by matthieu. testing matthieu, naddy. ok miod (earlier version), otto. man page ok jmc.
2009-01-29``beginning'' is spelled with 2 `g' and 3 `n'.Miod Vallat
2009-01-29tweak usage()Igor Sobrado
2009-01-29fix compiler warningJacek Masiulaniec
2009-01-29Remove KASSERT() that could trigger when an rthread in sigwait()Philip Guenthe
got multiple signals before tsleep() could wakeup. Also, POSIX says that sigwait() should never return EINTR, so map that to ERESTART. ok kurt@, tedu@ fixes the panic encountered by ariane@ with kaffe
2009-01-29Add a few cache operations after I/O completes.Miod Vallat
2009-01-29The ``flush before inval'' 88410 workaround needs to be done inMiod Vallat
m88410_initialize_cpu() as well. Since we can't flush unknown data, just make sure all 88410 lines are filled with valid data before flushing it. This should fix the spurious ``197DP hangs or loops on osiop errors after autoconf'' issue I've been seeing.
2009-01-29Update to reflect renaming of the st_[acm]timespec members to st_[acm]timPhilip Guenthe
per the POSIX 1003.1-2008 spec. Also, tweak the information about what system calls hit which timestamps ok jmc@
2009-01-29Switch struct stat's timespec members to the names standardized inPhilip Guenthe
POSIX 1003.1-2008, with compatibility macros for the names used in previous version of OpenBSD. Update all the references in the kernel to use the new, standard member names. ok'ed by miod@, otto@; ports build test by naddy@
2009-01-29Implement "smtpctl show stats"; ok gilles@Jacek Masiulaniec
2009-01-29better parsing of .forward filesOleg Safiullin
ok gilles@
2009-01-29Some of the latest macppc laptops with no adb subsystem at all, spontaneouslyMiod Vallat
powerdown if we try to issue pmu commands. Skip these if no adb device appears in the device tree. Adapted from NetBSD.
2009-01-29Oops, correct logic when requested font index is out of bounds. ThankfullyMiod Vallat
it's a can't happen situation.
2009-01-29Correctly byte-swap the link state ID when building Intra-Area-PrefixStefan Sperling
LSAs which refer to Router LSAs. ok claudio@
2009-01-29One more step on the long road of beautifying ospf6ctl output:Stefan Sperling
The Link State ID in OSPFv3 is just a unique identifier and has lost its semantic meaning for a most LSA types. Print the correct semantic meaning for those that still have one, and don't print any additional information for those that don't. ok claudio@
2009-01-29Don't print a header line above every individual Intra-Area-Prefix LSAStefan Sperling
in the detailed DB output. Now behaves the same as with other LSA types.
2009-01-29Document SIOCSIFPRIORITY and friend. Found on my HD. OK jmc@Claudio Jeker
2009-01-29Originate Intra-Area-Prefix LSAs which reference a router LSA.Stefan Sperling
Routers can now advertise prefixes with global scope throughout an area. This paves the way towards doing SPF calculations to generate routing tables for a single area. ok claudio@
2009-01-29In Link LSAs, #prefixes is a 32bit value.Stefan Sperling
But in Intra-Area-Prefix LSAs, #prefixes is a 16bit value. lsa_intra_a_pref_check() was failing on little-endian machines because it was trying to byte-swap a 32bit value. ok claudio@
2009-01-29- fix .Nm and .DtJason McIntyre
- remove a duplicate
2009-01-29fix a panic that occurs when IEEE80211_STA_ONLY is defined (SMALL_KERNEL).Damien Bergamini
noticed by ray@, more investigation from sthen@ fix tested by sthen@
2009-01-29various improvements; help/ok mbalmerJason McIntyre
2009-01-29Add some kernel socket documentation. Originally from FreeBSD with someClaudio Jeker
tweaks by me to match the OpenBSD reality. Additional help from jmc@ ja ja ja dlg@ and OK blambert@
2009-01-29lsa_get_prefix() should return the number of bytes consumed and not theClaudio Jeker
number of bytes left in the buffer. OK stsp@
2009-01-29from Yoshihiko Sarumaru, freebsd pr #76333: fseek(3) can clear EOF too;Jason McIntyre
ok millert
2009-01-29Fix offset calculation for lsa_prefix structs.Stefan Sperling
ok claudio@
2009-01-29Better error handling.Marc Balmer
2009-01-29missing prototype for session_respond() in mta, move session_respond()'sGilles Chehade
prototype to smtpd.h spotted and diff from Oleg Safiullin <form@pdp-11.org.ru>
2009-01-29After checking that peer == NULL do not assign peer = NULL a fewAlexander Bluhm
lines later. No functional change. ok grunk@, hshoexer@
2009-01-29- remove debug messageGilles Chehade
2009-01-29Received header line was incomplete for mail submitted through the enqueuerGilles Chehade
as well as for some outgoing messages, this is fixed now
2009-01-29Split the address selection from pools away from pf.c and put it inPierre-Yves Ritschard
pf_lb.c. This will ease the process of adding more selection types without bloatening pf.c even more. ok and a weird death threat, henning@ raised eyebrow, dlg@
2009-01-29fix a bug in mta's event maskingGilles Chehade
2009-01-29tweak previous;Jason McIntyre
2009-01-29tweak previous;Jason McIntyre
2009-01-29initial starttls support in mta, this allows:Gilles Chehade
accept for domain "openbsd.org" relay via tls "mx.example.org" to ensure the relaying of mail for whoever@openbsd.org will happen through a secure tls (STARTTLS) session. failure to establish a tls session will be considered as a permanent failure. As a side effect: accept for domain "openbsd.org" relay via ssl "mx.example.org" can now work as well and ensure that the relaying happens through ssmtp OR tls, but never through an unsafe channel. no need to specify a port, they are automatically detected if not specified. still a work in progress, don't expect that it will work flawlessly.
2009-01-29Correct capitalization.Pierre-Yves Ritschard
From Thomas Pfaff.
2009-01-29move some code around in preparation for future work:Henning Brauer
break out the code that doesn't deal with fragment reassembly and only modifies stuff in the ip header to their own functions. pass them what they need instead of making them get the info from a rule ptr. ok dlg ryan
2009-01-29Correct copyright years.Marc Balmer
2009-01-29Only start using the rtc for statclock after we've received the firstMark Kettenis
interrupt. On some machines the rtc doesn't generate interrupts and we would end up not running statclock() at all. ok miod@, art@
2009-01-29* Add more CFLAGS commonly found in src/usr.sbin/Pierre-Yves Ritschard
* Add prototype for wake() * Add __dead to usage (for lint) * Do not rely on pointer value for asprintf return as advised * Make sure lint is happy some comments and ok mbalmer@
2009-01-29Fix a crash found by bluhm@ in rn_mpath_reprio(). The rn_mklist handling wasClaudio Jeker
wrong which resulted in a NULL rm_leaf which caussed a NULL deref a bit later. Check against the right route nodes to figure out if the rm_leaf needs to be updated. Tested by bluhm@, OK dlg@
2009-01-29detect truncation with strlcpy, not strlen.Pierre-Yves Ritschard
ok mbalmer@
2009-01-29Report error if wake on lan frame is not sent correctly.Pierre-Yves Ritschard
Loop in the really unlikely event of a non atomic write. ok mbalmer@
2009-01-29simplify the bpf opening loop a bit.Pierre-Yves Ritschard
``shorter is always better'' and ok mbalmer@
2009-01-29bring initial support for SSL in the mta part of smtpd, allowing for:Gilles Chehade
accept for domain "openbsd.org" relay via ssmtp "mx1.example.org" to ensure that deliveries for whatever@openbsd.org goes through an SSL session to mx1.example.org
2009-01-29My try at documenting the route socket filtering. ja ja dlg@Claudio Jeker
2009-01-29Common queue walking code for smtpd and smtpctl. Kills majority of showqueue.c,Jacek Masiulaniec
the remaining code was moved to queue_shared.c; ok gilles@