ƒ±6148194 170 889 779 474 208 164 525 724 286 279 119 142 126 165 136 119 102 268 408 164 254 159 125 131 163 200 180 173 201 196 154 441 175 294 156 134 199 160 493 142 130 113 118 2042 610 332 178 280 185 238 241 278 273 210 452 129 193 261 252 401 159 246 379 241 445 252 258 217 146 269 291 167 446 145 159 541 189 181 155 123 282 137 110 229 117 268 470 185 139 155 156 216 148 164 188 304 123 177 193 251 163 164 128 151 279 293 189 2175 149 182 290 137 188 145 141 226 144 168 449 318 183 172 294 303 216 145 494 289 120 120 198 174 381 269 225 297 166 1315 782 313 1944 339 299 765 154 342 466 995 182 423 445 191 299 226 164 2161 704 323 140 1416 210 355 112 181 1301 286 517 164 271 457 268 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-20T18:47:42.000000Z K 7 svn:log V 792 Further UMA statistics related changes: - Add a new uma_zfree_internal() flag, ZFREE_STATFREE, which causes it to to update the zone's uz_frees statistic. Previously, the statistic was updated unconditionally. - Use the flag in situations where a "real" free occurs: i.e., one where the caller is freeing an allocated item, to be differentiated from situations where uma_zfree_internal() is used to tear down the item during slab teardown in order to invoke its fini() method. Also use the flag when UMA is freeing its internal objects. - When exchanging a bucket with the zone from the per-CPU cache when freeing an item, flush cache statistics back to the zone (since the zone lock and critical section are both held) to match the allocation case. MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-07-20T18:56:21.000000Z K 7 svn:log V 685 MFC to RELENG_6 kbdmux(4) keyboard multiplexer integration o Add two new ioctl's KBADDKBD and KBRELKBD. These are used to add and remove keyboard to (and from) kbdmux(4) keyboard multiplexer; o Introduce new kbd_find_keyboard2() function. It does exactly the same job as kbd_find_keyboard() function except it allows to specify starting index. This function can be used to iterate over keyboards array; o Re-implement kbd_find_keyboard() as call to kbd_find_keyboard2() with starting index of zero; o Make sure syscons(4) passed KBADDKBD and KBRELKBD ioctl's onto currently active keyboard. These changes should not have any visible effect. Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-07-20T18:58:27.000000Z K 7 svn:log V 378 Prevent a race condition. As pf_send_tcp() - called for expired synproxy states - has to drop the lock when calling back to ip_output(), the state purge timeout might run and gc the state. This results in a rb-tree inconsistency. With this change we flag expiring states while holding the lock and back off if the flag is already set. Reported by: glebius MFC after: 2 weeks END K 10 svn:author V 5 marks K 8 svn:date V 27 2005-07-20T18:59:25.000000Z K 7 svn:log V 113 snapinfo -- show snapshot location on UFS file systems Glanced over by: kan Review by: ru (snapshot.8) MFC: TBD END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-20T18:59:26.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-07-20T19:05:23.000000Z K 7 svn:log V 430 MFC to RELENG_6. Fix the "..." special command. If this command is found all further commands for this target are appended to the .END target instead of beeing executed now. They are executed when the graph is finished. There was a bug with executing the .END target which came in when doing conversion to LST_FOREACH() which caused make to dump core. PR: bin/83698 Submitted by: Max Okumoto Approved by: re END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-07-20T19:06:06.000000Z K 7 svn:log V 631 Eliminate inconsistency in the setting of the B_DONE flag. Specifically, make the b_iodone callback responsible for setting it if it is needed. Previously, it was set unconditionally by bufdone() without holding whichever lock is shared by the b_iodone callback and the corresponding top-half function. Consequently, in a race, the top-half function could conclude that operation was done before the b_iodone callback finished. See, for example, aio_physwakeup() and aio_fphysio(). Note: I don't believe that the other, more widely-used b_iodone callbacks are affected. Discussed with: jeff Reviewed by: phk MFC after: 2 weeks END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-07-20T19:16:25.000000Z K 7 svn:log V 191 MFC 1.123 Fix a longstanding bug with the .END target. Need to pass the ENDNode to the Run function instead of some random node. PR: bin/83698 Submitted by: Max Okumoto END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-07-20T19:42:51.000000Z K 7 svn:log V 182 Clear the PROMISC flag from the vlan interface when we remove a member. We checked for IFT_L2VLAN in bridge_ioctl_add() but not bridge_delete_member(). Approved by: mlaier (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-20T19:49:36.000000Z K 7 svn:log V 27 Add rc files for RELENG_6. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-20T19:50:29.000000Z K 7 svn:log V 50 Include RELENG_5_4 and RELENG_5. Chuck out ia64. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-20T19:51:13.000000Z K 7 svn:log V 34 Include RELENG_4_11 and RELENG_4. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-20T19:58:47.000000Z K 7 svn:log V 73 Use 'HEAD' instead of 'CURRENT', while retaining backward compatibility. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-20T19:59:46.000000Z K 7 svn:log V 44 CURRENT -> HEAD, and dump ia64 and powerpc. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-20T20:00:51.000000Z K 7 svn:log V 27 Remove redundant rc files. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-20T20:01:37.000000Z K 7 svn:log V 10 Catch up. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-20T20:02:28.000000Z K 7 svn:log V 175 do not hardcode if_mtu values in here, except for IFT_{ARC,FDDI} - they need special handling. makes it possible to take advantage of 9k ether frames. Obtained from: NetBSD END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-07-20T21:10:57.000000Z K 7 svn:log V 312 Add the latest r300 code from r300.sf.net. This is based on the patch supplied by Vladimir Dergachev for inclusion in DRM CVS, with minor modifications for FreeBSD CVS and the appropriate license from Nicolai Haehnle on r300_reg.h. Fixes hangs when using r300.sf.net userland, tested on a Radeon 9600 on amd64. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-20T21:10: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 6 jcamou K 8 svn:date V 27 2005-07-20T22:22:53.000000Z K 7 svn:log V 158 Document config-recursive target. PR: docs/82586 Submitted by: Imobach González Sosa Approved by: trhodes (mentor) MFC after: 1 week END K 10 svn:author V 5 marks K 8 svn:date V 27 2005-07-20T22:35:44.000000Z K 7 svn:log V 65 Document -b flag of dhclient. Reviewed by: ru MFC after: 3 days END K 10 svn:author V 5 marks K 8 svn:date V 27 2005-07-20T22:53:57.000000Z K 7 svn:log V 31 Connect snapinfo to the build. END K 10 svn:author V 5 marks K 8 svn:date V 27 2005-07-20T23:12:54.000000Z K 7 svn:log V 37 Bump document date. Reminded by: ru END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-07-21T00:18:28.000000Z K 7 svn:log V 70 Fix smbios(4) and add support for amd64 Approved by: anholt (mentor) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-07-21T03:32:29.000000Z K 7 svn:log V 104 Make sure /etc/fstab is written out for Apple-partitioned drives reviewed by: scottl MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-07-21T03:33:19.000000Z K 7 svn:log V 85 Recognise GEM ethernet adapter (sparc64/ppc). reviewed by: scottl MFC after: 3 days END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-07-21T05:02:39.000000Z K 7 svn:log V 77 Break long lines and kill a few instances of EOL whitespace. Noticed by: ru END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-21T06:21:52.000000Z K 7 svn:log V 105 Add COMPATIBILITY and HISTORY sections. Fix an -mdoc error. Cross-reference pmclog(3). Reviewed by: ru END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-21T06:42:30.000000Z K 7 svn:log V 100 Catch with the source code. Sort a list alphabetically. Add a HISTORY section. MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-21T06:44:54.000000Z K 7 svn:log V 59 Add COMPATIBILITY and HISTORY sections. MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-07-21T08:32:56.000000Z K 7 svn:log V 348 In 2003, a -s flag was added to ministat to separate the avg/median/stddev bars onto separate lines for readability if the ranges overlapped. In 2005, ministat was extended to support more than 2 datasets, but the -s code was not updated. It will coredump if run with -s and >2 sets. PR: 82909 Submitted by: Dan Nelson END K 10 svn:author V 5 bruno K 8 svn:date V 27 2005-07-21T08:46:20.000000Z K 7 svn:log V 81 MFC 1.14: bring up cpufreq interface up to date. Approved by: njl, imp (mentor) END K 10 svn:author V 5 bruno K 8 svn:date V 27 2005-07-21T08:50:26.000000Z K 7 svn:log V 199 MFC: update acpi to current cpufreq interface, add the acpi_perf cpufreq driver. Do not include yet thermal stuff from ume@ since this need more testing in -current. Approved by: njl, imp (mentor) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-07-21T08:55:46.000000Z K 7 svn:log V 64 Fix example. Submitted by: "Andrew Smith" END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-07-21T09:00:51.000000Z K 7 svn:log V 42 Add some KASSERTS to catch null pointers. END K 10 svn:author V 5 bruno K 8 svn:date V 27 2005-07-21T09:20:10.000000Z K 7 svn:log V 104 MFC: add all other cpufreq specific drivers that do not belong to acpi. Approved by: njl, imp (mentor) END K 10 svn:author V 5 bruno K 8 svn:date V 27 2005-07-21T09:35:33.000000Z K 7 svn:log V 66 MFC: Import the powerd(8) daemon. Approved by: njl, imp (mentor) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-07-21T09:48:37.000000Z K 7 svn:log V 400 Make the facility for recognizing BIOS-signatures more general and return a printable representation. This fixes recognition of the PC Engines WRAP and improves the recognition of the Soekris boards (Bios version can now be seen in the dmesg output for instance). Also, add watchdog support for PCM-582x platforms. Submitted by: Adrian Steinmann Slightly changed by: phk PR: 81360 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-07-21T10:27:45.000000Z K 7 svn:log V 50 Add COMPATIBILITY and HISTORY sections. Fix typo. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-07-21T10:32:17.000000Z K 7 svn:log V 38 Add cross-reference to nextwctype(3). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-07-21T10:53:27.000000Z K 7 svn:log V 21 Add HISTORY section. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-07-21T11:13:12.000000Z K 7 svn:log V 25 MFi386: revision 1.1204. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-07-21T12:08:37.000000Z K 7 svn:log V 1944 Problem description: At the end of ng_snd_item(), node queue is processed. In certain netgraph setups deep recursive calls can occur. For example this happens, when two nodes are connected and can send items to each other in both directions. If, for some reason, both nodes have a lot of items in their queues, then the processing thread will recurse between these two nodes, delivering items left and right, going deeper in the stack. Other setups can suffer from deep recursion, too. The following factors can influence risk of deep netgraph call: - periodical write-access events on node - combination of slow link and fast one in one graph - net.inet.ip.fastforwarding Changes made: - In ng_acquire_{read,write}() do not dequeue another item. Instead, call ng_setisr() for this node. - At the end of ng_snd_item(), do not process queue. Call ng_setisr(), if there are any dequeueable items on node queue. - In ng_setisr() narrow worklist mutex holding. - In ng_setisr() assert queue mutex. Theoretically, the first two changes should negatively affect performance. To check this, some profiling was made: 1) In general real tasks, no noticable performance difference was found. 2) The following test was made: two multithreaded nodes and one single-threaded were connected into a ring. A large queues of packets were sent around this ring. Time to pass the ring N times was measured. This is a very vacuous test: no items/mbufs are allocated, no upcalls or downcalls outside of netgraph. It doesn't represent a real load, it is a stress test for ng_acquire_{read,write}() and item queueing functions. Surprisingly, the performance impact was positive! New code is 13% faster on UP and 17% faster on SMP, in this particular test. The problem was originally found, described, analyzed and original patch was written by Roselyn Lee from Vernier Networks. Thanks! Submitted by: Roselyn Lee END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-21T12:25:40.000000Z K 7 svn:log V 513 Merge ifconfig.8:1.98, ifconfig.c:1.115, ifconfig.h:1.17, ifieee80211.c:1.19 from HEAD to RELENG_6: Add a new flag '-k' to ifconfig(8), indicating that it is alright to print potentially sensitive keying material to stdout. With the new 802.11 support, ifconfig(8) is now capable of printing 802.11 keys, and did by default for the root user, which is undesirable in some environments. Now it will not print keying material unless requested (and available to the user). Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-07-21T12:31:42.000000Z K 7 svn:log V 235 Enhance struct ng_hook - add hk_type field. This field will describe data link type of the hook. It will be used to ease autoconfiguration of netgraph and also to print warning messages, when incompatoble nodes are connected together. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-07-21T12:32:52.000000Z K 7 svn:log V 82 Bump NG_ABI_VERSION. A number of ABI breakeges had been done since RELENG_5 fork. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-07-21T13:23:23.000000Z K 7 svn:log V 184 Fixing an off-by-one error which results in 'ugidfw list' to complain about "Data error in security.mac.bsdextended.rules.N: Unknown error: 0." Reviewed by: rwatson MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-21T14:57:53.000000Z K 7 svn:log V 93 NULL is not zero. Submitted by: Keiichi SHIMA Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-21T15:06:32.000000Z K 7 svn:log V 145 be consistent on naming advanced API functions; use ip6_XXXpktopt(s). Submitted by: Keiichi SHIMA Obtained from: KAME END K 10 svn:author V 3 pav K 8 svn:date V 27 2005-07-21T15:17:54.000000Z K 7 svn:log V 148 - Mention special behaviour of init(8) when kern_securelevel="0" Suggested by: Miroslav Lachman <000.fbsd@quip.cz> Approved by: cperciva (src hat) END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-07-21T16:12:35.000000Z K 7 svn:log V 185 Interpret correctly the glob(3) return value. Previously, interactive commands specifying a non-existent file or directory used to display an "out of memory error". MFC after: 2 weeks END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-07-21T16:19:02.000000Z K 7 svn:log V 181 MFC: rev 1.127 Fix for a NFS soft mounts bug where if the number of retries exceeds the max rexmits, the request was not being bounced back with a ETIMEDOUT error. Approved by: re END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-07-21T16:19:08.000000Z K 7 svn:log V 116 Fix kernel panic with vkbd(4). Initialize mutex properly (set name), or else WITNESS gets upset. MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-21T16:32:50.000000Z K 7 svn:log V 359 simplified udp6_output() and rip6_output(): do not override in6p_outputopts at the entrance of the functions. this trick was necessary when we passed an in6 pcb to in6_embedscope(), within which the in6p_outputopts member was used, but we do not use this kind of interface any more. Submitted by: Keiichi SHIMA Obtained from: KAME END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-21T16:33:05.000000Z K 7 svn:log V 37 Fix a typo and some whitespace nits. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-21T16:34:14.000000Z K 7 svn:log V 100 Use get_cyclecount() rather than hardcoding rdtsc and rpcc in asm for i386 and alpha, respectively. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-21T16:39:23.000000Z K 7 svn:log V 168 always copy ip6_pktopt. remove needcopy and needfree argument/structure member accordingly. Submitted by: Keiichi SHIMA Obtained from: KAME END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-21T16:40:07.000000Z K 7 svn:log V 154 Forced commit to note the RELENG_6 branch tag was added to this file so it can be part of the 6.0 release. Requested by: emax Approved by: re (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-21T16:40:08.000000Z K 7 svn:log V 308 Remove conditional code that has largely rotted that is also not on by default: - TULIP_NEED_FASTTIMEOUT - tulip_fasttimeout() wasn't called anywhere - BIG_PACKET - only worked on i386 anyway - TULIP_USE_SOFTINTR - doesn't compile and was never updated to handle new netisr registration - non-FreeBSD code END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-07-21T16:40:40.000000Z K 7 svn:log V 67 Remove the vttest program. It lives in ports/sysutils/vttest now. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-21T16:41:18.000000Z K 7 svn:log V 148 Forced commit to note the RELENG_6 branch tag was added so this file can be part of the 6.0 release. Requested by: emax Approved by: re (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-21T16:42:21.000000Z K 7 svn:log V 286 Don't set if_start to tulip_ifstart all over the place. It is already set in tulip_attach() and its value is never changed, so all the extra sets are redundant. I'm guessing that at some point in time de(4) had an alternate start routine, but that hasn't been true in recent history. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-21T16:43:07.000000Z K 7 svn:log V 148 - Use the PCIR_BAR() macro rather than hardcoding rids. - Use pci_enable_busmaster() rather than fiddling with the PCI command register directly. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-07-21T17:04:02.000000Z K 7 svn:log V 351 MFC to RELENG_6 kbdmux(4) keyboard multiplexer integration o Teach kbdcontrol(1) how to attach/detach keyboards to/from the keyboard multiplexor; o Update kbdcontrol(1) man page and document new functionality. To attach/detach keyboard to/from keyboard multiplexor one needs to use keyboard device name (i.e. ukbd0). Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-21T17:09:24.000000Z K 7 svn:log V 154 Forced commit to note the RELENG_6 branch tag was added to this file so it can be part of the 6.0 release. Requested by: emax Approved by: re (implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-21T17:17:51.000000Z K 7 svn:log V 161 Remove duplicate initialization of mpo_create_stub pointer. PR: 83779 Submitted by: Wojciech A. Koszek MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-07-21T17:47:27.000000Z K 7 svn:log V 123 MFC to RELENG_6 kbdmux(4) keyboard multiplexer integration o Hook up kbdmux(4) to the build. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-07-21T20:34:40.000000Z K 7 svn:log V 50 Catch up with netgraph.h rev. 1.57 and fix build. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-07-21T21:46:09.000000Z K 7 svn:log V 174 Actually create the double fault stack page for AP cpus so that we have a chance of getting a working double fault instead of converting it to an instant triple fault reset. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-07-21T21:55:11.000000Z K 7 svn:log V 196 Add the ed driver for lint building. The PCI instances are still useful. In theory, there are no isa slots on any amd64/em64t systems, but it doesn't hurt to keep these tiny fragments compiling. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-07-21T21:57:31.000000Z K 7 svn:log V 73 MFi386: add vpd driver (vital product data.. model & serial numbers etc) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-21T22:01:06.000000Z K 7 svn:log V 349 Allocate one of the spare ifnet integer fields to hold if_drv_flags, which in the future will hold IFF_OACTIVE and IFF_RUNNING, and have its access synchronized by the device driver rather than the protocol stack. This will avoid potential races in the management of flags in if_flags. Discussed with: various (scottl, jhb, ...) MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-07-21T22:15:37.000000Z K 7 svn:log V 49 Fix cut-n-paste error, introduced in rev. 1.103. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-07-21T22:35:02.000000Z K 7 svn:log V 65 Like on i386, bypass lock prefix for atomic ops on !SMP kernels. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-07-21T22:46:56.000000Z K 7 svn:log V 449 Remove the NFS client rslock. The rslock was used to serialize writers that want to extend the file. It was also used to serialize readers that might want to read the last block of the file (with a writer extending the file). Now that we support vnode locking for NFS, the rslock is unnecessary. Writers grab the exclusive vnode lock before writing and readers grab the shared (or in some cases the exclusive) lock. Submitted by: Mohan Srinivasan END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-07-21T22:47:34.000000Z K 7 svn:log V 94 - Reword a sentence - Grammar fixes - s/CAVEAT/CAVEATS/ Approved by: simon MFC after: 3 days END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-07-21T22:50:31.000000Z K 7 svn:log V 86 - Fix spelling of 'multiplexer' - Grammar fixes Approved by: simon MFC after: 3 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-07-22T00:28:22.000000Z K 7 svn:log V 59 Fix two small grammar mistakes. Approved by: das (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-07-22T00:38:55.000000Z K 7 svn:log V 28 Minor comment re-alignment. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-07-22T00:57:04.000000Z K 7 svn:log V 186 Embellish the dependency lists - this script depends having awk(1), and it needs syslogd due to using logger(1). Have it run as early as possible to save battery power for laptop users. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-07-22T00:57:37.000000Z K 7 svn:log V 42 This depends on syslogd due to logger(1). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-07-22T04:03:25.000000Z K 7 svn:log V 15 Fix $FreeBSD$. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T04:55:40.000000Z K 7 svn:log V 136 use IF_HANDOFF when bridging frames internally so if_start gets called; fixes communication between associated sta's MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T05:15:53.000000Z K 7 svn:log V 25 remove excess whitespace END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T05:17:52.000000Z K 7 svn:log V 175 send a response when an auth request is denied due to an acl; might be better to silently ignore the frame but this way we give stations a chance of figuring out what's wrong END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-07-22T05:49:41.000000Z K 7 svn:log V 376 Fix ndisgen(8) for amd64 - file(1) does not recognize UTF-16 encoded .INF file: netbc564.inf: MPEG ADTS, layer I, v1, 96 kBits, 32 kHz, Stereo Use egrep(1) to match two strings, i. e., `Signature' and `Class=Net'. - Fix linking failure. Generate a temporary Makefile to emluate official kernel module build process. - Some minor typo/style fixes. Reviewed by: obrien END K 10 svn:author V 5 bruno K 8 svn:date V 27 2005-07-22T06:58:04.000000Z K 7 svn:log V 91 MFC: cpufreq man pages updates, revs 1.6 through 1.11. Approved by: ru, njl, imp (mentor) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-07-22T10:35:34.000000Z K 7 svn:log V 46 Correct some spelling and grammatical errors. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-07-22T10:35:35.000000Z K 7 svn:log V 64 Require that DESTDIR be set before running "make distribution". END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-07-22T10:45:50.000000Z K 7 svn:log V 63 Use "FreeBSD/i386" over "FreeBSD/ia32" to avoid any confusion. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-07-22T11:27:07.000000Z K 7 svn:log V 124 Don't drop frames if interface is in promiscuous mode. PR: kern/83833 Submitted by: Eygene A. Ryabinkin MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-07-22T15:01:07.000000Z K 7 svn:log V 57 Fix build (including both asm.h and asmacros.h is evil). END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-07-22T16:02:40.000000Z K 7 svn:log V 73 Fallout from the previous revision: lnc isn't quite ready for amd64 yet. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-07-22T16:29:51.000000Z K 7 svn:log V 93 MFC rev 1.55: Check the correct IDs for the Dell PERC3/S/Di filter driver. Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T16:36:12.000000Z K 7 svn:log V 211 Diff reduction against p4: o add ic_flags_ext for eventual extention of ic_flags o define/reserve flag+capabilities bits for superg, bg scan, and roaming support o refactor debug msg macros MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T16:37:56.000000Z K 7 svn:log V 31 add flags missed in last merge END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T16:50:18.000000Z K 7 svn:log V 85 diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use it instead of -1 END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T16:55:27.000000Z K 7 svn:log V 100 o add IEEE80211_FRAG_DEFAULT o move default settings for RTS and frag thresholds to ieee80211_var.h END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:00:48.000000Z K 7 svn:log V 158 o add IEEE80211_IOC_FRAGTHRESHOLD for getting+setting the tx fragmentation threshold o fix bounds checking on IEEE80211_IOC_RTSTHRESHOLD MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:08:38.000000Z K 7 svn:log V 71 split data frame delivery out to a new function ieee80211_deliver_data END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:12:05.000000Z K 7 svn:log V 72 add diag msgs for frames discarded because the direction field is wrong END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:13:44.000000Z K 7 svn:log V 36 include device name in discard msgs END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:16:37.000000Z K 7 svn:log V 59 missed one in last commit; add device name to discard msgs END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-22T17:19:05.000000Z K 7 svn:log V 181 Bump the shared library version number of all libraries that have not been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:21:36.000000Z K 7 svn:log V 200 reject association requests with a wpa/rsn ie when wpa/rsn is not configured on the ap; previously we either ignored the ie or (possibly) failed an assertion Obtained from: Atheros MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:29:03.000000Z K 7 svn:log V 97 simplify rate set api's by removing ic parameter (implicit in node reference) MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-22T17:29:10.000000Z K 7 svn:log V 2076 Insta-MFC of the shared library version bump. All shared libraries whose version has not already been bumped since RELENG_5 are being bumped. Revisions of files being MFC-ed: > Path Revision > src/gnu/lib/libdialog/Makefile 1.43 > src/gnu/lib/libg2c/Makefile 1.16 > src/gnu/lib/libobjc/Makefile 1.27 > src/gnu/lib/libreadline/Makefile.inc 1.12 > src/gnu/lib/libregex/Makefile 1.32 > src/gnu/lib/libstdc++/Makefile 1.56 > src/kerberos5/lib/Makefile.inc 1.7 > src/lib/Makefile.inc 1.3 > src/lib/libalias/Makefile 1.31 > src/lib/libarchive/Makefile 1.37 > src/lib/libbegemot/Makefile 1.3 > src/lib/libbluetooth/Makefile 1.2 > src/lib/libbsnmp/Makefile.inc 1.6 > src/lib/libbz2/Makefile 1.6 > src/lib/libc_r/Makefile 1.42 > src/lib/libcrypt/Makefile 1.36 > src/lib/libdevstat/Makefile 1.15 > src/lib/libdevstat/devstat.h 1.11 > src/lib/libedit/Makefile 1.29 > src/lib/libexpat/Makefile 1.5 > src/lib/libfetch/Makefile 1.45 > src/lib/libftpio/Makefile 1.14 > src/lib/libgpib/Makefile 1.2 > src/lib/libipsec/Makefile 1.17 > src/lib/libkiconv/Makefile 1.3 > src/lib/libmagic/Makefile 1.7 > src/lib/libmp/Makefile 1.10 > src/lib/libncp/Makefile 1.6 > src/lib/libncurses/Makefile 1.79 > src/lib/libnetgraph/Makefile 1.11 > src/lib/libngatm/Makefile 1.6 > src/lib/libopie/Makefile 1.21 > src/lib/libpam/Makefile.inc 1.17 > src/lib/libpthread/Makefile 1.54 > src/lib/libradius/Makefile 1.12 > src/lib/libsdp/Makefile 1.4 > src/lib/libsmb/Makefile 1.8 > src/lib/libtacplus/Makefile 1.7 > src/lib/libthr/Makefile 1.14 > src/lib/libthread_db/Makefile 1.6 > src/lib/libugidfw/Makefile 1.7 > src/lib/libusbhid/Makefile 1.10 > src/lib/libutil/Makefile 1.57 > src/lib/libvgl/Makefile 1.11 > src/lib/libwrap/Makefile 1.17 > src/lib/libypclnt/Makefile 1.13 > src/lib/msun/Makefile 1.72 > src/secure/lib/libcrypto/Makefile 1.74 > src/secure/lib/libssh/Makefile 1.35 > src/secure/lib/libssl/Makefile 1.22 > src/usr.sbin/bsnmpd/modules/Makefile.inc 1.10 Reviewed by: ru Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:31:18.000000Z K 7 svn:log V 57 simplifiy ieee80211_send_nulldata api MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:36:12.000000Z K 7 svn:log V 90 simplify ieee80211_node_authorize and ieee80211_node_unauthorize api's MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:42:08.000000Z K 7 svn:log V 197 don't include 802.3 header in min frame length calculation as it may not be present for a frag; fixes problem with small (fragmented) frames being dropped Obtained from: Atheros MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:45:48.000000Z K 7 svn:log V 45 simplify tim callback api MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:50:13.000000Z K 7 svn:log V 96 add stats we know we'll need soon and some spare fields for future expansion MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:54:40.000000Z K 7 svn:log V 53 simplify ieee80211_ibss_merge api MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T17:57:16.000000Z K 7 svn:log V 49 simplify ic_newassoc callback MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-22T18:21:28.000000Z K 7 svn:log V 133 Remove padding for ABI compatibility of ai_addrlen member from struct addrinfo. This change break ABI compatibility on 64 bit arch. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-22T18:51:36.000000Z K 7 svn:log V 52 mention getaddrinfo(3) ABI breakage on 64 bit arch. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-07-22T19:19:00.000000Z K 7 svn:log V 76 Use the current BST/BIF ioctls, not the deprecated ones. MFC after: 2 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-22T19:36:29.000000Z K 7 svn:log V 352 Add a simple multicast socket regression test set: - Test that the basic socket options have the right defaults, that we can change them, read them back, etc. - Add and remove some multicast addresses. - Send a loopback multicast address and make sure it arrives intact. There's more that could be done here, but it's a start. MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-22T20:17:30.000000Z K 7 svn:log V 225 MFC: Remove padding for ABI compatibility of ai_addrlen member from struct addrinfo. This change break ABI compatibility on 64 bit arch. include/netdb.h: 1.39 lib/libc/net/getaddrinfo.c: 1.70 Approved by: re (kensmith) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-22T20:21:50.000000Z K 7 svn:log V 91 MFC 1.418: mention getaddrinfo(3) ABI breakage on 64 bit arch. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T20:48:11.000000Z K 7 svn:log V 80 split 802.11 frame xmit setup code into ieee80211_send_setup MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T21:11:26.000000Z K 7 svn:log V 201 split xmit of probe request frame out into a separate routine that takes explicit parameters; this will be needed when scanning is decoupled from the state machine to do bg scanning MFC after: 3 days END K 10 svn:author V 3 jon K 8 svn:date V 27 2005-07-22T22:11:13.000000Z K 7 svn:log V 210 fix that little lie I told six months ago about doing an MFC in 3 days... MFC from 1.33: remember to reset nextgrp in getnetgrent(), so that subsequent calls to getnetgrent() doesn't return bogus information. END K 10 svn:author V 3 jon K 8 svn:date V 27 2005-07-22T22:20:26.000000Z K 7 svn:log V 123 fix innetgr() returning false positives and negatives when reverse netgroup matching is used. PR: 35506 MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-07-22T23:10:02.000000Z K 7 svn:log V 53 Standardize __FBSDID identifiers. MFC after: 2 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-07-22T23:22:29.000000Z K 7 svn:log V 398 Make code match comment: make the smallest unit of page allocation from OpenFirmware be 16 pages to avoid fragmentation in the list of mappings returned when the kernel requests it in pmap_bootstrap. This allows a static buffer to be used when obtaining the existing mappings - very useful on the G5 when random physical pages can't be grabbed because they can't be BAT-mapped. MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T23:25:46.000000Z K 7 svn:log V 196 o move inactivity-related debug msgs under IEEE80211_MSG_INACT o probe inactive neighbors in adhoc mode (they don't have an association id so previously were being timed out) MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T23:33:33.000000Z K 7 svn:log V 28 update with new msg classes END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-22T23:37:03.000000Z K 7 svn:log V 28 update for recent additions END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-23T00:16:46.000000Z K 7 svn:log V 105 the AREF flag is only meaningful in ap mode; adhoc neighbors now are timed out of the sta/neighbor table END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-07-23T00:59:13.000000Z K 7 svn:log V 77 Misc spelling and/or English fixes in comments. Reviewed by: glebius, andre END K 10 svn:author V 4 grog K 8 svn:date V 27 2005-07-23T01:46:50.000000Z K 7 svn:log V 287 Use a random number to seed the random number generator. Goodby, Rush Limbaugh. This should have already worked properly if random(4) has been initialized correctly, but it seems that this is frequently not the case. Instead, use the microsecond part of the current time as the seed. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-23T05:34:29.000000Z K 7 svn:log V 176 o move ath_sysctlattach down so variables it depends on are setup o use any fixed tx antenna for beacons transmitted in adhoc mode Submitted by: David Young MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-23T05:40:17.000000Z K 7 svn:log V 132 Change jail IP from 1.0.0.127 to 127.0.0.1, which shows, that this test doesn't examine the real issue as it pass without problems. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-23T12:18:35.000000Z K 7 svn:log V 204 MFC: pf 1.7 When reloading rules via rc.d/pf, flush everything but existing state entries that way when rules are read in, it doesn't break established connections. OK'ed by: mlaier Forgotten by: seanc END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-23T13:49:04.000000Z K 7 svn:log V 71 Sync usage message with the code and manual page. Submitted by: maxim END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-23T14:23:30.000000Z K 7 svn:log V 1216 Add delete-old and delete-old-libs targets: - removes obsolete files/dirs or libraries. - works in interactive (default) and batch mode - respects DISTDIR - documented in UPDATING and build(7) The head of the file ObsoleteFiles.inc contains instructions how to add obsolete files/dirs/libs to the list. Obviously one should add obsolete files to this list, when he removes a file/dir/lib from the basesystem. Additionally add check-old target: - allows re@ to check if a file on the obsolete list resurfaces Design goals: - allows full control by the user (default interactive mode) - possibility of scripted removal of obsolete files (batch mode) - opt-in removal of files (explicit list of files) - seperate removal of libs (2 delete targets) Important design decissions: - structured list of files to remove instead of a plain text file: * allows to remove additional files if a NO_foo knob is specified without the need to change the targets (no NO_foo knob is respected yet) - not using mtree like NetBSD does: * mtree doesn't has an interactive mode Discussed on: arch (long ago), current (this year) Additional input from: re (hrs) Approved by: mentor (joerg) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:01:48.000000Z K 7 svn:log V 685 Merge uma_core.c:1.20 from HEAD to RELENG_6: In an earlier world order, UMA would flush per-CPU statistics to the zone whenever it was moving buckets between the zone and the cache, or when coalescing statistics across the CPU. Remove flushing of statistics to the zone when coalescing statistics as part of sysctl, as we won't be running on the right CPU to write to the cache statistics. Add a missed gathering of statistics: when uma_zalloc_internal() does a special case allocation of a single item, make sure to update the zone statistics to represent this. Previously this case wasn't accounted for in user-visible statistics. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:03:49.000000Z K 7 svn:log V 216 Merge uma_int.h:1.32, uma_core.c:1.121 from HEAD to RELENG_6: In addition to tracking allocs in the zone, also track frees. Add a zone free counter, as well as a cache free counter. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:05:24.000000Z K 7 svn:log V 1846 Merge uma.h:1.23, uma_int.h:1.33, uma_core.c:1.122 from HEAD to RELENG_6: Introduce a new sysctl, vm.zone_stats, which exports UMA(9) allocator statistics via a binary structure stream: - Add structure 'uma_stream_header', which defines a stream version, definition of MAXCPUs used in the stream, and the number of zone records in the stream. - Add structure 'uma_type_header', which defines the name, alignment, size, resource allocation limits, current pages allocated, preferred bucket size, and central zone + keg statistics. - Add structure 'uma_percpu_stat', which, for each per-CPU cache, includes the number of allocations and frees, as well as the number of free items in the cache. - When the sysctl is queried, return a stream header, followed by a series of type descriptions, each consisting of a type header followed by a series of MAXCPUs uma_percpu_stat structures holding per-CPU allocation information. Typical values of MAXCPU will be 1 (UP compiled kernel) and 16 (SMP compiled kernel). This query mechanism allows user space monitoring tools to extract memory allocation statistics in a machine-readable form, and to do so at a per-CPU granularity, allowing monitoring of allocation patterns across CPUs in order to better understand the distribution of work and memory flow over multiple CPUs. While here, also export the number of UMA zones as a sysctl vm.uma_count, in order to assist in sizing user swpace buffers to receive the stream. A follow-up commit of libmemstat(3), a library to monitor kernel memory allocation, will occur in the next few days. This change directly supports converting netstat(1)'s "-mb" mode to using UMA-sourced stats rather than separately maintained mbuf allocator statistics. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:06:54.000000Z K 7 svn:log V 242 Merge uma.h:1.24, uma_int.h:1.34, uma_core.c:1.123 from HEAD to RELENG_6: Track UMA(9) allocation failures by zone, and export via sysctl. Requested by: victor cruceru Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:08:12.000000Z K 7 svn:log V 202 Merge uma.h:1.25, uma_int.h:1.35, uma_core.c:1.124 from HEAD to RELENG_6: Increase the flags field for kegs from a 16 to a 32 bit value; we have exhausted all 16 flags. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:08:53.000000Z K 7 svn:log V 668 Merge uma_core.c:1.125 from HEAD to RELENG_5: Move the unlocking of the zone mutex in sysctl_vm_zone_stats() so that it covers the following of the uc_alloc/freebucket cache pointers. Originally, I felt that the race wasn't helped by holding the mutex, hence a comment in the code and not holding it across the cache access. However, it does improve consistency, as while it doesn't prevent bucket exchange, it does prevent bucket pointer invalidation. So a race in gathering cache free space statistics still can occur, but not one that follows an invalid bucket pointer, if the mutex is held. Submitted by: yongari Approved by: re (kensmith) END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-07-23T15:09:27.000000Z K 7 svn:log V 59 s/Lefler/Leffler/ Approved by: brueffer MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:10:00.000000Z K 7 svn:log V 245 Merge uma.h:1.26, uma_int.h:1.36, uma_core.c:1.126 from HEAD to RELENG_6: Improve canonicalization of copyrights. Order copyrights by order of assertion (jeff, bmilekic, rwatson). Suggested ages ago by: bde Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:10:29.000000Z K 7 svn:log V 369 Merge uma_core.c:1.127 from HEAD to RELENG_6: Use mp_maxid in preference to MAXCPU when creating exports of UMA per-CPU cache statistics. UMA sizes the cache array based on the number of CPUs at boot (mp_maxid + 1), and iterating based on MAXCPU could read off the end of the array (into the next zone). Reported by: yongari Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T15:11:13.000000Z K 7 svn:log V 898 Merge uma_core.c:1.128 from HEAD to RELENG_6: Further UMA statistics related changes: - Add a new uma_zfree_internal() flag, ZFREE_STATFREE, which causes it to to update the zone's uz_frees statistic. Previously, the statistic was updated unconditionally. - Use the flag in situations where a "real" free occurs: i.e., one where the caller is freeing an allocated item, to be differentiated from situations where uma_zfree_internal() is used to tear down the item during slab teardown in order to invoke its fini() method. Also use the flag when UMA is freeing its internal objects. - When exchanging a bucket with the zone from the per-CPU cache when freeing an item, flush cache statistics back to the zone (since the zone lock and critical section are both held) to match the allocation case. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-23T16:42:54.000000Z K 7 svn:log V 85 Oops, bump __FreeBSD_version to mark shared library version bump. Reminded by: nork END K 10 svn:author V 5 imura K 8 svn:date V 27 2005-07-23T16:52:57.000000Z K 7 svn:log V 328 Temporary restore a part of rev 1.6. We must not increase a capability of buffer size here, because codes which call these functions expect that dst and src are the same size. This will cause problem when someone convert a character whose length is different between charsets on smbfs which was changed to use xlat16 converter. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-07-23T17:00:07.000000Z K 7 svn:log V 349 MFC: if.c, 1.236 Move eventhandler for 'ifnet_departure_event' at the end of the progress. Some of the (IPv6) cleanup functions send packets to inform peers of the departure. These packets confused users of ifnet_departure_event (pf at the moment). PR: kern/80627 Tested by: Divacky Roman Approved by: re (kensmith) END K 10 svn:author V 5 imura K 8 svn:date V 27 2005-07-23T17:02:04.000000Z K 7 svn:log V 97 MFC 1.45: Fix looking up files having invalid short name. PR: 77074 Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-07-23T17:02:10.000000Z K 7 svn:log V 203 MFC: if_pfsync.c, 1.20 in_proto.c, 1.78 Export pfsyncstats via sysctl "net.inet.pfsync" in order to print them with netstat (seperate commit). Requested by: glebius Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-07-23T17:03:59.000000Z K 7 svn:log V 130 MFC: -sp pfsync Print newly exported pfsync statistics with netstat(8). Requested by: glebius Approved by: re (kensmith) END K 10 svn:author V 5 imura K 8 svn:date V 27 2005-07-23T17:05:00.000000Z K 7 svn:log V 70 MFC 1.45: Fix looking up files having invalid short name. PR: 77074 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T17:11:33.000000Z K 7 svn:log V 2063 Merge kern_malloc.c:1.143,1.144 malloc.h:1.81 from HEAD to RELENG_6: Introduce a new sysctl, kern.malloc_stats, which exports kernel malloc statistics via a binary structure stream: - Add structure 'malloc_type_stream_header', which defines a stream version, definition of MAXCPUS used in the stream, and a number of malloc_type records in the stream. - Add structure 'malloc_type_header', which defines the name of the malloc type being reported on. - When the sysctl is queried, return a stream header, followed by a series of type descriptions, each consisting of a type header followed by a series of MAXCPUS malloc_type_stats structures holding per-CPU allocation information. Typical values of MAXCPUS will be 1 (UP compiled kernel) and 16 (SMP compiled kernel). This query mechanism allows user space monitoring tools to extract memory allocation statistics in a machine-readable form, and to do so at a per-CPU granularity, allowing monitoring of allocation patterns across CPUs in order to better understand the distribution of work and memory flow over multiple CPUs. While here: - Bump statistics width to uint64_t, and hard code using fixed-width type in order to be more sure about structure layout in the stream. We allocate and free a lot of memory. - Add kmemcount, a counter of the number of registered malloc types, in order to avoid excessive manual counting of types. Export via a new sysctl to allow user-space code to better size buffers. - De-XXX comment on no longer maintaining the high watermark in old sysctl monitoring code. A follow-up commit of libmemstat(3), a library to monitor kernel memory allocation, will occur in the next few days. Likewise, similar changes to UMA. kern_malloc.c:1.144: Correct build on 64-bit: cast u_int64_t to (unsigned long long) before printfing as (unsigned long long). 32-bit build on i386 didn't notice this. Whoops. Reported by: arved Tested by: sledge Approved by: re (kensmith) END K 10 svn:author V 4 ache K 8 svn:date V 27 2005-07-23T18:24:47.000000Z K 7 svn:log V 610 My change, namely srandomdev() addition, was backed out even without discussing with me, and I obviously disagree seeing that afterwards (srandomdev() back out not fix any thing, it can only mask the problem). So, back out the back out and return srandomdev(). People who have problems with repeated quotes should use -D fortune option for debugging to see is the problem in (1) /dev/random initialization or in (2) fortune code itself. I will be glad to help, but I can't reproduce repeated quote situation on my machine. In either case found, (1) or (2) should be fixed instead of removing srandomdev(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-07-23T18:47:18.000000Z K 7 svn:log V 228 (More thoroughly) fix the problem with the EGREP lines that was reported on -current by Ben Kaduk . Add a hack of my own to allow the user to supply the paths to the INF and SYS files on the command line. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-07-23T19:28:51.000000Z K 7 svn:log V 45 Fix missing '=' in structure initialization. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-07-23T19:36:00.000000Z K 7 svn:log V 1322 Rewrite the acpi_battery interface to allow for other battery types (i.e., smart battery) and fix various bugs found during the cleanup. API changes: * kernel access: Access to individual batteries is now via devclass_find("battery"). Introduce new methods ACPI_BATT_GET_STATUS (for _BST-formatted data) and ACPI_BATT_GET_INFO (for _BIF-formatted data). The helper function acpi_battery_get_battinfo() now takes a device_t instead of a unit # argument. If dev is NULL, this signifies all batteries. * ioctl access: The ACPIIO_BATT_GET_TYPE and ACPIIO_BATT_GET_BATTDESC ioctls have been removed. Since there is now no need for a mapping between "virtual" unit and physical unit, usermode programs can just specify the unit directly and skip the old translation steps. In fact, acpiconf(8) was actually already doing this and virtual unit was the same as physical unit in all cases since there was previously only one battery type (acpi_cmbat). Additionally, we now map the ACPIIO_BATT_GET_BIF and ACPIIO_BATT_GET_BST ioctls for all batteries, if they provide the associated methods. * apm compatibility device/ioctls: no change * sysctl: no change Since most third-party applications use the apm(4) compat interface, there should be very few affected applications (if any). Reviewed by: bruno MFC after: 5 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-07-23T19:42:39.000000Z K 7 svn:log V 115 Add an entry for the old fortunes2 files, and an entry for the /usr/share/doc/bind directory from pre-BIND 9 days. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-23T21:17:15.000000Z K 7 svn:log V 258 Prefix two non-static libmemstat(3) internal functions with '_' symbols, to try and discourage use outside the library. Remove duplicate declaration of memstat_mtl_free() from memstat_internal.h, as it's not internal, and the memstat.h definition suffices. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-23T21:30:35.000000Z K 7 svn:log V 20 Better translation. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-07-23T23:55:27.000000Z K 7 svn:log V 87 Add an entry for /usr/sbin/vttest Submitted by: Pawel Worach END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-24T01:28:54.000000Z K 7 svn:log V 1203 Introduce more formal error handling for libmemstat(3): - Define a set of libmemstat(3) error constants, which are used by all libmemstat(3) methods except for memstat_mtl_alloc(), which allocates a memory type list and may return ENOMEM via errno. - Define a per-memory_type_list current error value, which is set when a call associated with a memory list fails. This requires wrapping a structure around the queue(9) list head data structure, but this change is not visible to libmemstat(3) consumers due to using access methods. - Add a new accessor method, memstat_mtl_geterror() to retrieve the error number. - Consistently set the error number in a number of failure modes where previously some combination of setting errno and printf'ing error descriptions was used. libmemstat(3) will now no longer print to stdio under any circumstances. Returns of NULL/-1 for errors remain the same. This avoids use of stdio, misuse of error numbers, and should make it easier to program a libmemstat(3) consumer able to print useful error messages. Currently, no error-to-string function is provided, as I'm unsure how to address internationalization concerns. MFC after: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-24T01:29:30.000000Z K 7 svn:log V 189 Document additional aspects of libmemstat(3): - Short description of each memory type access method. - Descriptions of libmemstat(3) errors and memstat_mtl_geterror(3). MFC after: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-24T01:41:47.000000Z K 7 svn:log V 420 Having decided not to provide a libmemstat(3) error number to text conversion routine, now change my mind and add one, memstat_strerror(3), which returns a const char * pointer to a string describing the error, to be used on the results of memstat_mtl_geterror(). While here, also correct a minor typo in the HISTORY man page. Pointers on improving ease of internationalization would be appreciated. MFC after: 1 day END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-24T01:41:48.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-24T01:42:42.000000Z K 7 svn:log V 174 Since libmemstat(3) now supports its own error management mechanism, use that instead of trying to use errno, in order to produce a sensible error message. MFC after: 1 day END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-24T05:11:39.000000Z K 7 svn:log V 364 o fix setup of sc_diversity; the hal does not give us reliable status after attach, only after a reset o when setting diversity via the sysctl don't update sc_diversity until we know the hal requested worked o while here eliminate sc_hasdiversity and sc_hastpc; just query the hal each time since these are the only places we need to know MFC after: 3 days END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-07-24T12:12:44.000000Z K 7 svn:log V 175 Speed up __wcsconv() (and hence the printf() %ls format): - use wcsrtombs() instead of a wcrtomb() loop where possible. - avoid wcrtomb() loop when output precision is small. END