summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate unneeded headers.delphij2011-06-212-3/+0
|
* Remove unneeded headers.delphij2011-06-212-6/+0
| | | | MFC after: 2 weeks
* Staticify cleanup() which is not referenced in other places.delphij2011-06-211-1/+1
| | | | MFC after: 2 weeks
* Fix the new NFSv4 server so that it checks for VREAD_ACL whenrmacklem2011-06-211-6/+16
| | | | | | | a client does a Getattr for an ACL and not VREAD_ATTRIBUTES. This was found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* Make ``realpath'' behave like ``realpath .''.ru2011-06-212-11/+15
|
* Minor whitespace and style fixes.jhb2011-06-211-3/+4
|
* Use AcpiWalkResources() to parse the resource list from _CRS rather thanjhb2011-06-212-336/+282
| | | | | | | using a home-rolled loop. While here, add support for 64-bit address range resources. Silence on: acpi@ (older version)
* Change sparc64 to use the initial exec TLS model, too. This avoids randommarius2011-06-211-1/+1
| | | | assertion failures in _malloc_thread_cleanup().
* Minor cleanups to ulog-helper:ed2011-06-212-16/+12
| | | | | | | | | | | | - Remove unneeded linking against libmd. libulog depends on this library, but the ulog-helper tool itself does not. - Change the comment at the top to mention utmpx instead of utmp, wtmp and lastlog. - Simply use user_from_uid() to translate to a username string. - Put variable declarations together.
* Use a non-standard page size that is supported.alc2011-06-211-1/+1
|
* When user specifies the bootcode with size smaller than VTOC_BOOTCODE,ae2011-06-211-1/+4
| | | | | | | | gpart_write_partcode_vtoc8 does access out of range of allocated memory. Check size of bootcode before writing it. Pointed out by: ru MFC after: 1 week
* Garbage collect never used global, sysctl, externs.bz2011-06-212-8/+0
| | | | MFC after: 1 week
* Do not use SET_HOST_IPLEN() macro for IPv6 packets.ae2011-06-212-3/+3
| | | | | PR: kern/157239 MFC after: 2 weeks
* Mod the offset padding by alignment. Without this change we maydelphij2011-06-211-2/+2
| | | | | | pad too much when underlying GEOM object have a zero stripesize. MFC after: 1 month
* The "size" param needs no adjusting to stripeoffset.ae2011-06-211-2/+2
| | | | Reported by: Kris Moore
* When we see an interrupt status of 0xffffffff, check to see if theimp2011-06-211-2/+3
| | | | | | child is still present. If not, return 'handled' and don't print anything (this is expected behavior). We expect an interrupt on eject, power-down and/or shutdown.
* Mark the card as bad on shutdown. This means that bus_child_presentimp2011-06-211-0/+6
| | | | | will return false on shutdown and massive spewage from usb disappears for usb cardbus adapters.
* Eliminate some global tuneables in favor of adapter-specific,jfv2011-06-202-63/+125
| | | | | | | | | | | | particular flow control and dma coalesce. Also improve the sysctl operation on those too. Add IPv6 detection in the ioctl code, this was done for ixgbe first, carrying that over. Add resource ability to disable particular adapter. Add HW TSO capability so vlans can make use of TSO
* Fix the new NFSv4 server so that it only allows Lookup ofrmacklem2011-06-201-2/+10
| | | | | | | | directories and symbolic links when traversing non-exported file systems. Found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* Fix the new NFSv4 server so that it allows Access and Readlinkrmacklem2011-06-201-0/+2
| | | | | | | | operations while traversing non-exported file systems. This is required for some non-FreeBSD clients to do NFSv4 mounts. Found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* As astopgap minimize the sched_lock coverage in pmap_activate() in ordermarius2011-06-201-4/+4
| | | | to reduce lock contention.
* - Remove MD usage of pc_cpumask and pc_other_cpus. [1]marius2011-06-203-16/+15
| | | | | | - Remove CTASSERTs which no longer need to hold since r222813. Submitted by: attilio [1]
* Add global -d and -e options to either print device numbersbz2011-06-207-39/+161
| | | | | | | | | | (usually default) or enclosure:slot information as (Exx:Sxx) or both. Discussed with: jhb Reviewed by: jhb Sponsored by: Sandvine Incorporated MFC after: 1 week
* Revert r214857 pursudant to 9.0-RELEASE cycle.delphij2011-06-202-11/+3
| | | | Requested by: jh
* Correct a typo.delphij2011-06-201-1/+1
| | | | | Submitted by: Fabian Keil <fk fabiankeil de> MFC after: 3 days
* Add missing argument for -h in usage.kuriyama2011-06-201-1/+1
|
* Leave an extra comment about flowtable and IPv6 support rectifying abz2011-06-201-0/+1
| | | | | | previous comment. MFC after: 1 week
* Change the way how we update bootcode for BSD scheme.ae2011-06-201-13/+12
| | | | | | | | | Since the only parameter that we check is size of bootcode, then allow only two sizes: size of boot1 and size of /boot/boot. This partially protects users from losing ability to boot if incorrect bootcode is specified. Requested by: ru
* Add a callback for ADDBA response timeouts.adrian2011-06-202-0/+21
| | | | | | | | | | | | TX for the given TID needs to be paused during ADDBA requests (and unpaused once the session is established.) Since net80211 currently doesn't implement software aggregation, if this pause/unpause is done in the driver (as it is in my development branch) then it will need to be unpaused both on ADDBA response and on ADDBA timeout. This callback allows the driver to unpause TX for the relevant TID. Reviewed by: bschmidt
* Merge tnftp-20100108 from the vendor branch into head.gavin2011-06-2074-36578/+5419
|\ | | | | | | | | PR: bin/112288 bin/120256 bin/129014 bin/145528 MFC after: 1 month
| * Vendor import of tnftp-20100108.gavin2011-06-19116-11032/+73794
| |
| * Bootstrap lukemftp vendor areagavin2011-06-1935-0/+0
| |
* | Fix a KASSERT from r212803 to check the correct length also in case ofbz2011-06-201-1/+8
| | | | | | | | | | | | | | | | IPsec being compiled in and used. Improve reporting by adding the length fields to the panic message, so that we would have some immediate debugging hints. Discussed with: jhb
* | - Fix directory count rollbacks by passing the mode to the journal depjeff2011-06-203-47/+163
| | | | | | | | | | | | earlier. - Add rollback/forward code for frag and cluster accounting. - Handle the FREEDEP case in softdep_sync_buf(). (submitted by pho)
* | Work/hack around some race conditions present in the hardware/HV interface.nwhitehorn2011-06-201-14/+33
| | | | | | | | Partially inspired by a patch from glevand (geoffrey.levand@mail.ru).
* | Make this slightly less yelly about regions that the hypervisor protectsnwhitehorn2011-06-201-2/+10
| | | | | | | | from us by not registering them as disks.
* | Add an OHCI driver to complement the EHCI one. The infrastructure to attachnwhitehorn2011-06-202-0/+171
| | | | | | | | | | both to the parent ps3bus was in r223313. This driver itself comes from the ps3 project branch.
* | Driver for PS3's internal hard disk. Hopefully this can be CAM-ified innwhitehorn2011-06-204-22/+1069
| | | | | | | | | | | | | | | | the future, but presents a set of simple block devices for now. With (forthcoming) boot loader support or vfs.root.mountfrom, allows booting PS3s from disk. Submitted by: glevand <geoffrey.levand@mail.ru>
* | Fix a number of places where the new NFS server did notrmacklem2011-06-191-4/+15
| | | | | | | | | | | | | | | | | | | | | | lock the mutex when manipulating rc_flag in the DRC cache. This is believed to fix a hung server that was reported to the freebsd-fs@ list on June 9 under the subject heading "New NFS server stress test hang", where all the threads were waiting for the RC_LOCKED flag to clear. Tested by: jwd at slowblink.com MFC after: 2 weeks
* | Blah, forgot to svn add the actual script from r223310dougb2011-06-191-0/+97
| |
* | Add the netwait rc.d script. It waits for the specified period for thedougb2011-06-194-3/+66
| | | | | | | | | | | | | | network to become active. PR: conf/151063 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
* | Fix the kgssapi so that it can be loaded as a module. Currentlyrmacklem2011-06-1910-69/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | the NFS subsystems use five of the rpcsec_gss/kgssapi entry points, but since it was not obvious which others might be useful, all nineteen were included. Basically the nineteen entry points are set in a structure called rpc_gss_entries and inline functions defined in sys/rpc/rpcsec_gss.h check for the entry points being non-NULL and then call them. A default value is returned otherwise. Requested by rwatson. Reviewed by: jhb MFC after: 2 weeks
* | Copy lukemftp to its new home, tnftp. I'm doing this in stages so as togavin2011-06-1934-0/+24972
| | | | | | | | not confuse the CVS exporter.
* | Precisely document the synchronization rules for the page's dirty field.alc2011-06-193-10/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | (Saying that the lock on the object that the page belongs to must be held only represents one aspect of the rules.) Eliminate the use of the page queues lock for atomically performing read- modify-write operations on the dirty field when the underlying architecture supports atomic operations on char and short types. Document the fact that 32KB pages aren't really supported. Reviewed by: attilio, kib
* | Add support for using mtree(5) manifest files to define the imagemarcel2011-06-197-18/+1111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be created. The support is based on mtree version 2.0, as used in libarchive, but adds new features on top of it. The current implementation is fully functional, but is envisioned to grow at least the following additional features over time: o Add support for the /include special command so that manifest files can be constructed using includable fragments. o Add support specifying a search path to locate content files. o Content file filters: commands that provide file contents on stdout. The manifest file eliminates the need to first construct a tree as root in order to create an image and allows images (releases) to be created directly from object trees and/or source trees. Reviewed by: deo Sponsored by: Juniper Networks, Inc
* | In the libm access macros for the double type, z can sometimeskargl2011-06-191-2/+1
| | | | | | | | | | | | | | | | be used uninitialized. This can lead to spurious exceptions and bit clobbering. Submitted by: bde Approved by: das (mentor)
* | rc.subr: Make sure all functions are under if [ -z "${_rc_subr_loaded}" ].jilles2011-06-191-2/+2
| |
* | Put a quick bandaid on internal citrus locking.kan2011-06-192-1/+3
| | | | | | | | | | The code is not quite right still, but it programs from deadlocking on themselves if one enables new citrus code by mistake.
* | Minimize backward seeks when trying to load ELF relocatable modules.kan2011-06-191-7/+30
| | | | | | | | | | | | Some of loader filesystems are very ill equipped to handle seeking backwards within the file. Namely, tftp requires trasfer to be restarted from the start of the file every time we go backwards.
* | Do not set thread name to less than informative 'initial thread'.kan2011-06-191-1/+0
| |
OpenPOWER on IntegriCloud