ģ&270832 168 193 336 226 301 179 229 195 504 124 243 186 193 270 235 402 168 229 186 388 194 504 124 156 350 220 487 166 179 233 350 311 251 130 136 142 159 566 195 622 191 251 286 188 192 348 167 141 188 132 325 381 258 155 532 259 230 192 105 478 193 510 491 238 218 224 195 183 199 333 252 263 258 308 1338 1928 232 239 237 200 261 184 239 200 225 363 305 305 234 1547 174 207 323 323 177 323 198 308 662 283 131 424 156 186 940 237 140 167 145 115 1278 159 697 167 252 148 465 169 160 347 452 466 501 524 287 280 780 241 185 119 163 153 219 473 130 136 129 176 1177 272 245 118 987 189 148 577 272 392 205 549 545 285 194 147 164 199 140 730 247 311 311 135 336 340 835 193 342 187 171 K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-30T02:13:04.236992Z K 7 svn:log V 100 Add a few defines and packet types for SATA 3.2 and FPDMA (First Party DMA). Sponsored by: Netflix END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-30T02:13:09.395679Z K 7 svn:log V 243 We were returning 20 bytes as the FIS size to send, but only initializing 16. Initialize all 20 so we don't send garbage in the Auxiliary register. The SATA standard mandates a 5 dword length for the Host to Device FIS. Sponsored by: Netflix END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-30T03:10:55.977935Z K 7 svn:log V 133 Add missing proctree locking to fill_kinfo_proc consumers. This fixes r270444. Pointy hat: mjg Reported by: many MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-30T03:41:47.417538Z K 7 svn:log V 208 Update an assertion to reflect the changes made in r270439. This is a direct commit to stable/10 because ia64 is no longer supported by HEAD. Reported by: marcel Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-08-30T07:08:10.231072Z K 7 svn:log V 87 Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured. Discussed on: -net@ END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T09:55:38.726458Z K 7 svn:log V 136 MFC r269865: Bring the md5 functions into libc for internal use only. It is required to support ID randomization for our stub resolver. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T10:16:25.484481Z K 7 svn:log V 102 MFC r269867: Update our stub resolver to final version of libbind (libbind-6.0). Obtained from: ISC END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T10:25:41.564745Z K 7 svn:log V 411 MFC r269873: Fix broken pointer overflow check ns_name_unpack() Many compilers may optimize away the overflow check `msg + l < msg', where `msg' is a pointer and `l' is an integer, because pointer overflow is undefined behavior in C. Use a safe precondition test `l >= eom - msg' instead. Reference: https://android-review.googlesource.com/#/c/50570/ Requested by: pfg Obtained from: NetBSD (CVS rev. 1.10) END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T10:29:47.122493Z K 7 svn:log V 32 MFC r270215: Add missing break. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-30T13:28:10.656722Z K 7 svn:log V 145 MFC: r269771 Change the NFS server's printf related to hitting the DRC cache's flood level so that it suggests increasing vfs.nfsd.tcphighwater. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-08-30T13:47:05.062347Z K 7 svn:log V 89 Allow the iwn(4) fw 100 to be compiled into the kernel and update the relevant manpages. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-08-30T14:24:20.325449Z K 7 svn:log V 99 MFC r270643: Fix typo: s/mac_rev/mac_ver/ Submitted by: Stefan Sperling END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-30T15:41:07.219465Z K 7 svn:log V 177 Minor space/tab cleanups. Most of them were ripped from the GSoC 2104 SMAP + kpatch project. This is only a cosmetic change. Taken from: Oliver Pinter (op@) MFC after: 5 days END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-08-30T17:14:47.015217Z K 7 svn:log V 140 Make tiny volatile to prevent the compiler(s) from constant folding expressions of the form "1 - tiny", which are used to raise FE_INEXACT. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-30T17:18:11.395641Z K 7 svn:log V 304 * Make objhash api a bit more abstract by providing ability to specify own hash/compare functions. * Add requirement for table algorithms to copy "valie" field in @add callback instead of "prepare_add". * Document existing requirement for table algorithms to store value of deleted record to @tei. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-08-30T17:31:53.597423Z K 7 svn:log V 74 Fix the order of "const volatile" to be consistent with the rest of msun. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T17:32:30.617650Z K 7 svn:log V 136 MFC r269865: Bring the md5 functions into libc for internal use only. It is required to support ID randomization for our stub resolver. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T17:39:28.809855Z K 7 svn:log V 94 MFC r264070 (partially), r264082: Add 11.x symbol version namespace for stub resolver update. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-30T17:48:38.525170Z K 7 svn:log V 295 Save and restore FPU state across suspend and resume. In earlier revisions of this patch, resumectx() called npxresume() directly, but that doesn't work because resumectx() runs with a non-standard %cs selector. Instead, all of the FPU suspend/resume handling is done in C. MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T17:56:58.038834Z K 7 svn:log V 101 MFC r269867: Update our stub resolver to final version of libbind (libbind-6.0). Obtained from: ISC END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T18:00:13.740654Z K 7 svn:log V 411 MFC r269873: Fix broken pointer overflow check ns_name_unpack() Many compilers may optimize away the overflow check `msg + l < msg', where `msg' is a pointer and `l' is an integer, because pointer overflow is undefined behavior in C. Use a safe precondition test `l >= eom - msg' instead. Reference: https://android-review.googlesource.com/#/c/50570/ Requested by: pfg Obtained from: NetBSD (CVS rev. 1.10) END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-30T18:01:36.859988Z K 7 svn:log V 32 MFC r270215: Add missing break. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-08-30T18:01:45.844512Z K 7 svn:log V 62 Replace cvsweb link wihg svnweb URL in bktr(4) release notes. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-08-30T18:35:16.209781Z K 7 svn:log V 256 Set the 'inst_length' to '0' early on before any error conditions are detected in the emulation of the task switch. If any exceptions are triggered then the guest %rip should point to instruction that caused the task switch as opposed to the one after it. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-30T19:55:54.465997Z K 7 svn:log V 123 Use define from if_var.h to access a field inside struct if_data, that resides in struct ifnet. Sponsored by: Nginx, Inc. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-08-30T19:59:42.599296Z K 7 svn:log V 393 The "SUB" instruction used in getcc() actually does 'x -= y' so use the proper constraint for 'x'. The "+r" constraint indicates that 'x' is an input and output register operand. While here generate code for different variants of getcc() using a macro GETCC(sz) where 'sz' indicates the operand size. Update the status bits in %rflags when emulating AND and OR opcodes. Reviewed by: grehan END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-30T20:00:18.243592Z K 7 svn:log V 71 Remove FDT option, since it is in every file, which includes this one. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-30T20:18:47.503558Z K 7 svn:log V 84 Enable SCTP support. It runs perfectly fine on a Wandboard quad. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-30T20:26:30.759912Z K 7 svn:log V 135 MFC: r269788 Document the use of the vfs.nfsd sysctls that control the size of the NFS server's DRC for TCP. This is a content change. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-08-30T21:44:32.389094Z K 7 svn:log V 257 Ensure that ZFS ARC free memory checks include cached pages Also restore kmem_used() check for i386 as it has KVA limits that the raw page counts above don't consider PR: 187594 Reviewed by: peter X-MFC-With: r270759 Review: D700 Sponsored by: Multiplay END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-30T22:21:57.295121Z K 7 svn:log V 218 Fix the handling of MMU type in the AP entry code. The ARM_MMU_V6/V7 symbols are always #defined to 0 or 1, so use #if SYM not #if defined(SYM). Also, it helps if you include the header file that defines the symbols. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-30T22:39:15.671325Z K 7 svn:log V 158 Allow the make_dtb script to work outside of a "make buildkernel" context by setting MACHINE from uname -m if it's not set already. Reviewed by: imp, tuexen END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-31T04:34:12.641128Z K 7 svn:log V 38 Import from rebasing repo at b78b6b80 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-31T04:37:35.097905Z K 7 svn:log V 44 Copy after import of b78b6b80 from git repo END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-31T04:55:32.609940Z K 7 svn:log V 50 Import from rebasing repo at b78b6b80 (new files) END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-31T04:56:34.730425Z K 7 svn:log V 67 Copy after import of b78b6b80 from git repo after adding new files END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T06:23:54.237255Z K 7 svn:log V 469 Remove ability to write to struct if_data residing in struct ifnet via net.link.generic.IFMIB_IFDATA.*.IFDATA_GENERAL sysctl. Reasons for removal are: - No code in tree uses this possibility. - The documentation ifmib(4) doesn't say that such possibility exist. The example provided in manual page only reads data. - On many interfaces the feature simply doesn't work, since they do accounting in hardware, and overwrite if_data on tick. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T06:30:50.342782Z K 7 svn:log V 99 Use macros instead of referencing struct if_data that resides in ifnet. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T06:46:21.877273Z K 7 svn:log V 525 o Remove struct if_data from struct ifnet. Now it is merely API structure for route(4) socket and ifmib(4) sysctl. o Move fields from if_data to ifnet, but keep all statistic counters separate, since they should disappear later. o Provide function if_data_copy() to fill if_data, utilize it in routing socket and ifmib handler. o Provide overridable ifnet(9) method to fetch counters. If no provided, if_get_counters_compat() would be used, that returns old counters. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-31T09:05:02.368598Z K 7 svn:log V 97 Move the restored #ifdef i386 test back inside the #ifdef _KERNEL block where it originally was. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-08-31T10:28:31.156800Z K 7 svn:log V 156 Fix character case in examples for "camcontrol security" - should be "-U user" not "-u user". PR: 193179 Submitted by: milios ccsys com MFC after: 3 days END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2014-08-31T10:42:52.033019Z K 7 svn:log V 189 MFC r263859: Change default logic to CONFORM because this routine is shared with SCI polarity setting. Reviewed by: jhb MFC r269184: Add missing newline to output dmesg properly. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T11:33:19.433908Z K 7 svn:log V 92 Provide pointer from struct ifnet to struct netmap_adapter, instead of abusing spare field. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-31T12:21:40.836440Z K 7 svn:log V 95 MFC: r270005 Try to clarify how file systems are exported for NFSv4. This is a content change. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T12:48:13.786270Z K 7 svn:log V 251 It is actually possible to have if_t a typedef to non-void type, and keep both converted to drvapi and non-converted drivers compilable. o Make if_t typedef to struct ifnet *. o Remove shim functions. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T13:30:54.967667Z K 7 svn:log V 71 Toss fields so that no padding field is required to achieve alignment. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-31T15:23:49.699421Z K 7 svn:log V 49 The Marvell PJ4B cpu family is armv7, not armv6. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-31T15:25:40.098194Z K 7 svn:log V 96 Put option FDT into the base IMX6 config and remove it from the config of boards based on IMX6. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T16:14:20.462194Z K 7 svn:log V 36 Merge head r258543 through r270879. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-31T16:37:41.579054Z K 7 svn:log V 228 Even if userland requested SF_NOCACHE, ignore it in cases when we are sure that page will be reused. Explain this in comment. Suggested by: David Pfitzner Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-31T17:21:51.151959Z K 7 svn:log V 288 In ARM asm code, ensure that every ENTRY(foo) has a matching END(foo). The EABI unwind info requires a .fnend for every .fnstart, and newer binutils will complain about seeing two .fnstart in a row. This change allows newer tools to compile our code. Reported by: bapt Reviewed by: imp END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-31T17:38:41.490697Z K 7 svn:log V 165 Automatically prefault a limited number of mappings to resident pages in shmat(2), just like mmap(2). MFC after: 5 days Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 2 br K 8 svn:date V 27 2014-08-31T17:40:19.015968Z K 7 svn:log V 64 GIC (Cortex A's interrupt controller) supports up to 1020 IRQs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-08-31T17:56:54.573054Z K 7 svn:log V 436 - Nuke unused sdhci_softc. - Static'ize sdhci_debug local to sdhci.c. - Const'ify PCI device description strings. - Nuke redundant resource ID members from sdhci_pci_softc. - Nuke unused hw.sdhci_pci.debug tunable. - Add support for using MSI instead of INTx, controllable via the tunable hw.sdhci.enable_msi (defaulting to on) and tested with a RICOH R5CE823 SD controller. - Use NULL instead of 0 for pointers. MFC after: 3 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-31T20:11:26.646607Z K 7 svn:log V 164 WITH/WITHOUT_PKGBOOTSTRAP were MFC'ed, but were never connected to the build. As a result, the knob for disabling pkg_install also disabled the pkg bootstrap tool END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-31T20:14:22.604906Z K 7 svn:log V 135 Backport the separation of the knob that controls the legacy pkg_install tools (ie: WITH/WITHOUT_PKGTOOLS) and the pkg bootstrap tool. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T20:21:08.951760Z K 7 svn:log V 98 MFC r270279: Make the iSCSI stack use __FBSDID() properly. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-31T20:23:56.414778Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-08-31T20:34:06.662945Z K 7 svn:log V 382 MFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable characters. This was not broken on architectures such as ARM where char is unsigned. Also, remove the first non-portable character from the output. POSIX does not require this, and printing the first byte may yield an invalid byte sequence with UTF-8. PR: 165988 Reported by: Nicolas Rachinsky Relnotes: yes END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T20:47:10.698847Z K 7 svn:log V 99 MFC r270282: Use proper include paths in kernel iSCSI code. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:18:23.546732Z K 7 svn:log V 415 MFC r270096: Bring in the new automounter, similar to what's provided in most other UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 Relnotes: yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-08-31T21:38:03.838706Z K 7 svn:log V 396 Compute sin(pi*x) without actually doing the pi*x multiplication. sin_pi(x) is only called for x < 0 and |x| < 2**(p-1) where p is the precision of x. The new argument reduction is an optimization compared to the old code, and it removes a chunk of dead code. Accuracy tests in the intervals (-21,-20), (-20,-19), ... (-1,0) show no differences between the old and new code. Obtained from: bde END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:43:28.337947Z K 7 svn:log V 143 MFC r270207: Rework ".." lookup; previous one failed to properly busy the mountpoint. Reviewed by: kib@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:45:07.561522Z K 7 svn:log V 123 MFC r270209: Add description for the "automounted" mount flag. Reviewed by: emaste@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:46:32.960698Z K 7 svn:log V 129 MFC r270210: Remove useless - and buggy, it resulted in spurious warnings in logs - code. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:48:12.868384Z K 7 svn:log V 100 MFC r270276: Use __FBSDID() properly. Suggested by: pluknet@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:49:45.176621Z K 7 svn:log V 89 MFC r270281: Fix includes. Suggested by: pluknet@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:51:01.621375Z K 7 svn:log V 104 MFC r270399: Add comment explaining one of the quirks in autofs. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:52:26.273082Z K 7 svn:log V 238 MFC r270402: Autofs softc needs to be global anyway, so don't pass it as a local variable, and don't store in autofs_mount. Also rename it from 'sc' to 'autofs_softc', since it's global and extern. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:53:42.437450Z K 7 svn:log V 157 MFC r270405: Don't fail on executable maps that return no entries. This turns useless error message into useful one. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:55:08.797323Z K 7 svn:log V 168 MFC r270406: Add "nobrowse" option. Previously automountd(8) always behaved as if it was set, now it's conditional. PR: 192862 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:56:42.163201Z K 7 svn:log V 163 MFC r270454: Fix handling of keys in executable maps. Previously it was broken for keys containing whitespace. PR: 192947 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-31T21:58:07.656289Z K 7 svn:log V 213 MFC r270507: Fix bug that, assuming a/ is a root of NFS filesystem mounted on autofs, prevented "mv a/from a/to" from working, while "cd a && mv from to" was ok. PR: 192948 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-31T23:09:23.139805Z K 7 svn:log V 1243 MFC r266650, r267172 (both by jmmv): r266650: Change libatf-c and libatf-c++ to be private libraries. We should not be leaking these interfaces to the outside world given that it's much easier for third-party components to use the devel/atf package from ports. As a side-effect, we can also drop the ATF pkgconfig and aclocal files from the base system. Nothing in the base system needs these, and it was quite ugly to have to get them installed only so that a few ports could build. The offending ports have been fixed to depend on devel/atf explicitly. Reviewed by: bapt r267172: Homogenize libatf-* version numbers with upstream. The libatf-* major version numbers in FreeBSD were one version ahead of upstream because, when atf was first imported into FreeBSD, the upstream numbers were not respected. This is just confusing and bound to cause problems down the road. Fix this by taking advantage of the fact that libatf-* are now private and that atf is not yet built by default. However, and unfortunately, a clean build is needed for tests to continue working once "make delete-old-libs" has been run; hence the note in UPDATING. Phabric: D701 Approved by: jmmv (maintainer, mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-31T23:51:09.416991Z K 7 svn:log V 1829 Add support for multi-field values inside ipfw tables. This is the last major change in given branch. Kernel changes: * Use 64-bytes structures to hold multi-value variables. * Use shared array to hold values from all tables (assume each table algo is capable of holding 32-byte variables). * Add some placeholders to support per-table value arrays in future. * Use simple eventhandler-style API to ease the process of adding new table items. Currently table addition may required multiple UH drops/ acquires which is quite tricky due to atomic table modificatio/swap support, shared array resize, etc. Deal with it by calling special notifier capable of rolling back state before actually performing swap/resize operations. Original operation then restarts itself after acquiring UH lock. * Bump all objhash users default values to at least 64 * Fix custom hashing inside objhash. Userland changes: * Add support for dumping shared value array via "vlist" internal cmd. * Some small print/fill_flags dixes to support u32 values. * valtype is now bitmask of . New values can hold distinct values for each of this types. * Provide special "legacy" type which assumes all values are the same. * More helpers/docs following.. Some examples: 3:41 [1] zfscurr0# ipfw table mimimi create valtype skipto,limit,ipv4,ipv6 3:41 [1] zfscurr0# ipfw table mimimi info +++ table(mimimi), set(0) +++ kindex: 2, type: addr references: 0, valtype: skipto,limit,ipv4,ipv6 algorithm: addr:radix items: 0, size: 296 3:42 [1] zfscurr0# ipfw table mimimi add 10.0.0.5 3000,10,10.0.0.1,2a02:978:2::1 added: 10.0.0.5/32 3000,10,10.0.0.1,2a02:978:2::1 3:42 [1] zfscurr0# ipfw table mimimi list +++ table(mimimi), set(0) +++ 10.0.0.5/32 3000,0,10.0.0.1,2a02:978:2::1 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T01:39:20.805571Z K 7 svn:log V 138 MFC r270432: Fix "make checkdpadd" in usr.bin/iscsictl by removing -lfl dependency Approved by: rpaulo (mentor) MFC after: 1 week END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T02:53:32.039893Z K 7 svn:log V 145 MFC r270145: Replace DPADD with DPSRCS to fix "make checkdpadd" Phabric: D625 Approved by: jmmv (mentor) Reviewed by: dim PR: 192734 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T03:04:59.443810Z K 7 svn:log V 143 MFC r270146: Add LIBCRYPTO and LIBSSL to DPADD This fixes "make checkdpadd" Phabric: D621 PR: 192761 Approved by: rpaulo (mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T03:20:10.912882Z K 7 svn:log V 106 MFC r270117: Add -ll to LDADD to fix "make checkdpadd" Phabric: D622 Approved by: rpaulo (mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T03:22:47.904505Z K 7 svn:log V 167 MFC r270433: Garbage collect libl dependency The application links and runs without libl Approved by: rpaulo (mentor) Phabric: D673 Submitted by: trociny END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-01T03:49:21.502518Z K 7 svn:log V 92 Resync comments about scbus and pass for life after AHCI joined CAM. Sponsored by: Netflix END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T05:13:14.275446Z K 7 svn:log V 145 MFC r270145: Replace DPADD with DPSRCS to fix "make checkdpadd" Phabric: D625 Approved by: jmmv (mentor) Reviewed by: dim PR: 192734 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T05:18:20.487626Z K 7 svn:log V 106 MFC r270117: Add -ll to LDADD to fix "make checkdpadd" Phabric: D622 Approved by: rpaulo (mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T05:26:53.134244Z K 7 svn:log V 131 MFC r270180: Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd" Approved by: jmmv (mentor) Phabric: D633 PR: 192763 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-01T05:35:55.759816Z K 7 svn:log V 269 MFC r270519: Fix "make checkdpadd" for lib/libc when MK_SSP != no Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in lib/libc when MK_SSP != no Approved by: rpaulo (mentor) Phabric: D675 (as part of a larger diff) PR: 192728 END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-01T07:34:16.962672Z K 7 svn:log V 213 MFC r270445: The size of the GPT table can not be less than one sector. MFC r270521: Since the size of GPT entry may differ from the sizeof(struct gpt_ent), use the size from GPT header to iterate entries. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-01T07:34:36.915646Z K 7 svn:log V 213 MFC r270445: The size of the GPT table can not be less than one sector. MFC r270521: Since the size of GPT entry may differ from the sizeof(struct gpt_ent), use the size from GPT header to iterate entries. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2014-09-01T07:54:30.867153Z K 7 svn:log V 141 MFC of 270755, 270772, 270773, 270775, 270799, 270806, 270807, 270820 Enable the build of the Intel XL710 drivers, and fixes for that build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-01T07:58:15.424191Z K 7 svn:log V 1453 Fix a leak of the wired pages when unwiring of the PROT_NONE-mapped wired region. Rework the handling of unwire to do the it in batch, both at pmap and object level. All commits below are by alc. MFC r268327: Introduce pmap_unwire(). MFC r268591: Implement pmap_unwire() for powerpc. MFC r268776: Implement pmap_unwire() for arm. MFC r268806: pmap_unwire(9) man page. MFC r269134: When unwiring a region of an address space, do not assume that the underlying physical pages are mapped by the pmap. This fixes a leak of the wired pages on the unwiring of the region mapped with no access allowed. MFC r269339: In the implementation of the new function pmap_unwire(), the call to MOEA64_PVO_TO_PTE() must be performed before any changes are made to the PVO. Otherwise, MOEA64_PVO_TO_PTE() will panic. MFC r269365: Correct a long-standing problem in moea{,64}_pvo_enter() that was revealed by the combination of r268591 and r269134: When we attempt to add the wired attribute to an existing mapping, moea{,64}_pvo_enter() do nothing. (They only set the wired attribute on newly created mappings.) MFC r269433: Handle wiring failures in vm_map_wire() with the new functions pmap_unwire() and vm_object_unwire(). Retire vm_fault_{un,}wire(), since they are no longer used. MFC r269438: Rewrite a loop in vm_map_wire() so that gcc doesn't think that the variable "rv" is uninitialized. MFC r269485: Retire pmap_change_wiring(). Reviewed by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-01T08:02:23.572015Z K 7 svn:log V 82 MFC r270803: Document the whole settings needed to build a debug version of rtld. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-01T08:08:32.352809Z K 7 svn:log V 112 MFC r270135: Remove vestiges of previous autofs. Discussed with: alfred@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-01T08:33:38.414234Z K 7 svn:log V 231 MFC r257985: Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already unlocked route. Use in6_rtalloc() instead of in6_rtalloc1. This helps simplify the code and remove several now unused variables. PR: 156283 END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-01T08:33:52.334543Z K 7 svn:log V 231 MFC r257985: Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already unlocked route. Use in6_rtalloc() instead of in6_rtalloc1. This helps simplify the code and remove several now unused variables. PR: 156283 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-01T08:34:39.085027Z K 7 svn:log V 81 Fix ABI broken in r270576. This is direct commit to stable/10. Reported by: kib END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-01T09:00:00.503630Z K 7 svn:log V 231 MFC r257985: Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already unlocked route. Use in6_rtalloc() instead of in6_rtalloc1. This helps simplify the code and remove several now unused variables. PR: 156283 END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-01T09:30:34.690795Z K 7 svn:log V 106 Add the reverse part to rule #9. Also change its description in the netstat(8) output. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-01T13:00:45.496535Z K 7 svn:log V 211 Explicitly free packet on PF_DROP, otherwise a "quick" rule with "route-to" may still forward it. PR: 177808 Submitted by: Kajetan Staszkiewicz Sponsored by: InnoGames GmbH END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-01T14:04:51.128984Z K 7 svn:log V 565 Make SOCK_RAW sockets to be truly raw, not modifying received and sent packets at all. Swapping byte order on SOCK_RAW was actually a bug, an artifact from the BSD network stack, that used to convert a packet to native byte order once it is received by kernel. Other operating systems didn't follow this, and later other BSD descendants fixed this, leaving us alone with the bug. Now it is clear that we should fix the bug. In collaboration with: Olivier Cochard-Labb̩ See also: https://wiki.freebsd.org/SOCK_RAW Sponsored by: Nginx, Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-01T14:57:04.068705Z K 7 svn:log V 190 Do not generate unwind info in asm functions if _STANDALONE is defined. The .fnend op causes the assembler to emit RELOC references to unwind support functions that don't exist in libstand. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-01T16:12:29.102728Z K 7 svn:log V 40 Fix typo (by -> be). MFC after: 3 days END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-09-01T16:24:25.242633Z K 7 svn:log V 329 Fix a tab that somehow became 8 spaces. Remove parentheses in a return statement to be consistent with the rest of the file. Rename sin_pi() in the float version to sin_pif(). Remove large comment that precedes sin_pif(). The comment duplicates a comment in e_lgamma_r.c where the algorithm is documented. Requested by: bde END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-01T16:25:08.572719Z K 7 svn:log V 65 Add references to vt(4) to further man-pages. MFC after: 3 days END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-01T16:26:57.500540Z K 7 svn:log V 95 Final patches to the tools used to convert syscons keymaps for use with vt. MFC after: 3 days END K 10 svn:author V 2 se K 8 svn:date V 27 2014-09-01T16:51:57.414868Z K 7 svn:log V 848 Add vt(4) support to the console initialisation script, specifically: - Identify the console driver used and print syscons or vt as appropriate. - If vt is used and a keymap could not be loaded, then try to replace the keymap name configured in rc.conf based on a replacement list in this script. Warn about the fact, that a syscons keyname is configured and report the replacement used under vt. - If no replacement keymap is found, no keymap is loaded and a warning is displayed, which points at the conversion script and allows the conversion of keymaps not part of the official distribution. This patch has been sent to the -hackers list for review, but no comment has been received, yet. It is tested to work under syscons and vt on my system (on vt with either the syscons or vt keymap file name in rc.conf). MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-01T18:25:34.354393Z K 7 svn:log V 141 Fix pmap_invalidate_page and pmap_invalidate_range, the addresses need to be be shifted to get them in the correct location in the register. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-01T18:25:38.176181Z K 7 svn:log V 45 Uncomment more calls to pmap_invalidate_page END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-01T18:25:41.951337Z K 7 svn:log V 72 Remove ATTR_AF from tables, these bits should be zero on table entries. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-01T18:25:46.088666Z K 7 svn:log V 50 Start to support tls using the tpidr_el0 register END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-01T18:25:49.830253Z K 7 svn:log V 20 Implement cpu_throw END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-01T18:27:04.258144Z K 7 svn:log V 1185 Add lock annotations to . Clang has support for annotating mutexes and code that uses mutexes to validate certain aspects of thread safety: - Whether acquiring/releasing locks is done properly (e.g., whether you unlock a mutex before leaving a function). - Whether a lock is held while reading/writing data from/to memory. Analysis is performed at the function level. Functions can be annotated to indicate they: - (try to) pick up a lock, - release a lock, - can only be called when (not) holding a lock, - assert that a lock is held. Variables and structure members can be annotated to indicate that they are guarded by a certain lock. In C++, these annotations can refer to both global variables, but also other class/structure members. In C, it is only possible to refer to global variables. This change adds wrappers for the annotations used by Clang to . They currently have no effect, but this is on purpose. This change will be merged back to FreeBSD 9 and 10, which means we can safely experiment with these annotations on HEAD without making it harder to port changes back. Reviewed by: announced on arch@ and toolchain@ MFC after: 3 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-01T18:28:11.779739Z K 7 svn:log V 68 Enable lock annotations on HEAD when using Clang. MFC after: never END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-01T18:34:30.924152Z K 7 svn:log V 605 Add lock annotations to the header files of our threading libraries. This change extends all of the functions present in the and headers to have lock annotations. This will allow Clang to warn about the following: - Locking a function twice, - Unlocking a function without a mutex being locked, - Forgetting to unlock a mutex before returning, - Destroying or reinitializing a mutex that is currenty locked, - Using an unlocked mutex in combination with a condition variable. Enabling these annotations already allowed me to catch a bug in one of our userspace tools (r270749). END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-01T18:37:17.463541Z K 7 svn:log V 76 Add lock annotations to the threading API used by hastd. Approved by: pjd@ END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-01T18:51:01.538159Z K 7 svn:log V 159 Rename OF_xref_phandle() to OF_node_from_xref() and add a new function that provides the inverse translation, OF_xref_from_node(). Discussed with: nwhitehorn END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-09-01T18:56:22.191691Z K 7 svn:log V 51 Start clearing out project, since code is in head. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-09-01T18:57:13.664224Z K 7 svn:log V 370 According to the ISO C standard, lgamma(-integer) returns inf and raises the divided-by-zero exception. Compilers constant fold one/zero to inf but do not raise the exception. Introduce a volatile vzero to prevent the constant folding. Move the declaration of zero into the main declaration block. While here, fix a nearby disordering of 'lx,ix' Discussed with: bde END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-01T19:20:34.332822Z K 7 svn:log V 77 sdhci.h has grown a dependency on sysctl.h, include the latter where needed. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-09-01T19:20:42.782236Z K 7 svn:log V 63 Delete the rest of the project, since the code is now in head. END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-01T19:56:28.636541Z K 7 svn:log V 255 Add lock annotations to libcuse. - Add annotations to the lock/unlock function to indicate that the function is allowed to lock and unlock the underlying pthread mutex. - Add __guarded_by() annotations to the global variables. Approved by: hselasky@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-01T20:18:09.535575Z K 7 svn:log V 360 Add -Wthread-safety to WARNS=6. While there, add a NO_WTHREAD_SAFETY flag that can be used to disable this specific warning flag. Disable it for auditdistd. We can easily patch up auditdistd to have the right annotations to build, but as auditdistd is intended to be portable across other operating systems, it's not worth the effort. Approved by: brueffer@ END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-01T22:25:42.349633Z K 7 svn:log V 373 Add bsearch_b to the libc map and the stdlib header. bsearch_b is the Apple blocks enabled version of bsearch(3). This was added to libc in Revision 264042 but the commit missed the declaration required to make use of it. While here move some other block-related functions to the BSD_VISIBLE block as these are non-standard. Phabric: D638 Reviewed by: theraven, wollman END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-01T22:40:31.416078Z K 7 svn:log V 408 Create a mechanism for looking up a device_t associated with an ofw/fdt xref handle, and for registering that association. Also use the same data for faster translations between node and xref handles. Now when fdt properties contain &othernode references, a driver can find the device instance that corresponds to &othernode, and thus can use interfaces provided by that instance. Reviewed by: nwhitehorn END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-09-01T22:53:47.294575Z K 7 svn:log V 428 Fix a bug where command line arguments could be misprocessed if getopts is used prior to f_dialog_init() -- e.g., in a script that sets DIALOG_SELF_INITIALIZE to NULL, preventing f_dialog_init() from being run automaticaly when `dialog.subr' is included. Caused by sub-shell processing of arguments inheriting prior value of $OPTIND, used by getopts. Solved by unsetting OPTIND prior to [re-]processing of positional arguments. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-02T02:54:55.223969Z K 7 svn:log V 194 The ocotp driver provides access to registers containing chip configuration data that is needed by other drivers, so make it an EARLY_DRIVER_MODULE() that loads before just about anything else. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-02T02:56:43.544827Z K 7 svn:log V 187 The anatop driver controls power and PLLs and needs to be available before just about anything else (other than octop which provides it config info), so make it an EARLY_DRIVER_MODULE(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-02T03:23:05.955575Z K 7 svn:log V 687 Create an interface for drivers to enable or disable their clocks as listed in the clocks=<...> properties of their FDT data. The clock properties consist of 2-cell tuples, each containing a clock device node reference and a clock number. A clock device driver can register itself as providing this interface, then other drivers can turn the FDT clock node reference into the corresponding device_t so that they can use the interface to query and manipulate their clocks. This provides convenience functions to enable or disable all the clocks listed in the properties for a device, so most drivers will be able to manage their clocks with a single call to fdt_clock_enable_all(dev). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-02T03:45:01.557883Z K 7 svn:log V 148 Add OF_xref_from_device() so that there's no need to have an intermediate call to ofw_bus_get_node() to lookup info that's already in the xreflist. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-02T03:46:24.612891Z K 7 svn:log V 93 Use OF_xref_from_device(), not OF_xref_from_node(). Also, use bzero() rather than memset(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-02T03:51:12.987320Z K 7 svn:log V 27 Fix typo. Pointy hat: ian END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-09-02T04:11:20.702911Z K 7 svn:log V 71 Update a comment to reflect the changes in r213408. MFC after: 5 days END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-02T04:22:42.881638Z K 7 svn:log V 60 IFC @r269962 Submitted by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-02T10:35:04.562939Z K 7 svn:log V 122 Plug new sendfile(2) operation on ZFS. Unlike UFS it is blocking on I/O. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-02T11:16:44.487939Z K 7 svn:log V 381 Clean up slightly. - Remove c++0x hack from that was needed when Clang did not fully implement C++11. We can now safely test against C++11 to check whether thread_local is available, like we do for all other C++11 keywords. - Don't use __clang__ to test for thread safety annotation presence. It turns out we have a proper attribute for this. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-02T14:08:27.088996Z K 7 svn:log V 34 Add patches for 2014-07-08 batch. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-02T14:09:52.492180Z K 7 svn:log V 40 Add two missed patches for 8.4-RELEASE. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-02T14:26:25.851143Z K 7 svn:log V 33 Rename files to reflect reality. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-02T14:27:12.563793Z K 7 svn:log V 79 Add more comments on newly-added functions. Add back opstate handler function. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T15:49:33.359920Z K 7 svn:log V 1080 MFC elfdump improvements r269092: Improve section type reporting The SHT range 0x70000000-0x7fffffff is processor-specific. Pass the ELF machine type header to sh_types so the section header type name can be reported correctly for the given processor. For all ranges report the actual value for unknown types. Add MIPS-specific type SHT_MIPS_OPTIONS. r269143 (andreast): Further improvements on elfdump, to follow up r269092: - Add ARM specific section header types. - Add SHT_GNU_HASH section header type. - Improve reporting of undefined tags in d_tags. - Add DT_GNU_HASH tag. Reviewed by: emaste r269337: add EM_AARCH64 64-bit ARM machine architecture r269338: use existing ELF constants where available r270303: Rename DT_FEATURE_1 to DT_FEATURE This provides a minor cleanup in elfdump; there are otherwise no consumers in the tree. Old SUN documentation can be found for either variant, but GNU binutils switched to DT_FEATURE around 2000. r270304: Remove extraneous _SUNW_ in reported DT_ names Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-02T16:14:16.616580Z K 7 svn:log V 178 MFC r270179: Add missing libraries to DPADD; sort DPADD so DPADD and LDADD match up This fixes "make checkdpadd" Approved by: jmmv (mentor) Phabric: D630 PR: 192765 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-02T16:38:00.191677Z K 7 svn:log V 152 The proper compatibility string for the AHCI device is allwinner,sun4i-ahci, so use that instead of the older string which had become FreeBSD specific. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-09-02T18:21:19.961159Z K 7 svn:log V 23 Fix typo in a comment. END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-09-02T18:32:41.341602Z K 7 svn:log V 890 Fix for WITNESS warning while doing xpt_rescan. This happen when converting any JBOD to RAID or creating any new RAID from Unconfigured Drives. Without this fix, user may see below call trace if WITNESS is enabled. witness_warn() at witness_warn+0x4b5/frame 0xfffffe011f929a00 uma_zalloc_arg() at uma_zalloc_arg+0x3b/frame 0xfffffe011f929a70 malloc() at malloc+0x192/frame 0xfffffe011f929ac0 mrsas_bus_scan_sim() at mrsas_bus_scan_sim+0x32/frame 0xfffffe011f929af0 mrsas_aen_handler() at mrsas_aen_handler+0x11c/frame 0xfffffe011f929b20 taskqueue_run_locked() at taskqueue_run_locked+0xf0/frame 0xfffffe011f929b80 taskqueue_thread_loop() at taskqueue_thread_loop+0x9b/frame 0xfffffe011f929bb0 fork_exit() at fork_exit+0x84/frame 0xfffffe011f929bf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe011f929bf0 Submitted by: kadesai Reviewed by: ambrisko MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T18:54:40.756487Z K 7 svn:log V 94 MFC r263826: Update EFI framebuffer handoff from loader Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-02T18:57:19.039095Z K 7 svn:log V 56 Use callout(9) instead of timeout(9). Tested by: danfe END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T19:05:34.152550Z K 7 svn:log V 481 Allow standalone debug for non-default ${PROG} targets This allows WITH_DEBUG_FILES to produce standalone debug for the ELF runtime linker. We previously disabled standalone debug files for bsd.prog.mk consumers that included a non-default ${PROG} target, but this is not required. Consumers that do not support standalone debug are still handled by disabling it for statically linked binaries, and for those that specify a non-default binary format. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T19:14:33.422586Z K 7 svn:log V 176 Revert r268372 - enable vt_efifb vt(4) driver again. It was disabled as some parts of UEFI support had not yet been merged to stable/10. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T19:36:18.514793Z K 7 svn:log V 296 MFC r268624 by nwhitehorn: On my Lenovo laptop, the firmware maps the EFI framebuffer with MTRRs set to uncacheable. This leads to execrable console performance. Once PMAP is up, remap the framebuffer as write-combining. This reduces boot time on my laptop by 60% when booting with EFI. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T19:48:37.797048Z K 7 svn:log V 109 MFC part of r267973: remove redundant "" assignment for string in BSS. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T19:56:37.349109Z K 7 svn:log V 453 MFC r268771, r268796 by nwhitehorn: r268771: Allow console drivers active from early boot to be used with xf86-video-scfb, rather than only drivers attached later on. This involves a small amount of code duplication with dev/fb/fbd.c, which will fixed later on. Also improve performance of vt_blank() by making it not read from the framebuffer unnecessarily. r268796: Fix embarassing typos I made. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T19:57:33.329817Z K 7 svn:log V 449 MFC r268772 by nwhitehorn: Allow efifb to be used with xf86-video-scfb. This is important for EFI systems without either a CSM or real graphics drivers, such as my Lenovo Haswell laptop. This provides working X with the small complication of a console cursor permanently overlaid on the upper-left corner of the screen that will be dealt with later. Also remove some redundant screen clearing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-02T20:46:18.268882Z K 7 svn:log V 187 * Fix crash due to forgotten value refcouting in ipfw_link_table_values() * Fix argument order in rollback_toperation_state() * Make flush_table() use operation state API to ease checks. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T21:05:45.501362Z K 7 svn:log V 99 MFC r269185 by ray@: Remove unused macro VT_CONSDEV_DECLARE. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-09-02T21:15:43.739660Z K 7 svn:log V 50 Delete the project file, since it is in head now. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-09-02T21:49:02.798338Z K 7 svn:log V 67 Delete the contents of the project, since the code is in head now. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T21:50:14.745837Z K 7 svn:log V 103 MFC r269186 by ray@: Remove useless debug string. Fix indent. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-09-02T21:59:24.539867Z K 7 svn:log V 43 Get rid of the empty projects directories. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-02T22:01:14.659102Z K 7 svn:log V 634 MFC automatic vt(4) selection for UEFI boot r268158: Prefer vt(4) for UEFI boot The UEFI framebuffer driver vt_efifb requires vt(4), so add a mechanism for the startup routine to set the preferred console. This change is ugly because console init happens very early in the boot, making a cleaner interface difficult. This change is intended only to facilitate the sc(4) / vt(4) transition, and can be reverted once vt(4) is the default. r268160: Fix typos in VTY constant names from r268158 r268982: Don't pass null kmdp to preload_search_info On Xen PVH guests kmdp == NULL. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-09-02T22:59:40.337223Z K 7 svn:log V 151 Fix regression introduced by SVN r270954. Correct way to reset getopts is to set OPTIND to 1, not unset it (which causes an error). Thanks to: jilles END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-09-02T23:43:06.580316Z K 7 svn:log V 216 Define _DTRACE_VERSION in sdt.h rather than setting it manually. This is similar to what illumos does, and makes it easier to enable USDT probes in third-party software that doesn't make use of the system makefiles. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-03T00:32:19.166734Z K 7 svn:log V 218 Invoke make_dtb with MACHINE defined for enhanced cross building friendliness. This should restore old-fashioned kernel building in a cross environment, though this has only had limited testing. Sponsored by: Netflix END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-03T05:14:50.695487Z K 7 svn:log V 38 Fix logical error. MFC after: 3 days END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-09-03T06:25:34.852565Z K 7 svn:log V 243 Fix up proc_realparent to always return correct process. Prior to the change it would always return initproc for non-traced processes. This fixes ps apparently always returning 1 as ppid. Pointy hat: mjg Reported by: many MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-03T06:34:16.748186Z K 7 svn:log V 248 Partially revert r270964. Don't test for C++11 to define _Thread_local. In addition to Clang 3.3, it turns out that GCC 4.7 in Ports also does not support the _Thread_local keyword. Let's document this in a bit more detail. Reported by: antoine@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-09-03T06:47:05.904713Z K 7 svn:log V 742 MFC r270666 Back in the days when the kernel was single threaded, testing "vm_paging_target() > 0" was a reasonable way of determining if the inactive queue scan met its target. However, now that other threads can be allocating pages while the inactive queue scan is running, it's an unreliable method. The effect of it being unreliable is that we can start swapping out processes when we didn't intend to. This issue has existed since the kernel was multithreaded, but the changes to the inactive queue target in 10.0-RELEASE have made its effects visible. This change introduces a more direct method for determining if the inactive queue scan met its target that is not affected by the actions of other threads. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-09-03T07:20:09.979682Z K 7 svn:log V 100 This is a direct commit to account for the renaming of 'cnt' to 'vm_cnt' in HEAD but not stable/10. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-03T08:03:26.894092Z K 7 svn:log V 245 MFC r270189: Add zdb into rescue environment. On amd64, this would increase the binary size by 1.1MiB and make it possible to examine zpool status offline, useful for recovery and diagnostic purposes. Submitted by: sef Obtained from: FreeNAS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-03T08:13:46.711269Z K 7 svn:log V 91 MFC r270239: MFV r270193: Illumos issues: 5042 stop using deprecated atomic functions END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-03T08:14:07.458942Z K 7 svn:log V 75 Fix dereference after NULL check. CID: 1234607 Sponsored by: Nginx, Inc. END