summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-12Replace the old, broken KERN_PROC ABI and its matching functionsPhilip Guenthe
in libkvm with the stable-ABI versions that are currently named KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols will continue to be supported for a few releases. Committing now that they ports people have had a couple releases to update pkgs that usd the old functions
2011-03-12Provide wrappers for the new I386_{GET,SET}_{FS,GS}BASE sysarch() calls.Philip Guenthe
In some sense, these are mainly to give names to hang manpages from.
2011-03-12Add missing __statement modifiers in various endian.h files and correctPhilip Guenthe
%1 to %0 in the i386 asm. asm correction ok drahn@
2011-03-12Provide distinct segments for the %fs and %gs selectors to use byPhilip Guenthe
default, with per-rthread base offsets and with sysarch() functions, I386_{GET,SET}_{FS,GS}BASE, for fetching and setting those base offsets. This is necessary for both rthread and Linux compat support. suggestions from kettenis@, prodding from pirofti@ and deraadt@
2011-03-12Bad bad Claudio. Fix an evil bug that caused nbr addr_tree corruption.Claudio Jeker
Do not insert neighbors first to the address tree and then assign the address to the struct. Instead pass the address to nbr_new() so all keys for the various RB trees are available when setting the neighbor up.
2011-03-12Log the fact that a session was not accepted because of missing HELLOs.Claudio Jeker
2011-03-11add -z to the extensions list in STANDARDS;Jason McIntyre
2011-03-11Zap stack garbage before passing buffer to biosd_io(), which mayKenneth R Westerback
be lied to by the BIOS about successfully reading data. ok deraadt@ weingart@
2011-03-11Add a non-standard option that affects the output TZ only. The input (forTheo de Raadt
parsing) TZ is unaffected. This makes it it easier to convert timestamps from any timezone to any other timezone -- no need for $() gymnastics ok millert
2011-03-11Check that date(1) is not passed any extra arguments.Theo de Raadt
ok millert
2011-03-11Use _MACHINE_ENDIAN_H_ for this is The Right Thing To Do.Paul Irofti
Okay guenther@, millert@.
2011-03-11The -a option shouldn't change the exit statusPhilip Guenthe
Patch from David Julio (david.a.julio at gmail.com)
2011-03-10Add support for detecting the NXP SA56004X (we have not actuallyTheo de Raadt
seen it in the wild yet, but the detection seems easy). Few bugs spotted by kettenis. ok kettenis
2011-03-10- make this easier to readJasper Lievisse Adriaanse
2011-03-10- implement several more options that will be needed to bump to 0.24Jasper Lievisse Adriaanse
(--print-provides, --print-requires and --print-requires-private) ok ckuethe@
2011-03-10- document all the environment variables that pkg-config honorsJasper Lievisse Adriaanse
ok ckuethe@ jmc@
2011-03-10honor PKG_CONFIG_DEBUG_SPEW, which is like our --debug optionJasper Lievisse Adriaanse
ok ckuethe@
2011-03-10Changing daemon_flags on already running processes can make any kind ofAntoine Jacoutot
action fail, not just reload and stop. ok sthen@
2011-03-10tweak previous;Jason McIntyre
2011-03-10allow GSSAPI authentication to detect when a server-side failure causesDamien Miller
authentication failure and don't count such failures against MaxAuthTries; bz#1244 from simon AT sxw.org.uk; ok markus@ before lock
2011-03-10Extend the documentation of the actions argument and bring this up to dateAntoine Jacoutot
after the recent changes. ok sthen@ robert@
2011-03-10Add a small comment at the top to explain what this file does.Antoine Jacoutot
Use $() constructs as it's safer than ``. Both req. by deraadt@ Use pkill instead of pgrep in rc_check so that we don't need to fiddle with redirections in reload. prodded by schwarze@ ok robert@
2011-03-10allow GSSAPI authentication to detect when a server-side failure causesDamien Miller
authentication failure and don't count such failures against MaxAuthTries; bz#1244 from simon AT sxw.org.uk; ok markus@ before lock
2011-03-09Log MAC address changes in the IPv6 neighbor discovery protocolAlexander Bluhm
cache as "ndp info overwritten". This makes the behavior similar to ARP. ok todd@, deraadt@, henning@, giovanni@, claudio@
2011-03-09smtpctl show stats displays inet4/inet6 repartition for incoming sessionsGilles Chehade
2011-03-09Make reload and check consistent with start/stop.Antoine Jacoutot
ok robert@
2011-03-09Move the redirections into the rc_cmd itself instead of rc_start andAntoine Jacoutot
rc_stop so scripts don't need to set it. ok sthen@ (on a much bigger diff) robert@
2011-03-09Implement UDP mode for tcpbench and switch tcpbench to use libevent.Claudio Jeker
In UDP mode the tcpbench client tries to flood the pipe to the maximum and the server will busy read the packets. For TCP mode nothing has changed. All the work was done by Christiano F. Haesbaert (haesbaert(at)haesbaert org). OK myself and a lot of pushing from deraadt@
2011-03-09Mention need for 512-byte CDROM drive on older SPARCs, discussed w/ miod@ ok ↵Ian Darwin
krw@
2011-03-09Knock out a bunch more UPS devices from attaching to uhid(4).Stuart Henderson
feedback/ok deraadt@
2011-03-09syncStuart Henderson
2011-03-09- add IDs for various USB HID UPS devices, extracted from NUTStuart Henderson
- switch to generic naming ("Somevendor UPS") where the vendor uses the same device ID for several devices feedback/ok deraadt@
2011-03-09zap from usage() as well; reminded by jmc@Okan Demirmen
2011-03-09HW stats debugging via ifconfig emX debug instead ofMarco Pfatschbacher
a global em_display_debug_stats variable. OK mcbride, matthew, deraadt, henning.
2011-03-09remove non-standard flagOkan Demirmen
ok jasper@, otto@
2011-03-09substitute '~' for $HOME in the \W prompt case; matches bash's behavior.Okan Demirmen
feedback from Dan Harnett OK deraadt@
2011-03-09Move rc_pre and rc_post out of the rc_start/rc_stop functions into theAntoine Jacoutot
rc_cmd start/stop actions. This way when rc.d(8) scripts override these functions, we don't loose rc_{pre,post}. Add a max 5 secs loop after rc_stop in the rc_cmd top action. This seems to be a good default for returning to command line only after the daemon has really stopped. This fixes "restart" for some daemons and allows to properly stop some others at shutdown time. Note that this is just a best-effort default, some daemons may need a lot more time to shutdown but this case is usually handled in the rc.d(8) script itself and we obviously do not want to hang the shutdown process. Call rc_cmd start/stop in restart and _not_ rc_start/rc_stop which can get overriden in a script. discussed with and inputs from sthen@ and schwarze@ ok sthen@ robert@
2011-03-09syncTheo de Raadt
2011-03-09Stilistic improvement: use clean mdoc(7) .Qq enclosures rather thanIngo Schwarze
(correct, but ugly) low-level roff(7) quoting of quote characters. As a side effect, this avoids ugly formatting caused by a nasty mandoc(1) bug with roff(7) quoting in mdoc(7) documents. Of course, that bug will ultimately get fixed as well, but that can't be done quickly. Reported by Tim van der Molen <tbvdm at xs4all dot nl> ok jmc@
2011-03-09make similar code .. more similarTodd T. Fries
ok gilles@ previous commit should have read: when copying 'struct sockaddr' data, use sa_len not sizeof(struct sockaddr_in) this fixes truncation of IPv6 addresses in the mail delivery path ok gilles@
2011-03-09*** empty log message ***Todd T. Fries
2011-03-08Fix a subtle carp reconfiguration problem.Marco Pfatschbacher
Updating the HMAC from the carp_ioctl call does not see the newly set IP address in the if_addrlist. The only chance for carp to see the new address is via the address-hook callback. This change moves the detection of address changes entirely into carp_addr_updated. Furthermore, only call carp_hmac_prepare for the SIOCSVH case. This second bug was the reason why the first one went unnoticed for such a long time. Problem found and debugging help by camield@. OK camield@
2011-03-08Fix compiler warning from recent HANDLE_PRAGMA_PACK_PUSH_POP addition.Dale Rahn
OK deraadt@ discusssed with millert@ otto@ and kettenis@
2011-03-08vrng should go onto the ramdisk.Theo de Raadt
ok kettenis
2011-03-08Fix an incorrect test which was always true (oupper is always < olower),Nicholas Marriott
from Yusuke ENDOH.
2011-03-08Fix extended partition searching so we don't get lost. The offsetKenneth R Westerback
of the next EBR is relative to the start of the extended partition described in the first MBR, not relative to the EBR specifying the offset in its extended partition entry. Clean up installboot -v output. Use daddr64_t for all sector numbers. Not a complete fix, but better than what we had. More tweaks to come. Inspired by a diff and cluebat from uscav on tech@ a few weeks ago. Feedback from matthew@, weingart@. ok deraadt@
2011-03-08regenJasper Lievisse Adriaanse
2011-03-08- add Trust and two miceJasper Lievisse Adriaanse
2011-03-08There is no such thing as rc_restart().Antoine Jacoutot
2011-03-08It was not possible to send out LS updates larger then the MTU.Claudio Jeker
Change the code in such a way that single huge LSA get fragmented but avoid IP fragmentation when packing multiple ones. Problem found and fix tested by Benjamin Papillon. Tested & OK sthen@