summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-25Initialize 'capacity' to 0 and use tabs to indent. "won't hurt" miod@.Kenneth R Westerback
2008-09-24remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok henning@ brad@
2008-09-24remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok ratchov@
2008-09-24remove unused functionCharles Longeau
from tobias@ ok otto@ tobias@
2008-09-24syncTodd T. Fries
2008-09-24enable /dev/xfs0 creation like other archs in the 'all' modeTodd T. Fries
yes, I know, afs on vax, who would want this?
2008-09-24Document dlclose() return value.Todd C. Miller
2008-09-24Fix a vr(4) panic that occurs under high load.Marco Pfatschbacher
If the RX path runs into an out of mbuf scenario, the code will leave the RX chain with a NULL'd mbuf-slot. We now always reassign a valid mbuf, even if m_devget() fails. OK brad@, thib@
2008-09-24remove duplicate command;Jason McIntyre
from Daniel Roethlisberge, documentation/5936;
2008-09-23One more uninitialized local. Yawn.Miod Vallat
2008-09-23Plug more uninitialized variables.Miod Vallat
2008-09-23+Philips SNU6500 to the uath(4) list;Jason McIntyre
2008-09-23sort the hardware list;Jason McIntyre
2008-09-23Do not merge userland map entries.Artur Grabowski
Imagine lots of random small mappings (think malloc(3)) and sometimes one large mapping (network buffer). If we've filled up our address space enough, the random address picked for the large allocation is likely to be overlapping an existing small allocation, so we'll do a linear scan to find the next free address. That next free address is likely to be just after a small allocation. Those two map entires get merged. If we now allocate an amap for the merged map entry, it will be large. When we later free the large allocation the amap is not truncated. All these are design decisions that made sense for sbrk, but with random allocations and malloc that actually returns memory, this really hurt us. This is the reason why certain processes like apache and sendmail could eat more than 10 times as much amap memory as they needed, eventually hitting the malloc limit and hanging or running the machine out of kmem_map and crashing. otto@ ok
2008-09-23Add Philips SNU6500 to the list of supported devices. Reminded by jsg@Can Erkin Acar
2008-09-23RFC2487 is obsoleted by RFC3207Alexander von Gernler
ok jmc@ millert@
2008-09-23syncCan Erkin Acar
2008-09-23Add IDs for Philips SNU6500 to uath(4) ok damien@Can Erkin Acar
2008-09-23Fix uninitialized variable.Miod Vallat
2008-09-23In pmap_steal_memory(), when a memory segment is completely allocated,Miod Vallat
remove it correctly from the array.
2008-09-23Fix uninitialized variable if the TOD clock value is horribly wrong.Miod Vallat
2008-09-23Fix uninitialized value.Miod Vallat
2008-09-23Rewrite two small sections of code in bge_blockinit() to simplify theBrad Smith
code. No functional change. ok krw@
2008-09-22ignore a type 6 event seen on my x200 when the ac adapter isjoshua stein
plugged in and removed
2008-09-22regenBrad Smith
2008-09-22Fix a typo.Brad Smith
2008-09-22Add PCI id's for the Intel ICH10 southbridge.Brad Smith
Based on a diff from Robert <robert at openbsd dot pap dot st>
2008-09-22Do not dereference an uninitialized pointer if a rogue, unknown type of boardMiod Vallat
is detected.
2008-09-22Do not return an uninitialized value on success in stclose().Miod Vallat
ok krw@
2008-09-22Make sure some possibly uninitialized local variables are assigned correctMiod Vallat
values in all cases. ok marco@
2008-09-22Do not use an uninitialized local for comparison in azalia_rirb_intr().Miod Vallat
While there, fix a bounds checking error in azalia_[gs]et_port(). ok deanna@ ratchov@
2008-09-22regenBrad Smith
2008-09-22Add PCI id's for the Intel G41, G45 and Q45 GPUs.Brad Smith
2008-09-22regenBrad Smith
2008-09-22- Add XenSource vendor id and SCSI HBA product id.Brad Smith
- Add some more Intel ICH9 product id's. Most of the Intel product id's are from Robert <robert at openbsd dot pap dot st>
2008-09-22Reorder PFSTATE_PFLOW define:Marco Pfatschbacher
It applies to state_flags, not to sync_flags. OK henning@, gollo@
2008-09-21Add missing splnet to the ioctl handler.Brad Smith
ok jsg@
2008-09-20document spamd log entry format; requested by Stephan A. RickauerJason McIntyre
ok beck
2008-09-19system/5918: fix clearing of ITIMER_VIRTUAL and ITIMER_PROF it_intervalDamien Miller
ok tedu@
2008-09-19adjust for MAXINTERP crank, pointed out by dkrause@Damien Miller
2008-09-19Perform the mvme197 latency timer reprogramming in the boot blocks, inMiod Vallat
addition to the kernel, and unconditionnaly handle all busswitch revision 1 based boards as horribly broken, even with 50MHz clocks. Based on an report of an early 50MHz 197LE board being unable to boot, due to memory corruption.
2008-09-19documentation tweaks; synchronize synopsis and usage.Igor Sobrado
written with help by jmc@ ok jmc@
2008-09-19Fix a bunch of problems and races with posix file locking.Artur Grabowski
- file descriptor table becomes the owner of the lock instead of the proc. - When grabbing the lock, we check if the fd hasn't changed under our feet, this is more or less impossible to solve without a hack like this. I've banged my head against the wall, I figured out a solution, but implementing it correctly would cost me 12 gray hairs. Screw it, this is ugly, but it works. - Wait until usecount drains before releasing the posix lock in closef. - Add missing FREF/FRELE to sys_flock - keep the pid in the flock struct instead of abusing the fact that we used to use the proc as the lock owner. Pointed out by and discussed with Al Viro, big thanks. miod@ ok
2008-09-19AES with keysize != 128 bit is not supported in hardware, so we needMarkus Friedl
to switch to the software implementation; ok hshoexer, tom
2008-09-19Merge printb() fix from ifconfig.c -r 1.157:Marco Pfatschbacher
Don't increment a pointer *before* testing it for NULL. OK canacar@
2008-09-19typoPierre-Yves Ritschard
spotted by uw at o3si dot de
2008-09-19fix some cause of bad TEXTREL on i386 and amd64Otto Moerbeek
- global function calls in .init sections (diff makes them via PLT) - calls to global functions in aes-586.S (made static or local) - global variable accesses in rc4-x86_64.S (now made via GOT) from djm@large; ok miod@
2008-09-19increase MAXINTERP from 64 to 128 and allow a little extra room on topDamien Miller
of that for shell scripts to cover the #!, an optional space following it and a newline at the end. feedback and ok miod@
2008-09-19While vaguely interesting, the prints coming out of the driver was way tooDale Rahn
noisy. Hopefully this will quiet it down for all but extremely odd cases (where we probably want to see the messages).
2008-09-19miod pointed out that some items were multiply defined (patched intoDale Rahn
existance too many times).