ƒ²J142380 192 342 428 633 286 306 154 208 754 141 338 98 348 241 370 214 240 137 178 131 1898 288 199 138 127 240 182 126 147 525 181 122 192 168 129 355 131 307 171 138 294 224 186 240 161 172 128 240 182 145 128 223 240 149 247 278 151 241 135 134 136 135 137 173 223 393 257 463 189 709 136 164 153 120 532 333 1143 579 232 285 241 331 205 587 289 209 211 430 236 510 423 281 814 227 134 146 602 624 456 287 358 174 241 344 113 175 979 288 241 1190 118 317 252 402 186 241 208 392 224 775 173 638 756 295 152 173 163 279 310 159 198 139 157 163 131 187 177 143 274 154 197 153 137 154 173 157 728 205 388 175 120 1257 383 569 105 238 276 257 192 176 151 148 157 193 141 127 291 274 233 221 216 162 356 219 235 462 507 141 338 212 123 192 198 137 155 197 336 392 174 210 153 588 181 K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-02-24T15:29:16.000000Z K 7 svn:log V 246 MFC: pf_if.c, rev. 1.9 Fix a terrible braino in pfi_maybe_destroy() and unbreak "$pfctl -Fall" with renamed interfaces. PR: kern/77645 Reported by: Harald Schmalzbauer Reviewed by: yongari END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-02-24T15:58:37.000000Z K 7 svn:log V 332 MFC: dp83932.c, rev. 1.17 Only send packet to bpf if we are committed to send it. Previously it was possible that the same packet would show up multiple times. This poses some constraints on the TBD locking for snc(4) (see comment). Obtained from: DragonFlyBSD Submitted by: Joerg Sonnenberger Reviewed by: rwatson END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-02-24T16:05:45.000000Z K 7 svn:log V 538 Var_Parse: Separate different error states by introducing an else block after a return. Move assignments to {freePtr, dynamic, start} closer to the return statements to clarify which variables are actually used for communication between the losely coupled blocks of the code. Clear up an if-expression to make common structures of the conditions clearer. Use strchr instead of switch statements to check for a character beeing a member of a set. Patches: 7-62.2, 7-62.3, 7-64, 7-65.1, 7-65.2 Submitted by: Max Okumoto END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-24T16:08:41.000000Z K 7 svn:log V 189 Remove an accidental clearing of the new label pointer on a system V message queue, which was introduced during the merge process. Submitted by: Andrew Reisse END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-02-24T16:56:36.000000Z K 7 svn:log V 211 Split the chip-specific code from the generic Utopia code. This simplifies adding of new physical chips. Now one just needs to add a .h and a .c file for the new chip and add one line to utopia.c for that chip. END K 10 svn:author V 3 sem K 8 svn:date V 27 2005-02-24T17:08:39.000000Z K 7 svn:log V 62 Put my birthday into the pool. Sorry guys, USSR idiosyncrasy. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-24T17:20:27.000000Z K 7 svn:log V 114 Bump release documentation version number to 5.4-PRERELEASE. Inspired by: src/sys/conf/newvers.sh rev. 1.62.2.18 END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-24T17:58:27.000000Z K 7 svn:log V 659 Couple of lessons learned during USB driver testing: - In kern_ndis.c:ndis_unload_driver(), test that ndis_block->nmb_rlist is not NULL before trying to free() it. - In subr_pe.c:pe_get_import_descriptor(), do a case-insensitive match on the import module name. Most drivers I have encountered link against "ntoskrnl.exe" but the ASIX USB ethernet driver I'm testing with wants "NTOSKRNL.EXE." - In subr_ntoskrnl.c:IoAllocateIrp(), return a pointer to the IRP instead of NULL. (Stub code leftover.) - Also in subr_ntoskrnl.c, add ExAllocatePoolWithTag() and ExFreePool() to the function table list so they'll get exported to drivers properly. END K 10 svn:author V 3 sem K 8 svn:date V 27 2005-02-24T18:17:41.000000Z K 7 svn:log V 49 Fix a typo in my last commit. Reported by: ceri END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-02-24T18:24:16.000000Z K 7 svn:log V 245 Use msync() to implement msync() for freebsd32 emulation. This isn't quite right for certain MAP_FIXED mappings on ia64 but it will work fine for all other mappings and works fine on amd64. Requested by: ps, Christian Zander MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-02-24T18:24:29.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-02-24T18:52:21.000000Z K 7 svn:log V 255 New release notes: device driver cleanup to use the generic tty(4) interface, ipdivert kernel loadable module, rune(3) multibyte/wide chatacter support removed, xargs -I option POSIX conformance, GNU readline 4.3->5.0, and pkg_version(1) -q option. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-24T19:22:54.000000Z K 7 svn:log V 148 Introduce defines for different levels of match in the bus probe routine to try to standardize values a bit. Discussed on: arch@ MFC After: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-02-24T19:43:39.000000Z K 7 svn:log V 277 New release notes: options SYSCTL_DEBUG, loader menu option to set hint.atkbd.0.flags=1, device snd_audiocs for CS4231 audio controller, bge(4) altq(4) support, hptmv(4) added, rm(1) -I option, interface name change in rc.conf, and rc.d/moused multiple device support. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-24T20:20:11.000000Z K 7 svn:log V 121 Correct an off-by-one error in the number of settings est announces. The extraneous "0" state was not fatal but useless. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-24T20:21:41.000000Z K 7 svn:log V 147 Bump the maximum number of levels to 64 and add warning messages about what to do to fix reduced functionality if the number of levels is too low. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-24T20:28:41.000000Z K 7 svn:log V 45 Note the ACPI clock and its characteristics. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-24T20:48:07.000000Z K 7 svn:log V 86 Move acpi_perf and acpi_throttle into acpi.ko. Remove the acpi_perf build structure. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-24T21:32:56.000000Z K 7 svn:log V 39 Return BUS_PROBE_DEFAULT instead of 0. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-24T21:49:14.000000Z K 7 svn:log V 1802 - Correct one aspect of the driver_object/device_object/IRP framework: when we create a PDO, the driver_object associated with it is that of the parent driver, not the driver we're trying to attach. For example, if we attach a PCI device, the PDO we pass to the NdisAddDevice() function should contain a pointer to fake_pci_driver, not to the NDIS driver itself. For PCI or PCMCIA devices this doesn't matter because the child never needs to talk to the parent bus driver, but for USB, the child needs to be able to send IRPs to the parent USB bus driver, and for that to work the parent USB bus driver has to be hung off the PDO. This involves modifying windrv_lookup() so that we can search for bus drivers by name, if necessary. Our fake bus drivers attach themselves as "PCI Bus," "PCCARD Bus" and "USB Bus," so we can search for them using those names. The individual attachment stubs now create and attach PDOs to the parent bus drivers instead of hanging them off the NDIS driver's object, and in if_ndis.c, we now search for the correct driver object depending on the bus type, and use that to find the correct PDO. With this fix, I can get my sample USB ethernet driver to deliver an IRP to my fake parent USB bus driver's dispatch routines. - Add stub modules for USB support: subr_usbd.c, usbd_var.h and if_ndis_usb.c. The subr_usbd.c module is hooked up the build but currently doesn't do very much. It provides the stub USB parent driver object and a dispatch routine for IRM_MJ_INTERNAL_DEVICE_CONTROL. The only exported function at the moment is USBD_GetUSBDIVersion(). The if_ndis_usb.c stub compiles, but is not hooked up to the build yet. I'm putting these here so I can keep them under source code control as I flesh them out. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-24T22:14:04.000000Z K 7 svn:log V 192 Clean up the Heimdal vendor branch by removing files not included in any import for several years. If memory serves, this was Suggested by: ru an awfully long time ago-- sorry for the delay! END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-24T22:16:35.000000Z K 7 svn:log V 103 Remove lib/kdfs from vendor branch: we do not build it, and it will not be included in future imports. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-24T22:17:13.000000Z K 7 svn:log V 43 Do not include lib/kdfs in future imports. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-24T22:22:53.000000Z K 7 svn:log V 32 Vendor import of Heimdal 0.6.3. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-24T22:22:53.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r142403, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-02-24T22:22:54.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'heimdal-vendor-crypto-v_0_6_3'. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-24T22:24:24.000000Z K 7 svn:log V 31 Update Heimdal 0.6.1 -> 0.6.3. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-24T22:33:05.000000Z K 7 svn:log V 55 Fix style(9) issues with __P removal. Noticed by: bde END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-24T22:54:15.000000Z K 7 svn:log V 430 Apparently, the probe routine in if_ndis_usb.c can be called twice for a given device in some circumstances, so move the PDO creation to the attach routine so we don't end up creating two PDOs. Also, when we skip the call to ndis_convert_res() in if_ndis.c:ndis_attach(), initialize sc->ndis_block->nmb_rlist to NULL. We don't explicitly zero the miniport block, so this will make sure ndis_unload_driver() does the right thing. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T00:16:53.000000Z K 7 svn:log V 89 avoid sneaky double free Noticed by: Coverity Prevent analysis tool Reviewed by: scottl END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-02-25T00:24:03.000000Z K 7 svn:log V 27 Handle endianness for arm. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-25T00:32:41.000000Z K 7 svn:log V 96 Reword previous commit to be a bit more correct and provide more information. Inspiried by: ru END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-25T00:40:46.000000Z K 7 svn:log V 72 Fix a few markup nits in previous commit. Noticed by: ru, who else? :) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-25T02:25:38.000000Z K 7 svn:log V 37 use __target in preference to target END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-02-25T02:29:01.000000Z K 7 svn:log V 259 Mods for Xorg server: - store assigned PCI addresses at cninit time for later mmap range check - implement set_border to scrub X remnants when switching back to VTYs - implement mmap, only allowing addresses within the range of the console adapter. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-25T02:36:23.000000Z K 7 svn:log V 37 Correct e-mail address in copyright. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-02-25T02:42:15.000000Z K 7 svn:log V 211 Add PVO_FAKE flag to pvo entries for PG_FICTITIOUS mappings, to avoid trying to reverse-map a device physical address to the vm_page array and walking into non-existent vm weeds. found by: Xorg server exiting END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T03:41:11.000000Z K 7 svn:log V 79 plug memory leak Noticed by: Coverity Prevent analysis tool Reviewed by: emax END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-25T03:43:43.000000Z K 7 svn:log V 46 Add back 'n' that went missing in last commit END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-02-25T05:10:23.000000Z K 7 svn:log V 196 MFC: Sync libarchive with -CURRENT. This brings a number of new features (iso9660 and ZIP support), some important bug fixes and a number of documentation enhancements. All in time for 5.4. ;-) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-02-25T05:14:43.000000Z K 7 svn:log V 126 MFC: Sync bsdtar with -CURRENT. This brings a number of portability enhancements and documentation improvements to 5-STABLE. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T05:25:37.000000Z K 7 svn:log V 91 Clean up the OpenSSL vendor branch by removing files that are not part of recent releases. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T05:25:37.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r142421, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T05:31:23.000000Z K 7 svn:log V 66 Update list of files to remove prior to import of OpenSSL 0.9.7e. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-25T05:34:45.000000Z K 7 svn:log V 80 Get SYSDIR set correctly for building ports. On install, do deinstall reinstall END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T05:39:05.000000Z K 7 svn:log V 33 Vendor import of OpenSSL 0.9.7e. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T05:39:05.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r142425, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-02-25T05:39:06.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_7e'. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T05:49:44.000000Z K 7 svn:log V 50 Resolve conflicts after import of OpenSSL 0.9.7e. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T06:04:12.000000Z K 7 svn:log V 33 Update OpenSSL 0.9.7d -> 0.9.7e. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T06:14:53.000000Z K 7 svn:log V 127 Remove files that are no longer part of OpenSSL from the vendor branch. This time, these are mostly the `Makefile.ssl' files. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T06:14:53.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r142430, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-02-25T06:22:30.000000Z K 7 svn:log V 54 File removed in update from OpenSSL 0.9.7d -> 0.9.7e. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-25T06:31:45.000000Z K 7 svn:log V 152 Compute the right length to use with bzero() when initializing an IRP in IoInitializeIrp() (must use IoSizeOfIrp() to account for the stack locations). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-02-25T06:48:58.000000Z K 7 svn:log V 181 MFC: pf_if.c, rev. 1.8 Fix inteface clear time. pf printed "Thu Jan 1 09:00:01 1970" in "pfctl -vvsI" output when pf was statically linked to kernel. Discussed with: mlaier END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-02-25T06:59:56.000000Z K 7 svn:log V 55 Add missing ofw_bus_if.h to SRCS. Submitted by: joerg END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-02-25T07:10:37.000000Z K 7 svn:log V 144 Remove acpi_perf from {ARCH}/conf/NOTES, to make tinderbox happy. Reported by: tinderbox Inspired by: acpi_perf build structure removal commit END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-25T08:14:02.000000Z K 7 svn:log V 40 MFC: bus_dmamap_load_mbuf_sg() for i386 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-25T08:16:55.000000Z K 7 svn:log V 39 MFC bus_dmamap_load_mbuf_sg() for ia64 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-25T08:22:17.000000Z K 7 svn:log V 41 MFC bus_dmamap_load_mbuf_sg() for alpha. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-25T08:25:52.000000Z K 7 svn:log V 40 MFC bus_dmamap_load_mbuf_sg() for amd64 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-25T08:29:58.000000Z K 7 svn:log V 42 MFC bus_dmamap_load_mbuf_sg() for sparc64 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-25T08:32:37.000000Z K 7 svn:log V 78 MFC: Convert the em driver to the faster bus_dmamap_load_mbuf_sg() interface. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-25T08:34:32.000000Z K 7 svn:log V 128 Fix a couple of callback instances that should have been wrapped with MSCALLx(). Add definition for STATUS_PENDING error code. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-02-25T08:42:04.000000Z K 7 svn:log V 296 Try harder to not exceed MAXSHELLCMDLEN when parsing first line of shell script. Otherwise it's possible to panic kernel by constructing a shell script with first line not ending in '\n'. Also, treat '\0' as line terminating character, which may me useful in some situations. Submitted by: gad END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-02-25T09:49:29.000000Z K 7 svn:log V 162 The chip specific functions have been split out in their own C files to simplify adding of new PHY chips. Include the split out .c files in the module build too. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-25T10:09:44.000000Z K 7 svn:log V 366 Improve logging: - Simplify CARP_LOG() and making it working (we don't have addlog in FreeBSD). - Introduce CARP_DEBUG() which logs with LOG_DEBUG severity when net.inet.carp.log > 1 - Use CARP_DEBUG to log state changes of carp interfaces. After CARP_LOG() cleanup it appeared that carp_input_c() does not need sc argument. Remove it. Sponsored by: Rambler END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-25T10:12:11.000000Z K 7 svn:log V 93 Call carp_carpdev_state() from carp_set_addr6(). See log for rev 1.4. Sponsored by: Rambler END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-02-25T10:17:53.000000Z K 7 svn:log V 612 o Replace two while {} do loops with more appropriate do {} while loops. This doesn't change functionality, but makes code more logical. Obtained from: DrafonFlyBSD o Use VOP_GETATTR() to obtain actual size of file and parse no more than that. Previously, we parsed MAXSHELLCMDLEN characters regardless of the actual file size. This makes the following working: $ printf '#!/bin/echo' > /tmp/test.sh $ chmod 755 /tmp/test.sh $ /tmp/test.sh Previously, attempts to execve() that shell script has been failing with bogus ENAMETOOLONG. PR: kern/64196 Submitted by: Magnus B.ckstr.m END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-25T10:38:43.000000Z K 7 svn:log V 40 Update description of net.inet.carp.log END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-02-25T10:38:44.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-25T10:49:47.000000Z K 7 svn:log V 57 Embrace macros with do {} while (0) Submitted by: maxim END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-25T11:26:39.000000Z K 7 svn:log V 24 New lines when logging. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-02-25T11:49:42.000000Z K 7 svn:log V 435 Welcome to the 21st century: increase MAXSHELLCMDLEN from 128 bytes to PAGE_SIZE. Unlike originator of the PR suggests retain MAXSHELLCMDLEN definition (he has been proposing to replace it with PAGE_SIZE everywhere), not only this reduced the diff significantly, but prevents code obfuscation and also allows to increase/decrease this parameter easily if needed. PR: kern/64196 Submitted by: Magnus Bäckström END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:12:27.000000Z K 7 svn:log V 236 Merge ipx_input.c:1.36, ipx_pcb.c:1.31, ipx_pcb.h:1.20, ipx_usrreq.c:1.43, ipx_var.h:1.19, spx_usrreq.c:1.49 from HEAD to RELENG_5: Convert netipx to use queue(9) doubly-linked lists instead of home-brew linked lists for ipxpcb's. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:13:11.000000Z K 7 svn:log V 1045 Merge ipx.c:1.21-1.23 from HEAD to RELENG_5: date: 2004/12/31 00:32:50; author: rwatson; state: Exp; lines: +23 -3 Update netstat(1) for recent conversion of netipx to queue(9) from home-brew linked lists. Read in the ipxpcb_list structure first in order to find the first pcb pointer. Then follow the chain as before, only the termination condition is a NULL next pointer rather than a next pointer equal to the original offset. date: 2004/12/31 12:04:21; author: rwatson; state: Exp; lines: +14 -34 Apply a simplifying patch submitted by rik to the IPX support in netstat(1): - Make previously unnecessarily global variables local. - Use LIST_FOREACH() in preference to manual iteration. - Restore a sanity check through slightly incestuous use of queue macro knowledge. Submitted by: rik date: 2005/01/02 19:26:06; author: rwatson; state: Exp; lines: +5 -11 Revise use of queue(9) macros for netipx when used from userspace: LIST_FOREACH() is difficult to use correctly, so don't try to. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:14:47.000000Z K 7 svn:log V 482 Merge ipx_input.c:1.37, ipx_pcb.c:1.32, and ipx_var.h:1.20 from HEAD to RELENG_5: Use a global variable, ipxpcb_lport_cache, to cache the most recently used IPX port number, rather than using the global ipxpcb list head. Add 'struct ipxpcb' forward declaration to ipx_var.h. I had this in the netperf branch but for some reason didn't trigger a build failure locally when I merged to CVS and omitted it. Presumably driver error. Pointed out by: cperciva, tinderbox END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-02-25T13:16:56.000000Z K 7 svn:log V 137 Change the return value of Var_Subst to return a Buffer instead of a char *. Patch: 7.49 Submitted by: Max Okumoto END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:17:04.000000Z K 7 svn:log V 188 Merge ipx_input.c:1.39, ipx_pcb.c:1.34 from HEAD to RELENG_5: Move the definition of ipxpcb_lport_cache from ipx_input.c to ipx_pcb.c, the only source file where it is actually used. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:20:42.000000Z K 7 svn:log V 144 Merge ipx_input.c:1.40, ipx_ip.c:1.37, ipx_outputfl.c:1.20, ipx_pcb.c:1.35 from HEAD to RELENG_5: Prefer rtalloc_ign() API to rtalloc() API. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:21:48.000000Z K 7 svn:log V 234 Merge spx_usrreq.c:1.51 from HEAD to RELENG_5: Don't cast NULL on return or when passing to another function. Extend the annotation as to why spx_close() isn't called in spx_reass(), and mark this code more clearly as broken. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:22:24.000000Z K 7 svn:log V 108 Merge spx_usrreq.c:1.52 from HEAD to RELENG_5: Compare and assign pointers with NULL in preference to 0. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:23:00.000000Z K 7 svn:log V 490 Merge spx_usrreq.c:1.53 from HEAD to RELENG_5: Improve handling of SPX session timeout, specifically, make sure to properly handle the case where a connection is disconnected. The queue(9)-enabled version of this code broke from the inner but not outer loop, and so potentially frobbed an ipxpcb flag after the ipxpcb was free'd, which might be picked up later by the malloc debugging code. Properly break from the loop context and avoid touching the cb/ipxpcb after free. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:26:39.000000Z K 7 svn:log V 192 Merge ipx.c:1.28, ipx_cksum.c:1.12, ipx_input.c:1.41, ipx_ip.c:1.38, ipx_pcb.c:1.38, ipx_proto.c:1.18, ipx_usrreq.c:1.45, spx_usrreq.c:1.54 from HEAD to RELENG_5: Trim trailing whitespace. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:27:53.000000Z K 7 svn:log V 112 Merge ipx_pcb.h:1.21 from HEAD to RELENG_5: Extern declaration of old 'ipxpcb' list head no longer required. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:28:52.000000Z K 7 svn:log V 114 Merge ipx_usrreq.c:1.46, spx_usrreq.c:1.55 from HEAD to RELENG_5: Use KASSERT() in preference to if() panic(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:29:50.000000Z K 7 svn:log V 333 Merge ipx_pcb.c:1.39, ipx_usrreq.c:1.47 from HEAD to RELENG_5: Eliminate XXX comments regarding allocation failures when retrieving the peer address by using M_WAITOK in ipx_setpeeraddr() to prevent allocation failure. The socket reference used to reach these calls will prevent the ipxpcb from being released prematurely. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:30:28.000000Z K 7 svn:log V 139 Merge ipx_usrreq.c:1.48 from HEAD to RELENG_5: Restructure ipx_input() return code to match similar code in netinet, avoiding a goto. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:32:24.000000Z K 7 svn:log V 413 Merge spx_usrreq.c:1.56 from HEAD to RELENG_5: Explicitly lock the send socket buffer in spx_reass() to cover the drop record loop for ACK'd data, rather than relying on lokcing in sbdroprecord() and sowwakeup(), reducing the number of lock operations as well as eliminating a possible race against the head of the send buffer mbuf chain. Use the _locked variants of sbdroprecord() and sowwakeup(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:32:56.000000Z K 7 svn:log V 326 Merge spx_usrreq.c:1.57 from HEAD to RELENG_5: Increase the coverage scope of the receive socket buffer lock in spx_reass() to increase atomicity across multiple operations on the socket buffer when iterating over the SPX fragment reassembly list for the ipxpcb, as well a to reduce the number of locking operations. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:33:32.000000Z K 7 svn:log V 184 Merge spx_usrreq.c:1.58 from HEAD to RELENG_5: Acquire the socket buffer receive lock in spx_rcvoob() to permit multiple reads of receive buffer state to be performed atomically. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T13:37:38.000000Z K 7 svn:log V 717 Merge spx_usrreq.c:1.60 from HEAD to RELENG_5: Clean up return handling for a number of SPX-related routines that were derived from more complex TCP versions of the same: - spx_close(), spx_disconnect(), spx_drop(), and spx_usrclosed() all always free's the spxpcb invalidating the argument, so a return value is not required to indicate if it has. - Annotate that the cb arguments to each of these functions is invalidated via a comment. - When tearing down a pcb due to sonewconn() having failed, mark the cb as NULL; later, when deciding whether to store trace information due to SO_DEBUG, check that cb is not NULL before dereferencing or a NULL pointer dereference may occur. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-25T15:46:10.000000Z K 7 svn:log V 133 New release notes: HZ change, MAXSHELLCMDLEN change, Heimdal 0.6.3, OpenSSL 0.9.7e. MFC noted: libarchive/bsdtar ISO/ZIP support. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-25T15:46:48.000000Z K 7 svn:log V 41 MFC: libarchive/bsdtar ISO/ZIP support. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-25T15:58:05.000000Z K 7 svn:log V 50 Fix prototype for bpf_mtap2(). MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-02-25T16:06:14.000000Z K 7 svn:log V 506 MFC: 1.17, 1.18 Some changes related to reading the MAC-address from the VPD on systems without Open Firmware: - Remove the checks for matching class code and PCI data structure length and revsion, some HME PROMs vary here and we don't need that info anyway. - On Sun QFE (Quad FastEthernet) cards read the Nth MAC-address for the Nth HME controller instead of always the first one for all four HMEs. - Improve the comment describing the used VPD format to better reflect reality. - Minor clean-up. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-02-25T16:15:54.000000Z K 7 svn:log V 528 MFC: 1.15 UltraSparc II[e,i] based systems come up with the tick interrupt enabled and a handler that resets the tick counter, causing DELAY() to not work properly when used early in boot. Disable the tick interrupt in tick_init(), which is called early in sparc64_init(), until the interrupt is enabled again in tick_start(), called by cpu_initclocks(), with our own handler. This fixes the hang during probing Sun keyboards on AXi boards and Ultra 10, with other machines like Ultra 5 probably being affected but not tested. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-02-25T16:27:03.000000Z K 7 svn:log V 360 MFC: 1.13 (partial) Re-write OF_decode_addr() with a bus-neutral approach, adding support for nodes hanging off of Central, FireHose and PCI busses. Meanwhile, i.e. after rev. 1.13 was committed to HEAD, this was also confirmed to actually work for devices on FireHose which implies that it also works for devices on Central. Tested by: hrs, kris (FireHose) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-02-25T16:37:32.000000Z K 7 svn:log V 191 Back out work-arounds added in rev. 1.59 for building SBus-only kernels regarding ofw_machdep.c which are no longer necessary since rev. 1.13 and rev. 1.12.2.1 of ofw_machdep.c respectively. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-02-25T16:40:37.000000Z K 7 svn:log V 265 New release notes: syslogd(8) /var/run/logpriv, tail -f multiple file support, and ehci(4) improved. Update release notes: sort "rm -I" entry, add the reasons why T/TCP support removed, and remove duplicated snd_audiocs(4) entry[1]. Pointed out by: bmah[1] END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T16:57:34.000000Z K 7 svn:log V 82 Instead of assuming units of bytes, it seems more likely that this is a bitfield. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:01:35.000000Z K 7 svn:log V 144 Assert sem_lock in id_to_sem() and sem_lookup_byname(), since these functions iterate over the global POSIX semaphore lists. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-25T17:17:27.000000Z K 7 svn:log V 247 MFC 1.29: Cancelling the callout on shutdown, and move part responsible for freeing a node resources from ng_bridge_timer() to ng_bridge_shutdown(). (see detailed log in original commit) Noticed by: ru Submitted by: glebius, ru END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-25T17:22:23.000000Z K 7 svn:log V 21 Add a missing comma. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-25T17:26:33.000000Z K 7 svn:log V 83 MFC revision 1.48 Improve readability with a bunch of typedefs for the pager ops. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:46:49.000000Z K 7 svn:log V 882 Merge netblast, a high speed UDP packet blaster, from HEAD to RELENG_5; this was not merged with the other earlier parts of netrate previously. Bring both netblast.c and Makefile to revisions 1.2, ommitting only the change to NO_MAN present in HEAD: date: 2004/10/08 19:23:11; author: rwatson; state: Exp; Add a version of netsend that uses the interval timer rather than explicit clock reads to set an overall duration to the send, and blasts rather than trying to clock output. The goal of netblast, unlike netsend, is to send as many UDP packets as possible; the cost is that there's no ability to control the rate, and there's less accuracy in the timing as the interval timer granularity is relatively low. revision 1.2 date: 2005/02/12 20:03:30; author: rwatson; state: Exp; lines: +1 -1 Mark the signum argument to signal_handler() as __unused. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:47:31.000000Z K 7 svn:log V 191 Merge Makefile:1.3 from HEAD to RELENG_5: date: 2005/02/12 20:04:23; author: rwatson; state: Exp; lines: +1 -1 Also build the netblast sub-directory, not just netreceive and netsend. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:50:31.000000Z K 7 svn:log V 144 Merge atm_proto.c:1.13 and natm_proto.c:1.15 from HEAD to RELENG_5: Mark netatm and netnatm explicitly as requiring Giant, as they still do. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:52:12.000000Z K 7 svn:log V 1092 Merge uipc_socket.c:1.227 from HEAD to RELENG_5: date: 2005/02/18 00:52:17; author: rwatson; state: Exp; lines: +4 -6 In solisten(), unconditionally set the SO_ACCEPTCONN option in so->so_options when solisten() will succeed, rather than setting it conditionally based on there not being queued sockets in the completed socket queue. Otherwise, if the protocol exposes new sockets via the completed queue before solisten() completes, the listen() system call will succeed, but the socket and protocol state will be out of sync. For TCP, this didn't happen in practice, as the TCP code will panic if a new connection comes in after the tcpcb has been transitioned to a listening state but the socket doesn't have SO_ACCEPTCONN set. This is historical behavior resulting from bitrot since 4.3BSD, in which that line of code was associated with the conditional NULL'ing of the connection queue pointers (one-time initialization to be performed during the transition to a listening socket), which are now initialized separately. Discussed with: fenner, gnn END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T17:52:46.000000Z K 7 svn:log V 26 MFC: notes for ACPI clock END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:55:05.000000Z K 7 svn:log V 220 Merge uipc_aaccf.c:1.14, uipc_socket.c:1.229, and socketvar.h:1.138 from HEAD to RELENG_5: Move do_setopt_accept_filter() from uipc_socket.c to uipc_accf.c, where the rest of the accept filter code currently lives. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:55:44.000000Z K 7 svn:log V 155 Merge uipc_accf.c:1.15 from HEAD to RELENG_5: Re-style do_setopt_accept_filter() to match uipc_accf.c style, and fix one other style nit in the file. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:57:30.000000Z K 7 svn:log V 305 Merge uipc_socket.c:1.232 from HEAD to RELENG_5: In soreceive(), when considering delivery to a socket in SS_ISCONFIRMING, only call the protocol's pru_rcvd() if the protocol has the flag PR_WANTRCVD set. This brings that instance of pru_rcvd() into line with the rest, which do check the flag. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:58:22.000000Z K 7 svn:log V 90 Merge ddp_usrreq.c:1.45 from HEAD to RELENG_5: Run the netatalk netisrs without Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T17:59:45.000000Z K 7 svn:log V 144 Merge udf.h:1.10 and udp_vfsops.c:1.27 from HEAD to RELENG_5: Remove basically unused root_vp pointer in udfmount. Discussed with: scottl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T18:01:00.000000Z K 7 svn:log V 111 Merge kern_event.c:1.88 from HEAD to RELENG_5: When invoking callout_init(), spell '1' as "CALLOUT_MPSAFE". END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-25T18:03:49.000000Z K 7 svn:log V 299 MFC revision 1.202 Modify the vm object locking in do_sendfile() so that the containing object is locked when vm_page_io_finish() is called on a page. MFC revision 1.203 Use VM_ALLOC_NOBUSY instead of calling vm_page_wakeup(). MFC revision 1.205 Eliminate unnecessary calls to vm_page_busy(). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-25T18:25:48.000000Z K 7 svn:log V 129 Add macros to construct Windows IOCTL codes, and to extract function codes from an IOCTL. (The USB module will need them later.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T19:10:51.000000Z K 7 svn:log V 678 Add an exit hook, sem_forkhook(), which walks the list of POSIX semaphores owned by a process when it forks, and creates a matching set of references for the child process, as prescribed by POSIX. In order to avoid races with other threads in the parent process during fork(), it is necessary to allocate a temporary reference list while holding the sem_lock, then transfer those references to the new process once the sem_lock is released. The implementation is inefficient but appears functional; in order to improve the efficiency, it will be necessary to modify the existing structures and logic, which generally rely on O(n) operations over the global set of semaphores. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-25T19:32:51.000000Z K 7 svn:log V 77 Resort the CPU list with regards to recently added CPUs. Prodded by: glewis END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T19:34:10.000000Z K 7 svn:log V 545 fixup signal mapping: o change the mapping arrays to have a zero offset rather than base 1; this eliminates lots of signo adjustments and brings the code back inline with the original netbsd code o purge use of SVR4_SIGTBLZ; SVR4_NSIG is the only definition for how big a mapping array is o change the mapping loops to explicitly ignore signal 0 o purge some bogus code from bsd_to_svr4_sigset o adjust svr4_sysentvec to deal with the mapping table change Enticed into fixing by: Coverity Prevent analysis tool Glanced at by: marcel, jhb END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-02-25T19:46:41.000000Z K 7 svn:log V 660 Change the definition of struct if_data's member ifi_epoch from wall clock time to uptime because wall clock time may go backwards. This is a change in the API which will impact SNMP agents who are using ifi_epoch to set RFC2233's ifCounterDiscontinuityTime. None are know to exist today. This will not impact applications that are using the tuple to verify interface uniqueness except that it eliminates a race which could lead to a false assumption of uniqueness. Because this is a behavior change, bump __FreeBSD_version. Discussed with: re (jhb, scottl) MFC after: 3 days Pointed out by: pkh (way back at EuroBSDCon) Pointy hat: brooks END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T19:47:18.000000Z K 7 svn:log V 202 fail gracefully rather than using an invalid array index if unable to allocate a bar; it's unclear whether this can happen in practice Noticed by: Coverity Prevent analysis tool Discussed with: marcel END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T20:10:38.000000Z K 7 svn:log V 60 Add notes on merging acpi_perf and acpi_throttle to acpi.ko END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T20:15:11.000000Z K 7 svn:log V 81 correct bounds check of fd parameter Noticed by: Coverity Prevent analysis tool END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T20:25:36.000000Z K 7 svn:log V 71 MFC: Allow device_find_child() to find any child with the given class. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T20:50:20.000000Z K 7 svn:log V 186 o avoid potential null ptr deref if symbol lookup fails o unload module if symbol lookup fails Noticed by: Coverity Prevent analysis tool (null ptr deref) Reviewed by: bms, imp, dwhite END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-25T21:00:14.000000Z K 7 svn:log V 213 Insert missing increment of (i) when walking the temporary semaphore vector during fork. Fix assertion which contained an off-by-one error. Submitted by: Antoine Brodin < antoine dot brodin at laposte dot net > END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T21:17:22.000000Z K 7 svn:log V 67 MFC: cpu.h header and cpu_est_clockrate() functions for each arch. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T21:43:38.000000Z K 7 svn:log V 105 MFC: Bring acpi up to -current except for the PCI link changes and add the acpi_throttle cpufreq driver. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T21:44:14.000000Z K 7 svn:log V 47 MFC: Update legacy cpu attachments for cpufreq END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T21:45:14.000000Z K 7 svn:log V 65 MFC: Bring in the cpufreq framework and update the acpi manpage. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T21:45:55.000000Z K 7 svn:log V 71 MFC: Hook cpufreq up to the build as well as the acpi_throttle driver. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T21:46:27.000000Z K 7 svn:log V 39 MFC: power_profile changes for cpufreq END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T21:47:13.000000Z K 7 svn:log V 95 MFC: Note addition of cpufreq framework although only the acpi_throttle driver has been added. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T21:57:46.000000Z K 7 svn:log V 85 avoid null ptr deref Noticed by: Coverity Prevent analysis tool Reviewed by: scottl END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T22:01:58.000000Z K 7 svn:log V 51 Remove unused variable. Noticed by: Coverity tool END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-25T22:07:51.000000Z K 7 svn:log V 177 Remove recently added note about DEVICE_POLLING not working with SMP. Remove warning from kern_poll.c to allow DEVICE_POLLING to be built with SMP. Discussed with: ru, glebius END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-02-25T22:54:56.000000Z K 7 svn:log V 59 Make sure casuptr() reset pcb->pcb_onfault when returning. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-02-25T22:56:16.000000Z K 7 svn:log V 101 Implement two new sysarch for arm, ARM_GET_TP and ARM_SET_TP, to work around the lack of tls on arm. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T22:58:25.000000Z K 7 svn:log V 61 remove dead code Noticed by: Coverity Prevent analysis tool END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-25T22:59:31.000000Z K 7 svn:log V 42 MFC bus_dmamap_load_mbuf_sg() for sparc64 END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T23:06:25.000000Z K 7 svn:log V 62 kill unused value Noticed by: Coverity Prevent analysis tool END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-25T23:14:41.000000Z K 7 svn:log V 81 Quiet error messages if the requested sysctls are not present. MFC after: 1 day END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-25T23:15:48.000000Z K 7 svn:log V 65 kill unused variable Noticed by: Coverity Prevent analysis tool END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-25T23:38:22.000000Z K 7 svn:log V 635 MFC revision 1.292 Assert that the containing object is locked in vm_page_io_start() and vm_page_io_finish(). MFC revision 1.295 Assert that the containing vm object is locked in vm_page_busy() and vm_page_wakeup(). MFC revision 1.296 Assert that the containing vm object is locked in vm_page_flash(). MFC revision 1.297 Assert that the containing vm object is locked in vm_page_cache() and vm_page_try_to_cache(). MFC revision 1.300 Access to the page's busy field is (now) synchronized by the containing object's lock. Therefore, the assertion that the page queues lock is held can be removed from vm_page_io_start(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-25T23:43:00.000000Z K 7 svn:log V 112 MFC revision 1.135 Note that access to the page's busy count is synchronized by the containing object's lock. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-26T00:00:14.000000Z K 7 svn:log V 295 MFC revision 1.155 Synchronize access to the vm page's PG_BUSY flag using the containing vm object's lock. In the same place, eliminate unnecessary checks for a NULL vm object pointer. MFC revision 1.161 Eliminate (now) unnecessary acquisition and release of the global page queues lock. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-02-26T00:02:14.000000Z K 7 svn:log V 80 Add the field in the md part of the struct thread required by ARM_[GET|SET]_TP. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-02-26T00:21:25.000000Z K 7 svn:log V 25 Remove duplicate FBSDID. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-26T00:22:16.000000Z K 7 svn:log V 1161 MDLs are supposed to be variable size (they include an array of pages that describe a buffer of variable size). The problem is, allocating MDLs off the heap is slow, and it can happen that drivers will allocate lots and lots of lots of MDLs as they run. As a compromise, we now do the following: we pre-allocate a zone for MDLs big enough to describe any buffer with 16 or less pages. If IoAllocateMdl() needs a MDL for a buffer with 16 or less pages, we'll allocate it from the zone. Otherwise, we allocate it from the heap. MDLs allocate from the zone have a flag set in their mdl_flags field. When the MDL is released, IoMdlFree() will uma_zfree() the MDL if it has the MDL_ZONE_ALLOCED flag set, otherwise it will release it to the heap. The assumption is that 16 pages is a "big number" and we will rarely need MDLs larger than that. - Moved the ndis_buffer zone to subr_ntoskrnl.c from kern_ndis.c and named it mdl_zone. - Modified IoAllocateMdl() and IoFreeMdl() to use uma_zalloc() and uma_zfree() if necessary. - Made ndis_mtop() use IoAllocateMdl() instead of calling uma_zalloc() directly. Inspired by: discussion with Giridhar Pemmasani END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-02-26T00:22:52.000000Z K 7 svn:log V 287 Add a stopgap allowing puc(4) to allocate IRQs on fhc(4). Given that both a scc(4) is under way and fhc(4) will be change to use INOs this shouldn't stay in HEAD for too long but we need a MFC-able solution for FreeBSD 5.4. Discussed with: marcel Tested by: hrs, kris MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-02-26T00:25:43.000000Z K 7 svn:log V 473 Declare the sbus(4) front-end of puc(4) also for fhc(4), allowing uart(4) to support the Zilog 8530 SCCs which hang off of a FireHose bus on Sun E4000/E5000 class machines. Beside the fact that a puc_fhc.c would just be a copy of puc_sbus.c with s,sbus,fhc,g the reason why the declaration for fhc(4) was sticked into puc_sbus.c is that both of these front-ends for puc(4) will go away once there is a scc(4). Discussed with: marcel Tested by: hrs, kris MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-26T01:19:21.000000Z K 7 svn:log V 10 style(9). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-26T01:21:50.000000Z K 7 svn:log V 142 MFC: Allow a forced dump even if the dump header information is inconsistent. Output more verbosity with additional -v's. style(9). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-26T01:21:58.000000Z K 7 svn:log V 178 MFC: rev. 1.5 + 1.6 - make the hardware list look like that of other manpages - fix typo - Reword the HARDWARE section, so it can be used in the autogenerated hardware notes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-26T01:22:48.000000Z K 7 svn:log V 159 MFC: rev. 1.6 Sort the list of devices in the HARDWARE section. Also move the section below the DESCRIPTION section for consistency with the other manpages. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-26T01:23:39.000000Z K 7 svn:log V 95 MFC: rev. 1.13 - move information about supported hardware into a HARDWARE section - bump .Dd END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-26T01:27:14.000000Z K 7 svn:log V 81 MFC: revs. 1.451-453: Convert tools/lib32/build.sh into world connectable hooks. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-26T01:33:27.000000Z K 7 svn:log V 56 MFC: rev 1.460: minor tweaks in "make update" comments. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-26T01:38:42.000000Z K 7 svn:log V 51 MFC: Autogenerate device listings for snd_sbc(4). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-26T01:45:00.000000Z K 7 svn:log V 62 MFC: rev 1.454 (show stray files) & rev 1.441/443 (CVSFLAGS). END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-26T02:31:34.000000Z K 7 svn:log V 100 move ptr use down to after null check Noticed by: Coverity Prevent analysis tool Reviewed by: emax END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-26T03:44:01.000000Z K 7 svn:log V 49 Hook up cpufreq man page. Noticed by: brueffer END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T04:14:20.000000Z K 7 svn:log V 31 Fix mismerge. Noticed by: tjr END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T04:44:54.000000Z K 7 svn:log V 194 MFC 1.43 and 1.44: Do not mislead users into checking for a mount_ufs or mount_ufs2 manual page. They do not exist. PR: 53303 Submitted by: Marc Silver (original version) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T04:50:20.000000Z K 7 svn:log V 177 MFC 1.22 and 1.23 Add information on utilities which may or may not be aware of file flags. PR: 55653 Submitted by: Tony Maher (original version) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T04:58:47.000000Z K 7 svn:log V 136 MFC 1.32 1.33: Note how cp(1) handles directories ending in "/" PR: 75774 Submitted by: Mike Meyer (original version) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T05:16:55.000000Z K 7 svn:log V 124 MFC 1.12: Fix a couple of grammar nits. PR: 77437 Submitted by: Paul A. Hoadley (original version) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-26T05:24:40.000000Z K 7 svn:log V 122 MFCs noted: cpufreq(4) (partial), matcd(4) removed, rm(1) -I. Other changes: Minor punctuation fixes in hptmv(4) note. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-26T05:26:07.000000Z K 7 svn:log V 69 MFC: cpufreq(4) (partial merge), hptmv(4), matcd(4) gone, rm(1) -I. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T05:32:41.000000Z K 7 svn:log V 259 Sync with CURRENT: To be more complete, discuss 'make kernel' since we do cover buildkernel. Xref config.8. Bump doc date. PR: 76064 Submitted by: Gavin Atkinson (original version) Reviewed by: keramida (follow-up in the PR) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T06:08:07.000000Z K 7 svn:log V 122 MFC 1.18: Xref chflags(2). Note that unlink.2 can return EPERM if the immutable or append-only flags are set. PR: 77043 END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-26T07:11:17.000000Z K 7 svn:log V 140 Don't need to do MmInitializeMdl() in ndis_mtop() anymore: IoInitializeMdl() does it internally (and doing it again here messes things up). END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-26T07:23:46.000000Z K 7 svn:log V 369 MFC revision 1.140 Eliminate an unnecessary call to vm_page_busy(). MFC revision 1.141 Pass VM_ALLOC_NOBUSY to vm_page_grab() so that we don't have to call vm_page_flag_clear(PG_BUSY). The object lock is held the entire time. Thus, whether or not the PG_BUSY flag is set is invisible to others. MFC revision 1.145 Acquire the source pmap's lock in pmap_copy(). END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-02-26T07:25:03.000000Z K 7 svn:log V 410 MFC: 1.257, 1.258, and 1.259. Add 'nocona' to the list of Intel ia64 CPUs and k8 to the AMD CPUs. Replace -fmemoize-lookups -fsave-memoized with a working example, -fconserve-space. To quote part of the GCC docs on this option: "Put uninitialized or runtime-initialized global variables into the common segment, as C does." MFC after: 2 days Submitted by: Daniel Gerzo (original version) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-02-26T07:33:33.000000Z K 7 svn:log V 49 MFC 1.22, 1.23: teach IPv6 to `systat -netstat'. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-02-26T08:54:40.000000Z K 7 svn:log V 243 Major clean up and split the Var_Parse monster function into three functions: one for the single letter variables, one for the others and one that does the recursive expansion. Patches: 7.68-7.79 Submitted by: Max Okumoto END K 10 svn:author V 3 das K 8 svn:date V 27 2005-02-26T08:54:45.000000Z K 7 svn:log V 119 Un-document the non-extant exp10() and exp10f() functions. exp10() was a casualty of the transition away from the VAX. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-26T10:33:14.000000Z K 7 svn:log V 27 Staticize local functions. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-02-26T10:39:49.000000Z K 7 svn:log V 96 Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant I tls. Reviewed by: dfr END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-02-26T12:49:03.000000Z K 7 svn:log V 105 Add a neat remark on the popular belief that the universe is a safe the man ought to break open and rob. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-26T13:24:26.000000Z K 7 svn:log V 40 MFC: rev. 1.30 by ru Formatting fixes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-26T13:44:05.000000Z K 7 svn:log V 58 MFC: Scheduled mdoc(7) sweep. Original revisions by: ru END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-26T13:55:07.000000Z K 7 svn:log V 100 Remove carp_softc.sc_ifp member in favor of union pointers in struct ifnet. Obtained from: OpenBSD END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-26T16:33:04.000000Z K 7 svn:log V 242 New release notes: moused(8) -V (+MFC). MFCs noted: TCP random ephemeral port rate limiting, syslogd(8) logpriv (with a few grammar fixes), tail -f, Other changes: Minor grammar fixes to rc.conf interface renaming and rc.d/moused notes. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-26T16:36:07.000000Z K 7 svn:log V 298 MFC: Random ephemeral port allocation rate limiting, moused(8) -V, syslogd logpriv socket, tail(1) -f. Also added a note about backported libpthread bugfixes. I wasn't sure if this "made the bar" for HEAD release notes, so I just noted this here in RELENG_5. Might revisit this decision later. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-26T18:52:54.000000Z K 7 svn:log V 82 move ptr deref's to after null checks Noticed by: Coverity Prevent analysis tool END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-02-26T18:55:36.000000Z K 7 svn:log V 118 Minor cleanup in nfs_request() and removal of a comment that doesn't reflect reality. Submitted by: Mohan Srinivasan END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-02-26T18:55:53.000000Z K 7 svn:log V 61 plug memory leak Noticed by: Coverity Prevent analysis tool END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-02-26T18:59:01.000000Z K 7 svn:log V 492 Instead of using sysarch() to store-retrieve the tp, add a magic address, ARM_TP_ADDRESS, where the tp will be stored. On CPUs that support it, a cache line will be allocated and locked for this address, so that it will never go to RAM. On CPUs that does not, a page is allocated for it (it will be a bit slower, and is wrong for SMP, but should be fine for UP). The tp is still stored in the mdthread struct, and at each context switch, ARM_TP_ADDRESS gets updated. Suggested by: davidxu END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-02-26T19:06:49.000000Z K 7 svn:log V 86 Bring in a more healthy version of the libpthread for arm, which uses ARM_TP_ADDRESS. END