ƒ­g136545 193 708 164 166 115 163 147 125 145 132 297 165 305 256 416 283 158 162 244 517 246 665 189 417 165 156 130 147 185 204 228 234 332 166 262 213 247 285 203 379 223 414 273 155 166 263 116 277 214 131 238 179 142 119 137 148 194 421 195 133 139 161 528 166 144 132 209 119 119 133 207 304 158 329 177 154 230 140 138 227 140 199 515 321 123 191 246 196 651 241 195 158 164 206 224 178 116 177 323 227 127 238 176 118 238 182 113 117 113 108 108 526 133 108 178 119 256 116 494 155 840 126 126 163 150 168 126 216 259 1817 143 108 205 244 465 108 571 221 1741 443 278 575 464 362 363 178 202 171 2044 321 954 348 112 268 126 457 176 113 144 142 380 126 102 199 125 307 227 563 298 142 664 484 296 126 456 167 176 289 232 196 701 221 210 2246 132 126 360 503 185 299 193 191 274 706 K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-10-15T06:43:48.000000Z K 7 svn:log V 611 Add Simplified Chinese translation for our release notes. This translation is based on RELENG_5 so it should be tagged as RELENG_5 when appropriate (This set of files DOES build under 6-CURRENT because a last-minute hack added to readme/article.sgml, however, the contents is for RELENG_5). This includes: The Migration Guide Errata Hardware Notes (only i386 and amd64 at this time) Installation Guide [2] Readme [1] Release Notes Submitted by: delphij, gavin (local repository committer) [1], zhangluo (additional local contributor; part of i386 related contents) [2] Approved by: murray (mentor) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-10-15T06:43:49.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-10-15T06:43:50.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_3'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-15T06:44:13.000000Z K 7 svn:log V 24 Polish the last change. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-10-15T06:59:07.000000Z K 7 svn:log V 71 document host_start_mem. # feel free to wordsmith. Suggested by: ru@ END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-10-15T08:22:37.000000Z K 7 svn:log V 54 Merged from sys/dev/sio/sio.c (Use generic tty code). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-15T08:51:12.000000Z K 7 svn:log V 34 Overdue removal of COMPAT* knobs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-15T08:57:24.000000Z K 7 svn:log V 54 Remove a redundant "uname=root". Forgotten by: dougb END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-10-15T09:03:07.000000Z K 7 svn:log V 40 Make pty's always come up in echo mode. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-15T09:31:08.000000Z K 7 svn:log V 204 Account for the fact that sendfile(2) may hit the end of file prematurely, e.g., if the file has been truncated by someone else. PR: bin/72649 Submitted by: Oleg Koreshkov (portions) MFC after: 2 weeks END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-15T09:38:13.000000Z K 7 svn:log V 73 Clean-up around sendfile(): drop an excessive check for error condition. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-15T09:51:36.000000Z K 7 svn:log V 212 We must not fall back to the old way (read-write) if sendfile() transferred some data before throwing a error condition because sendfile() won't move the file offset for read() to start from. MFC after: 2 weeks END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-10-15T12:50:05.000000Z K 7 svn:log V 159 Use .Xr in place of .I for Xref's. PR: 71730 Submitted by: Gavin Atkinson (original patch) Commit ok: mbr (through GNATS PR) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-10-15T15:59:26.000000Z K 7 svn:log V 318 MFC of v1.18, from that log entry: > date: 2004/09/14 21:58:30; author: tegge; state: Exp; lines: +1 -1 > Correct polarity of packet mode bit. > > Problem discovered when 'boot0cfg -B -v -o packet -s 2 ad4' turned off > packet mode while reporting it as being enabled. Reviewed by: tegge Approved by: re (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-10-15T16:02:43.000000Z K 7 svn:log V 190 MFC: Print flags options for acpi devices. * Note, previous commit message should have been: Set device description for devices that attach via isa_pnp_probe(). Approved by: re (kensmith) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-10-15T16:03:19.000000Z K 7 svn:log V 66 MFC: Set device flags before probing. Approved by: re (kensmith) END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-10-15T16:22:30.000000Z K 7 svn:log V 70 MFC changes 1.4 (imp - newbus) and 1.3 (obrien - style) OK'd by: imp END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-10-15T19:46:44.000000Z K 7 svn:log V 146 MFC 1.3: Add the necessary magic to make the thousands separator work for floating-point formats in the Greek locale. Approved by: re (kensmith) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-10-15T21:45:13.000000Z K 7 svn:log V 424 MFC: uipc_mbuf.c v1.136: > improve the mbuf m_print function.. Only pull length from pkthdr if there > is one, detect mbuf loops and stop, add an extra arg so you can only print > the first x bytes of the data per mbuf (print all if arg is -1), print > flags using %b (bitmask)... musycc.c v1.34: > Add -1 to this non-existent use of m_print in the source tree so LINT > compiles again :-) Approved by: re (scottl) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-10-15T21:58:35.000000Z K 7 svn:log V 153 MFC: kern_event.c v1.8[34]: > fix a bug where signal events didn't set the flags for attach/detach.. > PR: 72234 Approved by: re (scottl) END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-10-15T22:12:59.000000Z K 7 svn:log V 566 MFC Added support for Intel PRO/1000 GT Desktop Adapter(Device ID 8086 107C) Removed support for Intel 82541ER Added fix for 82547 which corrects an issue with Jumbo frames larger than 10k. Added fix for vlan tagged frames not being properly bridged. Corrected TBI workaround. Corrected incorrect LED operation issues Fix typeo. Should read ***!***IFQ_DRV_IS_EMPTY. This might fix some of the trouble around em(4) filling up its buffers. Don't count RNBC (internal buffer full) towards the RX error count since it's not really an error. Approved by: re[scott long] END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-10-15T22:31:56.000000Z K 7 svn:log V 95 - PAM configuration is now in /etc/pam.d/su. - Bump document date. Approved by: re (kensmith) END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-10-15T23:27:42.000000Z K 7 svn:log V 318 MFC Added support for Intel PRO/1000 GT Desktop Adapter(Device ID 8086 107C) Removed support for Intel 82541ER Added fix for 82547 which corrects an issue with Jumbo frames larger than 10k. Added fix for vlan tagged frames not being properly bridged. Corrected TBI workaround. Corrected incorrect LED operation issues END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-10-15T23:31:19.000000Z K 7 svn:log V 67 Clariified full duplex commands and added support for new devices. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-10-15T23:39:52.000000Z K 7 svn:log V 62 Skip probe attempts for ISA PnP devices. Pointed out by: imp END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-10-15T23:46:00.000000Z K 7 svn:log V 33 We use /etc/pam.d/login nowadays END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-10-16T00:13:38.000000Z K 7 svn:log V 50 Bump document date Reminded by: simon in ru-mode END K 10 svn:author V 5 green K 8 svn:date V 27 2004-10-16T00:53:44.000000Z K 7 svn:log V 91 MFC r1.149-r1.151: add IFF_NEEDSGIANT when IS_GIANT and add ALTQ support. Approved by: re END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-10-16T00:54:51.000000Z K 7 svn:log V 106 MFC: rev. 1.27, 1.28 - we use /etc/pam.d/login nowadays - bump document date Approved by: re (kensmith) END K 10 svn:author V 5 green K 8 svn:date V 27 2004-10-16T01:41:34.000000Z K 7 svn:log V 133 MFC uma_dbg.c r1.16, uma_core.c r1.106-1.107: critical stability/leak fixes (for MBUF clusters) implemented by UMA. Approved by: re END K 10 svn:author V 3 ups K 8 svn:date V 27 2004-10-16T02:14:59.000000Z K 7 svn:log V 141 MFC: rev 1.150 Force MUTEX_WAKE_ALL. A race condition in single thread wakeup may break priority inheritance. Approved by: re (kensmith) END K 10 svn:author V 3 ups K 8 svn:date V 27 2004-10-16T02:17:02.000000Z K 7 svn:log V 239 MFC: rev 1.99, rev 1.101 Prevent preemption in slot_fill. Implement preemption between threads in the same ksegp in out of slot situations to prevent priority inversion. Fix maybe_preempt_in_ksegrp for !SMP. Approved by: re (kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-10-16T02:17:03.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_3'. END K 10 svn:author V 3 ups K 8 svn:date V 27 2004-10-16T02:17:54.000000Z K 7 svn:log V 169 MFC: rev 1.12 Directly modifying the priority of a thread that may be on the runqueue can break the sorting order of the ksegp run queue. Approved by: re (kensmith) END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-10-16T03:34:49.000000Z K 7 svn:log V 120 MFC r1.1.1.2. Import a patch from GCC PR c/16999 to stop quoting already quoted ident strings. Approved by: re(scottl) END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-10-16T03:38:41.000000Z K 7 svn:log V 154 MFC r1.15: Use a taskqueue rather than an swi to handle deferred notifications. Obtained from: same change for umct(4) driver. Approved by: re(scottl) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-16T06:11:35.000000Z K 7 svn:log V 189 Try to bring some sanity to the SCM ID's. + spell LIBC_SCCS consistently + enable builds with LIBC_SCCS defined to not syntax error + minor SCM reformatting to try to have some consistency END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-16T06:32:43.000000Z K 7 svn:log V 107 Enable building with LIBC_SCCS defined. Bug submitted by: Andrea Campi END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-16T06:38:22.000000Z K 7 svn:log V 283 If a process needs to be swapped in, wakeup the swapper from within critical_exit as the process is getting scheduled to run. This is subotimal but for now avoid the LOR between the scheduler and the sleepq systems. This is a 5.3 candidate. Submitted by: davidxu MFC After: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-16T07:04:49.000000Z K 7 svn:log V 127 MFC: When harvesting entropy from an ethernet mbuf, do so before freeing the mbuf. Submitted by: rwatson Approved by: re END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-10-16T08:13:19.000000Z K 7 svn:log V 321 Do not remove swap partitions by default as it cause some problems. Instead, add 'swapoff' variable to rc.conf (turned off by default), so users who use gmirror and swap-on-mirror configuration still can turn it on and avoid problems with dirty mirror components on next boot. Idea from: NetBSD Approved by: re (scottl) END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-16T08:36:28.000000Z K 7 svn:log V 180 Fix an ancient typo: `sc' usually equals `ns*nt', not `nc*nt' (the latter is actually the total number of tracks on the disk, which has no field in disktab(5).) MFC after: 1 week END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-10-16T08:43:06.000000Z K 7 svn:log V 63 MFC: latest locking updates/fixes. Approved by: re@ (scottl) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-10-16T08:43:07.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_3'. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-16T09:39:25.000000Z K 7 svn:log V 170 Give details on what will happen if the `offset' argument to sendfile(2) falls beyond the end of file. Touch .Dd. PR: bin/72649 (in the audit trail) MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-16T09:46:38.000000Z K 7 svn:log V 24 Improve mdoc(7) markup. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-16T09:53:35.000000Z K 7 svn:log V 184 Explain it is a negative offset that EINVAL may indicate. Now readers won't get an impression that pointing to beyond the current end of file will result in EINVAL. MFC after: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-10-16T16:00:01.000000Z K 7 svn:log V 117 Document that the length modifier l is ignored for floating point conversion specifiers (a, A, e, E, f, F, g and G). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-16T19:17:03.000000Z K 7 svn:log V 36 Move up to 5.3-RC1 Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-16T19:26:13.000000Z K 7 svn:log V 142 Welcome to 5.3-STABLE. Even though the final release is not going to be cut for a few more days, this branch is not -STABLE Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-16T19:29:22.000000Z K 7 svn:log V 84 Update __FreeBSD_version to differentiate RELENG_5_3 from RELENG_5 Approved by: re END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-16T19:51:34.000000Z K 7 svn:log V 51 Utilize FILES and SYMLINKS, other simplifications. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-16T20:42:18.000000Z K 7 svn:log V 28 Utilize FILES and SYMLINKS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-16T20:52:32.000000Z K 7 svn:log V 46 Install files with mode 444, as God intended. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-10-16T21:27:28.000000Z K 7 svn:log V 57 Add support for the Vodafone Mobile Connect 3G datacard. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-10-16T21:36:19.000000Z K 7 svn:log V 102 Update manpage for the Vodafone Mobile Connect 3G datacard. Bump document date. Reminded by: simon END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-10-16T22:32:50.000000Z K 7 svn:log V 328 When sf_buf_alloc() replaces a virtual-to-physical mapping, it needn't invalidate the TLB(s) if the old mapping wasn't used by the CPU. With network interfaces that implement checksum off-loading, the old mapping is almost never used by the CPU, only by the device driver for setting up the DMA operation. Reviewed by: tegge@ END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-10-17T01:08:11.000000Z K 7 svn:log V 102 Remove explicit support for generating LC_CTYPE data files that specify the obsolete "UTF2" encoding. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-10-17T01:52:48.000000Z K 7 svn:log V 41 Bump the libc major version number to 6. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-10-17T02:29:15.000000Z K 7 svn:log V 47 Remove support for the obsolete UTF2 encoding. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-10-17T03:02:50.000000Z K 7 svn:log V 69 Use instead of since the latter is going away. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-17T05:08:29.000000Z K 7 svn:log V 432 + Simplify by treating the standard x86 CPU names as the CPUTYPE vs. treating them as an alias. Treat the shorthand versions as aliases. + Separate the x86 GCC CPU CFLAGS from the ICC CFLAGS. This greatly simplifies the GCC section. It also makes it more clear which CPU's have the same ICC CPU CFLAGS. + Remove redundancy in the alpha section. + Add forgotten ICC CPU CFLAGS for the mobile Intel CPU's added in rev. 1.42. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-17T05:19:45.000000Z K 7 svn:log V 71 Embellish the AMD64 sections a little. Including supporting 'nocona'. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-17T05:36:20.000000Z K 7 svn:log V 49 Catch up with share/mk/bsd.cpu.mk revision 1.43. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-10-17T06:51:50.000000Z K 7 svn:log V 40 Remove the obsolete interface. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-10-17T07:13:34.000000Z K 7 svn:log V 113 Document EMSGSIZE return from recvmsg due to insufficient free files when transfering rights (file descriptors.) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-17T09:48:23.000000Z K 7 svn:log V 28 Utilize FILES and SYMLINKS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-17T10:49:30.000000Z K 7 svn:log V 28 Utilize FILES and SYMLINKS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-17T11:07:03.000000Z K 7 svn:log V 42 Fixed a typo. Submitted by: Pawel Worach END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-10-17T13:19:10.000000Z K 7 svn:log V 109 The populate_var variable checks /var for writability, not /tmp. Noticed by: Alan Gerber END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-10-17T13:39:42.000000Z K 7 svn:log V 206 Fix a bogus variable assignment. You can't expect _msg="a" \ " b" to concat the strings. Use _msg="a" _msg="$_msg b" instead (intent is to not exceed 80 chars per line). MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-17T14:36:30.000000Z K 7 svn:log V 63 Set the real limits on 5-current, add 5-stable, add 6-current. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-17T14:59:18.000000Z K 7 svn:log V 233 Remove the suggestion to use libmap.conf to deal with the version bump. People have a tendency to add things to libmap.conf and forget about them (as we've seen in the mailing lists before). The compat4x port should be used instead. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-10-17T19:02:17.000000Z K 7 svn:log V 83 Fix a typo: s/kerncruft/kernelcruft/. PR: misc/72792 Submitted by: Hywel Mallett END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-10-17T19:31:58.000000Z K 7 svn:log V 62 MFC: Move session state from on-card memory to host memory... END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-10-17T19:33:33.000000Z K 7 svn:log V 133 Remove definition of struct dom_binding, it's non-standard C code and unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-10-17T20:29:28.000000Z K 7 svn:log V 48 Remove unnecessary check for curthread == NULL. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-10-17T20:47:35.000000Z K 7 svn:log V 46 MFC: compile fix for missing ; w/o INVARIANTS END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-10-17T21:05:40.000000Z K 7 svn:log V 131 Fix typo in rev. 1.58 (missing $) that invalidated the conditional and caused freebsd-update to be added to the ia64 package list. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-10-17T21:29:53.000000Z K 7 svn:log V 44 Remove an extra semicolon after a function. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-10-17T21:44:11.000000Z K 7 svn:log V 102 Use cluster if data >= MINCLSIZE. Reviewed by: mdodd Approved by: julian (mentor) MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-10-17T22:20:39.000000Z K 7 svn:log V 419 turn off getty(8) on ttyv[0-7]. We don't support syscons on ia64 and do not have these device special files. Where this previously failed quietly, it now emits annoying but complete messages at best and incomprehensible prefixes on average. During all of October, this is a string of 16 O's, as in: : Starting inetd. Sun Oct 17 15:09:09 PDT 2004 OOOOOOOOOOOOOOOO FreeBSD/ia64 (itanium.pn.xcllnt.net) (ttyu2) login: END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-10-17T22:33:40.000000Z K 7 svn:log V 228 Assert that the containing object is locked in vm_page_io_start() and vm_page_io_finish(). The motivation being to transition synchronization of the vm_page's busy field from the global page queues lock to the per-object lock. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-17T23:35:16.000000Z K 7 svn:log V 26 Don't rely on stdio here. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-17T23:37:09.000000Z K 7 svn:log V 94 Correct the return type of archive_write_data to match the documentation. MFC after: 30 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-17T23:40:10.000000Z K 7 svn:log V 148 Refine the error-checking and reporting in the "compress" format decompression code. In particular, distinguish between EOF and fatal data errors. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-17T23:47:30.000000Z K 7 svn:log V 99 Correctly report write errors from the lowest-level output routines back to the compression layer. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-10-17T23:55:07.000000Z K 7 svn:log V 554 Latest timezone database from Arthur Olson. Updates in this round: Current or prospective timestamps: Georgia, Uruguay, Argentina, and Brazil Historial timestamps and/or commentary: Malaysia, Mongolia, Singapore, Peru, Russua, Israel, United States, Canada Changes in Argentina and Brazil have created several new time zone regions. Users are encouraged to rerun tzsetup(8), even if current times appear correct, to ensure that future times will be interepreted correctly. Obtained from: Arthur Olson, ftp://elsie.nci.nih.gov/pub/tzdata2004e.tar.gz END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-10-17T23:55:07.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r136632, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-17T23:57:10.000000Z K 7 svn:log V 98 Cosmetic goof: Use two spaces in "Jan 03 2004" but only one in "Jan 03 12:32" MFC after: 15 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-10-17T23:57:37.000000Z K 7 svn:log V 62 Redo vendor import using correct (nonstandard) vendor branch. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-10-17T23:57:38.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2004e'. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-17T23:58:17.000000Z K 7 svn:log V 108 getopt(3) prints an "unrecognized option" warning for me, so I shouldn't print another. MFC after: 15 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-10-18T00:03:52.000000Z K 7 svn:log V 127 MFV tzdata2004e Users in Brazil and Argentina should run tzsetup(8). Obtained from: Arthur David Olson MFC after re approval END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-10-18T00:45:28.000000Z K 7 svn:log V 81 Typo fix. PR: misc/72801 Submitted by: Hywel Mallett END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T02:06:18.000000Z K 7 svn:log V 23 Remove setrunelocale() END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-18T04:34:30.000000Z K 7 svn:log V 80 Use STDERR_FILENO instead of 2, as POSIX intended. Thanks to: Alfred Perlstein END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-10-18T05:31:01.000000Z K 7 svn:log V 225 Revert 1.18: It broke Athlon64 builds, which probably means it also requires a .so version bump. Defer it until I finish some related work on cleaning up error returns throughout the library. Thanks to: Conrad J. Sabatier END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-18T05:34:54.000000Z K 7 svn:log V 131 Add a -q flag to pkg_version. It suppresses the output of <,=,>. This makes it possible to "portupgrade `pkg_version -q -l '<'`". END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:02:42.000000Z K 7 svn:log V 34 Virgin import of GNU Readline 5.0 END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:02:42.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r136644, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-10-18T07:02:43.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'libreadline-vendor-v5_0'. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:10:33.000000Z K 7 svn:log V 25 Official patches 001-005 END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:10:33.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r136647, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-10-18T07:10:34.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'libreadline-vendor-v5_0_p1_p5'. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:15:43.000000Z K 7 svn:log V 20 Update instructions END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:18:06.000000Z K 7 svn:log V 24 Remove files not in 5.0 END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:25:32.000000Z K 7 svn:log V 20 Merge local changes END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T07:49:59.000000Z K 7 svn:log V 15 Update for 5.0 END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T08:08:03.000000Z K 7 svn:log V 15 Upgrade to 5.0 END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-10-18T08:11:59.000000Z K 7 svn:log V 433 Correct two errors in PG_BUSY management by vm_page_cowfault(). Both errors are in rarely executed paths. 1. Each time the retry_alloc path is taken, the PG_BUSY must be set again. Otherwise vm_page_remove() panics. 2. There is no need to set PG_BUSY on the newly allocated page before freeing it. The page already has PG_BUSY set by vm_page_alloc(). Setting it again could cause an assertion failure. MFC after: 2 weeks END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T08:14:48.000000Z K 7 svn:log V 40 This files no longer used Asked-by: ru END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T08:29:47.000000Z K 7 svn:log V 15 Upgrade to 5.0 END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T08:36:40.000000Z K 7 svn:log V 85 Back out termcap -> ncurses change in LDADD/DPADD It expand functions scope too wide END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T08:54:17.000000Z K 7 svn:log V 28 Utilize FILES and SYMLINKS. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-10-18T10:02:04.000000Z K 7 svn:log V 163 Since sendfile(2) works on regular files only, which have no negative offsets, "negative" and "invalid" are equivalent WRT the offset argument. Suggested by: bde END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-10-18T10:13:24.000000Z K 7 svn:log V 23 Update to readline 5.0 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-18T11:23:11.000000Z K 7 svn:log V 397 Correct several instances where calls to vfs_getvfs() resulting in failure in the NFS server would result in a leaked instance of the NFS server subsystem lock. Liberally sprinkle assertions in all target labels for error unwinding to assert the desired locking state. RELENG_5_3 candidate. MFC after: 3 days Reported by: Wilkinson, Alex END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-10-18T14:59:53.000000Z K 7 svn:log V 60 Remove unused computation of memory size. Reviewed by: des END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-10-18T15:40:47.000000Z K 7 svn:log V 742 Modify behaviour of `xargs -I` in order to: 1. Conform to IEEE Std 1003.1-2004, which state that "Constructed arguments cannot grow larger than 255 bytes", and 2. Avoid a buffer overflow. Unfortunately the standard doesn't indicate how xargs is supposed to handle arguments which (with the appropriate substitutions) would grow larger than 255 bytes; this solution handles those by making as many substitutions as possible without overflowing the buffer. OpenBSD's xargs resolves this in a different direction, by making all the substitutions and then silently truncating the resulting string. Since this change may break existing scripts which rely upon the buffer overflow (255 bytes isn't really all that long...) it will not be MFCed. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T16:26:25.000000Z K 7 svn:log V 35 Replaced afterinstall: with FILES. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T16:39:53.000000Z K 7 svn:log V 35 Replaced afterinstall: with FILES. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-10-18T17:03:53.000000Z K 7 svn:log V 67 New directory added for Argentinian timezones. Submitted by: ache END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T17:16:01.000000Z K 7 svn:log V 59 Replaced afterinstall: with equivalent FILES and SYMLINKS. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-18T17:19:36.000000Z K 7 svn:log V 73 Sync with sys/i386/include/endian.h: use the single instruction 'bswap'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T17:20:29.000000Z K 7 svn:log V 35 Replaced afterinstall: with FILES. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T17:47:31.000000Z K 7 svn:log V 124 Fixed MAKEOBJDIRPREFIX variable type check in case the env(1) binary is not in PATH, as is the case with installworld, etc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-18T19:29:13.000000Z K 7 svn:log V 162 Annotate that get_cyclecount() can be expensive on some platforms, which juxtaposes nicely with the comment just above on how the harvest function must be cheap. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-10-18T20:13:57.000000Z K 7 svn:log V 1719 Major overhaul. List of functional changes: - Make a single device per single node with a single hook. This gives us parrallelizm, which can't be achieved on a single node with many devices/hooks. This also gives us flexibility - we can play with a particular device node, not affecting others. - Remove read queue as it is. Use struct ifqueue instead. This change removes a lot of extra memcpy()ing, m_devget()ting and m_copymem()ming. In ng_device_receivedata() we enqueue an mbuf and wake readers. In ngdread() we take one mbuf from qeueue and uiomove() it to userspace. If no mbuf is present we optionally block. [1] - In ngdwrite() we create an mbuf from uio using m_uiotombuf(). This is faster then uiomove() into buffer, and then m_copydata(), and this is much better than huge m_pullup(). - Perform locking of device - Perform locking of connection list. - Clear out _rcvmsg method, since it does nothing good yet. - Implement NGM_DEVICE_GET_DEVNAME message. - #if 0 ioctl method, while nothing is done here yet. - Return immediately from ngdwrite() if uio_resid == 0. List of tidyness changes: - Introduce device2priv(), to remove cut'n'paste. - Use MALLOC/FREE, instead of malloc/free. - Use unit2minor(). - Use UID_ROOT/GID_WHEEL instead of 0/0. - Define NGD_DEVICE_DEVNAME, use it. - Use more nice macros for debugging. [2] - Return Exxx, not -1. style(9) changes: - No "#endif" after short block. - Break long lines. - Remove extra spaces, add needed spaces. [1] Obtained from: if_tun.c [2] Obtained from: ng_pppoe.c Reviewed by: marks Approved by: julian (mentor) MFC after: 1 month END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-10-18T21:24:21.000000Z K 7 svn:log V 51 Add an entry about some tty devices being renamed. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T21:29:20.000000Z K 7 svn:log V 17 Utilize SCRIPTS. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-18T21:31:05.000000Z K 7 svn:log V 109 Catch up with PHK's sio(4) rework [sys/dev/sio/sio.c rev. 1.456]. Also catch up with RCng. Reviewed by: phk END K 10 svn:author V 2 le K 8 svn:date V 27 2004-10-18T21:33:56.000000Z K 7 svn:log V 152 Drop the NDIS lock before returning from ndis_start(). PR: i386/72795 Submitted by: Frank Mayhar MFC in: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T21:42:15.000000Z K 7 svn:log V 373 Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in the implementation of the following feature in revision 1.4: - Install Makefile.yp as /var/yp/Makefile.dist and link it to /var/yp/Makefile only if /var/yp/Makefile doesn't already exist. Suggested by Peter Wemm. The actual code was only symlinking when no /var/yp/Makefile.dist existed, i.e., never. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T21:44:17.000000Z K 7 svn:log V 17 Utilize SCRIPTS. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-10-18T21:51:27.000000Z K 7 svn:log V 478 Add new function ttyinitmode() which sets our systemwide default modes on a tty structure. Both the ".init" and the current settings are initialized allowing the function to be used both at attach and open time. The function takes an argument to decide if echoing should be enabled. Echoing should not be enabled for regular physical serial ports unless they are consoles, in which case they should be configured by ttyconsolemode() instead. Use the new function throughout. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-18T22:18:23.000000Z K 7 svn:log V 129 uniq(1) is not an install tool, and using it was causing "uniq: not found" during the installworld. Spotted by: Roman Neuhauser END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-18T22:19:43.000000Z K 7 svn:log V 1643 Push acquisition of the accept mutex out of sofree() into the caller (sorele()/sotryfree()): - This permits the caller to acquire the accept mutex before the socket mutex, avoiding sofree() having to drop the socket mutex and re-order, which could lead to races permitting more than one thread to enter sofree() after a socket is ready to be free'd. - This also covers clearing of the so_pcb weak socket reference from the protocol to the socket, preventing races in clearing and evaluation of the reference such that sofree() might be called more than once on the same socket. This appears to close a race I was able to easily trigger by repeatedly opening and resetting TCP connections to a host, in which the tcp_close() code called as a result of the RST raced with the close() of the accepted socket in the user process resulting in simultaneous attempts to de-allocate the same socket. The new locking increases the overhead for operations that may potentially free the socket, so we will want to revise the synchronization strategy here as we normalize the reference counting model for sockets. The use of the accept mutex in freeing of sockets that are not listen sockets is primarily motivated by the potential need to remove the socket from the incomplete connection queue on its parent (listen) socket, so cleaning up the reference model here may allow us to substantially weaken the synchronization requirements. RELENG_5_3 candidate. MFC after: 3 days Reviewed by: dwhite Discussed with: gnn, dwhite, green Reported by: Marc UBM Bocklet Reported by: Vlad END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-10-18T23:06:12.000000Z K 7 svn:log V 350 fix (for me) the problems where if_de gets really slow after time (usually taking 20 seconds to transmit a packet).. no longer fall back to only transmitting one packet (instead of the entire queue) after we have processed the entire send queue... I have no idea why we didn't start seeing this problem ~6 years ago when this code was introduced... END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-10-18T23:40:13.000000Z K 7 svn:log V 182 When dumpdev is set to 'auto', and a suitable swap device is found, create a symbolic link /dev/dumpdev designating that device so savecore can find and save a previous kernel dump. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-19T02:39:27.000000Z K 7 svn:log V 479 Use an alignment of 1 instead of PAGE_SIZE for the rx and tx buffer tags. Since the e1000 DMA engines hava no constraints on the alignment of buffer transfers, there is no reason to tell busdma that there is. This save a minimum of 1 malloc call per packet, which translates to eliminating 4 locks. It also means that buffers are not needlessly bounced when transfered. The end result is a 38% improvement in pps in a 4 way bridging environment. Obtained from: Sandvine, Inc. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-19T02:42:49.000000Z K 7 svn:log V 368 Use and alignment of 1 instead of ETHER_ALIGN for rx and tx buffers and jumbo frames. BGE hardware with the rx alignment bug will still be handled by the calls to m_adj() that already exist. m_adj() is probably better suited for this task anyways. Just as with if_em, this saves a malloc + several locks per packet and prevents unneeded data copying within busdma. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-10-19T02:44:38.000000Z K 7 svn:log V 266 Forced commit to note that the previous change also elimates calls to bus_dmamap_create|destroy for the rx and tx descriptor buffers. Since these buffers are created with bus_dmamem_alloc(), there is no reason to also create a map, and doing so just wastes memory. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-10-19T10:29:00.000000Z K 7 svn:log V 271 Return the unit number of a channel instead of a hardcoded '1' from the ATA pccard locking function. This makes pccard devices like Compact Flash cards work again. PR: kern/72805 Submitted by: James E. Flemer MFC in: 2 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T14:26:44.000000Z K 7 svn:log V 84 Be more careful to only index valid IP protocols and be more verbose with comments. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T14:31:56.000000Z K 7 svn:log V 107 Make comments more clear. Change the order of one if() statement to check the more likely variable first. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T14:34:13.000000Z K 7 svn:log V 77 Add a macro for the destruction of INP_INFO_LOCK's used by loadable modules. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T15:13:30.000000Z K 7 svn:log V 1948 Support for dynamically loadable and unloadable protocols within existing protocol families. The protosw[] array of any particular protocol family ("domain") is of fixed size defined at compile time. This made it impossible to dynamically add or remove any protocols to or from it. We work around this by introducing so called SPACER's which are embedded into the protosw[] array at compile time. The SPACER's have a special protocol number (32767) to indicate the fact that they are SPACER's but are otherwise NULL. Only as many protocols can be dynamically loaded as SPACER's are provided in the protosw[] structure. The pr_usrreqs structure is treated more special and contains pointers to dummy functions only returning EOPNOTSUPP. This is needed because the use of those functions pointers is usually not checked within the kernel because until now it was assumed to be a valid function pointer. Instead of fixing all potential callers we just return a proper error code. Two new functions provide a clean API to register and unregister a protocol. The register function expects a pointer to a valid and complete struct protosw including a pointer to struct pru_usrreqs provided by the caller. Upon successful registration the pr_init() function will be called to finish initialization of the protocol. The unregister function restores the SPACER in place of the protocol again. It is the responseability of the caller to ensure proper closing of all sockets and freeing of memory allocation by the unloading protocol. sys/protosw.h o Define generic PROTO_SPACER to be 32767 o Prototypes for all pru_*_notsupp() functions o Prototypes for pf_proto_[un]register() functions kern/uipc_domain.c o Global struct pr_usrreqs nousrreqs containing valid pointers to the pru_*_notsupp() functions o New functions pf_proto_[un]register() kern/uipc_socket2.c o New functions bodies for all pru_*_notsupp() functions END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-10-19T15:30:47.000000Z K 7 svn:log V 228 Detach the Rhine completely on shutdown, rather than merely stopping it as the original logic did. This fixes a race with vr_intr() which was masked on UP systems and manifested on SMP systems. PR: kern/62889 MFC after: 1 day END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T15:45:57.000000Z K 7 svn:log V 859 Support for dynamically loadable and unloadable IP protocols in the ipmux. With pr_proto_register() it has become possible to dynamically load protocols within the PF_INET domain. However the PF_INET domain has a second important structure called ip_protox[] that is derived from the 'struct protosw inetsw[]' and takes care of the de-multiplexing of the various protocols that ride on top of IP packets. The functions ipproto_[un]register() allow to dynamically adjust the ip_protox[] array mux in a consistent and easy way. To register a protocol within ip_protox[] the existence of a corresponding and matching protocol definition in inetsw[] is required. The function does not allow to overwrite an already registered protocol. The unregister function simply replaces the mux slot with the default index pointer to IPPROTO_RAW as it was previously. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T15:58:22.000000Z K 7 svn:log V 253 Make use of the PROTO_SPACER functionality for dynamically loadable protocols in inetsw[] and define initially eight spacer slots. Remove conflicting declaration 'struct pr_usrreqs nousrreqs'. It is now declared and initialized in kern/uipc_domain.c. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-10-19T16:47:53.000000Z K 7 svn:log V 20 Fix typo sc -> dev. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-19T17:25:33.000000Z K 7 svn:log V 172 Define "I386_CPU" if CPUTYPE is 'i386'. Userland bits can check for "I386_CPU" to determine if they should select code paths suitable for the 80386 CPU. Suggested by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-19T17:32:56.000000Z K 7 svn:log V 35 Apply README guidelines (no tabs). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-19T17:39:15.000000Z K 7 svn:log V 361 Size matters. Correctly use a size_t so 64-bit hosts can mount SMB FS's when using character set conversions. Also include POSIX vs. BSD now that we've broken traditional BSD behavior [and compatibility with our BSD brethren]. PR: 72445 Submitted by: Vladimir Nechitailo Patch by: Stasys Smailys END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-19T17:44:31.000000Z K 7 svn:log V 81 + Get prototypes for libc functions. + Use the correct printf format for size_t. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-19T18:06:29.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-19T18:07:26.000000Z K 7 svn:log V 49 libsmb is now WARNS 2 clean on 64-bit platforms. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-19T18:09:29.000000Z K 7 svn:log V 47 This is now WARNS 6 clean on 64-bit platforms. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-19T18:11:55.000000Z K 7 svn:log V 283 Define IFF_LOCKGIANT() and IFF_UNLOCKGIANT() macros, which conditionally acquire Giant if the passed interface has IFF_NEEDSGIANT set on it. Modify calls into (ifp)->if_ioctl() in if.c to use these macros in order to ensure that Giant is held. MFC after: 3 days Bumped into by: jmg END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-10-19T20:02:07.000000Z K 7 svn:log V 34 Really really fix typo this time. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-10-19T20:11:23.000000Z K 7 svn:log V 10 Cosmetics END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-10-19T20:13:38.000000Z K 7 svn:log V 106 Idle the channel earlier in reinit(). Cosmetic change to suspend, dont call tsleep an extra time at exit. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-19T20:30:09.000000Z K 7 svn:log V 34 Make the -m option actually work. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-19T20:38:49.000000Z K 7 svn:log V 215 - Removed the .CURDIR/.OBJDIR magic, it is not necessary here. - Let the built-in sys.mk rule produce the "yearistype" script. - Install zone files with mode 444 (now that the -m option of zic(8) has been fixed). END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-10-19T20:46:14.000000Z K 7 svn:log V 128 Fixes incorrect copyright year and formatting errors introduced in previous version. Reviewed by: Prafulla Deuskar MFC after:1 END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-10-19T20:48:06.000000Z K 7 svn:log V 468 aic7xxx.h: Add constants for SPI protocol delays that are needed for target mode. aic7xxx.c: Correct a target mode issue that caused an occassional spurious REQ to be seen on the bus when performing manual message processing (e.g. transfer rate negotiation). Enforce phase change bus settle rules with explicit delays when performing manual message processing in target mode. The sequencer already did this for "fast-path", target mode message processing. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T20:59:01.000000Z K 7 svn:log V 203 Pre-emptively define IPPROTO_SPACER to 32767, the same value as PROTO_SPACER to document that this value is globally assigned for a special purpose and may not be reused within the IPPROTO number space. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T21:06:14.000000Z K 7 svn:log V 48 Properly declare the "net.inet" sysctl subtree. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T21:14:57.000000Z K 7 svn:log V 569 Convert IPDIVERT into a loadable module. This makes use of the dynamic loadability of protocols. The call to divert_packet() is done through a function pointer. All semantics of IPDIVERT remain intact. If IPDIVERT is not loaded ipfw will refuse to install divert rules and natd will complain about 'protocol not supported'. Once it is loaded both will work and accept rules and open the divert socket. The module can only be unloaded if no divert sockets are open. It does not close any divert sockets when an unload is requested but will return EBUSY instead. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-19T21:35:42.000000Z K 7 svn:log V 387 Annotate a newly introduced race present due to the unloading of protocols: it is possible for sockets to be created and attached to the divert protocol between the test for sockets present and successful unload of the registration handler. We will need to explore more mature APIs for unregistering the protocol and then draining consumers, or an atomic test-and-unregister mechanism. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T22:08:13.000000Z K 7 svn:log V 201 Slightly extend the locking during unload to fully cover the protocol deregistration. This does not entirely close the race but narrows the even previously extremely small chance of a race some more. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-10-19T22:51:20.000000Z K 7 svn:log V 32 Destroy the UMA zone on unload. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-10-19T23:31:44.000000Z K 7 svn:log V 363 Add missing bus_dmamap_sync() calls. If you are using an architecture with a weak memory model or x86 + PAE (or more specifically, your driver is using bounce pages) and you have had problems with em(4), this may fix it. At least this is needed to have em(4) work properly on FreeBSD/arm. Original version by: cognet Reviewed by: tackerman Tested by: cognet END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-10-20T04:54:50.000000Z K 7 svn:log V 75 Rumor has it that ACCTON EN2216 is also an ne2000 compatible. Make it so. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-20T05:43:45.000000Z K 7 svn:log V 85 Don't prepend "/dev" if an argument given is an absolute pathname. Reviewed by: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-20T08:05:02.000000Z K 7 svn:log V 192 Explicitly break out NETA license from Berkeley license to clearly indicate license grant, as well as to indicate that NETA is asserting only two clauses, not four clauses. Requested by: imp END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-10-20T10:11:05.000000Z K 7 svn:log V 139 Do not retry on requests that has lost thier device during reinit. Should fix hangs on IBM's etc with the fake slave problem. MFC: asap END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-10-20T10:11:12.000000Z K 7 svn:log V 101 Fix typo. Submitted by: Patrick Oonk PR: docs/72912 MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-20T10:21:16.000000Z K 7 svn:log V 604 Merge nfs_server.c:1.149 from HEAD to RELENG_5: date: 2004/10/18 11:23:11; author: rwatson; state: Exp; lines: +61 -13 Correct several instances where calls to vfs_getvfs() resulting in failure in the NFS server would result in a leaked instance of the NFS server subsystem lock. Liberally sprinkle assertions in all target labels for error unwinding to assert the desired locking state. RELENG_5_3 candidate. MFC after: 3 days Reported by: Wilkinson, Alex MFC after: 1 day Approved by: re (scottl) END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-10-20T11:05:27.000000Z K 7 svn:log V 126 Ensure that the loadable module version of the mem device contains the same as for the builtin case. Approved by: re(scottl) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-10-20T11:18:31.000000Z K 7 svn:log V 115 -c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) and usage() accordingly. Submitted by: Pawel Worach END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-20T12:42:56.000000Z K 7 svn:log V 2148 Merge kern_descrip.c:1.246, uipc_socket.c:1.214, uipc_usrreq.c:1.141, raw_cb.c:1.30, raw_usrreq.c:1.35, ddp_pcb.c:1.45, atm_socket.c:1.21, ng_btsocket_hci_raw.c:1.16, ng_btsocket_l2cap.c:1.14, ng_btsocket_l2cap_raw.c:1.13, ng_btsocket_rfcomm.c:1.13, in_pcb.c:1.156, tcp_subr.c:1.205, in6_pcb.c:1.61, ipx_pcb.c:1.29, ipx_usrreq.c:1.41, natm.c:1.35, socketvar.h:1.135 from HEAD to RELENG_5: Push acquisition of the accept mutex out of sofree() into the caller (sorele()/sotryfree()): - This permits the caller to acquire the accept mutex before the socket mutex, avoiding sofree() having to drop the socket mutex and re-order, which could lead to races permitting more than one thread to enter sofree() after a socket is ready to be free'd. - This also covers clearing of the so_pcb weak socket reference from the protocol to the socket, preventing races in clearing and evaluation of the reference such that sofree() might be called more than once on the same socket. This appears to close a race I was able to easily trigger by repeatedly opening and resetting TCP connections to a host, in which the tcp_close() code called as a result of the RST raced with the close() of the accepted socket in the user process resulting in simultaneous attempts to de-allocate the same socket. The new locking increases the overhead for operations that may potentially free the socket, so we will want to revise the synchronization strategy here as we normalize the reference counting model for sockets. The use of the accept mutex in freeing of sockets that are not listen sockets is primarily motivated by the potential need to remove the socket from the incomplete connection queue on its parent (listen) socket, so cleaning up the reference model here may allow us to substantially weaken the synchronization requirements. RELENG_5_3 candidate. MFC after: 3 days Reviewed by: dwhite Discussed with: gnn, dwhite, green Reported by: Marc UBM Bocklet Reported by: Vlad MFC after: 1 day Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-10-20T16:22:00.000000Z K 7 svn:log V 40 Fix a typo so that this compiles again. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-10-20T16:22:53.000000Z K 7 svn:log V 34 Fix a typo so that this compiles. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-10-20T16:58:28.000000Z K 7 svn:log V 262 Introduce root_rw_mount as a new variable in defaults/rc.conf to unbreak /etc/rc.d/root for diskless systems that get their root filesystem from a read-only NFS mount. PR: conf/72927 Submitted by: Ralf Wenk Reviewed by: brooks END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-10-20T17:44:40.000000Z K 7 svn:log V 410 Modify the vm object locking in do_sendfile() so that the containing object is locked when vm_page_io_finish() is called on a page. This is to satisfy a new, post-RELENG_5 assertion in vm_page_io_finish(). (I am in the process of transitioning the responsibility for synchronizing access to various fields/flags on the page from the global page queues lock to the per-object lock.) Tripped over by: obrien@ END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-10-20T19:05:50.000000Z K 7 svn:log V 88 Bump the document date, s/filesystem/file system/ and add missing word. Noticed by: ru END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-10-20T19:58:02.000000Z K 7 svn:log V 203 Partially MFC rev 1.15: provide an escape to our "savestring" compatibility with ancient readline versions madness when 'RL_NO_COMPAT' is defined. This should help ports/devel/gdb6 to build on RELENG_4. END K 10 svn:author V 3 ups K 8 svn:date V 27 2004-10-21T01:11:25.000000Z K 7 svn:log V 100 Zero terminate empty sting in kdb_sysctl_available. Approved by: sam (mentor) MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-10-21T03:42:24.000000Z K 7 svn:log V 95 Decrease reference count if we won't use the thread, this avoids memory leak under some cases. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-21T08:54:10.000000Z K 7 svn:log V 182 Pass WORLD_FLAGS down to the distributeworld target, so it's possible to build releases with customizations such as with NOPROFILE. Problem found and fix tested by Roman Neuhauser. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-21T09:01:02.000000Z K 7 svn:log V 609 Merge nfs_serv.c:1.149 (RELENG_5 1.147.2.2) from HEAD to RELENG_5_3: date: 2004/10/18 11:23:11; author: rwatson; state: Exp; lines: +61 -13 Correct several instances where calls to vfs_getvfs() resulting in failure in the NFS server would result in a leaked instance of the NFS server subsystem lock. Liberally sprinkle assertions in all target labels for error unwinding to assert the desired locking state. RELENG_5_3 candidate. MFC after: 3 days Reported by: Wilkinson, Alex Approved by: re (scottl) END