summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* MFC r262822:kevlo2014-03-111-2/+2
| | | | Fix a logic error when enabling MAC.
* MFC r262930rpaulo2014-03-111-3/+4
| | | | Call ieee80211_dump_pkt() based on IFF_DUMPPKTS().
* MFC: r262746, r262748, r262750, r262752jkim2014-03-106-18/+16
| | | | Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c.
* MFC r261535:markj2014-03-103-6/+29
| | | | | | | | | | Add support for MegaRAID Fury cards. The main change needed to boot from a 9341-4i controller was to ensure that scatter/gather lists are ended with an end-of-list marker. Both the mrsas and Linux megaraid_sas drivers use this marker with Invader cards as well, so we do the same thing, though it is apparently not strictly necessary. PR: 187312
* MFC r262890:eadler2014-03-103-8/+0
| | | | | libc man pages: Remove reference to non-existent FreeBSD Security Architecture
* MFC r262689:ache2014-03-091-2/+6
| | | | | | Add fetch and patch to .PHONY and .NOTMAIN only if PORTNAME is defined. Unconditional addition cause real fetch(1) and patch(1) programs are builded every time.
* MFC r262805:dim2014-03-092-5/+5
| | | | | | | | | | | | | | | Pull in r199848 from upstream libc++ trunk: Const qualify __mem_fn call operator QOI improvement. Differential Revision: http://llvm-reviews.chandlerc.com/D2059 This should help with building recent versions of Mesa. See also: https://bugs.freedesktop.org/show_bug.cgi?id=75505 Reported by: dumbbell
* Sync sh(1) in stable/10 to head.jmmv2014-03-09460-288/+907
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a MFC of all the commits listed below. My original goal of this change was to only merge the move of the tests from tools/regression/bin/ into the new layout (which include tests for sh(1) and other tools as well). However, doing so is tricky due to the ongoing work in sh(1) and, especially, the many changes to its tests since stable/10 was first branched. Merging everything is the simplest way to achieve this goal and, as a bonus point, we get various fixes and miscellaneous improvements into the branch. Per jilles' suggestion, I'm avoiding the merge of a couple of changes (r256850 and r257506) that required depending kernel changes. I'm also avoiding very recent changes that have not had a long enough time to be validated in current. This is "make tinderbox" clean. r256735 sh: Remove one syscall when waiting for a foreground job. r257399 sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&'. r257504 sh: Reorder union node to reduce its size on 64-bit platforms. r257920 sh: Add a test case for would-be assignments that are not due to quoting. r257929 sh: Properly quote alias output from command -v. r258489 sh: Add tests for the </dev/null implicit in a background command. r258533 sh: Add more tests for the </dev/null implicit in a background command. r258535 sh: Make <&0 disable the </dev/null implicit in a background command. r258776 sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro. r259047 sh: Split set -x output into a separate function. r259210 Migrate tools/regression/bin/ tests to the new layout. r259844 sh: Remove an unused variable. r259846 sh: Initialize OPTIND=1 even if it came from the environment. r259874 sh: Simplify code related to PPID variable. r259946 sh: Don't check input for non-whitespace if history is disabled. r260246 sh(1): Discourage use of -e. r260506 Run the sh(1) and test(1) tests as unprivileged. r260586 Mark the bin/pax tests as requiring perl. r260634 Use TAP_TESTS_PERL to register the legacy_test in bin/pax. r260635 Replace hand-crafted Kyuafiles with automatic generation. r260654 sh: Remove SIGWINCH handler and just check for resize before every read. r261121 sh: Add test for nested alias. r261125 sh: Solve the alias recursion problem in a less hackish way. r261141 sh: Do not depend on parse/execute split in new alias test. r261160 sh: Add tests for alias names after another alias. r261192 sh: Allow aliases to force alias substitution on the following word. r262533 sh: Make expari() static. r262565 sh: Do not corrupt internal representation if LINENO inner expansion fails. r262697 sh: Simplify expari(). Reviewed by: jilles
* Merge r262690 from head to stable/10:rwatson2014-03-091-1/+1
| | | | | | | | | When querying a process's umask via sysctl in libprocstat(), don't print a warning if EPERM is returned as this is an expected failure mode rather than error -- similar to current handling of ESRCH. This makes the output of 'procstat -as' vastly more palatable. Sponsored by: DARPA, AFRL
* MFC r262869:pfg2014-03-091-1/+1
| | | | | | | | ext2fs: Fix a bug when sorting htree entries. This a typo introduced when bringing the original code from NetBSD. Reported by: Mike Ma
* MFC: r262333brueffer2014-03-081-5/+2
| | | | | | | | | | Simplify the way the end of a singly linked list is followed (for adding items), so it is more obvious that we aren't going to indirect through a NULL pointer. PR: 144723 Submitted by: Garrett Cooper <yaneurabeya at gmail.com> Obtained from: NetBSD r1.19
* MFC r262645,r262647:eadler2014-03-082-6/+19
| | | | | | | | | | | | | | | ssh-copy-id: avoid sending private keys; add -v option To help avoid confusion: when attempting to send a key file check to see if a file of the same name exists with a '.pub' suffix and send that instead. This mimics the behavior of other ssh-copy-id scripts. Add -v passthrough. ssh-copy-id: add restorecon call In certain situations when creating an authorized_key file on a Linux machine restorecon(1) may need to be called. Therefore, attempt to run it if it exists.
* MFC r261859: fts: Fix double-free with conflicting concurrent modifications.jilles2014-03-071-4/+8
| | | | | | | If rare conditions such as concurrent conflicting manipulation of the filesystem occur, fts_read() frees the current FTSENT without adjusting the pointers in the FTS accordingly. A later fts_close() then frees the same FTSENT again.
* Bump __FreeBSD_version for the MFC of vt(4).jhb2014-03-071-1/+1
| | | | Submitted by: Koop Mast
* MFC: r262603brueffer2014-03-072-5/+10
| | | | mdoc cleanup.
* MFC r262133asomers2014-03-061-1/+1
| | | | | | test_eagain_*_* should've been using nonblocking sockets instead of blocking sockets. The error was not exposed as long as the kernel suffered from PR kern/185812. Now corrected, these tests pass on DragonFlyBSD 3.6.0.
* MFC 259016,259019,259049,259071,259102,259110,259129,259130,259178,259179,jhb2014-03-0662-125/+11373
| | | | | | | | | 259203,259221,259261,259532,259615,259650,259651,259667,259680,259727, 259761,259772,259776,259777,259830,259882,259915,260160,260449,260450, 260688,260888,260953,261269,261547,261551,261552,261553,261585: Merge the vt(4) driver (newcons) to stable/10. Approved by: ray
* Import atf-0.20.jmmv2014-03-0647-3667/+292
| | | | | This is a MFC of r261897 and r262000 and should allow all of the atf tests to pass.
* Install a symlink from /usr/tests/local to /usr/local/tests.jmmv2014-03-061-0/+4
| | | | This is a MFC of r261959 and r261978.
OpenPOWER on IntegriCloud