ƒ­132612 229 218 182 149 199 299 424 115 233 166 140 180 198 856 121 239 156 158 148 128 141 113 119 171 198 110 623 271 151 171 156 232 310 319 221 276 937 285 371 267 402 148 416 152 587 193 209 281 793 188 162 162 160 160 236 212 169 164 138 173 267 123 264 210 326 247 102 165 335 269 189 427 220 413 657 270 319 265 188 201 163 237 225 179 104 167 123 612 484 439 152 135 380 233 716 408 350 137 152 268 154 1169 222 511 182 169 513 112 237 129 237 137 237 124 237 387 131 207 399 249 224 181 297 318 167 184 197 140 195 146 138 139 131 198 206 140 128 177 182 143 129 121 131 165 158 235 129 116 129 164 155 116 149 161 116 172 288 118 203 133 116 116 179 179 275 116 238 144 240 116 158 180 324 175 190 206 178 163 196 116 200 457 143 1359 152 143 270 173 161 159 123 175 369 545 384 191 198 245 217 930 141 130 210 144 218 163 130 266 156 162 132 190 118 195 180 182 128 162 119 142 251 233 179 121 130 157 172 205 627 128 K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-07-24T20:41:45.000000Z K 7 svn:log V 121 Move snc.4 over to the i386 section as it only deals with PC98 and i386. Bump .Dd and .Dt accordingly. Requested by: ru END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T20:43:22.000000Z K 7 svn:log V 85 Suppress a minor compiler warning if the platform doesn't support hi-res timestamps. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T20:45:04.000000Z K 7 svn:log V 52 Define the PACKAGE_NAME and PACKAGE_VERSION macros. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T20:47:11.000000Z K 7 svn:log V 101 Rework the feature-detection logic in archive_platform.h so that it will work cleanly with autoconf. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T22:13:44.000000Z K 7 svn:log V 201 A bunch of stuff from Christoph Mellon: * Whitespace fixes * Check some malloc calls * Simplify long_help formatting * Spell "LINUX" -> "linux" * A few other miscellaneous style improvements END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-24T22:26:40.000000Z K 7 svn:log V 332 Use a temporary geom when tasting vinumdrives and lock the 'real' vinumdrive geom with an exclusive bit. This should fix the problem when underlying partitions overlap (i.e. the 'a' partition is at the same offset as the 'c' partition). Ideas borrowed from pjd@, quite a bit of testing by Matthias Schuendehuette . END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-24T22:30:35.000000Z K 7 svn:log V 18 Minor style nits. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-24T22:41:30.000000Z K 7 svn:log V 140 Get the acpi softc via the devclass, not by caching the device. Replace apm_softc with a single integer since the whole softc is not used. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-25T00:31:24.000000Z K 7 svn:log V 69 Of course, I meant POSIX.1-1996, not 1997. Thanks to: Andrey Chernov END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-25T00:38:25.000000Z K 7 svn:log V 44 Spelling fix in comment: s/though/thought/. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-25T00:47:11.000000Z K 7 svn:log V 84 More comment frobbing: insert a missing comma, and spell permissions as credential. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-25T04:15:50.000000Z K 7 svn:log V 100 A bunch of style and security fixes (error checking return values, etc), mostly from: Tim J Robbins END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-25T05:29:15.000000Z K 7 svn:log V 760 Add the beginnings of kernel debugging support. the kgdb(1) tool is basicly a shell on top of libgdb that knows about kernel threads, kernel modules and kvm(3). As the word "beginnings" implies, not all of the features have been implemented yet. The tool is useful and I'd like feedback on the taken route. The simplest way to debug a kernel core file is: kgdb -n 0 This opens /var/crash/vmcore.0 with the corresponding kernel in the object directory (kernel.debug is used if it exists). Typical things that need to be added are: o Auto loading of kernel modules, o Handling of trapframes so that backtraces can be taken across them, o Some fancy commands to extract useful information out of a core file, o Various (probably many) other things. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-25T05:32:50.000000Z K 7 svn:log V 26 Hook kgdb into the build. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-25T07:07:09.000000Z K 7 svn:log V 143 Work-around a gcc code generation bug for function descriptors references (target/16559). This fixes SMP configurations. Obtained from: arun@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-25T07:48:47.000000Z K 7 svn:log V 64 Make the code and comments for vm_object_coalesce() consistent. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-25T08:09:21.000000Z K 7 svn:log V 66 Neuter this warning for now, I think I know the remaining issues. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-25T08:17:23.000000Z K 7 svn:log V 56 Give better diagnostic for problems with backing files. END K 10 svn:author V 7 andreas K 8 svn:date V 27 2004-07-25T08:45:57.000000Z K 7 svn:log V 32 wrong order, not 10/03 -> 03/10 END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-25T09:41:31.000000Z K 7 svn:log V 50 Check for a NULL pointer before dereferencing it. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-25T11:17:54.000000Z K 7 svn:log V 21 Add an nftw(3) link. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-07-25T14:13:45.000000Z K 7 svn:log V 27 Typo. Submitted By: demon END K 10 svn:author V 3 hmp K 8 svn:date V 27 2004-07-25T16:10:03.000000Z K 7 svn:log V 79 Remove an unnecessary comma from the Copyright. Obtained from: DragonFly BSD END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-25T18:50:24.000000Z K 7 svn:log V 100 We were forcing a pax extension header for files >= 1G. Set that cutoff to >= 8G, as it should be. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-25T19:28:10.000000Z K 7 svn:log V 18 Remove spl calls. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-25T19:49:01.000000Z K 7 svn:log V 530 Expand the generic, but bogusly formed, copyright notice to include the license from /usr/src/COPYRIGHT. Since cvs annotate shows that this was written by jasone, julian, jhb, peter, bmilekic and obrien. cvs log shows that many others may have contributed to this file. As such, go ahead and use the author of 'FreeBSD Project' for this file. If this is a problem, please notify me. # this eliminates the last file in the kernel with an indirect reference # to /usr/src/COPYRIGHT in the kernel. A few more in userland remain. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-25T20:08:59.000000Z K 7 svn:log V 178 For years, kmem_alloc_pageable() has been misused. Now that the last of these misuses has been corrected, remove it before new ones appear, such as arm/arm/pmap.c revision 1.8. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-25T20:16:51.000000Z K 7 svn:log V 55 Add netatalk mutexes to hard-coded WITNESS lock order. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-25T21:24:23.000000Z K 7 svn:log V 79 Eliminate unused second argument to reassignbuf() and simplify it accordingly. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-07-25T22:02:30.000000Z K 7 svn:log V 60 mlockall(2) was introduced during the 5.0-CURRENT lifetime. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-25T23:01:09.000000Z K 7 svn:log V 140 There's a chance that the VINUMDRIVE class tastes before the VINUM class, so let the VINUMDRIVE class parse the on-disk configuration, too. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-25T23:10:38.000000Z K 7 svn:log V 212 Allow "posix" as a synonym for "pax". (The gtar folks chose "posix", which is really, really dumb and just going to cause confusion among people who understand that "ustar" is also a POSIX standard tar format.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-25T23:29:47.000000Z K 7 svn:log V 222 Do some initial locking on accept filter registration and attach. While here, close some races that existed in the pre-locking world during low memory conditions. This locking isn't perfect, but it's closer than before. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-25T23:30:43.000000Z K 7 svn:log V 124 In uipc_connect(), assert that the passed thread is curthread, and pass td into unp_connect() instead of reading curthread. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-25T23:32:32.000000Z K 7 svn:log V 179 Revert modification of subr_turnstile.c accidentally included in the last commit; this assertion was provided by jhb for local debugging and not intended for broader consumption. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-26T02:54:42.000000Z K 7 svn:log V 839 When writing "pax" format, readers are supposed to ignore fields in the regular ustar header that are overridden by the pax extended attributes. As a result, it makes perfect sense to use numeric extensions in the regular ustar header so that readers that don't understand pax extensions but do understand some other extensions can still get useful information out of it. This is especially important for filesizes, as the failure to read a file size correctly can get the reader out of sync. This commit introduces a "non-strict" option into the internal function to format a ustar header. In non-strict mode, the formatter will use longer octal values (overwriting terminators) or binary ("base-256") values as needed to ensure that large file sizes, negative mtimes, etc, have the correct values stored in the regular ustar header. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-26T03:21:41.000000Z K 7 svn:log V 187 Add a --version option to bsdtar that prints the versions of both bsdtar and libarchive. Of course, this requires that bsdtar have a version number. Let's call this 1.00, shall we? ;-) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-26T03:53:47.000000Z K 7 svn:log V 274 Simple attachment regression test to attach the "accf_data" accept filter to an inet socket and check at various points during the socket life cycle that the filter can or cannot be attached, and that once attached that the right one is attached and that it can be queried. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-26T03:54:40.000000Z K 7 svn:log V 171 When sizing the FIFO, don't count all the way up to 1030 if any FIFO size larger than 128 is considered an incompatible size. Stop counting when we reach 130 in the loop. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-26T06:04:35.000000Z K 7 svn:log V 309 Don't force an immediate probe/attach for all devices when compiled with ACPI_DEBUG. This upset the ordering that acpi_probe_order() was meant to provide, causing devices to attach before the sysresource object. This debugging feature has been unnecessary for a while so just remove it. Testing by: marcel END K 10 svn:author V 3 osa K 8 svn:date V 27 2004-07-26T06:40:48.000000Z K 7 svn:log V 56 Add DragonFly BSD 1.0. Approved by: wosch (maintainer) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-26T07:24:04.000000Z K 7 svn:log V 318 Rename suser_cred()'s PRISON_ROOT flag to SUSER_ALLOWJAIL. This is somewhat clearer, but more importantly allows for a consistent naming scheme for suser_cred flags. The old name is still defined, but will be removed in a few days (unless I hear any complaints...) Discussed with: rwatson, scottl Requested by: jhb END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-26T07:30:21.000000Z K 7 svn:log V 61 Save the vinum config back to disk after syncing two plexes. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-26T07:54:39.000000Z K 7 svn:log V 489 In revision 1.228, I accidentally broke the "total number of processes in the system" resource limit code: When checking if the caller has superuser privileges, we should be checking the *real* user, not the *effective* user. (In general, resource limiting is done based on the real user, in order to avoid resource-exhaustion-by-setuid-program attacks.) Now that a SUSER_RUID flag to suser_cred exists, use it here to return this code to its correct behaviour. Pointed out by: rwatson END K 10 svn:author V 3 suz K 8 svn:date V 27 2004-07-26T08:18:37.000000Z K 7 svn:log V 100 re-enabled Rev 1.15 (lost during KAME merge at Rev 1.25, due to a KAME bug...) Obtained from: KAME END K 10 svn:author V 2 gj K 8 svn:date V 27 2004-07-26T09:12:57.000000Z K 7 svn:log V 117 MFC 1.16 - fix a possible hang at warm boot. PR: kern/68756 Submitted by: Ari Suutari END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-26T13:25:45.000000Z K 7 svn:log V 188 Add two knobs to ifconfig(8), `vlanmtu' and `vlanhwtag', that provide control over the respective capabilities of an interface, reception of extended frames and hardware VLAN multiplexor. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-26T14:46:04.000000Z K 7 svn:log V 700 Stop tinkering with the parent's VLAN_MTU capability. Now it is user-controlled through ifconfig(8). The former ``automagic'' way of operation created more trouble than good. First, VLAN_MTU consumers other than vlan(4) had appeared, e.g., ng_vlan(4). Second, there was no way to disable VLAN_MTU manually if it were causing trouble, e.g., data corruption. Dropping the ``automagic'' should be completely invisible to the user since a) all the drivers supporting VLAN_MTU have it enabled by default, and in the first place b) there is only one driver that can really toggle VLAN_MTU in the hardware under its control (it's fxp(4), to which I added VLAN_MTU controls to illustrate the principle.) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-26T15:04:57.000000Z K 7 svn:log V 92 Assign the result of getopt() to an int rather than to a char (which is possibly unsigned). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-26T15:35:04.000000Z K 7 svn:log V 70 M_WAITOK is ok here, while I'm using M_WAITOK later in this function. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-26T15:41:28.000000Z K 7 svn:log V 70 M_WAITOK is ok here, while I'm using M_WAITOK later in this function. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-26T16:08:32.000000Z K 7 svn:log V 68 Change naming scheme from /dev/.concat to /dev/concat/. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-26T16:10:27.000000Z K 7 svn:log V 68 Change naming scheme from /dev/.stripe to /dev/stripe/. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-26T17:14:47.000000Z K 7 svn:log V 143 Improve geom(8)'s 'list' command to show geoms and their providers and consumers. Teach STRIPE, CONCAT and NOP classes about this improvement. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-26T18:10:10.000000Z K 7 svn:log V 119 Implement the protection check required by the pmap_extract_and_hold() specification. Reviewed and tested by: grehan@ END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-07-26T19:35:20.000000Z K 7 svn:log V 72 Enclose .Fa fn with ``The ... function'' at the beginning of sentences. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-07-26T19:49:29.000000Z K 7 svn:log V 67 Remove useless .Pp. Typo: gcos -> gecos (as spelled in passwd(5)). END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-07-26T19:53:44.000000Z K 7 svn:log V 41 Introduce options list the standard way. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-07-26T19:59:29.000000Z K 7 svn:log V 76 Introduce options list the standard way. Correct style(9) in FILES section. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-07-26T20:18:11.000000Z K 7 svn:log V 169 Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). Use warnx() instead of warn() when error message is not of any interest. Add prototypes. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-07-26T20:24:59.000000Z K 7 svn:log V 26 No capital letter after : END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-26T21:18:58.000000Z K 7 svn:log V 171 The name of the landlord in Shaw's _The Man of Destiny_ is Giuseppe (not Guiseppe) Gandi. Submitted by: Massimiliano Stucchi MFC after: 3 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-07-26T21:21:08.000000Z K 7 svn:log V 117 document that times are in microseconds, yes it's at the end in the NOTES section, but this makes it easier to find. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-07-26T21:29:56.000000Z K 7 svn:log V 233 compare pointer against NULL, not 0 when inpcb is NULL, this is no longer invalid since jlemon added the tcp_twstart function... this prevents close "failing" w/ EINVAL when it really was successful... Reviewed by: jeremy (NetBSD) END K 10 svn:author V 7 jayanth K 8 svn:date V 27 2004-07-26T23:41:12.000000Z K 7 svn:log V 150 Fix for a SACK bug where the very last segment retransmitted from the SACK scoreboard could result in the next (untransmitted) segment to be skipped. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-07-27T00:02:19.000000Z K 7 svn:log V 10 Fix URLs. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-27T00:28:16.000000Z K 7 svn:log V 70 Fix typo in description of pflog_logfile. Submitted by: Mike Jakubik END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-07-27T00:36:53.000000Z K 7 svn:log V 242 add a command to calculate the ratios of cnt_hold and cnt_lock to locks from mutex profiling... This takes cnt_* and divides it by count, so lower is better... Sample command: sh mtxpercent.sh | sort -rn +7 -8 SEE ALSO MUTEX_PROFILING(9) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-27T01:33:27.000000Z K 7 svn:log V 176 Use file2c instead of a combination of hexdump, sed and shell script to generate the wakecode[] array from acpi_wakecode.bin. The old method was not safe in multibyte locales. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-27T03:41:34.000000Z K 7 svn:log V 94 Improve boot-time debugging with DDB by extracting the ksym start/end values from the loader. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-07-27T03:46:31.000000Z K 7 svn:log V 329 Move the schedlock owner state update following the context switch in fork_exit() to before anything else is done (but keep schedlock for the deadthread check). This means one less nasty bug if ever in the future whatever might have been called before the update played with schedlock or critical sections. Discussed with: tjr END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-27T03:46:34.000000Z K 7 svn:log V 124 Save DAR/DSISR in DDB regsave area when stack overflow detected. It's hard to work out where the problem was without these. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-27T03:53:41.000000Z K 7 svn:log V 320 - Use atomic ops for updating the vmspace's refcnt and exitingcnt. - Push down Giant into shmexit(). (Giant is acquired only if the vmspace contains shm segments.) - Eliminate the acquisition of Giant from proc_rwmem(). - Reduce the scope of Giant in exit1(), uncovering the destruction of the address space. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-27T03:54:16.000000Z K 7 svn:log V 561 Various improvements for ia64: o s/TARGET_XFER_DIRTY/NATIVE_XFER_DIRTY/g to be conformant, o Handle TARGET_OBJECT_DIRTY for core files. Required on Linux, o Replace ia64_fbsd_supply_fpregs() and ia64_fbsd_supply_gregs() with supply_fpregset() and supply_gregset() resp. Needed to support libthread_db. o For target_read_partial(), pass the address of bspstore as the annex instead of bspstore itself. This fixes crossbuilds. The annex is a pointer, while bspstore is a ULONGEST. o In ia64_frame_prev_register(), handle dirty stacked registers. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-07-27T04:23:00.000000Z K 7 svn:log V 177 after reading the commit mail, I better understand what cnt_hold is for.. improve the verbage in the manpage so others are more likely to understand it... Reviewed by: rwatson END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-27T06:29:48.000000Z K 7 svn:log V 226 Add UTF-8-specific implementations of mbsnrtowcs() and wcsnrtombs(). These convert plain ASCII characters in-line, making them only slightly slower than the single-byte ("NONE" encoding) version when processing ASCII strings. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-27T07:04:58.000000Z K 7 svn:log V 169 Make sure icache is sync'd whenever memory is touched. It may be more optimal to override the BKPT_WRITE macro, but DDB performance isn't really a goal at this stage... END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-27T07:06:20.000000Z K 7 svn:log V 93 Properly implement kdb_cpu_{set|clear}_singlestep to allow DDB to continue from breakpoints. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-27T09:51:49.000000Z K 7 svn:log V 108 Bump the date, .Dd, since the document content has been changed in the previous commit. Pointed out by: ru END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-27T10:15:55.000000Z K 7 svn:log V 71 This file was removed from the OpenPAM distribution in December, 2002. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-27T10:15:55.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132691, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-27T10:30:11.000000Z K 7 svn:log V 132 New release notes: fxp(4) allows toggling its VLAN_MTU capability; ifconfig(8) provides controls for VLAN_MTU and VLAN_HWTAGGING. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-27T10:37:04.000000Z K 7 svn:log V 87 Correct a couple of noticed slips in sorting order and add missing markup at one spot. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-27T11:30:35.000000Z K 7 svn:log V 12 Style nits. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-27T11:34:25.000000Z K 7 svn:log V 75 Don't strip trailing linear whitespace from passwords. MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-27T12:31:38.000000Z K 7 svn:log V 32 Fixed style of previous commit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-27T16:34:48.000000Z K 7 svn:log V 515 Add "options ADAPTIVE_GIANT" which causes Giant to also be treated in an adaptive fashion when adaptive mutexes are enabled. The theory behind non-adaptive Giant is that Giant will be held for long periods of time, and therefore spinning waiting on it is wasteful. However, in MySQL benchmarks which are relatively Giant-free, running Giant adaptive makes an observable difference on SMP (5% transaction rate improvement). As such, make adaptive behavior on Giant an option so it can be more widely benchmarked. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-27T16:35:09.000000Z K 7 svn:log V 391 Don't consider TCP connections beyond LISTEN state (i.e. with the foreign address being not wildcard) when checking for possible port theft since such connections cannot be stolen. The port theft check is FreeBSD-specific and isn't in the KAME tree. PR: bin/65928 (in the audit trail) Reviewed by: -net, -hackers (silence) Tested by: Nick Leuta MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-27T16:41:01.000000Z K 7 svn:log V 342 Pass a thread argument into cpu_critical_{enter,exit}() rather than dereference curthread. It is called only from critical_{enter,exit}(), which already dereferences curthread. This doesn't seem to affect SMP performance in my benchmarks, but improves MySQL transaction throughput by about 1% on UP on my Xeon. Head nodding: jhb, bmilekic END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-07-27T16:59:35.000000Z K 7 svn:log V 60 Even though binaries will give 0 matches, make it explicit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-27T19:44:08.000000Z K 7 svn:log V 39 Correct typo in prior commit: s/cd/td/ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-27T19:47:13.000000Z K 7 svn:log V 283 When node is server serve both standard RFC2516 and non-standard 3Com clients simultaneously. When node is client its mode is configured with a control message. sysctl net.graph.nonstandard_pppoe is deprecated but kept for backward compatibility for some time. Approved by: julian END K 10 svn:author V 3 jkh K 8 svn:date V 27 2004-07-27T20:01:43.000000Z K 7 svn:log V 140 After conferring with Apple legal, update the license of this to APSL 2.0 and change the URL link to point to the appropriate license text. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-27T20:30:56.000000Z K 7 svn:log V 619 When making a peer of unknown type framework tries to load module using linker_load_module(). This works OK if NGM_MKPEER message came from userland and we have process associated with thread. But when NGM_MKPEER was queued because target node was busy, linker_load_module() is called from netisr thread leading to panic. To workaround that we do not load modules by framework, instead ng_socket loads module (if this is required) before sending NGM_MKPEER. However, the race condition between return from NgSendMsg() and actual creation of node still exist and needs to be solved. PR: kern/62789 Approved by: julian END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-27T21:13:04.000000Z K 7 svn:log V 310 Merge the "multibyte not supported" BUG into the pre-existing BUGS section. Move the HISTORY section to place it before BUGS rather than after BUGS, in order to minimize the chance of this error being reproduced in the future. (Both mdoc(7) and 63% of manual pages have these sections listed in this order.) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-27T21:22:14.000000Z K 7 svn:log V 252 Add a BUGS entry pointing out that -mindepth and -maxdepth are global options even though they look like primaries. (This is already documented in the options themselves, but is sufficiently astonishing that I think it deserves a BUGS entry as well.) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-27T21:38:42.000000Z K 7 svn:log V 45 Use kernel_vmount() instead of vfs_nmount(). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-27T22:17:26.000000Z K 7 svn:log V 55 Start new sentence on new line. Pointed out by: simon END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-27T22:32:01.000000Z K 7 svn:log V 175 Convert the vfsconf list to a TAILQ. Introduce vfs_byname() function to find things on it. Staticize vfs_nmount() function under the name vfs_donmount(). Various cleanups. END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-07-27T22:40:42.000000Z K 7 svn:log V 61 Add workaround for brain damaged cell phones PR: bin/67906 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-27T23:20:45.000000Z K 7 svn:log V 1071 Add a new network interface flag, IFF_NEEDSGIANT, which will allow device drivers to declare that the ifp->if_start() method implemented by the driver requires Giant in order to operate correctly. Add a 'struct task' to 'struct ifnet' that can be used to execute a deferred ifp->if_start() in the event that if_start needs to be called in a Giant-free environment. To do this, introduce if_start(), a wrapper function for ifp->if_start(). If the interface can run MPSAFE, it directly dispatches into the interface start routine. If it can't run MPSAFE, we're running with debug.mpsafenet != 0, and Giant isn't currently held, the task is queued to execute in a swi holding Giant via if_start_deferred(). Modify if_handoff() to use if_start() instead of direct dispatch. Modify 802.11 to use if_start() instead of direct dispatch. This is intended to provide increased compatibility for non-MPSAFE network device drivers in the presence of Giant-free operation via asynchronous dispatch. However, this commit does not mark any network interfaces as IFF_NEEDSGIANT. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-27T23:32:06.000000Z K 7 svn:log V 125 Add an UPDATING entry about recompiling modules implementing network interfaces due to a change in the size of struct ifnet. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-27T23:44:03.000000Z K 7 svn:log V 414 Commit a first pass at in6pcb and pcbinfo locking for IPv6, synchronizing IPv6 protocol control blocks and lists. These changes are modeled on the inpcb locking for IPv4, submitted by Jennifer Yang, and committed by Jeffrey Hsu. With these locking changes, IPv6 use of inpcbs is now substantially more MPSAFE, and permits IPv4 inpcb locking assertions to be run in the presence of IPv6 compiled into the kernel. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-27T23:45:19.000000Z K 7 svn:log V 86 Forced commit to note that the previous commit was: Approved by: suz (core@kame.net) END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-07-28T00:09:19.000000Z K 7 svn:log V 77 back out the localkg changes until things have settled. Discussed with: mtm END K 10 svn:author V 7 jayanth K 8 svn:date V 27 2004-07-28T02:15:14.000000Z K 7 svn:log V 416 Fix a bug in the sack code that was causing data to be retransmitted with the FIN bit set for all segments, if a FIN has already been sent before. The fix will allow the FIN bit to be set for only the last segment, in case it has to be retransmitted. Fix another bug that would have caused snd_nxt to be pulled by len if there was an error from ip_output. snd_nxt should not be touched during sack retransmissions. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:11:36.000000Z K 7 svn:log V 20 Gcc 3.4.2 20040728. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:11:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132718, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:12:05.000000Z K 7 svn:log V 37 Gcc 3.4.2 20040728 C++ support bits. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:12:05.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132720, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:12:12.000000Z K 7 svn:log V 45 Gcc 3.4.2 20040728 Objective C support bits. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:12:12.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132722, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:12:14.000000Z K 7 svn:log V 32 Gcc 3.4.2 20040728 libf2c bits. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:12:14.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132724, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-07-28T03:36:05.000000Z K 7 svn:log V 294 Erroneously decreased __FreeBSD_version, which should have been increased instead: "__FreeBSD_version should only ever increment. It is a historial record of events in the system. Decrementing it is akin to trying to go back in time and change history." Reminded by: kuriyama, scottl END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:36:15.000000Z K 7 svn:log V 39 Use stock GCC versions on these files. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:40:54.000000Z K 7 svn:log V 114 Merge FreeBSD changes into GCC 3.4.2-prerelease. r1.18: Move FreeBSD specific flag variables from c-decl.c here. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:46:02.000000Z K 7 svn:log V 306 Merge FreeBSD modifications into gcc 3.4.2-prerelease: 1.2 framework for our kernel printf enhancements. 1.3 suppress prototype warnings on K&R main. Both flag variables declared here were disconnected through the 5-current lifetime and are retained here for backwards compatibility reasons only. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:53:20.000000Z K 7 svn:log V 156 Use stock version of this file. Revision 1.3 to suppress warnings on K&R main is not useful anymore since GCC suppresses such warnings unconditionally now. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T03:57:21.000000Z K 7 svn:log V 131 Merge FreeBSD modifications into gcc 3.4.2-prerelease: 1.2 -fformat-extensions. 1.3 -printf0 1.6 teach GCC about %y for DDB. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:01:01.000000Z K 7 svn:log V 89 Merge FreeBSD changes into GCC 3.4.2-prerelease. 1.19 Fix -mprofiler-epilogue on i386. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:05:09.000000Z K 7 svn:log V 204 Merge FreeBSD modifications into gcc 3.4.2-prerelease: 1.{2,15} FREEBSD_NATIVE. 1.21 "GCC_OPTIONS". 1.{16,25,27} Cross-compiling issues. 1.38 Correct priority for GCC_EXEC_PREFIX. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:20:36.000000Z K 7 svn:log V 225 Merge FreeBSD modifications into gcc 3.4.2-prelelease: 1.2 -fformat-extensions. Remove r1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha) as obsolete. Move r1.14 (-O0 -O1 optimize alignment for time, not size) to opts.c. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:23:38.000000Z K 7 svn:log V 75 -O0 -O1 should optimize alignment for time, not size. Moved from toplev.c. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:27:06.000000Z K 7 svn:log V 92 Merge FreeBSD modifications into gcc 3.4.2-prerelease: 1.2 Localize the version string. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:31:47.000000Z K 7 svn:log V 104 Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF interpreter on FreeBSD 5.x series. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:34:05.000000Z K 7 svn:log V 48 Update MI config bits for GCC 3.4.2-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:35:51.000000Z K 7 svn:log V 102 Merge FreeBSD modifications into gcc 3.4.2-prerelease: 1.8 Change symbol values to match freebsd.h. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:39:15.000000Z K 7 svn:log V 54 Update Alpha config MD bits for GCC 3.4.2-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:41:42.000000Z K 7 svn:log V 46 Update i386 MD bits for GCC 3.4.2-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:44:23.000000Z K 7 svn:log V 47 Update Amd64 MD bits for GCC 3.4.2-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:47:35.000000Z K 7 svn:log V 39 Merge r1.11 (-mno-align-long-strings). END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:49:58.000000Z K 7 svn:log V 105 Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE overridable from the command line). END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T04:56:54.000000Z K 7 svn:log V 113 Merge FreeBSD changes into GCC 3.4.2-prerelease: 1.2 Tweaks to make this file live beside our hacked config. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:00:13.000000Z K 7 svn:log V 48 Update sparc64 MD bits to GCC 3.4.2-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:03:19.000000Z K 7 svn:log V 36 Use stock version of this file now. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:06:59.000000Z K 7 svn:log V 85 Merge FreeBSD changes into GCC 3.4.2-prerelease: 1.2 Printf format errors fixes. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:08:31.000000Z K 7 svn:log V 90 Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info GCC 3.4.3-prerelease sources. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:23:28.000000Z K 7 svn:log V 51 We generate this file from config.h automatically. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:27:21.000000Z K 7 svn:log V 37 Bmake glue for GCC 3.4.2-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:33:58.000000Z K 7 svn:log V 29 Do not use casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:37:18.000000Z K 7 svn:log V 39 Add missing () to function invocation. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:39:04.000000Z K 7 svn:log V 73 Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:41:05.000000Z K 7 svn:log V 66 s/round/fpround/ to avoid naming clash with GCC builtin function. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:43:08.000000Z K 7 svn:log V 142 Remove stale code protected by #ifdef sparc. GCC 3.4.x adds sparc to predefined symbols on all SPARC platforms and FreeBSD follows the crowd. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:44:07.000000Z K 7 svn:log V 37 Downgrage WARNS level for GCC 3.4.x. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:44:52.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:49:15.000000Z K 7 svn:log V 37 Downgrade WARNS level for GCC 3.4.2. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:53:18.000000Z K 7 svn:log V 72 Work around known GCC 3.4.x problem and use ANSI prototype for dremf(). END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:57:48.000000Z K 7 svn:log V 63 Downgrade WARNS level until GCC 3.4.2 warning have been fixed. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T05:59:22.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:00:09.000000Z K 7 svn:log V 57 Downgrade WARNS level until GCC 3.4.2 warning are fixed. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:03:27.000000Z K 7 svn:log V 69 Define our own memcpy here instead of relying on GCC to provide one. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:05:41.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:07:02.000000Z K 7 svn:log V 80 Allow for aggressive function inlining. This might have to be fine-tuned later. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:14:44.000000Z K 7 svn:log V 195 Initialize s variable early to shut up GCC warnings. Do not declare inline functions without body as this is useless in general and generates a warning with GCC 3.4.x. Glanced over by: dhartmei END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-07-28T06:18:05.000000Z K 7 svn:log V 27 Name non-physical devices. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:19:25.000000Z K 7 svn:log V 110 Make __packed attribute apply to structs themselves, not their typedefs. GCC 3.4.2 issues warning about that. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-07-28T06:19:54.000000Z K 7 svn:log V 42 MFC: rev 1.55, Name non-physical devices. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:21:53.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:30:43.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-28T06:30:52.000000Z K 7 svn:log V 83 Use P_SINGLE_EXIT to check single-threading case, P_WEXIT is not for that purpose. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:32:28.000000Z K 7 svn:log V 87 Avoid casts as lvalues. While here, avoid storing 32bit quantities in 16bit locations. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:41:27.000000Z K 7 svn:log V 182 Avoid using casts as lvalues. Introduce DIP_SET macro which sets proper inode field based on UFS version. Use DIP ro read values and DIP_SET to modify them throughout FFS code base. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:42:41.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:45:13.000000Z K 7 svn:log V 145 Forced commit to note that prevois commit has nothing to do with casts as lvalues. I meant to replace a bogus function cast with less bogus one. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:48:36.000000Z K 7 svn:log V 52 Initialize ; variable eraly to shut up GCC warning. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:58:23.000000Z K 7 svn:log V 147 Avoid casts as lvalues. Declare local variable as u_char * instead of declaring it as u_short * and casting it back to uchar * all over the place. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T06:59:55.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:01:33.000000Z K 7 svn:log V 66 Introduce SLOT_SET macro and use it in place of casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:03:42.000000Z K 7 svn:log V 88 Introduce __used attribute which serves as logical conuterpart of preexisting __unused. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:07:16.000000Z K 7 svn:log V 231 Emply __used attribute to prevent compiler from removing unreferenced static symbols. This wasn't a problem with previous GCC releases, but unit-at-a-time mode of GCC 3.4.2 prevents linker set components from being emitted at all. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:08:39.000000Z K 7 svn:log V 83 Introduce SYSCTL_CHILDREN_SET macro which can be used in place of cast as a value. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:10:03.000000Z K 7 svn:log V 98 Do not predeclare __inline functions, this makes no sense and generates a warning with gcc 3.4.x. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:12:30.000000Z K 7 svn:log V 113 Remove local malloc prototypes, which are incorrect and conflict with both GCC builtin and system declared ones. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:13:55.000000Z K 7 svn:log V 86 Temporarily disable kernbb utility. It has to learn about new gcov data format first. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:17:00.000000Z K 7 svn:log V 71 Move __iniline function definition before its first usage in the file. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:19:15.000000Z K 7 svn:log V 103 Downgrade WARNS level to more tolerable value. Attempt to fix casts as lvalue usage whenever possible. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T07:20:04.000000Z K 7 svn:log V 24 Avoid casts as lvalues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-28T08:59:08.000000Z K 7 svn:log V 107 Damage control. Correcly advance symtab and strtab pointers, not table length values. Spotted by: iedowse END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-07-28T09:12:54.000000Z K 7 svn:log V 364 Remove (at least temporarily) the check that prevents us from including this file from userland. Since we export struct ifnet to userland, and that struct ifnet now contains a struct task, userland needs to know what struct task looks like. We need to consider having a pointer to a struct task here instead and forward declare struct task in the !_KERNEL case. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-28T11:56:03.000000Z K 7 svn:log V 51 ANSIfy and constify; this now builds with GCC 3.4. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-28T13:03:07.000000Z K 7 svn:log V 1265 Disallow a particular kind of port theft described by the following scenario: Alice is too lazy to write a server application in PF-independent manner. Therefore she knocks up the server using PF_INET6 only and allows the IPv6 socket to accept mapped IPv4 as well. An evil hacker known on IRC as cheshire_cat has an account in the same system. He starts a process listening on the same port as used by Alice's server, but in PF_INET. As a consequence, cheshire_cat will distract all IPv4 traffic supposed to go to Alice's server. Such sort of port theft was initially enabled by copying the code that implemented the RFC 2553 semantics on IPv4/6 sockets (see inet6(4)) for the implied case of the same owner for both connections. After this change, the above scenario will be impossible. In the same setting, the user who attempts to start his server last will get EADDRINUSE. Of course, using IPv4 mapped to IPv6 leads to security complications in the first place, but there is no reason to make it even more unsafe. This change doesn't apply to KAME since it affects a FreeBSD-specific part of the code. It doesn't modify the out-of-box behaviour of the TCP/IP stack either as long as mapping IPv4 to IPv6 is off by default. MFC after: 1 month END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-28T13:08:24.000000Z K 7 svn:log V 56 Set fpu context flags to known values, zero is illegal. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-07-28T14:21:25.000000Z K 7 svn:log V 51 Remove an empty default: case to please GCC 3.4.2. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-07-28T15:35:33.000000Z K 7 svn:log V 173 Wrap the supported adapters list into an .Sh HARDWARE section. Use a list to make reading the list easier on the eyes. Add cardbus(4) and pccard(4) to the SEE ALSO section. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-28T15:43:33.000000Z K 7 svn:log V 81 Document incorrect handling of multibyte characters due to limitations of sh(1). END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-28T16:03:13.000000Z K 7 svn:log V 65 Use the length modifier 'll' instead of 'q' to print long longs. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-28T16:32:17.000000Z K 7 svn:log V 65 Get rid of several unneeded includes (if.h, if_var.h, if_mib.h). END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-28T16:34:42.000000Z K 7 svn:log V 29 No need to include if_var.h. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-07-28T18:13:28.000000Z K 7 svn:log V 79 Remove the ERRORS section in favor of a DIAGNOSTICS section. Requested by: ru END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-28T18:18:47.000000Z K 7 svn:log V 272 Print link level address on vlan interfaces using ether_ntoa(), to make output on bare ethernet and vlan interfaces the same. PR: bin/69674 Submitted by: Pawel Malachowski Reviewed by: ru Approved by: julian (mentor) MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-28T18:23:08.000000Z K 7 svn:log V 452 Correct a very old error in both vm_object_madvise() (originating in vm/vm_object.c revision 1.88) and vm_object_sync() (originating in vm/vm_map.c revision 1.36): When descending a chain of backing objects, both use the wrong object's backing offset. Consequently, both may operate on the wrong pages. Quoting Matt, "This could be responsible for all of the sporatic madvise oddness that has been reported over the years." Reviewed by: Matt Dillon END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-28T20:21:04.000000Z K 7 svn:log V 291 Remove global variable rootdevs and rootvp, they are unused as such. Add local rootvp variables as needed. Remove checks for miniroot's in the swappartition. We never did that and most of the filesystems could never be used for that, but it had still been copy&pasted all over the place. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-28T21:06:13.000000Z K 7 svn:log V 99 Remove buggy (root filesystems may not have cdev) and pointless customization of an error message. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-07-28T21:43:43.000000Z K 7 svn:log V 101 Leaving the '.Pp' before '.Sh' is a style bug. This should have been removed in my previous commit. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-28T21:54:57.000000Z K 7 svn:log V 152 Move a relic to its correct location(s): Put nfs diskless initialization calls with the code they call. (Yet another example of mindless copy&paste). END K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-28T22:13:04.000000Z K 7 svn:log V 122 Disable memory locking that could keep watchdogd from deadlocking itself if the swap subsystem failed. Requested by: phk END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-28T22:35:41.000000Z K 7 svn:log V 837 Fix ACPI floppy enumeration for three types of divergent behavior. * Some systems have _FDE and child floppy devices, but no _FDI. This seems to be compatible with the standard. Don't error out if there is no _FDI. Instead, continue on to the next device. The normal fd probe will take care of this device. * Some systems have _FDE but no child devices in AML. For these, add a second pass that compares the results of _FDE to the presence of devices. If not present, add the missing device. * Some BIOS authors didn't read the spec. They use tape drive values for all fdc(4) devices. Since this isn't grossly incompatible with the required boolean value, use them. They also define the _FDE items as a package instead of buffer. Regenerate the buffer from the package if it is present. Tested by: tjr, marcel END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T02:04:58.000000Z K 7 svn:log V 49 Allow GCC to recognize -fformat-extensions flag. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T03:13:10.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T03:24:30.000000Z K 7 svn:log V 117 Now that fnmatch() supports multibyte characters, find does too; remove entry from BUGS section that said otherwise. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T03:29:44.000000Z K 7 svn:log V 52 Remove partial support for building this on NetBSD. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T03:33:55.000000Z K 7 svn:log V 125 Change the 'no terminating ";"' error message to 'no terminating ";" or "+"' since + is also a valid way to terminate -exec. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T03:41:24.000000Z K 7 svn:log V 71 Add a paragraph break in the STANDARDS section to improve readability. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T03:48:52.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-29T05:59:43.000000Z K 7 svn:log V 169 Add configuration option "set pppoe [standard|3Com]" which allows to configure mode for ng_pppoe(4) node under control. Reviewed by: brian Approved by: julian (mentor) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T06:08:31.000000Z K 7 svn:log V 64 Remove useless checks for characters longer than INT_MAX bytes. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T06:16:19.000000Z K 7 svn:log V 70 Prefer to , since the latter is going away soon. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T06:18:40.000000Z K 7 svn:log V 40 Remove unnecessary #include directives. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-29T06:22:27.000000Z K 7 svn:log V 97 MFC rev. 1.14: fix 'camcontrol rescan' syntax and use the proper indentation for the FILES list. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-29T07:01:45.000000Z K 7 svn:log V 26 MFC: s/Guiseppe/Giuseppe/ END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T07:23:37.000000Z K 7 svn:log V 102 Add support for multibyte characters, loosely based on Bruno Haible's work in the util-linux package. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T07:28:26.000000Z K 7 svn:log V 88 Sort #include directives and remove one duplicate that crept in to the previous commit. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-29T07:34:46.000000Z K 7 svn:log V 89 MFC sys/conf/NOTES rev. 1.1245: a couple of grammar fixes in the 'bktr' options section. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T07:41:43.000000Z K 7 svn:log V 36 Add a cross-reference to colcrt(1). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-29T08:05:02.000000Z K 7 svn:log V 66 Address node in a less complex way. Approved by: julian (mentor) END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-07-29T08:06:22.000000Z K 7 svn:log V 28 Clean up structure packing. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-29T08:43:33.000000Z K 7 svn:log V 51 Removed remnants of ports-related knobs from here. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T09:09:22.000000Z K 7 svn:log V 158 Add support for multibyte characters. The output is questionable when a character straddles the "start" or "stop" columns, but this should be quite uncommon. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-29T11:28:24.000000Z K 7 svn:log V 141 Catch up with recent gcc changes and introduce a DIP_SET macro to use when setting values that depend on the UFS version. Raise WARNS again. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-29T11:32:09.000000Z K 7 svn:log V 88 Shut up the compiler and temporarily '#if 0' gv_destroy_geom(), until we need it again. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-29T12:33:54.000000Z K 7 svn:log V 26 Don't use cast as lvalue. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T13:22:56.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2004-07-29T13:34:50.000000Z K 7 svn:log V 60 Implement MD parts of ptrace. Approved by: grehan (mentor) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-29T13:34:51.000000Z K 7 svn:log V 76 This commit was manufactured by cvs2svn to create branch 'unlabeled-1.75.2'. END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2004-07-29T13:39:27.000000Z K 7 svn:log V 107 Add comment explaining struct reg and struct fpreg must match the trapframe. Approved by: grehan (mentor) END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-29T14:29:23.000000Z K 7 svn:log V 532 Implement POSIX's '+' flag for command lines. This flag causes a line to be executed even when -n is given on the command line to make. This is very handy for calls to submakes. This is slightly changed from the original patch as obtained from NetBSD. The NetBSD variant prints lines which have both '+' and '@' when -n is specified. The commited version always obeys '@'. Bump MAKE_VERSION so Makefiles can use this conditionally. PR: standards/66357 (partly) Submitted by: Mark Baushke Obtained from: NetBSD END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T14:49:57.000000Z K 7 svn:log V 36 Add a note about recent GCC import. END