ƒ¯b145187 205 176 132 204 501 133 191 184 218 377 226 966 223 364 709 982 808 189 174 244 402 159 113 194 193 314 206 230 173 254 278 134 140 332 202 196 183 149 220 169 191 182 132 255 140 123 126 224 667 190 200 128 240 143 149 154 241 151 282 165 206 322 159 172 488 388 192 532 189 233 275 135 241 281 472 506 273 157 113 126 130 96 128 243 690 182 153 230 182 154 148 183 210 211 200 208 141 277 205 171 189 403 127 249 137 176 182 405 421 258 334 112 179 164 227 223 147 150 176 187 388 280 134 221 477 291 313 117 180 120 155 170 375 426 390 166 163 264 192 173 265 210 312 162 205 255 204 152 164 166 424 359 378 555 562 157 179 195 174 166 534 624 318 237 426 133 457 166 331 456 282 151 172 501 983 155 174 140 198 226 189 170 235 536 376 132 500 167 880 204 178 108 208 149 118 347 236 157 220 424 450 172 162 1286 179 375 K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-17T12:13:44.000000Z K 7 svn:log V 82 MFC rev. 1.36: document net.inet.ip.maxfragpackets and maxfragsperpacket sysctls. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-17T12:16:45.000000Z K 7 svn:log V 38 o MFC rev. 1.89: add DragonFly 1.2.0. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-17T12:41:22.000000Z K 7 svn:log V 108 Forced commit to denote that these files were repo-copied from sys/dev/esp to sys/sparc64/sbus at rev. 1.1. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-17T12:45:20.000000Z K 7 svn:log V 405 Re-commit the following changes which were committed to these files at their old location in sys/dev/esp after they were repo-copied to sys/sparc64/sbus at rev. 1.1: sys/dev/esp/lsi64854.c rev. 1.2 sys/dev/esp/lsi64854var.h rev. 1.2 Add some style(9) touch ups; style(9) states that new code should follow these conventions and, well, this is a new driver. Tested on: i386, sparc64 Reviewed by: scottl END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-17T13:37:57.000000Z K 7 svn:log V 41 Add one more Promise SATAII/150 chip id. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-17T14:42:52.000000Z K 7 svn:log V 99 libc-internal interfaces should have two underscores in front of their names. Pointed out by: das END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-17T15:08:34.000000Z K 7 svn:log V 88 Use __CONCAT() in the TUNABLE_ macros, this way we don't have to use 3 macros per type. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-17T15:10:30.000000Z K 7 svn:log V 121 Fix build for !YP case. BTW. Shall we change these fields to have yp_ prefix? That will make the code easier to read. END K 10 svn:author V 4 matk K 8 svn:date V 27 2005-04-17T15:26:51.000000Z K 7 svn:log V 283 De-dma the uaudio <-> pcm bridge. We were not capable of doing DMA from this buffer anyway so the constraint that it had to be DMA capable only caused pain when devices failed to aquire the memory. Use a regular malloc instead with sndbuf_setup. Approved by: tanimura (mentor) END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-04-17T16:08:51.000000Z K 7 svn:log V 131 Catch up with new naming scheme for USB serial devices: s/ucom/cuaU/. PR: docs/80027 Submitted by: Rong-En Fan END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-17T16:25:36.000000Z K 7 svn:log V 869 NFS write gathering defers execution of NFS server write requests to wait to see if additional write requests will arrive that can be coalesced and clustered with earlier ones. When doing so, it must determine whether the two requests are made by credentials with the same access writes, so as not to coalesce improperly. NFSW_SAMECRED() implements a test of two credentials using a binary compare. Replace NFSW_SAMECRED() macro with nfsrv_samecred() function, which is aware of the contents and layout of a struct ucred, rather than a simple binary compare. While the binary compare works when ucred is simply a zero'd and embedded 'struct ucred' in the NFS descriptor, it will work less well when the ucred associated with an NFS descriptor is "real", so has defined and populated reference count, mutex, etc. MFC after: 1 week Obtained from: TrustedBSD Project END K 10 svn:author V 4 matk K 8 svn:date V 27 2005-04-17T16:26:08.000000Z K 7 svn:log V 129 Fix a bug where we call pcm_getbuffersize twice. Pointed out by: Kazuhito HONDA END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-04-17T17:20:54.000000Z K 7 svn:log V 266 Support path-rewriting options (including --strip-components) for both extraction and creation. While I'm here, fix a bug reported by Garrett Wollman: when stripping the leading '/' from the path "/", don't produce an entry with an empty name; produce "." instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-17T17:41:32.000000Z K 7 svn:log V 613 Style and minor changes: - Merge lsi64854.c rev. 1.25 from NetBSD: nuke trailing whitespace. - Update NetBSD RCS IDs according to what was actually already merged. - Remove dv_name from the lsi64854_softc and use device_printf() instead. - Use __func__ instead of hardcoded function names in error messages. - Use ulmin() instead of min() for comparing the DMA sizes as the values involved actually are represented by 64bit unsigned instead of 32bit unsigned. As far as I can't tell this doesn't make a difference in practice though. - Some style(9) fixes (mainly indentation). - Remove unnecessary braces. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-17T17:42:36.000000Z K 7 svn:log V 886 Style and minor changes: - Merge esp_sbus.c rev. 1.31 from NetBSD: nuke trailing whitespace. Rev. 1.28 and 1.30 were already merged, 1.29 is not relevant for FreeBSD. - Remove unused headers. - Use BUS_PROBE_DEFAULT. - Use __func__ instead of hardcoded function names in error messages. - Correct some comments. - Correct some function declarations to match their prototypes. - Some style(9) fixes (don't use function calls in initializers; indentation). - Zero the allocated structs to avoid problems with uninitialized members. - Remove the ifdef'ed out SBus interrupt priority code and the hook for ncr53c9x_reset(), remove the unused SBus interrupt priority member from esp_softc. On FreeBSD setting the SBus interrupt priority is entirely done in sbus(4) and the reset function isn't even really used in NetBSD. - s,dma,DMA, in comments. - Make the code fit in 80 columns. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-17T17:44:01.000000Z K 7 svn:log V 712 Merge some style and minor changes from NetBSD: - ncr53c9x.c: 1.108: Remove unreachable break after return and goto statements. 1.109: avoid strong words; use 'screw' instead 1.110: Fix some typos. From Tom Cosgrove via jmc@openbsd. 1.114: nuke trailing whitespace 1.107 was already merged, 1.112 and 1.113 are not relevant for FreeBSD. 1.111 is a functional change and will be merged later. - ncr53c9xreg.h: 1.12: DMA, not dma nor Dma. 1.13: Fix some typos. From Tom Cosgrove via jmc@openbsd. 1.14: nuke trailing whitespace - ncr53c9xvar.h: 1.43: Fix some typos. From Tom Cosgrove via jmc@openbsd. 1.44: Constify. 1.42 and 1.46 were already merged, 1.45 is not relevant for FreeBSD. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-04-17T17:51:05.000000Z K 7 svn:log V 92 Update "make distfile" to use newest automake/autoconf from ports. Thanks to: Juergen Lock END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-04-17T17:53:24.000000Z K 7 svn:log V 77 Configure script needs to test for dirent.d_namlen. Thanks to: Juergen Lock END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-04-17T19:36:08.000000Z K 7 svn:log V 149 Now that the GDT has been reorganized and GNDIS_SEL has been reserved for us, use it if it's available, otherwise default to using slot 7 as before. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-04-17T19:43:37.000000Z K 7 svn:log V 304 A number of fixes to the autoconf-generated build system. In particular, acl support is no longer enabled on FreeBSD 4, acl support should be correctly enabled on Linux, dirent.d_namlen should be correctly detected on platforms that support it. Thanks to: Greg Lewis, Juergen Lock, and Jaakko Heinonen END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-04-17T19:46:50.000000Z K 7 svn:log V 62 A very minor tweak to the handling of leading '/' characters. END K 10 svn:author V 4 ache K 8 svn:date V 27 2005-04-17T19:57:52.000000Z K 7 svn:log V 20 Fix truncl.3 MLINKS END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-04-17T21:38:22.000000Z K 7 svn:log V 98 Pass the hostname we got from DHCP to the kernel so that machines can share a read-only NFS root. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-04-17T21:55:00.000000Z K 7 svn:log V 97 Correct a comment about which parallel port pin is used to drive the RS signal. PR: misc/20139 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-04-17T22:49:00.000000Z K 7 svn:log V 216 Portability enhancement: MS Windows won't restore metadata if the file is still open, so close the file as soon as we've written the file contents, before we attempt to restore metadata. Thanks to: Kees Zeelenberg END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-04-17T23:22:22.000000Z K 7 svn:log V 108 There is no /etc/rc.network anymore. Submitted by: Benjamin Rossen MFC after: 2 weeks END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-17T23:30:20.000000Z K 7 svn:log V 132 Needed to drop "lang/gnat", "print/teTeX", and "textproc/docproj-jadetex" to make the packages fit on the CDs... MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-18T01:29:30.000000Z K 7 svn:log V 76 Add edwin (not to be confused with erwin, who added himself 22 months ago). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-18T01:36:17.000000Z K 7 svn:log V 156 MFS revision 1.139.2.4 (add edwin) because I accidentally committed to RELENG_5 instead of HEAD. Pointy hat to: The large pile of hats over in the corner. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-18T02:10:37.000000Z K 7 svn:log V 185 Add a sysctl that returns the full path of a process' text file. This information is needed by things like `gdb -p' and Sun's javac, and previously it could only be obtained via procfs END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-18T02:34:22.000000Z K 7 svn:log V 39 Fix compilation when DEBUG is defined. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-18T02:54:07.000000Z K 7 svn:log V 48 Fix parsing of nomatch events. minor debug fix. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-18T03:31:29.000000Z K 7 svn:log V 239 Fix newer Xircom CBE2-100 cards that were reporting dc0: MII without any PHY! We have to enable the connection to the MII first. Doing so fixes the problem cards without breaking the older, working cards. Bad card provided by: deischen END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-18T03:45:23.000000Z K 7 svn:log V 105 Do not check whether a pointer is NULL, since free(3) already takes care of this case. Reviewed by: ume END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-04-18T04:23:23.000000Z K 7 svn:log V 100 Catch up with ATA mkIII definitions for registers that have different functions for read vs. write. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-18T06:08:28.000000Z K 7 svn:log V 86 MFC revision 1.31: Use bsdtar instead of GNU tar. Discussed with: kientzle, kensmith END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-18T07:39:53.000000Z K 7 svn:log V 53 Document bsnmpd related options. Reminded by: maxim END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-18T08:26:08.000000Z K 7 svn:log V 127 Merge the following from the English version: 1.761.2.39 -> 1.761.2.41.2.3 relnotes/common/new.sgml Approved by: re (hrs) END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-18T08:29:25.000000Z K 7 svn:log V 77 Print amd64-specific security advisory only for amd64 Reviewed by: re (hrs) END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-18T08:33:40.000000Z K 7 svn:log V 99 Print amd64-specific security advisory only for amd64 Reviewed by: re (hrs) Approved by: re (hrs) END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-18T09:30:41.000000Z K 7 svn:log V 90 Merge the following from the English version: 1.843 -> 1.845 relnotes/common/new.sgml END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-18T10:00:02.000000Z K 7 svn:log V 36 MFC 1.8: Remove duplicated "bytes". END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-18T11:32:17.000000Z K 7 svn:log V 158 Fix panics with misconfigured routing: - Backout previous revision, the check is useless. - Turn node to queue mode, since it is edge node. Reported by: sem END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-18T11:51:10.000000Z K 7 svn:log V 44 Remove end-of-line tabs. MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-18T12:45:11.000000Z K 7 svn:log V 30 MFC: Remove unneeded include. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-18T12:49:10.000000Z K 7 svn:log V 33 MFC: Fix the apm module on pc98. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-04-18T13:06:43.000000Z K 7 svn:log V 128 Adding another multi-byte characters related regression test for msdosfs. Tested by: njl Reviewed by: silby, bde, sam (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-18T13:36:57.000000Z K 7 svn:log V 570 Introduce p_canwait() and MAC Framework and MAC Policy entry points mac_check_proc_wait(), which control the ability to wait4() specific processes. This permits MAC policies to limit information flow from children that have changed label, although has to be handled carefully due to common programming expectations regarding the behavior of wait4(). The cr_seeotheruids() check in p_canwait() is #if 0'd for this reason. The mac_stub and mac_test policies are updated to reflect these new entry points. Sponsored by: SPAWAR, SPARTA Obtained from: TrustedBSD Project END K 10 svn:author V 4 rees K 8 svn:date V 27 2005-04-18T13:42:13.000000Z K 7 svn:log V 97 TCP reconnect is not an error. Change the message from LOG_ERR to LOG_INFO. Approved by: alfred END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-18T13:51:03.000000Z K 7 svn:log V 107 Adjust the RAID type pickup code for the VIA, we dont actually care if the array is bootable or not (yet). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-18T14:33:18.000000Z K 7 svn:log V 33 Note that NO_MIXED_MODE is gone. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-18T15:08:29.000000Z K 7 svn:log V 147 'r' disk devices no longer exist, so don't try to create a pathname that has an 'r' in it. This also eliminates a bogus use of strlcat. PR: 80064 END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-18T16:01:56.000000Z K 7 svn:log V 51 Add uma zone for composite ops. Submitted by: des END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-18T16:45:50.000000Z K 7 svn:log V 57 MFC 1.44: Fix multi-byte access with optimized mbnambuf. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-18T16:48:10.000000Z K 7 svn:log V 62 MFC 1.10: Fix overflow of buf from printing the XSDT address. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-18T16:55:48.000000Z K 7 svn:log V 144 MFen: 1.843 -> 1.845, plus some language improvements. MFC After: 1 day, MT5_4 candidate Obtained from: The FreeBSD Simplified Chinese Project END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-18T17:11:05.000000Z K 7 svn:log V 59 MFC 1.10: Fix overflow of buf. Approved by: re (kensmith) END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-18T18:10:56.000000Z K 7 svn:log V 190 Rewrite of tcp_update_sack_list() to make it simpler and more readable than our original OpenBSD derived version. Submitted by: Noritoshi Demizu Reviewed by: Mohan Srinivasan, Raja Mukerji END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-18T18:34:58.000000Z K 7 svn:log V 73 rename the NIS related fields to have yp_ prefix. Suggested by: delphij END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-18T18:35:05.000000Z K 7 svn:log V 110 Add IPv6 support to IPFW and Dummynet. Submitted by: Mariano Tortoriello and Raffaele De Lorenzo (via luigi) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-04-18T18:47:38.000000Z K 7 svn:log V 226 Initial import of ipw, iwi, ral and ural drivers: ipw - Intel PRO/Wireless 2100 iwi - Intel PRO/Wireless 2200BG/2225BG/2915ABG ral - Ralink Technology RT2500 ural - Ralink Technology RT2500USB Approved by: silby (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-18T21:10:38.000000Z K 7 svn:log V 64 As with kernel-depend, rm the DEPENDFILE before modules-depend. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-18T21:11:47.000000Z K 7 svn:log V 80 Initialize mountlist_mtx with an MTX_SYSINIT(), we need it to be ready earlier. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-18T21:21:26.000000Z K 7 svn:log V 395 Add a named reference-count KPI to hold off mounting of the root filesystem. While we wait for holds to be released, print a list of who holds us back once per second. Use the new KPI from GEOM instead of vfs_mount.c calling g_waitidle(). Use the new KPI also from ata. With ATAmkIII's newbusification, ata could narrowly miss the window and ad0 would not exist when we tried to mount root. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-18T21:21:47.000000Z K 7 svn:log V 293 MFC: stop vm86bios calls from panicing the system or corrupting the first 4 bytes of random pages. Rename the vm86 data structure in the pcb from __pcb_spare[] to pcb_vm86[] to hopefully avoid this happening again. This was broken in September 2003, and the bug is present in 5.2 and later. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-18T21:36:17.000000Z K 7 svn:log V 98 MFC: stop i386_vm86() from either panicing or trashing random pages. Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-18T21:45:34.000000Z K 7 svn:log V 439 Break out the definition of bus_space_{tag,handle}_t and a few other types into _bus.h to help with name space polution from including all of bus.h. In a few days, I'll commit changes to the MI code to take advantage of thse sepration (after I've made sure that these changes don't break anything in the main tree, I've tested in my trees, but you never know...). Suggested by: bde (in 2002 or 2003 I think) Reviewed in principle by: jhb END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-18T22:03:21.000000Z K 7 svn:log V 97 Cope with the (unwise?) incompatible changes with make by adding a comment before defined(SRCS). END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-19T03:19:19.000000Z K 7 svn:log V 140 Unbreak the pc98 build by including enough information in the _bus.h for _bus.h to compile. Pointy hat to: imp Breakage noted by: nyan-san END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-19T04:01:25.000000Z K 7 svn:log V 179 Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes) END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-19T05:28:08.000000Z K 7 svn:log V 43 Fix indentation problem in the last commit END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T06:11:16.000000Z K 7 svn:log V 149 Provide a way to soft reset a proxy controller such as an MSA20 or MSA500. This is useful if you need to reset one of the storage arrays on reboot. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-19T06:23:59.000000Z K 7 svn:log V 188 Call g_waitidle() instead of GEOM using the root_mount_hold() KPI. GEOM could (and will) get events as a result of drivers coming in late so a one-shot method is not good enough for GEOM. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-19T08:07:28.000000Z K 7 svn:log V 375 Fix a race condition between kern_wait() and thread_stopped(). Problem is in kern_wait(), parent process steps through children list, once a child process is skipped, and later even if the child is stopped, parent process still sleeps in msleep(), the race happens if parent masked SIGCHLD. Submitted by : Peter Edwards peadar.edwards at gmail dot com MFC after : 4 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-19T08:11:28.000000Z K 7 svn:log V 409 Oops, forgot to update this file. Fix a race condition between kern_wait() and thread_stopped(). Problem is in kern_wait(), parent process steps through children list, once a child process is skipped, and later even if the child is stopped, parent process still sleeps in msleep(), the race happens if parent masked SIGCHLD. Submitted by : Peter Edwards peadar.edwards at gmail dot com MFC after : 4 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-19T09:33:14.000000Z K 7 svn:log V 180 Add -S option which allows to change the pathname of the privileged socket /var/run/logpriv. MFC from: src/usr.sbin/syslogd/syslogd.8 1.60 src/usr.sbin/syslogd/syslogd.c 1.142 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-19T09:37:18.000000Z K 7 svn:log V 61 MFen 1.761.2.41.2.3 -> 1.761.2.41.2.5 Approved by: re (hrs) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-19T09:42:25.000000Z K 7 svn:log V 21 Bump copyright year. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-19T09:43:53.000000Z K 7 svn:log V 34 Bump copyright year and use &os;. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-19T09:56:14.000000Z K 7 svn:log V 38 Make IPFIREWALL compile without INET6 END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-19T10:04:38.000000Z K 7 svn:log V 5 typo END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-19T10:12:21.000000Z K 7 svn:log V 36 Make DUMMYNET compile without INET6 END K 10 svn:author V 6 thomas K 8 svn:date V 27 2005-04-19T11:58:04.000000Z K 7 svn:log V 147 MFC rev. 1.11: Fix discrepancy between documentation and implementation: the destination port is incremented for each packet sent to the same hop. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-19T12:03:52.000000Z K 7 svn:log V 597 New release notes: hwpmc(4) and associated library/userland utilities, ipw(4), iwi(4), ral(4), and ural(4) wireless LAN drivers, ipfw(4) and dummynet(4) now supports IPv6, net.link.tap.user_open sysctl for tap(4), LOCAL_CREDS and LOCAL_CONNWAIT options for unix(4), twa(4) driver update, machine-specific optimized functions for AMD64. getserv{ent,byname,byport} MPSAFE, mixer(8) -S option, C99 functions: roundl(), lroundl(), llroundl(), truncl(), and floorl(), syslogd(8) -S option, rc.d/bsnmpd startup script, and manual pages of ataraid(4), sched_4bsd(4), and sched_ule(4) added. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-19T12:28:17.000000Z K 7 svn:log V 90 - nuke deprecated and unused getnodeby(3). - remove unused variable. Obtained from: KAME END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-19T12:31:15.000000Z K 7 svn:log V 57 Clear P_STATCHILD earlier to avoid unnecessary retrying. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-19T12:33:26.000000Z K 7 svn:log V 137 CFA (Compact Flash) devices has a special config ID that fails the normal ATA device check in ata-disk.c. Add support for the CFA magic. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-19T13:15:52.000000Z K 7 svn:log V 86 Use critical section functions rather than scheduler lock to protect critical region. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-19T13:26:58.000000Z K 7 svn:log V 59 Capitalize words in library description. Submitted by: ru END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-19T13:52:27.000000Z K 7 svn:log V 52 Further narrow down critical region of FSBASE code. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-19T14:27:43.000000Z K 7 svn:log V 88 Unbreak tinderbox builds for ${MACHINE_ARCH} != "i386" or "amd64". Pointed out by: ru. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-19T14:40:50.000000Z K 7 svn:log V 114 Remove superfluous CFLAGS additions. Make 'make checkdpadd' work. Use '?=' for the WARNS line. Submitted by: ru END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-19T14:41:13.000000Z K 7 svn:log V 118 - add getproto{byname,bynumber,ent}_r for internal use within libc. - make getproto{byname,bynumber,ent} thread-safe. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-19T14:43:59.000000Z K 7 svn:log V 104 Remove superfluous CFLAGS lines. Use the conditional '?=' construct for WARNS lines. Submitted by: ru END K 10 svn:author V 3 den K 8 svn:date V 27 2005-04-19T14:55:53.000000Z K 7 svn:log V 115 Merge the following from the English version: 1.761.2.41.2.3 -> 1.761.2.41.2.5 new.sgml Approved by: re (hrs) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-19T15:15:35.000000Z K 7 svn:log V 49 Remove redundant line, add comment about termcap END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-04-19T15:30:44.000000Z K 7 svn:log V 182 Add preliminary support for WPA-PSK using wpa_supplicant and the net80211 code, graciously contributed by Arvind Srinivasan. Submitted by: Arvind Srinivasan arvind at celar daht us END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-04-19T16:06:04.000000Z K 7 svn:log V 109 Point users to tcsh(1) for information about shell globbing patterns, rather than 'XXXX'. MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-19T16:23:00.000000Z K 7 svn:log V 76 Document taskqueue_run_fast(). Markup 'Giant' with ".Va". Reviewed by: ru END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-19T16:30:25.000000Z K 7 svn:log V 94 Bring API documentation for sleepqueue(9) in sync with the code in -current. Reviewed by: ru END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-19T16:38:24.000000Z K 7 svn:log V 310 Add a driver for SMI-based SpeedStep. The hardware supports two frequency settings and is an older version of the same design used for ICH SpeedStep. It is only known to be available on PIIX4 chipsets. Many thanks to Bruno Ducrot for writing the driver and Jon Noack for testing. Submitted by: Bruno Ducrot END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-19T16:39:23.000000Z K 7 svn:log V 35 Hook smist up to the kernel build. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-19T17:57:53.000000Z K 7 svn:log V 156 New release notes: getproto{ent,byname,bynumber}(3) thread-safe. Update release notes: s/MPSAFE/thread-safe/ in the entry of getserv{ent,byname,byport}. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T18:27:34.000000Z K 7 svn:log V 46 MFC: rev 1.11 Remove some unused sack fields. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T18:28:23.000000Z K 7 svn:log V 85 MFC: rev 1.12 When the rightmost SACK block expands, rcv_lastsack should be updated. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-19T18:29:11.000000Z K 7 svn:log V 87 I accidently committed two 'cleandepend' when I was deciding which form was "cleaner". END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T18:30:40.000000Z K 7 svn:log V 313 MFC: rev 1.269 of tcp_input.c, rev 1.221 of tcp_subr.c - If the reassembly queue limit was reached or if we couldn't allocate a reassembly queue state structure, don't update (receiver) sack report. - Similarly, if tcp_drain() is called, freeing up all items on the reassembly queue, clean the sack report. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T18:32:35.000000Z K 7 svn:log V 329 MFC: rev 1.270 of tcp_input.c, rev 1.25 of tcp_seq.h - Tighten up the Timestamp checks to prevent a spoofed segment from setting ts_recent to an arbitrary value, stopping further communication between the two hosts. - If the Echoed Timestamp is greater than the current time, fall back to the non RFC 1323 RTT calculation. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T18:34:06.000000Z K 7 svn:log V 166 MFC: rev 1.271 tcp_input.c, rev 1.13 tcp_sack.c, rev 1.119 tcp_var.h Fix for a TCP SACK bug where more than (win/2) bytes could have been in flight in SACK recovery. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T18:37:26.000000Z K 7 svn:log V 242 MFC: rev 1.10 tcp_sack.c, 1.118 tcp_var.h, 1.69 inet.c Add limits on the number of elements in the sack scoreboard both per-connection and globally. This eliminates potential DoS attacks where SACK scoreboard elements tie up too much memory. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-19T18:52:52.000000Z K 7 svn:log V 15 Grammar fixes. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-19T20:02:37.000000Z K 7 svn:log V 88 MFC: rev 1.142 Deal with zero length transfers before we even get to fo_ops->fo_read(). END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-19T21:06:06.000000Z K 7 svn:log V 72 Since pmc is a CPU feature, grab the mdep file from the i386 directory. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-19T21:07:00.000000Z K 7 svn:log V 134 There's no need to include all the detauls of struct bus_space_{tag,handle} in _bus.h when the typedef of the struct pointer will do. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-19T21:12:57.000000Z K 7 svn:log V 130 Minimal changes to get this to compile with -DDEBUG defined as well as hack a couple used before set warnings for LINT happiness. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-19T21:40:07.000000Z K 7 svn:log V 55 Need more files for i386, need all the files for pc98. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-19T21:40:49.000000Z K 7 svn:log V 58 Remove unused variable that was horking up the LINT build END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-19T21:44:44.000000Z K 7 svn:log V 84 Call g_waitidle() before every check the list of holds is empty. Suggested by: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-19T21:47:25.000000Z K 7 svn:log V 95 Remove the hack which allowed to use gmirror for root file system, use root_mount KPI instead. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-04-19T21:55:28.000000Z K 7 svn:log V 291 The size of a filesystem may be less than the size of the provider it resides on. Fix the special case of the filesystem fragment size not evenly dividing the size of the provider. Fixing the general case probably requires better superblock validation (left as an exercise to the reader). END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-19T22:16:46.000000Z K 7 svn:log V 187 Move this to the specific architectures that are supported. #ifdef foo in sys/pmc.h precludes it from working on !i386, !amd64. When that changes, it can be moved back into conf/NOTES. END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-04-20T00:51:39.000000Z K 7 svn:log V 39 Fix two typos. Approved by: re (hrs@) END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-04-20T01:56:33.000000Z K 7 svn:log V 125 Use .Pa instead of .Xr to follow mdoc(7) specifications. Noticed by: trhodes Approved by: trhodes (mentor) MFC after: 1 day END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-04-20T02:17:53.000000Z K 7 svn:log V 382 Small cleanup of the WPA code additions. The SIOCG80211 and SIOCS80211 ioctls are now handled explicitly, but we can't really do anything with them unless the NIC is up (trying to get/set a parameter when the NDIS driver isn't running always yields an error). If something invokes either of these ioctls and the NIC isn't initialized, punt to the default ieee80211_ioctl() routine. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-04-20T02:26:31.000000Z K 7 svn:log V 195 Get order right when initializing task file bus resources. ATA drives are now recognised when booting from the drive, as opposed to net-booting which the previous botched commit was tested with. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-20T02:57:56.000000Z K 7 svn:log V 218 Check sopt_level in uipc_ctloutput() and return early if it is non-zero. This prevents unintended consequnces when an application calls things like setsockopt(x, SOL_SOCKET, SO_REUSEADDR, ...) on a Unix domain socket. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-20T04:43:30.000000Z K 7 svn:log V 22 Remove dead variable. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-20T04:57:38.000000Z K 7 svn:log V 85 Only compile for the hwpmc module for supported architectures. Submitted by: grehan END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-20T05:36:43.000000Z K 7 svn:log V 25 Remove extra Id keyword. END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-04-20T06:43:41.000000Z K 7 svn:log V 60 MFC 1.12: a small change to allow a record-only USB device. END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-04-20T07:33:09.000000Z K 7 svn:log V 76 Cross reference ehci(4). Suggested by: Flemming Jacobsen MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-20T08:03:58.000000Z K 7 svn:log V 278 MFC rev. 1.31 and 1.32: Replace buggy for-loops to skip certain character with strspn(). If *fmt was '\0' (eg in the invocation 'printf %'), the for-loop would miss the terminating null character. Assign 0.0 to the variable passed to getfloating() if the argument is missing. END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-04-20T08:45:13.000000Z K 7 svn:log V 330 MFC snmp_pf. From the original commit message: | Add snmp_pf, a bsnmpd module for monitoring (not managing!) pf firewalls. | Currently implemented are most things related to states and interfaces, todo | are address tables and altq. I've tried to keep this roughly in sync with a | project implementing this for net-snmpd. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T09:30:54.000000Z K 7 svn:log V 293 Do not call all link state callbacks directly, but schedule a taskqueue(9) task. This fixes LORs and adds possibility to serve such events pseudorecursively, when link state change of interface causes subsequent change on other interfaces. Sponsored by: Rambler Reviewed by: sam, brooks, mux END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T09:32:05.000000Z K 7 svn:log V 70 Remove anti-LOR bandaid, it is not needed now. Sponsored by: Rambler END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-20T10:41:09.000000Z K 7 svn:log V 66 Fix typo. PR: 80133 Submitted by: Zheyu Shen END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T12:16:41.000000Z K 7 svn:log V 167 - Call if_link_state_change() for each vlan, when link changes on parent. - Remove route.h include. - Fix comment about MII. Sponsored by: Rambler Reviewed by: yar END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T12:18:22.000000Z K 7 svn:log V 96 Add macro NG_COPYMESSAGE(), which allocates memory and creates a copy of given control message. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T12:22:33.000000Z K 7 svn:log V 77 Remove extra ifnet pointer from private data. It can be accessed via arpcom. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-20T12:28:20.000000Z K 7 svn:log V 171 Rename from apm_bioscall.s to apm_bioscall.S for removing a special rule to build a module. A repo-copy is not done because it has no important logs. Pointed out by: ru END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-20T12:51:54.000000Z K 7 svn:log V 117 Properly hook in devices found by SATA connect events. This broke on the changes done to get atapicam happy earlier. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-20T13:14:52.000000Z K 7 svn:log V 215 Inherit signal mask for child process in fork1(), RELENG_4 and other *BSD have this behaviour, also it is required by POSIX. PR: kern/80130 Submitted by: Kostik Belousov konstantin.belousov at zoral dot com dot ua END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-20T14:14:08.000000Z K 7 svn:log V 70 When a rebuild is done, properly mark the arrays as functional again. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T14:19:20.000000Z K 7 svn:log V 108 When netgraph flow control message comes from downstream, broadcast it to all vlans. Sponsored by: Rambler END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T14:22:13.000000Z K 7 svn:log V 158 - Initialize interface as UP when hook is connected. - Call if_link_state_change() when netgraph flow control messages are received. Sponsored by: Rambler END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T18:44:53.000000Z K 7 svn:log V 108 Add empty header (except of the multiple-inclusion protection) to get hwpmc(4) to compile on this platform. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-20T19:11:05.000000Z K 7 svn:log V 56 Manpage for unit allocator functions. Reviewed by: phk END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-04-20T19:11:06.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 cvs2svn K 8 svn:date V 27 2005-04-20T19:11:07.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_4'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T20:19:24.000000Z K 7 svn:log V 328 o Reverse the inclusion chain from MD->MI to MI->MD by including here. o Remove the #error directive. There's no union md_pm referenced on (as of yet) unsupported platforms and will not be if there are no MD extensions for a particular platform. Further cleanups can be expected. Ok'd: jkoshy@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T20:22:33.000000Z K 7 svn:log V 263 o Reverse the inclusion chain from MD->MI to MI->MD by removing the inclusion of and depending on being included from that header file. o Include any MD specific header files that otherwise need to be included from MI files. Ok'd: jkoshy@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T20:26:39.000000Z K 7 svn:log V 282 Include instead of . The MI header includes the MD header for us. Do not include as it is not a header file that can be included from MI files. It is included from if so needed and possible. Ok'd: jkoshy@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T20:30:59.000000Z K 7 svn:log V 459 Do not conditionally compile the contents of this file upon whether HWPMC_HOOKS is defined. The pmc_cpu_is_*() functions in this file are referenced unconditionally by hwpmc(4). This is mostly a stop-gap. The pmc_cpu_is*() function should probably be declared inline in or and the function pointers with corresponding SX lock should probably be moved to another file and compiled conditionally upon HWPMC_HOOKS. Ok'd by: jkoshy@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T20:48:24.000000Z K 7 svn:log V 466 o Do not include . It's automaticly included for us when is included. o Replace "#if __i386__" and "#if __amd64__" with the equivalent of "#ifdef __i386__" and "#ifdef __amd64__" (resp.) These tokens are not defined on all platforms. o Conditionally compile pmc_parse_mask() on i386 and amd64 only. It's only referenced there. This will change when support for other platforms is added, of course. Ok'd by: jkoshy@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T20:50:32.000000Z K 7 svn:log V 62 Build libpmc on all architectures (FWIW :-) Ok'd by: jkoshy@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T20:51:37.000000Z K 7 svn:log V 84 Build pmccontrol(8) and pmcstat(8) on all architectures (FWIW :-) Ok'd by: jkoshy@ END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-20T20:52:46.000000Z K 7 svn:log V 103 Don't enter the debugger if KDB_UNATTENDED is set or if debug.debugger_on_panic=0. MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T22:03:33.000000Z K 7 svn:log V 79 Revert previous commit: build hwpmc(4) on all architectures. Ok'd by: jkoshy@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-20T22:19:51.000000Z K 7 svn:log V 71 Revert previous commit: The hwpmc(4) driver compiles on all platforms. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-20T23:34:37.000000Z K 7 svn:log V 438 MFC: 1.22 Some changes to intr_execute_handlers(): - Fix NULL pointer dereferences caused when an ithread or a handler is NULL which happens when a stray interrupt triggers after the respective device interrupt was torn down. - Remove the critical section around INTR_FAST handlers which actually was a nested critical section. Both tl0_intr() and tl1_intr() already enter a critical section for calling intr_execute_handlers(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-20T23:35:52.000000Z K 7 svn:log V 528 MFC: cpufunc.h 1.19, 1.20; tick.c 1.16 (partial) - Add a workaround for a bug in BlackBird CPUs (said to be part of the SpitFire erratum #54) which can cause writes to the TICK_CMPR register to fail. This seems to fix the dying clocks problem reported by jhb@ and kris@. - In tick_init() just use tick_stop() for stopping the tick interrupts until a proper handler is set up later. This also stops the system tick interrupt on USIII systems earlier. - Some minor changes, e.g. use FBSDID, remove unused headers, etc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-20T23:36:29.000000Z K 7 svn:log V 222 MFC: 1.125 (partial) - In sparc64_init() remove the call to tick_stop(). There's no need to call tick_stop() again after tick_init() as tick interrupts already have been disabled as part of tick_init(). - Use FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-20T23:37:01.000000Z K 7 svn:log V 141 MFC: 1.16 Release the IRQ resource on detach. This fixes repeatedly loading and unloading the hme(4) module in case it attaches to sbus(4). END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2005-04-20T23:51:32.000000Z K 7 svn:log V 328 Add in Promise and Intel SATA support based on FreeBSD 5.X ATAng. This gets the HW to work but not to deal with SATA errors. So if the drive has a read error it will probably lock up. This is a small subset of my patches that do deal with these errors and other issues in FreeBSD and ata-raid. Sponsored by: IronPort Systems END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-04-21T05:50:25.000000Z K 7 svn:log V 38 Add event aliases for P6 and K8 PMCs. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-21T06:13:48.000000Z K 7 svn:log V 364 Add the tunable "debug.acpi.max_threads" to allow users to set the number of task threads to start on boot. Go back to a default of 3 threads to work around lost battery state problems. Users that need a setting of 1 can set this via the tunable. I am investigating the underlying issues and this tunable can be removed once they are solved. MFC after: 2 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2005-04-21T09:15:19.000000Z K 7 svn:log V 73 Comments correction Submitted by: Yury Tarasievich END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-21T11:13:39.000000Z K 7 svn:log V 238 Rehash the timeout code to make it more simple. This also removes the warning timeout on the taskqueues stalling as I'm tired of getting ATA error reports for problems in other parts ;) Misc cosmetic and comment cleanups now we are here. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-04-21T12:37:12.000000Z K 7 svn:log V 361 Ignore ICMP Source Quench messages for TCP sessions. Source Quench is ineffective, depreciated and can be abused to degrade the performance of active TCP sessions if spoofed. Replace a bogus call to tcp_quench() in tcp_output() with the direct equivalent tcpcb variable assignment. Security: draft-gont-tcpm-icmp-attacks-03.txt Section 7.1 MFC after: 3 days END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-04-21T12:47:08.000000Z K 7 svn:log V 189 Do not try to store 64 bits into 32 bit errno variable. With the changed libc data layout, this was corrupting _PathLocale variable leading to programs dumping core in non-default locales. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-04-21T13:21:48.000000Z K 7 svn:log V 59 plugged memory leak Obtained from: KAME MFC after: 2 days END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-04-21T13:27:13.000000Z K 7 svn:log V 80 FAITH's base spec has already been an RFC Obtained from: KAME MFC after: 1 day END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-04-21T13:27:38.000000Z K 7 svn:log V 408 Enable extended RFDs and TCBs, and thus checksum offloading, for latest 82550 and 82551 chipsets (revision IDs 0x0e, 0x0f and 0x10). We were only enabling it for revisions 0x0c and 0x0d, now it's enabled for any 8255x NIC with a revision ID bigger than 0x0c. It should be safe, and this is what Intel does in their open source driver. MFC after: 2 weeks Tested by: Pavel Lobach lobach_pavel at mail dot ru END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-04-21T14:29:34.000000Z K 7 svn:log V 888 Move Path MTU discovery ICMP processing from icmp_input() to tcp_ctlinput() and subject it to active tcpcb and sequence number checking. Previously any ICMP unreachable/needfrag message would cause an update to the TCP hostcache. Now only ICMP PMTU messages belonging to an active TCP session with the correct src/dst/port and sequence number will update the hostcache and complete the path MTU discovery process. Note that we don't entirely implement the recommended counter measures of Section 7.2 of the paper. However we close down the possible degradation vector from trivially easy to really complex and resource intensive. In addition we have limited the smallest acceptable MTU with net.inet.tcp.minmss sysctl for some time already, further reducing the effect of any degradation due to an attack. Security: draft-gont-tcpm-icmp-attacks-03.txt Section 7.2 MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-21T14:58:26.000000Z K 7 svn:log V 58 Add the short but important word 'software' to the title. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-21T15:42:28.000000Z K 7 svn:log V 79 MFC: rev 1.14: remove type 0x4 (FAT12 <32MB) to make room for type 0x7 (NTFS). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-21T15:51:44.000000Z K 7 svn:log V 45 MFC: rev 1.30: default boot0 to packet mode. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-21T17:51:26.000000Z K 7 svn:log V 105 MFC: Fix parsing of nomatch events. Also, sync usage to man page. This should be merged to RELENG_5_4. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-21T17:54:11.000000Z K 7 svn:log V 133 MFC 1.158: enable mii/phy on Xircom cards before probing for the mii/phy rather than after. This should be merge to RELENG_5_4 too. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-21T18:13:16.000000Z K 7 svn:log V 95 o Merge SA-05:04.ifconf. Approved by: so (cperciva) Thanks for testing to: Valentin Nechayev END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-04-21T19:28:22.000000Z K 7 svn:log V 78 Fix printf() format string errors with 64-bit architectures. Spotted by: pav END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-04-21T19:34:57.000000Z K 7 svn:log V 142 Add a microcode to implement receive bundling for 82551 chipsets with a revision ID of 0x0f (D102 E-step). MFC after: 2 weeks Tested by: pav END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T20:09:09.000000Z K 7 svn:log V 444 Fix for 2 bugs related to TCP Signatures : - If the peer sends the Signature option in the SYN, use of Timestamps and Window Scaling were disabled (even if the peer supports them). - The sender must not disable signatures if the option is absent in the received SYN. (See comment in syncache_add()). Found, Submitted by: Noritoshi Demizu . Reviewed by: Mohan Srinivasan . END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T20:11:01.000000Z K 7 svn:log V 284 - Make the sack scoreboard logic use the TAILQ macros. This improves code readability and facilitates some anticipated optimizations in tcp_sack_option(). - Remove tcp_print_holes() and TCP_SACK_DEBUG. Submitted by: Raja Mukerji. Reviewed by: Mohan Srinivasan, Noritoshi Demizu. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T20:24:43.000000Z K 7 svn:log V 41 Undo rev 1.71 as it is the wrong change. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T20:26:07.000000Z K 7 svn:log V 408 Fix for interaction problems between TCP SACK and TCP Signature. If TCP Signatures are enabled, the maximum allowed sack blocks aren't going to fit. The fix is to compute how many sack blocks fit and tack these on last. Also on SYNs, defer padding until after the SACK PERMITTED option has been added. Found by: Mohan Srinivasan. Submitted by: Mohan Srinivasan, Noritoshi Demizu. Reviewed by: Raja Mukerji. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T20:29:40.000000Z K 7 svn:log V 76 Remove some code that snuck in by accident. Submitted by: Mohan Srinivasan END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T20:33:05.000000Z K 7 svn:log V 788 MFC: kern_ntptime.c, kern_time.c, sys_generic.c p1003_1b.c, syscallsubr.h: - Implement kern_adjtime(), kern_readv(), kern_sched_rr_get_interval(), kern_settimeofday(), and kern_writev() to allow for further stackgap reduction in the compat ABIs. osf1_misc.c: - Use a custom version of copyinuio() to implement osf1_{read,write}v() via kern_{read,write}v(). linux32_machdep.c: - Use a custom version of copyinuio() to implement readv/writev using kern_readv/writev. - Use kern_sched_rr_get_interval() rather than the stackgap. freebsd32_misc.c: - Use a custom version of copyinuio() to implement readv/writev using kern_readv/writev. - Use kern_settimeofday() and kern_adjtime() rather than stackgapping it. ibcs2_misc.c: - Use kern_settimeofday() to avoid stackgap use. END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-04-21T20:51:51.000000Z K 7 svn:log V 108 MFC: changes that have been applied over the years to the devfs(8) man page. Approved by: trhodes (mentor) END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T21:00:18.000000Z K 7 svn:log V 87 MFC: rev 1.186 Change the prototype of kevent to remove the const from the changelist. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T21:01:47.000000Z K 7 svn:log V 17 regen for kevent END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T21:11:24.000000Z K 7 svn:log V 116 MFC: Use kern_kevent instead of the stackgap for 32bit syscall wrapping and correct the freebsd32_kevent prototype. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T21:12:17.000000Z K 7 svn:log V 58 MFC: regen after changing the freebsd32_kevent prototype. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T21:14:03.000000Z K 7 svn:log V 27 MFC: kern_kevent prototype END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T22:00:10.000000Z K 7 svn:log V 255 MFC: Split out kernel side of {get,set}itimer(2) into two parts: the first that pops data from the userland and pushes results back and the second which does actual processing. Use the latter to eliminate stackgap in the linux wrappers of those syscalls. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-21T22:19:22.000000Z K 7 svn:log V 144 MFC: - Move the function prototypes for kern_setrlimit() and kern_wait() to sys/syscallsubr.h where all the other kern_foo() prototypes live. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-21T23:07:20.000000Z K 7 svn:log V 65 Eliminate an unpredictable branch from bcmp(). Reviewed by: bde END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-22T00:53:20.000000Z K 7 svn:log V 126 - Add two KASSERTs to prevent us from recycling a buf that is still on a bufobj list. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-22T00:57:05.000000Z K 7 svn:log V 330 - Disable code which allows getnewvnode() to fail. Many ffs_vget() callers do not correctly deal with failures. This presently risks deadlock problems if dependency processing is held up by failures to allocate a vnode, however, this is better than the situation with the failures. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-22T03:37:10.000000Z K 7 svn:log V 354 If we get interrupted during a data phase and the DMA engine is still pumping data despite our scsi data counters being at 0, something has gone massively wrong. The consequence of happily ignoring this is more DMA phase errors and a disk full of spammed sectors. Instead, panic on the first occurance to hopefully limit the damage. MFC After: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-22T03:41:09.000000Z K 7 svn:log V 80 MFC: 1.158 Initialize mii/phy before probing same. Approved by: re@ (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-22T03:44:07.000000Z K 7 svn:log V 70 MFC: sync usage and fix nomatch parsing. Approved by: re@ (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-22T05:04:58.000000Z K 7 svn:log V 1189 Sanity the RTC code: o Remove the clock interface. Not only does it conflict with the MI version when device genclock is added to the kernel, it was also not possible to have more than 1 clock device. This of course would have been a problem if we actually had more than 1 clock device. In short: we don't need a clock interface and if we do eventually, we should be using the MI one. o Rewrite inittodr() and resettodr() to take into account that: 1) We use the EFI interface directly. 2) time_t is 64-bit and we do need to make sure we can determine leap years from year 2100 and on. Add a nice explanation of where leap years come from and why. 3) This rewrite happened in 2005 so any date prior to 1/1/2005 (either M/D/Y or D/M/Y) is bogus. Reprogram the EFI clock with 1/1/2005 in that case. 4) The EFI clock has a high probability of being correct, so only (further) correct the EFI clock when the file system time is larger. That should never happen in a time-synchronised world. Complain when EFI lost 2 days or more. Replace the copyright notice now that I (pretty much) rewrote all of this file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-22T07:43:27.000000Z K 7 svn:log V 87 Create a puc module. Not connected to the build until I can test it on more machines. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-22T07:49:35.000000Z K 7 svn:log V 282 Sort Oxford Semi entires. Add entry for OXCB950, a PCI/CardBus 16C950. Adding it here doesn't unlock any of the cool 16C950 features (like the 128 byte fifo, the different prescalor, etc), but it does seem to get it working for me in light testing. Card Provided by: Ihsan Dogan END