summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-05TTheo de Raadt
ariane's new allocator gave iwi dirty memory, and made a real bug fall out. The kva was being stored in a structure hidden by a cast, but passing the "structure" corrupts subsequent arguments to bus_dmamap_load(). group effort with ariane, kettenis, and oga.
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
ok claudio@, henning@
2009-06-05Correctly send notification messages when errors occur.Michele Marchetto
ok claudio@ laurent@
2009-06-05Remove unneeded function that prepends mail with "From " marker.Jacek Masiulaniec
mail.local(8) does it for us in mbox case, maildir doesn't need this, and in ext. mda case we delegate it to the external program. committing on gilles@'s behalf
2009-06-05bring back rev1.70Thordur I. Bjornsson
2009-06-05forgot to commit the ospfctl bits, this unbreaks the tree.Pierre-Yves Ritschard
noticed by michele@
2009-06-05bring buf_write here as well.Pierre-Yves Ritschard
2009-06-05bring buf_write which is going to be needed for bgpd.Pierre-Yves Ritschard
2009-06-05Don't call the main RIB DEFAULT but Loc-RIB. Makes more sense.Claudio Jeker
2009-06-05make smtpd's imsg lib ready, just like relayd and ospfd.Pierre-Yves Ritschard
ok gilles@, jacekm@
2009-06-05Adjust print_config to all the stuff added in the last days.Claudio Jeker
2009-06-05use calloc() to provide size * nitems safetyTheo de Raadt
2009-06-05use calloc() to provide size * nitems safety; ok millertTheo de Raadt
2009-06-05catch up NetBSD kern/41048.Yojiro Uo
check for a non-NULL configuration descriptor before dereferencing. ok deraadt@
2009-06-05revert to 1.67 to unbreak NFS writes; ok beck@ thib@Christian Weisgerber
2009-06-05Make it possible to bind peers to a specified RIB. Now only filters andClaudio Jeker
bgpctl are missing to have full support of multiple RIBs.
2009-06-05Add an unused data field, to allow smtpd and ypldap to work, all libPierre-Yves Ritschard
ready daemons have NULL diffs now for the imsg files. This field should eventually die a honorable death as it was a design screwup.
2009-06-05bump MAX_IMSGSIZE here as wellPierre-Yves Ritschard
2009-06-05The yp_bind(3) return code now distinguishes "YP not active" from "an errorIngo Schwarze
occurred". Based on this, decide to either bail or use the record as is. Prevents getgrnam(3) and friends from silently skipping YP records on system errors, for example when out of memory. Also, calling yp_get_default_domain once is enough. The first two switch cases are unchanged, just reindented. ok millert@
2009-06-05bump MAX_IMSGSIZE to 16384, this will make smtpd happy later on.Pierre-Yves Ritschard
2009-06-05- make this a lot more readable; no binary changeJasper Lievisse Adriaanse
ok thib@
2009-06-05make ospfd's imsg lib ready as well.Pierre-Yves Ritschard
ok claudio@
2009-06-05- remove an over-obvious headerJasper Lievisse Adriaanse
prompted by deraadt@ "nuke nuke nuke" thib@
2009-06-05Add support to fxp(4) for the 82552 MAC found in some variation ofChristian Weisgerber
the ICH7 chipset. Untested, but can't break anything that already works. From Brad; ok sthen@
2009-06-05Save some more state such that we recover from X changing depth on us.Mark Kettenis
2009-06-05Allow pcidump -xxv to work (show all the info)Theo de Raadt
ok phessler
2009-06-05Clear screen to clean up after X.Mark Kettenis
2009-06-05Remove redundant assignment.Mark Kettenis
2009-06-05swap function order to bring into scopeTheo de Raadt
2009-06-05emacs handles the undo of a region kill (C-w) differently than a line killKjell Wooding
(C-k) with respect to cursor position. The former leaves the cursor at the end, the latter at the beginning of the region. emacs is wacky. Make mg undo do the same. ok deraadt
2009-06-05Clear screen to clean up after X.Mark Kettenis
2009-06-05Change the way we do mrt dumps in the rde (from the retarded only one dumpClaudio Jeker
possible to as many as you like). The mrt dumps are now done with the same tree walking code as the control messages. Makes the RDE respond a bit faster and use less memory while dumping.
2009-06-05malloc(3) failure should raise YPERR_RESRC, not YPERR_YPERR;Ingo Schwarze
ok millert@
2009-06-05improve yp_bind(3) error reporting after clnttcp_create(3) failure:Ingo Schwarze
map ECONNREFUSED -> YPERR_YPBIND, ENOMEM -> YPERR_RESRC, else YPERR_YPERR while here, malloc(3) failure should raise YPERR_RESRC, not YPERR_YPERR ok millert@
2009-06-05When parsing a line stating with "+" or "-" in group(5),Ingo Schwarze
check whether YP is active up front, not half-way through the parsing. This fixes the bug that group names starting with a dash (yuck!) were skipped when YP was not active, introduced in rev. 1.27. Besides, the code becomes easier to understand. The code inside the two switch cases is unchanged, just reindented. "looks good" millert@
2009-06-05An empty sting cannot be used as a YP domain name,Ingo Schwarze
so treat it similarly to a failing call to getdomainname. ok millert@
2009-06-05tidy up promiscuous mode and multicast handling; from Brad; ok sthen@Christian Weisgerber
2009-06-05abort any time adjustment in progress if the clock is set with settimeofdayChris Kuethe
ok millert
2009-06-05Terminate cwd buffer before running xstrdup on it.Nicholas Marriott
2009-06-05Revert the curpmap change. We know the IPI is broken on both ends,Philip Guenthe
but even with proposed fixes, the reaper panics are back.
2009-06-05compare and shift buffer against a fixed length not strlen derived values.Pierre-Yves Ritschard
ok otto@
2009-06-05use the right accounting for bound edges (i think)Theo de Raadt
2009-06-05Destroy gilles' fantasy function.Pierre-Yves Ritschard
ok by a desillusionned gilles@
2009-06-05Check the first of LC_CTYPE, LC_ALL and LANG, rather than just the last, whenNicholas Marriott
trying to decide about UTF-8, and use strcasestr. Reported by Geert Hendrickx.
2009-06-05fix a quote from GBS;Jason McIntyre
from John Hein, freebsd conf/131469
2009-06-05strdup the input to putenv to avoid in one case passing a string that is laterNicholas Marriott
freed and in the other const strings. looks sane to millert, ok ray
2009-06-05Call setproctitle earlier in the client, and include the socket name. Makes itNicholas Marriott
easier to match client to server in ps/pgrep when using several servers.
2009-06-05sync buffer.c with ospfd, send out buf->wpos and not buf->size.Pierre-Yves Ritschard
2009-06-05simplify the "family" text; ok pyr deraadtJason McIntyre
2009-06-05seperate -> separateJason McIntyre