ƒ²d173745 183 144 197 154 279 165 830 1750 195 379 282 230 216 225 402 286 961 155 214 269 264 171 400 481 116 652 595 551 544 181 747 304 143 336 186 178 301 268 240 453 379 103 685 121 363 295 142 137 289 348 826 166 166 418 133 1124 193 300 126 178 178 144 147 174 263 174 186 180 457 335 513 279 176 666 367 192 200 183 263 312 379 293 169 145 172 179 166 164 227 154 143 385 253 286 476 147 154 105 322 366 205 208 461 514 263 264 1432 280 445 253 135 169 172 225 197 155 190 205 200 148 216 212 229 256 152 228 163 161 155 129 118 364 443 306 284 140 224 218 335 219 434 338 166 321 239 264 434 188 170 165 144 356 155 178 168 395 235 383 892 892 423 198 131 229 892 160 191 278 161 178 351 630 203 156 406 128 354 187 205 205 399 395 120 125 K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T08:58:11.000000Z K 7 svn:log V 53 Include an extra header to get a function prototype. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T08:59:32.000000Z K 7 svn:log V 105 On some arches, openssl is built with OPENSSL_NO_CAMELLIA, so the code here needs to depend on that too. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T09:01:58.000000Z K 7 svn:log V 63 Weed out a warning argument that isn't applicable to C++ code. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T09:09:02.000000Z K 7 svn:log V 187 Re-enable -Werror ins WARNS as it was roughly 6 months ago before being disabled while gcc 4.2 was bedded in. Tested with 'make release' (amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v) END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-11-19T12:39:02.000000Z K 7 svn:log V 72 Since SAOL 13:th edition "v" and "w" are officially separated (in 2006) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2007-11-19T15:05:20.000000Z K 7 svn:log V 732 The kernel uses two ways to write data on a pipe: o buffered write, for chunks smaller than PIPE_MINDIRECT bytes o direct write, for everything else A call to writev(2) may receive struct iov of various size and the kernel may have to switch from one solution to the other. Before doing this, it must wake reader processes and any select/poll/kqueue up. This commit fixes a bug where select/poll/kqueue are not triggered when switching from buffered write to direct write. It adds calls to pipeselwakeup(). I give more details on freebsd-arch@: http://lists.freebsd.org/pipermail/freebsd-arch/2007-September/006790.html This should fix issues with Erlang (lang/erlang) and kqueue. Reported by: Rickard Green (Erlang) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-19T16:03:21.000000Z K 7 svn:log V 1652 Remove hacks from the NFSv2/3 client intended to handle a lack of a server-side RPC retranmission cache for non-idempotent operations: these hacks substituted 0 (success) for the expected EEXIST in the event that a target name already existed for LINK, SYMLINK, and MKDIR operations, under the assumption that EEXIST represented a second application of the original RPC rather than a true failure. Background: certain NFS operations (in this case, LINK, SYMLINK, and MKDIR) are not idempotent, as they leave behind persisting state on the server that prevents them from being replayed without an error;if an UDP RPC reply is lost leading to a retransmission by theclient, the second reply will return EEXIST rather than success, asthe new object has already been created. The NFS client previouslysilently mapped the EEXIST return into success to paper over thisproblem. However, in all modern NFS server implementations, a reply cache is kept in order to retransmit the original reply to a retransmitted request, rather than performing the operation a second time, allowing this hack to be avoided. This allows link()-based filelocking over NFS to operate correctly, as an application requestingthe creation of a new link for a file to tell if it succeededatomically or not. Other NFS clients, including Solaris and Linux, generally follow this behavior for the same reasons. Most clients also now default to TCP, which also helps avoid the issue of retransmitted but non-idempotent requests in most cases. Reported by: Adam McDougall , Timo Sirainen Reviewed by: mohans MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-19T16:24:10.000000Z K 7 svn:log V 103 Re-enable -Werror for modules. Tested by compiling LINT (amd64 i386 ia64 pc98 powerpc sparc64 sun4v). END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-11-19T18:05:48.000000Z K 7 svn:log V 286 Fix the problem with certain ATAPI commands on AHCI devices. Revert the probe in atapi-cd.c to the old usage now its fixed on AHCI. THis change also fixes using virtual CD's om fx parallels. Still leaves the GEOM problem of telling media vs device access apart in the access function. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-11-19T20:47:31.000000Z K 7 svn:log V 189 Try to workaound silicon bugs in Promise gen2 (ie TX4) chips Initial patch by Alexander Sabourenkov who found it in Promise's own driver. Further fixes and sanity checks by yours truely. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-19T20:49:42.000000Z K 7 svn:log V 137 Bump up the number of ttys supported by pty(4) to 512 by making use of [pt]ty[lmnoLMNO][0-9a-v]. MFC after: 3 days Reviewed by: rwatson END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-11-19T21:11:26.000000Z K 7 svn:log V 123 Dont fumble the ivars on reinit, avoids panic on suspend/resume om some systems that looses thier devices. Patch by: jhb@ END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-19T21:57:28.000000Z K 7 svn:log V 129 Change the casts from (pthread_mutex_t *) to (void *) to keep gcc quiet. Anybody with a cleaner solution feel free to change it. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-19T22:39:39.000000Z K 7 svn:log V 310 Unfortunately the tinderbox setup uses custom CFLAGS which are a big obstacle to enabling -Werror. I'll continue to work on cleaning up the code so that we can keep this enabled. If the tinderboxes would just use the default CFLAGS set in this file, all would be fine and we'd be able to make use of -Werror. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-19T23:36:47.000000Z K 7 svn:log V 189 Unify assertion flags for all the main primitives using the LA_* underlying family of macros. This will allow to use unified flags for assertions with the generic locking primitive class. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-20T00:37:45.000000Z K 7 svn:log V 864 Add the function callout_init_rw() to callout facility in order to use rwlocks in conjuction with callouts. The function does basically what callout_init_mtx() alredy does with the difference of using a rwlock as extra argument. CALLOUT_SHAREDLOCK flag can be used, now, in order to acquire the lock only in read mode when running the callout handler. It has no effects when used in conjuction with mtx. In order to implement this, underlying callout functions have been made completely lock type-unaware, so accordingly with this, sysctl debug.to_avg_mtxcalls is now changed in the generic debug.to_avg_lockcalls. Note: currently the allowed lock classes are mutexes and rwlocks because callout handlers run in softclock swi, so they cannot sleep and they cannot acquire sleepable locks like sx or lockmgr. Requested by: kmacy, pjd, rwatson Reviewed by: jhb END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-20T01:46:12.000000Z K 7 svn:log V 64 Generate code that doesn't fail gcc 4.2's strict aliasing test. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-20T01:49:00.000000Z K 7 svn:log V 122 Use a forward definition of an opaque structure rather than a void to avoid a strict alias type check failure in gcc 4.2. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-20T01:51:20.000000Z K 7 svn:log V 177 Use intermediate pointers to avoid strict alias type check failures using gcc 4.2. This is required for tinderbox which doesn't have -fno-strict-aliasing in it's custom CFLAGS. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-20T01:55:37.000000Z K 7 svn:log V 172 Use an intermediate pointer to avoid strict alias check warnings on gcc 4.2. This is required for tinderbox which doesn't have -f-no-strict-aliasing in it's custom CFLAGS. END K 10 svn:author V 2 dd K 8 svn:date V 27 2007-11-20T01:58:34.000000Z K 7 svn:log V 80 Add -o option to match ping(8) Reviewed by: dwmalone, maxim MFC after: 2 weeks END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-20T02:07:30.000000Z K 7 svn:log V 308 These are the things that the tinderbox has problems with because it doesn't use the default CFLAGS which contain -fno-strict-aliasing. Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-20T04:20:32.000000Z K 7 svn:log V 383 While checking over the libraries for 7.0-REL Kris found the following libraries had not had their versions bumped relative to 6.3-REL but had indeed been changed. We need to bump their version so they can be properly added to the compat6x port: libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8 libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2 MFC After: 1 day END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-11-20T04:52:19.000000Z K 7 svn:log V 22 Fix KASSERT messages. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-20T06:20:02.000000Z K 7 svn:log V 555 Various fixes for EC Ultra. o Enable jumbo frame support for EC Ultra and disable jumbo frame for FE. o Enable store and forward mode for standard MTU sized frame. o Enable TSO for EC Ultra. However TSO/checksum offload is disabled for jumbo frame case. Because EC Ultra can't use store and forward mode for jumbo frame TSO/checksum offload is not available. o Adjust Tx GMAC almost empty threshold value and add a jumbo frame water mark. The maic value was obtained from Marvell's sk98lin driver. o Fix EC Ultra chip revision number. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-20T06:52:29.000000Z K 7 svn:log V 498 Drop maintaing hardware feature(bug) lists for Yukon II. We don't have publicly available datasheet for Yukon II and don't know what bug/workaround exist for the specific hardware revision. Also I don't think the vendor will release hardware errata in near future. The hardware feature lists were not used at all except setting water mark registers. Since msk(4) should know exact chip model/revision number to decide which hardware capability could be used the extra feature lists were redundant. END K 10 svn:author V 5 silby K 8 svn:date V 27 2007-11-20T06:56:04.000000Z K 7 svn:log V 456 Comment out the syncache's test which ensures that hosts which negotiate TCP timestamps in the initial SYN packet actually use them in the rest of the connection. Unfortunately, during the 7.0 testing cycle users have already found network devices that violate this constraint. RFC 1323 states 'and may send a TSopt in other segments' rather than 'and MUST send', so we must allow it. Discovered by: Rob Zietlow Tracked down by: Kip Macy PR: bin/118005 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-20T07:07:33.000000Z K 7 svn:log V 447 o Don't hardcode that Yukon FE has 16KB SRAM. In fact, Yukon FE has only 4KB SRAM. o Rework setting Tx/Rx RAM buffer size. Give receiver 2/3 of memory and round it down to the multiple of 1024. The RAM buffer size of Yukon II should be multiple of 1024. This fixes bogus RAM buffer configuration used in Yukon FE. Reported by: Oleg Lomaka < oleg AT lomaka DOT org DOT ua > Tested by: Oleg Lomaka < oleg AT lomaka DOT org DOT ua > END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-20T07:32:54.000000Z K 7 svn:log V 90 MFC: Revise markup, apply some wordsmithing, document "label -c". Approved by: re (bmah) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-20T07:33:01.000000Z K 7 svn:log V 650 Make phy respond only at address 0. This makes phy driver attached only at address 0 which is supposed to be the only valid phy address on Marvell PHY. The more correct solution would be masking PHY address ranges allowable in PHY probe routine. Unfortunately, FreeBSD has no way to retrict the PHY address ranges or to pass special flags to PHY driver. This change assumes that PHY hardwares attached to msk(4) would be Marvell made 88E11xx PHY. With this changes the phantom phys attached on 88E8036(Yukon FE) should disappear. Reported by: Oleg Lomaka < oleg AT lomaka DOT org DOT ua > Tested by: Oleg Lomaka < oleg AT lomaka DOT org DOT ua > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-20T07:47:32.000000Z K 7 svn:log V 207 Add device id for 88E8058(Yukon EC Ultra) which is found on 3rd generation MacBooks. Unfortunately 88E8058 supports one MSI message so msk(4) needs more generic way to handle the MSI capability. PR: 118110 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-20T07:53:52.000000Z K 7 svn:log V 47 Add 88E8058 to the list of supported hardware. END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-20T09:35:15.000000Z K 7 svn:log V 244 MFC: rev. 1.20 sys/netipsec/keysock.c Move the priv check before the malloc call for so_pcb. In case attach fails because of the priv check we leaked the memory and left so_pcb as fodder for invariants. Approved by: re (kensmith) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-11-20T12:21:36.000000Z K 7 svn:log V 92 - Document newly added callout_init_rw function Requested by: attilio Reviewed by: attilio END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-11-20T14:13:49.000000Z K 7 svn:log V 84 - Add callout_init_rw.9 to MLINKS of timeout.9 Forgotten by: gabor Reminded by: ru END K 10 svn:author V 5 silby K 8 svn:date V 27 2007-11-20T15:26:18.000000Z K 7 svn:log V 206 MFC rev 1.134: Comment out the syncache's test which ensures that hosts which negotiate TCP timestamps in the initial SYN packet actually use them in the rest of the connection. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-20T18:03:09.000000Z K 7 svn:log V 171 Test that p_textvp is non-NULL be dereferencing, as no executable vnode is set for kernel processes. Reported by: Skip Ford MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-11-20T18:35:36.000000Z K 7 svn:log V 146 Check battery presence first before trying to get battery information. PR: kern/117591 Tested by: Jessica Mahoney (root at varusonline dot com) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-20T18:35:57.000000Z K 7 svn:log V 356 Add additional robustness to at_aarpinput() by testing for broadcast addresses as the source of an AARP request. While this PR was submitted in the context of work in OpenBSD to port netatalk (in 1997), I've synchronized the code more to our ARP input routine, which had similar requirements. Submitted by: Denton Gentry PR: kern/4184 MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-20T18:50:54.000000Z K 7 svn:log V 282 Annotate two possible bugs in a comment: (1) we allocate and explicitly prepend a data mbuf in front of a header mbuf without moving the header to the new mbuf, and (2) a possible alignment problem on architectures with strict alignment as reported in kern/4184. PR: kern/4184 (1) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-11-20T19:50:45.000000Z K 7 svn:log V 9 style(9) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-20T20:48:01.000000Z K 7 svn:log V 587 MFC of library version bump. From original commit: > While checking over the libraries for 7.0-REL Kris found the following > libraries had not had their versions bumped relative to 6.3-REL but > had indeed been changed. We need to bump their version so they can be > properly added to the compat6x port: > > libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8 > libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2 Versions being MFCed: gnu/lib/libobjc/Makefile: 1.33 kerberos5/lib/Makefile.inc: 1.8 lib/libgssapi/Makefile: 1.3 Approved by: re (bmah) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-11-20T21:25:58.000000Z K 7 svn:log V 26 Addition style(9) change. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-11-20T21:41:22.000000Z K 7 svn:log V 270 Driver version 6.7.3 - Bring HEAD up to the latest shared code - Fix TSO problem using limited MSS and forwarding - Dual lock implementation - New device support - For my ease, this code can compile in either 6.x or later - brings this driver in sync with the 6.3 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-11-20T22:06:01.000000Z K 7 svn:log V 202 One nit, FAST handling is now in #ifdef's for compatibility between RELEASES, but we want it on by default in 7 and later, add that define, and take out a fragment left from a workaround being removed. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-20T22:12:52.000000Z K 7 svn:log V 46 Mark old shared library versions as obsolete. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-11-20T22:48:32.000000Z K 7 svn:log V 45 Enclose entire header in #ifndef _LIBDISK_H_ END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-21T00:42:42.000000Z K 7 svn:log V 192 Add MSI support for 88E8058(Yukon EC Ultra). Unlike other Yukon II family 88E8058 supports only one MSI message. Teach msk(4) to handle that case. Tested by: Ed Schouten < ed AT fxq DOT nl > END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-21T01:10:42.000000Z K 7 svn:log V 256 Use an intermediate pointer to avoid a strict aliasing warning. Note that ULong in this code is actually defined as an unsigned integer across all arches so that the gdtoa() function always processes 32 bit data despite the unfortunate naming of "ULong". END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-11-21T01:31:49.000000Z K 7 svn:log V 731 - Back out previous ctype(3) fix for UTF-8 locale due to forward ABI compatibility is still broken as we add new symbols to libc. Those symboles are __sbmaskrune, __sbistype, __sbtoupper and __sbtolower. The latter three are directly referred by binaries use ctype(3) family functions (see include/ctype.h for details). This means if a binary built on 6.3, it uses these symbols that are not available on older system. - As this has been in 6 for a month, I intentionally leave these symbols in libc but map them to original version. So binary built after 602113 will not be broken after this commit. - Bump __FreeBSD_version for this back-out PR: 116363 Discussed with: kris, kensmith Approved by: re (kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-21T01:31:50.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-21T01:31:51.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-21T01:47:08.000000Z K 7 svn:log V 321 MFC revision 1.12 date: 2007/11/12 18:57:33; author: delphij; state: Exp; lines: +1 -1 Correct a stack overflow which will trigger panics when mode= is specified, caused by incorrect format string specified to vfs_scanopt() and subsequently vsscanf(). Pointed out by: kib Submitted by: des Approved by: re (kensmith) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-21T02:21:55.000000Z K 7 svn:log V 37 MFC: revision 1.102 Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-11-21T04:03:51.000000Z K 7 svn:log V 1027 Extend critical section coverage in the low-level interrupt handlers to include the ithread scheduling step. Without this, a preemption might occur in between the interrupt getting masked and the ithread getting scheduled. Since the interrupt handler runs in the context of curthread, the scheudler might see it as having a such a low priority on a busy system that it doesn't get to run for a _long_ time, leaving the interrupt stranded in a disabled state. The only way that the preemption can happen is by a fast/filter handler triggering a schduling event earlier in the handler, so this problem can only happen for cases where an interrupt is being shared by both a fast/filter handler and an ithread handler. Unfortunately, it seems to be common for this sharing to happen with network and USB devices, for example. This fixes many of the mysterious TCP session timeouts and NIC watchdogs that were being reported. Many thanks to Sam Lefler for getting to the bottom of this problem. Reviewed by: jhb, jeff, silby END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-21T04:21:02.000000Z K 7 svn:log V 97 Add function UMTX_OP_WAIT_UINT, the function causes thread to wait for an integer to be changed. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-21T05:21:58.000000Z K 7 svn:log V 203 Remove umtx_t definition, use type long directly, add wrapper function _thr_umtx_wait_uint() for umtx operation UMTX_OP_WAIT_UINT, use the function in semaphore operations, this fixed compiler warnings. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-21T05:23:54.000000Z K 7 svn:log V 30 Add some function prototypes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-21T05:25:27.000000Z K 7 svn:log V 82 Convert ceiling type to unsigned integer before comparing, fix compiler warnings. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-11-21T05:28:49.000000Z K 7 svn:log V 82 Use the safer callout_init_rw() to allow the softclock to grab the rwlock for us. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-21T05:29:57.000000Z K 7 svn:log V 48 Remove warning level and aliasing restrictions. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-11-21T05:51:43.000000Z K 7 svn:log V 53 Fix NULL dereference in rum_txeof() PR: kern/117820 END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-21T06:01:01.000000Z K 7 svn:log V 82 MFC 1.17: correct MIMO power save action frame format Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-21T06:01:02.000000Z K 7 svn:log V 166 Reuse nwaiter member field to record number of waiters, in sem_post(), this should reduce the chance having to do a syscall when there is no waiter in the semaphore. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-21T06:02:50.000000Z K 7 svn:log V 82 MFC 1.13: ix building w/ WITHOUT_WPA_SUPPLICANT_EAPOL Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-21T06:04:54.000000Z K 7 svn:log V 94 MFC 1.331-2: add wpa_supplicant + hostapd directories to examples Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-21T06:07:12.000000Z K 7 svn:log V 88 MFC: install example files for folks that don't have source Approved by: re (kensmith) END K 10 svn:author V 8 dhartmei K 8 svn:date V 27 2007-11-21T06:25:59.000000Z K 7 svn:log V 359 restrict the tcp.finwait timeout (45s) to state combinations where we have seen a FIN from both sides (whether ACKed or not) and use tcp.closing (900s) for half closed connections. otherwise half closed connections will time out within 45s. PR: kern/11854 Submitted by: Jan Srzednicki Approved by: re@ (kensmith@) Obtained from: OpenBSD (r1.494) END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-11-21T06:37:40.000000Z K 7 svn:log V 239 MFC(if_an.c:1.85, if_anreg.h:1.24): Trying to eliminate a racing as well as reducing the chance of device removal(PCCARD) panic by replacing the timeout(9) with callout(9) APIs. Tested by: dhw Approved by: re (kensmith) MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-11-21T07:20:11.000000Z K 7 svn:log V 418 MFC 2007-11-14 05:42:54 UTC Fix picobsd builds. Changes include: - use proper make configuration for the build, using ${BINMAKE} as evaluated by ${VERSION}/src/Makefile - remove -lmytinfo from crunch.conf - remove support for login_access in tinyware/login - remove "machine i386" from the kernel config file It might actually be interesting to extend the script to do a cross build for !i386 ... Approved by: re END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-11-21T10:12:52.000000Z K 7 svn:log V 183 Reloop OpenBSD rev. 1.563: In pf_test_fragment(), ignore protocol-specific criteria for packets of different protocols. Reported by: des Obtained from: OpenBSD MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-21T10:49:33.000000Z K 7 svn:log V 85 Correct a path for obsolete liblwres.so.10. Reported by: Alexey Shuvaev on -current END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-21T11:39:27.000000Z K 7 svn:log V 571 * Fix support for followings: o Acer Aspire 4520 laptop - jack sensing / automute o Toshiba Satellite A135-S4527 laptop - jack sensing / automute Tested by: lioux o Apple Macbook 3 (is it?) - require gpio0 (for speakers) and ovref50 (for headphone) to make it works - jack sensing / automute Tested by: Ed Schouten * Add Nvidia MCP67 controller ids. * Be sensible about simmilar controller with multiple pci ids. * Connect unused DAC/ADC to stream#0 rather than forcing each of them managing their own stream. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-11-21T12:14:00.000000Z K 7 svn:log V 270 MFC: - Merge all the ng_send_fn2* functions into one - ng_send_fn2(), removing some copy&pasted code. - Reduce copy and paste in ng_apply_item(). - Resurrect ng_send_fn() as a valid symbol, not a define. Reviewed by: mav, julian Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-11-21T12:52:26.000000Z K 7 svn:log V 97 Avoid excessive error message printout. PR: bin/118150 Reported by: keramida MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-21T12:55:33.000000Z K 7 svn:log V 108 Take out em_poll() prototype from under EM_FAST_IRQ control. Reported by: tindebox compiling a LINT kernel END K 10 svn:author V 8 dhartmei K 8 svn:date V 27 2007-11-21T13:52:04.000000Z K 7 svn:log V 86 forced commit (no change) to fix PR number PR: kern/118154 Approved by: re (obrien) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-11-21T14:18:14.000000Z K 7 svn:log V 167 Cleanup pf interface mangement - esp. remove EVENTHANDLER before unloading the coresponding code. This was lost during 4.1 import. Reported by: ru MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-21T14:37:03.000000Z K 7 svn:log V 214 MFC revisions 1.11,1.12: Unbreak "freebsd-update rollback" applied to minor version upgrades, by being more careful about the order in which files are rolled back to their old versions. Approved by: re (kensmith) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-11-21T16:01:42.000000Z K 7 svn:log V 286 Instead of manually freeing the packet options structure (and not even doing a good job of it) in the copypktopts() function, just call ip6_clearpktopts() directly. Otherwise, the callers of this function would end up freeing the memory twice. Reviewed by: jinmei PR: kern/116360 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-11-21T16:08:06.000000Z K 7 svn:log V 197 Bring back pf_if.c revs 1.8 and 1.6 also lost during last import: - Use correct time for tzero when compiled in - Don't use bogus interface addresses on ptp-interfaces with :0 MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-21T16:22:34.000000Z K 7 svn:log V 77 MFC: Add a trailing \0 to the read error string. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-21T16:25:00.000000Z K 7 svn:log V 53 MFC: Handle pts(4) ttys. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-21T16:41:51.000000Z K 7 svn:log V 80 MFC: Add support for debugging double fault frames. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-21T16:47:15.000000Z K 7 svn:log V 87 MFC: Teach kgdb how to handle double fault frames on i386. Approved by: re (kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-21T16:47:16.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-11-21T17:30:50.000000Z K 7 svn:log V 71 Allow search for any UUID entered by user. Approved by: re (kensmith) END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-11-21T17:36:14.000000Z K 7 svn:log V 133 Fix bug in handling SDP continuation state. Approved by: re (kensmith) Reported by: Eric Millbrandt emillbrandt at coldhaus dot com END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-11-21T21:15:00.000000Z K 7 svn:log V 62 Update with the latest fixes from -current. Approved by: re@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-21T21:42:55.000000Z K 7 svn:log V 47 Alphabetize pts before pty. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-21T22:30:14.000000Z K 7 svn:log V 293 Make TSO work with IPSEC compiled into the kernel. The lookup hurts a bit for connections but had been there anyway if IPSEC was compiled in. So moving the lookup up a bit gives us TSO support at not extra cost. PR: kern/115586 Tested by: gallatin Discussed with: kmacy MFC after: 2 months END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-21T23:22:10.000000Z K 7 svn:log V 160 When reactivating a cached page, reset the page's pool to the default pool. (Not doing this before was a performance pessimization but not a cause for panic.) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-22T01:33:08.000000Z K 7 svn:log V 189 MFC revision 1.342 date: 2007/10/18 08:41:52; author: delphij; state: Exp; lines: +2 -2 Do not bail out for cleanworld target just because chflags is failed. Approved by: re (kensmith) END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-11-22T01:51:46.000000Z K 7 svn:log V 380 Nuking the temporary pointer once it is properly tracked in local storage. This should fix the double free() bug where there's no tailing newline(\n) character: current# echo -n test | tail testAssertion failed: (run->magic == ARENA_RUN_MAGIC), function arena_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2448. Abort (core dumped) Reviewed by: kib MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-11-22T02:45:00.000000Z K 7 svn:log V 51 Fix function prototype for device_shutdown method. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-11-22T07:50:37.000000Z K 7 svn:log V 62 Update with the latest fixes from -current. Approved by: re@ END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-22T10:06:42.000000Z K 7 svn:log V 14 Fix comments. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-22T12:15:54.000000Z K 7 svn:log V 225 Cache the value of c_lock as it can change, in the struct, while the global callout spinlock is not held, and can lead to PF#. Reported by: dougb, Mark Atkinson Tested by: dougb Diagnosed by: jhb END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-22T14:09:26.000000Z K 7 svn:log V 270 - Correct a documentation bug: handles returned from a PMC_OP_PMCALLOCATE request are 32 bit values, and are not necessarily small. - Note that the PMC_F_KGMON flag is currently unimplemented. - Tweak description of an EINVAL error return. - Add an "AUTHORS" section. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-11-22T16:19:40.000000Z K 7 svn:log V 107 Forced commit to .mc files to force creation of new .cf files for mergemaster. Approved by: re (kensmith) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-11-22T16:20:31.000000Z K 7 svn:log V 110 Forced commit to .mc files to force creation of new .cf files for mergemaster. Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-22T20:01:38.000000Z K 7 svn:log V 368 Remove an unnecessary call to pmap_remove_all() and the associated "XXX" comments from vnode_pager_setsize(). This call was introduced in revision 1.140 to address a problem that no longer exists. Specifically, pmap_zero_page_area() has replaced a (possibly) problematic implementation of page zeroing that was based on vm_pager_map(), bzero(), and vm_pager_unmap(). END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-11-22T20:06:50.000000Z K 7 svn:log V 419 Remove kernel and module symbol files from disc1 (and the livecd if it is enabled). This saves around 80MB (for i386) on the ISO images. Note that this is only from the install media, not the installed system where the symbols are still installed, if part of the release. Should anybody want the symbols which match disc1/livecd, they can just be extracted from the kernel distribution files. Reviewed by: kensmith END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-11-22T21:25:17.000000Z K 7 svn:log V 166 MFC revision 1.119 date: 2007/11/20 22:12:52; author: delphij; state: Exp; lines: +14 -0 Mark old shared library versions as obsolete. Approved by: re (kensmith) END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-11-22T21:26:25.000000Z K 7 svn:log V 170 Remove remaining Giant acquisition around vn_fullpath1. This was missed in r1.106 and has not been required for some years now. Reviewed by: jeff MFC After: 1 week END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-22T23:21:12.000000Z K 7 svn:log V 1339 Re-enable -Werror again. This time, change the default CFLAGS to match the simple defaults that the tinderboxes use. That is, don't use -fno-strict-aliasing by default. My last attempt to re-anable -Werror gave me a lesson in what strict aliasing is all about. There was code in libthr that wasn't 64-bit clean. The default use of -fno-strict-aliasing hid that. By using -fno-strict-aliasing by default we were choosing to ignore problems in code which had the potential to shoot ourselves in the foot. Sometimes it would be the 64-bit foot. I have both feet. The left ones are 32 bits and the right ones are 64 bits. Don't ask about my endian orientation. :-) The -fno-strict-aliasing compiler arg can still be used if NO_STRING_ALIASING is define in make. We are early in the FreeBSD 8 development, so we have the opportunity to wait and see if this works for us. I am sure that people will complain. We can easily revert this. All I ask is that we take sides: clean code or not. YMMV. Note that by using -fno-strict-aliasing the build won't actually break. Only where WARNS is set (and -Werror is used) will a compiler warning break the build. The use of WARNS levels implies (to me at least) that the developer has taken some care to make the code pass basic checks. This commit makes those checks just a little bit more strict. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2007-11-22T23:38:24.000000Z K 7 svn:log V 184 Move ASMC_FAN_FUNCS in the Macmini structure declaration one line up so that this macro expands in the right place. Submitted by: Ed Schouten Approved by: njl (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-11-23T00:05:29.000000Z K 7 svn:log V 350 Add the -W options, which acts the same as -w but will generate unique names based on the submitted filename, a strftime(3) format string and a two digit sequence number. By default the strftime(3) format string is %Y%m%d (YYYYMMDD), but this can be changed by the -F option. PR: bin/106049 (based on patch in that PR) Approved by: grog@ (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-23T00:30:19.000000Z K 7 svn:log V 160 Add a read/write sysctl for reconfiguring the maximum number of physical pages that can be wired. Submitted by: Eugene Grosbein PR: 114654 MFC after: 6 weeks END K 10 svn:author V 5 edwin K 8 svn:date V 27 2007-11-23T01:52:44.000000Z K 7 svn:log V 41 Add "with" to make the line go smoother. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-23T03:03:30.000000Z K 7 svn:log V 74 MFP4: Add assembly language symbols used by hwpmc(4)'s callchain capture. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-23T05:42:52.000000Z K 7 svn:log V 76 Simplify code, fix a thread cancellation bug in sem_wait and sem_timedwait. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T05:44:29.000000Z K 7 svn:log V 132 - add the Planex GW-US54GXS adapter Submitted by: Weongyo Jeong Obtained from: openbsd MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T05:48:35.000000Z K 7 svn:log V 104 MFC 1.23: use the private task q thread instead of the shared system thread Approved by: re (kensmith) END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-23T05:52:13.000000Z K 7 svn:log V 64 Use an intermediate pointer to avoid a strict aliasing warning. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T05:55:06.000000Z K 7 svn:log V 98 update default wme parameters to latest WiFi test plans Reviewed by: Allan Lim MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T05:57:20.000000Z K 7 svn:log V 112 add ieee80211_find_channel_byieee to lookup a channel by ieee channel # Reviewed by: thompsa MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T05:58:37.000000Z K 7 svn:log V 107 use the DSPARMS ie to find the home channel for off-channel frames Reviewed by: thompsa MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T06:12:46.000000Z K 7 svn:log V 56 correct TID_TO_WME_AC handling of BE MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T06:13:39.000000Z K 7 svn:log V 123 parse htcap ie early so ampdu density and max rx size are available for constructing the AssocReq frame MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T06:14:32.000000Z K 7 svn:log V 119 correct sta mode setup: adopt ap's ampdu density and max ampdu size instead of using local settings MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T06:23:12.000000Z K 7 svn:log V 136 o correct re-association indicator dispatched in node join event o remove misleading "reassociation" msg on sta join MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-23T06:24:57.000000Z K 7 svn:log V 163 correct WMM packet classification: o use TID_TO_WME_AC on vlan tag priority o ignore ECN bits in DSCP when mapping IP TOS and use TID_TO_WME_AC MFC after: 3 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-11-23T08:17:14.000000Z K 7 svn:log V 60 Add preliminary SATA ATAPI support for sii 3132/3124 chips. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-23T11:29:36.000000Z K 7 svn:log V 132 Sections of type SHT_GNU_versym use ELF type ELF_T_HALF. Update manual page and code to match. Submitted by: jb MFC After: 1 day END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-23T11:46:08.000000Z K 7 svn:log V 68 Describe pmc_allocate() and pmc_release() in their own manual page. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-23T12:21:34.000000Z K 7 svn:log V 66 Describe pmc_enable() and pmc_disable() in their own manual page. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-23T12:30:55.000000Z K 7 svn:log V 60 Describe pmc_event_names_of_class() in its own manual page. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-11-23T13:00:31.000000Z K 7 svn:log V 38 Also check setuid executables on ZFS. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-23T23:56:03.000000Z K 7 svn:log V 27 Fix strict alias warnings. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-24T03:48:18.000000Z K 7 svn:log V 268 - Improve clarity: use 'scope' to distinguish between process and system PMCs and 'mode' to distinguish between counting and sampling. - Document PMC row dispositions. - Document the requirement for PRIV_PMC_MANAGE privilege when issuing PMC_OP_PMCADMIN requests. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-24T04:22:28.000000Z K 7 svn:log V 346 transferlockers() is a very dangerous and hack-ish function as waiters should never be moved by one lock to another. As, luckily, nothing in our tree is using it, axe the function. This breaks lockmgr KPI, so interested, third-party modules should update their source code with appropriate replacement. Ok'ed by: ups, rwatson MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-24T04:32:32.000000Z K 7 svn:log V 209 Fix the spinlock static table adding missing spinlocks. - rm_spinlock has turnstile chain as child - srclock has callout and clk as child, found by witness "emulation". Just move it very high in our ranking END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2007-11-24T06:53:09.000000Z K 7 svn:log V 190 MFC: Import two binutils header files from FSF 2.15 branch. These fix binutils compilation on i386/amd64 with GCC 4.1 and have no other effect. This fixes RELENG_5 build on RELENG_7/HEAD. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-11-24T09:32:45.000000Z K 7 svn:log V 43 Minor language cleanup. MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-24T11:05:36.000000Z K 7 svn:log V 128 Describe convenience functions `pmc_name_of_{capability,class,cputype, disposition,event,mode,state}' in their own manual page. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-11-24T11:58:54.000000Z K 7 svn:log V 125 Hmmm, must get reading glasses or else change the font on my terminal. That comma looks like a period. Noticed by: brueffer END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-24T18:27:29.000000Z K 7 svn:log V 238 Merge kern_proc.c:1.255 from HEAD to RELENG_7: Test that p_textvp is non-NULL be dereferencing, as no executable vnode is set for kernel processes. Reported by: Skip Ford Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-24T18:39:01.000000Z K 7 svn:log V 122 Respell 'Conatainer' as 'Container'. MFC after: 3 days Reported by: Toomas Aas END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-24T18:43:59.000000Z K 7 svn:log V 337 More carefully handle various cases in sysctl_drop(), such as unlocking the inpcb when there's an inpcb without associated timewait state, and not unlocking when the inpcb has been freed. This avoids a kernel panic when tcpdrop(8) is run on a socket in the TIMEWAIT state. MFC after: 3 days Reported by: Rako END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-24T19:45:57.000000Z K 7 svn:log V 241 Merge kern_proc.c:1.255 from HEAD to RELENG_6: Test that p_textvp is non-NULL be dereferencing, as no executable vnode is set for kernel processes. Reported by: Skip Ford Approved by: re (kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-24T19:45:58.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-25T01:53:58.000000Z K 7 svn:log V 224 Update rwlock(9) manpage adding missing bits about the rw_init_flags() function, its options and explaining that recursion for writers can be selectively enabled. Reported by: rwatson, Skip Ford END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-25T01:55:53.000000Z K 7 svn:log V 142 Update sx(9) lock manpage in order to add missing prototypes for function sx_slock_sig() and sx_xlock_sig() and their respective explanation. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-25T03:18:42.000000Z K 7 svn:log V 168 - Describe function pmc_init() in its own manual page. - Describe functions pmc_configure_logfile(), pmc_flush_logfile() and pmc_writelog() in their own manual page. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-25T06:05:41.000000Z K 7 svn:log V 338 - Document an EAGAIN error return from a PMC_OP_CONFIGURELOG request. - Document some EINVAL error returns from PMC_OP_CONFIGURELOG, PMC_OP_WRITELOG and PMC_OP_FLUSHLOG that were missed earlier. - Correct a typo: s/PMC_OP_ALLOCATE/PMC_OP_PMCALLOCATE/. - Describe how log file writing errors are returned by a PMC_OP_FLUSHLOG request. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-25T06:17:51.000000Z K 7 svn:log V 91 Adjust __FreeBSD_version now that RELENG_6_3 has been created. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-25T06:20:35.000000Z K 7 svn:log V 73 Get ready for packages-6.3-release to exist. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-25T06:23:43.000000Z K 7 svn:log V 68 Switch to RELENG_6_3 for "make update". Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-25T06:27:23.000000Z K 7 svn:log V 47 Adjust build name. Approved by: re (implicit) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-11-25T06:30:46.000000Z K 7 svn:log V 259 Have the lagg interface generate link up/down events, the interface is marked as up if at least one of its ports also has a link up. This fixes using carp+lagg together and any other system that relies on linkstate events. PR: kern/113956 MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-25T06:32:51.000000Z K 7 svn:log V 58 Adjust branch tag in example. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-25T06:34:58.000000Z K 7 svn:log V 81 Adjust __FreeBSD_version now that RELENG_6_3 exists. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-11-25T06:36:32.000000Z K 7 svn:log V 71 Prepare for packages-6.3-release to exist. Approved by: re (implicit) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-25T06:38:55.000000Z K 7 svn:log V 299 Move the following functions into their own manual pages: - pmc_attach(), pmc_detach(). - pmc_capabilities(), pmc_cpuinfo(), pmc_ncpu(), pmc_npmc(), pmc_pmcinfo(), pmc_width(). - pmc_get_driver_stats(). - pmc_get_msr(). - pmc_read(), pmc_rw(), pmc_write(). - pmc_set(). - pmc_start(), pmc_stop(). END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-25T06:50:31.000000Z K 7 svn:log V 139 - Add an overview of the pmc(3) API. - Defer detailed descriptions of individual functions in the API to function-specific manual pages. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-25T07:42:34.000000Z K 7 svn:log V 290 Tidy up: Add comments. Eliminate the pointless malloc_type_allocated(..., 0) calls that occur when contigmalloc() has failed. Eliminate the acquisition and release of the page queues lock from vm_page_release_contig(). Rename contigmalloc2() to contigmapping(), reflecting what it does. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2007-11-25T11:11:28.000000Z K 7 svn:log V 794 MFC 1.193: The kernel uses two ways to write data on a pipe: o buffered write, for chunks smaller than PIPE_MINDIRECT bytes o direct write, for everything else A call to writev(2) may receive struct iov of various size and the kernel may have to switch from one solution to the other. Before doing this, it must wake reader processes and any select/poll/kqueue up. This commit fixes a bug where select/poll/kqueue are not triggered when switching from buffered write to direct write. It adds calls to pipeselwakeup(). I give more details on freebsd-arch@: http://lists.freebsd.org/pipermail/freebsd-arch/2007-September/006790.html This should fix issues with Erlang (lang/erlang) and kqueue. Reported by: Rickard Green (Erlang) Approved by: re (kensmith) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2007-11-25T11:54:27.000000Z K 7 svn:log V 794 MFC 1.193: The kernel uses two ways to write data on a pipe: o buffered write, for chunks smaller than PIPE_MINDIRECT bytes o direct write, for everything else A call to writev(2) may receive struct iov of various size and the kernel may have to switch from one solution to the other. Before doing this, it must wake reader processes and any select/poll/kqueue up. This commit fixes a bug where select/poll/kqueue are not triggered when switching from buffered write to direct write. It adds calls to pipeselwakeup(). I give more details on freebsd-arch@: http://lists.freebsd.org/pipermail/freebsd-arch/2007-September/006790.html This should fix issues with Erlang (lang/erlang) and kqueue. Reported by: Rickard Green (Erlang) Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-11-25T12:41:47.000000Z K 7 svn:log V 327 pfil(9) locking take 3: Switch to rmlock(9) This has the benefit that rmlocks have proper support for reader recursion (in contrast to rwlock(9) which could potential lead to writer stravation). It also means a significant performance gain, eventhough only visible in microbenchmarks at the moment. Discussed on: -arch, -net END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-25T13:02:56.000000Z K 7 svn:log V 101 Merge files:1.1252 from HEAD to RELENG_7: Alphabetize pts before pty. Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-11-25T16:14:32.000000Z K 7 svn:log V 34 Clean up after previous revision. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2007-11-25T17:31:42.000000Z K 7 svn:log V 131 The fix for blocked select/poll/kqueue (rev 1.184.2.3) wasn't applied correctly: one line was missing. Approved by: re (kensmith) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2007-11-25T17:33:54.000000Z K 7 svn:log V 794 MFC 1.193: The kernel uses two ways to write data on a pipe: o buffered write, for chunks smaller than PIPE_MINDIRECT bytes o direct write, for everything else A call to writev(2) may receive struct iov of various size and the kernel may have to switch from one solution to the other. Before doing this, it must wake reader processes and any select/poll/kqueue up. This commit fixes a bug where select/poll/kqueue are not triggered when switching from buffered write to direct write. It adds calls to pipeselwakeup(). I give more details on freebsd-arch@: http://lists.freebsd.org/pipermail/freebsd-arch/2007-September/006790.html This should fix issues with Erlang (lang/erlang) and kqueue. Reported by: Rickard Green (Erlang) Approved by: re (kensmith) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-25T17:41:31.000000Z K 7 svn:log V 67 Trim release errata for 6.3-RELEASE. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-25T17:42:08.000000Z K 7 svn:log V 98 Update upload location for release note renderings for 6.3-RELEASE. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-25T17:51:48.000000Z K 7 svn:log V 184 Bump version numbers in the release documentation for 6.3-RELEASE. Some more changes are required in this file to make manpage hyperlinks work correctly. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-25T18:09:14.000000Z K 7 svn:log V 68 New release note: freebsd-update(8). Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-25T18:13:09.000000Z K 7 svn:log V 85 New release notes: freebsd-update(8) -r, OpenBSM 1.0. Approved by: re (implicitly) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-25T19:15:53.000000Z K 7 svn:log V 254 Merge nfs.h:1.83, nfs_srvsubs.c:1.150 from HEAD to RELENG_7: Garbage collect now-unused nfsrv_setcred() -- it's not only unused, but also a purveyor of unfortunate (and now unsupported) direct frobbing of struct ucred. Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-11-25T19:26:46.000000Z K 7 svn:log V 534 MFC pf.c 1.51, pf_ioctl.c 1.30 and pf_if.c 1.13-1.14: Reloop OpenBSD rev. 1.563: In pf_test_fragment(), ignore protocol-specific criteria for packets of different protocols. Cleanup pf interface mangement - esp. remove EVENTHANDLER before unloading the coresponding code. This was lost during 4.1 import. Bring back pf_if.c revs 1.8 and 1.6 also lost during last import: - Use correct time for tzero when compiled in - Don't use bogus interface addresses on ptp-interfaces with :0 Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-11-25T19:28:38.000000Z K 7 svn:log V 107 MFC tcpdump.c 1.13: Avoid excessive error message printout. PR: bin/118150 Approved by: re (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-11-25T20:10:13.000000Z K 7 svn:log V 64 Much belatedly MFC the ipfwpcap utility. Approved by: re (ken) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-25T20:37:29.000000Z K 7 svn:log V 313 Make contigmalloc(9)'s page laundering more robust. Specifically, use vm_pageout_fallback_object_lock() in vm_contig_launder_page() to better handle a lock-ordering problem. Consequently, trylock's failure on the page's containing object no longer implies that the page cannot be laundered. MFC after: 6 weeks END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2007-11-25T20:43:27.000000Z K 7 svn:log V 35 Fix -jX when makefiles are remade. END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-11-26T00:36:40.000000Z K 7 svn:log V 258 Polish this manual page a bit: - refer to the dummynet(4) man page only once, later use rather the .Nm macro. - use .Va macro when refering to the sysctl variables - grammar and markup fixes Reviewed by: keramida, trhodes, ru (roughly) MFC-after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-26T02:35:17.000000Z K 7 svn:log V 91 Move the added code in revision 1.26 into function pthread_key_create, it should be there. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-26T02:44:05.000000Z K 7 svn:log V 108 MFC revision 1.27: In _pthread_key_create() ensure that libkse is initialized. Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-26T02:52:20.000000Z K 7 svn:log V 108 MFC revision 1.27: In _pthread_key_create() ensure that libkse is initialized. Approved by: re (kensmith) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-26T03:09:33.000000Z K 7 svn:log V 303 - Allow source descriptors with no data to be used as arguments to the elf{32,64}_xlateto[fm]() translation functions. This change makes our libelf compatible with other ELF(3) implementations. [1] - Update manual page to reflect this change. - Style fixes: wrap a long line. Submitted by: jb [1] END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-11-26T03:29:17.000000Z K 7 svn:log V 300 - Put __mb_sb_limit symbol back to libc to ease users' pain when upgrading their 6-STABLE system. This is necessary because we have this symbol exported between 20071025 and 20071030. Binaries built during that perios will be broken after 602115. Requested by: many Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-26T05:03:55.000000Z K 7 svn:log V 28 silence compiler complaints END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-26T05:47:15.000000Z K 7 svn:log V 34 Add Dell's Photo AIO Printer 926. END