ƒ³F122427 185 410 117 202 137 131 153 760 259 321 603 145 267 162 155 172 434 146 410 344 344 141 141 183 635 163 183 251 167 363 550 210 464 306 177 553 150 371 646 313 296 145 124 310 266 146 142 215 139 187 154 153 347 742 469 200 290 260 259 263 182 277 171 243 579 327 159 203 224 224 207 158 268 389 204 139 842 208 213 230 291 195 123 251 137 250 226 339 1809 175 234 173 1193 199 118 499 169 1056 1792 143 124 163 172 120 164 171 130 131 259 121 162 805 316 159 528 201 146 149 118 113 185 340 476 220 199 149 150 219 138 240 199 390 133 196 127 136 159 348 222 165 198 254 257 128 484 344 1046 123 481 278 227 108 160 1193 352 294 157 355 471 443 308 412 198 163 607 164 128 339 310 305 176 285 329 204 375 190 453 111 118 112 1112 217 125 138 274 277 K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-10T16:04:11.000000Z K 7 svn:log V 317 Don't establish the ISR in the sn_activate routine. I've had two crashes that had sn0 as the irq that's being serviced, when there was no sn0 in the system. This seems to prevent them. Also, we want to wait until after we've registered with the network layer before we turn on the interrupt spigot to avoid races. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-10T16:04:48.000000Z K 7 svn:log V 20 Add a missing 'the' END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-10T16:22:32.000000Z K 7 svn:log V 104 MFC: Document usbd_enable and usbd_flags PR: 57118 Reported by: Chris Pepper END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-10T16:27:53.000000Z K 7 svn:log V 44 MFCs noted: sendmail-8.12.10, tzdata2003d. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-11-10T18:49:57.000000Z K 7 svn:log V 37 MFC: add HP engineering mgr anecdote END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-11-10T18:52:57.000000Z K 7 svn:log V 56 Remove a comment stating that -pthread isn't supported. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-10T19:06:09.000000Z K 7 svn:log V 667 Fixed loss of setting of the RB_BOOTINFO flag in rev.1.43. Fixed wrong comment about this flag in rev.1.61. It is not historical like the comment said; it is the flag that says that most of what is laboriously put in the bootinfo struct is actually there. Newer kernels were bootable by even the broken boot2 without losing anything except the symbol table, but older kernels need at least the memory sizes. Restoring the "|" with RB_BOOTINFO that was lost in rev.1.43 costs 5 bytes. The fix can be done in only 4 bytes by fixing some code that was removed in rev.1.61 (put RB_BOOTINFO back in in the initial value of "opts" and fix RBX_MASK to not clobber it.) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-10T19:52:58.000000Z K 7 svn:log V 166 Bump APIC ID limits up to 32 since a machine with 16 CPUs will have APIC IDs for the I/O APICs that are greater than 16. Reported by: John Cagle END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-11-10T20:25:40.000000Z K 7 svn:log V 228 Add a manual page for the USB Audio support in FreeBSD, interfaced via the PCM framework. This manual page was obtained from NetBSD, and the required changes were made to adapt it to our uaudio driver. Pre-cursor review: joe@ END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-10T20:39:44.000000Z K 7 svn:log V 507 Fix a bug where the taskqueue kproc was being parented by init because RFNOWAIT was being passed to kproc_create. The result was that shutdown took quite a bit longer because this errant "child" would not respond to termination signals from init at system shutdown. RFNOWAIT dissassociates itself from the caller by attaching to init as a parent proc. We could have had the taskqueue proc listen for SIGKILL, but being able to SIGKILL a potentially critical system process doesn't seem like a good idea. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-11-10T20:42:04.000000Z K 7 svn:log V 53 Mark TCP syncache timer as not Giant-free ready yet. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-10T21:24:34.000000Z K 7 svn:log V 174 MFamd64 (via P4, not in CVS yet): - Use the static boot_address variable directly rather than passing it around to several functions. - Clean up a couple of magic numbers. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-11-10T21:26:52.000000Z K 7 svn:log V 70 Add MLINK net(4), which points to netintro(4). Requested by: dwhite@ END K 10 svn:author V 5 brian K 8 svn:date V 27 2003-11-10T21:56:02.000000Z K 7 svn:log V 61 Ignore case when comparing CHAP/CHAP81 responses PR: 31771 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-10T21:56:47.000000Z K 7 svn:log V 76 Score one 'duh' point for me and replace all instances of scott@ with rsm@. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2003-11-10T22:01:42.000000Z K 7 svn:log V 337 Prevent abnormal termination of a child daemon process when created by a parent that is a session leader (e.g., login shell) by ignoring SIGHUP in before calling fork(2) and then restoring SIGHUP's action after setsid(3). Based on the patch by Martin Kammerhofer . PR: bin/25462 Reviewed by: bde, alex.neyman@auriga.ru END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2003-11-10T22:04:51.000000Z K 7 svn:log V 50 Remove ',' accidentally added after ".Xr fork 2". END K 10 svn:author V 8 truckman K 8 svn:date V 27 2003-11-10T22:21:00.000000Z K 7 svn:log V 312 If fifo_open() is interrupted, fifo_close() may not get called, causing a resource leak. Move the resource deallocation code from fifo_close() to a new function, fifo_cleanup(), and call fifo_cleanup() from fifo_close() and the appropriate places in fifo_open(). Tested by: Lukas Ertl Pointy hat to: truckman END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-11-10T22:45:09.000000Z K 7 svn:log V 251 Manual page for Asynchronous Logging Queues (ALQ) facility. The manual page contains enough information to get someone started with ALQ. MLINKS have been added appropriately. Approved by: jeff, des Reviewed by: des, jeff, sam, brooks, rwatson, mtm END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-11-10T22:45:37.000000Z K 7 svn:log V 247 In in_pcbconnect_setup(), don't use the cached inp->inp_route unless it is marked as RTF_UP. This appears to fix a crash that was sometimes triggered when dhclient(8) tried to send a packet after an interface had been detatched. Reviewed by: sam END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-11-10T23:02:32.000000Z K 7 svn:log V 47 reformat HP eng. mgr quote Requested by: nate END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-11-10T23:08:39.000000Z K 7 svn:log V 47 reformat HP eng. mgr quote Requested by: nate END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-10T23:29:33.000000Z K 7 svn:log V 91 use Giant-less callouts when debug_mpsafenet is non-zero Supported by: FreeBSD Foundation END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-11T00:32:46.000000Z K 7 svn:log V 539 Stop using shared locks for nfs vop locks. The reason this was done was to avoid a race to the root when an NFS server went down. However a semi-recent change to the way that the kernel's lookup() routine traverses mount points prevents this. Rev 1.39 of vfs_lookup.c changed the ordering of locks such that we aquire a shared lock on the mount point being accessed and then drop the directory vnode lock before requesting the target lock. With that in place we no longer need shared locks for NFS to prevent race to the root lockups. END K 10 svn:author V 4 emax K 8 svn:date V 27 2003-11-11T02:43:10.000000Z K 7 svn:log V 70 Fix few typos Reviewed by: imp, julian, ru Approved by: imp (mentor) END K 10 svn:author V 4 emax K 8 svn:date V 27 2003-11-11T03:27:08.000000Z K 7 svn:log V 90 Fix SYNOPSIS section in Bluetooth man pages Reviewed by: imp, julian, ru Approved by: ru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-11T03:30:29.000000Z K 7 svn:log V 154 Use the new "default_labels" syntax in the default mac.conf file. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-11T03:40:04.000000Z K 7 svn:log V 71 Whitespace sync to MAC branch, expand comment at the head of the file. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-11T04:45:37.000000Z K 7 svn:log V 270 - Revision 1.469 of vfs_subr.c resulted in the buf's b_object field being consistency initialized. Consequently, a number of conditionals that checked the validity of b_object before passing it to VM_OBJECT_LOCK() and VM_OBJECT_UNLOCK() are no longer needed. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-11-11T04:52:39.000000Z K 7 svn:log V 452 MFC: People are blindly coping this example refuse file. Doing so breaks buildworld as src/etc/sendmail/freebsd.mc is missing. That example was added 3 years ago, before the /etc/mail/ infrastructure was in place for customized configurations. It is time to remove this example. Revision Changes Path 1.11 +0 -1 src/share/examples/cvsup/refuse 1.10 +4 -6 src/share/examples/cvsup/refuse.README END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2003-11-11T04:54:11.000000Z K 7 svn:log V 114 Have utrace(2) return ENOMEM if malloc() fails. Document this error return in its manual page. Reviewed by: jhb END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2003-11-11T04:59:23.000000Z K 7 svn:log V 366 Improve the performance of radixsort() when sorting strings with common prefixes by noting when all the strings land in just one bin. Testing shows significant speedups (on the order of 30%) on strings with common prefixes and no slowdowns on any of my test cases. Submitted by: Markus Bjartveit Kruger PR: 58860 Approved by: gordon (mentor) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2003-11-11T04:59:25.000000Z K 7 svn:log V 210 Add a section documenting the sysctl(8) tunables that influence the operation of ktrace(2). Add a cross-reference to sysctl(8). Make the language of rev 1.22 more consistent with the rest of the manual page. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-11T05:03:00.000000Z K 7 svn:log V 84 New errata: xterm termcap(5) entry breaks hack(6). ata(4) tagged queueing broken. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-11-11T05:38:28.000000Z K 7 svn:log V 457 Fix sound LOR problems: dsp_open: rearrange to only hold one lock at a time dsp_close: ditto mixer_hwvol_init: delete locking, the only consumer seems to be the ess driver and it only call it a creation time, I think the device will be stable across the sleepable malloc. cmi interrupt routine: Release locks while caller chn_intr, either this or do what emu10k1 does which is have no locks at in the interrupt handler. Submitted by: mat@cnd.mcgill.ca END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T06:08:10.000000Z K 7 svn:log V 57 Rearrange slightly so that DELAY(9) works during cninit. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-11T06:27:34.000000Z K 7 svn:log V 278 Include the definition of RB_BOOTINFO. The previous commit broke the world because it depended on namespace pollution that was only in my version of . The include was removed in rev.1.63 after the last reference to it went away in rev.1.61. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T06:41:54.000000Z K 7 svn:log V 552 Fix a bug in the data access error recorvery. Before re-enabling the data cache after a data access error we must discard all cache lines. When disabled existing cache lines are not invalidated by stores to memory, so we risk reading stale data that was cached before the data access error if we don't flush them. This is especially fatal when the memory involved is the active part of the kernel or user stack. For good measure we also flush the instruction cache. This fixes random crashes when the X server probes the PCI bus through /dev/pci. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T06:47:00.000000Z K 7 svn:log V 219 Assume that unit 0 is the graphics console initialized by syscons, instead of testing if the device's firmware node is stdout. This allows syscons to be used when the firmware's input and output is the serial console. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T06:52:04.000000Z K 7 svn:log V 202 Allow uart to attach to keyboards that are not the firmware's notion of stdin, such as when using a serial console. We must recognize these devices here so that we can override the tty attach routine. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-11T07:25:05.000000Z K 7 svn:log V 53 Fix a typo that caused mbrtowc() to always return 0. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-11-11T07:26:33.000000Z K 7 svn:log V 32 MFC src/sys/sys/unistd.h,v 1.29 END K 10 svn:author V 3 das K 8 svn:date V 27 2003-11-11T07:26:44.000000Z K 7 svn:log V 217 MFC src/sys/kern/kern_fork.c,v 1.126 This closes a local DOS whereby a user can put a process in an uninterruptible sleep by calling rfork(RFNOWAIT|RFPPWAIT|RFPROC). Reported by: Igor Serikov END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T07:33:24.000000Z K 7 svn:log V 172 Add a uart attachment/syscons keyboard driver for sun keyboards. In theory this will work with any uart backend, currently supported hardware uses either ns8250 or z8530. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T07:34:08.000000Z K 7 svn:log V 53 Fix a typo. Allow for the creator not being stdout. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T07:40:45.000000Z K 7 svn:log V 49 Remove references to atkbd, atkbdc, psm and vga. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T07:48:02.000000Z K 7 svn:log V 121 Add entries for creator, splash, uart and puc, commented out until they're made the default. These are needed to run X. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T07:49:13.000000Z K 7 svn:log V 46 Remove reference to sio (superseded by uart). END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-11T07:49:45.000000Z K 7 svn:log V 95 Update the dump code to flush buffers at the end of the dump to avoid loosing evt cached data. END K 10 svn:author V 4 roam K 8 svn:date V 27 2003-11-11T08:27:51.000000Z K 7 svn:log V 61 MFC the typo fix from rev. 1.61: 'in cloud' -> 'in a cloud'. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-11-11T08:40:43.000000Z K 7 svn:log V 58 Note support for the Adaptec 2410SA in the aac.4 manpage. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2003-11-11T09:09:26.000000Z K 7 svn:log V 251 Bound the number of iterations a thread can perform inside ktr_resize_pool(); this eliminates a potential livelock. Return ENOSPC only if we encountered an out-of-memory condition when trying to increase the pool size. Reviewed by: jhb, bde (style) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-11T09:25:19.000000Z K 7 svn:log V 646 Fix a nasty bug that got exposed when the sendsig() and sigreturn() functions switched to using {g|s}et_mcontext(). The problem is that sigreturn(), being a syscall, can be given an async. context (i.e. one corresponding to an interrupt or trap). When this happens, we try to return to user mode via epc_syscall_return with a trapframe that can only be used to return to user mode via exception_restore. To fix this, we check the frame's flags immediately prior to epc_syscall_return and branch to exception_restore for non-syscall frames. Modify the assertion in set_mcontext() to check that if there's a mismatch, it's because of sigreturn(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-11T09:53:37.000000Z K 7 svn:log V 373 Save and restore the high FP registers in {g|s}_mcontext(). Note that we currently do not keep track of whether the thread has actually used the high FP registers before. If not, we should not save them in the context which automaticly means that we also would not restore them from the context. For now, do it unconditionally so that we can reach functional completeness. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-11-11T12:30:37.000000Z K 7 svn:log V 108 Use a single style of multiple inclusion protection for Netgraph headers. Reviewed by: archie, harti, emax END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-11T13:34:53.000000Z K 7 svn:log V 195 Sort the device lists alphabetically to make it simpler to add new devices to the lists in the appropriate places. This also makes it easier to find devices in the lists. OK'ed by: ceri, silby END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-11-11T13:44:59.000000Z K 7 svn:log V 166 MFC: rev. 1.88 Add kern.ipc.shm_allow_removed (integer, rw) sysctl (default 0) which when set to 1 allows to return removed segments in shm_find_segment_by_shmid(). END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-11T14:55:36.000000Z K 7 svn:log V 166 Centralise mode setting. Instead of doing it in all subdrivers, do it in ata-all.c where it belongs. Prime controller HW by always setting PIO mode first in attach. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T15:47:44.000000Z K 7 svn:log V 170 Axe rotted comment about MP Tables and PCI cards with built in bridges. Now that we properly route PCI interrupts for the apic case, these cards are no longer a problem. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T15:49:37.000000Z K 7 svn:log V 90 Use the same style of paragraph indention that the rest of NOTES uses in the SMP section. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T15:52:31.000000Z K 7 svn:log V 184 - Remove empty rogue SMP hardware section. - Add some additional comments about 'device apic' to note that it can be used in both UP and SMP kernels but is required for SMP kernels. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-11-11T16:12:05.000000Z K 7 svn:log V 80 MFS: Change interface name from "nge" to "ngeth" to avoid conflict with nge(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-11T16:41:27.000000Z K 7 svn:log V 145 Add information about the EVFILT_NETDEV filter PR: docs/56872 (based on) Submitted by: Suleiman Souhlal Reviewed by: hmp, jmg END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T17:14:26.000000Z K 7 svn:log V 486 Disable probing of HTT CPUs by default for the MP Table case. HTT CPUs should only be used if they are enabled in the BIOS. Now that we support enumerating CPUs using the ACPI MADT, any HTT machine using ACPI should respect the BIOS setting. For HTT machines with ACPI disabled in the kernel, the MPTABLE_FORCE_HTT kernel option can be used to try to probe HTT CPUs like have done in the past for the MP Table case. This option should only be enabled if HTT is enabled in the BIOS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T17:16:15.000000Z K 7 svn:log V 234 Enable HTT CPUs by default instead of halting them by default. Users should now only have HTT CPUs if they have explicitly asked for them either by enabling HyperThreading in the BIOS or by using the MPTABLE_FORCE_HTT kernel option. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-11-11T17:18:18.000000Z K 7 svn:log V 65 MFC rev 1.143; don't allow a listen on already connected sockets END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-11T17:25:45.000000Z K 7 svn:log V 110 ipsec_esp_auth is unused when IPSEC_ESP is not defined. Reported by: Andre Oppermann END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-11-11T17:28:15.000000Z K 7 svn:log V 129 MFC rev 1.127; fix a condition where dc_encap would allocate a new mbuf, causing bpf_mtap to be fed the stale, now-freed m_head. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-11-11T17:32:26.000000Z K 7 svn:log V 129 MFC rev 1.85; fix a condition where sis_encap would allocate a new mbuf, causing bpf_mtap to be fed the stale, now-freed m_head. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-11T17:54:47.000000Z K 7 svn:log V 114 o add missing inpcb locking in tcp_respond o replace spl's with lock assertions Supported by: FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-11T17:57:03.000000Z K 7 svn:log V 66 o add locking o mark isr MPSAFE Supported by: FreeBSD Foundation END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-11-11T17:58:36.000000Z K 7 svn:log V 173 Remove the m_defrag call from if_loop; testing with m_fragment has shown that the IPv6 stack can clearly handle fragmented mbuf chains without a problem. MFC after: 1 week END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-11T18:01:44.000000Z K 7 svn:log V 295 Set RB_SERIAL in boothowto if the firmware output-device is ttya or ttyb. This ensures that uart gets a higher console priority than syscons when a serial console is being used. Testing against the "console" environment variable doesn't make sense since we only have one loader console driver. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T18:12:12.000000Z K 7 svn:log V 111 Add an acpi_OverrideInterruptLevel() method that OSPM can use to override the InterruptLevel used for the SCI. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-11T18:16:54.000000Z K 7 svn:log V 47 correct typos Pointed out by: Mike Silbersack END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T18:20:10.000000Z K 7 svn:log V 749 Some motherboards like to remap the SCI (normally IRQ 9) up to a PCI interrupt such as IRQ 22 or 19. However, the ACPI BIOS still routes interrupts from some PCI devices to the same intpin calling the pin IRQ 22. Thus, ACPI expects to address a single interrupt source via two different names. To work around this, if the SCI is remapped to a non-ISA interrupt (i.e., greater than 15), then we use acpi_OverrideInterruptLevel() function to tell ACPI to use IRQ 22 or 19 rather than IRQ 9 for the SCI. Previously we would change IRQ 22 or 19's name to IRQ 9 when we encountered such an Interrupt Source Override entry in the MADT which routed the SCI properly but left PCI devices mapped to IRQ 22 or 19 w/o a routable interrupt. Tested by: sos END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-11-11T18:21:20.000000Z K 7 svn:log V 110 - Add a note about how jail(2) effects the securelevel. Reviewed by: rwatson Approved by: blackend (mentor) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-11-11T18:31:36.000000Z K 7 svn:log V 115 - Markup fix-ups (add .Dq, and some hard line breaks at the end of sentences). Approved by: blackend (mentor) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-11-11T18:34:29.000000Z K 7 svn:log V 132 - Add a note that there are two MIB variables that have per-jail settings. Reviewed by: rwatson Approved by: blackend (mentor) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-11-11T18:37:50.000000Z K 7 svn:log V 193 - Add some information about how init, securelevel, and jails interact with each other. - Minor markup fix (.Dq -> .Va for a variable) Reviewed by: rwatson Approved by: blackend (mentor) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-11T18:47:01.000000Z K 7 svn:log V 99 Add a manual page for the ips(4) driver. Requested by: obrien Reviewed by: scottl (older version) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-11T18:48:02.000000Z K 7 svn:log V 27 Attach ips.4 to the build. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-11T18:58:54.000000Z K 7 svn:log V 158 cleanup rijndael API. since there are naming conflicts with opencrypto, #define was added to rename functions intend to avoid conflicts. Obtained from: KAME END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-11T19:20:13.000000Z K 7 svn:log V 41 Help bmah out and add the ips(4) entity. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T21:19:43.000000Z K 7 svn:log V 157 Don't probe busses in the MP Table for the MP Table PCI bridge drivers if the bus number doesn't correspond to a PCI bus in the MP Table. Reported by: jhay END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-11T21:23:54.000000Z K 7 svn:log V 129 Following the repo-copy from src/sys/modules/mac_none/Makefile, I neglected to update the filenames/etc in mac_stub. Do so now. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-11-11T21:49:18.000000Z K 7 svn:log V 243 - Disable AGP on ALI chipsets if aperture size is 0. - Fail in agp_alloc_gatt if the aperture size is 0 instead of panicing in contigmalloc. Reported by: Bjoern Fischer Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T22:07:29.000000Z K 7 svn:log V 1715 Add an implementation of turnstiles and change the sleep mutex code to use turnstiles to implement blocking isntead of implementing a thread queue directly. These turnstiles are somewhat similar to those used in Solaris 7 as described in Solaris Internals but are also different. Turnstiles do not come out of a fixed-sized pool. Rather, each thread is assigned a turnstile when it is created that it frees when it is destroyed. When a thread blocks on a lock, it donates its turnstile to that lock to serve as queue of blocked threads. The queue associated with a given lock is found by a lookup in a simple hash table. The turnstile itself is protected by a lock associated with its entry in the hash table. This means that sched_lock is no longer needed to contest on a mutex. Instead, sched_lock is only used when manipulating run queues or thread priorities. Turnstiles also implement priority propagation inherently. Currently turnstiles only support mutexes. Eventually, however, turnstiles may grow two queue's to support a non-sleepable reader/writer lock implementation. For more details, see the comments in sys/turnstile.h and kern/subr_turnstile.c. The two primary advantages from the turnstile code include: 1) the size of struct mutex shrinks by four pointers as it no longer stores the thread queue linkages directly, and 2) less contention on sched_lock in SMP systems including the ability for multiple CPUs to contend on different locks simultaneously (not that this last detail is necessarily that much of a big win). Note that 1) means that this commit is a kernel ABI breaker, so don't mix old modules with a new kernel and vice versa. Tested on: i386 SMP, sparc64 SMP, alpha SMP END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2003-11-11T22:15:17.000000Z K 7 svn:log V 78 Add ID for ALC658 CODEC. Tested on: GIGABYTE GA-8S655FX-L Reviewed by: orion END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-11T23:08:26.000000Z K 7 svn:log V 141 Oh dear, forgot this file in the turnstile commit. This header defines the turnstile API and includes several comments. Reminded by: peter END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-11-12T00:19:50.000000Z K 7 svn:log V 81 MFC: (rev 1.16) Sony Clie_40 devices don't need the PALM_4 initialisation hack. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-12T01:26:02.000000Z K 7 svn:log V 1096 Further work-out the handling of the high FP registers. The most important change is in cpu_switch() where we disable the high FP registers for the thread that we switch-out if the CPU currently has its high FP registers. This avoids that the high FP registers remain enabled for the thread even when the CPU has unloaded them or the thread migrated to another processor. Likewise, when we switch-in a thread of that has its high FP registers on the CPU, we enable them. This avoids an otherwise harmless, but unnecessary trap to have them enabled. The code that handles the disabled high FP trap (in trap()) has been turned into a critical section for the most part to avoid being preempted. If there's a race, we bail out and have the processor trap again if necessary. Avoid using the generic ia64_highfp_save() function when the context is predictable. The function adds unnecessary overhead. Don't use ia64_highfp_load() for the same reason. The function is now unused and can be removed. These changes make the lazy context switching of the high FP registers in an UP kernel functional. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-11-12T01:40:11.000000Z K 7 svn:log V 106 Remove a gremlin so that this code compiles under -stable without a "syntax error before `struct'" error. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-12T01:49:49.000000Z K 7 svn:log V 24 Cosmetic sync with i386 END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-11-12T02:26:47.000000Z K 7 svn:log V 406 Mdoc Janitor: * Add missing `utility' word to sentence describing ips(4) card configuration. * Remove extraneous use of .Pp, and describe the tunable hw.ips.0.disable in a better way. * Replace wrongly used .Op mdoc macros with the .Bq macro. The .Op macro should only be used when describing a ``usage'' line of a utility/command. * Add .Er, for marking errno defines (ENOMEM etc etc) END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-11-12T02:35:20.000000Z K 7 svn:log V 77 Mdoc Janitor: * cleanup hard sentence breaks. * sprinle some .Dq macros. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-12T02:54:47.000000Z K 7 svn:log V 963 1. Consolidate mount struct allocation/destruction into a common code in vfs_mount_alloc/vfs_mount_destroy functions and take care to completely destroy the mount point along with its locks. Mount struct has grown in coplexity recently and depending on each failure path to destroy it completely isn't working anymore. 2. Eliminate largely identical vfs_mount and vfs_unmount question by moving the code to handle both cases into a newly introduced vfs_domount function. 3. Simplify nfs_mount_diskless to always expect an allocated mount struct and never attempt an allocation/destruction itself. The vfs_allocroot allocation was there to support 'magic' swap space configuration for diskless clients that was already removed by PHK some time ago. 4. Include a vfs_buildopts cleanups by Peter Edwards to validate the sanity of nmount parameters passed from userland. Submitted by: (4) Peter Edwards Reviewed by: rwatson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-12T03:14:31.000000Z K 7 svn:log V 1694 Modify the MAC Framework so that instead of embedding a (struct label) in various kernel objects to represent security data, we embed a (struct label *) pointer, which now references labels allocated using a UMA zone (mac_label.c). This allows the size and shape of struct label to be varied without changing the size and shape of these kernel objects, which become part of the frozen ABI with 5-STABLE. This opens the door for boot-time selection of the number of label slots, and hence changes to the bound on the number of simultaneous labeled policies at boot-time instead of compile-time. This also makes it easier to embed label references in new objects as required for locking/caching with fine-grained network stack locking, such as inpcb structures. This change also moves us further in the direction of hiding the structure of kernel objects from MAC policy modules, not to mention dramatically reducing the number of '&' symbols appearing in both the MAC Framework and MAC policy modules, and improving readability. While this results in minimal performance change with MAC enabled, it will observably shrink the size of a number of critical kernel data structures for the !MAC case, and should have a small (but measurable) performance benefit (i.e., struct vnode, struct socket) do to memory conservation and reduced cost of zeroing memory. NOTE: Users of MAC must recompile their kernel and all MAC modules as a result of this change. Because this is an API change, third party MAC modules will also need to be updated to make less use of the '&' symbol. Suggestions from: bmilekic Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-12T03:24:34.000000Z K 7 svn:log V 48 Remove ia64_highfp_load() now that it's unused. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-12T03:29:57.000000Z K 7 svn:log V 27 Oops, fix typo in my name. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-12T03:33:43.000000Z K 7 svn:log V 67 GC prototype for mac_destroy_vnode_label(), missed in last commit. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-12T03:45:10.000000Z K 7 svn:log V 75 - Reserve a ocb for management ORB. - Requeue XPT_SCSI_IO if ocb is short. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-12T04:06:21.000000Z K 7 svn:log V 23 Improve debug message. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-11-12T04:06:22.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-12T04:22:37.000000Z K 7 svn:log V 79 avoid module name conflict with opencrypto/rijndael.c. Reported by: tinderbox END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-11-12T04:26:26.000000Z K 7 svn:log V 36 MFC: 1.60 Reset device twice. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-11-12T04:51:24.000000Z K 7 svn:log V 37 MFC: Support A4 Tech RFSW-35 mouse. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-12T05:21:06.000000Z K 7 svn:log V 166 Fix a harmless typo (use of res instead of rle: if rle is NULL, we'd still get a panic, just not a nice message) and update to new __FBSDID. Submitted by: charnier@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-12T05:44:44.000000Z K 7 svn:log V 29 Minor diff reduction with p4 END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-12T07:50:36.000000Z K 7 svn:log V 70 Belatedly include RELENG_4_9 in the build, and rotate RELENG_4_7 out. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-11-12T08:01:40.000000Z K 7 svn:log V 707 Update the statfs structure with 64-bit fields to allow accurate reporting of multi-terabyte filesystem sizes. You should build and boot a new kernel BEFORE doing a `make world' as the new kernel will know about binaries using the old statfs structure, but an old kernel will not know about the new system calls that support the new statfs structure. Running an old kernel after a `make world' will cause programs such as `df' that do a statfs system call to fail with a bad system call. Reviewed by: Bruce Evans Reviewed by: Tim Robbins Reviewed by: Julian Elischer Reviewed by: the hoards of Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-12T08:06:35.000000Z K 7 svn:log V 218 Document the 'fetch-recursive-list' and 'deinstall-all' targets. No MFC reminder, I'll sync this page with the one in -stable in a couple of days. PR: docs/46181 Patch submitted by: Sergey Matveychuk END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2003-11-12T08:08:16.000000Z K 7 svn:log V 62 Move cd9660 module from 3rd floppy to 2nd to unbreak release. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-11-12T08:09:19.000000Z K 7 svn:log V 430 Update the five files derived from /sys/kern/syscalls.master after the additions made for the new statfs structure (version 1.157). These must be updated in a separate checkin after syscalls.master has been checked in so that they reflect its new CVS identity. As these are purely derived files, it is not clear to me why they are under CVS at all. I presume that it has something to do with having `make world' operate properly. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-12T08:16:16.000000Z K 7 svn:log V 108 Turn the table around: platforms across, branches down. Also fix some bogus tabification in here documents. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-12T08:26:08.000000Z K 7 svn:log V 49 Correct the on-disc path to the porters-handbook END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-12T08:30:51.000000Z K 7 svn:log V 57 Use graded colors to more clearly indicate relative age. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-12T08:32:34.000000Z K 7 svn:log V 26 braino in age computation END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-12T08:33:18.000000Z K 7 svn:log V 18 FBSDID style nit. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-12T08:37:10.000000Z K 7 svn:log V 93 Remove leftovers from old color determination scheme. Tune the speed at which colors change. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-12T08:49:12.000000Z K 7 svn:log V 247 Use __sfvwrite() instead of __sputc() via __fputwc() to write to fake string files (__SSTR flag set). This is necessary because __sputc() does not respect the __SALC flag, and crashes trying to flush the buffer instead of resizing it. PR: 59167 END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-12T09:10:11.000000Z K 7 svn:log V 381 Double length of node names, hook names, command strings and types. Add defines for these constants that include the trailing NUL byte. These new constants have SIZ in their name instead of LEN. As soon as all consumers in the tree are converted to use the new defines the old defines will be put under BURN_BRIDGES. Reviewed by: archie, julian, ru Approved by: re (in principle) END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-12T09:11:18.000000Z K 7 svn:log V 125 Add an entry about the changes in netgraph that require kernel and user land netgraph stuff to be in sync. Reviewed by: imp END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-12T09:46:54.000000Z K 7 svn:log V 106 Make sure to return errors if we have any. Submitted by: Pawel Jakub Dawidek END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-12T09:52:10.000000Z K 7 svn:log V 57 Don't mess about with spare fields in public structures. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-12T09:54:07.000000Z K 7 svn:log V 58 Don't mess around with spare fields of public structures. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-12T10:27:06.000000Z K 7 svn:log V 126 Replace B_PHYS conditional assignment to bio_offset with KASSERT check to see that the originating code already did it right. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2003-11-12T10:53:52.000000Z K 7 svn:log V 45 Better English usage. Submitted by: wollman END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-11-12T12:58:19.000000Z K 7 svn:log V 148 - vlan_start(): Increment the correct interface statistics member. Reviewed by: mdodd - vlan_input(): Macroize the VLAN tag extraction from mbuf. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-12T13:04:44.000000Z K 7 svn:log V 104 Get rid of the old constants which did not include the trailing NUL and use the new constants which do. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-12T13:24:03.000000Z K 7 svn:log V 295 Document that the length of a command string is now 32. Also change all occurences of the old *LEN definitions to the new *SIZ definitions. Correct the example how to compare a nodename. strncmp(name, "fred", NG_NODELEN) may step behind "fred" if the node name is really fred. Reminded by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-11-12T13:27:43.000000Z K 7 svn:log V 42 Properly shutdown the node (don't panic). END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-12T14:13:36.000000Z K 7 svn:log V 101 Sync the list of supported devices in the manual page with the hardware notes and the driver source. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-11-12T14:20:16.000000Z K 7 svn:log V 36 MFC: Shift+PrintScr - prev. screen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T14:55:45.000000Z K 7 svn:log V 44 Fix a typo in a comment. Submitted by: das END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-12T15:07:18.000000Z K 7 svn:log V 67 Fixed some style bugs (insertion sort error and extra blank line). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-12T15:09:39.000000Z K 7 svn:log V 251 Remove extraneous fullpath variable, which broke lint build. This extra argument to the devfs MAC policy entry points was accidentally merged from the MAC branch during my earlier commit to these policies, and is not scheduled to be merged just yet. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T16:23:21.000000Z K 7 svn:log V 129 Add an ACPI_FUNCTION_TRACE() invocation to acpi_OverrideInterruptLevel() to fix compile with ACPI_DEBUG. Reported by: tinderbox END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T16:24:16.000000Z K 7 svn:log V 73 Reindent to non-style(9) compliant 4 space indent to match rest of file. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-12T17:03:40.000000Z K 7 svn:log V 103 Bump the netgraph header version to 6 for the change of the name length definitions. Reminded by: jdp END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-12T17:09:12.000000Z K 7 svn:log V 159 MNAMELEN is back to an int again after Kirk's statfs commit kern/vfs_mount.c:1305: warning: signed size_t format, different type arg (arg 4) *** Error code 1 END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-12T17:09:13.000000Z K 7 svn:log V 162 The snmp_netgraph module depends on libnetgraph. So add a dependency and add libnetgraph to the list of prebuilt libraries in the main Makefile. Reviewed by: ru END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T17:21:57.000000Z K 7 svn:log V 36 Remove extraneous & to fix compile. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-12T17:44:37.000000Z K 7 svn:log V 388 The partition naming on ia64 (e.g. da0p1) cannot be selected based on whether the parent chunk is of type whole. This also applies to MBR slices for non-GPT disks. Since most of the GPT handling is conditionally compiled, do the same with the partition naming. This fixes a braino that caused slices to be named as GPT partitions and generally messing up an install. Pointy hat: marcel END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-11-12T17:47:23.000000Z K 7 svn:log V 247 Add a new configuration variable - nas_ipaddr, which if set allows to set NAS-IP-Address attribute in requests generated by the pam_radius module. This attribute is mandatory for some Radius servers out there. Reviewed by: des MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T18:13:57.000000Z K 7 svn:log V 953 - Move manipulation of td_intr_nesting_level out of assembly interrupt vector stubs and into the C functions they call. - Move disabling and EOIing of interrupt sources out of PIC driver entry points and into intr_execute_handlers(). Intr_execute_handlers() only disables a source for an interrupt if it is a stray interrupt or has threaded handlers. Sources with fast handlers no longer disable (mask) the source while executing the handlers. - Move the setting of clkintr_pending into intr_execute_handlers() and set the variable for any interrupt source with a vector of 0. (Should only be true for IRQ 0.) This fixes clkintr_pending in the NO_MIXED_MODE case. - Implement lapic_eoi() and use it to implement ioapic_eoi_source(). - Rename atpic_sched_ithd() to atpic_handle_intr() since it is used to handle all atpic interrupts and not just threaded ones. Inspired by: peter's changes to amd64 in p4 (1) Requested by: bde (2) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T18:14:34.000000Z K 7 svn:log V 31 Garbage collect unused values. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-12T18:56:59.000000Z K 7 svn:log V 388 - setsockopt/sysctl takes int, not u_long. - be more picky about argument parsing - like ERANGE. - use u_long for args, not to lose accuracy/prevent overflow. - socklen_t audit. - Add -I (use icmp) option. - warn if multiple addresses are present for dest. - no need to pass tz. - type pedant. check -p range. - grab hlim from sysctl. - typo in port number setting. Obtained from: KAME END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-11-12T19:13:02.000000Z K 7 svn:log V 180 Add an entry about the changes in the statfs structure that require kernel and user land applications doing statfs to be in sync. Requested by: Johan Karlsson END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-12T19:38:01.000000Z K 7 svn:log V 132 dropwithreset is not needed in this case as tcp_drop() is already notifying the other side. Before we were sending two RST packets. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T19:46:17.000000Z K 7 svn:log V 16 Fix some typos. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-12T20:08:47.000000Z K 7 svn:log V 68 Add a card carryring member of the Pointless Comparison Collection. END K 10 svn:author V 3 bms K 8 svn:date V 27 2003-11-12T20:17:11.000000Z K 7 svn:log V 1099 Add a new sysctl knob, net.inet.udp.strict_mcast_mship, to the udp_input path. This switch toggles between strict multicast delivery, and traditional multicast delivery. The traditional (default) behaviour is to deliver multicast datagrams to all sockets which are members of that group, regardless of the network interface where the datagrams were received. The strict behaviour is to deliver multicast datagrams received on a particular interface only to sockets whose membership is bound to that interface. Note that as a matter of course, multicast consumers specifying INADDR_ANY for their interface get joined on the interface where the default route happens to be bound. This switch has no effect if the interface which the consumer specifies for IP_ADD_MEMBERSHIP is not UP and RUNNING. The original patch has been cleaned up somewhat from that submitted. It has been tested on a multihomed machine with multiple QuickTime RTP streams running over the local switch, which doesn't do IGMP snooping. PR: kern/58359 Submitted by: William A. Carrel Reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-11-12T20:56:30.000000Z K 7 svn:log V 256 Update from DRI CVS. Includes locking fixes (including PR 59202), changes for Radeon IGP support (still lacking PCI IDs), and DRM interface 1.2 updates which include finally tying the DRM instances to specific devices rather than relying on the X Server. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-12T21:39:12.000000Z K 7 svn:log V 201 reflect ip6_pktopts and ip6_moptions into embeded scope of destination address. it makes `ping6 -I ' work again. since we don't merge scope cleanup yet, we need this for workaround. END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-11-12T21:47:42.000000Z K 7 svn:log V 64 Fix format strings (intmax_t is %jd, not %qd) Reviewed by: tjr END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-12T21:56:07.000000Z K 7 svn:log V 258 Bump the major version on libtuil. libutil now relies on the mac_* symbols exported by newer versions of libc, and so we want applications depending on the newer library code to be required to link against the newer libc. Discussed with: scottl, kris, imp END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-12T22:19:15.000000Z K 7 svn:log V 374 Mark __mac_get_pid() as MPSAFE in the comment, as it runs without Giant and is also MPSAFE. Push Giant further down into __mac_get_fd() and __mac_set_fd(), grabbing it only for constrained regions dealing with VFS, and dropping it entirely for operations related to labeling of pipes. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-11-12T22:28:27.000000Z K 7 svn:log V 345 At the request of several developers, restore the DIAGNOSIC code deleted in 1.81. Increase the initial timeout limit to 2ms to eliminate spurious messages of excessive timeouts in the NFS client code. Requested by: Poul-Henning Kamp Requested by: Mike Silbersack Requested by: Sam Leffler END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-11-12T23:01:15.000000Z K 7 svn:log V 213 Add vendor ID to make Marvell chipset work. E.g. to be found on SMC9452TX it seems Submitted by: Jung-uk Kim Tested by: veedee@c7.campus.utcluj.ro MFC after: 2 weeks END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-11-12T23:08:23.000000Z K 7 svn:log V 318 Attempt to save the last dregs of emacs users' sanity by saving the contents of the PR when an interrupt is received during the editor session. This stops the use of ^G from deleting a filled PR from underneath the user. PR: bin/59201 Submitted by: Heikki Suonsivu MFC After: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-12T23:35:40.000000Z K 7 svn:log V 103 Do not fragment a packet with hardware assistance if it has the DF bit set. Reviewed by: sam (mentor) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-11-12T23:36:17.000000Z K 7 svn:log V 67 Fix on sparc64. Reported by: rwatson/tinderbox MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-12T23:48:42.000000Z K 7 svn:log V 514 - Close a race where a thread on another CPU could release a contested lock and empty its turnstile while the blocking threads still pointed to the turnstile. If the thread on the first CPU blocked on a lock owned by one of the threads blocked on the turnstile just woken up, then the first CPU could try to manipulate a bogus thread queue in the turnstile during priority propagation. - Update locking notes for ts_owner and always clear ts_owner, not just under INVARIANTS. Tested by: sam (1) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-13T00:10:43.000000Z K 7 svn:log V 72 Warn that you won't be able to build a kernel if you do an installworld END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-13T00:30:27.000000Z K 7 svn:log V 36 add in-kernel ttcp performance tool END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-13T00:32:13.000000Z K 7 svn:log V 244 Move global variables for icmp_input() to its stack. With SMP or preemption two CPUs can be in the same function at the same time and clobber each others variables. Remove register declaration from local variables. Reviewed by: sam (mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-13T02:04:34.000000Z K 7 svn:log V 216 - Add the WITNESS_SKIPSPIN option to the GENERIC kernel so that users who enable WITNESS on alphas will not get the expensive spin lock checking by default. This mirrors the default config settings for i386. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-13T02:38:33.000000Z K 7 svn:log V 210 Stop pretending to support kernel profiling. The FAKE_MCOUNT() etc calls are just gradually getting more and more stale. At this point it would be better to start from scratch once prof_machdep.c is adapted. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-13T03:56:32.000000Z K 7 svn:log V 84 Call free(9) after the vnode interlock is released, avoiding a lock-order reversal. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-13T04:14:53.000000Z K 7 svn:log V 192 Save the device so we can do a device_printf. Use this in preference to aha_name. Remove aha_name function and #define it to device_get_unitname() Minor indentation tweaks resulting therefrom END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-13T05:16:56.000000Z K 7 svn:log V 236 o reorder some locking asserts to reflect the order of the locks o correct a read-lock assert in in_pcblookup_local that should be a write-lock assert (since time wait close cleanups may alter state) Supported by: FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-13T05:18:23.000000Z K 7 svn:log V 111 add missing inpcb lock before call to tcp_twclose (which reclaims the inpcb) Supported by: FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-13T05:23:58.000000Z K 7 svn:log V 282 o insure the current channel is in a good state before starting an AP scan o reject scan requests for a device that isn't marked up This fixes a problem where requesting a scan before marking the device up would cause a panic because the current channel was set to "any" (0xffff). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-13T05:26:55.000000Z K 7 svn:log V 98 Don't mmap(2) and munmap(2) zero-length files. Submitted by: Wiktor Niesiobedzki END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-13T05:35:07.000000Z K 7 svn:log V 360 Don't count PHY errors as input errors. This is important for 5212-based devices because PHY errors are used to collect data on environmental noise that and doesn't truly reflect the state of the communications media. The result is confused users. Folks that want to watch PHY errors can still get the statistics through the device ioctl (used by athstats). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-13T06:29:40.000000Z K 7 svn:log V 14 Add tunables. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-11-13T07:41:55.000000Z K 7 svn:log V 21 Respect RB_KDB flag. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-13T08:26:29.000000Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-13T09:04:24.000000Z K 7 svn:log V 1015 Do not ignore any possible errors that fseeko() may have. The fact is that fseeko() fails in very predictable and frequent ways on ia64. This is because the offset is actually an address in the process' address space, which on ia64 can be larger than long (for lseek) or off_t (for fseeko). The crux is the signedness. The register stack and memory stack are in region 4 on ia64. This means that the sign bit is 1. The large positive virtual address is wrongly interpreted as a negative file offset. There's no quick fix. Even if you get around the API by using a SEEK_SET up to LONG_MAX and follow it up with a SEEK_CUR for the remainder, the kernel simply cannot deal with it. and the second seek will just fail. Therefore, this change does not actually fix the root cause. It just makes sure we're not spitting out all kinds of garbage or that the get_struct() function in particular does not cause truss(1) to exit. This, I might add, invariably happened way too soon for truss(1) to be of any use on ia64... END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-13T09:24:21.000000Z K 7 svn:log V 123 - Unlock the clock lock before calling timeout in sysbeep(). This is almost the same code that i386/isa/clock.c uses. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-13T09:58:09.000000Z K 7 svn:log V 33 Initialize b_iooffset correctly. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-13T10:02:12.000000Z K 7 svn:log V 46 Don't disable the TSC with statclock_disable. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-13T10:03:58.000000Z K 7 svn:log V 181 Various minor details: Give the HZ/overflow check a 10% margin. Eliminate bogus newline. If timecounters have equal quality, prefer higher frequency. Some inspiration from: bde END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-11-13T10:18:16.000000Z K 7 svn:log V 182 Add an empty definition of the MIBS variable so that the makefile does not try to use a MIBS definition from the environment. Submitted by: Joe Marcus Clarke END