ġ^125611 204 194 236 423 142 123 169 247 850 577 354 486 305 585 398 136 137 155 185 247 244 327 253 592 139 1046 176 672 256 123 202 223 214 203 219 171 178 127 237 184 136 161 190 120 374 157 206 196 102 161 245 155 335 125 156 141 310 289 315 315 315 274 167 250 241 173 485 336 172 395 1767 602 187 430 232 158 156 392 189 115 188 169 196 285 163 115 435 193 227 905 191 268 180 237 264 147 148 164 246 211 683 143 212 196 155 175 172 164 294 111 446 217 113 174 296 222 349 273 122 129 193 130 233 238 199 273 793 130 330 205 207 151 261 223 229 114 309 186 250 252 209 109 240 217 129 449 148 157 191 118 238 182 169 124 151 232 251 162 207 308 158 338 366 253 222 286 155 531 138 174 182 678 407 126 454 187 569 263 199 139 359 244 241 171 208 451 276 274 620 137 340 127 171 169 502 202 267 120 146 136 138 139 242 119 1500 K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-02-08T23:42:09.000000Z K 7 svn:log V 98 Use int rather than size_t storage for printf field widths to avoid many casts. Reviewed by: bde END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2004-02-08T23:57:19.000000Z K 7 svn:log V 138 MFp4 @46705: Support "uprocp" exactly like "paddr" with the former having been documented in the manual but not implemented. PR: 42484 END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-02-09T00:10:18.000000Z K 7 svn:log V 326 Fix a typo that stopped ypset's -h option from working with a hostname rather than an IP. The code was copying the pointer to the IP address instead of the IP address itself. The bug has existed ever since ypset was first imported in 1994. PR: bin/62550 Submitted by: aardvark@saintaardvarkthecarpeted.com MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-09T00:12:50.000000Z K 7 svn:log V 47 Definitions for MPC7457 CPU type and HID0 bits END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-09T02:25:24.000000Z K 7 svn:log V 28 Recognize MPC7547 (aka G4+) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-09T05:29:05.000000Z K 7 svn:log V 74 Fall back to INTR_MPSAFE if INTR_FAST registration fails. PR: kern/62276 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-09T07:04:01.000000Z K 7 svn:log V 151 Disable branch-target instruction cache on MPC7457 as outlined in Motorola processor errata. Submitted by: Suleiman Souhlal END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-09T12:52:15.000000Z K 7 svn:log V 757 Backed out rev.1.4 and 1.7 so they they can be implemented and committed properly. Of the 3 changes mentioned in the log message for rev.1.4, the first (implementing -[n]fcb) was correct but didn't touch this file, the second (no-space-after-sizeof) was not actually done (it is the default and is controlled by the undcoumented -[n]bs options), and the third (no-space-after 'struct foo *') was very buggy and was reduced to wrong comments and other style bugs by backing out the main part of it in rev.1.6. Rev.1.4 had 2 changes which were not mentioned in its commit log: expand specials[] so that more than -83 typedef-names can be specified (this was the one working change in rev.1.4), and add "const" and "volatile" to specials[] (this was buggy). END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-09T13:13:03.000000Z K 7 svn:log V 484 Expanded the size of the keyword table from 100 to 1000 entries so that the number of typedef-names is not so limited. Same as in rev.1.4. Added the "const" and "volatile" to the keyword table. Rev.1.4 added these but they were misclassified so they were not formatted as types. indent still doesn't really understand them. E.g., it mangles "char * const *foo" and "char *const *foo". This change mainly stops it mangling "char const foo" to "charconst foo". END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-09T14:05:17.000000Z K 7 svn:log V 262 Two changes to aid in cleaning up sys/boot/ makefiles: - Don't put libc.a as a dependency if program is linked with -nostdlib. - Added INTERNALPROG (by analogy to INTERNALLIB) for programs which are built only for its side effect and shold not be installed. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-09T14:11:58.000000Z K 7 svn:log V 394 - Factor out -nostdlib to an upper level Makefile.inc. - Now that bsd.prog.mk deals with programs linked with -nostdlib better, and has a notion of an "internal" program, use PROG where possible. This has a good impact on the contents of .depend files and causes programs to be linked with cc(1). XXX: boot2 couldn't be converted as it's actually two programs. Tested on: i386, amd64 END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-09T14:17:02.000000Z K 7 svn:log V 213 MFi386. - Factor out common settings and put them in an upper level Makefile.inc. - Properly use PROG for real programs, not their products. - Further reduce diffs to i386 versions. Tested on: sparc64 (panther) END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-09T15:27:02.000000Z K 7 svn:log V 492 Fixed misformatting of "struct foo *bar" in function parameter lists. It was mangled to "struct foo * bar". There should be an option to control this, but no space is normal. This finishes fixing the bugs in rev.1.4. indent(1) still doesn't really understand types in parameter lists. It thinks keywords inside parentheses are for casts or sizeofs. This works accidentally for scalar types and this quick fix makes it work similarly but not so accidentally for struct/union/enum types. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-09T15:57:35.000000Z K 7 svn:log V 305 Fixed tab lossage in indented variable names. The -diN option was worse than useless because it caused things like mangling of "^int\tfoo" to "int foo" (this for N = 8). This quick fix breaks the invariant that characters between s_code and e_code have width 1, but nothing seems to depend on this. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-02-09T16:01:45.000000Z K 7 svn:log V 43 MFi386: Factor out -nostdlib and use PROG. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-09T16:02:16.000000Z K 7 svn:log V 45 fix build with FAST_IPSEC. Reported by: cjc END K 10 svn:author V 3 wes K 8 svn:date V 27 2004-02-09T18:45:25.000000Z K 7 svn:log V 63 Too good to miss. Wisdumb by: Danno Coppock END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-09T19:13:58.000000Z K 7 svn:log V 91 Add stub implementations of KfLowerIrql() and KfRaiseIrql() (both of which are _fastcall). END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-09T20:26:27.000000Z K 7 svn:log V 154 Backed out a part of previous commit that wasn;t mentioned in the log message and wasn't quite ready (it avoided indenting the names of local variables). END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-09T20:33:42.000000Z K 7 svn:log V 151 Remove VFS_STATFS() call which violated the lock order and wasn't really required anyway. PR: kern/61994 Submitted by: Bjoern Groenvall END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-09T20:42:08.000000Z K 7 svn:log V 234 Only use tabs to indent variable names if the declaration indent is nonzero (so that the 1-char indentation given by -di0 is never rendered by a tab). Removed garbage commented out code for setting the indentation of variable names. END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-02-09T21:46:07.000000Z K 7 svn:log V 160 MFC changes from killall.c 1.27 killall.1 1.30 New -e flag, modifies the behavior of the -u uid flag to use the effective user id, instead of the real user id. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-09T21:48:51.000000Z K 7 svn:log V 499 Added an option -ldi to control indentation of local variable names. The default is to be backwards compatible and non-KNF (use the same indentation for locals as for globals; -ldi0 gives KNF indentation for locals (none)). The indentation for globals also applies to struct member names in local declatations. The indentation of variable names in multi-line declarations is broken in various ways and this commit gives some new variations. indent.1: Also clarified the description of -di. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-09T21:54:54.000000Z K 7 svn:log V 44 Loader makefile cleanup. Submitted by: ru END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-02-09T23:22:54.000000Z K 7 svn:log V 948 Initial import of libarchive. What it is: A library for reading and writing various streaming archive formats, especially tar and cpio. Being a library, it should be easy to incorporate into pkg_* tools, sysinstall, and any other place that needs to read or write such archives. Features: * Full automatic detection of both compression and archive format. * Extensible internal architecture to make it easy to add new formats. * Support for "pax interchange format," a new POSIX-standard tar format that eliminates essentially all of the restrictions of historic formats. * BSD license Thanks to: jkh for pushing me to start this work, gordon for encouraging me to commit it, bde for answering endless style questions, and many others for feedback and encouragement. Status: Pretty good overall, though there are still a few rough edges and the library could always use more testing. Feedback eagerly solicited. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-02-10T05:36:09.000000Z K 7 svn:log V 79 Add sem_timedwait to the symbol map, otherwise the libc version will get used. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-02-10T05:53:02.000000Z K 7 svn:log V 579 Fixes problems that occurred when a file was removed and a directory created with the same name, and vice versa: - Immediately recycle vnodes of files & directories that have been deleted or renamed. - When looking an entry in the VFS name cache or smbfs's private cache, make sure the vnode type is consistent with the type of file the server thinks it is, and re-create the vnode if it isn't. The alternative to this is to recycle vnodes unconditionally when their use count drops to 0, but this would make all the caching we do mostly useless. PR: 62342 MFC after: 2 weeks END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T06:33:29.000000Z K 7 svn:log V 159 Update to inform users of acls and multilabel options. Add Xrefs to the more relevant manual pages. PR: 62394 Submitted by: Marc Silver END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T06:44:41.000000Z K 7 svn:log V 27 Reorder Xrefs in SEE ALSO. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T06:54:15.000000Z K 7 svn:log V 105 MFC: rev 1.307: Xref the proper manual pages. PR: 60999 Submitted by: Marc Silver END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T06:57:41.000000Z K 7 svn:log V 126 MFC: rev 1.18: It is not the job of this manual page to list 'supported chipsets'. PR: 60575 Submitted by: Andreas M̦ller END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T07:03:46.000000Z K 7 svn:log V 117 MFC: rev 1.23: Discuss the 'MAILTO' environment variable. PR: 58783 Submitted by: Marc Silver END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T07:08:54.000000Z K 7 svn:log V 106 Remove 'broken in some cases' Xref to Kerberos. PR: 30443 Cool with: markm (who approved this ages ago) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T07:10:33.000000Z K 7 svn:log V 122 MFC: rev 1.33: Remove 'broken in some cases' Xref to Kerberos. PR: 30443 Cool with: markm (who approved this ages ago) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T07:25:18.000000Z K 7 svn:log V 75 Sync with CURRENT. This brings in several mdoc(7) fixes and some content. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-02-10T07:29:04.000000Z K 7 svn:log V 82 Remove a redundant command. No MFC, this was removed in STABLE. Update the date. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-10T10:11:23.000000Z K 7 svn:log V 35 Vendor import of OpenPAM Eelgrass. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-10T10:11:23.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r125647, 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-02-10T10:11:24.000000Z K 7 svn:log V 88 This commit was manufactured by cvs2svn to create tag 'openpam-vendor-OPENPAM_EELGRASS'. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-10T10:13:21.000000Z K 7 svn:log V 44 Fix numerous constness and aliasing issues. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-10T10:54:19.000000Z K 7 svn:log V 69 don't call sbuf_clear() right after sbuf_new(), it is not necessary. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-02-10T14:11:32.000000Z K 7 svn:log V 95 MFC vfs_mount.c 1.117: Fix issues related to mount/unmount. Submitted by: pjd Approved by: re END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-02-10T14:13:39.000000Z K 7 svn:log V 25 Get ready for 5.2.1-RC2. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-02-10T15:12:01.000000Z K 7 svn:log V 280 Document the '-h hostname' option, which seems to have been present ever since rev. 1.1 of bootpd.c. While I'm here, rearrange the synopsis a bit: sort the options and clarify that -i and -s are mutually exclusive. Reported by: Atanas Buchvarov MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-10T15:23:47.000000Z K 7 svn:log V 65 Change the kernels definition of NODEV from ((dev_t)-1) to NULL. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-10T15:53:28.000000Z K 7 svn:log V 113 Added macro which will be used to assert, that the topology lock is not held. Approved by: phk, scottl (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-10T15:55:17.000000Z K 7 svn:log V 103 Now we have g_topology_assert_not(), so use it to detect deadlocks. Approved by: phk, scottl (mentor) END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-10T16:11:08.000000Z K 7 svn:log V 10 Spelling. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-02-10T16:23:17.000000Z K 7 svn:log V 66 Add my birthday (for those interested) Approved by: bms (mentor) END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-10T17:34:53.000000Z K 7 svn:log V 152 Push m_apply() and m_getptr() up into the collection of standard mbuf routines, and purge them from opencrypto. Reviewed by: sam Obtained from: NetBSD END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-10T17:37:11.000000Z K 7 svn:log V 63 Forced commit to note that previous commit was in fact an MFC. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-02-10T18:34:27.000000Z K 7 svn:log V 242 Correct a long-standing race condition in the inactive queue scan. (See the added comment for low-level details.) The effect of this race condition is a panic "vm_page_cache: caching a dirty page, ..." Reviewed by: tegge MFC after: 7 days END K 10 svn:author V 3 wes K 8 svn:date V 27 2004-02-10T18:41:52.000000Z K 7 svn:log V 33 Add some presidential birthdays. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-10T19:10:34.000000Z K 7 svn:log V 64 Run /etc/rc.d/routing at the appropriate time. Spotted by: mat END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-02-10T20:17:58.000000Z K 7 svn:log V 48 Official patches 001-005 PR: 62555 END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-02-10T20:34:44.000000Z K 7 svn:log V 217 add verbage about how once BUS_TEARDOWN_INTR returns, the interrupt will no longer be active or called.. Also document requirement that no mutexes be held across calls to these functions.. Reviewed by: jhb, rwatson END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-02-10T20:40:17.000000Z K 7 svn:log V 191 style cleanup: Remove duplicate $FreeBSD$ tags. These files had tags at the start of the file (incorrect, removed), and after the copyright notices (correct). Approved by: rwatson (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-02-10T20:42:33.000000Z K 7 svn:log V 217 style cleanup: Remove duplicate $FreeBSD$ tags. These files had tags after the copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-02-10T20:45:28.000000Z K 7 svn:log V 217 style cleanup: Remove duplicate $FreeBSD$ tags. These files had tags after teh copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-02-10T20:48:08.000000Z K 7 svn:log V 217 style cleanup: Remove duplicate $FreeBSD$ tags. These files had tags after the copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor) END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-02-10T21:06:47.000000Z K 7 svn:log V 178 Fix a panic in pseudofs(9) that could occur when doing an I/O operation with a large request or large offset. Reported by: Joel Ray Holveck Submitted by: des END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-02-10T21:08:01.000000Z K 7 svn:log V 72 MFC pseudofs_vnops.c 1.43: Fix a panic in pseudofs(9). Approved by: re END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2004-02-10T21:31:09.000000Z K 7 svn:log V 152 Only reset the phy when it is absolutely required. This should fix the issues with long *init* times when you do ifconfig em0 alias. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-10T22:11:36.000000Z K 7 svn:log V 149 Since loader(8) on SPARC64 is a pure ELF executable (as opposed to other architectures), there is no reason not to strip(1) it. Tested by: kensmith END K 10 svn:author V 8 sumikawa K 8 svn:date V 27 2004-02-10T22:50:57.000000Z K 7 svn:log V 76 Flush stdout when -A option is used. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-10T23:01:53.000000Z K 7 svn:log V 390 Add some bulletproofing: don't allow the ndis_get_info() or ndis_set_info() routines to do anything except return error if the miniport adapter context is not set (meaning we either having init'ed the driver yet, or the initialization failed). Also, be sure to NULL out the adapter context along with the miniport characteristics pointers if calling the MiniportInitialize() method fails. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-10T23:57:35.000000Z K 7 svn:log V 240 Correctly create interrupt key for PCI, which is the OpenFirmware pci-hi/med/lo + node 'interrupts' property. This worked by accident until recent notebooks required correct operation. Tested by: Suleiman Souhlal END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-11T02:39:24.000000Z K 7 svn:log V 80 Document the functions m_apply() and m_getptr(). Requested by: Maxim Konovalov END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-02-11T02:57:33.000000Z K 7 svn:log V 302 Prefer buttons defined in the AML over the ones in the FADT. Some systems define power/sleep buttons in both places but only deliver notifies to the ones defined in the AML. Also, reduce length of various function handler names. PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-11T04:26:04.000000Z K 7 svn:log V 1673 Initial import of RFC 2385 (TCP-MD5) digest support. This is the first of two commits; bringing in the kernel support first. This can be enabled by compiling a kernel with options TCP_SIGNATURE and FAST_IPSEC. For the uninitiated, this is a TCP option which provides for a means of authenticating TCP sessions which came into being before IPSEC. It is still relevant today, however, as it is used by many commercial router vendors, particularly with BGP, and as such has become a requirement for interconnect at many major Internet points of presence. Several parts of the TCP and IP headers, including the segment payload, are digested with MD5, including a shared secret. The PF_KEY interface is used to manage the secrets using security associations in the SADB. There is a limitation here in that as there is no way to map a TCP flow per-port back to an SPI without polluting tcpcb or using the SPD; the code to do the latter is unstable at this time. Therefore this code only supports per-host keying granularity. Whilst FAST_IPSEC is mutually exclusive with KAME IPSEC (and thus IPv6), TCP_SIGNATURE applies only to IPv4. For the vast majority of prospective users of this feature, this will not pose any problem. This implementation is output-only; that is, the option is honoured when responding to a host initiating a TCP session, but no effort is made [yet] to authenticate inbound traffic. This is, however, sufficient to interwork with Cisco equipment. Tested with a Cisco 2501 running IOS 12.0(27), and Quagga 0.96.4 with local patches. Patches for tcpdump to validate TCP-MD5 sessions are also available from me upon request. Sponsored by: sentex.net END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-11T04:34:34.000000Z K 7 svn:log V 509 Initial import of RFC 2385 (TCP-MD5) digest support. This is the second of two commits; bring in the userland support to finish. Teach libipsec and setkey about the tcp-md5 class of security associations, thus allowing administrators to add per-host keys to the SADB for use by the tcpsignature_compute() function. Document that a single SPI must be used until such time as the code which adds support to the SPD to specify flows for tcp-md5 treatment is suitable for production. Sponsored by: sentex.net END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T04:42:48.000000Z K 7 svn:log V 92 Add sysctl hw.uma_mdpages to track how many pages have been allocated by UMA_MD_SMALL_ALLOC END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-02-11T05:44:20.000000Z K 7 svn:log V 332 GNU tar in the base system is now called "gtar" "tar" is now just a link to "gtar". This lays the groundwork for an orderly migration from GNU tar to some other tar. (First, we introduce the new tar program, then we migrate the 'tar' name, then we remove gtar, with intervals of months between these steps.) Approved by: gordon END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-11T06:52:09.000000Z K 7 svn:log V 139 The one that got away. Purge crmbuf.c as this was providing a definition of m_apply which generated tinderbox errors. Pointed out by: tjr END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-11T06:54:36.000000Z K 7 svn:log V 66 Finish the job of killing off crmbuf.c due to the m_apply pushup. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T07:19:15.000000Z K 7 svn:log V 61 Invalide pcb's fpu cpu # by setting it to INT_MAX, not NULL. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T07:27:34.000000Z K 7 svn:log V 296 Cleaned up param.h: - culled long-dead #define's - segment register defs moved to sr.h - NPMAPS moved to pmap.h - KERNBASE moved to vmparam.h - removed include of and fixed src files that relied on this. Modifying segment register code no longer causes gcc rebuilds :-) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T07:44:56.000000Z K 7 svn:log V 94 - remove trailing whitespace - fix compile warnings. badaddr() will go to a header file soon. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T07:48:19.000000Z K 7 svn:log V 20 Fix compile warning END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T07:58:43.000000Z K 7 svn:log V 93 - fixed trailing whitespace and indentation - removed unused variable to fix compile warning END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T08:07:19.000000Z K 7 svn:log V 74 - fix compile warnings - removed obsolete NetBSD-derived ADB conditionals END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-11T08:31:23.000000Z K 7 svn:log V 100 MFC the geom_taskqueue addition so that the pending ATA MFC can use it. Approved by: re (implicit) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-11T08:42:38.000000Z K 7 svn:log V 193 Get rid of unnecessary use of m4(1) by using cpp(1) instead. (John tells me there were problems when trying this before, but it appears to be safe these day.) OK'ed by: jhb Repocopied by: joe END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-11T08:47:22.000000Z K 7 svn:log V 68 MFC many more fixes for the ata driver. Approved by: re (implicit) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-11T09:23:35.000000Z K 7 svn:log V 23 Re-wrap some comments. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-11T09:31:39.000000Z K 7 svn:log V 342 When restarting a transfer that has already completed, the server will reply with a 416 error code (requested range not satisfiable) because we ask it to start at the end of the file. Handle this gracefully by considering a 416 reply a success if the requested offset exactly matches the length of the file and the requested length is zero. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-11T09:35:27.000000Z K 7 svn:log V 100 Slight tweak to previous commit: don't forget to call _http_seterr() if we get a genuine 416 reply. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-11T09:46:54.000000Z K 7 svn:log V 134 Fix a typo; left out preprocessor conditional for sigoff variable, which is only used by TCP_SIGNATURE code. Noticed by: Roop Nanuwa END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-11T10:06:18.000000Z K 7 svn:log V 812 Added first part of GEOM kernel API manuals pages. Documented function and macros are: - DECLARE_GEOM_CLASS(), - g_attach(), - g_detach(), - g_new_bio(), - g_clone_bio(), - g_destroy_bio(), - g_new_consumer(), - g_destroy_consumer(), - g_read_data(), - g_write_data(), - g_post_event(), - g_waitfor_event(), - g_cancel_event(), - g_new_geomf(), - g_destroy_geom(), - g_new_providerf(), - g_destroy_provider(), - g_error_provider(), - g_provider_by_name(), - g_wither_geom(). and more to come. I want to thanks following people for help with those documents: Slawek Zak Simon L. Nielsen Pieter de Boer and of course Poul-Henning Kamp Reviewed by: phk, scottl Approved by: phk, scottl (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-11T10:09:17.000000Z K 7 svn:log V 99 Added GEOM kernel API manuals to the build. Reviewed by: scottl Approved by: phk, scottl (mentor) END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-02-11T10:14:08.000000Z K 7 svn:log V 172 (atapi_cb): Reenable automatic retrieve of sense data on error, making it asynchronous to avoid incorrect use of ata_atapicmd within an ATAPI callback. Tested by: harti END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T10:15:15.000000Z K 7 svn:log V 85 - constify devinfo strings to eliminate compile warning - remove trailing whitespace END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-11T10:26:17.000000Z K 7 svn:log V 141 Use 'strip -g' instead of 'strip -x' on the boot floppy modules. Hopefully this will allows them to work again. Approved by: re (implicit) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-11T10:34:24.000000Z K 7 svn:log V 168 MFC: If deferring a command due to lack of card resources, unmap it so that it will be marked appropriately the next time the queue is run. Approved by: re (implicit) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T10:49:30.000000Z K 7 svn:log V 52 Clean up header files, which fixes compile warning. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-02-11T12:49:49.000000Z K 7 svn:log V 56 Use automatic major number allocation for nsmb devices. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-02-11T12:58:06.000000Z K 7 svn:log V 72 Un-reserve major 144 (nsmb) now that we are using automatic allocation. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-11T13:18:31.000000Z K 7 svn:log V 150 Interrupt statistics, vmstat -i now works. Submitted by: Suleiman Souhlal Slightly modified by: grehan Derived from: i386 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-02-11T13:31:30.000000Z K 7 svn:log V 118 Use automatic major number allocation for the nfs4 device instead of stealing #29, which is already reserved for mcd. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-11T15:27:26.000000Z K 7 svn:log V 590 Removed more vestiges of vfs_ioopt: - rev.1.42 of ffs_readwrite.c added a special case in ffs_read() for reads that are initially at EOF, and rev.1.62 of ufs_readwrite.c fixed timestamp bugs in it. Removal of most of vfs_ioopt made it just and optimization, and removal of the vm object reference calls made it less than an optimization. It was cloned in rev.1.94 of ufs_readwrite.c as part of cloning ffs_extwrite() although it was always less than an optimization in ffs_extwrite(). - some comments, compound statements and vertical whitespace were vestiges of dead code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-11T18:02:05.000000Z K 7 svn:log V 51 MFC: Add support for more 2-port Avlab Tech cards. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-11T18:04:13.000000Z K 7 svn:log V 119 Argh! Fix a bogon. lim_cur() was returning the hard (max) limit rather than the soft (cur) limit. Submitted by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-11T18:21:32.000000Z K 7 svn:log V 103 Added g_print_bio() function to print informations about given bio. Approved by: phk, scottl (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-11T18:36:31.000000Z K 7 svn:log V 63 Document g_print_bio() function. Approved by: scottl (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-11T18:43:20.000000Z K 7 svn:log V 83 Create symbolic link for g_print_bio(9) manual page. Approved by: scottl (mentor) END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-02-11T21:09:13.000000Z K 7 svn:log V 79 Do not cast dval. Make global _usage_page unsigned. Reviewed by: imp (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-11T21:17:04.000000Z K 7 svn:log V 73 _start.S -> _start.s as the latter is pure asm file. Repocopied by: joe END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-11T21:53:40.000000Z K 7 svn:log V 199 Add yet more bulletproofing. This is to guard against the case that ndis_init_nic() works one during attach, but fails later. Many things will blow up if ndis_init_nic() fails and we aren't careful. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-11T22:01:17.000000Z K 7 svn:log V 20 Overhaul makefiles. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-02-11T22:06:02.000000Z K 7 svn:log V 348 When reparenting a process to init, make sure that p_sigparent is set to SIGCHLD. This avoids the creation of orphaned Linux-threaded zombies that init is unable to reap. This can occur when the parent process sets its SIGCHLD to SIG_IGN. Fix a similar situation in the PT_DETACH code. Tested by: "Steven Hartland" END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-02-11T22:08:50.000000Z K 7 svn:log V 122 NO_MAKEDEV was supposed to be a commented out example. PR: misc/62683 Submitted by: Dmitry Kazarov END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-11T22:25:25.000000Z K 7 svn:log V 22 kzip(8) is long dead. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-11T23:11:12.000000Z K 7 svn:log V 80 Correct instance of *timeout that should have been timeout. Noticed by: mlaier END K 10 svn:author V 5 green K 8 svn:date V 27 2004-02-12T01:48:40.000000Z K 7 svn:log V 201 Always socantsendmore() before deallocating a socket. This, in turn, calls selwakeup() if necessary (which it is, if you don't want freed memory hanging around on your td->td_selq). Props to: alfred END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-12T03:23:13.000000Z K 7 svn:log V 126 Remove register keyword and constify tmp values. This fixes PPC compile warning - PPC is the only consumer of this code path. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-02-12T04:11:40.000000Z K 7 svn:log V 251 libarchive itself is now completely clean at WARNS=10 on all architectures. Unfortunately, the stock zlib.h is not: line 885: 'err' parameter shadows global 'err' definition from Back the WARNS level down to 3 to accomodate borked zlib.h. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-02-12T05:03:37.000000Z K 7 svn:log V 180 Handle proper formatting and a buffer overrun when running an old sh on a system that has sys_nsig > NSIG (i.e. when libc is upgraded.) Submitted by: Matt Dillon Reviewed by: bde END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-02-12T05:05:56.000000Z K 7 svn:log V 30 style(9): wrap at 80 columns. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-12T08:10:34.000000Z K 7 svn:log V 38 Tidy up makefiles. Tested by: marcel END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-12T08:18:48.000000Z K 7 svn:log V 100 Set the default sender address to , and the default recipient to %%sender%%. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-12T08:19:13.000000Z K 7 svn:log V 38 Add %%sender%% to the recipient list. END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2004-02-12T08:52:08.000000Z K 7 svn:log V 135 Reverse lock order by using local variable. This will shut up "acquiring duplicate lock of same type" message. Reviewed by: mckusick END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-12T09:11:06.000000Z K 7 svn:log V 142 Add forgotten IEEE functions. The Perl 5.8 port now compiles. Submitted by: Suleiman Souhlal Obtained from: NetBSD END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-12T09:12:11.000000Z K 7 svn:log V 103 Add sys file required for IEEE fp functions. Submitted by: Suleiman Souhlal END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-12T09:17:16.000000Z K 7 svn:log V 177 Work-in-progress for the 'Kauai' ATA device in Mac notebooks. The device seems to be the macio ATA cell with a PCI front-end, and has no relation to PIIX-style ATA/PCI devices. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-12T16:25:12.000000Z K 7 svn:log V 700 Only indent once for continuation lines when not lining up with parentheses if the continuation indent is exactly half of the main indent. Indenting one contination indent for every level of parentheses gives bad results in most cases and is not what is done in about 90% of properly hand-formatted KNF code (sys/kern/*.c, nvi/common/*.c). The main advantage of the non-default KNF options -nlp -ci4 is that continuation lines don't accidentally line up with the next main indentation level or march to the right, and increasing their indentation defeats this. This behaviour change is limited to when the continuation indent is exactly half of the main indent to avoid adding yet another option. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-02-12T16:41:33.000000Z K 7 svn:log V 33 Connect libarchive to the build. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-12T16:52:24.000000Z K 7 svn:log V 237 Fixed some minor style bugs (English usage and formatting of binary operators) in and near revs.1.169-1.170 (open mode bandaid). This (or better a proper fix) should have been done before cloning the bandaid to many other file systems. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-12T17:54:58.000000Z K 7 svn:log V 112 MFffs (ffs_vfsops.c 1.227: clean up open mode bandaid). This reduces gratuitous differences with ffs a little. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-12T20:08:28.000000Z K 7 svn:log V 114 Remove an unnecessary initialization that crept in from the code which verifies TCP-MD5 digests. Noticed by: njl END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-12T20:12:48.000000Z K 7 svn:log V 59 style(9) pass; whitespace and comments. Submitted by: njl END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-12T20:16:09.000000Z K 7 svn:log V 168 Update the prototype for tcpsignature_apply() to reflect the spelling of the types used by m_apply()'s callback function, f, as documented in mbuf(9). Noticed by: njl END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-12T20:32:11.000000Z K 7 svn:log V 130 Give both consumers and providers a {void *private, u_int index} which the implementing class can use to hang internal info from. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-02-12T20:35:59.000000Z K 7 svn:log V 131 sys/types.h must be included before sys/acl.h, as clearly documented in the acl manpage. Thanks to bde for catching this blunder. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-12T20:45:01.000000Z K 7 svn:log V 22 Fix a whitespace nit. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-12T20:46:49.000000Z K 7 svn:log V 216 Correct the cleanup of the alias dev_t for /dev/urandom: being an alias it depends on the aliased dev_t and disappears automatically when that is removed. Submitted by: "Bjoern A. Zeeb" END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-12T20:47:03.000000Z K 7 svn:log V 94 Use the PCIR_BAR() macro rather than a magic number to specify the BAR for controller memory. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-02-12T20:56:06.000000Z K 7 svn:log V 157 Further reduce the use of Giant in vm_map_delete(): Perform pmap_remove() on system maps, besides the kmem_map, without Giant. In collaboration with: tegge END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-02-12T21:00:54.000000Z K 7 svn:log V 156 MFC the Broadcom 4401 ethernet driver This commmit just brings over the files unchanged.. I will be applying the patches to make it 4.x as a second commit. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-12T21:32:59.000000Z K 7 svn:log V 116 Don't use makedev() to hack up dev_t's early in boot, do it right with make_dev() (and avoid doing it again later). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-12T21:43:50.000000Z K 7 svn:log V 18 Clean CLEANFILES. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-02-12T21:54:02.000000Z K 7 svn:log V 144 Merge to match "pavel's" version for 4.8. other patches were also supplied by Edwin Groothuis (edwin at mavetju dot org) more merging to come. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-12T22:06:33.000000Z K 7 svn:log V 125 Fixed the fatal bug introduced in previous commit: don't strip kgzldr.o -- kgzipping with such a loader produces bad images. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-02-12T22:12:36.000000Z K 7 svn:log V 34 Makefile for creating bfe module. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-12T22:42:11.000000Z K 7 svn:log V 356 Remove the absolute count g_access_abs() function since experience has shown that it is not useful. Rename the relative count g_access_rel() function to g_access(), only the name has changed. Change all g_access_rel() calls in our CVS tree to call g_access() instead. Add an #ifndef BURN_BRIDGES #define of g_access_rel() for source code compatibility. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-02-12T23:08:49.000000Z K 7 svn:log V 53 Stop people from using this until I complete the MFC END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-02-12T23:50:56.000000Z K 7 svn:log V 64 Register libbluetooth and libsdp Reviewed by: imp (mentor), ru END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-02-13T00:58:48.000000Z K 7 svn:log V 94 Style fixes: Use curly braces in Makefiles, use cat (not cp) to copy files. Submitted by: ru END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-02-13T01:08:19.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-02-13T01:08:19.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r125759, 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-02-13T01:08:20.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'libreadline-vendor-v4_3_p1_p5'. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-02-13T01:14:38.000000Z K 7 svn:log V 72 Register libarchive in bsd.libnames.mk and mdoc.local Submitted by: ru END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-02-13T01:16:12.000000Z K 7 svn:log V 31 Mention which patches imported END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2004-02-13T02:02:06.000000Z K 7 svn:log V 54 Fix style bugs in previous commit. Submitted by: bde END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-13T03:05:12.000000Z K 7 svn:log V 139 MFextfs: backed out secondary changes in rev.1.40 that had become just style bugs (a variable that is used only once, and misformattings). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-02-13T04:43:41.000000Z K 7 svn:log V 155 o Don't build with -fpic. It's not needed and inconsistent with how other constributions are compiled. o Remove powerpc specific additions to CFLAGS. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-02-13T04:45:41.000000Z K 7 svn:log V 67 Don't create a mapfile during link. It's not needed for the build. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-13T08:42:10.000000Z K 7 svn:log V 114 Update manual pages: the name of function g_access_rel() has changed to g_access(). Approved by: scottl (mentor) END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-02-13T09:26:54.000000Z K 7 svn:log V 214 Add the '-h hostname' to usage(), too. While I'm here, sync the usage() synopsis with the manual page synopsis: make the [-i | -s] explicit and sort the options alphabetically. Reminded by: ru MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-13T09:39:45.000000Z K 7 svn:log V 67 We didn't strip debugging symbols from .ko if DEBUG was undefined. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-13T10:11:01.000000Z K 7 svn:log V 246 Removed -g from CFLAGS. There is a better way to build debugging versions of the modules, and unconditionally putting -g in CFLAGS has negative impact on the size of the resulting .ko object, even now that debugging symbols are always stripped. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-13T10:40:54.000000Z K 7 svn:log V 274 Reduce the number of knobs controlling the build of debug modules to one, DEBUG_FLAGS, which is also compatible with . Previously one had to set both DEBUG and DEBUG_FLAGS to build the .ko.debug with debugging symbols which was boring when doing this manually. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-13T12:04:15.000000Z K 7 svn:log V 160 Back out my last commit to syscons, things seem to be far more evil than suspected. and obviously nobody runs the patches I post to -current :-( Poul-Henning END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-13T12:28:53.000000Z K 7 svn:log V 130 Don't override the standard SYSTEM_LD setting from kern.pre.mk. Instead, use the linker script to record the correct entry point. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-13T13:21:41.000000Z K 7 svn:log V 194 Merged from kmod.mk,v 1.152: strip debugging symbols even when not configured for debugging. This saves some bytes, and produces the same "kernel" object as if it was configured for debugging. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-13T14:50:01.000000Z K 7 svn:log V 63 supported IPV6_RECVPATHMTU socket option. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-13T15:11:47.000000Z K 7 svn:log V 438 - wrap mappedaddr block by #ifdef INET for IPv6-only kernel in future. - rejects IPv6 packet toward IPv4-mapped address if its source address is not an IPv4-mapped IPv6 address, since the converted IPv4 packets would have an unexpected IPv4 source address. - when V6ONLY socket option is set, discard packets destined to a v4/ipv4 mapped ipv6 address. - have PULLDOWN_TEST codepath. - get rid of in6_mcmatch(). Obtained from: KAME END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-02-13T15:24:25.000000Z K 7 svn:log V 45 MFi386: revision 1.20 (don't strip kgzldr.o) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-02-13T15:26:22.000000Z K 7 svn:log V 81 MFi386: revisions 1.74 and 1.75. - kzip(8) is long dead. - Clean CLEANFILES. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-02-13T15:39:59.000000Z K 7 svn:log V 89 MFi386: Get rid of unnecessary use of m4(1) by using cpp(1) instead. Repocopied by: joe END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-13T17:49:03.000000Z K 7 svn:log V 585 Fixed longstanding brokenness of inode updates. The waitfor flag was dishonored in rev.1.1 by commenting out the code that honored it. This gave the worst disadvantages of async mounts in an uncontrollable way. Honoring the flag costs about 50% in real time in worst cases on a new but not very fast ATA drive with write caching (probably more on drives without write caching). The old misbehavior can be recovered using async mounts after implementing them in mount_ext2fs(8) (just put the MNT_ASYNC flag in mount_ext2fs's table of supported options like it is in mount's table). END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-13T18:04:51.000000Z K 7 svn:log V 314 Fixed a misplaced ifdef that prevented npx.c building without "device isa" ISA. npx has few isa dependencies, but it does unconditional outb()'s to the isa bus in the !SMP case, and it attaches to isa if "device isa" is configured in order to support PNP-ISA. The ifdef for the latter was misplaced. PR: 62595 END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-02-13T18:21:45.000000Z K 7 svn:log V 34 Brucification. Submitted by: bde END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-02-13T19:14:16.000000Z K 7 svn:log V 358 This set of changes eliminates the use of MT_TAG "pseudo mbufs", replacing them mostly with packet tags (one case is handled by using an mbuf flag since the linkage between "caller" and "callee" is direct and there's no need to incur the overhead of a packet tag). This is (mostly) work from: sam Silence from: -arch Approved by: bms(mentor), sam, rwatson END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-02-13T19:20:43.000000Z K 7 svn:log V 92 Do not check receive interface when pfil(9) hook changed address. Approved by: bms(mentor) END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-13T20:23:16.000000Z K 7 svn:log V 476 MFffs (ffs_vfsops.c 1.76 (part of the big soft updates commit): lock the vnode around calls to vinvalbuf()). Apparently no one has tested ext2fs with DEBUG_VOP_LOCKS. Vnode locking for vinvalbuf() might not be required in non-soft-updates cases, but it is now asserted. MFffs (uncommitted related and nearby cleanups: don't unlock the vnode after vinvalbuf() only to have to relock it almost immediately; don't refer to devices classified by vn_isdisk() as block devices). END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-02-13T20:59:43.000000Z K 7 svn:log V 170 MFC 1.27 getnetbyname fixes: Do not choke on malformed network addresses. Return n_name in static space, not on the function's stack. Tinderbox fixes by: Ruslan Ermilov END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-02-13T21:36:34.000000Z K 7 svn:log V 103 Upgrade to the version of the MFC by Edwin Groothuis. This seems to work but I have heard of hangs... END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-13T21:52:08.000000Z K 7 svn:log V 48 Drop directory existence checks. OK'ed by: bde END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-02-13T22:08:16.000000Z K 7 svn:log V 264 - Document more explicitly how the mac_portacl(4) policy works. - Document all the policy sysctl's. - Note that mac_portacl(4) appeared in FreeBSD 5.1. - A bit of mdoc(7) fixes. Much of the new text was inspired by the source code comments. Reviewed by: rwatson END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-02-13T22:26:36.000000Z K 7 svn:log V 148 Do not expose ip_dn_find_rule inline function to userland and unbreak world. ---------------------------------------------------------------------- END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2004-02-14T00:56:45.000000Z K 7 svn:log V 143 MFC: Only reset the phy when it is absolutely required. This should fix the issues with long *init* times when you do ifconfig em0 alias. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-02-14T01:13:41.000000Z K 7 svn:log V 80 Remove unused variable and related bogus checks. Approved by: grog (mentor) END K 10 svn:author V 5 green K 8 svn:date V 27 2004-02-14T01:30:06.000000Z K 7 svn:log V 113 T -CURRENT DO NOT CRASH UPON ^T K PLZ THX. Also, use sched_pctcpu() instead of assuming td->td_kse is non-NULL. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-02-14T03:17:30.000000Z K 7 svn:log V 358 Fix hw.acpi.os_name by renaming it to hw.acpi.osname. The "_name" suffix is reserved by the loader, and thus any tunable name with that suffix will be silently discarded. Document this in the header and man page so that other developers do not develop so many bumps on the head after banging it against the wall. Detective work by: Mark Santcroos, grehan END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-14T04:41:13.000000Z K 7 svn:log V 183 Fixed some style bugs: - don't unlock the vnode after vinvalbuf() only to have to relock it almost immediately. - don't refer to devices classified by vn_isdisk() as block devices. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-02-14T05:54:39.000000Z K 7 svn:log V 178 Test the return value of UART_PARAM(). Invalid line parameters did not result in an error before. PR: kern/60284 Submitted by: Thomas Sandford END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-02-14T08:54:37.000000Z K 7 svn:log V 527 - Correct a long-standing race condition in vm_page_try_to_cache() that could result in a panic "vm_page_cache: caching a dirty page, ...": Access to the page must be restricted or removed before calling vm_page_cache(). This race condition is identical in nature to that which was addressed by vm_pageout.c's revision 1.251. - Simplify the code surrounding the fix to this same race condition in vm_pageout.c's revision 1.251. There should be no behavioral change. Reviewed by: tegge MFC after: 7 days END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-14T09:52:22.000000Z K 7 svn:log V 45 Cosmetic changes to the recipient addresses. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T17:19:43.000000Z K 7 svn:log V 247 Remove the check which used to protect us against make_dev() being called until DEVFS had a chance to initialize. Since DEVFS is mandatory and things over in that department coincidentally works from without any initialization now, this is safe. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T17:56:59.000000Z K 7 svn:log V 35 Try again to get rid of makedev(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T17:58:57.000000Z K 7 svn:log V 79 Add a KASSERT which checks that a class never fails a closing ->access() call. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T17:59:44.000000Z K 7 svn:log V 77 Do not check error code from closing ->access() calls, we know they succeed. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-02-14T18:31:11.000000Z K 7 svn:log V 405 By default, when a process in jail calls getfsstat(), only return the data for the file system on which the jail's root vnode is located. Previous behavior (show data for all mountpoints) can be restored by setting security.jail.getfsstatroot_only to 0. Note: this also has the effect of hiding other mounts inside a jail, such as /dev, /tmp, and /proc, but errs on the side of leaking less information. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-02-14T18:52:43.000000Z K 7 svn:log V 105 Fix mismerge in last commit: check that cred->cr_prison is NULL before dereferencing the prison pointer. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-02-14T19:19:47.000000Z K 7 svn:log V 170 By default, don't allow processes in a jail to list the set of jails in the system. Previous behavior (allowed) may be restored by setting security.jail.list_allowed=1. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T19:56:35.000000Z K 7 svn:log V 28 This is not a D_TTY driver. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T19:58:05.000000Z K 7 svn:log V 54 Use same style for cdevsw as the rest of our drivers. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T20:01:24.000000Z K 7 svn:log V 44 Use standard style for cdevsw initializtion END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T20:03:36.000000Z K 7 svn:log V 46 Use standard style for cdevsw initialization. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T20:04:25.000000Z K 7 svn:log V 47 Use consistent style for cdevsw initialization END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-14T20:49:49.000000Z K 7 svn:log V 149 Grab a copy of the majors file from -current and stick it in RELENG_4. All future major number allocations should happen from the copy in RELENG_4. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-02-14T20:56:09.000000Z K 7 svn:log V 27 Fixing memory deallocation END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-14T20:57:32.000000Z K 7 svn:log V 1404 Fix a problem with the way we schedule work on the NDIS worker threads. The Am1771 driver will sometimes do the following: - Some thread-> NdisScheduleWorkItem(some work) - Worker thread -> do some work, KeWaitForSingleObject(some event) - Some other thread -> NdisScheduleWorkItem(some other work) When the second call to NdisScheduleWorkItem() occurs, the NDIS worker thread (in our case ndis taskqueue) is suspended in KeWaitForSingleObject() and waiting for an event to be signaled. This is different from when the worker thread is idle and waiting on NdisScheduleWorkItem() to send it more jobs. However, the ndis_sched() function in kern_ndis.c always calls kthread_resume() when queueing a new job. Normally this would be ok, but here this causes KeWaitForSingleObject() to return prematurely, which is not what we want. To fix this, the NDIS threads created by kern_ndis.c maintain a state variable to indicate whether they are running (scanning the job list and executing jobs) or sleeping (blocked on kthread_suspend() in ndis_runq()), and ndis_sched() will only call kthread_resume() if the thread is in the sleeping state. Note that we can't just check to see if the thread is on the run queue: in both cases, the thread is sleeping, but it's sleeping for different reasons. This stops the Am1771 driver from emitting various "NDIS ERROR" messages and fixes some cases where it crashes. END