ƒ³e166695 184 112 174 110 501 467 158 263 349 140 291 379 202 131 845 285 759 806 176 223 143 346 164 120 275 207 268 156 330 587 147 222 145 454 99 175 99 159 202 247 127 120 488 576 165 182 210 493 493 102 349 245 1280 300 200 228 191 348 225 167 130 211 1560 146 149 178 140 185 121 182 121 225 204 399 203 604 201 162 107 251 704 132 178 164 1027 675 155 148 298 303 191 112 709 129 118 140 110 166 198 182 210 196 184 117 205 270 158 136 306 155 143 154 188 216 299 273 187 250 268 219 142 141 175 226 185 167 380 253 176 353 391 757 283 206 334 185 272 171 544 206 245 537 974 295 160 183 224 145 277 262 396 262 181 166 1412 1055 405 555 226 298 179 1913 241 180 289 304 199 350 192 291 292 225 136 204 312 443 436 354 152 153 137 386 718 163 118 K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-14T01:25:41.000000Z K 7 svn:log V 18 style(9) cleanup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-14T04:20:41.000000Z K 7 svn:log V 82 Another crashdump fix: nfiles was renamed to openfiles in 5.x. MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-14T04:41:28.000000Z K 7 svn:log V 16 Add KTR tracing END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-02-14T05:21:22.000000Z K 7 svn:log V 403 Optimize bitcount32 by replacing 6 logical operations with 2. The key observation here is that it doesn't matter what garbage accumulates in bits which we're going to end up masking away anyway, as long as the garbage doesn't overflow into bits which we care about. This improved version may not be the fastest possible on all systems, but it's certainly going to be better than what was here before. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-14T07:05:55.000000Z K 7 svn:log V 374 Avoid the unnecessary acquisition of the free page queues lock when a page is actually being added to the hold queue, not the free queue. At the same time, avoid unnecessary tests to wake up threads waiting for free memory and the idle thread that zeroes free pages. (These tests will be performed later when the page finally moves from the hold queue to the free queue.) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-14T07:38:39.000000Z K 7 svn:log V 61 New sentence -> new line. While here, fix apostrophe abuse. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2007-02-14T08:13:54.000000Z K 7 svn:log V 168 Add some entries to log unknown devices, based on the bus they appear on. Some things appear to be completely missing though, like the USB vendor and product strings. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-02-14T08:16:08.000000Z K 7 svn:log V 251 Correctly handle writes beyond the end of the archive entry (as determined by the initial size given to the header). Libarchive recently changed to correctly return the amount of data actually consumed in this case, which revealed this bug in bsdtar. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-02-14T08:29:35.000000Z K 7 svn:log V 43 MFC: "empty" format support PR: bin/108607 END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2007-02-14T09:10:37.000000Z K 7 svn:log V 196 The return value of aac_alloc_command() was misinterpreted in aac_ioctl_event(). Once triggered this would leak away all available commands and starve the rest of the driver. Reviewed by: scottl END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-02-14T09:29:33.000000Z K 7 svn:log V 286 MFC 1.63: Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode. The code is modelled after cd9660, including support for simple read-ahead courtesy of clustered read. Fix udf_strategy to DTRT. This change fixes sendfile(2) not to send out garbage. END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-02-14T09:37:15.000000Z K 7 svn:log V 109 MFC 1.41: Fix a bug in 1.40 - it missed three occurences in pkg_info which leads to (null)/file output. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-14T10:24:50.000000Z K 7 svn:log V 39 MFC rev. 1.15: fix race with execve(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-14T12:22:11.000000Z K 7 svn:log V 748 Change unp_mtx to supporting recursion, and do not drop the unp_mtx over sonewconn() in unp_connect(). This avoids a race that occurs due to v_socket being an uncounted reference, as the lock was being released in order to call sonewconn(), which otherwise recurses into the UNIX domain socket code via pru_attach, as well as holding the lock over a sleeping memory allocation in uipc_attach(). Switch to a non-sleeping memory allocation during UNIX domain socket attach. This fix non-ideal in that it requires enabling recursion, but is a much smaller change than moving to using true references for v_socket. The reported panic occurs in unp_connect() following the return of sonewconn(). Update copyright year. Panic reported by: jhb END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-14T13:35:11.000000Z K 7 svn:log V 192 MFC rev 1.75: In the ICMP6 path to handle FQDN 'who-are-you' queries, check that the packet header mbuf is non-NULL before trying to create a duplicate of it. PR: 95957 Reviewed by: ume END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-14T13:39:01.000000Z K 7 svn:log V 666 MFC rev 1.98: Import macros IN_LINKLOCAL(), IN_PRIVATE(), IN_LOCAL_GROUP(), IN_ANY_LOCAL(). This is not a functional change. IN_LINKLOCAL() tests if an address falls within the IPv4 link-local prefix. IN_PRIVATE() tests if an address falls within an RFC 1918 private prefix. IN_LOCAL_GROUP() tests if an address falls within the statically assigned link-local multicast scope specified in RFC 2365. IN_ANY_LOCAL() tests for either of IN_LINKLOCAL() or IN_LOCAL_GROUP(). As with the existing macros in the FreeBSD netinet stack, comparisons are performed in host-byte order. See also: RFC 1918, RFC 2365, RFC 3927 Obtained from: NetBSD (dyoung@) END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-14T14:17:01.000000Z K 7 svn:log V 713 Retire most of the classful network behaviour of netstat -r output, for IPv4. Without -n, we now only print a "network name" without the prefix length under the following conditions: 1) the network address and mask matches a classful network prefix; 2) getnetbyaddr(3) returns a network name for this network address. With -n, we unconditionally print the full unabbreviated CIDR network prefix in the form "a.b.c.d/p". 0.0.0.0/0 is still printed as "default". This change is in preparation for changes such as equal-cost multipath, and to more generally assist operational deployment of FreeBSD as a modern IPv4 router. There are currently no plans to backport this change. Discussed on: freebsd-net END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-14T15:05:40.000000Z K 7 svn:log V 80 Minor rearrangement of global variables, comments, etc, in UNIX domain sockets. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-02-14T15:23:44.000000Z K 7 svn:log V 128 Fix compilation for statically linked snd_envy24{ht}/spicds. Use explicit struct mtx rather than void pointer. PR: kern/109147 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-14T17:02:15.000000Z K 7 svn:log V 51 Add missing 'break' that in this case is harmless. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-14T17:04:05.000000Z K 7 svn:log V 253 Add a couple of missing breaks that are harmless, though the first one missing meant that a PCI-PCI bridge that supported MSI but didn't support PCIY_SUBVENDOR (or the MSI capability came after the subvendor cap) would have garbage in its subvendor ID. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-14T18:21:32.000000Z K 7 svn:log V 71 Fix a typo from the previous commit. Pointed out by: brad@openbsd.org END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-14T19:01:33.000000Z K 7 svn:log V 27 Fix two typos in comments. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-14T19:44:15.000000Z K 7 svn:log V 181 Use bge_writereg_ind() to do global reset as we did before 1.159 for certain chipsets. It was causing 'firmware handshake timed out' errors for some chips. Discussed with: scottl END K 10 svn:author V 2 le K 8 svn:date V 27 2007-02-14T19:57:15.000000Z K 7 svn:log V 115 MFC: Add support for Huawei Technologies Mobile card (3G). Submitted by: Thorsten Schroeder END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-02-14T22:30:33.000000Z K 7 svn:log V 170 Correct problems with locking, namei leakage, and symlink creation in the NFS subsystem. Approved by: so (cperciva) Submitted by: re (hrs) Errata: FreeBSD-EN-07:01.nfs END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-14T22:31:21.000000Z K 7 svn:log V 64 Catch up to MSI-X API changes. Tested with both MSI and MSI-X. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-14T22:32:55.000000Z K 7 svn:log V 237 - Fix an off by one error in pci_remap_msix_method() that effectively broke the method as all the MSI-X table indices were off by one in the backend MD code. - Fix a cosmetic nit in the bootverbose printf in pci_alloc_msix_method(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-14T22:36:27.000000Z K 7 svn:log V 494 Adjust the global MSI blacklisting strategy so we don't have to explicitly blacklist a bunch of old chipsets. If a system contains a PCI-PCI bridge that supports PCI-X, assume the chipset supports PCI-X. If a system contains a PCI-express root port, assume the chipset supports PCI-express. If the chipset doesn't support either PCI-X or PCI-express, then blacklist it by default. We should now only need to explicitly blacklist PCI-X or PCI-express chipsets that don't properly handle MSI. END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-02-14T23:12:32.000000Z K 7 svn:log V 53 Re-indent main() in preparation for further changes. END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-02-14T23:20:30.000000Z K 7 svn:log V 127 Only go through our cylinder group and inode info when we need to. This allows ``ffsinfo -o - -l1 /tmp'' to run a lot quicker. END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-02-14T23:22:33.000000Z K 7 svn:log V 51 Default output to stdout as the man page suggests. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-15T00:54:40.000000Z K 7 svn:log V 360 MFP4: 113025, 113146, 113177, 113203, 113500, 113546, 113570 - PROT_READ, PROT_WRITE, or PROT_EXEC implies PROT_READ and PROT_EXEC. Linux/ia64's i386 emulation layer does this and it complies with Linux header files. This fixes mmap05 LTP test case on amd64. - Do not adjust stack size when failure has occurred. - Synchronize i386 mmap/mprotect with amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-15T00:57:04.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-15T01:13:36.000000Z K 7 svn:log V 82 MFP4: 113033 Port iopl(2) from i386. This fixes LTP iopl01 and iopl02 on amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-15T01:15:31.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-15T01:20:43.000000Z K 7 svn:log V 66 Fix accidental removal of an empty line from the previous commit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-15T01:28:22.000000Z K 7 svn:log V 105 Teach DDB how to print sockets, socket buffers, protosw's, and domain structures given pointers to them. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-02-15T02:40:31.000000Z K 7 svn:log V 150 Add a ypclnt.3 manual page referenced by various other YP based manual pages. PR: 108980 Obtained from: OpenBSD (minimal changes for mdoc(7) style) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-02-15T02:43:14.000000Z K 7 svn:log V 31 Hook ypclnt.3 up to the build. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-02-15T02:45:14.000000Z K 7 svn:log V 24 Kill blank line at EOF. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-15T05:43:38.000000Z K 7 svn:log V 395 Relax the page queue lock assertions in vm_page_remove() and vm_page_free_toq() to account for recent changes that allow vm_page_free_toq() to be called on some pages without the page queues lock being held, specifically, pages that are not contained in a vm object and not a member of a page queue. (Examples of such pages include page table pages, pv entry pages, and uma small alloc pages.) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-02-15T06:21:34.000000Z K 7 svn:log V 479 Unbreak non-H/W VLAN extraction case. Unlike other GigEs Yukon II always set VLAN bit when it detects VLAN tagged packet regardless of H/W VLAN processing configuration state. So it need to check IFCAP_VLAN_HWTAGGING bit to know whether driver is configured to take advantage of H/W VLAN processing. If H/W VLAN processing was disabled don't adjust received packet length such that subsequent validation logic works for software VLAN processing. Reported by: bms Tested by: bms END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-02-15T06:42:42.000000Z K 7 svn:log V 73 Don't nag about unset $hostname if DHCP is in use. Pointed out by: ceri END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-02-15T06:46:33.000000Z K 7 svn:log V 90 Don't be paranoid about hostname(1) and order the things logically. Pointed out by: ceri END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-02-15T06:51:31.000000Z K 7 svn:log V 117 pkill(1) and pgrep(1) have been moved to /bin so that they are available to rc.d scripts early in the boot sequence. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-15T07:13:38.000000Z K 7 svn:log V 400 Fix three bugs: o When detaching all children, try really hard to get all the children list before giving up. This is based on an observation by hans petter selasky in his usb p4 branch. o When rescanning devices after a driver is added, abort if we can't get the child list with a message. o when rescanning devices, if the reprobe/attach is successful, save the device for cardbus/pccard. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-15T07:22:27.000000Z K 7 svn:log V 400 It turns out that it is easier to not NULL out pccard and cardbus device pointers. They don't change as the children device drivers come and go. Rather, check to see if the device is attached where we would have checked ! NULL. This solves many asymmetries in the code that likely could lead to crashes when loading/unloading cbb without one or more of the expected children's driver not present. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-15T09:24:58.000000Z K 7 svn:log V 10 Style(9). END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-15T09:53:49.000000Z K 7 svn:log V 256 If both ISDOTDOT and NOCROSSMOUNT are set then lookup() might breaks out of the special handling for ".." and perform an ISDOTDOT VOP_LOOKUP() for a filesystem root vnode. Handle this case inside lookup(). Submitted by: tegge PR: 92785 MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-15T10:11:00.000000Z K 7 svn:log V 148 Rename somaxconn_sysctl() to sysctl_somaxconn() so that I will be able to claim that sofoo() functions all accept a socket as their first argument. END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-02-15T10:33:49.000000Z K 7 svn:log V 1186 MFC (if_bge.c 1.108, etc., less some style bugs: eliminate one PCI read per call to bge_start()). In packet blasting tests using ttcp with tiny udp packets on an A64-3200 with a 64-bit 5701 on a 32-bit 33MHz PCI bus, this gives a speedup from 347 kpps to 623 kpps. sendto() has a lot of software overheads, but even with these the single PCI write per call to bge_start() almost doubled the per-packet time. This is partly because the software overheads are so large that the CPU can't keep up with a Gbps NIC that can actually get anywhere near Gbps speed for tiny packets (347 kppps for tiny packets is only about 21% of wire speed). When the CPU can't keep up, it gets further behind because it ends up calling bge_start() at least once for every packet, so any overheads in bge_start() are not amortized across multiple packets. Thus the PCI read had an especially high overhead. For larger packets, the speedup is closer to the 1.8% claimed in rev. 1.108. Rev.1.108 claims to eliminate a PCI write but actually eliminates a PCI read. The write of the tx product index is not so costly as its read, and cannot be eliminated completely. It could be coalesced in some cases. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-15T10:50:48.000000Z K 7 svn:log V 203 Break file descriptor printing logic out of db_show_files() into db_print_file(), and add a new "show file " DDB command, which can be used to print out file descriptors referenced in stack traces. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-15T10:55:43.000000Z K 7 svn:log V 103 Catch up file descriptor printing function in DDB to the addition of kqueues and POSIX message queues. END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-02-15T13:49:44.000000Z K 7 svn:log V 132 Enhances mdmfs(8) to mount md-based device such as uzip. Examples of use can be found in the PR text. PR: 103501 MFC after: 1 week END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-02-15T14:32:26.000000Z K 7 svn:log V 98 Mention the nat command in the synopsis and in the action section. Approved by: glebius (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-15T14:44:46.000000Z K 7 svn:log V 251 Expand history and authors section of mbuf.9 man page to discuss recent transition to mbuma (FreeBSD 5.3) and the fact that mbufs are now limited almost entirely to packet storage, with straight UMA zones being used for most other network data types. END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-02-15T14:46:04.000000Z K 7 svn:log V 129 Correct -c and -d description. Other requests made in the PR were already solved in the past. PR: bin/66763 MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-02-15T15:36:15.000000Z K 7 svn:log V 72 Fix spurious I/O errors when under high load. Submitted by: Erich Chen END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-15T16:38:10.000000Z K 7 svn:log V 38 fix comment about what pnpinfo is set END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-15T17:19:38.000000Z K 7 svn:log V 113 MFC: rev. 1.21 + 1.22 Don't reference the non-existant lkm(4), use .Nm instead since lkm is the name of an api. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-02-15T17:21:31.000000Z K 7 svn:log V 1464 Cleanup and document the implementation of firmware(9) based on a version that i posted earlier on the -current mailing list, and subsequent feedback received. The core of the change is just in sys/firmware.h and kern/subr_firmware.c, while other files are just adaptation of the clients to the ABI change (const-ification of some parameters and hiding of internal info, so this is fully compatible at the binary level). In detail: - reduce the amount of information exported to clients in struct firmware, and constify the pointer; - internally, document and simplify the implementation of the various functions, and make sure error conditions are dealt with properly. The diffs are large, but the code is really straightforward now (i hope). Note also that there is a subtle issue with the implementation of firmware_register(): currently, as in the previous version, we just store a reference to the 'imagename' argument, but we should rather copy it because there is no guarantee that this is a static string. I realised this while testing this code, but i prefer to fix it in a later commit -- there is no regression with respect to the past. Note, too, that the version in RELENG_6 has various bugs including missing locks around the module release calls, mishandling of modules loaded by /boot/loader, and so on, so an MFC is absolutely necessary there. I was just postponing it until this cleanup to avoid doing things twice. MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-15T17:24:31.000000Z K 7 svn:log V 49 MFC: rev. 1.4 Correct references to tcpdump(1). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-15T17:27:19.000000Z K 7 svn:log V 52 MFC: rev. 1.3 Remove Xref to non-existant uhub(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-15T17:29:55.000000Z K 7 svn:log V 81 MFC: rev. 1.4 There is no isa(4) manpage, convert to normal text an join lines. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-15T17:31:14.000000Z K 7 svn:log V 43 MFC: rev. 1.316 Nuke pcnfsd(8) reference. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-15T17:35:16.000000Z K 7 svn:log V 88 MFC: The KAME project has been dissolved and kame.4 isn't terribly useful. => Sayonara END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T17:43:08.000000Z K 7 svn:log V 28 New errata: SA-07:02.bind. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-02-15T17:52:17.000000Z K 7 svn:log V 88 remove some leftover text and update the text to match the current version of the code. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T17:52:29.000000Z K 7 svn:log V 28 New errata: SA-07:02.bind. END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-02-15T18:07:52.000000Z K 7 svn:log V 129 Add examples for configuring and mounting geom_uzip(4) based disks' image and sliced/partitioned memory disks. MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T19:10:23.000000Z K 7 svn:log V 110 Forced commit to note a repo-copy of this file from src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T19:33:47.000000Z K 7 svn:log V 305 First step in consolidating the various MD bits of the hardware notes. Convert MD references in the supported devices section from arch="" attributes for conditional compilation to entities that will just print architecture names. (The entities aren't defined yet...this will happen in a future commit.) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T19:48:36.000000Z K 7 svn:log V 109 Add selected bits from */article.sgml, common/artheader.sgml, and common/intro.sgml to make a valid article. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-02-15T19:49:27.000000Z K 7 svn:log V 509 MFC kern_linker.c 1.133 and related changes: - push Giant into linker_reference_module(); - introduce linker_release_module(), which also takes care of proper locking. The latter also fixes a missing mtx_loc/unlock in subr_firmware.c . Apparently, digi.c is the only external client of linker_reference_module() which is a bit suspicious - perhaps dev/digi/ could make with a bit of review from someone knowledgeable to check how the function is used, and whether it could be replaced by something else. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T20:12:43.000000Z K 7 svn:log V 107 Add supported processors and motherboards sections from the MD hardware notes documents in */proc-*.sgml. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T20:14:59.000000Z K 7 svn:log V 69 Put one $FreeBSD$ keyword in standard location, bump copyright date. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-02-15T21:49:32.000000Z K 7 svn:log V 14 Grammar nits. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-02-15T21:51:42.000000Z K 7 svn:log V 158 Support AHCI chips where the ports are not consecutively numbered as in some incarnations of the ICH8 chip. Also fix the panic introduced by the last commit. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-15T22:08:35.000000Z K 7 svn:log V 611 Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method. This way we may support multiple structures in v_data vnode field within one file system without using black magic. Vnode-to-file-handle should be VOP in the first place, but was made VFS operation to keep interface as compatible as possible with SUN's VFS. BTW. Now Solaris also implements vnode-to-file-handle as VOP operation. VFS_VPTOFH() was left for API backward compatibility, but is marked for removal before 8.0-RELEASE. Approved by: mckusick Discussed with: many (on IRC) Tested with: ufs, msdosfs, cd9660, nullfs and zfs END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-15T22:16:05.000000Z K 7 svn:log V 39 Update state of IPv6-over-gif(4) item. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-15T22:22:57.000000Z K 7 svn:log V 86 Add bootverbose printfs to indicate which IDT vectors are assigned to MSI interrupts. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-02-15T22:22:58.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-16T02:10:12.000000Z K 7 svn:log V 933 Add support for auto-generating hardware notes entries in a manner consistent with the new MI-style hardware notes document. man2hwnotes.pl now defaults to generating entities for the MI-style hardware notes (i.e. hardware/article.sgml). A new -c option causes it to generate entities for the older MD-style hardware notes (i.e. hardware/common/dev.sgml). The Makefile infrastructure supplies the -c option to man2hwnotes.pl now unless the HWNOTES_MI Makefile variable is defined, so compatiblity is preserved for hardware notes translations that aren't converted to the new organization yet. As translations convert, they should define HWNOTES_MI in their hardware/Makefile. When all the relevant translations catch up, the compatibility goop in share/mk/doc.relnotes.mk and share/sgml/Makefile can be removed. Thanks go to simon@ for help with the backwards compatiblity mechanism. Tested with: en_US.ISO8859-1, zh_CN.GB2312 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-16T02:20:11.000000Z K 7 svn:log V 581 Switch to unified MI hardware notes. The hardware notes are now contained entirely in a single DocBook article, which has information pertinent to all architectures. This will improve the maintainability of the hardware notes going forward by reducing complexity of the build process, improving the visibiilty of the architecture-specific text, and removing the need to generate an extra version of the document for every architecture. Remove all of the MD hardware notes stuff; all relevant content has been folded into hardware/article.sgml. No objections from: freebsd-doc@ END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-16T02:22:02.000000Z K 7 svn:log V 62 Reflect that the hardware notes article is now a MI document. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-16T02:28:15.000000Z K 7 svn:log V 55 Reflect that the hardware notes is now an MI document. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-02-16T03:46:55.000000Z K 7 svn:log V 202 Backing out an earlier change. It seems harmless for NFS to miss the "force unmount" flag, making the acquisition of the MNT_ILOCK in nfs_request() and nfs_sigintr() unnecessary. Pointed out by tegge@. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-02-16T03:53:33.000000Z K 7 svn:log V 207 MFC: Backing out an earlier change. It seems harmless for NFS to miss the "force unmount" flag, making the acquisition of the MNT_ILOCK in nfs_request() and nfs_sigintr() unnecessary. Pointed out by tegge@. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-16T04:07:31.000000Z K 7 svn:log V 98 Down to one MD document in the release documentation set now, reword a note to reflect this fact. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-16T05:24:19.000000Z K 7 svn:log V 20 Fix typo in comment END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-16T05:36:59.000000Z K 7 svn:log V 616 Two changes: (1) change debounce period from 1s to 250ms. This appears to be fine and speeds things up a little. (2) In the middle of cbb_pcic_power_disable_socket we write 0 to the EXCA_INTR register to put the card into reset. However, this turns off CSC interrupts for TI bridges (and maybe others). So no further card insertion events would be noticed. To compensate, after we've gone through the entire power down sequence, turn on EXCA_INTR_ENABLE so that CSC events happen. #2 should fix the 'dead slot' problem that has been reported after card ejection (but only 16-bit cards). END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-16T06:46:36.000000Z K 7 svn:log V 37 Add poitner to JEDEC publication 106 END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-16T07:00:50.000000Z K 7 svn:log V 26 Updated tuple list, kinda END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-16T07:51:23.000000Z K 7 svn:log V 48 CompUSA mutli-format pcmica flash reader/writer END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-16T13:53:45.000000Z K 7 svn:log V 13 Xref altq(4) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-16T13:55:25.000000Z K 7 svn:log V 69 MFC: Xref altq(4) for drivers that support it according to altq(4). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-16T13:56:06.000000Z K 7 svn:log V 101 Remove unused in6p_ip6_hlim macro shortcut for non-present inp_depend6.inp6_hlim field in the inpcb. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-16T14:09:24.000000Z K 7 svn:log V 86 Remove unused inp6_ifindex field from inpcb, as well as unused macro shortcut for it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-16T14:27:59.000000Z K 7 svn:log V 117 VFS_VPTOFH(9) was replaced with VOP_VPTOFH(9). VFS_VPTOFH.9 was repo-copied to VOP_VPTOFH.9. Repo-copy done by: joe END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-16T17:32:41.000000Z K 7 svn:log V 103 Remove VFS_VPTOFH entirely. API is already broken and it is good time to do it. Suggested by: rwatson END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-02-16T17:43:29.000000Z K 7 svn:log V 90 Add codec id for Sigmatel STAC9271D. Submitted by: Michael Fuckner END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-02-16T18:23:17.000000Z K 7 svn:log V 24 Add Sigmatel STAC9271D. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-02-17T01:54:00.000000Z K 7 svn:log V 108 Fix mis-reference of incorrect manual page in ERRORS section. Noticed by: Harlan Stenn END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2007-02-17T08:25:43.000000Z K 7 svn:log V 172 This README file is obsolete. The cited problems were fixed long ago and the code is installed by default so no longer requires action by the administrator to be included. END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-02-17T10:30:00.000000Z K 7 svn:log V 65 Link snd_sb16.4 and snd_sb8.4 to snd_sbc.4. Submitted by: ariff END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-02-17T11:31:58.000000Z K 7 svn:log V 43 Oops, fix minor braino. Noticed by: ariff END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-02-17T16:56:39.000000Z K 7 svn:log V 213 Add support for chipsets that has NULL'd BAR's for legacy ports. This allows DMA to be used on a fine little geode system I got here and most like on lots of older systems like that. HW donated by: Paul Ghering END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-17T18:21:52.000000Z K 7 svn:log V 63 remove (now) duplicate definition of IEEE80211_IS_CHAN_PASSIVE END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-17T18:22:20.000000Z K 7 svn:log V 51 correct type definition of option routine callback END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-17T19:37:00.000000Z K 7 svn:log V 62 Remove a stale comment. Add punctuation to a nearby comment. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-02-17T20:52:55.000000Z K 7 svn:log V 95 MFC revision 1.168 ANSI cleanup, no functional change. This should make merging a bit easier. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-17T21:02:38.000000Z K 7 svn:log V 119 Add "show inpcb", "show tcpcb" DDB commands, which should come in handy for debugging sblock and other network panics. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-18T05:54:42.000000Z K 7 svn:log V 206 Enable vm_page_free() and vm_page_free_zero() to be called on some pages without the page queues lock being held, specifically, pages that are not contained in a vm object and not a member of a page queue. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-02-18T06:23:57.000000Z K 7 svn:log V 175 Andrew and Colin each pointed out to me that truncating the backup of a growing file should not be considered a "bad thing." PR: bin/108990 MFC after: 7 days Pointy hat: /me END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-18T06:33:02.000000Z K 7 svn:log V 95 Eliminate some acquisitions and releases of the page queues lock that are no longer necessary. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-18T08:57:23.000000Z K 7 svn:log V 153 #ifdef INET6 printing of inpcb IPv6 addresses in DDB. Patch committed with minor adjustments. Submitted by: Florian C. Smeets END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-02-18T17:40:09.000000Z K 7 svn:log V 172 The table of known CPU models ends with an entry that has a version of 0, not with an entry that has an empty CPU name. Submitted by: Andrew Turner (andrew@fubar.geek.nz) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-02-18T19:48:59.000000Z K 7 svn:log V 125 Correct typos containing my login name (plus one more in expr.y). Found courtesy of a recursive grep in the wrong directory. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-02-18T22:04:14.000000Z K 7 svn:log V 49 Clarify the description of the shutdown command. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-02-18T22:41:41.000000Z K 7 svn:log V 48 Bring these files up-to-date. PR: docs/108536 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-19T00:23:40.000000Z K 7 svn:log V 80 Oops, we have no sc here, so use the global sa11x0_softc. Spotted out by: csjp END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-02-19T00:34:28.000000Z K 7 svn:log V 132 MFC the AUDIT_SYSCALL_ENTER/EXIT entry points in syscall handling. This will unbreak auditing for the ARM architecture in RELENG_6 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-19T00:37:25.000000Z K 7 svn:log V 90 There's no such thing as a GENERIC kernel on arm. Spotted out by: csjp MFC After: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-19T00:57:27.000000Z K 7 svn:log V 72 Teach the kernel and the ELF trampoline how to boot from onboard flash. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-19T01:03:08.000000Z K 7 svn:log V 284 Add two new options, FLASHADDR, which defines the address the flash is mapped at, and LOADERRAMADDR, the address at which the loader maps the ram at at the time the kernel is booted. They are used to detect if the kernel is booted from the onboard flash. Define those for the IQ31244 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-19T02:46:12.000000Z K 7 svn:log V 159 It'd be kind of nice if we installed the hardware notes to their own directory, rather than overwriting the release notes. :-p Fix this. Pointy hat to: bmah END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-02-19T02:47:30.000000Z K 7 svn:log V 84 MFC (1.23: fix -mprofiler-epilogue by working around a garbage-collection problem). END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-19T10:55:16.000000Z K 7 svn:log V 260 MFi386 rev. 1.544 of i386/i386/pmap.c: Rounding addr upwards to next 2M boundary in pmap_growkernel() could cause addr to become 0, resulting in an early return without populating the last PDE. Reported and tested by: kris Suggested by: alc MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-19T10:56:09.000000Z K 7 svn:log V 298 Remove union_dircheckp hook, it is not needed by new unionfs code anymore. As consequence, getdirentries() no longer needs to drop/reacquire directory vnode lock, that would allow it to be reclaimed in between. Reported and tested by: Peter Holm Approved by: rodrigc (unionfs) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-19T10:57:47.000000Z K 7 svn:log V 664 Unbreak ddb stepping over special frames after the following commit: Revision Changes Path 1.113 +4 -2 src/sys/i386/i386/apic_vector.s 1.117 +7 -1 src/sys/i386/i386/exception.s 1.36 +7 -7 src/sys/i386/i386/local_apic.c 1.298 +61 -63 src/sys/i386/i386/trap.c 1.62 +15 -22 src/sys/i386/i386/vm86.c 1.32 +4 -2 src/sys/i386/i386/vm86bios.s 1.21 +2 -2 src/sys/i386/include/apicvar.h 1.27 +2 -2 src/sys/i386/isa/atpic.c 1.50 +2 -1 src/sys/i386/isa/atpic_vector.s 1.35 +1 -1 src/sys/i386/isa/icu.h Tested by: kris, Peter Holm No objections from: kmacy END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T13:04:25.000000Z K 7 svn:log V 186 Do allow PIOCSFL in jail for setguid processes; this is more consistent with other debugging checks elsewhere. XXX comment on the fact that p_candebug() is not being used here remains. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T13:10:29.000000Z K 7 svn:log V 109 For now, reflect practical reality that Audit system calls aren't allowed in Jail: return a privilege error. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T13:22:36.000000Z K 7 svn:log V 237 Use priv_check(9) instead of suser(9) for checking the privilege to set real-time priority on a thread. It looks like this suser(9) call was introduced after my first pass through replacing superuser checks with named privilege checks. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T13:23:45.000000Z K 7 svn:log V 89 Do allow privilege to create over-sized messages on System V IPC message queues in jail. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T13:25:17.000000Z K 7 svn:log V 175 Do allow bypass of mac_seeotheruids in jail in order to be consistent with other uses of PRIV_SEEOTHERUIDS. This will automatically be scoped to the jail by the jail policy. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T13:26:39.000000Z K 7 svn:log V 75 Limit quota privileges in jail to PRIV_UFS_GETQUOTA and PRIV_UFS_SETQUOTA. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T13:33:10.000000Z K 7 svn:log V 447 Rename three quota privileges from the UFS privilege namespace to the VFS privilege namespace: exceedquota, getquota, and setquota. Leave UFS-specific quota configuration privileges in the UFS name space. This renumbers VFS and UFS privileges, so requires rebuilding modules if you are using security policies aware of privilege identifiers. This is likely no one at this point since none of the committed MAC policies use the privilege checks. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T22:40:02.000000Z K 7 svn:log V 109 Use privilege PRIV_NET_ADDIFADDR rather than suser() to authorize adding a netatalk address to an interface. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-02-19T22:49:43.000000Z K 7 svn:log V 152 Note problems I had with bsnmpd while updating from an older -current. There may be better ways to fix/work around these issues but this worked for me. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T22:56:10.000000Z K 7 svn:log V 440 Remove call to ipcperm() in shmget_existing(). The flags argument is ignored on other systems I investigated when accessing an existing memory segment rather than creating a new one. This call to ipcperm() is the only one to pass in a complete mode flag to the permission checks rather than a simple access request mask, and caused problems for the revised ipcperm() based on the priv(9) interface, which can now be restored. PR: 106078 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-19T22:59:23.000000Z K 7 svn:log V 877 Restore sysv_ipc.c:1.30, which was backed out due to interactions with System V shared memory, now believed fixed in sysv_shm.c:1.109: date: 2006/11/06 13:42:01; author: rwatson; state: Exp; lines: +65 -37 Sweep kernel replacing suser(9) calls with priv(9) calls, assigning specific privilege names to a broad range of privileges. These may require some future tweaking. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project Discussed on: arch@ Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri, Alex Lyashkov , Skip Ford , Antoine Brodin This restores fine-grained privilege support to System V IPC. PR: 106078 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T00:06:59.000000Z K 7 svn:log V 198 Sync up PRIV_IPC_{ADMIN,READ,WRITE} priv checks in ipcperm() with kern_jail.c: allow jailed root these privileges. This only has an effect if System V IPC is administratively enabled for the jail. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T00:12:52.000000Z K 7 svn:log V 64 Remove unused PRIV_IPC_EXEC. Renumbers System V IPC privilege. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T00:28:19.000000Z K 7 svn:log V 87 Remove discontinuity in network privilege number space. Spotted by: emaste (ages ago) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-02-20T08:33:32.000000Z K 7 svn:log V 127 MFC: Replace gzip(1) with the BSD licensed version found in -HEAD. Discussed with: re, so, portmgr (kris) All bugs are mine. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T10:13:11.000000Z K 7 svn:log V 49 Gratuitous UDP restyling toward style(9) in 7.x. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T10:20:03.000000Z K 7 svn:log V 180 Rename two identically named log_in_vain variables: tcp_input.c's static log_in_vain to tcp_log_in_vain, and udp_usrreq's global log_in_vain to udp_log_in_vain. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T10:21:27.000000Z K 7 svn:log V 165 Move mapping of MBI_APPEND to MBI_WRITE from inside the rule loop in mac_bsdextended_check() to before the loop, as it needs to happen only once. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T10:50:02.000000Z K 7 svn:log V 299 Break introductory comment into two paragraphs to separate material on the garbage collection complications from general discussion of UNIX domain sockets. Staticize unp_addsockcred(). Remove XXX comment regarding Giant and v_socket -- v_socket is protected by the global UNIX domain socket lock. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T13:38:11.000000Z K 7 svn:log V 165 Update auditing of socket information for the inpcb new world order: so_pcb will always be non-NULL, and lock the inpcb while non-atomically accessing address data. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-02-20T14:29:09.000000Z K 7 svn:log V 87 Document the endiannes of firmware headers (in preparation for changes in the C code). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T15:20:36.000000Z K 7 svn:log V 70 Replace a suser() check with an explicit check for PRIV_NET_SETIFMTU. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-02-20T15:45:59.000000Z K 7 svn:log V 1316 Address a few issues with the iwi driver, namely: + do not release the dma-ble region used for downloading firmware. This should fix the problems that some people were seeing, due to memory becoming too fragmented which prevented subsequent allocations of a suitable contiguous region of memory; + document the firmware format and usage in if_iwivar.h + use a loop to allocate the four tx rings, instead of replicating the body of the loop. + add debugging code IWI_LOCK_ASSERT() to detect missing locks. These only do a printf, and should go away once we figure out why the driver sometimes freezes the system due to a (yet unidentified) race condition. + add a device_printf() in iwi_ioctl() in certain conditions (see comment in the code). This helps preventing the race condition mentioned above, and makes the system survive. This printf will also go away once fixing this bug is completed. + change iwi_getfw() to return 0 on success, 1 on error, consistently with other functions. + fix the argument of a sizeof() in iwi_get_firmware() + use le32toh() to access little-endian fields + simplify error handling in iwi_load_firmware() and iwi_init_locked() The bugs fixed by this commit (the freezing one especially) are serious enough to call for a quick MFC MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-02-20T17:32:30.000000Z K 7 svn:log V 960 Rename IWI_LOCK_ASSERT to IWI_LOCK_CHECK per Sam's suggestion, and make it print under debug.iwi control same as other debugging stuff. Remove the device_printf() in iwi_ioctl() and replace with this: /* * wait until pending iwi_cmd() are completed, to avoid races * that could cause problems. */ while (sc->flags & IWI_FLAG_BUSY) msleep(sc, &sc->sc_mtx, 0, "iwiioctl", hz); This at least prevents what has become an almost systematic failure for my system, presumably due to a previous iwi_cmd() not complete yet by the time iwi_ioctl() is called. It has been pointed to my attention that the real problem could be calling ieee80211_ioctl() with the lock held. If that is true, there might still be a possibility for a race condition e.g. an interrupt coming while the ioctl is sleeping. Need to investigate further on what changes are required to release the lock before calling ieee80211_ioctl END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-20T18:03:28.000000Z K 7 svn:log V 309 MFC rev 1.2 and 1.5: revision 1.2 date: 2005/10/03 14:18:21; author: cognet; state: Exp; lines: +12 -2 Make mem.c know about the pages allocated with ARM_USE_SMALL_ALLOC. revision 1.5 date: 2007/02/13 15:35:57; author: cognet; state: Exp; lines: +13 -0 Make sure the address is valid before mapping it. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-02-20T18:10:13.000000Z K 7 svn:log V 459 Avoid writing uninitialized stack data into a thread's MMX/SSE state by first getting the current state with td_thr_getxmmregs_p. Without this, debugging a threaded app that uses libthr resulted in kernel panics or spurious SIGFPEs for me. (As of revision 1.6, sys/i386/i386/ptrace_machdep.c masks off the reserved bits in the mxcsr register, which prevents the kernel panics.) Architectures without PT_GETXMMREGS are not affected. MFC after: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-20T21:04:12.000000Z K 7 svn:log V 129 Make attach the default for -f. That way mdconfig -f image works like a charm. Reviewed by: phk (some time ago) MFC: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-20T21:29:30.000000Z K 7 svn:log V 201 [Found the original diff I made, see previous commit for other part] Assume '-a' and '-t malloc' flags for '-s ' (malloc ramdisk) if not specified. Reviewed by: phk (some time ago) MFC: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-20T22:04:23.000000Z K 7 svn:log V 83 Kris suggested that swap is a better choice as a default than malloc. MFC: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-20T22:56:28.000000Z K 7 svn:log V 1815 MFC the following commits: Align the interfaces for the various watchdogs and make the interface behave as expected. Also: - Return an error if WD_PASSIVE is passed in to the ioctl as only WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an explanation of the difference between WD_ACTIVE and WD_PASSIVE. - Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've lost your sense of humor, than don't add a define. Specific changes: i80321_wdog.c Don't roll your own passive watchdog tickle as this would defeat the purpose of an active (userland) watchdog tickle. ichwd.c / ipmi.c: WD_ACTIVE means active patting of the watchdog by a userland process, not whether the watchdog is active. See sys/watchdog.h. kern_clock.c: (software watchdog) Remove a check for WD_ACTIVE as this does not make sense here. This reverts r1.181. Revision Changes Path 1.371 +1 -0 src/share/man/man4/Makefile 1.8 +69 -25 src/share/man/man4/watchdog.4 1.4 +7 -1 src/share/man/man9/watchdog.9 1.3 +15 -11 src/sys/arm/xscale/i80321/i80321_wdog.c 1.7 +12 -30 src/sys/dev/ichwd/ichwd.c 1.8 +8 -17 src/sys/dev/ipmi/ipmi.c 1.8 +3 -1 src/sys/dev/mk48txx/mk48txx.c 1.4 +4 -1 src/sys/dev/watchdog/watchdog.c 1.33 +9 -9 src/sys/i386/i386/elan-mmcr.c 1.193 +3 -3 src/sys/kern/kern_clock.c 1.4 +0 -4 src/sys/sys/watchdog.h and Don't exit from watchdogd on receiving a signal if we cannot stop the watchdog. That'll require -KILL. This avoids resetting your system on one of the watchdogs that you cannot disable. Revision Changes Path 1.15 +18 -11 src/usr.sbin/watchdogd/watchdogd.c Reviewed by: phk END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-20T23:12:04.000000Z K 7 svn:log V 144 Create a link from hosts.allow(5) hosts_access(3), to give the user a starting point for more information on a file in /etc. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-20T23:49:31.000000Z K 7 svn:log V 84 Remove unnecessary privilege and privilege check for WITNESS sysctl. Head nod: jhb END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-21T00:30:09.000000Z K 7 svn:log V 193 Check that the error returned by vfs_getopts() is not ENOENT before assuming there's actually an error. This is just in order to unbreak ntfs on current, before a proper solution is committed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-02-21T05:07:43.000000Z K 7 svn:log V 206 If we already have stat() data, we might be able to determine if this is a physical dir without an lstat(). While I'm in here, try to clarify the comments around the _is_dir() and _is_physical_dir() tests. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-21T06:00:46.000000Z K 7 svn:log V 106 Change pmap_protect() so that execute access can be removed without simultaneously removing write access. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-21T07:45:02.000000Z K 7 svn:log V 253 Reduce the noise when plugging in (USB) mass storage devices, like a 4 port flash card reader. Also remove an 'Opened da0 -> ' which is not needed on a daily basis (available through bootverbose). Reviewed by: phk, ken MFC after: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-21T07:46:40.000000Z K 7 svn:log V 96 Initialise {transport,protocol}{,_version} fields during a PATH_INQ to avoid a warning message. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2007-02-21T08:14:22.000000Z K 7 svn:log V 193 Fix a bug with the release of section's raw data. Both release loops were using translated data linked list, leading to a memory leak. Jkoshy's testsuite was used to check for non-regression. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2007-02-21T08:50:06.000000Z K 7 svn:log V 194 The functions that set and delete external attributes must check that the filesystem is not mounted read-only before proceeding. Reported by: Ryan Beasley MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-21T09:57:27.000000Z K 7 svn:log V 127 Complete the support for altq(4). Tested by: J.R. Oldroyd Reviewed by: mlaier Approved by: rwatson (mentor) MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-21T10:00:09.000000Z K 7 svn:log V 39 Document vge(4)'s support for altq(4). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-21T10:32:03.000000Z K 7 svn:log V 107 Refine implementation notes for priv(9): clarify ABI comments, mention updating Jail's list of privileges. END K 10 svn:author V 6 philip K 8 svn:date V 27 2007-02-21T12:27:12.000000Z K 7 svn:log V 216 Optimize set_origin() use in some screensavers to stop them eating cpu power when the origin hasn't changed. PR: kern/100683 Submitted by: Gareth McCaughan MFC after: 3 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-21T13:41:51.000000Z K 7 svn:log V 350 Change wording of warnings when there is no ip_mroute.ko module loaded into the system. Change wording of comments to reflect the fact we should unconditionally use KVM if the -M option is used to specify a core file. Add comments to document the fact that IPv6 multicast forwarding information display still relies on KVM for gathering information. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-21T13:59:21.000000Z K 7 svn:log V 343 Update host-mode multicast group information output. Display IPv4 and IPv6 memberships separately. Obey the MK_INET6_SUPPORT flag. Display link-layer memberships. Use addr2ascii() to correctly print non-IEEE 802 sockaddr_dl instances. Eliminate redundant switch..case blocks. Update copyright. Misc style changes. MFC after: 3 weeks END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-02-21T14:05:57.000000Z K 7 svn:log V 261 Temporarily disable the support for some incarnations of the ICH8 chip that has non consecutively numbered ports. This should fix current SATA problems. Support AHCI chips where the ports are not consecutively numbered as in some incarnations of the ICH8 chip. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-02-21T14:06:51.000000Z K 7 svn:log V 60 Be a little less stringent in getting progress report data. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-21T16:21:32.000000Z K 7 svn:log V 61 MFC: Restore support for kvm_get_swapinfo(3) on crash dumps. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-21T16:22:17.000000Z K 7 svn:log V 45 MFC: Catch up to nfiles -> openfiles rename. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-02-21T17:34:05.000000Z K 7 svn:log V 288 Work around a firmware bug where broadcast frames would be incorrectly treated as multicast frames and filtered, but when only when "adopting" running firmware. By "adopting", I mean using pre-existing firmware loaded from eeprom at PCI reset, rather than firmware loaded by the driver. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-21T18:17:44.000000Z K 7 svn:log V 625 Restore support for the 5706C bce(4) phy that was broken during the addition of SerDes support. According to the docs, the 5706C and 5708C phys are supposed to use the same MII model that is separate from the SerDes parts, but the 5706C actually uses the MII model of the SerDes parts. To fix this, readd the old 5706C entry to miidevs and add a special check in brgphy_probe() for phys that match the 5706C ID. If the phy is supported by the gentbi(4) driver, then it's a SerDes phy, so we fail the probe and let gentbi(4) grab it. Otherwise, it's a 5706C phy, so we let brgphy(4) grab it. In coordination with: dwhite END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-02-21T19:03:34.000000Z K 7 svn:log V 71 Try again with supporting AHCI chipsets with partly implemented ports. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-02-21T19:07:19.000000Z K 7 svn:log V 26 Update copyright headers. END