summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r263079:kib2014-03-191-1/+1
| | | | | The auio structure is only initialized when the vnode is symlink, avoid reading from it otherwise.
* Merge r259562,r259566,r259638,r259645,r260124 by melifaro:glebius2014-03-197-214/+351
| | | | | Switch netstat -rn to use standard API for retrieving list of routes instead of peeking inside in-kernel radix via kget.
* Merge r262747: remove extraneous ifa_ref()/ifa_free().glebius2014-03-191-9/+1
|
* MFC r263105, r263106:gjb2014-03-199-0/+639
| | | | | | | | | | | | r263105: Add hyperv manual pages provided by Microsoft, formatted for FreeBSD standards. Very little, if any, content was modified. r263106: Connect the hyperv driver manuals to the build. Sponsored by: The FreeBSD Foundation
* MFC r263021:bdrewery2014-03-191-0/+6
| | | | Support Last-Modified behind proxies which return UTC instead of GMT.
* Merge r263091: fix mbuf flags clash that lead to failure of operationglebius2014-03-184-23/+15
| | | | | | | of IPSEC and packet filters. PR: kern/185876 PR: kern/186755
* MFC r262741:mav2014-03-181-0/+1
| | | | Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately.
* MFC r262754: MFV r253848 (mm):delphij2014-03-1817-89/+498
| | | | Update vendor/xz from v5.0 branch to post-5.0.5
* MFC r262325:markj2014-03-181-1/+3
| | | | | Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened.
* MFC r259535:markj2014-03-182-13/+28
| | | | | | | | | | | | | | | | | The fasttrap fork handler is responsible for removing tracepoints in the child process that were inherited from its parent. However, this should not be done in the case of a vfork, since the fork handler ends up removing the tracepoints from the shared vm space, and userland DTrace probes in the parent will no longer fire as a result. Now the child of a vfork may trigger userland DTrace probes enabled in its parent, so modify the fasttrap probe handler to handle this case and handle the child process in the same way that it would handle the traced process. In particular, if once traces function foo() in a process that vforks, and the child calls foo(), fasttrap will treat this call as having come from the parent. This is the behaviour of the upstream code. While here, add #ifdef guards to some code that isn't present upstream.
* MFC r263120:dim2014-03-172-20/+28
| | | | | | | | | | | Pull in r201021 from upstream libc++ trunk: Fix for PR18735 - self-assignment for map/multimap gives incorrect results in C++03 (Please note: that is an LLVM PR identifier, not a FreeBSD one.) Reported by: rakuco
* MFC r262676:delphij2014-03-171-1/+3
| | | | | | | | | | All callers of static method load_nvlist() in spa.c handles error case, so there is no reason to assert that we won't hit an error. Instead, just return that error to caller and have the upper layer handle it. Obtained from: FreeNAS Reported by: rodrigc Reviewed by: Matthew Ahrens
* MFC r262972:hselasky2014-03-171-0/+6
| | | | Ignore USB keyboard driver calls from critical sections.
* MFC r263107:davidxu2014-03-171-0/+1
| | | | | | | To avoid missing a chance to cancel thread, call _pthread_testcancel at the beginning of _sem_timedwait. Submitted by: Eric van Gyzen < eric at vangyzen dot net >
* MFC r263153, r263154:kevlo2014-03-172-14/+45
| | | | | | | | | - Similar to r246614, fix panic on removing urtwn(4). It happens because nodes are freed after the adapter is gone. - Reset the bit of the R92C_MCUFWDL associated with checksum report before loading firmware page. It may fix this problem: "urtwn0: timeout waiting for checksum report"
* Pull in r192123 from upstream llvm trunk (by Benjamin Kramer):dim2014-03-161-1/+1
| | | | | | | | | | | | | | | | X86: Fix type check. Just because an integer type is illegal doesn't mean it's i64. Fixes PR17495, where an i24 triggered this code. It's intended to optimize i64 loads on 32 bit x86. Fixes "Cannot select" fatal errors when building the audio/jack port with ALSA support turned on. This is a direct commit to stable/9 and stable/10, since head already has the commit as part of an upgrade to llvm/clang 3.4. Reported by: Radim Kolar <hsn@sendmail.cz> via http://llvm.org/bugs/
* MFC r262663:hselasky2014-03-151-6/+26
| | | | | - Make pointer easier to control when moving slowly. - Increase chance of vertical scrolling as vertical scrolling is used more often.
* MFC r261421jhibbits2014-03-153-0/+666
| | | | | Add driver for the ADT7460/ADT7467 fan controller found in later PowerBooks and iBooks. Original work by andreast.
* MFC r261422jhibbits2014-03-141-1/+1
| | | | | | | Make gas accept any PowerPC instruction by default. This is a local change, and will not be submitted upstream. Discussed with: nwhitehorn,rdivacky
* MFChselasky2014-03-141-10/+149
| | | | Sync usb.conf file to head branch.
* MFC r262550, r262551 and r262554:hselasky2014-03-141-13/+180
| | | | Add support for kqfilter to USB character devices.
* MFC r262886:mav2014-03-142-7/+12
| | | | | | | | | | | Fix support for increased logical sector size (4K-native drives). - Logical sector size is measured in words, not bytes. - If physical sector is not bigger then logical sector, it does not mean it should be set equal to 512 bytes, but set to logical sector. PR: misc/187269 Submitted by: Ravi Pokala <rpokala@panasas.com>
* MFC r262547jhibbits2014-03-141-4/+24
| | | | Fix callchain capture for hwpmc(4). While here, some style(9) fixes, too.
* MFC r262530jhibbits2014-03-141-1/+1
| | | | Add missing file to Makefile
* MFC r262577: MFV r262570:delphij2014-03-141-4/+11
| | | | 4626 libzfs memleak in zpool_in_use()
* MFC r262572:delphij2014-03-143-5/+3
| | | | | | | | Get rid of the 'chan' from softc structure and use the latter directly as sleep channel. PR: kern/174684 Submitted by: jmg
* MFC r261342jhibbits2014-03-1410-42/+828
| | | | | | | | | | Add hwpmc(4) support for the PowerPC 970 class processors, direct events. This also fixes asserts on removal of the module for the mpc74xx. The PowerPC 970 processors have two different types of events: direct events and indirect events. Thus far only direct events are supported. I included some documentation in the driver on how indirect events work, but support is for the future.
* MFC r262540:eadler2014-03-132-253/+202
| | | | | | r262540 | eadler | 2014-02-26 19:52:34 -0500 (Wed, 26 Feb 2014) | 2 lines I had some unrelated (wrong) changes to makewhatis. Undo them.
* MFC r262539:eadler2014-03-133-202/+275
| | | | | | linprocfs: add support for /sys/kernel/random/uuid PR: kern/186187
* MFC r262220:bdrewery2014-03-131-1/+1
| | | | | | Add missing Save Cursor support for VT520 PR: conf/174937
* Merge r256514:glebius2014-03-121-0/+2
| | | | | | - While we are spreading the counter(9) across network stack, more userland tools would need to know about the counter_u64_t type. Allow to include sys/counter.h from userspace.
* Bulk sync of pf changes from head, in attempt to fixup broken build Iglebius2014-03-1231-199/+341
| | | | | | | | | made in r263029. Merge r257186,257215,257349,259736,261797. These changesets split pfvar.h into several smaller headers and make userland utilities to include only some of them.
* MFC r262732:hselasky2014-03-122-0/+2
| | | | | | Add new quirk. PR: usb/187188
* MFC r262795:hselasky2014-03-121-5/+12
| | | | | | - Temporary fix for race in RUN driver which can cause freed memory to be accessed. - Properly lock callout_reset()'s.
* MFC r262477:hselasky2014-03-121-8/+17
| | | | Updates for WSP driver.
* MFC: r261710brueffer2014-03-121-1/+1
| | | | | | | | Only count table lookups when we're actually processing packets. PR: 183462 Submitted by: Sven-Thorsten Dietrich <thebigcorporation at gmail.com> Reviewed by: bms
* MFC r262789, r262847:mav2014-03-121-86/+1
| | | | | | | | | Remove custom bus scanner code and fix use of CAM's default scanner. This fixes kernel panic during boot, caused by incompatibility of recent CAM locking changes and this bus scanner code. Submitted by: Microsoft
* MFC r262417, r262439, r262454, r262455 and r262478:hselasky2014-03-122-1152/+1586
| | | | | - Several updates and improvements to ATP driver. - Start effort merging WSP and ATP driver.
* MFC of 263041, tzdata2014a:edwin2014-03-115-38/+78
| | | | | | - Fix historical info about asia/Zion, Ukraine - Fiji starts DST at 02:00 instead of 03:00 - Turkey will move to DST at 31 March this year.
* Merge r261882, r261898, r261937, r262760, r262799:glebius2014-03-115-56/+81
| | | | | | | | | | | | | | Once pf became not covered by a single mutex, many counters in it became race prone. Some just gather statistics, but some are later used in different calculations. A real problem was the race provoked underflow of the states_cur counter on a rule. Once it goes below zero, it wraps to UINT32_MAX. Later this value is used in pf_state_expires() and any state created by this rule is immediately expired. Thus, make fields states_cur, states_tot and src_nodes of struct pf_rule be counter(9)s.
* MFC 261030:jhb2014-03-113-4/+27
| | | | | Similar to cap_mkdb(1), add endianness support to services_mkdb(1) to support cross-builds once this is invoked during releases.
* Merge r261029: remove NULL pointer dereference.glebius2014-03-111-1/+0
|
* Merge r261028: fix resource leak and simplify code for DIOCCHANGEADDR.glebius2014-03-111-24/+18
|
* Merge r261169: Fix compilation with IGB_LEGACY_TX defined.glebius2014-03-111-0/+2
| | | | PR: 185909
* MFC r257847, r260243: Update aacraid to version 3.2.5.achim2014-03-114-160/+623
| | | | Approved by: emaste (co-mentor)
* MFC 261243:jhb2014-03-111-0/+16
| | | | | | | | | | | | | Some BIOSes incorrectly use standard memory resource ranges to list the memory ranges that they decode for downstream devices rather than creating ResourceProducer range resource entries. The result is that we allocate the full range to the PCI root bridge device causing allocations in child devices to all fail. As a workaround, ignore any standard memory resources on a PCI root bridge device. It is normal for a PCI root bridge to allocate an I/O resource for the I/O ports used for PCI config access, but I have not seen any PCI root bridges that legitimately allocate a memory resource.
* r262400,r262401,r262418bapt2014-03-113-148/+84
| | | | Sync pkg(7) with head
* MFC: r262398,r262399,r262410,r262975bapt2014-03-1150-0/+10280
| | | | | | | | | | | | | | Import libucl into head UCL is heavily infused by nginx configuration as the example of a convenient configuration system. However, UCL is fully compatible with JSON format and is able to parse json files. UCL is used by pkg(8) for its configuration file as well for the manifest format in packages, it will be used in base for the pkg boostrap (signature checking and configuration file parsing.) libucl has been developped and is maintained by vsevolod@
* MFC r262020:jhay2014-03-111-0/+2
| | | | | | | | | | | | | Make it possible to use the env kernel config file option for AVILA and CAMBRIA boards that does not use loader to load the kernel. This is basically how it was done for i386. This way tunables can also be set. For example in config file: env "/conf/AVILA.env" And in AVILA.env: vfs.unmapped_buf_allowed=0
* MFC r262036jhay2014-03-111-1/+1
| | | | | etcupdate should use the src tree from where the release is built, not the default (/usr/src) tree.
OpenPOWER on IntegriCloud