summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Take contrib/openbsm/etc configuration files off the vendor branch inrwatson2006-03-265-0/+5
| | | | | | | | order to add $FreeBSD$ tags, which helps mergemaster better manage updating them. Requested by: several Obtained from: TrustedBSD Project
* Explicitly assert socket pointer is non-NULL in tcp_input() so as torwatson2006-03-263-14/+16
| | | | | | | | | provide better debugging information. Prefer explicit comparison to NULL for tcpcb pointers rather than treating them as booleans. MFC after: 1 month
* Increase debug level for "Thread exiting." message. It's not that importantpjd2006-03-251-1/+1
| | | | | | and is 0 by accident. MFC after: 3 days
* The removal of CIRCLEQ left four queue macros. One sentence was missedemaste2006-03-251-1/+1
| | | | | | | | in the man page update. PR: docs/94938 Submitted by: Ed Schouten <ed@fxq.nl> MFC After: 3 days
* Get the MK_FOO column rightphk2006-03-251-2/+2
|
* Loopback pf_norm.c rev. 1.106 from OpenBSD:mlaier2006-03-251-4/+22
| | | | | | | | fixup IP checksum when modifying IP header fields PR: kern/93849 Obtained from: OpenBSD MFC after: 3 days
* In at_setsockaddr(), assert that ddp != NULL, rather than returning anrwatson2006-03-251-3/+2
| | | | error if it's NULL, as so_pcb != NULL is now an invariant.
* Move the check for non-ATIO_CMD ahead of the cache chech so thatmjacob2006-03-251-9/+10
| | | | | | | completion for unsupported commands doesn't abort. Reviewed by: nate MFC after: 2 weeks
* Rework IPX/SPX socket and pcb reference model:rwatson2006-03-254-92/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | - Introduce invariant that all IPX/SPX sockets will have valid so_pcb pointers to ipxpcb structures, and that for SPX, the control block pointer will always be valid. Don't attempt to free the socket or pcb at various odd points, such as disconnect. - Add a new ipxpcb flag, IPXP_DROPPED, which will be set in place of freeing PCB's so that this invariant can be maintained. This flag is now checked instead of a NULL check in various socket protocol calls. - Introduce many assertions that this invariant holds. - Various pieces of code, such as the SPX timer code, no longer needs to jump through hoops in case it frees a PCB while running. - Break out ipx_pcbfree() from ipx_pcbdetach(). Likewise spx_pcbdetach(). - Comment on some SMP-related limitations to the SPX code. - Update copyrights. MFC after: 1 month
* Restructure spx_attach() to properly free memory in the event that onerwatson2006-03-251-21/+32
| | | | | | | | | | of its allocations fails. Allocate the ipxp last so as to avoid having to free it if another allocation goes wrong. Normalize retrieval of ipxp and cb from socket in spx_sp_attach(), and add assertions. MFC after: 1 month
* Don't bother restoring host byte order of mbuf fields when we're justrwatson2006-03-251-3/+0
| | | | | | about to free the mbuf in the spx_input() error path. MFC after: 1 month
* In spx_ctloutput(), acquire the ipxp lock around read operations,rwatson2006-03-251-15/+25
| | | | | | | | especially reads of spx header structures, which will now be cached in the stack until they can be copied out after releasing the lock. Panic if a bad socket option direction is passed in by the caller. MFC after: 1 month
* Slight style reformatting of spx_timers() comments; panic if anrwatson2006-03-251-10/+12
| | | | | | unrecognized timer is passed into the function. MFC after: 1 month
* First steps towards IPSec cleanup.gnn2006-03-257-105/+257
| | | | | | | | | Make the kernel side of FAST_IPSEC not depend on the shared structures defined in /usr/include/net/pfkeyv2.h The kernel now defines all the necessary in kernel structures in sys/netipsec/keydb.h and does the proper massaging when moving messages around. Sponsored By: Secure Computing
* - Use ANSI C prototype.ume2006-03-253-152/+59
| | | | - Remove trailing space.
* Update build survey scriptsphk2006-03-255-197/+287
|
* Some fairly major changes to this driver.mjacob2006-03-257-530/+3102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A) Fibre Channel Target Mode support mostly works (SAS/SPI won't be too far behind). I'd say that this probably works just about as well as isp(4) does right now. Still, it and isp(4) and the whole target mode stack need a bit of tightening. B) The startup sequence has been changed so that after all attaches are done, a set of enable functions are called. The idea here is that the attaches do whatever needs to be done *prior* to a port being enabled and the enables do what need to be done for enabling stuff for a port after it's been enabled. This means that we also have events handled by their proper handlers as we start up. C) Conditional code that means that this driver goes back all the way to RELENG_4 in terms of support. D) Quite a lot of little nitty bug fixes- some discovered by doing RELENG_4 support. We've been living under Giant *waaaayyyyy* too long and it's made some of us (me) sloppy. E) Some shutdown hook stuff that makes sure we don't blow up during a reboot (like by the arrival of a new command from an initiator). There's been some testing and LINT checking, but not as complete as would be liked. Regression testing with Fusion RAID instances has not been possible. Caveat Emptor. Sponsored by: LSI-Logic.
* Don't cancel thread if it is in critical region.davidxu2006-03-251-1/+1
|
* Revert last delta, it breaks cross-compiles.ru2006-03-251-6/+2
|
* Add a driver for the new LSI MegaRAID SAS controller family. The 'MFI' namescottl2006-03-257-0/+2687
| | | | | | | | | | | | is derived from the phrase 'MegaRAID Firmware Interface' used by LSI. This driver provides a block interface to logical disks on the card and a minimal management device. It is MPSAFE, INTR_FAST, and 64-bit capable. Thanks to Dell for providing hardware to test with and IronPort for sponsoring the work. Sponsored by: Dell, Ironport MFC After: 3 days
* Only wake up writer if the lock is free.davidxu2006-03-251-2/+2
|
* Compile thr_rtld.cdavidxu2006-03-251-0/+1
|
* Add locking support for rtld.davidxu2006-03-254-4/+229
|
* Make gcore(1) 64 bit safe. It was trying to parse the /proc/*/map filepeter2006-03-251-3/+3
| | | | | | | | | using sscanf and truncating the start/end entries by writing them with a 32 bit int descriptor (%x). The upper bytes of the 64 bit vm_offset_t variables (for little endian machines) were uninitialized. For big endian machines, things would have been worse because it was storing the 32 bit value in the upper half of the 64 bit variable. I've changed it to use %lx and long types. That should work on all our platforms.
* fixed a potential memory leaksuz2006-03-241-1/+3
| | | | | Obtained from: KAME MFC after: 1 day
* Only set the size of /usr to whatever-is-left is whatever-is-left iscperciva2006-03-242-0/+2
| | | | | | | | greater than the size we autosized. Without this fix, systems with drives under 10GB can end up with very small /usr partitions... Broken since: January 2002 Tripped over by: simon
* Convert TINY_MIN_2POW from a cpp macro to tiny_min_2pow (a variable), andjasone2006-03-241-21/+37
| | | | | | | | | | | | | | | determine its value at run time according to other relevant values. This avoids the creation of runs that are incompletely utilized, as long as pagesize isn't too large (>32kB, given the current RUN_MIN_REGS_2POW setting). Increase the size of several structure bitfields in arena_run_t in order to avoid integer overflow in the case that a run's header does not overlap with the space that is usable as application allocation regions. Given the tiny_min_2pow change, this fix has no additional impact unless pagesize is >32kB. Reported by: kris
* Include kernel.h to get NET_NEEDS_GIANT() definition, which for somerwatson2006-03-241-0/+1
| | | | | | | reason compiled fine here. I may be running with other include file changes locally. MFC after: 3 days
* stop device so we don't panic on card removal when activesam2006-03-241-0/+1
| | | | MFC after: 3 days
* Change the -S and -t options to override each other so that the last onejhb2006-03-242-0/+10
| | | | specified wins to make their interaction less confusing.
* Fix a bug such that if you enabled sorting by size (-S) and enabled ajhb2006-03-241-4/+4
| | | | | | | | | flag to use a time other than modtime (-c, -u, or -U), the output would actually be sorted by the specified time rather than size. This does alter the behavior in the case where both -S and -t are specified. Now, -S is always preferred. Previously, -t was preferred if one of -c, -u, or -U was specified, and -S was preferred otherwise. Perhaps -S and -t should override each other (last one specified wins).
* Add a few more references to -U.jhb2006-03-241-4/+4
|
* Add a new -U flag to instruct ls to use the birthtime for printing orjhb2006-03-247-4/+49
| | | | | | | sorting. Submitted by: Andrzej Tobola ato at iem dot pw dot edu dot pl MFC after: 1 week
* fixed a memory leak when net.inet6.icmp6.nd6_maxqueuelen is greater than 1suz2006-03-241-4/+26
| | | | | Obtained from: KAME MFC after: 3 days
* Clean up and style(9) SPX code prior to significant functional changesrwatson2006-03-242-216/+258
| | | | | | | | | | | | | | being committed: - Wrap comments more evenly on right border. - Clean up braces. Also, along similar lines: - Assert some pointers are non-NULL before dereferencing them. - Remove one assertion that looks, on face value, poor. MFC after: 1 month
* When res_nquerydomain() returns SERVFAIL, we should try next domain.ume2006-03-242-5/+26
|
* For each of the voltages that a card might support, make sure that theimp2006-03-241-4/+4
| | | | | | | | | | socket also supports the voltage. Some XV cards have appeared on the scene (or cards that report they support XV), and in older machines that have sockets that do not support XV, we were bogusly trying to power them at XV rather than at 3.3V. Now, power up the card at the lowest voltage supported by both the card and the socket. MFC After: 3 days
* Skeleton support for the SSC device, which implements I2S interfaces,imp2006-03-242-0/+297
| | | | amoung others.
* Typesetting fix for -r1.137.mckusick2006-03-241-2/+4
| | | | | | | If a tail queue is empty the return value of TAILQ_LAST is not undefined, it is NULL. Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
* Skeleton PIO support.imp2006-03-242-0/+336
|
* Add the sekelton of support for the Power Management Controller.imp2006-03-243-0/+588
|
* Add rtc to files.at91imp2006-03-241-0/+1
|
* Add RTC support. This may be of dubious value since the RTC is resetimp2006-03-242-0/+333
| | | | to 1998 every reboot.
* Add explicit dependency on cam. This is necessary when both aha.ko andimp2006-03-242-0/+2
| | | | | | | | cam.ko are modules so that aha.ko's undefined symbols can be satisfied by cam.ko. Sumitted by: nork Reviewed by: scottl
* The year field is the 4 digit year (eg, 2006), not 'year - 1900' (egimp2006-03-241-1/+1
| | | | 106). Fix the comment to reflect this.
* Option MK_LIB32 only exists on amd64.ru2006-03-241-2/+6
|
* When res_send() fails, we should reserve an error code.ume2006-03-241-2/+2
|
* set an upper limit for thread structures which can be allocated.davidxu2006-03-241-1/+12
|
* Implement SIGEV_THREAD notification for aio_fsync.davidxu2006-03-241-18/+55
|
* 1. Move code for scanning pending I/O from aio_fsync to aio_aqueue,davidxu2006-03-241-77/+51
| | | | | it has less overhead. 2. Avoid scheduling task if maximum number of I/O threads is reached.
OpenPOWER on IntegriCloud