summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2008-06-13Fixed acpiec driver, _REG method required sc_ec member set before being calledJordan Hargrave
ok @marco
2008-06-13properly indent something horridly misleadingTheo de Raadt
2008-06-13Initialize the return value in pci_probe_device() function, so that we doTheo de Raadt
not randomly skip probing for devices after a missing device. ok kettenis
2008-06-13Use refresh interval for rate calculation instead of the broken elapsedCan Erkin Acar
time computation.
2008-06-13Remove slack space for RX/TX chains since it only covers sloppy coding.Brad Smith
From davidch @ FreeBSD
2008-06-13If you have #if FOO > 0 parts of your softc beJonathan Gray
sure to #include "foo.h" in all code that uses the softc, otherwise some object files will have a different idea of how big the softc struct is. This will result in things like part of the softc, say the interrupt handler being overridden by other data. Putting printfs in the main object file will look fine as it has the right idea as to what the size is. It is only after several hours debugging that you start to figure out what the hell is going on. jsing started trying to figure out the problem and got hints from kettenis that it likely wasn't an interrupt problem, after quite a bit of head scratching with joel I eventually spotted the problem. ok reyk@ jsing@
2008-06-13Better error messages. Include the function causing the problem and do notClaudio Jeker
include the program name in logmsg() plus exit_daemon() does not return so make it a void function. OK mpf@
2008-06-13sync the wireless list;Jason McIntyre
2008-06-13Simplify ROUNDUP() macro, it does not need the additional size argument.Claudio Jeker
That will be sizeof(long) no matter what.
2008-06-13Treat LINK_STATE_UNKNOWN as LINK_STATE_UP.Marco Pfatschbacher
This restores the old behaviour where we were checking for != LINK_STATE_DOWN. Fixes the ethernet to wireless failover feature and also allows trunk(4) to be used within qemu. Tested by sturm@. OK reyk@. "grumble, we should fix more drivers' link state handling" brad@
2008-06-13INADDR_PFSYNC_GROUP is defined as network byte order in the kernel butReyk Floeter
as host byte order in userland. ifconfig didn't get this and always printed the pfsync syncpeer on little endian machines because the check to prevent printing the default address assumed the wrong byte order. ok claudio@ rainer@
2008-06-13Cleanup a bit. Instead of doing dst = 0 in every error handling block initClaudio Jeker
it once at start instead.
2008-06-13remove a rather silly comment.Claudio Jeker
2008-06-13Let the kvm output of netstat grok rt priorities like the "normal" show code.Claudio Jeker
2008-06-13Remove duplicate function for string to integer conversion. ok jordan@Can Erkin Acar
2008-06-13Properly handle battery insertion/removalJordan Hargrave
ok @marco
2008-06-13D-Link DWA-111, from kevlo via FreeBSD.Jonathan Gray
2008-06-13Add myself to the copyright since i fumbled around in those files, too.Marcus Glocker
OK robert@