ƒ³A232538 169 202 214 150 208 173 277 152 392 242 288 176 380 194 298 453 140 249 182 220 182 267 616 289 113 1509 1509 379 379 1262 1262 149 150 663 122 469 440 140 255 289 375 179 179 193 112 327 173 724 466 181 134 263 183 198 118 158 229 269 260 127 162 243 277 224 166 136 136 287 170 272 272 206 344 1471 129 296 207 555 1148 126 653 307 451 335 117 209 171 127 873 213 144 138 187 145 170 1574 127 312 127 218 354 179 222 225 441 139 584 265 456 261 202 179 263 139 406 128 99 204 783 413 196 233 217 251 167 250 147 1142 1994 471 418 181 228 187 235 165 161 127 202 144 207 146 294 367 345 248 604 156 687 187 187 187 142 146 142 176 584 130 171 232 155 217 150 375 159 143 1280 491 213 162 K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-05T06:12:15.497387Z K 7 svn:log V 105 Fix ng_ipfw(4) cookie number in example. Pointed out by: "Jacco van Buuren" END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-03-05T06:41:44.756590Z K 7 svn:log V 116 Fix for DWC OTG interrupt register programming. Fix a compiler warning. Add missing header file. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-03-05T06:46:35.772628Z K 7 svn:log V 53 Add DWC OTG module to ARM builds. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-05T11:38:02.133161Z K 7 svn:log V 115 Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs. Reported and tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-05T11:43:27.960280Z K 7 svn:log V 81 MFC r232392: Belatedly add dl_iterate_phdr(3) to the list of installed manpages. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-05T11:45:19.864637Z K 7 svn:log V 184 MFC r232239: Fix a race in top non-interactive mode. Use plain sleep(3) call instead of arming timer and then pausing. If SIGALRM is delivered before pause(3) is entered, top hangs. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-05T11:46:14.003520Z K 7 svn:log V 58 Slight improvement in readability of macro sowriteable(). END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-05T11:59:26.123683Z K 7 svn:log V 297 Improve m_cat() by being able to also merge contents from M_EXT mbuf's by doing proper testing with M_WRITABLE(). In m_collapse() replace an incomplete manual check for M_RDONLY with the M_WRITABLE() macro that also tests for shared buffers and other cases that make a particular mbuf immutable. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-05T14:04:12.881702Z K 7 svn:log V 144 Release stable/8 from code freeze. Release activity for the 8.3-RELEASE release cycle will now be on releng/8.3. Approved by: core (implicit) END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2012-03-05T14:19:43.415531Z K 7 svn:log V 192 Print out process name and thread id in the debugging message. This is useful because the message can end up in system logs in non-debugging operation. Reviewed by: attilio (earlier version) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-03-05T16:37:51.044132Z K 7 svn:log V 82 Make growfs(8) mostly style compliant. No functional changes, verified with MD5. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-05T17:06:34.947549Z K 7 svn:log V 283 MFC r231888: Put the signal trap output to standard error instead of standard output. Without this change, pressing ^T could result in rc.d script putting junk strings like: Script running in configuration files when redirecting standard output to these files. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-05T17:08:42.430953Z K 7 svn:log V 98 Backout r223115 and restore the historic behavior (create the default base directory in pw.conf). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-05T17:09:16.545052Z K 7 svn:log V 201 MFC r232202: Drop setuid status while doing file operations to prevent potential information leak. This changeset is intended to be a minimal one to make backports easier. Reviewed by: kevlo, remko END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T17:33:01.203170Z K 7 svn:log V 361 MFC r231852,232127: Merge multi-FIB IPv6 support. Extend the so far IPv4-only support for multiple routing tables (FIBs) introduced in r178888 to IPv6 providing feature parity. This includes an extended rtalloc(9) KPI for IPv6, the necessary adjustments to the network stack, and user land support as in netstat. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-05T17:38:44.639626Z K 7 svn:log V 44 Fix typo. Bump .Dd for the previous change. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-03-05T17:39:13.674221Z K 7 svn:log V 150 MFC r232225 Update PCI-IDs with devices found on Intel SDP Return BUS_PROBE_DEFAULT so that non-default drivers may be loaded Approved by: sbruno END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T17:51:15.564930Z K 7 svn:log V 91 IF stable/9 --record-only r232292. IF stable/9 @r232554 Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-05T17:51:57.992278Z K 7 svn:log V 123 Merge r231761 from head: In ng_bypass() add more protection against potential race with ng_rmnode() and its followers. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T17:58:58.587867Z K 7 svn:log V 91 IF stable/8 --record-only r232552. IF stable/8 @r232556 Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-05T18:15:54.822477Z K 7 svn:log V 170 Merge r232556 from stable/8 (r231761 from head): In ng_bypass() add more protection against potential race with ng_rmnode() and its followers. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-03-05T18:20:31.563388Z K 7 svn:log V 517 Merge r232554 from stable/8 (r232225 from head): Include missing device IDs for isci(4) driver. The C600 chipset will surface one of device IDs 0x1D6C-0x1D6F for the integrated SAS controller on systems that are shipped with a 3rd party (i.e. non-Intel) device driver. These changes add the 0x1D6C-0x1D6F device IDs, as well as change isci_probe() to return a value that would allow a 3rd-party FreeBSD driver to load against this device, should such a driver ever come to fruition. Approved by: re (kib), sbruno END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-05T18:40:53.394840Z K 7 svn:log V 196 MFC r225682: Copy ip6po_minmtu and ip6po_prefer_tempaddr in ip6_copypktopts(). This fixes inconsistency when options are specified by both setsockopt() and ancillary data types. PR: kern/158307 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-05T18:47:42.974671Z K 7 svn:log V 20 Fix few style nits. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-03-05T18:54:28.052726Z K 7 svn:log V 1415 MFC 232411: Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem is that the mpt(4) driver was masking off the bottom bit of the PCI device ID when deciding which cards to attach to. It appears that a number of the mpt(4) Fibre Channel cards had a LAN variant whose PCI device ID was just one bit off from the FC card's device ID. The FC cards were even and the LAN cards were odd. The problem was that this pattern wasn't carried over on the SAS and parallel SCSI mpt(4) cards. Luckily the SAS and parallel SCSI PCI device IDs were either even numbers, or they would get masked to a supported adjacent PCI device ID, and everything worked well. Now LSI is using some of the odd-numbered PCI device IDs between the 3Gb SAS device IDs for their new MegaRAID cards. This is causing the mpt(4) driver to attach to the RAID cards instead of the mfi(4) driver. The solution is to stop masking off the bottom bit of the device ID, and explicitly list the PCI device IDs of all supported cards. This change should be a no-op for mpt(4) hardware. The only intended functional change is that for the 929X, the is_fc variable gets set. It wasn't being set previously, but needs to be because the 929X is a Fibre Channel card. Reported by: Kashyap Desai END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-03-05T19:01:23.054215Z K 7 svn:log V 1415 MFC 232411: Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem is that the mpt(4) driver was masking off the bottom bit of the PCI device ID when deciding which cards to attach to. It appears that a number of the mpt(4) Fibre Channel cards had a LAN variant whose PCI device ID was just one bit off from the FC card's device ID. The FC cards were even and the LAN cards were odd. The problem was that this pattern wasn't carried over on the SAS and parallel SCSI mpt(4) cards. Luckily the SAS and parallel SCSI PCI device IDs were either even numbers, or they would get masked to a supported adjacent PCI device ID, and everything worked well. Now LSI is using some of the odd-numbered PCI device IDs between the 3Gb SAS device IDs for their new MegaRAID cards. This is causing the mpt(4) driver to attach to the RAID cards instead of the mfi(4) driver. The solution is to stop masking off the bottom bit of the device ID, and explicitly list the PCI device IDs of all supported cards. This change should be a no-op for mpt(4) hardware. The only intended functional change is that for the 929X, the is_fc variable gets set. It wasn't being set previously, but needs to be because the 929X is a Fibre Channel card. Reported by: Kashyap Desai END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T19:10:55.847056Z K 7 svn:log V 287 MFC r231855: Add regression tests for the setsockopt(2) SO_SETFIB socket option. Check that the expected domain(9) families all handle the socket option correctly and do proper bounds checks. This would catch bugs as fixed in (r230938,)r230981. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T19:10:58.890876Z K 7 svn:log V 287 MFC r231855: Add regression tests for the setsockopt(2) SO_SETFIB socket option. Check that the expected domain(9) families all handle the socket option correctly and do proper bounds checks. This would catch bugs as fixed in (r230938,)r230981. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T19:13:18.515309Z K 7 svn:log V 1169 MFC r231858: Add regression tests scripts for multi-IP FIBs exercising the send, receive and forward path tagging packets with both the ifconfig fib option or using ipfw, running ICMP6, TCP/v6 and UDP/v6 tests and testing both setfib(2) as well as the SO_SETFIB socket option. At 16 FIBs a total of over 64k return codes/replies/stati are checked, sometimes multiple times (in different ways, e.g. the reflected request as well as ipfw counter values). The scripts need two or three machines to run and are thus not added to the tools/regression framework but only to tools/test. MFC r232114: Update scripts to work around two sh(1) bugs found in stable/8: 1) _x=$((_x + 1)) does not work while x=$((x + 1)) does. 2) Parameter Expansion, esp. "${x%%bar}" does not work if quoted. Correct typos and improve some details forwarding.sh already had in initiator, esp. related to ipfw accepting if the default is deny. Add an extra stat call to the "delay" function in addition to the touch which together is still a lot faster than sleep 1 but seems to help a lot more to mitigate the unrelated kernel race seen. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T19:13:19.571959Z K 7 svn:log V 1169 MFC r231858: Add regression tests scripts for multi-IP FIBs exercising the send, receive and forward path tagging packets with both the ifconfig fib option or using ipfw, running ICMP6, TCP/v6 and UDP/v6 tests and testing both setfib(2) as well as the SO_SETFIB socket option. At 16 FIBs a total of over 64k return codes/replies/stati are checked, sometimes multiple times (in different ways, e.g. the reflected request as well as ipfw counter values). The scripts need two or three machines to run and are thus not added to the tools/regression framework but only to tools/test. MFC r232114: Update scripts to work around two sh(1) bugs found in stable/8: 1) _x=$((_x + 1)) does not work while x=$((x + 1)) does. 2) Parameter Expansion, esp. "${x%%bar}" does not work if quoted. Correct typos and improve some details forwarding.sh already had in initiator, esp. related to ipfw accepting if the default is deny. Add an extra stat call to the "delay" function in addition to the touch which together is still a lot faster than sleep 1 but seems to help a lot more to mitigate the unrelated kernel race seen. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-05T19:32:44.484060Z K 7 svn:log V 53 Merge all revisions except r199804 back to stable/7. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-05T19:38:59.768262Z K 7 svn:log V 58 Fix three instances of a missing word. Submitted by: bjk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-05T19:53:17.729716Z K 7 svn:log V 570 Fix boot2 to handle boot config files that only contain a custom path to a loader or kernel. Specifically, kname cannot be pointed at cmd[] since it's value is change to be an empty string after the initial call to parse, and cmd[]'s value can be changed (thus losing a prior setting for kname) due to user input at the boot prompt. While here, ensure that that initial boot config file text is nul-terminated, that ops is initialized to zero, and that kname is always initialized to a valid string. Tested by: Domagoj Smolcic rank1seeker of gmail MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-05T20:04:28.297677Z K 7 svn:log V 26 Actually bump date, sigh. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-05T20:43:06.653137Z K 7 svn:log V 376 The libmap.conf initialization is performed before TLS is functional. Since after r232498 the ctype macros require working access to thread-local variables, rtld crashes when libmap.conf is present. Use hand-made isspace1() macro which is enough to detect spaces in libmap.conf. Reported by: alc, lme, many on current@ Tested by: lme Reviewed by: dim, kan MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T20:44:54.058146Z K 7 svn:log V 348 Initial backport of the multi-FIB IPv6 changes from HEAD. Contrary to stable/[98] and head, stable/7 is still using the rtables to store neighbor information (arp and nd6) and still uses route cloning. This means that a lot more neighbor handling is per-FIB as neighbor entires might expire independently, etc. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-03-05T20:59:34.639839Z K 7 svn:log V 48 Link EV_SET(3) to kqueue(2). MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-05T22:36:50.266476Z K 7 svn:log V 163 Adjust rtalloc_ign() calls for multi-FIBv6 though not really supported. Use RT_DEFAULT_FIB rather than a magic 0 also for IPv4. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T02:23:15.543104Z K 7 svn:log V 191 In the trap messages that aid the primitive debugging environment of MIPS, include the tid as well, so it's easier to tell which thread of a process with multiple is responsible for a crash. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-06T03:25:50.879710Z K 7 svn:log V 280 Prepare for large TLS redo. Save pointer to the beginning of TLS area, and offset it only if requested by RDHWR handler. Otherwise things get overly complicated - we need to track whether address passsed in request for setting td_md.md_tls is already offseted or not. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-06T03:27:08.853142Z K 7 svn:log V 85 - Switch to saving non-offseted pointer to TLS block in order too keep things simple END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-06T03:27:58.050518Z K 7 svn:log V 85 - Switch to saving non-offseted pointer to TLS block in order too keep things simple END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-06T03:29:46.879173Z K 7 svn:log V 99 - Remove NOSHARED parts since it seems to be no-op - Call _init_tls for statically linked binaries END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-06T03:30:09.292658Z K 7 svn:log V 18 Implement _set_tp END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-06T03:42:54.230623Z K 7 svn:log V 232 - Switch ARM and MIPS to TLS Variant I - Fix TLS allocation for Variant I: both rtld and libc allocators assume that tls_static_space includes space for TLS structure. So increment calculated static size by the size of it. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T07:47:28.905419Z K 7 svn:log V 76 When emulating rdhwr for TLS, use the 32-bit offset under COMPAT_FREEBSD32. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T07:50:45.125336Z K 7 svn:log V 626 Fix two and a half oversights in COMPAT_FREEBSD32 related to contexts and TLS: o) The mc_tls field used to store the TLS base when doing context gets and restores was left a pointer and not converted to a 32-bit integer. This had the bug of not correctly capturing the TLS value desired by the user, and the extra nastiness of making the structure the wrong size. o) The mc_tls field was not being saved by sendsig. As a result, the TLS base would always be set to NULL when restoring from a signal handler. Thanks to gonzo for helping track down a bunch of other TLS bugs that came out of tracking these down. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T08:02:10.285318Z K 7 svn:log V 368 Store TLS base in the sigframe just as is done in freebsd32_sendsig. Because the native sigreturn doesn't use set_mcontext like the COMPAT_FREEBSD32 version does, this wouldn't actually result in overwriting the TLS base. Probably it makes sense to restructure the native sigreturn to use set_mcontext for consistency, and to allow sigreturn to change the TLS base. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T08:10:48.785174Z K 7 svn:log V 84 Make the native sigreturn just wrap set_mcontext, much as freebsd32_sigreturn does. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T08:40:21.368666Z K 7 svn:log V 37 Garbage collect some unused symbols. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-06T08:59:42.267447Z K 7 svn:log V 166 - ifnet_addrs has gone and replaced by ifaddr_byindex(), as per r83130 - access to the AF_LINK address through if_addrhead is deprecated (r128315) MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-06T09:04:53.099064Z K 7 svn:log V 87 The missing part of r232588 that documents ifaddr_byindex() itself. MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-06T09:34:30.318770Z K 7 svn:log V 101 Cosmetic nit: - rename isspace1() macro to the more appropriate rtld_isspace(). Discussed with: kib END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-06T09:40:34.242875Z K 7 svn:log V 22 Kill EoL whitespaces. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-06T09:57:50.919344Z K 7 svn:log V 62 Fix a typo: use lower case in "A Shorthand". Noted by: maxim END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-06T10:20:15.622312Z K 7 svn:log V 134 Merge r218998 Move the sticky manual from section 8 to section 7 like NetBSD has, since this is not a command on itself. PR: 124468 END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-06T10:24:31.654126Z K 7 svn:log V 174 MFC r230333 Add support for new if_run(4) Logitech device. Original commit message: Add support for new USB device. PR: usb/164275 MFC after: 3 days PR: usb/164275 END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-06T10:26:10.018654Z K 7 svn:log V 165 MFC r230333 Add new Logitech device to if_run(4). Original commit message: Add support for new USB device. PR: usb/164275 MFC after: 3 days PR: usb/164275 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-06T10:45:23.413358Z K 7 svn:log V 35 MFC r232002: Remove wrong comment. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-06T10:51:53.388945Z K 7 svn:log V 70 MFC r232143: Do not write to the user address directly, use suword(). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-03-06T11:05:50.334842Z K 7 svn:log V 148 Make racct and rctl correctly handle jail renaming. Previously they would continue using old name, the one jail was created with. PR: bin/165207 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-06T11:16:14.315318Z K 7 svn:log V 184 MFC r232239: Fix a race in top non-interactive mode. Use plain sleep(3) call instead of arming timer and then pausing. If SIGALRM is delivered before pause(3) is entered, top hangs. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-06T12:20:37.646588Z K 7 svn:log V 127 Remove if_watchdog remnants after if_timer/if_watchdog removal in r199975. This part was missed in r199992. MFC after: 1 week END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-03-06T12:53:44.656708Z K 7 svn:log V 69 Remove some duplicated copyright notices. Approved by: dim (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-03-06T12:54:13.642742Z K 7 svn:log V 43 MFC: r231387 Reduce diffs against i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-03-06T12:58:19.065868Z K 7 svn:log V 43 MFC: r231387 Reduce diffs against i386. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-03-06T13:43:57.170280Z K 7 svn:log V 192 Add LUN resizing to CTL. Also make it possible to explicitly set size when creating file-backed or device-backed LUN. Reviewed by: ken (earlier version) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-06T13:57:28.497857Z K 7 svn:log V 74 Fix error from last change: don't use M_ZERO for a zone with init method. END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-06T14:10:57.618910Z K 7 svn:log V 177 Merge r238821 Add sticky.8 to the obsolete files since it had been moved to sticky.7 Submitted by: maxim and pluknet With help from: dim (because of awkward merge conflicts) END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-06T14:13:23.874740Z K 7 svn:log V 177 Merge r238821 Add sticky.8 to the obsolete files since it had been moved to sticky.7 Submitted by: maxim and pluknet With help from: dim (because of awkward merge conflicts) END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-06T14:18:54.411938Z K 7 svn:log V 111 On second thought and look; this only goes for 8-stable where the ordering had gone beserk. Fix this manually. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-06T14:19:36.705628Z K 7 svn:log V 252 Use = rather than == for expressions to test(1) builtin(1) in sh(1) to comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-03-06T15:02:18.944612Z K 7 svn:log V 1374 MFC r232411 Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem is that the mpt(4) driver was masking off the bottom bit of the PCI device ID when deciding which cards to attach to. It appears that a number of the mpt(4) Fibre Channel cards had a LAN variant whose PCI device ID was just one bit off from the FC card's device ID. The FC cards were even and the LAN cards were odd. The problem was that this pattern wasn't carried over on the SAS and parallel SCSI mpt(4) cards. Luckily the SAS and parallel SCSI PCI device IDs were either even numbers, or they would get masked to a supported adjacent PCI device ID, and everything worked well. Now LSI is using some of the odd-numbered PCI device IDs between the 3Gb SAS device IDs for their new MegaRAID cards. This is causing the mpt(4) driver to attach to the RAID cards instead of the mfi(4) driver. The solution is to stop masking off the bottom bit of the device ID, and explicitly list the PCI device IDs of all supported cards. This change should be a no-op for mpt(4) hardware. The only intended functional change is that for the 929X, the is_fc variable gets set. It wasn't being set previously, but needs to be because the 929X is a Fibre Channel card. Reported by: Kashyap Desai END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-06T15:05:59.410374Z K 7 svn:log V 35 Integrate from HEAD up to r232610. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-03-06T17:17:03.487229Z K 7 svn:log V 203 Properly mask off bits that are not supported in the IAP counters. This fixes a bug where users would see massively large counts, near to 2**64 -1, due to the bits not being cleared. MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-06T18:39:07.836673Z K 7 svn:log V 115 Fix building with WITHOUT_INET_SUPPORT set. Reviewed by: jamie (actually provided the real fix) MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-06T18:44:52.414358Z K 7 svn:log V 463 Provide wbwd(4), a driver for the watchdog timer found on various Winbond Super I/O chips. With minor efforts it should be possible the extend the driver to support further chips/revisions available from Winbond. In the simplest case only new IDs need to be added, while different chipsets might require their own function to enter extended function mode, etc. Sponsored by: Sandvine Incorporated ULC (in 2011) Reviewed by: emaste, brueffer MFC after: 2 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T19:01:32.990640Z K 7 svn:log V 1049 At the risk of reducing source compatibility with old NetBSD and Sprite: o) Get rid of some unused macros related to features we don't intend to provide. o) Get rid of macro definitions for MIPS-I CPUs. We are not likely to support anything that predartes MIPS-III. o) Respell MIPS3_* macros as MIPS_*, which is how most of them were being used already. o) Eliminate a duplicate and mostly-unused set of exception vector macros. There's still considerable duplication and lots more obsolete in our headers, but this reduces one of the larger files to a size where one could reckon about the correctness of its contents with a mere few hours of contemplation. There is, of course, a question of whether we need definitions for fields, registers and configurations that we are unlikely to ever use or implement, even if they're not obsolete since 1991. FreeBSD is not a processor reference manual, and things that aren't used may be wrong, or may be duplicated because nobody could possibly actually know whether they're already defined. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-06T19:19:33.470657Z K 7 svn:log V 32 - Remove one more no-op #ifndef END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-06T19:43:26.598995Z K 7 svn:log V 558 In soreceive_stream() don't drop an already dequeued mbuf chain by overwriting the return mbuf pointer with newly received data after a loop. Instead append the new mbuf chain to the existing one. Fix up sb_lastrecord when dequeuing mbuf's so that sbappend_stream() doesn't get confused. For the remainder copy case in the mbuf delivery part deduct the copied length len instead of the whole mbuf length. Additionally don't depend on 'n' being being available which isn't true in the case of MSG_PEEK. Submitted by: trociny (slightly different version) END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-06T19:46:57.317873Z K 7 svn:log V 212 Fix the MSG_WAITALL case by comparing against sb_hiwat. Before it was looping for every receive as sb_lowat normally is zero. Add comment about issue with (MSG_WAITALL | MSG_PEEK) which isn't properly handled. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-03-06T20:01:25.687953Z K 7 svn:log V 354 Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported platforms. This will make every attempt to mount a non-mpsafe filesystem to the kernel forbidden, unless it is expressely compiled with VFS_ALLOW_NONMPSAFE option. This patch is part of the effort of killing non-MPSAFE filesystems from the tree. No MFC is expected for this patch. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-03-06T20:15:23.594860Z K 7 svn:log V 242 After r232498, programs built with -ansi or -std=c89 including would not compile anymore, due to plain 'inline' keywords. Fix this by using __inline instead. Reported by: Jia-Shiun Li Discussed with: theraven END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T20:23:29.821151Z K 7 svn:log V 20 Remove unused file. END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-06T20:37:06.703570Z K 7 svn:log V 114 Revert mergeinfo on the root directory. The mergeinfo should only be on ObsoleteFiles.inc Thanks for helping: jh END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-06T20:45:13.504338Z K 7 svn:log V 79 Add a note to clarify why we create a relocated copy of boot1 in lower memory. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-03-06T21:13:12.282461Z K 7 svn:log V 32 Remove duplicated license text. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-06T21:20:16.502676Z K 7 svn:log V 777 Modify HWMP to be able to allocate memory for PREQ/PREP/PERR for all scenarios. * Added verify_mesh_*_len functions that verify the length according to the amendment spec and return number of destination addresses for allocation of appropriate struct size in memory; * Modified hwmp_recv_action_meshpath to allocate HWMP ie instead of storing them on the stack and store all available field according the flags; * Modify hwmp_add_mesh* to work with all cases of HWMP according to amendment. * Modify hwmp_send_* to calculate correct len of bytes for the HWMP ie. * Added new M_80211_MESH_* malloc defines. * Added macros with magic numbers for HWMP ie sizes according to amendment. * Added the external address to all HWMP ie structs. Submitted by: monthadar@gmail.com END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-03-06T21:56:30.144653Z K 7 svn:log V 120 Fix build of libc.so after r232620. This caused a duplicate definition of __getCurrentRuneLocale(). Pointy hat to: me END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-03-06T22:16:10.869828Z K 7 svn:log V 52 Remove EoL whitespaces. Approved by: adri (mentor) END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-03-06T22:45:54.717065Z K 7 svn:log V 46 Break long lines. Approved by: adri (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-03-06T22:58:13.342969Z K 7 svn:log V 91 Add the ability to set which packet layers are used for the load balance hash calculation. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-06T23:08:02.989460Z K 7 svn:log V 48 Get rid of duplicated versions of the KSU bits. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-03-06T23:37:53.914755Z K 7 svn:log V 74 Fix a compile time bug by adding a check just after the struct definition END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-03-07T00:16:32.440402Z K 7 svn:log V 1480 Merge r232563 from stable/8 (r232411 from head): Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem is that the mpt(4) driver was masking off the bottom bit of the PCI device ID when deciding which cards to attach to. It appears that a number of the mpt(4) Fibre Channel cards had a LAN variant whose PCI device ID was just one bit off from the FC card's device ID. The FC cards were even and the LAN cards were odd. The problem was that this pattern wasn't carried over on the SAS and parallel SCSI mpt(4) cards. Luckily the SAS and parallel SCSI PCI device IDs were either even numbers, or they would get masked to a supported adjacent PCI device ID, and everything worked well. Now LSI is using some of the odd-numbered PCI device IDs between the 3Gb SAS device IDs for their new MegaRAID cards. This is causing the mpt(4) driver to attach to the RAID cards instead of the mfi(4) driver. The solution is to stop masking off the bottom bit of the device ID, and explicitly list the PCI device IDs of all supported cards. This change should be a no-op for mpt(4) hardware. The only intended functional change is that for the 929X, the is_fc variable gets set. It wasn't being set previously, but needs to be because the 929X is a Fibre Channel card. Reported by: Kashyap Desai Approved by: re (jpaetzel) END K 10 svn:author V 2 mp K 8 svn:date V 27 2012-03-07T01:26:24.420599Z K 7 svn:log V 36 MFC r231990 Update to tcsh 6.18.01 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-07T01:30:42.106403Z K 7 svn:log V 219 MFS r232560: Copy ip6po_minmtu and ip6po_prefer_tempaddr in ip6_copypktopts(). This fixes inconsistency when options are specified by both setsockopt() and ancillary data types. PR: kern/158307 Approved by: re (kib) END K 10 svn:author V 2 mp K 8 svn:date V 27 2012-03-07T01:31:29.275064Z K 7 svn:log V 36 MFC r231990 Update to tcsh 6.18.01 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-07T03:11:28.192589Z K 7 svn:log V 120 Avoid a crash when NFSv4.1 callbacks with procedure numbers >= NFSV4OP_CBNOPS fail due to an error like NFSERR_NOTSUPP. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-07T03:16:45.434070Z K 7 svn:log V 256 Add a check for the case of the DS IP address being the same as the one for the MDS and consider using the MDS's session, if they are the same. This avoids doing a TCP connect and an NFSv4.1 EXCHANGE_ID to determine if it is the same server for this case. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-03-07T06:25:17.287989Z K 7 svn:log V 83 Fix typo and bump the document date which I also forgot. Spotted by: Andrey Zonov END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-07T06:42:21.512064Z K 7 svn:log V 127 Add support for the MosChip MCS9904 four serial ports controller. PR: 165804 Submitted by: Eugene Grosbein MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-03-07T07:22:53.260558Z K 7 svn:log V 128 Move the vlan buffer space into the union which also fixes an unused variable warning with !INET & !INET6. Spotted by: pluknet END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T07:31:50.318036Z K 7 svn:log V 348 The pipe_poll() performs lockless access to the vnode to test fifo_iseof() condition, allowing the v_fifoinfo to be reset and freed by fifo_cleanup(). Precalculate EOF at the places were fo_wgen is changed, and cache the state in a new pipe state flag PIPE_SAMEWGEN. Reported and tested by: bf Submitted by: gianni MFC after: 1 week (a backport) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T07:55:35.430958Z K 7 svn:log V 47 MFC r232296: Merge a split multi-line comment. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T07:59:30.852943Z K 7 svn:log V 491 MFC r232299: Move the code to destroy half-contructed nullfs vnode into helper function null_destroy_proto() from null_insmntque_dtr(). Also apply null_destroy_proto() in null_nodeget() when we raced and a vnode is found in the hash, so the currently allocated protonode shall be destroyed. Lock the vnode interlock around reassigning the v_vnlock. MFC r232383: Do not expose unlocked unconstructed nullfs vnode on mount list. Lock the native nullfs vnode lock before switching the locks. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T08:02:43.982472Z K 7 svn:log V 172 MFC r232301: Always request exclusive lock for the lower vnode in nullfs_vget(). The null_nodeget() requires exclusive lock on lowervp to be able to insmntque() new vnode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T08:05:12.360902Z K 7 svn:log V 363 MFC r232303: In null_reclaim(), assert that reclaimed vnode is fully constructed, instead of accepting half-constructed vnode. Previous code cannot decide what to do with such vnode anyway, and although processing it for hash removal, paniced later when getting rid of nullfs reference on lowervp. While there, remove initializations from the declaration block. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-07T08:07:28.956952Z K 7 svn:log V 164 MFC r231821: delete-old does not have delete-old-libs dependency. Reflect this in the comment. PR: conf/163993 Submitted by: Eugen Konkov END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T08:08:36.102408Z K 7 svn:log V 109 MFC r232304: Document that null_nodeget() cannot take shared-locked lowervp due to insmntque() requirements. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T08:10:55.988479Z K 7 svn:log V 87 MFC r232305: Allow shared locks for reads when lower filesystem accept shared locking. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-07T08:21:25.438015Z K 7 svn:log V 166 MFC r231821: delete-old does not have delete-old-libs dependency. Reflect this in the comment. PR: conf/163993 Submitted by: Eugen Konkov END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T08:24:48.825098Z K 7 svn:log V 47 MFC r232296: Merge a split multi-line comment. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-07T09:42:19.718424Z K 7 svn:log V 309 Update ifa_rtrequest() description after post-4.4BSD change made in r85074. 3rd argument of ifa->ifa_rtrequest is now ``rt_addrinfo *'' instead of ``sockaddr *''. While here, un-document RTM_RESOLVE cmd argument for ifa_rtrequest() that became a stub after separating L2 tables in r186119. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-03-07T11:13:18.152909Z K 7 svn:log V 32 Port r226920,226941 from amd64. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-03-07T11:18:38.896450Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-07T11:29:43.120925Z K 7 svn:log V 107 Reflect that if_output changed to take a struct route as its fourth argument (r191148). MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-07T11:36:02.632716Z K 7 svn:log V 686 Use ID lookup structure to run through all states in pfsync. This reduces pfsync's knowledge about state keys. > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M if_pfsync.c END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-07T11:47:46.017194Z K 7 svn:log V 316 I was too optimistic in r232340. The intermediate structure was used to make it possible one state be referenced by >1 keys. This is important for NAT states. Instead of reverting r232340, I decided to keep two a couple of TAILQ_HEADs in keys, and couple of TAILQ_ENTRYies in states. Let's see how that would work. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-03-07T13:17:27.217800Z K 7 svn:log V 101 Take ceri's commit bit into safekeeping, per his request. Approved by: core (implicit) M access END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-03-07T14:50:14.242591Z K 7 svn:log V 138 o Sync LOCK_PROFILING manpage with the current code: remove unexistent sysctls, add new ones. Reviewed by: gjb Sponsored by: Nginx, Inc. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-07T14:53:53.589015Z K 7 svn:log V 120 Move struct if_data basic description to a more suitable place, and remove a bit of .Bx 4.4 history. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T18:05:45.556413Z K 7 svn:log V 158 In batch mode, exit after receiving SIGINT, instead of immediate output of the next display. Submitted by: Andrey Zonov MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-07T18:11:12.113268Z K 7 svn:log V 71 Restore sizeof(struct pfsync_state), which is part of pfsync protocol. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-07T18:13:33.339239Z K 7 svn:log V 153 Couple of catchups in pfsync with recent changes to pf: - Don't use M_ZERO for pf_state_key allocations. - Embrace pf_unlink_state() with PF_KEY_LOCK(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-07T18:18:24.373084Z K 7 svn:log V 51 Ugly fix for a double free possible after r232656. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-07T18:29:12.606319Z K 7 svn:log V 1044 Simplify key(s) + state setup, mostly making code easier to read and understand. Passing four ** pointers which actually represent only one (or a couple) of keys, isn't easy to read, IMHO. - pf_state_key_setup() now takes only source data for a key, allocates a single key, fills it in and returns pointer to it. - New pf_state_key_clone() creates a clone of key, which has all key data filled in, but isn't linked anywhere. - pf_get_translation() now has two parameters less, decision on who is wire who is stack is taken later. pf_get_translation() allocates one key via pf_state_key_setup(), and clones other via pf_state_key_clone(). - pf_create_state() now takes two parameters less, decision on who is wire who is stack is taken later. If nr (nat rule pointer) is non-NULL, then keys had already been setup by pf_get_translation(). Otherwise a single key is set up via pf_state_key_setup() and both pointers point to it. - Right in call to pf_state_insert() we decide which key is wire side, and which is stack side. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-07T18:33:11.325518Z K 7 svn:log V 1900 Synchronize nullfs with HEAD, mostly merge all locking changes. Tested by: pho MFC r229428: Document the state of the lowervp vnode for null_nodeget(). MFC r229431: Do the vput() for the lowervp in the null_nodeget() for error case too. Several callers of null_nodeget() did the cleanup itself, but several missed it, most prominent being null_bypass(). Remove the cleanup from the callers, now null_nodeget() handles lowervp free itself. MFC r229600 (by dim): In sys/fs/nullfs/null_subr.c, in a KASSERT, output the correct vnode pointer 'lowervp' instead of 'vp', which is uninitialized at that point. MFC r230304 (by rea): Use hashdestroy() instead of naive free(). MFC r232299: Move the code to destroy half-contructed nullfs vnode into helper function null_destroy_proto() from null_insmntque_dtr(). Also apply null_destroy_proto() in null_nodeget() when we raced and a vnode is found in the hash, so the currently allocated protonode shall be destroyed. Lock the vnode interlock around reassigning the v_vnlock. MFC r232301: Always request exclusive lock for the lower vnode in nullfs_vget(). The null_nodeget() requires exclusive lock on lowervp to be able to insmntque() new vnode. MFC r232303: In null_reclaim(), assert that reclaimed vnode is fully constructed, instead of accepting half-constructed vnode. Previous code cannot decide what to do with such vnode anyway, and although processing it for hash removal, paniced later when getting rid of nullfs reference on lowervp. While there, remove initializations from the declaration block. MFC r232304: Document that null_nodeget() cannot take shared-locked lowervp due to insmntque() requirements. MFC r232305: Allow shared locks for reads when lower filesystem accept shared locking. MFC r232383: Do not expose unlocked unconstructed nullfs vnode on mount list. Lock the native nullfs vnode lock before switching the locks. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-03-07T18:46:21.004062Z K 7 svn:log V 375 Improve multi-line kernel ident parsing Instead of blindly grabbing the line with 'Version string' and the following one from the core info file, take all lines after 'Version string' until the one one that matches the field format in the core info file. This provides compatibility with VendorBSD modifications that have a different kernel ident format. Reviewed by: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-07T18:50:33.680181Z K 7 svn:log V 325 Simplify the PCI bus dma tag code a bit. First, don't create a tag at all for platforms that only have 32-bit bus addresses. Second, remove the 'tag_valid' flag from the softc. Instead, if we don't create a tag in pci_attach_common(), just cache the value of our parent's tag so that we always have a valid tag to return. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-07T18:52:46.119844Z K 7 svn:log V 89 Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint. Tested by: emaste END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-07T18:53:56.731413Z K 7 svn:log V 135 Use bus_get_dma_tag() to inherit the 4G boundary restriction from the parent PCI bus and remove the home-grown version in this driver. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-07T18:57:09.175296Z K 7 svn:log V 95 Remove the PAE-specific 2GB DMA boundary since HEAD now supports a proper 4G boundary for PAE. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-07T20:46:59.166211Z K 7 svn:log V 138 Add lib32 part for libutil after its version bump to 9. PR: misc/165523 Submitted by: Andrey Zonov MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-07T20:55:23.078685Z K 7 svn:log V 73 Trim old entries and update version numbers. Approved by: re (implicit) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-07T22:09:40.424775Z K 7 svn:log V 65 Re-do r232663 in less ugly way, incidentally pluging a key leak. END K 10 svn:author V 2 mp K 8 svn:date V 27 2012-03-07T22:19:43.753064Z K 7 svn:log V 36 MFC r231990 Update to tcsh 6.18.01 END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-03-07T22:39:11.773251Z K 7 svn:log V 109 Make the mps(4) module depend on the cam module. Submitted by: Mykola Dzham MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-07T23:57:49.710602Z K 7 svn:log V 51 Make parallel build more safer. Reviewed by: tijl END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2012-03-08T01:10:23.887346Z K 7 svn:log V 109 MFC r232177: Add backlight control to ATI-graphics PowerBooks and iBooks. Approved by: nwhitehorn (mentor) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-03-08T01:37:01.082030Z K 7 svn:log V 51 Inbound TCP-MD5 digest validation is now supported END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-08T01:47:12.601466Z K 7 svn:log V 201 - Clean up extra ${.OBJDIR}. - Add ${IMAGE} for the supported image files. This fixes the install target on FreeBSD/pc98. - Use "mkdir -p" instead of "-mkdir" consistently. Reviewed by: nwhitehorn END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-03-08T01:48:44.356778Z K 7 svn:log V 271 Remove unactionable message about label geometry It's not clear to a user what they should do after seeing the "geometry does not match label" kernel message, and it does not appear to present a problem in practice. Thus, just remove the messages. Approved by: marcel END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-03-08T02:00:52.926022Z K 7 svn:log V 249 Work around broken BIOS memory reporting Andrzej has a machine with 32GB of RAM, but only 16GB is reported by the smbios.memory.enabled. Thus, use the greater of hw.realmem and the smbios value. Reported by: Andrzej Tobola END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-08T02:27:29.938081Z K 7 svn:log V 150 MFC: r232327 Fix the NFS clients so that they use copyin() instead of bcopy(), when doing direct I/O. This direct I/O code is not enabled by default. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-08T03:02:48.736126Z K 7 svn:log V 506 MFC: r2323467 The name caching changes of r230394 exposed an intermittent bug in the new NFS server for NFSv4, where it would report ENOENT when the file actually existed on the server. This turned out to be caused by not initializing ni_topdir before calling lookup() and there was a rare case where the value on the stack location assigned to ni_topdir happened to be a pointer to a ".." entry, such that "dp == ndp->ni_topdir" succeeded in lookup(). This patch initializes ni_topdir to fix the problem. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-03-08T07:22:41.651943Z K 7 svn:log V 59 Add new USB device IDs. PR: usb/165815 MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-08T09:20:00.956300Z K 7 svn:log V 590 Merge from OpenBSD: revision 1.146 date: 2010/05/12 08:11:11; author: claudio; state: Exp; lines: +2 -3 bzero() the full compressed update struct before setting the values. This is needed because pf_state_peer_hton() skips some fields in certain situations which could result in garbage beeing sent to the other peer. This seems to fix the pfsync storms seen by stephan@ and so dlg owes me a whiskey. I didn't see any storms, but this definitely fixes a useless memory allocation on the receiving side, due to non zero scrub_flags field in a pfsync_state_peer structure. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-03-08T09:55:18.300905Z K 7 svn:log V 96 MFC r232339: Note that memory should be freed after uuid_to_string(3) call. PR: docs/161808 END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-03-08T09:55:47.707662Z K 7 svn:log V 96 MFC r232339: Note that memory should be freed after uuid_to_string(3) call. PR: docs/161808 END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-03-08T09:56:07.457076Z K 7 svn:log V 96 MFC r232339: Note that memory should be freed after uuid_to_string(3) call. PR: docs/161808 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-08T09:58:17.796253Z K 7 svn:log V 46 Merge head up to r232685 to projects/pf/head. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-03-08T10:40:14.396319Z K 7 svn:log V 49 MFC: r232312 Fix order of arguments to lseek(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-08T11:05:53.819665Z K 7 svn:log V 46 Restore padding after removal of local_flags. END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-03-08T12:49:08.631003Z K 7 svn:log V 84 syscall() fuzzing can trigger this panic. Return EINVAL instead. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-08T12:54:26.506841Z K 7 svn:log V 491 MFC r232048: Allow the parent to gather the exit status of the children reparented to the debugger. When reparenting for debugging, keep the child in the new orphan list of old parent. When looping over the children in kern_wait(), iterate over both children list and orphan list to search for the process by pid. MFC r232104: Restore the return statement erronously removed in the r232048. In order to keep stable/9 KBI, the p_dbg_child member of struct proc was replaced with padding. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-08T13:00:49.643481Z K 7 svn:log V 38 Document P_ORPHAN. MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-03-08T15:27:29.647688Z K 7 svn:log V 76 Correct markup, use proper reference for sysctl(3) Submitted by: brueffer@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-08T18:01:07.222306Z K 7 svn:log V 135 MFS r232550: Backout r223115 and restore the historic behavior (create the default base directory in pw.conf). Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-08T18:25:33.102202Z K 7 svn:log V 62 Create a project to increase UFS boot block size, aka BBSIZE. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-08T18:36:51.159484Z K 7 svn:log V 123 Split boot2 into UFS1-only and UFS2-only versions. To get the UFS1+UFS2 boot2, "BOOT2_UFS=UFS1_AND_UFS2" must be defined. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-08T19:17:02.988497Z K 7 svn:log V 57 Increase UFS2-only boot block size to 16KB (32 sectors). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-08T19:41:05.730531Z K 7 svn:log V 282 Add a new sched_clear_name() method to the scheduler interface to clear the cached name used for KTR_SCHED traces when a thread's name changes. This way KTR_SCHED traces (and thus schedgraph) will notice when a thread's name changes, most commonly via execve(). MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-08T20:27:20.395038Z K 7 svn:log V 67 Add KTR_VFS traces to track modifications to a vnode's writecount. END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-03-08T20:34:13.396376Z K 7 svn:log V 51 Free up allocated memory used by posix_fadvise(2). END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-03-08T21:06:05.542682Z K 7 svn:log V 1186 Add support for ns timestamps and birthtime to the ext2/3 driver. When using big inodes there is sufficient space in ext3 to keep extra resolution and birthtime (creation) timestamps. The appropriate fields in the on-disk inode have been approved for a long time but support for this in ext3 has not been widely distributed. In preparation for ext4 most linux distributions have enabled by default such bigger inodes and some people use nanosecond timestamps in ext3. We now support those when the inode is big enough and while we do recognize the EXT4F_ROCOMPAT_EXTRA_ISIZE, we maintain the extra timestamps even when they are not used. An additional note by Bruce Evans: We blindly accept unrepresentable tv_nsec in VOP_SETATTR(), but all file systems have always done that. When POSIX gets around to specifying the behaviour, it will probably require certain rounding to the fs's resolution and not rejecting the request. This unfortunately means that syscalls that set times can't really tell if they succeeded without reading back the times using stat() or similar and checking that they were set close enough. Reviewed by: bde Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 3 kan K 8 svn:date V 27 2012-03-08T21:09:34.176490Z K 7 svn:log V 398 Save more of config space for PCI Express and PCI-X devices. Expand pci_save_state and pci_restore_state to save more of the config state for PCI Express and PCI-X devices. Various writable control registers are present in PCI Express that can potentially be lost over suspend/resume cycle. This change is modeled after similar functionality in Linux. Reviewed by: wlosh,jhb MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-08T23:46:42.946037Z K 7 svn:log V 117 Add missing \n's. This showed up when testing the wtap module, as it attaches with no radiotap tx/rx configuration. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-08T23:52:22.280394Z K 7 svn:log V 69 MFi386: r232698 Split boot2 into UFS1-only and UFS2-only versions. END