ĦG270000 151 177 988 1729 162 836 206 159 783 226 195 274 1064 802 133 124 129 334 917 142 223 132 147 425 258 195 933 183 1009 334 529 322 630 195 164 489 367 142 202 230 112 270 553 271 533 284 249 233 475 369 203 386 290 265 222 240 238 241 226 558 302 438 889 375 2060 341 349 243 416 233 126 211 277 164 230 466 1022 279 164 356 160 268 308 167 140 363 163 166 254 557 278 175 408 168 161 272 165 515 178 508 613 252 389 148 134 191 183 408 289 238 439 179 196 233 237 1752 205 283 199 207 190 977 181 227 531 263 264 280 477 315 125 211 1346 206 187 441 212 304 163 174 461 254 218 127 1364 277 234 232 765 132 245 331 K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-08-14T19:15:20.364535Z K 7 svn:log V 83 Sync list of supported devices in the man page with the driver. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-14T20:17:23.291850Z K 7 svn:log V 890 * Add cidr:kfib algo type just for fun. It binds kernel fib of given number to a table. Example: # ipfw table fib2 create algo "cidr:kfib fib=2" # ipfw table fib2 info +++ table(fib2), set(0) +++ kindex: 2, type: cidr, locked valtype: number, references: 0 algorithm: cidr:kfib fib=2 items: 11, size: 288 # ipfw table fib2 list +++ table(fib2), set(0) +++ 10.0.0.0/24 0 127.0.0.1/32 0 ::/96 0 ::1/128 0 ::ffff:0.0.0.0/96 0 2a02:978:2::/112 0 fe80::/10 0 fe80:1::/64 0 fe80:2::/64 0 fe80:3::/64 0 ff02::/16 0 # ipfw table fib2 lookup 10.0.0.5 10.0.0.0/24 0 # ipfw table fib2 lookup 2a02:978:2::11 2a02:978:2::/112 0 # ipfw table fib2 detail +++ table(fib2), set(0) +++ kindex: 2, type: cidr, locked valtype: number, references: 0 algorithm: cidr:kfib fib=2 items: 11, size: 288 IPv4 algorithm radix info items: 0 itemsize: 200 IPv6 algorithm radix info items: 0 itemsize: 200 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-14T20:20:21.684902Z K 7 svn:log V 1635 MFC 268531,269079,269204: Fix various edge cases with rewinddir(), seekdir(), and telldir(): - In the unionfs case, opendir() and fdopendir() read the directory's full contents and cache it. This cache is not refreshed when rewinddir() is called, so rewinddir() will not notice updates to a directory. Fix this by splitting the code to fetch a directory's contents out of __opendir_common() into a new _filldir() function and call this from rewinddir() when operating on a unionfs directory. - If rewinddir() is called on a directory opened with fdopendir() before any directory entries are fetched, rewinddir() will not adjust the seek location of the backing file descriptor. If the file descriptor passed to fdopendir() had a non-zero offset, the rewinddir() will not rewind to the beginning. Fix this by always seeking back to 0 in rewinddir(). This means the dd_rewind hack can also be removed. - Add missing locking to rewinddir() - POSIX says that passing a location returned by telldir() to seekdir() after an intervening call to rewinddir() is undefined, so reclaim any pending telldir() cookies in the directory when rewinddir() is called. - If telldir() is called immediately after a call to seekdir(), POSIX requires the return value of telldir() to equal the value passed to seekdir(). The current seekdir code with SINGLEUSE enabled breaks this case as each call to telldir() allocates a new cookie. Instead, remove the SINGLEUSE code and change telldir() to look for an existing cookie for the directory's current location rather than always creating a new cookie. PR: 121656 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-14T21:43:20.548434Z K 7 svn:log V 65 Replace "cidr" table type with "addr" type. Suggested by: luigi END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-08-14T22:33:56.437957Z K 7 svn:log V 739 Convert devd's client socket to type SOCK_SEQPACKET. This change consists of two merges from projects/zfsd/head along with the addition of an ATF test case for the new functionality. sbin/devd/tests/Makefile sbin/devd/tests/client_test.c Add ATF test cases for reading events from both devd socket types. r266519: sbin/devd/devd.8 sbin/devd/devd.cc Create a new socket, of type SOCK_SEQPACKET, for communicating with clients. SOCK_SEQPACKET sockets preserve record boundaries, simplying code in the client. The old SOCK_STREAM socket is retained for backwards-compatibility with existing clients. r269993: sbin/devd/devd.8 Fix grammar bug. CR: https://reviews.freebsd.org/rS266519 MFC after: 5 days Sponsored by: Spectra Logic END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-14T22:52:05.222356Z K 7 svn:log V 108 Try to clarify how file systems are exported for NFSv4. Suggested by: rcarter@pinyon.org MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-14T23:17:33.690444Z K 7 svn:log V 67 Print the symbolic bit names for the status when we get a timeout. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-08-14T23:38:04.529966Z K 7 svn:log V 685 MFC of 269674: The journal is only prepared to handle full-size block numbers, so we have to adjust freeblk records to reflect the change to a full-size block. For example, suppose we have a block made up of fragments 8-15 and want to free its last two fragments. We are given a request that says: FREEBLK ino=5, blkno=14, lbn=0, frags=2, oldfrags=0 where frags are the number of frags to free and oldfrags are the number of fragments to keep. To block align it, we have to change it to have a valid full-size blkno, so it becomes: FREEBLK ino=5, blkno=8, lbn=0, frags=2, oldfrags=6 Submitted by: Mikihito Takehara Tested by: Mikihito Takehara Reviewed by: Jeff Roberson END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-08-15T02:43:02.786450Z K 7 svn:log V 131 Change pr_output's prototype to avoid the need for explicit casts. This is a follow up to r269699. Phabric: D564 Reviewed by: jhb END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-15T03:52:40.644860Z K 7 svn:log V 102 MFC r269888: Fix a typo in a comment: s/interprete/interpret/ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-15T04:35:34.669551Z K 7 svn:log V 177 Fix synproxy with IPv6. pf_test6() was missing a check for M_SKIP_FIREWALL. PR: 127920 Submitted by: Kajetan Staszkiewicz Sponsored by: InnoGames GmbH END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-15T07:30:14.128991Z K 7 svn:log V 971 Implement 'fast path' for the vm page fault handler. Or, it could be called a scalable path. When several preconditions hold, the vm object lock for the object containing the faulted page is taken in read mode, instead of write, which allows parallel faults processing in the region. Namely, the fast path is taken when the faulted page already exists and does not need copy on write, is already fully valid, and not busy. For technical reasons, fast path is avoided when the fault is the first write on the vnode object, or when the fault is for wiring or debugger read or write. On the fast path, pmap_enter(9) is passed the PMAP_ENTER_NOSLEEP flag, since object lock is kept. Pmap might fail to create the entry, in which case the fallback to slow path is performed. Reviewed by: alc Tested by: pho (previous version) Hardware provided and hosted by: The FreeBSD Foundation and Sentex Data Communications Sponsored by: The FreeBSD Foundation MFC after: 2 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T09:10:17.047001Z K 7 svn:log V 706 Port the GNU parts of CSU and libgcc_s to arm64. Unfortunately execute_cfa_program causes the following with clang. As the backend has changed significantly in 3.5 no effort to diagnose or fix the problem will take place. Assertion failed: (Scavenged[SI].FrameIndex >= 0 && "Cannot scavenge register without an emergency spill slot!"), function scavengeRegister, file /lib/CodeGen/RegisterScavenging.cpp, line 415. Stack dump: 0. Program arguments: 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module 4. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@execute_cfa_program' END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T09:31:48.390736Z K 7 svn:log V 38 There is no tls support on arm64 yet. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T09:31:51.679114Z K 7 svn:log V 29 Add the needed MCOUNT macros END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T09:31:55.570391Z K 7 svn:log V 34 Add support for arm64 to jemalloc END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T09:40:00.309397Z K 7 svn:log V 238 Initial port of libc to arm64, just enough to get init compiling. As only static libraries are supported the arm64/Symbol.map file has not been created. System calls are not implemented as the kernel is missing the code to handle them. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T09:50:05.561230Z K 7 svn:log V 821 Don't attempt to compile files in compiler-rt that crash llvm. These cause an error like the following (long lines wrapped). fatal error: error in backend: Cannot select: 0x802a5db10: \ i64,i64 = srl_parts 0x802a5e710, 0x802a5ee10, 0x802a5e310 [ORD=19] [ID=13] 0x802a5e710: i64,ch = CopyFromReg 0x8029f1fb8, 0x802a5e210 [ORD=19] [ID=9] 0x802a5e210: i64 = Register %vreg5 [ID=4] 0x802a5ee10: i64 = Constant<0> [ID=5] 0x802a5e310: i64 = zero_extend 0x802a5d210 [ORD=19] [ID=12] 0x802a5d210: i32 = sub 0x802a5c010, 0x802a5d710 [ORD=17] [ID=11] 0x802a5c010: i32 = Constant<1075> [ID=1] 0x802a5d710: i32 = AssertSext 0x802a5c910, 0x802a5c310 [ORD=17] [ID=10] 0x802a5c910: i32,ch = CopyFromReg 0x8029f1fb8, 0x802a5e610 [ORD=17] [ID=8] 0x802a5e610: i32 = Register %vreg1 [ID=2] In function: __fixdfti END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T09:50:09.002944Z K 7 svn:log V 47 Add the config for libelf to be used on arm64. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-15T10:01:33.643612Z K 7 svn:log V 131 Remove bogus ; at the end of the if condition in order to unbreak gcc builds after r270004. MFC after: 4 days X-MFX with: r270004 END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-15T11:07:08.246372Z K 7 svn:log V 37 Setup the correct struct in cpu_fork END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-15T12:58:32.090231Z K 7 svn:log V 50 Make room for multi-type values in struct tentry. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-15T14:02:24.516125Z K 7 svn:log V 328 pf_map_addr() can fail and in this case we should drop the packet, otherwise bad consequences including a routing loop can occur. Move pf_set_rt_ifp() earlier in state creation sequence and inline it, cutting some extra code. PR: 183997 Submitted by: Kajetan Staszkiewicz Sponsored by: InnoGames GmbH END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-15T14:16:08.436575Z K 7 svn:log V 161 Do not lookup source node twice when pf_map_addr() is used. PR: 184003 Submitted by: Kajetan Staszkiewicz Sponsored by: InnoGames GmbH END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-15T15:42:58.327874Z K 7 svn:log V 100 Correct the order of arguments passed to LIST_INSERT_AFTER(). Reviewed by: kib X-MFC-With: r269656 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-15T16:08:52.383425Z K 7 svn:log V 840 Implement the FDT static pinctl/pinmux spec for Atmel. This will configure the mux and config registers for PIO devices based on what we find in the FDT. I developed it per the spec that had been committed to Linux in the January 2014 time frame and haven't updated. In short, bundles of pins are activated in specific ways for specific configurations, and we implement all of that. What's not included is a MI device infrastructure, any dynamic run-time changing of these pins, etc. Also not included are hooks into all the drivers to enable the latter (static at boot no driver changes are needed). These larger questions will need to be answered once we have more drivers like this for more platforms, or somebody has a heck of a lot of time to research a bunch of platforms, the Linux solution (which is good, but has its warts), etc. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-15T19:06:59.535631Z K 7 svn:log V 88 MFC r259088: Vendor import nvi-2.1.2-c80f493b038 a multikey mapping fix PR: bin/182463 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-15T21:22:49.597433Z K 7 svn:log V 915 Fix atmconfig compilation when MK_ATM == yes and MK_BSNMP == no Makefile.inc1: Always compile gensnmptree with bootstrap-tools when MK_BSNMP != no instead of depending on a potentially stale tool installed on the build host sbin/atm/atmconfig/Makefile: - Always remove oid.h to avoid cluttering up the build/src tree. - Consolidate all of the RESCUE/MK_BSNMP != no logic under one conditional to improve readability - Remove unnecessary ${.OBJDIR} prefixing for oid.h and use ${.TARGET} instead of spelling out oid.h - Add a missing DPADD for ${LIBCRYPTO} when compiled MK_BSNMP == yes and MK_OPENSSL == yes and not compiling for /rescue/rescue sbin/atm/atmconfig/main.c: Change #ifndef RESCUE to #ifdef WITH_BSNMP in main.c to make it clear that we're compiling bsnmp support into atmconfig Approved by: jmmv (mentor) Phabric: D579 PR: 143830 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-15T21:35:31.803105Z K 7 svn:log V 240 Make the USB and ZFS devd configuration files optional depending on the values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-08-15T22:36:41.993905Z K 7 svn:log V 433 sh: Mask off shift distance (<< and >>) in arithmetic. In C, shift distances equal to or larger than the number of bits in the operand result in undefined behaviour. As part of eliminating undefined behaviour in arithmetic, mask off the distance like Java and JavaScript specify and C on x86 usually does. Assumption: conversion from unsigned to signed retains the two's complement bits. Assumption: uintmax_t has no padding bits. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-16T00:52:13.511776Z K 7 svn:log V 229 MFC r267875: 4251 libdtrace leaks open file handles Illumos commit: 93ed8d0d4b068b95d0bb50d57bb854df462a8485 (partial) Reference: https://www.illumos.org/issues/4251 Discussed with: Robert Mustacchi Obtained from: Illumos END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-16T00:54:56.157969Z K 7 svn:log V 537 MFC r269015: fparseln(3): Update from NetBSD sources. -fix a condition so that fparseln() doesn't report spurious empty lines eg after 2 comment lines, or on EOF after a single comment line -no escape character means no escaped characters modify the previous fix so that no pointless realloc()s are done in the case of multiple empty continuation lines, and comment the code to make the logics obvious. fparseln is now part of libc in NetBSD so this changes the previous revision numbering. Obtained from: NetBSD (CVS Rev. 1.6-1.7) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-16T01:00:37.934304Z K 7 svn:log V 102 MFC r269695: Const-ify character string Obtained from: Apple Inc. (Libc 997.90.3) MFC after: 3 days END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-16T01:03:51.195379Z K 7 svn:log V 72 MFC r269901: Minor style tweaks. Obtained from: OpenBSD (CVS rev. 1.7) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-16T01:06:23.282723Z K 7 svn:log V 396 MFC r269953: Use "NO NAME" as the default unnamed label. Microsoft recommends avoiding the use of spaces in the string structures for FAT. Unfortunately they do just that by default in the case of unlabeled filesystems. Follow the default MS behavior to avoid confusion in common tools like file(1). This was actually the default behavior before r203868. Obtained from: NetBSD (CVS rev. 1.39) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-16T01:29:49.849856Z K 7 svn:log V 274 MFC r268924: Update fflush(3) to return success on a read-only stream. This is done for compliance with SUSv3. The changes cause no secondary effects in the gnulib tests (we pass them). Obtained from: Apple Inc. (Libc 997.90.3 with changes) Reviewed by: bde Phabric: D440 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-16T03:05:02.275811Z K 7 svn:log V 47 Add if_ath_alq code into the non-module build. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-16T07:01:42.096659Z K 7 svn:log V 109 Added new regression test, fixed trailing blanks in old tests. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-16T08:31:25.530237Z K 7 svn:log V 137 Complete r254667, do not destroy pmap lock if KVA allocation failed. Submitted by: Svatopluk Kraus MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-16T08:37:13.111063Z K 7 svn:log V 20 MFC r269908: Style. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-16T08:38:53.626653Z K 7 svn:log V 177 MFC r269909: Add a knob LIBPTHREAD_BIGSTACK_MAIN, which instructs libthr to leave the whole RLIMIT_STACK-sized region of the kernel-allocated stack as the stack of main thread. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-16T10:47:24.916892Z K 7 svn:log V 457 net: move interface removal notification up in if_detach_internal This is needed to prevent having interfaces with ifp->if_addr == NULL on bridge interfaces. Moving the notification event handlers up makes sure the interfaces are removed before doing any more cleanup. Sponsored by: Citrix Systems R&D Reviewed by: melifaro Differential Revision: https://reviews.freebsd.org/D598 net/if.c - Move interface removal notification up in if_detach_internal. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T12:59:47.938610Z K 7 svn:log V 179 MFC r269669: Split up sys_ktimer_getoverrun() into a sys_ and a kern_ variant and export the kern_ version needed by an upcoming linuxolator change. Sponsored by: DARPA,AFRL END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:06:11.497525Z K 7 svn:log V 441 MFC r269583: Provide -o vers= support for mount_nfs. Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version. OSX (these days), Solaris, and Linux use -o vers=<2,3,4>. With the upcoming autofs support we can make a lot of (entrerprisy) setups getting mount options from LDAP just work by providing -o vers= compatibility. Reviewed by: wblock, bjk (man page), rmacklem, emaste Sponsored by: DARPA,AFRL PR: 192379 END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:09:40.219468Z K 7 svn:log V 192 MFC r259884: Correct warnings comparing unsigned variables < 0 constantly reported while building kernels. All instances removed are indeed unsigned so the expressions could not be true. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:11:59.614027Z K 7 svn:log V 157 MFC r259885: As constantly reported during kernel compilation, m_buflen is unsigned so can never be < 0. Remove the expression, which can never be true. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-08-16T13:13:17.710112Z K 7 svn:log V 138 print additional debugging info in virtqueue_dump() (not fundamental, but useful to debug performance issues on vtnet) MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:20:44.647270Z K 7 svn:log V 383 MFC r259916: Use feature_present(3) to determine whether to open an INET or an INET6 socket when needed to allow pfctl to work on noinet and noinet6 kernels (and try to provide a fallback using AF_LINK as best effort). Adjust the Makefile to also respect relevant src.conf(5) options for compile time decisions on INET and INET6 support. Reviewed by: glebius (no objections) END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:23:23.727655Z K 7 svn:log V 277 MFC r259886: Bite the bullet and start removing the first compile time warnings by removing unsued file local functions and then unused callees. A lot more warnings to resolve but someone had to break the ice. X-Comment: I am not the new maintainer; chime in, it's ours. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:25:49.906884Z K 7 svn:log V 111 MFC r261525: Print the MD5 signature information introduced in r221023 (head) in the TCP statistics output. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:47:04.895553Z K 7 svn:log V 294 MFC r264539: When switching variables to flags in r243185 a few cases were missed. After r263152 (in head) this leaves unused variables if route(8) is compiled without INET support. Switch the remaining variable accesses to flags and remove now obsolete variables. Reviewed by: glebius END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:50:15.026523Z K 7 svn:log V 198 MFC r266596: Move the tcp_fields_to_host() and tcp_fields_to_net() (inline) functions to the tcp_var.h header file in order to avoid further duplication with upcoming commits. Reviewed by: np END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:53:05.041005Z K 7 svn:log V 173 MFC r266597: Remove the prototypes for things that are no longer file local but were moved to the header file. Was suppoed to be MFCed with: r266596 Pointy hat to: bz END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:55:44.001554Z K 7 svn:log V 130 MFC r266606: Only do a ports check if this is a NAT-T SA. Otherwise other lookups providing ports may get unexpected results. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T13:58:45.652490Z K 7 svn:log V 148 MFC r266618: Make tcp_twrespond() file local private; this removes it from the public KPI; it is not used anywhere else and seems it never was. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T14:03:00.322150Z K 7 svn:log V 146 MFC r266619: syncache_lookup() is a file local function. Make it static and take it out of the public KPI; seems it was never used elsewhere. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T14:05:31.211646Z K 7 svn:log V 149 MFC r266620: Remove the prototpye for the static inline function tcp_signature_verify_input(). The function is defined before first use already. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T14:09:26.138252Z K 7 svn:log V 134 MFC r266907: While PAWS is disabled, there are no consumers for the tcp options argument to tcp_twcheck(); thus mark it __unused. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T14:14:29.809598Z K 7 svn:log V 466 MFC r264605: Based on xlp_machdep.c and completed the list of options based on boot/mips/beri/loader/metadata.c allow FDT configuration to set command line options. This leads to an interesting quesiton of future interactions with loader. However for configurations without loader this allows bootverbose or boot single user to be set by compiling a new kernel, which is good enough for testing and debugging. Reviewed by: rwatson Sponsored by: DARPA/AFRL END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T14:17:09.980079Z K 7 svn:log V 210 MFC r264542: Use ETHER_ALIGN as argument to m_adj() to offset the beginning of packet rather than the magic number 2. While here fix a typo in a comment. No functional changes. Sponsored by: DARPA/AFRL END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T14:21:03.289014Z K 7 svn:log V 346 MFC r263632: For BERI on NetFPGA assume HZ=100 by default. Remove the uart support in favour of a "jtag-uart" interface imitation providing a much simpler interface, directly exported to the host, allowing the toolchain to be shared with BERI on Altera. [1] Submitted by: Jong Hun HAN (jong.han cl.cam.ac.uk) [1] Sponsored by: DARPA/AFRL END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-16T14:30:46.806554Z K 7 svn:log V 797 MFC r264601,264646,265766,267918,267919,267920: Merge if_nf10bmac(4), a driver to support an NetFPGA-10G Embedded CPU Ethernet Core. The current version operates on a simple PIO based interface connected to a NetFPGA-10G port. To avoid confusion: this driver operates on a CPU running on the FPGA, e.g. BERI/mips, and is not suited for the PCI host interface. Adjust the register layout to allow for 64bit registers in the future for nf10bmac(4). Also, add support for and enable RX interrupts. Allow switching between 32bit and 64bit bus width data access at compile time by setting NF10BMAC_64BIT and using a REGWTYPE #define to set correct variable and return value widths. Adjust comments to indicate the 32 or 64bit register widths. Relnotes: yes Sponsored by: DARPA/AFRL END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-16T14:56:11.742184Z K 7 svn:log V 280 Use mount protocol version 3 by default for showmount and umount. mount_nfs effectively uses mount protocol v3 by default already. v1 mount protocol is being removed along with nfsv2 by a high profile NFS appliance vendor and our legacy v1 mount protocol usage causes rpc errors. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-08-16T15:00:01.233068Z K 7 svn:log V 1964 Update to the current version of netmap. Mostly bugfixes or features developed in the past 6 months, so this is a 10.1 candidate. Basically no user API changes (some bugfixes in sys/net/netmap_user.h). In detail: 1. netmap support for virtio-net, including in netmap mode. Under bhyve and with a netmap backend [2] we reach over 1Mpps with standard APIs (e.g. libpcap), and 5-8 Mpps in netmap mode. 2. (kernel) add support for multiple memory allocators, so we can better partition physical and virtual interfaces giving access to separate users. The most visible effect is one additional argument to the various kernel functions to compute buffer addresses. All netmap-supported drivers are affected, but changes are mechanical and trivial 3. (kernel) simplify the prototype for *txsync() and *rxsync() driver methods. All netmap drivers affected, changes mostly mechanical. 4. add support for netmap-monitor ports. Think of it as a mirroring port on a physical switch: a netmap monitor port replicates traffic present on the main port. Restrictions apply. Drive carefully. 5. if_lem.c: support for various paravirtualization features, experimental and disabled by default. Most of these are described in our ANCS'13 paper [1]. Paravirtualized support in netmap mode is new, and beats the numbers in the paper by a large factor (under qemu-kvm, we measured gues-host throughput up to 10-12 Mpps). A lot of refactoring and additional documentation in the files in sys/dev/netmap, but apart from #2 and #3 above, almost nothing of this stuff is visible to other kernel parts. Example programs in tools/tools/netmap have been updated with bugfixes and to support more of the existing features. This is meant to go into 10.1 so we plan an MFC before the Aug.22 deadline. A lot of this code has been contributed by my colleagues at UNIPI, including Giuseppe Lettieri, Vincenzo Maffione, Stefano Garzarella. MFC after: 3 days. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-16T19:13:52.122950Z K 7 svn:log V 243 Add support for reading i2c SFP/SFP+ data from NIC driver and presenting most interesting fields via ifconfig -v. This version supports Intel ixgbe driver only. Tested on: Cisco,Intel,Mellanox,ModuleTech,Molex transceivers MFC after: 2 weeks END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-16T20:44:45.516943Z K 7 svn:log V 256 Move the imx6 sysctl temperature info to hw.imx6 where all the other soc-wide info lives. It was under dev.imx6_anatop.0. What does anatop mean anyway? Nobody seems to know, so it's probably not where somebody will think to look for imx6 hardware info. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-16T21:36:22.638774Z 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 5 markj K 8 svn:date V 27 2014-08-16T21:42:55.149095Z K 7 svn:log V 321 Factor out the common code for function boundary tracing instead of duplicating the entire implementation for both x86 and powerpc. This makes it easier to add support for other architectures and has no functional impact. Phabric: D613 Reviewed by: gnn, jhibbits, rpaulo Tested by: jhibbits (powerpc) MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-16T21:53:44.201616Z K 7 svn:log V 135 * Use standard net/sff8472.h header for sff bits and offsets. * Convert sff_8472_id to 'const char *' to please clang. Pointed by: np END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-16T22:55:58.994457Z K 7 svn:log V 29 Clean up unused definitions. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-17T00:52:07.705677Z K 7 svn:log V 115 MFC r266933 Activate vcpus from bhyve(8) using the ioctl VM_ACTIVATE_CPU instead of doing it implicitly in vmm.ko. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-17T01:00:42.711168Z K 7 svn:log V 181 MFC r267216 Add ioctl(VM_REINIT) to reinitialize the virtual machine state maintained by vmm.ko. This allows the virtual machine to be restarted without having to destroy it first. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T01:15:34.730856Z K 7 svn:log V 72 MFC r269387: Update the ARMv6 core clang targets to be an arm1176jzf-s. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-17T01:16:40.913339Z K 7 svn:log V 134 MFC r267178, r267300 Support guest accesses to %cr8 Add reserved bit checking when doing %CR8 emulation and inject #GP if required. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-17T01:23:52.914035Z K 7 svn:log V 370 MFC r267311, r267330, r267811, r267884 Turn on interrupt window exiting unconditionally when an ExtINT is being injected into the guest. Add helper functions to populate VM exit information for rendezvous and astpending exits. Provide APIs to directly get 'lowmem' and 'highmem' size directly. Expose the amount of resident and wired memory from the guest's vmspace END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T01:28:03.119183Z K 7 svn:log V 929 MFC r269594, r269596, r269597, r269598, r269605, r269606: Set ofwbus and simplebus to attach during BUS_PASS_BUS. Define names that drivers can use to adjust their position relative to other drivers within a BUS_PASS Adjust ofwbus and simplebus to attach at BUS_PASS_ORDER_MIDDLE, so that a platform can attach some other bus first if necessary. Set the pl310 L2 cache driver to attach during the middle of BUS_PASS_CPU. Attach arm generic interrupt and timer drivers in the middle of BUS_PASS_INTERRUPT and BUS_PASS_TIMER, respectively. Add an arm option, ARM_DEVICE_MULTIPASS, used to opt-in to multi-pass device attachment on arm platforms. If this is defined, nexus attaches early in BUS_PASS_BUS, and other busses and devices attach later, in the pass number they are set up for. Without it defined, nexus attaches in BUS_PASS_DEFAULT and thus so does everything else, which is status quo. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T01:32:33.540204Z K 7 svn:log V 186 MFC r269607, r269698: Cache the imx6 SoC type in a static var so that it only has to be figured out by sniffing hardware registers once. Add a missing clock register definition. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T01:48:12.990327Z K 7 svn:log V 72 MFC r269646: Use a SYSINIT to init the array of interrupt names on arm. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T01:59:54.563197Z K 7 svn:log V 263 MFC r269769, r269770: Use a separate variable for resource id, because 'i' may increment at a rate greater than 1 on each iteration. Handle various ways that interrupt config data can be malformed by warning and assuming more or less reasonable values. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T02:40:44.519289Z K 7 svn:log V 68 MFC r269688: m4 now requires libohash, build it when bootstrapping. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T02:53:36.896706Z K 7 svn:log V 175 Rename the old initarm_* functions to the new platform_* names. Also move the registration of the static device map table into the function intended to do devmap init stuff. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-17T02:56:58.596071Z K 7 svn:log V 215 When the initarm_* routines were renamed to platform_* and moved to their own header file, the lovely block of comments explaining what the generic init code expects of the soc implementations got lost, restore it. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-17T03:01:56.356532Z K 7 svn:log V 72 MFC r267338 Replace enum forward declarations with complete definitions END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-17T06:28:57.732827Z K 7 svn:log V 43 Add missing DPADD to Makefile. PR: 192733 END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T06:52:35.243088Z K 7 svn:log V 270 MFC r268074: Perform a lockless check in sigacts_shared. It is used only during execve (i.e. singlethreaded), so there is no fear of returning 'not shared' which soon becomes 'shared'. While here reorganize the code a little to avoid proc lock/unlock in shared case. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T06:54:49.088808Z K 7 svn:log V 71 MFC r268087: Don't call crcopysafe or uifind unnecessarily in execve. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T06:56:22.376326Z K 7 svn:log V 74 MFC r268136: Plug gcc warning after r268074 about unitialized newsigacts END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T06:58:14.606305Z K 7 svn:log V 161 MFC r268365: Don't call crdup nor uifind under vnode lock. A locked vnode can get into the way of satisyfing malloc with M_WATOK. This is a fixup to r268087. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T07:00:47.932365Z K 7 svn:log V 464 MFC r268505, r268507: Avoid relocking filedesc lock when closing fds during fdp destruction. Don't call bzero nor fdunused from fdfree for such cases. It would do unnecessary work and complain that the lock is not taken. ======= Don't zero fd_nfiles during fdp destruction. Code trying to take a look has to check fd_refcnt and it is 0 by that time. This is a follow up to r268505, without this the code would leak memory for tables bigger than the default. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T07:05:30.448054Z K 7 svn:log V 185 MFC r259407: proc exit: don't take PROC_LOCK while freeing rlimits Code wishing to check rlimits of some process should check whether it is exiting first, which current consumers do. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T07:06:55.683074Z K 7 svn:log V 83 MFC r268514: Eliminate plim and vtmp local vars in exit1. No functional changes. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T07:16:03.918523Z K 7 svn:log V 315 MFC r264114, r264310, r268570: r264114 by davidxu: Fix SIGIO delivery. Use fsetown() to handle file descriptor owner ioctl and use pgsigio() to send SIGIO. r264310 by davidxu: Add kqueue support for devctl. r268570: Clear nonblock and async on devctl close instaed of open. This is a purely cosmetic change. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T07:20:37.277545Z K 7 svn:log V 76 MFC r268634: Manage struct sigacts refcnt with atomics instead of a mutex. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T07:22:40.746140Z K 7 svn:log V 69 MFC r268636: Plug p_pptr null test in do_execve. It is always true. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-08-17T07:24:23.487955Z K 7 svn:log V 179 MFC r269020: Cosmetic changes to unp_internalize Don't throw away the result of fget_unlocked. Move fdp increment to for loop to make it consistent with similar code elsewhere. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-17T09:07:21.383146Z K 7 svn:log V 73 MFC r269457: Remove Giant acquisition from the mount and unmount pathes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-17T09:44:42.404655Z K 7 svn:log V 420 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 MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-08-17T10:25:27.772713Z K 7 svn:log V 84 staticize two functions, and use proper format for a struct sglist (reported by bz) END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-17T11:59:23.252826Z K 7 svn:log V 416 Add a few missing entries and fix entries that are obviously wrong. The use of the old ISO language code "iw" for Hebrew was inconsistent and it is replaced by the new language code "he" (which was already used for the keyboard menu entry, but not for the menu heading or the default font). These changes are in preparation of the conversion of this file and the keymap definitions to Unicode for use with NEWCONS. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-08-17T13:08:15.101440Z K 7 svn:log V 520 MFC r269948: Supplement r259111 by also using correct casts in gcc's emmintrin.h for the first argument of the following builtin function: * __builtin_ia32_psrlqi128() takes __v2di instead of __v4si This should fix the following errors when building the graphics/webp port with base gcc: lossless_sse2.c:403: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' lossless_sse2.c:404: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' Reported by: Jos Chrispijn END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-08-17T13:12:07.008578Z K 7 svn:log V 159 MFC r269954: Stop telling people to directly report llvm or clang bugs upstream, point them to the FreeBSD bug tracker instead, since we use our own patches. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-08-17T14:26:12.630034Z K 7 svn:log V 293 sh: Don't hardcode relative paths in the tests stderr files. These paths have had to be adjusted to changes in the testsuite runner several times, so modify the tests to remove the need for such adjustment. A cp in functional_test.sh is now unneeded, but this matters little in performance. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-08-17T16:40:29.921082Z K 7 svn:log V 53 sh: Reject integer overflow in number and is_number. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-17T16:53:10.030051Z K 7 svn:log V 42 Convert the HL201 config file to use FDT. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-17T16:53:14.991653Z K 7 svn:log V 99 Define at91_master_clock in only one file to eliminate warnings about it multiply defined commons. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-17T16:53:19.853350Z K 7 svn:log V 91 Add missing license to at91_common.c. It was committed w/o a license. Pointy hat to: imp@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-17T18:22:42.771563Z K 7 svn:log V 315 MFC r269497: Add support for Windows dialect of EXTENDED COPY command, aka Microsoft ODX. This allows to avoid extra network traffic when copying files on NTFS iSCSI disks within one storage host by drag'n'dropping them in Windows Explorer of Windows 8/2012. It should also accelerate Hyper-V VM operations, etc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-17T18:23:43.136546Z K 7 svn:log V 196 MFC r269587: Reimplement WRITE USING TOKEN with Block Zero token using WRITE SAME. On my ZVOL of SSDs that increases speed of zero writing in that way from 1 to 2.5GB/s by reducing CPU overhead. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-17T18:24:59.651951Z K 7 svn:log V 145 MFC r269622: Fix several issues and inconsistencies in UNMAP capabilities reporting. This makes Windows 2012 to start using UNMAP on our disks. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-17T18:26:34.773144Z K 7 svn:log V 346 MFC r269631: Reduce reported additional INQUIRY data length. sizeof(struct scsi_inquiry_data) of 256 bytes combined with off-by-one error in the changed code gave total INQUIRY data length above 255 bytes, that was maximal INQUIRY length in SPC-2. While SPC-3 increased the maximal length to 64K, at least sg3_utils are still confused by that. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-17T18:27:02.271736Z K 7 svn:log V 88 Remove keyboard entropy [1] from r270105. Reported by: ian [1] (Pointy hat)^2 to: imp END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-08-17T19:06:26.686473Z K 7 svn:log V 102 Remove LOG_ODELAY because it does nothing. Reviewed by: jilles CR: https://reviews.freebsd.org/D611 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-17T19:24:26.937348Z 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 6 jilles K 8 svn:date V 27 2014-08-17T19:36:56.331967Z K 7 svn:log V 141 sh: Avoid overflow in atoi() when parsing HISTSIZE. Side effect: a non-numeric HISTSIZE now results in the default size (100) instead of 0. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-17T19:54:21.393381Z K 7 svn:log V 1659 Attempt at converting the SYSCONS keymaps to Unicode for use with NEWCONS. I have spent many hours comparing source and destination formats, and hope to have caught the most severe conversion errors. Files were converted with a Perl script which I'll shortly commit to the tools directory. This script is a much enhanced version of the one provided by ray@ and is expected to support the full kbdmap(5) syntax. The naming convention used is: <2-letter country code>..kbd Only if there are multiple layouts for different languages: <2-letter country code>-<2-letter language code>..kbd In nearly all cases, the keyboards are country specific, only. Currently there is only one case where the language was added ("ch-fr.kbd" for the Swiss-French keyboard layout). I choose to write Unicode character codes as hex numbers. While this increases the diff to the SYSCONS keymap files for the trivial cases (conversion from ISO8859-1), it really helps to verify the more complex cases against a Unicode table (which is indexed by hex numbers). This commit does not cover all files that have been converted, since I need to sort out which ones to use, if there were several with different source encodings to choose from. Review and test of the keymap files is highly desirable before 10.1 is released. I'd also appreciate educated opinions regarding the optimum variant (to be made available as the default for each language). Since there are no NEWCONS keymaps in 10-STABLE, I plan to MFC after the minimum allowed delay of 3 days, to allow at least a few weeks to test and improve what will be in the next release. MFC after: 3 days END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-17T20:06:47.594241Z K 7 svn:log V 107 Add forgotten DPADD to ifconfig(8). PR: 192760 Submitted by: yaneurabeya at gmail.com MFC after: 2 weeks END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-17T23:30:45.108975Z K 7 svn:log V 189 Fix typo in lib/atf/libatfc++/Makefile LIBATFC should be LIBATF_C; this was missed in the initial import (r241823) PR: 192731 MFC after: 3 days Phabric: D619 Approved by: rpaulo (mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-18T00:50:09.578077Z K 7 svn:log V 105 Add -ll to LDADD to fix "make checkdpadd" Phabric: D622 MFC after: 2 weeks Approved by: rpaulo (mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-18T01:21:41.134476Z K 7 svn:log V 113 Add LIBUTIL to DPADD This will fix "make checkdpadd" MFC after: 5 days PR: 192759 Approved by: rpaulo (mentor) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-18T01:49:42.720285Z K 7 svn:log V 95 Rename ca keyboard to ca-fr "ca" will shortly be used for the Canadian Multilingual keyboard. END K 10 svn:author V 4 ache K 8 svn:date V 27 2014-08-18T02:13:45.059620Z K 7 svn:log V 883 MFC: r269806,r269809,r269811,r269810 r269806: Fix too long (seed length >12 chars) challenge handling. 1) " ext" length should be included into OPIE_CHALLENGE_MAX (as all places of opie code expects that). 2) Overflow check in challenge.c is off by 1 even with corrected OPIE_CHALLENGE_MAX 3) When fallback to randomchallenge() happens and rval is 0 (i.e. challenge is too long), its value should be set to error state too. To demonstrate the bug, run opiepasswd with valid seed: opiepasswd -s 1234567890123456 and notice that it falls back to randomchallenge() (i.e. no 1234567890123456 in the prompt). r269809: When sha1 support was added, they forget to increase OPIE_HASHNAME_MAX r269811: Last '/' for program name, not first one. r269810: Link otp-sha1 to match real challenge prompt, not otp-sha. PR: 191511 Submitted by: mitsururike@gmail.com (partially, PR 269806) END K 10 svn:author V 4 ache K 8 svn:date V 27 2014-08-18T02:32:48.976430Z K 7 svn:log V 88 Direct commit to stable/10 reflecting r269815 because rest can't be merged Add otp-sha END K 10 svn:author V 4 ache K 8 svn:date V 27 2014-08-18T02:42:23.220161Z K 7 svn:log V 133 Direct commit to stable/10 reflecting r269961 because the rest can't be merged. Bump version because challenge buffer size changed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-18T02:44:56.616003Z K 7 svn:log V 438 Expand the elf brandelf infrastructure to give access to the whole ELF header (Elf_Ehdr) to determine if a particular interpretor wants to accept it or not. Use this mechanism to filter EABI arm on OABI arm kernels, and vice versa. This method could also be used to implement OABI on EABI arm kernels, if desired, or to allow a single mips kernel to run o32, n32 and n64 binaries. Differential Revision: https://reviews.freebsd.org/D609 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-18T02:45:06.235950Z K 7 svn:log V 170 /usr/libexec/ld.so.1 never was a thing on FreeBSD/arm. This was the FreeBSD 3.x and 4.x run time linker. FreeBSD/arm's first release was 5.0. Retire this long-dead code. END K 10 svn:author V 4 ache K 8 svn:date V 27 2014-08-18T03:06:49.929060Z K 7 svn:log V 170 MFC: r269875 According to opie code and even direct mention in opie(4) challenge buffer size must be OPIE_CHALLENGE_MAX + 1, not OPIE_CHALLENGE_MAX Reviewed by: des END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-18T05:13:46.020855Z K 7 svn:log V 183 MFC r269430: MFV r269426: Double test device size for ztest(1). Illumos issue: 5039 ztest should default to larger device sizes Author: Matthew Ahrens END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-18T05:17:24.367502Z K 7 svn:log V 380 MFC r269431: MFV r269427: In dnode_children_t, use C99's "[]" idiom for declaring the variable sized array dnc_children at the end of the structure. This prevents the compiler from mistakenly optimizing away accesses beyond the array's defined size. Illumos issue: 5038 Remove "old-style" flexible array usage in ZFS. Author: Justin T. Gibbs END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-18T05:22:09.160249Z K 7 svn:log V 218 MFC r269543: MFV r269542: In vdev_get_stats, check that the vdev is not a hole before computing the fragmentation. This fixes a panic when removing log device. Illumos issue: 5049 panic when removing log device END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-18T08:07:50.478855Z K 7 svn:log V 28 Zero buffer before request. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-18T08:50:05.390681Z K 7 svn:log V 115 MFC r269814: blkfront: add support for unmapped IO Sponsored by: Citrix Systems R&D Tested by: robak PR: 191173 END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-18T09:40:19.919687Z K 7 svn:log V 1253 Import the tools used to convert the keymap files from SYSCONS (in locale dependent encoding) to NEWCONS (Unicode). The file "LANG.map" is used to convert INDEX.keymaps. It has 3 columns: - the language ID as used in the source file - the language ID to be used in the generated file (e.g. "iw" -> "he") - the encoding of the menu texts for this language The conversion result is written to STDOUT. The file "KBDFILES.map" is used to batch convert keymap files. It's columns are: - the encoding used for the keymap sounce file - the name of the source file - the name of the generated file The output files are created in the TEMP sub-directory of the vt keymap directory, in order to preserve (possibly uncommitted) keymap files in /usr/src/share/vt/keymaps. The convert-keymap.pl script can be directly executed by passing the source file name and the encoding on the command line. It writes to STDOUT and generates hex Unicode codepoints by default. (This can be changed to decimal in the script.) While written for the one-time conversion of the SYSCONS keymaps into the format required for NEWCONS, I think these tools may be useful for easy conversion of possible further SYSCONS keymap files, that have not been committed to the source tree. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2014-08-18T12:29:28.313908Z K 7 svn:log V 111 - Do not look for more matching lines if -L is specified Submitted by: eadler (based on) MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-18T14:23:07.328576Z K 7 svn:log V 90 Add more USB class codes. Obtained from: libusb project at SourceForge MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-18T14:30:43.909562Z K 7 svn:log V 343 Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual sample size. According to the USB audio frame format specification from USB.org, the value in the "bBitResolution" field can be less than the actual sample size, depending on the actual hardware, and should not be used for this computation. PR: 192755 MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-18T14:47:13.915721Z K 7 svn:log V 117 Remove vestiges of previous autofs. Discussed with: alfred@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-18T15:54:35.417686Z K 7 svn:log V 211 MFC r269492: Improve locking of multicast addresses in VLAN and LAGG interfaces. This fixes several scenarios of reproducible panics, cause by races between multicast address changes and interface destruction. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-18T16:06:04.539172Z K 7 svn:log V 71 MFC r269183, r269191: Add netmasks support to initiator-portal option. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2014-08-18T16:08:07.301189Z K 7 svn:log V 79 Add a "Compare and set" style support function. Approved by: gibbs (implicit) END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-08-18T16:55:18.181122Z K 7 svn:log V 366 Bulk update of evdev code: * Implemented async and non-blocking I/O mode in evdev characted device driver * Fixed crash when closing not-yet-registered uinput device * Added UI_DEV_GETPATH ioctl to uinput which provides newly created evdev node path * Implemented UI_SET_PHYS ioctl in uinput * Implemented EVIOCREVOKE ioctl * Added uep(4) to EVDEV kernel config END K 10 svn:author V 6 cherry K 8 svn:date V 27 2014-08-18T17:01:01.752584Z K 7 svn:log V 158 Excise the pv related sources from the tree. This is cruft leftover from an earlier effort to separate the pv code from pmap.c Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2014-08-18T17:08:11.672069Z K 7 svn:log V 122 Missed out removing pmap_pv.h from the tree, and references to it and mmu_map.h in r270140 Approved by: gibbs (implicit) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-18T17:10:55.841671Z K 7 svn:log V 32 Add Canadian Bilingual keyboard END K 10 svn:author V 6 cherry K 8 svn:date V 27 2014-08-18T17:35:33.113107Z K 7 svn:log V 1267 This commit consists of a number of changes that enable the pv kernel to boot to multiuser mode. i) pmap has been completely purged of pmap_pv and mmu_map cruft. ii) machdep.c has been modified unmap excess boottime kernel va mappings, which had overlaps with vm_pages on the free list. This caused page aliasing with conflicting permissions further on in boot. iii) To enable ii), the "special" page wirings for the xen console, xenstore, and shared info pages were mapped into non-conflicting va space at the expense of virtual_start, which is from an abundant resource (kernel va range). iv) Maxmem has been limited to about 50M for now, due to bootstrap limitations of Memory direct mapping. This is trivially fixable, and will be addressed in the next set of commits. v) User thread VA mappings into kernel space has been bugfixed and streamlined. (Further optimisations are possible). vi) The exception return path has been clipped of gs restore for now. We know that the hypervisor restores this on exit (via swapgs), but this needs further review. It seems to "just work for now", but I have left a note in the comments. This commit also removes mmu_map.[hc] which have mysteriously survived previous purges! Approved by: gibbs (implicit) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-18T17:35:39.513786Z K 7 svn:log V 183 Add LIBCRYPT to DPADD, remove LDFLAGS from LDADD, and sort the Makefile variables This fixes "make checkdpadd" Phabric: D620 Approved by: jmmv (mentor) PR: 192729 MFC after: 5 days END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-18T17:38:50.048515Z K 7 svn:log V 140 Replace DPADD with DPSRCS to fix "make checkdpadd" Phabric: D625 Approved by: jmmv (mentor) Reviewed by: dim PR: 192734 MFC after: 2 weeks END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-18T18:01:18.325635Z K 7 svn:log V 138 Add LIBCRYPTO and LIBSSL to DPADD This fixes "make checkdpadd" Phabric: D621 PR: 192761 Approved by: rpaulo (mentor) MFC after: 2 weeks END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2014-08-18T18:05:55.072608Z K 7 svn:log V 667 Backport r197824, r213427 and r213960 from LLVM trunk: r197824 | rdivacky | 2013-12-20 19:08:54 +0100 (Fri, 20 Dec 2013) | 2 lines Implement initial-exec TLS for PPC32. r213427 | hfinkel | 2014-07-19 01:29:49 +0200 (Sat, 19 Jul 2014) | 7 lines [PowerPC] 32-bit ELF PIC support This adds initial support for PPC32 ELF PIC (Position Independent Code; the -fPIC variety), thus rectifying a long-standing deficiency in the PowerPC backend. Patch by Justin Hibbits! r213960 | hfinkel | 2014-07-25 19:47:22 +0200 (Fri, 25 Jul 2014) | 3 lines [PowerPC] Support TLS on PPC32/ELF Patch by Justin Hibbits! Reviewed by: jhibbits Approved by: dim END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2014-08-18T18:07:28.370550Z K 7 svn:log V 35 Add the patch commited in r270147. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-08-18T19:27:47.845804Z K 7 svn:log V 149 Deal explicitly with possible failures of make_dev_alias_p() in GEOM. Submitted by: Mariusz Zaborski MFC after: 3 days END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-08-18T20:21:12.343922Z K 7 svn:log V 234 MFC r269977 Skip pgrep-j and pkill-j if jail or jls is not installed. Even though jail is part of the base system, it can be disabled by src.conf settings. Therefore, it should be listed as a required program for tests that use it. END