ƒ³R262801 159 1170 194 252 153 423 353 373 145 498 1732 199 399 293 602 179 152 128 328 133 1356 130 131 323 167 137 293 132 134 128 128 131 128 147 287 103 333 256 183 170 156 270 266 371 268 236 340 133 179 516 300 300 279 259 194 196 244 259 181 126 324 439 438 338 222 268 269 1443 256 248 239 331 375 224 152 160 180 267 658 837 140 239 173 132 358 236 436 125 125 162 193 181 407 347 395 167 126 120 166 122 150 214 169 634 311 271 170 191 190 130 147 984 378 455 302 343 349 496 132 161 215 267 600 119 121 128 369 383 383 271 165 361 160 3291 170 168 191 295 106 207 238 915 1075 244 244 497 183 435 400 168 696 2776 538 143 147 682 419 1009 412 144 K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-05T19:30:36.966298Z K 7 svn:log V 1076 MFC r261283: 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 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 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-05T19:45:21.226870Z K 7 svn:log V 101 Document release.conf variables specific to embedded releases. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-05T19:48:47.102702Z K 7 svn:log V 154 MFC r253102: Remove redundant definitions to appease tinderbox. Note: This MFC is required by a future merge of changes to amd64's and i386's atomic.h. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-05T19:55:10.680664Z K 7 svn:log V 58 Merge ^/head@262801 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-05T20:01:04.231588Z K 7 svn:log V 330 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 MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-05T21:16:46.535273Z K 7 svn:log V 256 The route code used to mtx_destroy() a locked mutex before rtentry free. Now, after r262763 it started to return locked mutexes to UMA. To fix that, conditionally unlock the mutex in the destructor. Tested by: "Sergey V. Dyatko" END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-05T21:33:11.143500Z K 7 svn:log V 275 MFC r254610, r254611, r254617, r254620: Implement atomic_swap() and atomic_testandset(). Implement atomic_cmpset_64() and atomic_swap_64() for i386. The following revisions were merged at the same time, to avoid build breakage: o r256118 o r256119 o r256131 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-05T22:04:30.222520Z K 7 svn:log V 53 Add copyright. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-05T22:43:30.374056Z K 7 svn:log V 405 Pull in r203007 from upstream clang trunk: Don't produce an alias between destructors with different calling conventions. Fixes pr19007. (Please note that is an LLVM PR identifier, not a FreeBSD one.) This should fix Firefox and/or libxul crashes (due to problems with regparm/stdcall calling conventions) on i386. Reported by: multiple users on freebsd-current PR: bin/187103 MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-05T23:17:53.324376Z K 7 svn:log V 1638 Merge ^/projects/release-embedded into ^/head. After several months of testing and fixing (and breaking) various parts of release/release.sh changes, it is now possible to build FreeBSD/arm images as part of the release process. When EMBEDDEDBUILD is set in the release.conf file, release.sh will create the build environment, then run a separate script in release/${XDEV}/release.sh [1]. Currently, only arm is supported. The release/${XDEV}/release.sh configures the build environment specific for the target image, such as installing gcc(1), installing additional third-party software from the ports tree, and fetching external sources. Once the build environment is set up, release/${XDEV}/release.sh runs Crochet, written by Tim Kientzle, which builds the userland and kernel, and creates an image that can be written to an SD card with dd(1). Many thanks to Tim for his work on Crochet. Sample configurations for FreeBSD/arm boards are in the release/arm/ directory, and Crochet configuration files for each board are located in release/tools/arm/. Supported boards at this time are: BEAGLEBONE, PANDABOARD, RPI-B, and WANDBOARD-QUAD. Adding support for additional boards will continue in the projects/release-embedded/ branch, and incrementally merged back to head/. Many thanks to the FreeBSD Foundation for the support and sponsorship of this project. [1] XDEV is used in order to keep the various configurations organized by architecture, but since TARGET and TARGET_ARCH are used to build the chroot, the values of those variables cannot be used. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-05T23:37:25.047843Z K 7 svn:log V 106 mark that libctf depends upon libz so that if you dlopen libctf, you don't get: Undefined symbol "zError" END K 10 svn:author V 4 jeff K 8 svn:date V 27 2014-03-06T00:10:07.339096Z K 7 svn:log V 305 - Gracefully handle truncation failures when trying to shrink directories. This could cause dirhash panics since the dirhash state would be successfully truncated while the directory was not. Reported by: pho Discussed with: mckusick Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-06T00:11:47.810882Z K 7 svn:log V 200 Per primer guidelines, remove ^/projects/release-embedded branch merged to ^/head in r262810, in preparation of creating a replacement branch with the same name. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jeff K 8 svn:date V 27 2014-03-06T00:13:21.216622Z K 7 svn:log V 508 - If we fail to do a non-blocking acquire of a buf lock while doing a waiting sync pass we need to do a blocking acquire and restart. Another thread, typically the buf daemon, may have this buf locked and if we don't wait we can fail to sync the file. This lead to a great variety of softdep panics because we rely on all dependencies being flushed before proceeding in several cases. Reported by: pho Discussed with: mckusick Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-06T00:19:18.689581Z K 7 svn:log V 87 Copy head/@r262813 to projects/release-embedded. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-06T00:25:21.527176Z K 7 svn:log V 56 Add a manual page for zopen(3) provided by our libz.so. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-06T00:37:16.122101Z K 7 svn:log V 33 Add siphash.c. While here, sort. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-06T01:59:13.217328Z K 7 svn:log V 232 Use SYSDIR to reference to the top of the sys hierarchy. Define SYSDIR relative to .CURDIR if not already defined. This makes the makefiles more readable but also more re-usable and adaptable. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-06T02:00:01.295579Z K 7 svn:log V 37 Fix compilation for 32-bit machines. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-06T02:48:54.819994Z K 7 svn:log V 1262 As result of a number of inquiries, add the release.sh wrapper script to my user directory for public consumption. Thermite is a pyrotechnic composition of shell script and zfs. When executed, it generates a significant amount of heat. Here's how it works: - Create the configuration files for each build to be run. The file name format is: {rev}-{arch}-{kernel}-{type}, where rev is the revision to build (i.e., 10, 9), arch is the TARGET_ARCH to be built, kernel is the KERNCONF, and type is the type of build ('snap' or 'release'). An example is included as 11-amd64-GENERIC-snap.conf. - Edit master.conf for the build environment, in particular, make sure zfs_root and zfs_mount are updated if the builder is a zfs-enabled machine. If the builder is zfs-enabled, a number of redundant steps are skipped, and 'zfs clone' is used to shorten overall times. - Run: # ./thermite.sh -c ./master.conf - Cross your fingers. The mk-vmimage.sh script uses qemu-img to create the VM images that are published on ftp.FreeBSD.org. It is also included, as parts of thermite.sh call it after successful builds. The master.conf file is effectively what is used for the weekly snapshot builds. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T04:06:36.729908Z K 7 svn:log V 35 Add 'libstatfoo' from Sam Leffler. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-03-06T06:39:55.533767Z K 7 svn:log V 37 Fix a logic error when enabling MAC. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-06T07:42:27.622013Z K 7 svn:log V 225 MFC r254623: Reimplement atomic operations on PDEs and PTEs in pmap.h. This change significantly reduces duplicate code and make it easier to read. Note: This merge fixes the build of i386's PAE kernel, broken in r262807. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:43:42.785978Z K 7 svn:log V 72 Modify wlanstats to now use the copy of libbsdstat in /usr/lib/private. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:44:08.342125Z K 7 svn:log V 42 Remove these; they're no longer required. END K 10 svn:author V 3 jlh K 8 svn:date V 27 2014-03-06T07:44:45.118079Z K 7 svn:log V 200 Let __bt_put() accept the R_SETCURSOR flag, as stated in the dbopen(3) manpage. While here, update the comment above with all the accepted flags. Reviewed by: silence on hackers@ MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:45:53.878824Z K 7 svn:log V 37 Migrate athaggrstats to use bsdstat. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:46:32.579001Z K 7 svn:log V 39 Fix a compiler warning. Thanks Clang! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:47:19.609059Z K 7 svn:log V 33 Migrate athstats to use bsdstat. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:48:43.027847Z K 7 svn:log V 33 Migrate mwlstats to use bsdstat. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:49:12.196951Z K 7 svn:log V 36 Fix compiler warning. Thanks clang! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-06T07:50:54.404159Z K 7 svn:log V 33 Migrate npestats to use bsdstat. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-03-06T09:18:48.234185Z K 7 svn:log V 56 Updated to @262832 in the hope to get a buildable tree. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-03-06T09:51:31.419258Z K 7 svn:log V 195 Copy is not merge (that was me in r262833), but trying to cleanup server side svn thought ^/user/bz/.../head would be ^/head which scared me. Hope this local, relative operation will just dtrt. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-03-06T10:11:23.854476Z K 7 svn:log V 12 MFH @262834 END K 10 svn:author V 7 zeising K 8 svn:date V 27 2014-03-06T10:26:25.260444Z K 7 svn:log V 236 MFC r261832-261834: 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. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T10:45:53.127279Z K 7 svn:log V 161 Make reset handling in iSCSI target RFC-compliant. This fixes some rare hangs with Open-iSCSI (Linux). MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:02:32.249442Z K 7 svn:log V 89 MFC r261711: Yacc cleanup; no functional changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:03:34.600221Z K 7 svn:log V 76 MFC r261712: Remove unused variable. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:05:35.368203Z K 7 svn:log V 62 MFC r261713: Simplify. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:07:51.722019Z K 7 svn:log V 175 MFC r261714: Make iscsictl(8) properly handle (optional) semicolons in iscsi.conf, instead of ignoring them and echoing them to stdout. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:09:46.698233Z K 7 svn:log V 171 MFC r262247: 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 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:10:57.279206Z K 7 svn:log V 276 MFC r262525: 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 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:13:26.924568Z K 7 svn:log V 173 MFC r261715: The log_whatever() routines don't accept NULL for format strings, so mark them as __printflike instead of __printf0like. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:14:36.035491Z K 7 svn:log V 141 MFC r261747: Empty data segment during Login Phase is rather unlikely, but it's not a protocol error. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-06T11:15:54.561053Z K 7 svn:log V 245 MFC r261748: 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 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-06T12:37:25.396182Z K 7 svn:log V 41 Minor fix to r262789. MFC after: 6 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-06T13:15:53.013371Z K 7 svn:log V 82 MFC: r262571 Add missing includes and remove two unused ones. Reviewed by: loos END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-06T13:20:38.590700Z K 7 svn:log V 422 MFC various fixes for the ATF tests. - 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. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-06T13:24:51.640887Z K 7 svn:log V 207 MFC r262553: 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. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-06T13:25:21.390611Z K 7 svn:log V 207 MFC r262553: 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. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-06T13:30:36.051223Z K 7 svn:log V 185 MFC a couple of improvements to the test suite mk files. - r260632 Support defining test program metadata from the Makefiles. - r260633 Support perl-based TAP-compliant test programs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-06T13:37:34.249470Z K 7 svn:log V 166 MFC r262575: Restore SIM freeze/release match, broken at r253549. This fixes problem with SIM left in frozen state after reinit, for example, after firmware update. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-06T13:38:23.307392Z K 7 svn:log V 100 Install a symlink from /usr/tests/local to /usr/local/tests. This is a MFC of r261959 and r261978. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-06T14:11:44.167212Z K 7 svn:log V 102 Import atf-0.20. This is a MFC of r261897 and r262000 and should allow all of the atf tests to pass. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-06T14:28:03.076906Z K 7 svn:log V 148 Use vt(9) framebuffer for UEFI This reverts r247249 and r247374 and uses ray@'s driver from r262785 instead. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-06T14:32:55.344672Z K 7 svn:log V 166 MFC r262575: Restore SIM freeze/release match, broken at r253549. This fixes problem with SIM left in frozen state after reinit, for example, after firmware update. END K 10 svn:author V 3 pgj K 8 svn:date V 27 2014-03-06T17:17:16.628734Z K 7 svn:log V 89 - Take carl's commit bit into safekeeping per his request. Approved by: core (implicit) END K 10 svn:author V 3 pgj K 8 svn:date V 27 2014-03-06T17:33:12.817327Z K 7 svn:log V 34 - Move carl to the alumni section END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-06T17:33:27.788840Z K 7 svn:log V 231 Disable libwrap (TCP wrappers) support in rpcbind by default, introducing new command line options -W, to enable it when needed. On my tests this change by almost ten times improves rpcbind performance. No objections: many, net@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-03-06T18:30:56.897001Z K 7 svn:log V 346 MFC 259016,259019,259049,259071,259102,259110,259129,259130,259178,259179, 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 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-06T18:48:02.850679Z K 7 svn:log V 345 Add a hack-ish attempt to provide backwards-compatibility with release.conf SVNROOT entries that do not have a trailing '/'. In order to provide a mechanism to use !svn, the trailing '/' was added to SVNROOT so there were no assumptions being made about '/' being in the URL between SVNROOT and SRCBRANCH. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-06T18:50:35.052220Z K 7 svn:log V 240 MFC r226824: contigmalloc(9) and contigfree(9) are now implemented in terms of other more general VM system interfaces. So, their implementation can now reside in kern_malloc.c alongside the other functions that are declared in malloc.h. END K 10 svn:author V 6 julian K 8 svn:date V 27 2014-03-06T19:26:08.511758Z K 7 svn:log V 126 Stop pw(8) from segfaulting when given certain input PR:187310 Submitted by: Kim Shrier Obtained from: bug MFC after: 1 week END K 10 svn:author V 6 julian K 8 svn:date V 27 2014-03-06T19:58:03.684768Z K 7 svn:log V 172 Part 2 of bug 187310.. had to commit separately due to local confusion. Don't let pw crash when give certain input. PR: 187310 Submitted by: Kim Shrier MFC after: 1 week END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-06T20:05:13.600633Z K 7 svn:log V 175 Cope with new release.sh semantics by adding a trailing slash to SVNROOT. While doing this, properly capitalize FreeBSD in the URL just as it was done in release.sh as well. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-06T20:24:15.018834Z K 7 svn:log V 1345 Fix PR kern/185813 "SOCK_SEQPACKET AF_UNIX sockets with asymmetrical buffers drop packets". It was caused by a check for the space available in a sockbuf, but it was checking the wrong sockbuf. sys/sys/sockbuf.h sys/kern/uipc_sockbuf.c Add sbappendaddr_nospacecheck_locked(), which is just like sbappendaddr_locked but doesn't validate the receiving socket's space. Factor out common code into sbappendaddr_locked_internal(). We shouldn't simply make sbappendaddr_locked check the space and then call sbappendaddr_nospacecheck_locked, because that would cause the O(n) function m_length to be called twice. sys/kern/uipc_usrreq.c Use sbappendaddr_nospacecheck_locked for SOCK_SEQPACKET sockets, because the receiving sockbuf's size limit is irrelevant. tests/sys/kern/unix_seqpacket_test.c Now that 185813 is fixed, pipe_128k_8k fails intermittently due to 185812. Make it fail every time by adding a usleep after starting the writer thread and before starting the reader thread in test_pipe. That gives the writer time to fill up its send buffer. Also, clear the expected failure message due to 185813. It actually said "185812", but that was a typo. PR: kern/185813 Reviewed by: silence from freebsd-net@ and rwatson@ MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-06T20:39:56.015880Z K 7 svn:log V 159 Only use -lpthread for unix_seqpacket_test, not for all test programs. Reported by: Garrett Cooper MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-03-06T21:02:16.539768Z K 7 svn:log V 155 ext2fs: Fix a bug when sorting htree entries. This a typo introduced when bringing the original code from NetBSD. Reported by: Mike Ma MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-03-06T21:07:13.044092Z K 7 svn:log V 143 When calculating the MPU freq, make sure not to overflow by using a uint64_t. PR: arm/187223 Submitted by: Svatopluk Kraus END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-06T21:47:22.422174Z K 7 svn:log V 234 MFC r262133 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. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-06T22:47:11.491139Z K 7 svn:log V 279 fts: Don't abort if an empty pathname is given. Make fts_open(3) treat an empty pathname like any other pathname that cannot be lstatted because of [ENOENT]. It is rather confusing if rm -rf file1 "" file2 does not remove file1 and file2. PR: bin/187264 MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-06T23:06:47.380813Z K 7 svn:log V 126 MFC r226848: Tidy up the comment at the head of vm_page_alloc, and mention that the returned page has the flag VPO_BUSY set. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-06T23:17:38.156891Z K 7 svn:log V 55 MFC r226891: Use "u_long" instead of "unsigned long". END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-06T23:42:50.169902Z K 7 svn:log V 68 Record mergeinfo for r225757. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-06T23:49:46.047424Z K 7 svn:log V 88 MFC r225817 (des): Don't force active mode FTP. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-07T00:25:23.724533Z K 7 svn:log V 174 Add option TMPFS to arm/conf/DEFAULTS, remove it from the few configs that have it individually. Concensus on freebsd-arm@ is that it should be included in all ARM kernels. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-07T00:28:11.699290Z K 7 svn:log V 565 MFC r258305, r258770, r259400, r259426: r258305: Use the IMAGES variable to determine which image files to remove as part of 'make -C /usr/src/release clean'. r258770 (hrs): Add NOPKG to disable pkg-stage. r259400: Reduce disc1.iso size by 74MB by removing lib32 libraries, sendmail, and atf. r259426: Add a pkg(8) repository configuration file for cdrom-based package installation. As part of the 'pkg-stage' target, copy the configuration file to the 'packages/repos/' directory on the DVD filesystem. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-07T00:38:29.508381Z K 7 svn:log V 744 MFC r260772: Update the pkg-stage target to be more compatible with pkg-1.2: - Add a release-dvd.conf pkg(8) configuration file to override the default FreeBSD.conf configuration. - Remove architecture-specific pkg-stage.conf files, consolidate, and move their contents to scripts/pkg-stage.sh. - Use 'pkg -vv' to determine the ABI, which is used as the cache directory. Prior to these changes, it would be possible for pkg-stage to fetch conflicting binary packages from multiple repositories. NOTE: WITH_DVD=1 is broken on stable/9, pending updates to the pkg(7) code. The 'dvdrom' target on stable/9 is broken as-is, so there is no harm merging this change now. I think. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-07T01:01:57.520769Z K 7 svn:log V 48 Slight if reordering to make error branch last. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-07T01:13:48.025808Z K 7 svn:log V 142 Add VM_ALLOC_NOWAIT flag, that tells vm_page_grab() to fail in case if it needs to sleep(9). Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-03-07T01:23:49.020994Z K 7 svn:log V 78 wlanstats: add help - add a help (-h) flag - move usage into itsown function END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-07T02:41:45.052137Z K 7 svn:log V 36 Merge head r258543 through r262882. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-03-07T06:23:37.725043Z K 7 svn:log V 262 Open the uart emulation's backing tty in non-blocking mode. This fixes the issue of bhyve appearing to halt when using nmdm ports for the console, until a connection is made to the other end. bhyveload already does this. Reported by: Many. MFC after: 3 weeks. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-07T07:06:36.033984Z K 7 svn:log V 144 Add driver for Port control and interrupts (PORT). PORT is responsible for external interrupts management, so move IRQ lines from GPIO driver. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-07T09:45:40.667790Z K 7 svn:log V 343 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 MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-07T12:20:01.685413Z K 7 svn:log V 28 MFC: r262603 mdoc cleanup. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-07T12:21:51.143275Z K 7 svn:log V 28 MFC: r262603 mdoc cleanup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-03-07T14:44:13.544304Z K 7 svn:log V 70 Bump __FreeBSD_version for the MFC of vt(4). Submitted by: Koop Mast END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-03-07T15:35:54.919698Z K 7 svn:log V 98 libc man pages: Remove reference to non-existent FreeBSD Security Architecture MFC After: 3 days END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-07T16:14:51.340791Z K 7 svn:log V 90 - Export panel info to DTS - Reset all the layers before setup first one - Enable display END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-07T16:43:08.744358Z K 7 svn:log V 311 MFC r261859: fts: Fix double-free with conflicting concurrent modifications. 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. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-03-07T17:47:53.671112Z K 7 svn:log V 251 wlanstats: Add some logic to translate from a vap to its parent device. This isn't entirely correct (as the device may not necc. be called wlan*) but this will be further worked into a combined ath, iwn, wlan, etc. tool. Discussed with: jhb, adrian END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-07T19:30:03.848538Z K 7 svn:log V 298 kern/Makefile Set WARNS=5 for all files in this directory kern/unix_seqpacket_test.c Fix compiler warnings. Most were benign, but rcvbuf_oversized wasn't working as intended because I forgot to set the buffer sizes. MFC after: 2 weeks Reported by: pho Sponsored by: Spectra Logic Corporation END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:12:59.529193Z K 7 svn:log V 72 Allow dispatched reswords to carry arguments. Fix a comment while here. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:15:08.893965Z K 7 svn:log V 31 Add missing local declaration. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:15:52.775293Z K 7 svn:log V 25 Fix a typo in a comment. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:18:39.825776Z K 7 svn:log V 71 Fix incorrect return status if var_to_set and var_to_get are the same. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:20:27.316707Z K 7 svn:log V 27 Make f_show_err non-fatal. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:24:59.495142Z K 7 svn:log V 55 Centralize function name. Update a comment while here. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:29:19.640727Z K 7 svn:log V 118 s/__number/__num/ for code clarify but more to prevent localization of __number if passed as the var_to_set argument. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:32:26.579209Z K 7 svn:log V 74 Comment -- to go with NL global introduced (but not mentioned) by r262901 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-07T20:32:45.992516Z K 7 svn:log V 541 Fix the arm sys_sigreturn(): its argument is a struct ucontext, not a struct sigframe containing the struct ucontext. The signal trampoline return code on the other hand DOES have just a struct sigframe on the stack to work with, so have it get a pointer to the ucontext out of there to pass along to sys_sigreturn. In other words, make everything work right whether sys_sigreturn is invoked from the trampoline or from userland code calling sigreturn(2). Submitted by: Takashi Komatsu Reviewed by: cognet END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T20:44:19.968860Z K 7 svn:log V 215 Rewrite groupmgmt -- hooking it into the scripting system with dispatch commands groupAdd, groupDelete, and groupEdit. Getting rid of the awkward- to-use `groupinput' bolt-on which Ron and I talked about rewriting. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-07T21:36:49.866248Z K 7 svn:log V 178 Strip arm/conf/DEFAULTS down to just items that are mandatory for running the architecture. Move the other contents into each of the individual config files. Requested by: imp END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-07T22:10:40.197865Z K 7 svn:log V 78 Remove only-works-on-amd64 restriction. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-07T22:14:39.223935Z K 7 svn:log V 99 Add ZEDBOARD. Tested against: stable/10@r262905 (build only) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T22:17:35.055418Z K 7 svn:log V 95 Change dipatch words from group* to *Group to backward compatible with ye-olden sysinstall(8). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T22:24:53.441503Z K 7 svn:log V 35 Fix copy/paste error in a comment. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-03-07T22:29:00.417704Z K 7 svn:log V 52 Take a group name on the command-line if available. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-07T22:53:29.532395Z K 7 svn:log V 887 Provide a hack to workaround the following condition: two sendfile(2) calls are issues on the same object, with ranges overlapping on at least one page. One of them grabs all pages, schedules I/O and returns. The second one encounters an overlapping page in a busy state. It sleeps with 'pgrbwt' wait channel, and sleep time is effectively the I/O time. Thus, second syscall is degenerating to the blocking on disk I/O mode. To avoid this, a sysctl kern.ipc.sendfile.pgrabnowait is provided (default to off). When sysctl is on and userland supplies SF_NODISKIO flag, then we are calling vm_page_grab(VM_ALLOC_NOWAIT). In case of a failure we return EAGAIN, hinting userland that it should continue monitor the socket via select/kevent/whatever. If the socket has zero data to send, then we have to notify it immediately, to avoid stall. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-07T23:01:35.071887Z K 7 svn:log V 281 cddl/contrib/opensolaris/lib/libuutil/common/uu_avl.c Fix a memory leak in uu_avl_pool_create: pthread_mutex_init without a corresponding pthread_mutex_destroy. It shows up, among other places, when doing "zfs list". MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-07T23:26:14.019775Z K 7 svn:log V 358 Simplify code a lot removing the SF_MNOWAIT. It was useless from the very beginning, since many allocation at deeper levels of kernel are done with M_WAITOK regardless of the flag, and that is actually manifested in the manual page. This experimental flag shouldn't ever reached the head/ in the first place. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-07T23:30:48.133647Z K 7 svn:log V 205 sbin/devd/devd.8 sbin/devd/devd.cc Add a -q flag to devd that will suppress syslog logging at LOG_NOTICE or below. Requested by: ian@ and imp@ MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-07T23:40:36.607089Z K 7 svn:log V 246 Partial revert of change 262914. I screwed up subversion syntax with perforce syntax and committed some unrelated files. Only devd files should've been committed. Reported by: imp Pointy hat to: asomers MFC after: 3 weeks X-MFC-With: r262914 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T00:14:40.495888Z K 7 svn:log V 256 Move all the files named foo/common.c to foo/foo_common.c, as appropriate for each of the 'foo' in the tree. This will allow us to compile them together (although symbol conflicts prevent us from doing that today, this just fixes the file name collision). END K 10 svn:author V 4 jeff K 8 svn:date V 27 2014-03-08T00:35:06.972641Z K 7 svn:log V 402 - Make runq_steal_from more aggressive. Previously it would examine only a single priority queue. If that queue had a thread or threads which could not be migrated we would fail to steal load. This could cause starvation in situations where cores are idle. Submitted by: Doug Kilpatrick Tested by: pho Reviewed by: mav Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T03:22:20.433284Z K 7 svn:log V 40 Initial cut for DTS on the hl201 board. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T03:22:25.663317Z K 7 svn:log V 69 Add commented out dts for sam9260ek as well as early printf support. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T03:39:09.798643Z K 7 svn:log V 122 Make clock optional on uart nodes. It is a FreeBSD-specific extention, and won't be present in vendor supplied dts files. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T03:39:15.328651Z K 7 svn:log V 174 Set the baud rate if it isn't 0 (meaning it has been specified) not only if it is 0 (meaning that it hasn't been specified and is likely to turn off the UART's transmitter). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-03-08T03:54:49.172705Z K 7 svn:log V 504 MFC r262645,r262647: 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. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T05:03:56.315338Z K 7 svn:log V 27 Make at91_soc_id() public. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T06:06:42.126862Z K 7 svn:log V 29 Properly round on unmapping. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T06:06:50.217228Z K 7 svn:log V 36 Move AIC related stuff to own file. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-08T12:24:47.839558Z K 7 svn:log V 271 MFC: r262333 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 Obtained from: NetBSD r1.19 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-08T12:25:45.095657Z K 7 svn:log V 285 MFC: r262333 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 Obtained from: NetBSD r1.19 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-08T12:26:17.289115Z K 7 svn:log V 285 MFC: r262333 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 Obtained from: NetBSD r1.19 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-03-08T14:58:39.682528Z K 7 svn:log V 178 Fix another bug in multicast filtering. i.MX uses 6 bits from MSB in LE CRC32 for the hash value, not the lowest 6 bits in BE CRC32. Tested by: Takanori Sawada PR: arm/187179 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-03-08T19:35:31.642492Z K 7 svn:log V 70 Call ieee80211_dump_pkt() based on IFF_DUMPPKTS(). MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-08T19:44:34.892193Z K 7 svn:log V 265 sh: Successfully do nothing when killing a terminated job. If a job has terminated but is still known, silently do nothing when using the kill builtin with the job specifier. Formerly, the shell called kill() with the process group ID that might have been reused. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-08T19:59:52.005055Z K 7 svn:log V 68 Back out r262921. I don't know what I was thinking, but it is lame. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-08T20:31:04.025816Z K 7 svn:log V 3192 MFC vm_page_alloc_contig() This function will be used by TTM, a memory manager used by the Radeon KMS driver. Compared to HEAD, the type of the "boundary" argument to several functions is left as "unsigned long" (instead of "vm_paddr_t" in HEAD) to prevent an API change in a stable branch. The following revisions were merged in this single commit: MFC r226928: Eliminate vm_phys_bootstrap_alloc(). It was a failed attempt at eliminating duplicated code in the various pmap implementations. Micro-optimize vm_phys_free_pages(). Introduce vm_phys_free_contig(). It is fast routine for freeing an arbitrary number of physically contiguous pages. In particular, it doesn't require the number of pages to be a power of two. Use "u_long" instead of "unsigned long". Bruce Evans (bde@) has convinced me that the "boundary" parameters to kmem_alloc_contig(), vm_phys_alloc_contig(), and vm_reserv_reclaim_contig() should be of type "vm_paddr_t" and not "u_long". Make this change. MFC r227012: Add support for VM_ALLOC_WIRED and VM_ALLOC_ZERO to vm_page_alloc_freelist() and use these new options in the mips pmap. Wake up the page daemon in vm_page_alloc_freelist() if the number of free and cached pages becomes too low. Tidy up vm_page_alloc_init(). In particular, add a comment about an important restriction on its use. Tested by: jchandra@ MFC r227072: Simplify the implementation of the failure case in kmem_alloc_attr(). MFC r227127: Wake up the page daemon in vm_page_alloc_freelist() if it couldn't allocate the requested page because too few pages are cached or free. Document the VM_ALLOC_COUNT() option to vm_page_alloc() and vm_page_alloc_freelist(). Make style changes to vm_page_alloc() and vm_page_alloc_freelist(), such as using a variable name that more closely corresponds to the comments. MFC r227568: Refactor the code that performs physically contiguous memory allocation, yielding a new public interface, vm_page_alloc_contig(). This new function addresses some of the limitations of the current interfaces, contigmalloc() and kmem_alloc_contig(). For example, the physically contiguous memory that is allocated with those interfaces can only be allocated to the kernel vm object and must be mapped into the kernel virtual address space. It also provides functionality that vm_phys_alloc_contig() doesn't, such as wiring the returned pages. Moreover, unlike that function, it respects the low water marks on the paging queues and wakes up the page daemon when necessary. That said, at present, this new function can't be applied to all types of vm objects. However, that restriction will be eliminated in the coming weeks. From a design standpoint, this change also addresses an inconsistency between vm_phys_alloc_contig() and the other vm_phys_alloc*() functions. Specifically, vm_phys_alloc_contig() manipulated vm_page fields that other functions in vm/vm_phys.c didn't. Moreover, vm_phys_alloc_contig() knew about vnodes and reservations. Now, vm_page_alloc_contig() is responsible for these things. Reviewed by: kib Discussed with: jhb END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-08T23:05:28.817520Z K 7 svn:log V 75 install: Use posix_spawnp() for starting strip and improve error messages. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-09T01:52:21.250275Z K 7 svn:log V 76 Follow r262916 with one more config file that references a renamed common.c END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-09T02:00:48.619627Z K 7 svn:log V 99 Update board definition for WANDBOARD-QUAD to match crochet. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-09T02:07:15.917213Z K 7 svn:log V 201 Fix panic "_mtx_lock_sleep: recursed on non-recursive mutex ttymtx" caused when acquiring the tty lock in bvm_tty_close(). Instead just assert that the tty lock is held before calling callout_reset(). END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-09T02:11:04.940567Z K 7 svn:log V 13 IFC @r262929 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-09T02:11:53.638108Z K 7 svn:log V 114 MFH r262936: Update board definition for WANDBOARD-QUAD to match crochet. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-09T02:28:30.625740Z K 7 svn:log V 145 Remove bogus define that causes compile errors. Most of the defines for SAM9X are going away soonish anyway (once FDT works), but until then... END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-09T03:00:03.598388Z K 7 svn:log V 822 Rework the VFP code that handles demand-based save and restore of state. The old code was full of complexity that would only matter if the kernel itself used the VFP hardware. Now that's reduced to either killing the userland process or panicking the kernel on an illegal VFP instruction. This removes most of the complexity from the assembler code, reducing it to just calling the save code if the outgoing thread used the VFP. The routine that stores the VFP state now takes a flag that indicates whether the hardware should be disabled after saving state. Right now it always is, but this makes the code ready to be used by get/set_mcontext() (doing so will be addressed in a future commit). Remove the arm-specific pc_vfpcthread from struct pcpu and use the MI field pc_fpcurthread instead. Reviewed by: cognet END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-09T03:49:06.973912Z K 7 svn:log V 982 Remove all dregs of a per-thread undefined-exception-mode stack. This is a leftover from the days when a low-level debugger had hooks in the undefined exception vector and needed stack space to function. These days it effectively isn't used because we switch immediately to the svc32 mode stack on exception entry. For that, the single undef mode stack per core that gets set up at init time works fine. The stack wasn't necessary but it was harmful, because the space for it was carved out of the normal per-thread svc32 stack, in effect cutting that 8K stack in half. If svc32 mode used more than 4k of stack space it wandered down into the undef mode stack, and then an undef exception would overwrite a couple words on the stack while switching to svc32 mode, corrupting the scv32 stack. Having another stack abut the bottom of the svc32 stack also effectively mooted the guard page below the stack. This work is based on analysis and patches submitted by Juergen Weiss. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-03-09T04:16:00.012008Z K 7 svn:log V 151 MFC r262869: ext2fs: Fix a bug when sorting htree entries. This a typo introduced when bringing the original code from NetBSD. Reported by: Mike Ma END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-03-09T04:17:04.144039Z K 7 svn:log V 151 MFC r262869: ext2fs: Fix a bug when sorting htree entries. This a typo introduced when bringing the original code from NetBSD. Reported by: Mike Ma END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-09T07:45:59.639318Z K 7 svn:log V 404 various formating fixes, use NUL for NUL bytes.. drop out dated perf numbers (can't imagine people are still running Pentium MMX 166's anymore)... bump date... drop max length of salt of 8 since _PASSWORD_LEN is now large, 128.. and state the max length of the salt depends upon the module, sha-{256,512} have a max salt of 16.. recommend 8 characters of salt instead of just 2... MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-09T13:19:37.309176Z K 7 svn:log V 88 kldconfig: Remove some code for compatibility with FreeBSD 4.x. Verified using md5(1). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-09T13:23:49.684003Z K 7 svn:log V 338 Merge r262690 from head to stable/10: 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 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-09T14:24:05.742875Z K 7 svn:log V 307 Always call vfp_discard() on thread death, not just when the VFP is enabled. In vfp_discard(), if the state in the VFP hardware belongs to the thread which is dying, NULL out pcpu fpcurthread to indicate the state currently in the hardware belongs to nobody. Submitted by: Juergen Weiss Pointy hat to: me END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-09T14:54:05.064913Z K 7 svn:log V 76 When a thread begins life it doesn't own the VFP hardware state on any cpu. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-09T15:36:56.166986Z K 7 svn:log V 603 Make undefined exception entry MPSAFE. The old code used static storage to preserve a couple registers while setting up the trapframe for the main handler. Doing so was the last leftover crumbs from the days when a low-level debugger was hooked into the exception entry code. Now the exception entry sequence is essentially the same as for the other exceptions, which still involves needlessly indirecting through a function pointer which points to the same code on every platform. Removing that indirection will be handled as a separate cleanup. This work is based on an analysis by Juergen Weiss. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-09T17:04:31.684891Z K 7 svn:log V 2681 Sync sh(1) in stable/10 to head. 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 or 3wire. as the terminal type to getty and what exactly is set to. It's being overridden by uart(4). The goal is to change uart(4) not to override these settings. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-09T21:02:23.916355Z K 7 svn:log V 326 MFC r262805: 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 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-09T21:06:22.371928Z K 7 svn:log V 913 Change the terminal type/class for enabled serial lines to 3wire. This allows us to change the uart(4) driver to not hardcode specific line settings for the serial console. A terminal type of 3wire makes sure the console still works when no DCD signal is present, which preserves behviour. When it is known that the terminal server (or DCE in general) provides DCD, a terminal type/class of std can be used. This has the effect of being logged out when one disconnects from the console -- improving security overall. Likewise, when uart(4) does not fixate the baudrate, one can change the terminal type/class to set a specific baudrate. An operator can use this to change the console speed mid-flight, without needing a reboot. Of course it helps in this respect if and when the firmware can be configured from the OS. The above mentioned capabilities depend on uart(4) being changed, which is to happen next. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-09T21:12:31.229958Z K 7 svn:log V 319 Remove all traces of support for ARM chips prior to the arm9 series. We never actually ran on these chips (other than using SA1 support in an emulator to do the early porting to FreeBSD long long ago). The clutter and complexity of some of this code keeps getting in the way of other maintenance, so it's time to go. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-09T21:56:29.268576Z K 7 svn:log V 51 Fix sed tests so that they run cleanly with prove. END