summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Chase ZFS v13 import changes.bland2009-06-091-1/+2
| | | | | | | This is a temporary fix until we find a way to avoid fstat to be broken each time we change the znode. Approved by: lulf
* - Fix sanity check of GIFSOPTS ioctl.hrs2009-06-092-6/+6
| | | | | | - Rename option mask s/GIF_FULLOPTS/GIF_OPTMASK/ Spotted by: Eygene Ryabinkin, delphij
* Add line width calculations for 15/16 and 24/32 bit modes in casedelphij2009-06-091-0/+8
| | | | | | | | | | the "Get Scan Line Length" function fails, as it does in Parallels (in Version 2.2, Build 2112 at least). PR: i386/127367 Obtained from: DragonFly Submitted by: Pedro Giffuni MFC after: 1 month
* MFV of tzdata2009i:edwin2009-06-091-2/+45
| | | | | | Bangladesh will go into DST on 20 June. MFC after: 2 days
* Fix compile time warning on sparc64, thanks to strict kobj signatures checking.ariff2009-06-081-10/+9
| | | | Noticed by: bz
* Add self, list mentor in committers-src.dotnp2009-06-081-0/+2
| | | | Approved by: gnn (mentor)
* Update vnet_net size guard information after r193731.bz2009-06-081-7/+7
|
* Reflect debug level changes from the recent ACPICA import.jkim2009-06-081-7/+6
|
* Fix an off by one error when we limit append/prepend text sizes based on ourbrian2009-06-081-5/+15
| | | | | | | | | | | internal buffer sizes. When we 'append', assume we're appending to text. Some MS dhcp servers will give us a string with the length including the trailing NUL. when we 'append domain-name', we get something like "search x.y\000 z" in resolv.conf :( MFC after: 1 week Security: A buffer overflow (by one NUL byte) was possible.
* Simply shared vnode locking and extend it to also include fsync.ps2009-06-084-6/+16
| | | | | | | Also, in vop_write, no longer assert for exclusive locks on the vnode. Reviewed by: jhb, kmacy, jeffr
* purge dead codesam2009-06-081-29/+0
|
* fix big-endian machinessam2009-06-081-4/+4
|
* Add myself.tuexen2009-06-081-0/+3
| | | | Approved by: rrs (mentor)
* Remove redundant checks for ACPI_WAIT_FOREVER cases.jkim2009-06-081-4/+0
|
* Use proper types in kbdmux_kbd_getc():ed2009-06-081-2/+2
| | | | | | | | - The return value should be a signed integer, because -1 means failure. - The c variable should be unsigned, to force it to be zero-extended when returned. Reported by: Andreas Tobler <andreast-list fgznet ch>
* Rewrite OsdSynch.c to reflect the latest ACPICA more closely:jkim2009-06-085-274/+446
| | | | | | - Implement ACPI semaphore (ACPI_SEMAPHORE) with condvar(9) and mutex(9). - Implement ACPI mutex (ACPI_MUTEX) with mutex(9). - Implement ACPI lock (ACPI_SPINLOCK) with spin mutex(9).
* Remove two unneeded, hidden includes.bz2009-06-081-2/+0
|
* After r193232 rt_tables in vnet.h are no longer indirectly dependent onbz2009-06-0865-84/+15
| | | | | | | | | the ROUTETABLES kernel option thus there is no need to include opt_route.h anymore in all consumers of vnet.h and no longer depend on it for module builds. Remove the hidden include in flowtable.h as well and leave the two explicit #includes in ip_input.c and ip_output.c.
* Commit missed driver_info to driver_ivar change in usb_attach_args.thompsa2009-06-081-2/+2
| | | | Pointed out by: kib
* Fix nfscl_getcl() so that it doesn't crash when it is called tormacklem2009-06-081-20/+29
| | | | | | | do an NFSv4 Close operation with the cred argument NULL. Also, clarify what NULL arguments mean in the function's comment. Approved by: kib (mentor)
* Revert my change; reintroduce __gnu89_inline.ed2009-06-084-3/+9
| | | | | | | | | It turns out our compiler in stable/7 can't build this code anymore. Even though my opinion is that those people should just run `make kernel-toolchain' before building a kernel, I am willing to wait and commit this after we've branched stable/8. Requested by: rwatson
* Change driver_info to a ulong as it always stores a number and remove the onlythompsa2009-06-082-5/+6
| | | | | | diff of the usb_device_id struct to Linux. Reviewed by: HPS
* Remove __gnu89_inline.ed2009-06-084-9/+3
| | | | | | | | | Now that we use C99 almost everywhere, just use C99-style in the pmap code. Since the pmap code is the only consumer of __gnu89_inline, remove it from cdefs.h as well. Because the flag was only introduced 17 months ago, I don't expect any problems. Reviewed by: alc
* Introduce an infrastructure for dismantling vnet instances.zec2009-06-0837-36/+526
| | | | | | | | | | | | | | | | | | | | | | | | | Vnet modules and protocol domains may now register destructor functions to clean up and release per-module state. The destructor mechanisms can be triggered by invoking "vimage -d", or a future equivalent command which will be provided via the new jail framework. While this patch introduces numerous placeholder destructor functions, many of those are currently incomplete, thus leaking memory or (even worse) failing to stop all running timers. Many of such issues are already known and will be incrementaly fixed over the next weeks in smaller incremental commits. Apart from introducing new fields in structs ifnet, domain, protosw and vnet_net, which requires the kernel and modules to be rebuilt, this change should have no impact on nooptions VIMAGE builds, since vnet destructors can only be called in VIMAGE kernels. Moreover, destructor functions should be in general compiled in only in options VIMAGE builds, except for kernel modules which can be safely kldunloaded at run time. Bump __FreeBSD_version to 800097. Reviewed by: bz, julian Approved by: rwatson, kib (re), julian (mentor)
* Clean up FreeBSD-specific header file:jkim2009-06-081-6/+3
| | | | | | - Define ACPI_USE_DO_WHILE_0 to add do while(0) around return_*() macros. - Define __cdecl only for user land. It will never be used in kernel. - Remove __cli() and __sti(). They were deprecated long ago.
* Now that amd64's kernel map is 512GB (SVN rev 192216), there is no reasonalc2009-06-081-9/+0
| | | | | | to cap its buffer map at 1GB. MFC after: 6 weeks
* Change the printf format string to match the variable type to quietjhb2009-06-081-2/+2
| | | | warnings.
* Move zombie-reaping code out of kern_wait() and into its own function,rwatson2009-06-081-106/+121
| | | | | | | proc_reap(). Reviewed by: jhb MFC after: 3 days Sponsored by: Google, Inc.
* Code using COMPAT_ROUTE_FLAGS option, introduced with r187094,bz2009-06-081-1/+0
| | | | | was changed again in r187328, removing any use of the option from the kernel. The option was never in NOTES. Garbage collect.
* Instead of packing the individual fields in the PnP structures, pack thejhb2009-06-081-26/+26
| | | | | | | entire structures. This trims some warnings. Verified by: md5(1) MFC after: 1 week
* Don't attempt to free the GPT partition list for a disk with an empty GPT.jhb2009-06-081-2/+3
| | | | | Submitted by: Yuri Pankov yuri.pankov of gmail MFC after: 3 days
* Update vimage size guard values but do not yet re-enable them.bz2009-06-081-34/+22
| | | | | | | | Now that rt_tables does no longer change depending on kernel option we do no longer need any special values for LINT. The updated values will be used to make sure that an upcoming opt_route.h cleanup will not again show any side effects.
* Add another PCI id for Nvidia nForce MCP67, found in several Acer laptops.ariff2009-06-082-0/+2
|
* Permit the specification of bandwidth values withinluigi2009-06-082-40/+72
| | | | | | | | | "profile" files (bandwidth is mandatory when using a profile, so it makes sense to have everything in one place). Update the manpage accordingly. Submitted by: Marta Carbone
* Do not dereference vp->v_rdev without holding any of dev_mtx or vnodekib2009-06-081-8/+20
| | | | | | | lock. Use code similar to devfs_fp_check(), but inlined to feet other checks performed by ttyhook_register(). Reviewed by: ed
* Invalidate cache in pmap_remove_all() on ARM.raj2009-06-081-0/+12
| | | | | | | | | | When pages are removed from virtual address space by calling pmap_remove_all() CPU caches were not invalidated, which led to read corruption when another page got mapped at this same virtual address at later time (the CPU was retrieving stale contents). Submitted by: Piotr Ziecik Obtained from: Semihalf
* add a missing format in a printfluigi2009-06-081-1/+1
| | | | | | Detected building with gcc 4.3.3 MFC after: 3 days
* Fix powerpc build failure due to strict kobj signatures checking.ariff2009-06-082-6/+6
|
* [patch] [locale] German locales use old %d.%m.%y date format instead of ↵edwin2009-06-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | newer ISO date From the submitter: DIN 5008 (German norm for text processing) defines the old date format (%d.%m.%Y) to be obsolete and to be used only, if unambigous. In international communications the new format (%Y-%m-%d) is now required and FreeBSD should respect this. References: - DIN 5008 - EN 28 601 - ISO 8601 Thanks to Oliver Lietz for bringing this to my attention. PR: conf/72076 Submitted by: Peter Wullinger <some-mail-drop@gmx.net> MFC after: 1 week
* Add notes on various SND_* options.ariff2009-06-081-0/+36
|
* Do not attempt to set source address on outgoing messageskan2009-06-081-2/+2
| | | | on UDP socket if we do not have a valid IP address.
* Fix grammar.jkoshy2009-06-081-1/+1
| | | | Submitted by: richardtoohey at paradise dot net dot nz on -doc
* do not strip M_MORE_DATA on packets coming through ieee80211_start;sam2009-06-081-3/+4
| | | | | | frames coming out of the ps q may have this set and removing it causes the 802.11 header to not indicate more frames follow which can result in the sta going to sleep and missing them
* The change r192913 has added dependency on IP_RECVDSTADDR beingkan2009-06-081-0/+7
| | | | | | set for RPC UDP sockets. Mountd uses internal libc fuctions directly and bypasses generic socket initialization completely, so we need to set IP_RECVDSTADDR here to match the libc behavior.
* Make the size (-s) and start (-b) parameters of the add verb optional.marcel2009-06-081-2/+126
| | | | The missing parameter(s) are automatically filled-in.
* Fix build on sparc64.ariff2009-06-071-1/+1
| | | | Pointy hat: ariff@
* prefer callout_schedulesam2009-06-071-2/+1
|
* use c99-style initializerssam2009-06-071-7/+7
|
* Fix and add a workaround on an issue of EtherIP packet with reversedhrs2009-06-079-17/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version field sent via gif(4)+if_bridge(4). The EtherIP implementation found on FreeBSD 6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 had an interoperability issue because it sent the incorrect EtherIP packets and discarded the correct ones. This change introduces the following two flags to gif(4): accept_rev_ethip_ver: accepts both correct EtherIP packets and ones with reversed version field, if enabled. If disabled, the gif accepts the correct packets only. This flag is enabled by default. send_rev_ethip_ver: sends EtherIP packets with reversed version field intentionally, if enabled. If disabled, the gif sends the correct packets only. This flag is disabled by default. These flags are stored in struct gif_softc and can be set by ifconfig(8) on per-interface basis. Note that this is an incompatible change of EtherIP with the older FreeBSD releases. If you need to interoperate older FreeBSD boxes and new versions after this commit, setting "send_rev_ethip_ver" is needed. Reviewed by: thompsa and rwatson Spotted by: Shunsuke SHINOMIYA PR: kern/125003 MFC after: 2 weeks
* Decouple the i386 native and i386 Xen APIC definitions a little further.adrian2009-06-071-4/+22
| | | | | | I'm experimenting locally with xen APIC emulation a bit and this makes it easier to migrate APIC entries between being bitmapped and not being bitmapped.
OpenPOWER on IntegriCloud