summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* MFC r262575:mav2014-03-061-17/+6
| | | | | | | Restore SIM freeze/release match, broken at r253549. This fixes problem with SIM left in frozen state after reinit, for example, after firmware update.
* MFC a couple of improvements to the test suite mk files.jmmv2014-03-062-1/+42
| | | | | - r260632 Support defining test program metadata from the Makefiles. - r260633 Support perl-based TAP-compliant test programs.
* MFC r262553:mav2014-03-061-2/+2
| | | | | | | Pass proper pointer to bus_dmamem_free() in mps_iocfacts_free(). Passing there pointer into the middle of allocated area caused kernel panic during reinit, for example, after firmware upgrade.
* MFC various fixes for the ATF tests.jmmv2014-03-0621-56/+229
| | | | | | | | | - r260505 Allow tests to provide a Kyuafile when they relied on auto-generation. - r260525 Respect the original layout of the atf-{c,c++} tests. - r260526 Fix path to the process_helpers for the libatf-c++ tests. - r260576 Generate and install pkg-config files for atf. - r260577 Add atf pkg-config files from the vendor branch. - r260584 Prevent misc_helpers from running as a test.
* MFC: r262571brueffer2014-03-063-2/+9
| | | | | | Add missing includes and remove two unused ones. Reviewed by: loos
* MFC r261748:trasz2014-03-061-0/+28
| | | | | | | | | So, it turns out SIGCHLD is discarded by default, so we have to set up a dummy handler to make it interrupt an ioctl(2) or select(2). This makes those short-lived iscsid(8) zombies disappear. Sponsored by: The FreeBSD Foundation
* MFC r261747:trasz2014-03-063-7/+1
| | | | | | | Empty data segment during Login Phase is rather unlikely, but it's not a protocol error. Sponsored by: The FreeBSD Foundation
* MFC r261715:trasz2014-03-061-4/+4
| | | | | | | The log_whatever() routines don't accept NULL for format strings, so mark them as __printflike instead of __printf0like. Sponsored by: The FreeBSD Foundation
* MFC r262525:trasz2014-03-061-5/+0
| | | | | | | | There is no need to prevent iscsictl from adding iSER session when there is no iSER support in ctld and/or kernel; should the user make that mistake, the output from "iscsictl -L" is enough to determine what the problem is. Sponsored by: The FreeBSD Foundation
* MFC r262247:trasz2014-03-061-1/+16
| | | | | | | Make it clear that there are two ways to add a session using iscsictl(8), and some options require configuration file. Sponsored by: The FreeBSD Foundation
* MFC r261714:trasz2014-03-062-1/+5
| | | | | | | Make iscsictl(8) properly handle (optional) semicolons in iscsi.conf, instead of ignoring them and echoing them to stdout. Sponsored by: The FreeBSD Foundation
* MFC r261713:trasz2014-03-061-22/+22
| | | | | | Simplify. Sponsored by: The FreeBSD Foundation
* MFC r261712:trasz2014-03-061-2/+0
| | | | | | Remove unused variable. Sponsored by: The FreeBSD Foundation
* MFC r261711:trasz2014-03-061-33/+33
| | | | | | Yacc cleanup; no functional changes. Sponsored by: The FreeBSD Foundation
* MFC r261832-261834:zeising2014-03-062-3/+5
| | | | | | | | | | | | r261832: Add cross references between rc.conf(5) and jail.conf(5). r261833: Add commas (,) to the list in the SEE ALSO section, to match most other manuals. r261834: Bump .Dd forgotten in r261832.
* MFC r261283:dim2014-03-0599-3227/+7212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import libc++ 3.4 release. This contains a lot of bugfixes, and some preliminary support for C++1y. MFC r261604: HEAD is not buildable for the past day. Commit a 'quick fix' in order to permit buildworld to complete. Reviewed by: theraven MFC r261608: Apply a cleaner solution for the sign warnings that can occur when compiling libc++'s <locale> header with -Wsystem-headers on. This has also been submitted upstream. Reported by: asomers MFC r261801: An ABI incompatibility crept into the libc++ 3.4 import in r261283. It was caused by upstream libc++ commit r194536, which aimed to make the headers more standards-compliant, by making std::pair's copy constructor trivial. Unfortunately, this could cause certain C++ applications using shared libraries built against the previous version of libc++ to crash. Fix the ABI incompatibility by making std::pair's copy constructor non-trivial again. Please note: Any C++ applications or shared libraries built with libc++ between r261283 and this revision should be recompiled. Reported by: stefanf
* MFC r262513:gjb2014-03-051-1/+1
| | | | | | Update release/release.conf.sample to reflect changes in r262509. Sponsored by: The FreeBSD Foundation
* MFC: r262494brueffer2014-03-051-28/+35
| | | | | | | | Rough cleanup (new sentence -> new line, grammar, spelling, mdoc). This could use more work. PR: 187035 (in part) Submitted by: Bjorn Heidotting
* MFC r262678;pfg2014-03-0517-196/+196
| | | | | | | | | | ufs: small formatting fixes. Cleanup some extra space. Use of tabs vs. spaces. No functional change. Reviewed by: mckusick
* Merge r262770 from head: pacify gcc.glebius2014-03-051-0/+1
|
* MFC r262499, r262505, r262507, r262509:gjb2014-03-055-15/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r262499: release.sh: - Add a VCSCMD variable that defaults to 'svn checkout', and update places 'svn co' is used directly. - After sourcing a configuration file, prefix SRCBRANCH, PORTBRANCH, and DOCBRANCH with the SVNROOT. - Properly capitalize 'FreeBSD.org' in the default SVNROOT. - Update Copyright. release.conf.sample: - Add an example to use git instead of svn, by nullifying SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH to the URL fo a git repository. release.7: - Document VCSCMD. r262505: In release/Makefile, remove exclusion of CVS directories in the src/ and ports/ distributions. While I am thinking about it, exclude .git directories for src/ and ports/, as somewhat of a followup to r262499. r262507: Chase r262505, and remove CVS exclusion from picobsd builds. r262509: Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an unnecessary expr(1) call. Sponsored by: The FreeBSD Foundation
* Disable amd64 TLB Context ID (pcid) by default for nowemaste2014-03-041-1/+1
| | | | | | | | | | There are a number of reports of userspace application crashes that are "solved" by setting vm.pmap.pcid_enabled=0, including Java and the x11/mate-terminal port (PR ports/184362). For now apply a band-aid of disabling pcid by default in stable/10. Sponsored by: The FreeBSD Foundation
* Merge r261582, r261601, r261610, r261613, r261627, r261640, r261641, r261823,glebius2014-03-0413-1488/+807
| | | | | | | | | | r261825, r261859, r261875, r261883, r261911, r262027, r262028, r262029, r262030, r262162 from head. Large flowtable revamp. See commit messages for merged revisions for details. Sponsored by: Netflix
* Merge r261796 from head:glebius2014-03-043-5/+22
| | | | | | | | While it isn't too late and kvm_read_zpcpu() function isn't yet used outside libkvm(3), change its order of arguments, so that it is the same as in kvm_read(). Merge r261805 from head: Add kvm_getncpus() to obtain mp_ncpus.
* Merge r261722, r261723, r261724, r261725 from head:glebius2014-03-045-18/+57
| | | | several minor improvements for UMA_ZPCPU_ZONE zones.
* Merge 261595: simplify the SYSCTL_COUNTER_U64() macro.glebius2014-03-042-5/+5
|
* Merge 261593 from head:glebius2014-03-043-1/+94
| | | | | Provide macros that allow easily export uma(9) zone limits and current usage via sysctl(9).
* Merge r261590: Fixup for r261590 (vnet sysctl handlers cleanup)glebius2014-03-043-12/+3
|
* Merge r261590, r261592 from head:glebius2014-03-044-55/+8
| | | | | | | | | Remove identical vnet sysctl handlers, and handle CTLFLAG_VNET in the sysctl_root(). Note: SYSCTL_VNET_* macros can be removed as well. All is needed to virtualize a sysctl oid is set CTLFLAG_VNET on it. But for now keep macros in place to avoid large code churn.
* MFC r262441-262442,262447,262461-262464,262655:tijl2014-03-045-20/+20
| | | | | | | | | | | | | | | | - Consistently pass around context information using a simple pointer. This fixes some dereferencing bugs in Chinese character set conversions. - Fix Simplified Chinese character set conversions by switching around the fields of an internal struct so it corresponds with the way variables of this type are initialised. - Fix an array index out of bounds bug in iconv VIQR (Vietnamese) module. - Silence gcc warning about unsigned comparison with 0. Also record r258316 and r258587 as merged so they no longer show up as eligible. PR: 185964 Submitted by: Manuel Mausz <manuel-freebsd@mausz.at>
OpenPOWER on IntegriCloud