summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-13syncTheo de Raadt
2008-06-13document xdr_{u_}int64_t() functionsTheo de Raadt
2008-06-13Fixup ldscripts for i386 when linked with -pie (no change to non-pieKurt Miller
ldscripts). Correct the xd and xdc ldscripts (pie and pie + combreloc) on i386 and add two new variants for pie + combreloc + Z and pie + Z on all arches. ok drahn@
2008-06-13Do not log carp state transitions from or to INIT by default.Marco Pfatschbacher
Reduces the amount of dmesg noise. Tested and OK mcbride@
2008-06-13Move the responsibility to free received packets on trunked interfacesMarco Pfatschbacher
from ether_input() into trunk_input() where it can be handled in a smarter way. OK claudio@ and reyk@ on an earlier version.
2008-06-13Completing the executable elf_object_t data exposed a bug inKurt Miller
dl_iterate_phdr(3) which was returning the load base not the object base. Problem noted in the misc/exceptions regress by David Krause. okay drahn@
2008-06-13Add support for fiber PHY on bge(4) (BCM5714/BCM5780) andBrad Smith
bnx(4) (BCM5706/BCM5708) adapters. Thanks to Balázs Nagy <bnagy at thenewpush dot com> for providing remote access to a Inventec IB4220 blade with fiber BCM5780 interfaces and David Christensen at Broadcom for providing BCM5708 2.5Gbps adapters. Tested with various existing copper adapters and the above mentioned adapters. Some inspiration from similar changes to FreeBSD's brgphy(4) driver.
2008-06-13NFSD_NEEDAUTH and NFSD_AUTHFAIL are never set, so cull code thatBret Lambert
depends on them being set. This should be the removal of the original return-to-userland-to-authenticate code that was apparently an unfinished experiment. ok thib@
2008-06-13Kill one-liner macro which obfuscated mbuf pointer assignment.Bret Lambert
Rescue nfsm_reqhead macro name and rename nfsm_reqh. End of one-liners from nfsm_subs.h. ok thib@
2008-06-13make the disk key masking algorithm a parameter and add some extraDamien Miller
reserved space in case we ever want to support a different scheme ok hshoexer@ marco@
2008-06-13Remove unused files. Noticed by sthen@Can Erkin Acar
2008-06-13Change the logic when selecting routes on RTM_CHANGE & RTM_GET. RTM_CHANGEClaudio Jeker
can not supply the correct nexthop if the nexthop is changed. So if the route we want to change is a non-multipath one allow the change to succeed. This unbreaks RTM_CHANGE in most situations. Found by jsing@ Ok henning@
2008-06-13Include some additional pointers, etc that I really need for debuggingClaudio Jeker
nasty routing table issues. Mainly the pointer to the previous node. OK henning@
2008-06-13fix compilation with BNX_DEBUG.Brad Smith
2008-06-13$OpenBSD$Nikolay Sturm
2008-06-13some mtree regressMarc Espie
okay millert@
2008-06-13from NetBSD:Nikolay Sturm
Implement file locking in lockd. All the stuff is done in userland, using fhopen() and flock(). This means that if you kill lockd, all locks will be relased. Shared locks are not handled efficiently, they're serialised in lockd when they could be granted. tested against debian etch (linux 2.6.18) not fully functional yet in mixed NFSv2/v3 environments further development in-tree as discussed w/ deraadt
2008-06-13Add definitions for nlm version 4 (for use with NFSv3).Nikolay Sturm
from NetBSD minor bump, discussed w/ deraadt
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@Otto Moerbeek
2008-06-13implement xdr_int64_t, xdr_u_int64_tNikolay Sturm
from NetBSD
2008-06-13syncTodd T. Fries
2008-06-13/dev/bio on ramdisks, it is safe and smallTodd T. Fries
ok deraadt@, marco@
2008-06-13Add strtof() to libc, some ports seem to like it. Currently it's a simpleLandry Breuil
call to strtod() with bounding check. Discussed with pyr@ and otto@ ok otto@ deraadt@
2008-06-13Implement pbkdf2 in in bioctl to derive master key from a passphrase.Hans-Joerg Hoexer
ok marco djm
2008-06-13fix two smalls bugs wrt contination lines.Marc Espie
- continuation line at file start would segfault: make it change ginfo as it should instead. - empty continuation lines should be valid. okay millert@
2008-06-13-Wall friendly (missing "static", signed vs. unsigned comparison)Damien Miller
2008-06-13Explain the use of SSH fpr visualization using random art, and cite theAlexander von Gernler
original scientific paper inspiring that technique. Much help with English and nroff by jmc@, thanks.
2008-06-13One more "//" instead of "/" case. Hidden in a getcwd.Kjell Wooding
Noted, ok otto@
2008-06-13phessler noted that c-mode ignored blinking braces.Kjell Wooding
Add "c-handle-special-brace" which does a blink and indent, rather than just a selfinsert and indent
2008-06-13we used to use the lowest (so it is deterministic) mac address in theHenning Brauer
system for the bridge ID for stp. That worksfine unless you have two bridges in the system that talkto the same neighboring systems (switches), because the two bridges on the openbsd system would have the same ID. fix by only looking at interfaces part of the bridge and using the lowest mac address of these. works fine because stpcan only be enabled on IFT_ETHER interfaces so there is always at least one and we re-evaluate every time an interface is added or deleted from the bridge. diff was rotting in my tree for at least a year, I have no idea what triggered it really. ok reyk mk djm
2008-06-13Allow selfinsert to be called with FFRAND; i.e. from anotherKjell Wooding
function. While here, tighten whitespace.
2008-06-13Prevent -Wsign-compare warnings on LP64 systems. bz #1192, ok deraadt@Darren Tucker
2008-06-13Remove mail-mode. It was a buggy reimplementation of auto-fill-mode.Kjell Wooding
If you use this, change your habits (and .mg) to use the following commands instead: mail-mode => auto-fill-mode mail-set-margin => set-fill-column ok henning@. Will also "fix" debian bug #460189
2008-06-13Fix debian bug #432656Kjell Wooding
'Prints root directory as "//" instead of "/" for root files.' Issue was with dirname, which strips the trailing slash, except when given "/". Wrap it in a cover function to fix. Also helps with portability to data-munging dirname glibc.
2008-06-13Fix autoexec file handling.Kjell Wooding
Two issues: *scratch* did not inherit any modes set from ~/.mg, as it was created too early. Switch to using *init* buffer until after autoexec, then kill it and inherit correct *scratch*. Second, -f should force the mode. Not toggle it. ok phessler@
2008-06-13rearrange on-disk structures to the top of the file, wrap kernel-onlyDamien Miller
parts in #ifdef _KERNEL; makes softraidvar.h usable from userland ok hshoexer@
2008-06-13When assembling an already initialized crytpo softraid, correctly copy inHans-Joerg Hoexer
mask key from userland. Thus, modify sr_crypto_get_kdf() do correclty handle copying kdf hint and/or mask key. While there, remove superflous sr_read_meta(). ok marco djm
2008-06-13Remove DEBUG #undef's we can turn it on/off in GENERIC like for allMarcus Glocker
other drivers.
2008-06-13Fix size and age field printing. The fields will now be printed with unitsCan Erkin Acar
instead of getting truncated.
2008-06-13remove rpc_auth_kerb variable, its now unused...Thordur I. Bjornsson
2008-06-13Friendlier error messages for mux fallback. ok djm@Darren Tucker
2008-06-13nuke a bunch of bogus ARGSUSED;Thordur I. Bjornsson
ok blambert@
2008-06-13pass the complete path to cvs_file_get_cf() instead of reconstructingJoris Vink
it again in that function.
2008-06-13Restore IDE_PCI_CLASS_OVERRIDE on SiI3512 SATA.Mats O Jansson
On socppc it has the subclass PCI_SUBCLASS_MASS_STORAGE_MISC so without the quirk socppc will not find its disk. -moj
2008-06-13550 is fatal, don't bother retrying.Marc Espie
Problem found by Martynas Venckus, fix by me.
2008-06-13Include unistd.h for close(), prevents warnings in -portableDarren Tucker
2008-06-13correction from Tamas TEVESZ;Jason McIntyre
2008-06-13Clear key options in the monitor on failed authentication, preventsDarren Tucker
applying additional restrictions to non-pubkey authentications in the case where pubkey fails but another method subsequently succeeds. bz #1472, found by Colin Watson, ok markus@ djm@
2008-06-13compile on older gcc; no decl after codeTheo de Raadt
2008-06-13compile on older gcc; no decl after codeTheo de Raadt