ƒ³A172455 186 253 170 266 188 304 209 885 232 633 561 158 661 238 152 241 169 172 508 319 270 195 235 423 164 471 297 455 198 393 616 265 208 343 664 552 389 264 264 191 241 157 406 191 149 244 258 158 126 147 114 164 164 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 264 182 128 163 278 171 146 166 225 191 166 195 206 112 116 232 194 237 316 110 300 306 141 311 594 1824 1929 327 333 377 411 182 120 204 197 154 161 584 133 137 129 282 316 159 157 207 123 564 336 293 1315 358 566 724 362 159 484 184 172 189 192 189 114 113 134 113 111 206 241 169 772 777 173 214 1281 163 141 179 263 180 149 159 270 187 204 192 231 174 183 1051 280 568 152 138 248 218 165 192 208 198 180 1433 382 393 305 290 348 526 347 444 328 K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-10-05T22:49:08.000000Z K 7 svn:log V 160 MFC of Intel driver version 6.6.6 This adds our new modular shared code, support for MSI/MSIX, hardware support for newer adapters, and a variety of bug fixes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-05T22:50:44.000000Z K 7 svn:log V 75 Add an MLINKS for pci_find_dbsf.9. Submitted by: ru Approved by: re (gnn) END K 10 svn:author V 3 scf K 8 svn:date V 27 2007-10-06T03:15:15.000000Z K 7 svn:log V 173 MFC: Add fts_set_clientptr(3), fts_get_clientptr(3) and fts_get_stream(3) man page links to fts(3). src/lib/libc/gen/Makefile.inc: rev 1.127 -> 1.128 Approved by: wes END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-10-06T13:23:42.000000Z K 7 svn:log V 96 - Fix the one-2-one model to properly do a socantrecv() Approved by: re@freeBSD.org (Ken Smith) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-10-06T19:36:35.000000Z K 7 svn:log V 211 Couple corrections on the MFC, first POLLING had a 7.0 interface left in, thanks to those that caught this. Second, there was a 82571 fix in the last delta that got missed, it has now been converted and added. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-06T20:34:14.000000Z K 7 svn:log V 113 - Adhere style(9) (don't use function calls in initializers, use uintXX_t instead of u_intXX_t). - Use FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-06T20:50:18.000000Z K 7 svn:log V 789 MFC: 1.15; 1.16 - Remove unused softc. - Use the actual clock frequency of the PCI bus instead of assuming 33MHz for calculating the latency timer values for its children. Inspired by NetBSD doing the same and Linux as well as OpenSolaris using a similar approach. While at it rename a variable and change its type to be more appropriate fuer values of PCI properties so the variable can be more easily reused. - Initialize the cache line size register of PCI devices to a legal value; the cache line size is limited to 64 bytes by the Fireplane/Safari, JBus and UPA interconnection busses. Setting it to an unsupported value caused bad performance at least with GEM as it causes them to not do cache line bursts and to not issue cache line commands on the PCI bus. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-10-06T21:13:55.000000Z K 7 svn:log V 137 Allow drivers to free an mbuf without having the mbuf be touched if the driver has already freed any attached tags Approved by: re(gnn) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-10-06T21:42:39.000000Z K 7 svn:log V 538 This patch adds an M_NOFREE flag which allows one to mark an mbuf as not being independently freeable. This allows one to embed an mbuf in the cluster itself. This confers the benefits of the packet zone on all cluster sizes. Embedded mbufs currently suffer from the same limitation that packet zone mbufs do in that one cannot disconnect them and pass them around independently of the cluster. It would likely be possible to eliminate this limitation in the future by adding a second reference for the mbuf itself. Approved by: re(gnn) END K 10 svn:author V 5 silby K 8 svn:date V 27 2007-10-07T00:07:27.000000Z K 7 svn:log V 466 Improve the debugging message: TCP: [X.X.X.X]:X to [X.X.X.X]:X tcpflags 0x18; tcp_do_segment: FIN_WAIT_2: Received data after socket was closed, sending RST and removing tcpcb So that it also includes how many bytes of data were received. It now looks like this: TCP: [X.X.X.X]:X to [X.X.X.X]:X tcpflags 0x18; tcp_do_segment: FIN_WAIT_2: Received X bytes of data after socket was closed, sending RST and removing tcpcb Approved by: re (gnn) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-10-07T03:11:31.000000Z K 7 svn:log V 66 Last delta confused shared code API in the fix, this corrects it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-10-07T18:03:03.000000Z K 7 svn:log V 568 Correct a lock assertion failure in sparc64's pmap_page_is_mapped() that is a consequence of sparc64/sparc64/vm_machdep.c revision 1.76. It occurs when uma_small_free() frees a page. The solution has two parts: (1) Mark pages allocated with VM_ALLOC_NOOBJ as PG_UNMANAGED. (2) Defer the lock assertion in pmap_page_is_mapped() until after PG_UNMANAGED is tested. This is safe because both PG_UNMANAGED and PG_FICTITIOUS are immutable flags, i.e., they do not change state between the time that a page is allocated and freed. Approved by: re (kensmith) PR: 116794 END K 10 svn:author V 5 silby K 8 svn:date V 27 2007-10-07T20:44:24.000000Z K 7 svn:log V 143 Add FBSDID to all files in netinet so that people can more easily include file version information in bug reports. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-08T16:14:52.000000Z K 7 svn:log V 56 Virgin import of less v408. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-08T16:14:52.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r172468, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-08T16:14:53.000000Z K 7 svn:log V 73 This commit was manufactured by cvs2svn to create tag 'less-vendor-v408'. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-08T16:17:42.000000Z K 7 svn:log V 76 Resolve conflicts to complete less v408 import. Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-10-08T18:01:38.000000Z K 7 svn:log V 415 In the rare case that vm_page_cache() actually frees the given page, it must first ensure that the page is no longer mapped. This is trivially accomplished by calling pmap_remove_all() a little earlier in vm_page_cache(). While I'm in the neighborbood, make a related panic message a little more useful. Approved by: re (kensmith) Reported by: Peter Holm and Konstantin Belousov Reviewed by: Konstantin Belousov END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-08T18:59:34.000000Z K 7 svn:log V 223 Disable TLS for arm and sparc64 here as binutils 2.15 predate GNU TLS support for these. This is in line with gnu/lib/libgomp/config.h and gnu/lib/libstdc++/config.h. Reviewed by: cognet, obrien Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-10-08T20:08:34.000000Z K 7 svn:log V 177 Deny attempt to malloc unbounded amount of the memory. Convert malloc()/bzero() to malloc(M_ZERO). Obtained from: OpenBSD MFC after: 3 days Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-10-08T20:09:53.000000Z K 7 svn:log V 102 Do not dereference NULL pointer. Reported by: Peter Holm Reviewed by: alc Approved by: re (kensmith) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-10-08T21:16:38.000000Z K 7 svn:log V 140 Describe the process of importing new zoneinfo data and updating it into CVS. PR: conf/116901 Approved by: re (Ken Smith), grog@ (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-10-08T21:31:13.000000Z K 7 svn:log V 328 Import of timezone database from Arthur Olson et al. Timezone data changes in the following locations: - Egypt (push possible DST ending one year ahead) - Iran gets DST again in 2008. - Palestine DST time for this year fixed. - Brasils DST rule change in 2008 - Venezuela time moves half an hour back at the end of this year. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-08T21:31:14.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2007h'. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-10-08T21:41:29.000000Z K 7 svn:log V 376 MFV for tzdata2007h Timezone data changes in the following locations: - Egypt (push possible DST ending one year ahead) - Iran gets DST again in 2008. - Palestine DST time for this year fixed. - Brasils DST rule change in 2008. - Venezuela time moves half an hour back at the end of this year. PR: conf/116900 Approved by: re (Ken Smith), grog@ (mentor) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-08T21:51:01.000000Z K 7 svn:log V 204 MFC some fixes to IPI_PREEMPT: - Use the proper bitmask tests for an IPI in the bitmap handler on amd64 and i386. - Don't test against idle priority, just the idle thread in the IPI_PREEMPT handlers. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-10-08T23:37:28.000000Z K 7 svn:log V 361 - Fix ULE in kernels without PREEMPTION compiled in by always enabling the critical_exit() owepreempt check. ULE will always use owepreempt to preempt the idle thread. This change does not effect 4BSD since it will never set owepreempt without PREEMPTION enabled. - Remove some unused code from choosethread(). Discussed with: jhb Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-10-08T23:40:40.000000Z K 7 svn:log V 104 - Restore historical yield() behavior by manually lowering priority and switching. Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-10-08T23:45:24.000000Z K 7 svn:log V 299 - Restore historical sched_yield() behavior by changing sched_relinquish() to simply switch rather than lowering priority and switching. This allows threads of equal priority to run but not lesser priority. Discussed with: davidxu Reported by: NIIMI Satoshi Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-10-08T23:50:39.000000Z K 7 svn:log V 522 - Bail out of tdq_idled if !smp_started or idle stealing is disabled. This fixes a bug on UP machines with SMP kernels where the idle thread constantly switches after trying to steal work from the local cpu. - Make the idle stealing code more robust against self selection. - Prefer to steal from the cpu with the highest load that has at least one transferable thread. Before we selected the cpu with the highest transferable count which excludes bound threads. Collaborated with: csjp Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-10-09T00:03:39.000000Z K 7 svn:log V 171 - Fix from pr kern/115469; Don't redeliver a signal once it has been handled by the target process. Contributed by: Tijl Coosemans Approved by: re END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-10-09T02:37:21.000000Z K 7 svn:log V 113 MFC: Describe the process of importing new zoneinfo data and updating it into CVS. PR: conf/116901 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-10-09T07:20:44.000000Z K 7 svn:log V 248 Remove pre-rc.d compatibility shims that were added before the 5.0 branch for pre-5.0 variable names. Remove two dhcp compatibility variables added after the 5.1-RELEASE. Remove the now-unused support for these shims. Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-10-09T07:30:14.000000Z K 7 svn:log V 569 Deprecate use of the early.sh script as advertised when the support for local rc.d scripts in the overall boot order was added. Proper rc.d scripts are run by rc.subr in a subshell, whereas scripts that end in .sh are sourced into rc's shell. The latter has potential to create serious boot problems, and there is no reason that the same functionality cannot be added by the user in the form of a proper rc.d script (as opposed to being added by the user in the form of /etc/rc.early). This script will be removed prior to the 8.0 branch. Approved by: re (kensmith) END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-10-09T07:48:07.000000Z K 7 svn:log V 459 Fix the HPET table probe routine to run from device_identify() instead of directly from acpi0. Before it would attach prior to the sysresource devices, causing the later allocation of its memory range to fail and print a warning like "acpi0: reservation of fed00000, 1000 (3) failed". Use an explicit define for our probe order base value of 10. Help from: jhb Tested by: Abdullah Ibn Hamad Al-Marri MFC after: 3 days Approved by: re END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-10-09T07:51:46.000000Z K 7 svn:log V 296 When the EC times out (common with Compaqs), it may report a design voltage of 0. This can result in a divide by zero trap. Add a guard for this case. The value of lfcap is checked in acpi_battery_bif_valid() just before this, so it is safe. Reportd by: sam Approved by: re MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-09T13:42:34.000000Z K 7 svn:log V 168 Repo copy libpthreads to libkse. This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-09T14:16:39.000000Z K 7 svn:log V 168 Repo copy libpthreads to libkse. This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-09T15:05:26.000000Z K 7 svn:log V 99 MFC: Describe the process of importing new zoneinfo data and updating it in CVS. PR: conf/116901 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-09T15:28:15.000000Z K 7 svn:log V 145 Stop applying patches at build time - instead apply directly to the files. I've seen this practice cause issues for vendors using our sources... END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-09T17:22:00.000000Z K 7 svn:log V 62 Correct lib name. Submitted by: ru Approved by: re(kensmith) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-09T17:43:57.000000Z K 7 svn:log V 310 Update to version 3.70.03.007 from the vendor. This adds support for new SAS-enabled cards. It also makes the driver MPSAFE, eliminating some problems that resulted from CAM becoming MPSAFE. Many thanks to 3Ware/AMCC for continuing to support FreeBSD. Submitted by: Manjunath Ranganathaiah Approved by: re END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-09T17:51:11.000000Z K 7 svn:log V 96 Pulled the trigger 2hr 50min late (Pago Pago time). Submitted by: ru Approved by: re (implicit) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-09T17:53:33.000000Z K 7 svn:log V 54 Mdoc fix. Submitted by: ru Approved by: re(implicit) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-09T20:15:09.000000Z K 7 svn:log V 147 Add PCI ID for ICH9 AHCI w/ two adapters. Tested by: Abdullah Ibn Hamad Al-Marri Approved by: sos Approved by: re (kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-09T23:31:11.000000Z K 7 svn:log V 162 Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-10-10T00:09:08.000000Z K 7 svn:log V 64 Whitespace chase after bad copy+paste. Noticed by: John Baldwin END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-10T00:22:15.000000Z K 7 svn:log V 31 MFC: bwk's 01-May-2007 release END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-10T06:04:43.000000Z K 7 svn:log V 56 Properly regen src.conf(5). Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-10T15:05:04.000000Z K 7 svn:log V 22 MFC: Sync whitespace. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-10T16:59:14.000000Z K 7 svn:log V 69 For 7.0 make the shared lib "version" '3'. Approved by: re(kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:15.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_7'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:16.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:17.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:18.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:19.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:20.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:21.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:22.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:23.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:24.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:25.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:26.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:27.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:28.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:29.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:30.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:31.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:32.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:33.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:34.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:35.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:36.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:37.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-10T16:59:38.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-10T17:34:29.000000Z K 7 svn:log V 169 Remove file which was accidently repo-copied to the wrong destination file-name. The file will be nuked entirely from the repository later. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T04:28:08.000000Z K 7 svn:log V 85 To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T06:05:23.000000Z K 7 svn:log V 31 7.0-CURRENT -> 7.0-PRERELEASE. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T06:08:51.000000Z K 7 svn:log V 66 Adjust "make update" to use RELENG_7. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T06:20:27.000000Z K 7 svn:log V 180 Remove debugging support from GENERIC kernels, remove warning in UPDATING that says debugging support makes FreeBSD slower, and note RELENG_7 creation. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T06:22:30.000000Z K 7 svn:log V 74 Adjustments for RELENG_7 / CURRENT -> STABLE. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T06:26:19.000000Z K 7 svn:log V 49 Adjust for RELENG_7. Approved by: re (implicit) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-11T06:26:20.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T06:35:46.000000Z K 7 svn:log V 127 Turn on MALLOC_PRODUCTION which turns off some stuff used for debugging support. Reminded by: kris Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-10-11T12:34:40.000000Z K 7 svn:log V 94 I forgot to remove the -A flag in previous commit. Spotted by: ru Approved by: re (implicit) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-11T12:34:41.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-10-11T17:32:20.000000Z K 7 svn:log V 100 MFC: rev 1.6 declare struct tftphdr and embedded union as beeing packed, which is required for arm. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-10-11T17:58:28.000000Z K 7 svn:log V 113 Small change, this will allow this driver version to be used on 6.2 RELEASE, you simply won't get MSI/X support. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-11T18:51:44.000000Z K 7 svn:log V 16 MFC: less v408. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-11T18:54:35.000000Z K 7 svn:log V 20 Note less v408 MFC. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-11T20:11:27.000000Z K 7 svn:log V 139 Allow recursion on the 'zones' internal UMA zone. Submitted by: thompsa MFC after: 1 week Approved by: re (kensmith) Discussed with: jeff END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-11T20:20:39.000000Z K 7 svn:log V 98 MFC ifconfig.8 r1.138, ifconfig.c r1.131 Add the -n flag for disabling automatic module loading END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-11T20:23:33.000000Z K 7 svn:log V 140 MFC r1.17 Use the -n flag on ifconfig so that dhclient does not cause the kernel module to be reloaded when the interface is torn down. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-11T20:28:53.000000Z K 7 svn:log V 219 MFC if_bridge.c r1.103, if_bridge.4 r1.29 Allow additional packet filtering on the physical interface for locally destined packets, disabled by default. PR: kern/116051 Submitted by: Eygene Ryabinkin END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-11T20:29:41.000000Z K 7 svn:log V 14 Sync to HEAD. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-11T20:44:38.000000Z K 7 svn:log V 203 - Mention that less v408 was MFC'ed. - Mention tzdata2007h update. An in advance &merged; is added so that we don't have to change this again when it is actually MFC'ed. Approved by: re (bmah) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-11T20:45:06.000000Z K 7 svn:log V 209 MFC: - Mention that less v408 was MFC'ed. - Mention tzdata2007h update. An in advance &merged; is added so that we don't have to change this again when it is actually MFC'ed. Approved by: re (bmah) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-10-11T23:47:28.000000Z K 7 svn:log V 48 Fix SUBDIR expansion and reduce diff from HEAD. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-10-12T02:52:46.000000Z K 7 svn:log V 216 - After gcc 4.2 import, include/objc/objc-api.h requires objc-decls.h which we did not install. Install objc-decls.h to fix. PR: 116943 Reported by: beech Submitted by: vanilla on -current, kan MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-12T03:03:16.000000Z K 7 svn:log V 497 Fix two panics in lagg. 1. The locking was changed to shared but roundrobin mode still updated a pointer in the softc with the next tx interface to use. This will panic under high load. Change this to an atomically incremented sequence number in order to choose the tx port in round robin. 2. IFQ_HANDOFF will free the mbuf if the queue is full, this will then be freed again by lagg_start() and panic. Reorganised the error handling and freeing to fix this. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-12T03:32:55.000000Z K 7 svn:log V 1726 Not all VIA Rhine chips support 256 register space. So touching VR_STICKHW register would result in unexpected results on these hardwares. wpaul said the following for the issue. The vr_attach() routine unconditionally does this for all supported chips: /* * Windows may put the chip in suspend mode when it * shuts down. Be sure to kick it in the head to wake it * up again. */ VR_CLRBIT(sc, VR_STICKHW, (VR_STICKHW_DS0|VR_STICKHW_DS1)); The problem is, the VR_STICKHW register is not valid on all Rhine devices. The VT86C100A chip, which is present on the D-Link DFE-530TX boards, doesn't support power management, and its register space is only 128 bytes wide. The VR_STICKHW register offset falls outside this range. This may go unnoticed in most scenarios, but if you happen to have another PCI device in your system which is assigned the register space immediately after that of the Rhine, the vr(4) driver will incorrectly stomp it. In my case, the BIOS on my test board decided to put the register space for my PRO/100 ethernet board right next to the Rhine, and the Rhine driver ended up clobbering the IMR register of the PRO/100 device. (Long story short: the board kept locking up on boot. Took me the better part of the morning suss out why.) The strictly correct thing to do would be to check the PCI config space to make sure the device supports the power management capability and only write to the VR_STICKHW register if it does. Instead of inspecting chip revision numbers for the availability of VR_STICKHW register, check the existence of power management capability of the hardware as wpaul suggested. Reported by: wpaul Suggested by: wpaul OK'ed by: jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-12T03:41:54.000000Z K 7 svn:log V 1831 MFC if_vr.c, 1.127 to RELENG_7: Not all VIA Rhine chips support 256 register space. So touching VR_STICKHW register would result in unexpected results on these hardwares. wpaul said the following for the issue. The vr_attach() routine unconditionally does this for all supported chips: /* * Windows may put the chip in suspend mode when it * shuts down. Be sure to kick it in the head to wake it * up again. */ VR_CLRBIT(sc, VR_STICKHW, (VR_STICKHW_DS0|VR_STICKHW_DS1)); The problem is, the VR_STICKHW register is not valid on all Rhine devices. The VT86C100A chip, which is present on the D-Link DFE-530TX boards, doesn't support power management, and its register space is only 128 bytes wide. The VR_STICKHW register offset falls outside this range. This may go unnoticed in most scenarios, but if you happen to have another PCI device in your system which is assigned the register space immediately after that of the Rhine, the vr(4) driver will incorrectly stomp it. In my case, the BIOS on my test board decided to put the register space for my PRO/100 ethernet board right next to the Rhine, and the Rhine driver ended up clobbering the IMR register of the PRO/100 device. (Long story short: the board kept locking up on boot. Took me the better part of the morning suss out why.) The strictly correct thing to do would be to check the PCI config space to make sure the device supports the power management capability and only write to the VR_STICKHW register if it does. Instead of inspecting chip revision numbers for the availability of VR_STICKHW register, check the existence of power management capability of the hardware as wpaul suggested. Reported by: wpaul Suggested by: wpaul OK'ed by: jhb Approved by: re (kensmith) END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-10-12T03:56:27.000000Z K 7 svn:log V 231 Set the NFS server sockbuf high watermarks to the system defaults (up form 32KB). The low highwatermark setting caused UDP fullsock request drops, throttling thruput greatly. Reported by: Kris Kennaway Approved by: re@ (Ken Smith) END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-10-12T03:59:18.000000Z K 7 svn:log V 237 MFC : Set the NFS server sockbuf high watermarks to the system defaults (up form 32KB). The low highwatermark setting caused UDP fullsock request drops, throttling thruput greatly. Reported by: Kris Kennaway Approved by: re@ (Ken Smith) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-10-12T04:08:28.000000Z K 7 svn:log V 279 Correct the return values of the final zero-length block at EOF. Return EOF immediately if an entry in a ZIP archive has no body. In particular, the latter issue was causing bsdtar to emit spurious warnings when extracting directory entries from ZIP archives. MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-10-12T04:11:31.000000Z K 7 svn:log V 313 Correct the cpio writers to not accept data for non-regular files. In particular, the previous code led to archives that had non-empty bodies following directory entries. Not a fatal problem, as bsdtar and GNU cpio are both happy to just skip this bogus data, but it still shouldn't be there. MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-10-12T04:48:58.000000Z K 7 svn:log V 88 Note getfacl(1) changes Submitted by: Henrik Brix Andersen END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-12T04:51:30.000000Z K 7 svn:log V 28 Remove duplicate variables. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-12T04:53:23.000000Z K 7 svn:log V 111 Replace single rcvdata with 3 distinct to simplify code and reduce stack usage. Approved by: mentor (glebius) END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-12T04:54:43.000000Z K 7 svn:log V 104 Remove one unneded assertion. It is also checked in ng_l2tp_seq_check(). Approved by: glebius (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-12T04:56:26.000000Z K 7 svn:log V 62 Protect struct seq with mutex. Approved by: glebius (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-12T05:09:13.000000Z K 7 svn:log V 69 MFC rev. 1.18-1.21 - Fix thread safety. - Make some optimizations. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-12T05:23:00.000000Z K 7 svn:log V 487 Update ipw to work with the new net80211 stack, plus other driver improvements. - Add proper scanning support rather than letting the firmware grab the first access point - Overhaul state changes - Use macros for locking and provide _locked() versions of some functions - Increase debugging output - Use a callout rather than the old watchdog interface - Improve style, function names and defines - Add WPA (TKIP) support Based heavily on a patchset provided by Sam Leffler. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-10-12T06:03:46.000000Z K 7 svn:log V 39 Spelling fix for interupt -> interrupt END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-10-12T07:49:33.000000Z K 7 svn:log V 45 Fix the duplicate include stanza. PR: 117125 END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-12T07:58:08.000000Z K 7 svn:log V 38 Remove default (compressed) manpages. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-12T08:03:51.000000Z K 7 svn:log V 190 Though it was possible to configure our BIND to build even when libpthread support isn't present, our maintainer felt it's an overkill, so instead enforce the BIND dependency on libpthread. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-10-12T08:26:15.000000Z K 7 svn:log V 221 Bring in some new Sierra Wireless drivers running under pccard. (AC710/AC750/AC850/A550/A555/A710/A750) PR: kern/110190 Submitted by: Pascal Vizeli Approved by: imp (mentor) MFC After: 1 week END K 10 svn:author V 8 takawata K 8 svn:date V 27 2007-10-12T08:45:55.000000Z K 7 svn:log V 62 Add another zydas device: Planex GW-US54GD (a.k.a Dempaotoko) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-12T10:00:26.000000Z K 7 svn:log V 61 Remove unneeded debug printf that is broken on 64bit arches. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-10-12T10:24:21.000000Z K 7 svn:log V 114 MFC rev. 1.35: Deny attempt to malloc unbounded amount of the memory. Convert malloc()/bzero() to malloc(M_ZERO). END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-12T10:35:24.000000Z K 7 svn:log V 32 Style (whitespace-only) change. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-10-12T10:38:05.000000Z K 7 svn:log V 471 When pidfile is already locked and has zero length, do not return success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep up to three times for 5 ms while waiting for pidfile to be written. mount(8) does the kill(mountpid, SIGHUP). If mountd pidfile is truncated, that would result in the SIGHUP delivered to the mount' process group instead of the mountd. Found and analyzed by: Peter Holm Tested by: Peter Holm, kris Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-10-12T12:57:39.000000Z K 7 svn:log V 241 - After gcc 4.2 import, include/objc/objc-api.h requires objc-decls.h which we did not install. Install objc-decls.h to fix. PR: 116943 Reported by: beech Submitted by: vanilla on -current, kan Approved by: re (kensmith) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-10-12T14:55:41.000000Z K 7 svn:log V 199 Add pts/pty to the un-hidden devices for logins. This un-breaks logins to jailed environments when the system is using PTS style ptys (kern.pts.enable=1). Discussed with: rwatson MFc after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-10-12T14:56:52.000000Z K 7 svn:log V 1220 Revision 1.12 of lockf.c fixed a "thundering herd" scenario when the lock experienced contention a number of processes would race to acquire lock when it was released. This problem resulted in a lot of CPU load as well as locks being picked up out of order. Unfortunately, a regression snuck in which allowed multiple threads to pickup the same lock when -k was not used. This could occur when multiple processes open a file descriptor to inode X (one process will be blocked) and the file is unlinked on unlock (thereby removing the directory entry allow another process to create a new directory entry for the same file name and lock it). This changes restores the old algorithm of: wait for the lock, then acquire lock when we want to unlink the file on exit (specifically when -k is not used) and keeps the new algorithm for when -k is used, which yields fairness and improved performance. Also, update the man page to inform users that if lockf(1) is being used to facilitate concurrency between a number of processes, it is recommended that -k be used to reduce CPU load and yeld fairness with regard to lock ordering. Collaborated with: jdp PR: bin/114341 PR: bin/116543 PR: bin/111101 MFC after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-10-12T14:57:39.000000Z K 7 svn:log V 264 Add a signal handler for SIGINT to make sure that the PID file gets cleaned up upon receiving SIGINT. This un-breaks subsequent executions of ipfwpcap and helps when debugging network/divert issues like this: ipfwpcap -r 6000 - | tcpdump -r - MFC after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-10-12T14:58:34.000000Z K 7 svn:log V 472 Make sure that we refresh the PID on read(2) and write(2) operations. This fixes the process portion of the bpf(4) stats if the peer forks into the background after it's opened the descriptor. This bug results in the following behavior for netstat -B: # netstat -B Pid Netif Flags Recv Drop Match Sblen Hblen Command netstat: kern.proc.pid failed: No such process 78023 em0 p--s-- 2237404 43119 2237404 13986 0 ?????? MFC after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-10-12T15:09:02.000000Z K 7 svn:log V 630 - Change the wakeup logic associated with having multiple sleepers on multiple different audit pipes. The old method used cv_signal() which would result in only one thread being woken up after we appended a record to it's queue. This resulted in un-timely wake-ups when processing audit records real-time. - Assign PSOCK priority to threads that have been sleeping on a read(2). This is the same priority threads are woken up with when they select(2) or poll(2). This yields fairness between various forms of sleep on the audit pipes. Obtained from: TrustedBSD Project Discussed with: rwatson MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-12T15:12:17.000000Z K 7 svn:log V 268 Stage RELENG_7 release documentation to the correct directory. Technically, "7-STABLE" isn't the right name for this directory but it will be after 7.0-RELEASE, and naming the directory this way means we don't have to go fix it up later. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-12T15:35:56.000000Z K 7 svn:log V 66 Bump version numbers to reflect that HEAD represents 8.0-CURRENT. END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-10-12T16:35:36.000000Z K 7 svn:log V 390 Teach /etc/rc.d/ppp to start multiple instances of ppp. ppp_profile variable can now contain multiple profiles. Overrides for ppp mode and nat can go into ppp_$profile_mode and ppp_$profile_nat variables respectively. If those are not specified, defaults from ppp_mode and ppp_nat are used. Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru > Reviewed by: mtm MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-12T16:51:22.000000Z K 7 svn:log V 89 Deferred interrupts don't work yet, disable them. Submitted by: Manjunath Ranganathaiah END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-12T16:52:55.000000Z K 7 svn:log V 77 Play better with CAM so that there aren't so many spurious warnings at boot. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-12T16:54:51.000000Z K 7 svn:log V 94 For some blasted reason the SATA WC change frees a structure right in the middle of using it. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-12T17:03:41.000000Z K 7 svn:log V 97 Fix a mistake made in the MPSAFE commit that caused CAM to serialize requests to the controller. END K 10 svn:author V 2 ps K 8 svn:date V 27 2007-10-12T17:09:43.000000Z K 7 svn:log V 98 Do not attempt to make an NFS rpc call if using tftp PR: kern/91720 Submitted by: Ruben Kerkhof END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-12T17:49:12.000000Z K 7 svn:log V 19 Welcome FreeBSD 8. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-12T18:03:00.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-12T18:14:41.000000Z K 7 svn:log V 39 Minor tweak to finding BEG/END source. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-12T18:15:40.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-12T18:16:35.000000Z K 7 svn:log V 16 Adjust HISTORY. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-12T19:03:03.000000Z K 7 svn:log V 109 Import less v409, fixes a rather serious bug which causes crashes when searching for invalid UTF-8 sequence. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-10-12T19:03:03.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r172597, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-12T19:03:04.000000Z K 7 svn:log V 73 This commit was manufactured by cvs2svn to create tag 'less-vendor-v409'. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-10-12T19:12:21.000000Z K 7 svn:log V 676 NFS MP scaling changes. - Eliminate the hideous nfs_sndlock that serialized NFS/TCP request senders thru the sndlock. - Institute a new nfs_connectlock that serializes NFS/TCP reconnects. Add logic to wait for pending request senders to finish sending before reconnecting. Dial down the sb_timeo for NFS/TCP sockets to 1 sec. - Break out the nfs xid manipulation under a new nfs xid lock, rather than over loading the nfs request lock for this purpose. - Fix some of the locking in nfs_request. Many thanks to Kris Kennaway for his help with this and for initiating the MP scaling analysis and work. Kris also tested this patch thorougly. Approved by: re@ (Ken Smith) END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-10-12T19:18:46.000000Z K 7 svn:log V 681 MFC: NFS MP scaling changes. - Eliminate the hideous nfs_sndlock that serialized NFS/TCP request senders thru the sndlock. - Institute a new nfs_connectlock that serializes NFS/TCP reconnects. Add logic to wait for pending request senders to finish sending before reconnecting. Dial down the sb_timeo for NFS/TCP sockets to 1 sec. - Break out the nfs xid manipulation under a new nfs xid lock, rather than over loading the nfs request lock for this purpose. - Fix some of the locking in nfs_request. Many thanks to Kris Kennaway for his help with this and for initiating the MP scaling analysis and work. Kris also tested this patch thorougly. Approved by: re@ (Ken Smith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-12T19:37:47.000000Z K 7 svn:log V 82 MFC: 1.68: Enforce the BIND dependency on libpthread. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-12T19:38:39.000000Z K 7 svn:log V 121 MFC: Use the correct pid when checking to see whether or not the /proc/ directory is visible to the current thread. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-12T19:47:42.000000Z K 7 svn:log V 1187 The ukbd driver has some questionable "magic" to for a default keyboard which is ukbd0. Specifically, the keyboard driver structures for ukbd0 are not allocated/freed but are statically allocated via a persistent global variable. There is some additional magic for the ukbd0 such that if the keyboard is marked as probed in this global variable, then we don't check to see if the device_t we are probing has an interface. This causes a problem if an attach of ukbd0 fails without fulling clearing the state in the global variable. Specifically, if the keyboard fails to initialize in init_keyboard() or kbd_register(), then the keyboard will still be marked as probed. The USB layer will then try to offer the "generic" version of the USB keyboard device (as opposed to the per-interface sub-devices) and the ukbd(4) driver will see that the keyboard is marked probe and will skip the "is this a per-interface device" check. Later in ukbd_attach() it panics because it tries to dereference the interface pointer which is NULL. The fix is to clear the flags in the persistent keyboard data for ukbd0 when init_keyboard() or kbd_register() fail. MFC after: 1 week Reviewed by: imp END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-12T22:11:22.000000Z K 7 svn:log V 68 Add a bunch of definitions and structures to support newer drivers. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-12T22:18:56.000000Z K 7 svn:log V 46 Add definitions for the 3rd ATA support word. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-13T00:24:09.000000Z K 7 svn:log V 83 Fix a NULL pointer dereference in Tx checksum calculation. Pointed out by: marius END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2007-10-13T05:45:45.000000Z K 7 svn:log V 166 Add NOP-message polling to ciss_periodic(). Disable adapter by detecting adapter is dead. Tested by: Masaki YATSU(on RELENG_6) Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-13T05:50:43.000000Z K 7 svn:log V 89 Back out last commit -- it breaks sparc64 build which has more than one .c file in SRCS. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-10-13T06:03:47.000000Z K 7 svn:log V 54 Describe an error return that was missed out earlier. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-13T11:09:45.000000Z K 7 svn:log V 65 Minor mdoc cleanup: Every sentence should start on its own line. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-10-13T11:30:19.000000Z K 7 svn:log V 177 I don't know what I was smoking when I wrote these three years ago; the return value is an error code, hence always an int. While I'm here, add getenv_uint() for completeness. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-10-13T12:04:10.000000Z K 7 svn:log V 92 Define _ARM_ARCH_5E too, so that we know if pld/strd/ldrd are available. MFC After: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-10-13T12:05:03.000000Z K 7 svn:log V 108 Do not use __XSCALE__ to detect if pld/strd/ldrd is available, use _ARM_ARCH_5E instead. MFC After: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-10-13T12:05:36.000000Z K 7 svn:log V 97 Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead. MFC After: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-10-13T12:06:31.000000Z K 7 svn:log V 135 MFKernel: do not use __XSCALE__ to detect if clz/pld/ldrd/strd are available, use _ARM_ARCH_5/_ARM_ARCH_5E instead. MFC After: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2007-10-13T12:14:20.000000Z K 7 svn:log V 82 Rewrite puc_pci_match() to handle non-trivial cases correctly. MFC after: 1 week END K 10 svn:author V 8 deischen K 8 svn:date V 27 2007-10-13T14:40:16.000000Z K 7 svn:log V 86 Remove symbols that should not be exported. Submitted by: das MFC after re@ approval END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-10-13T16:28:22.000000Z K 7 svn:log V 957 The problem is: currently our single byte ctype(3) functions are broken for wide characters locales in the argument range >= 0x80 - they may return false positives. Example 1: for UTF-8 locale we currently have: iswspace(0xA0)==1 and isspace(0xA0)==1 (because iswspace() and isspace() are the same code) but must have iswspace(0xA0)==1 and isspace(0xA0)==0 (because there is no such character and all others in the range 0x80..0xff for the UTF-8 locale, it keeps ASCII only in the single byte range because our internal wchar_t representation for UTF-8 is UCS-4). Example 2: for all wide character locales isalpha(arg) when arg > 0xFF may return false positives (must be 0). (because iswalpha() and isalpha() are the same code) This change address this issue separating single byte and wide ctype and also fix iswascii() (currently iswascii() is broken for arguments > 0xFF). This change is 100% binary compatible with old binaries. Reviewied by: i18n@ END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-13T22:30:41.000000Z K 7 svn:log V 187 revert 1.18: the negotiated rate set may not match the hal rate tables, so using the hal's rateCodeToIndex array will produce wrong indices for the negotiated rate set MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-10-14T00:52:30.000000Z K 7 svn:log V 474 Fix id -A when the subject has an extended subject token associated with them (for example when they have logged in from an ip6 source). - Stick with the initial call to getaudit(2), if it returns E2BIG, use getaudit_addr(2) instead and set the "extended" flag to indicate that we the calling credential has an extended subject state. - Additionally, add the printing of the machine/at_addr (the ip/ip6 addresses) MFC after: 1 week Obtained from: TrustedBSD Project END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-10-14T02:18:52.000000Z K 7 svn:log V 59 Add comment stating that UCS-4 really used here, not UTF-8 END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-10-14T07:46:49.000000Z K 7 svn:log V 46 Document quotachecks use of the passno field. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-14T07:58:50.000000Z K 7 svn:log V 151 Print the ZFS ereport to the console if vfs.zfs.debug is set to help diagnose problems with zfs-on-root since devd isnt running yet. Reviewed by: pjd END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-10-14T08:52:29.000000Z K 7 svn:log V 123 o Pablo Picasso's birthday is October 25 not October 5. PR: conf/116952 Submitted by: Pablo Picasso END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-10-14T08:58:01.000000Z K 7 svn:log V 71 MFC rev.1.108: fix the issue when "ipfw(8) show" produces "not" twice. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-10-14T09:12:46.000000Z K 7 svn:log V 98 o Fix a typo in ipfw table usage example. PR: docs/117172 Submitted by: novel MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-14T09:51:19.000000Z K 7 svn:log V 115 Remove ng_pppoe_sendpacket() function to simplify code as it is called as much times as it has cases inside of it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-14T09:58:22.000000Z K 7 svn:log V 105 Split ng_pppoe_rcvdata() function into three hook-specific ones to simplify code and reduce stack usage. END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-10-14T10:23:54.000000Z K 7 svn:log V 87 Back out iswascii change from prev. commit, iswascii was right, some overlook from me. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-10-14T10:45:31.000000Z K 7 svn:log V 1334 Import OpenBSD's sysctl hardware sensors framework. This commit includes the following core components: * sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * * HW_SENSORS definition for * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today. All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`. Submitted by: Constantine A. Murenin Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-10-14T10:55:50.000000Z K 7 svn:log V 284 Import it(4) and lm(4), supporting most popular Super I/O Hardware Monitors. Submitted by: Constantine A. Murenin Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-10-14T10:59:44.000000Z K 7 svn:log V 295 Convert coretemp(4) to the hardware sensors framework and make sure to never call sched_bind() for uninitialised CPUs. Submitted by: Constantine A. Murenin Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith END K 10 svn:author V 6 daichi K 8 svn:date V 27 2007-10-14T13:37:52.000000Z K 7 svn:log V 209 Log: Improved access permission check treatments. Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2007-10-14T13:42:05.000000Z K 7 svn:log V 194 Changed it frees unneeded memory ASAP. Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2007-10-14T13:44:06.000000Z K 7 svn:log V 252 Added treatments to prevent readdir infinity loop using with Linux binary compatibility feature. Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2007-10-14T13:46:11.000000Z K 7 svn:log V 430 - Added support for vfs_cache on unionfs. As a result, you can use applications that use procfs on unionfs. - Removed unionfs internal cache mechanism because it has vfs_cache support instead. As a result, it just simplified code of unionfs. - Fixed kern/111262 issue. Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2007-10-14T13:47:44.000000Z K 7 svn:log V 251 Fixed vnode unlock/vrele untreated issues whenever errors have occurred during some treatments. Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2007-10-14T13:49:30.000000Z K 7 svn:log V 348 - It has been become MPSAFE. - Fixed lock panic issue under MPSAFE. - Fixed panic issue whenever it locks vnode with reclaim. - Fixed lock implementations not conforming to vnode_if.src style. Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2007-10-14T13:50:58.000000Z K 7 svn:log V 232 Added NULL check code pointed out by Coverity. (via Stanislav Sedov. Thanks) Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week END