ƒ±108000 193 981 312 239 162 257 248 833 692 151 165 215 154 250 299 166 276 320 192 414 141 176 166 286 309 192 170 522 131 339 128 127 231 239 125 338 130 146 127 244 118 147 901 178 160 636 195 157 166 308 124 240 136 341 150 198 1090 974 370 270 212 370 444 214 235 193 281 429 116 275 338 145 417 139 240 185 128 141 422 245 221 284 321 653 125 197 131 160 128 182 317 237 227 237 143 371 166 130 159 234 179 169 196 363 184 212 150 240 543 292 378 171 232 161 221 247 140 142 243 437 304 185 272 133 157 151 132 157 123 233 857 208 147 124 226 252 143 922 1246 156 151 292 281 242 239 284 1076 163 178 1167 187 694 368 221 200 138 127 201 159 237 379 395 179 180 208 218 472 1517 561 268 213 254 308 120 367 208 142 159 246 174 128 164 139 126 136 261 179 383 262 116 262 150 716 198 K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-17T21:10:34.000000Z K 7 svn:log V 888 Make both UFS1 and UFS2 fit on the same boot blocks. These are a subset of Peter's patchs that are believed to be safe. Makefile tweaks: o -fomit-frame-pointer o Change default to building both UFS1 and UFS2 bootblocks. Lots of boot2 tweaks: o lookup is only ever called with kname, so use it directly. o inline memsize o getstr are only ever called with cmd, so hardware that. o tweaks to the parsing code to test after the conversion rather than before since we tested after anyways. o eliminate support for %x in printf. o eliminate a few bytes in printfs. o Tweak the boot banner. o eliminate support for wd and " " devices (I might add wd back to keep bde happy). o eliminate support for a few arguments. This takes us from -162 bytes free to 67 bytes free. I've tested this only on a few systems, so be careful when updating to this change. Submitted by: peter, imp, ian END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-12-17T21:14:45.000000Z K 7 svn:log V 219 Remove request for i386 boot[012] review. I didn't have time recently to work on the UFS2 stuff and people were committing patches w/o sending them my way anyways, so it seems rather pointless for me to be in here. :) END K 10 svn:author V 5 green K 8 svn:date V 27 2002-12-17T21:23:36.000000Z K 7 svn:log V 144 Back out the previous commit, since there could be dire consequences if /etc/rc were accidentally executed (as requested by other committeers). END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-17T21:31:58.000000Z K 7 svn:log V 70 Add a check for negative offset locations and return EINVAL for them. END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-17T21:47:48.000000Z K 7 svn:log V 161 Make the arpcom the first entry in the softc. Apparently there is still some broken code that needs this. Submitted by: Jonas Bülow" END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-17T22:00:06.000000Z K 7 svn:log V 155 Reduce diffs with Peter's expanded diffs: 1) Put back the keyboard printing printf, at the cost of 58 bytes. 2) Minor tweak to getstr at no apparent cost. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-17T22:20:42.000000Z K 7 svn:log V 735 The buffer daemon cannot skip over buffers owned by locked inodes as they may be the only viable ones to flush. Thus it will now wait for an inode lock if the other alternatives will result in rollbacks (and immediate redirtying of the buffer). If only buffers with rollbacks are available, one will be flushed, but then the buffer daemon will wait briefly before proceeding. Failing to wait briefly effectively deadlocks a uniprocessor since every other process writing to that filesystem will wait for the buffer daemon to clean up which takes close enough to forever to feel like a deadlock. Reported by: Archie Cobbs Sponsored by: DARPA & NAI Labs. Approved by: re MFC from: sys/kern/vfs_bio.c 1.343 END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-17T22:36:33.000000Z K 7 svn:log V 594 Only the most recent snapshot contains the complete list of blocks that were copied in all of the earlier snapshots, thus its precomputed list must be used in the copyonwrite test. Using incomplete lists may lead to deadlock. Also do not include the blocks used for the indirect pointers in the indirect pointers as this may lead to inconsistent snapshots. Reviewed by: Ian Dowse Sponsored by: DARPA & NAI Labs. Approved by: re MFC from: src/sys/sys/conf.h 1.151 MFC from: src/sys/ufs/ufs/inode.h 1.42 & 1.43 MFC from: src/sys/ufs/ffs/ffs_snapshot.c 1.54 & 1.55 END K 10 svn:author V 4 eric K 8 svn:date V 27 2002-12-17T23:59:10.000000Z K 7 svn:log V 58 Add Web Objects. Obtained from: IANA Sponsored by: Apple END K 10 svn:author V 4 grog K 8 svn:date V 27 2002-12-18T00:18:54.000000Z K 7 svn:log V 72 Back out revision 1.38. disklabel now understands vinum volumes again. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-18T00:53:45.000000Z K 7 svn:log V 117 Cosmetic cleanup of unsigned buglets. Submitted by: Bruce Evans Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-18T04:02:02.000000Z K 7 svn:log V 62 Hold the page queues lock when performing vm_page_flag_set(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-18T04:39:15.000000Z K 7 svn:log V 157 - Hold the page queues lock when performing vm_page_busy(). - Replace vm_page_sleep_busy() with proper page queues locking and vm_page_sleep_if_busy(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-18T05:00:54.000000Z K 7 svn:log V 206 Document what happens when the format string contains insufficient conversion specifications to completely specify the resulting struct tm. PR: 46331 Submitted by: Christian S.J. Peron MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-18T07:08:01.000000Z K 7 svn:log V 74 Latest snapshot of devd. This one adds re-matching and string expansion. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-18T07:11:42.000000Z K 7 svn:log V 178 Correctly apply the patch to ffs_snapshot.c approved earlier today. Some day I will learn to extract things from CVS properly. Sponsored by: DARPA & NAI Labs. Approved by: re END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-18T07:13:53.000000Z K 7 svn:log V 227 I didn't intend to delete this rm from the Makefile. It snuck in at the last second before the commit. # likely we can remove this hack now that gcc generates better aligned code # in the align to word case. Noticed by: bde END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-18T07:19:41.000000Z K 7 svn:log V 95 Keep comments consistent with the code. Minor optimization. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-18T07:21:31.000000Z K 7 svn:log V 316 Delay an optional amount of time after booting before starting a background fsck. The delay defaults to sixty seconds to allow large applications such as the X server to start before disk I/O bandwidth is monopolized by fsck. Submitted by: Brooks Davis Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-18T07:23:18.000000Z K 7 svn:log V 49 MFC: latest devd code Approved by: re (blanket) END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-18T07:25:33.000000Z K 7 svn:log V 84 Untwist a twisty bit of logic which gcc for some reason cannot see through on ia64. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-18T07:26:51.000000Z K 7 svn:log V 74 MFC: Untwist twisted logic which gcc/ia64 chokes on. Approved by: scottl END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-12-18T07:43:42.000000Z K 7 svn:log V 193 On drives that returns 00 as 100% done, lower the criteria for wraparound, 99 was too much for fast drives since they do not give 99 as the last value, but instead something in the 90's range. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-18T08:08:10.000000Z K 7 svn:log V 216 MFC revision 1.170: Acquire Giant around calls to malloc() and free() in fdalloc() to avoid a failed assertion when the file descriptor table becomes larger than KMEM_ZMAX bytes in dup() and dup2(). Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-12-18T08:11:25.000000Z K 7 svn:log V 97 Per the RC2 schedule, remove INVARIANTS, WITNESS, and DEBUG options from the RELENG_5_0 kernels. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-12-18T08:13:03.000000Z K 7 svn:log V 75 Add command `hcdp'. This command dumps the DIG64 HCDP table if one exists. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-12-18T08:47:07.000000Z K 7 svn:log V 426 Export the physical address of the RSDP to userland by means of the `machdep.acpi_root' sysctl. This is required on ia64 because the root pointer hardly ever, if at all, lives in the first MB of memory and also because scanning the first MB of memory can cause machine checks. This provides a save and reliable way for ACPI tools to work with the tables if ACPI support is present in the kernel. On ia64 ACPI is non-optional. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-18T09:19:11.000000Z K 7 svn:log V 40 mdoc(7) police: kill whitespace at EOL. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-18T09:22:32.000000Z K 7 svn:log V 247 mdoc(7) police: Tidy up the syscall language. Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-18T10:10:32.000000Z K 7 svn:log V 37 mdoc(7) police: Fixed the .Nm abuse. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-18T10:13:54.000000Z K 7 svn:log V 36 mdoc(7) police: "The .Fn function". END K 10 svn:author V 5 johan K 8 svn:date V 27 2002-12-18T10:14:01.000000Z K 7 svn:log V 136 Use ${BINDIR} instead of hardcoded path. PR: 44582 Submitted by: Jon Disnard Reviewed by: ru MFC after: 3 weeks END K 10 svn:author V 5 johan K 8 svn:date V 27 2002-12-18T10:20:40.000000Z K 7 svn:log V 144 - use MAXPATHLEN per realpath(3) - use the problematic part of the path, instead of the argument, when reporting an error. Reviewed by: mike END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-18T11:46:59.000000Z K 7 svn:log V 33 Lock up ifaddr reference counts. END K 10 svn:author V 5 johan K 8 svn:date V 27 2002-12-18T11:50:28.000000Z K 7 svn:log V 243 Remove undocumented behavior (return current work dir if no path is given as argument) that is not present in 4-Stable. It was introduced when realpath(1) was split out of pwd(1). The removed behavior is provided by pwd(1). Reviewed by: mike END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-18T12:39:25.000000Z K 7 svn:log V 39 mdoc(7) police: "The .Fn system call". END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-18T12:41:03.000000Z K 7 svn:log V 54 Switch to the conventional reference counting scheme. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-18T12:45:11.000000Z K 7 svn:log V 36 mdoc(7) police: "The .Fn function". END K 10 svn:author V 3 suz K 8 svn:date V 27 2002-12-18T13:30:18.000000Z K 7 svn:log V 151 MFC: 1.17 fixed a bug that IPv6 multicast packet is not forwarded if its packet size is equal to the outgoing interface's MTU Obtained from: KAME END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-12-18T13:31:17.000000Z K 7 svn:log V 21 MFC: 1.48: Typo fix. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-18T13:33:04.000000Z K 7 svn:log V 56 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-18T15:34:17.000000Z K 7 svn:log V 804 Under some circumstances, the loopback interface will allocate a new mbuf for a packet looping back to provide alignment guarantees for KAME. Unfortunately, this code performs a direct copy of the header rather than using a header copying primitive (largely because we have sucky header copying primitives). This results in a multiple free of the MAC label in the header when the same label data is freed twice when the two mbufs with that header are freed. As a temporary work-around, clear the initialized flag on the label to prevent the duplicate free, which prevents panics on large unaligned loopback IP and IPv6 data. The real fix is to improve and make use of proper packet header copying routines here. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-12-18T16:13:25.000000Z K 7 svn:log V 83 Move the agp driver to the third floppy to un-spill mfsroot Approved by: re (jhb) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-12-18T16:22:45.000000Z K 7 svn:log V 65 Move the agp driver to the third floppy to un-spill the mfsroot. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-18T16:53:31.000000Z K 7 svn:log V 542 Rearrange strerror() so that its itoa procedure can be used with strerror_r(). Doing this allows us to ensure that strerror_r() always fills the supplied buffer regardless of EINVAL or ERANGE errors. strerror()'s semantics have changed slightly such that an argument of 0 is now considered invalid and errno is set to EINVAL. Remove internal regression test for strerror() and strerror_r(). This will be reincarnated in src/tools/regression/lib/libc/string. In strerror(3), add a comment about strerror()'s bogus return type. PR: 44356 END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-18T16:59:08.000000Z K 7 svn:log V 101 Add regression test for strerror()/strerror_r(). Based on: src/lib/libc/string/strerror.c (rev 1.8) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-18T18:05:07.000000Z K 7 svn:log V 62 Update with the 4.7 libraries, and add libposix1e to the mix. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-12-18T18:05:08.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_0'. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-18T18:22:06.000000Z K 7 svn:log V 214 o Add new types: msgqnum_t and msglen_t. o Add typedefs for pid_t, time_t, size_t and ssize_t. o Hide struct mymsg and msgsys() in the standards case. o Add some comments about conformance bugs. o Sort prototypes. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-12-18T18:52:20.000000Z K 7 svn:log V 29 More MFp4: DIG64 structures. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-18T19:50:28.000000Z K 7 svn:log V 142 Fix corruption introduced in previous delta. Reported by: Aurelien Nephtali Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-18T19:53:59.000000Z K 7 svn:log V 44 Balk at unaligned requests. MFC candidate. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-18T19:57:27.000000Z K 7 svn:log V 248 Fix two blunders in the mapping functions which can lead to corrupt data, for request sizes larger than the sectorsize or for multi-key setups. See warning mailed to current@ for details of recovery. Found by: Marcus Reid END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-18T20:16:22.000000Z K 7 svn:log V 58 Hold the page queues lock when performing vm_page_busy(). END K 10 svn:author V 3 njl K 8 svn:date V 27 2002-12-18T20:30:05.000000Z K 7 svn:log V 105 MFC camcontrol.c:1.48 and camcontrol.8:1.36 Add PERIPH and XPT debug options. Approved by: re (murray) END K 10 svn:author V 4 fanf K 8 svn:date V 27 2002-12-18T20:50:44.000000Z K 7 svn:log V 996 Sync with up-stream version, including a number of bug-fixes: * The partial-evaluation of #elif sequences was broken and the spaghetti logic of its implementation was too hard to understand. I've re-done it using a straight-forward table-driven push-down automaton. * The pre-processor line parser did not allow for all of the weird places that people might put comments, which could have caused it to add syntax-errors to the output by removing a #if line containing the start- or end-marker of a comment. * The lexer didn't need to special-case the handling of string-literals or character-constants, but it did need to learn about line-continuations (backslash-newline). * The input routine was buggy and bit-rotten and trivially replacable with fgets(). I've also made the program static- and const-safe and improved the presentation-order. The formatting of the state-transition tables remains non-stylish. This commit-messsage was brought to you by code-point 45. MFC-after: one-week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-18T21:03:41.000000Z K 7 svn:log V 877 MFC if_loop.c:1.74: Under some circumstances, the loopback interface will allocate a new mbuf for a packet looping back to provide alignment guarantees for KAME. Unfortunately, this code performs a direct copy of the header rather than using a header copying primitive (largely because we have sucky header copying primitives). This results in a multiple free of the MAC label in the header when the same label data is freed twice when the two mbufs with that header are freed. As a temporary work-around, clear the initialized flag on the label to prevent the duplicate free, which prevents panics on large unaligned loopback IP and IPv6 data. The real fix is to improve and make use of proper packet header copying routines here. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Approved by: re (jhb) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-18T21:05:15.000000Z K 7 svn:log V 273 Improve handling of symlink targets when listing MAC labels: don't do the wrong thing when the symlink doesn't have a target, by considering !f_label in the construction of ch_options. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 suz K 8 svn:date V 27 2002-12-18T21:39:40.000000Z K 7 svn:log V 177 MFC: 1.17 fixed a bug that IPv6 multicast packet is not forwarded if its packet size is equal to the outgoing interface's MTU Approved by: re (rwatson) Obtained from: KAME END K 10 svn:author V 3 njl K 8 svn:date V 27 2002-12-18T21:47:52.000000Z K 7 svn:log V 119 Quirk for Memorybird pen drive PR: kern/34712 Submitted by: Oliver Fromme MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-18T22:11:54.000000Z K 7 svn:log V 277 Solve another bug in the mapping code: correctly skip lock sectors. Make sure sector zero is protected if it contains metadata. Lower WARNS for gbde to 3 on non-i386 archs. rijndael-fst is evil but appearntly does the right thing and passes the test-vectors. MFC Candidate. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-18T22:43:57.000000Z K 7 svn:log V 347 MFC: Several of my recent manual page commits: mac_biba.4: rev1.6: Spelling: S/ingrity/integrity. make.conf.5: rev1.64: Document NO_CPU_CFLAGS && NO_CPU_COPTFLAGS. pciconf.8: rev1.23: Markup fixes and document more correctly. atacontrol.8: rev1.21: Add a list of currently supported modes && an EXAMPLES section. Approved by: re (murray) END K 10 svn:author V 6 semenu K 8 svn:date V 27 2002-12-18T22:45:43.000000Z K 7 svn:log V 118 Fix the missspelt letter in DC_CTYPE_PUP_AUTOSENSe define. Submitted by: marius@alchemy.franken.de MFC after: 3 days END K 10 svn:author V 5 chris K 8 svn:date V 27 2002-12-18T22:46:45.000000Z K 7 svn:log V 140 Refer to the now-existent `options MAC_BSDEXTENDED'. MFC Candidate. Prompted by: dcs Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 semenu K 8 svn:date V 27 2002-12-18T22:53:24.000000Z K 7 svn:log V 98 Do not return(foo()) in void function. Submitted by: marius@alchemy.franken.de MFC after: 3 days END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-12-18T23:16:22.000000Z K 7 svn:log V 188 Fix bug with 3c90xB cards and newer. We weren't trying to copy the mbuf chain into an mbuf cluster when there is more than 63 mbufs in the chain. We were trying with older cards though. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-19T01:13:23.000000Z K 7 svn:log V 336 pathconf() and acl_get_file() follow links so they cannot be used to determine whether a symlink has an ACL. Instead, assume that symbolic links don't have ACLs and don't bother checking. Avoids spurious ENOENT warnings when listing directories containing broken symlinks on filesystems with ACLs enabled. Pointed out by: rwatson, bde END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2002-12-19T01:17:07.000000Z K 7 svn:log V 20 Add some linux keys END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-19T01:20:24.000000Z K 7 svn:log V 182 - Hold the page queues lock when performing vm_page_busy() or vm_page_flag_set(). - Replace vm_page_sleep_busy() with proper page queues locking and vm_page_sleep_if_busy(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-19T02:01:39.000000Z K 7 svn:log V 245 Test that if the buffer argument (`s') to wcrtomb() is NULL then the value of the supplied wide character is ignored and L'\0' is used instead. Remove incorrect comments about "internal buffer" since wcrtomb() does not have one (wctomb() does). END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-12-19T02:14:05.000000Z K 7 svn:log V 48 MFC: 1.48: typo fix. Approved by: re (rwatson) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2002-12-19T02:52:23.000000Z K 7 svn:log V 320 Spell `unsigned short' in a way which does not depend on namespace pollution. Note that this is still the wrong type, but we are not ready to break the ABI; this change simply allows programs which specify a strict SUSv3 namespace to compile. (They may still have semantic errors, since SUSv3 specifies correct types.) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-19T04:33:15.000000Z K 7 svn:log V 44 Vendor import of bwk's 13-Dec-2002 release. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-19T04:33:15.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r108072, 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 2002-12-19T04:33:16.000000Z K 7 svn:log V 89 This commit was manufactured by cvs2svn to create tag 'one-true-awk-vendor-bwk_20021213'. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-19T04:34:00.000000Z K 7 svn:log V 33 Update for the 20021213 version. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-19T04:41:54.000000Z K 7 svn:log V 46 Embellish the manpage. Obtained from: NetBSD END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-19T05:07:31.000000Z K 7 svn:log V 325 MFC ls.c:1.72: Improve handling of symlink targets when listing MAC labels: don't do the wrong thing when the symlink doesn't have a target, by considering !f_label in the construction of ch_options. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Approved by: re (jhb) END K 10 svn:author V 4 grog K 8 svn:date V 27 2002-12-19T05:14:35.000000Z K 7 svn:log V 151 Clarify dates and place of Konrad Zuse's birth and death. Despite calculations reportedly made by Intel Pentium processors, he died exactly one time. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-19T06:13:18.000000Z K 7 svn:log V 128 MFC revision 1.64: Avoid spurious warning messages for broken symbolic links on filesystems with ACLs enabled. Approved by: re END K 10 svn:author V 3 mbr K 8 svn:date V 27 2002-12-19T07:20:59.000000Z K 7 svn:log V 191 MFC: Change the name for the local unix-socket based protocol from "unix" back to "local". Add some compat stuff so both ways work for some time. Reviewed by: phk Approved by: Re (rwatson) END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-19T07:23:46.000000Z K 7 svn:log V 228 - Remove vm_page_sleep_busy(). The transition to vm_page_sleep_if_busy(), which incorporates page queue and field locking, is complete. - Assert that the page queue lock rather than Giant is held in vm_page_flag_set(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-12-19T08:06:53.000000Z K 7 svn:log V 557 o Use sysctl machdep.acpi_root to get the physical address of the RSDP. Scan the first 1MB on i386 if the sysctl fails, o Extend struct ACPIrsdp with the ACPI 2.0 fields which involves changing a prior reserved field into the ACPI revision, o Only calculate the RSDP checksum on the first 20 bytes to remain compatible with ACPI 1.0 tables; we don't check the extended checksum covering the whole table, o Use the length field in the RSDP to map the RSDP into the address space so that we don't have to know about future extensions here. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-19T08:13:27.000000Z K 7 svn:log V 34 mdoc(7) police: excessive quotes. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-12-19T08:33:38.000000Z K 7 svn:log V 102 MFC rev. 1.6: getsockopt(2) 'level' argument should be 0, not SOCK_STREAM. Approved by: re (rwatson) END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-19T09:33:34.000000Z K 7 svn:log V 40 mdoc(7) police: Fixed a few .Fa abuses. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-12-19T09:40:13.000000Z K 7 svn:log V 65 MFC: SCARGS and syscallargs removal. Approved by: re@ (rwatson) END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-19T09:40:28.000000Z K 7 svn:log V 37 mdoc(7) police: "The .Fa argument.". END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-19T09:46:10.000000Z K 7 svn:log V 90 Add a test program for perror() that demonstrates two bugs in the current implementation. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-19T09:50:10.000000Z K 7 svn:log V 224 Use strerror_r() to format the error message so that strerror()'s static buffer does not get clobbered. ISO/IEC 9899:1999 7.21.6.2 3: "The implementation shall behave as if no library function calls the strerror function." END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-19T09:53:26.000000Z K 7 svn:log V 144 Write the message to stderr, not file descriptor 2, so that perror() writes to the correct stream if stderr has been redirected with freopen(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-19T10:24:52.000000Z K 7 svn:log V 134 Add back the Standards section claiming conformance to 1003.1-2001 and C99 now that all known standards-related bugs have been fixed. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-19T11:39:20.000000Z K 7 svn:log V 145 Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancelation points, as required by POSIX.1-2001. Reviewed by: deischen END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-19T12:01:19.000000Z K 7 svn:log V 51 Don't forget our topology lock in the MBREXT case. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2002-12-19T12:41:10.000000Z K 7 svn:log V 275 When the last module in a dependency chain fails to load with EEXIST, an error of 0 must be returned to the caller, or else the whole set of newly-loaded modules will be discarded. Note: this problem is specific to RELENG_4. PR: kern/46275,misc/30683 Reviewed by: roberto END K 10 svn:author V 5 johan K 8 svn:date V 27 2002-12-19T13:12:53.000000Z K 7 svn:log V 72 MFC error report part of rev 1.3 and rev 1.4 Approved by: re (rwatson) END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-19T13:48:33.000000Z K 7 svn:log V 39 MFC: 1.50: Make MINSTALL overrideable. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-19T17:00:27.000000Z K 7 svn:log V 64 Properly set all the locales. Approved by: re Submitted by: ru END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-19T18:26:26.000000Z K 7 svn:log V 137 Tweak the grammar in the device.hints(5) manual page. PR: 45893 Submitted by: Chris Pepper (Original Version) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-19T19:00:51.000000Z K 7 svn:log V 83 Remove reference to a non-existant manual page && add a cross-reference to ulpt(4) END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-19T19:34:59.000000Z K 7 svn:log V 76 Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-19T20:01:22.000000Z K 7 svn:log V 103 Remove the hash_rand field from struct vm_object. As of revision 1.215 of vm/vm_page.c, it is unused. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2002-12-19T20:34:46.000000Z K 7 svn:log V 267 MFC trm.c rev 1.3 trm.h rev 1.2 Fix the panic that occurs when kldunloading trm by using the correct prototype for trm_detach and freeing all resources. Handle better errors in trm_attach.R Remove the PCI_BASE_ADDR0 definition, since it's what PCIR_MAPS is used for. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-19T20:48:25.000000Z K 7 svn:log V 88 MFC: Remove reference to a non-existant manual page && add a cross-reference to ulpt(4) END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-12-19T21:18:02.000000Z K 7 svn:log V 117 MFC: 1.11.2.1-20021201 (this has been running on key cluster machines for a while, including the repository server) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2002-12-19T21:48:43.000000Z K 7 svn:log V 57 Grammatical fixup: s/be the -1/be -1/ MFC after: 1 day END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-19T22:56:20.000000Z K 7 svn:log V 143 Fix some grammar nits. Mainly the use of `a' or `an' where the opposite is required. PR: 33559 Submitted by: Marc Olzheim END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2002-12-19T22:58:27.000000Z K 7 svn:log V 445 o Untangle the confusion with the malloc flags {M_WAITOK, M_NOWAIT} and the mbuf allocator flags {M_TRYWAIT, M_DONTWAIT}. o Fix a bpf_compat issue where malloc() was defined to just call bpf_alloc() and pass the 'canwait' flag(s) along. It's been changed to call bpf_alloc() but pass the corresponding M_TRYWAIT or M_DONTWAIT flag (and only one of those two). Submitted by: Hiten Pandya (hiten->commit_count++) END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-19T23:23:20.000000Z K 7 svn:log V 196 The zalloc pool's size calculation breaks if sbrk() does not return contiguous chunks of memory. It happens to do so in the bootstrap code, but not necessarily in other places. MFC after: 7 days END K 10 svn:author V 5 chris K 8 svn:date V 27 2002-12-19T23:47:59.000000Z K 7 svn:log V 283 o Change "accesses" to "access" (sounds better) o Correct the range of compartments (1..256 instead of 0..255) o Use the correct name for "Network Associates Laboratories" MFC Candidate. Sponsored by: DARPA, Network Associates Laboratories Reviewed by: Adam Migus END K 10 svn:author V 3 jkh K 8 svn:date V 27 2002-12-20T00:10:37.000000Z K 7 svn:log V 79 Correct path to /usr/sbin/sysinstall for HEAD since that's where it lives now. END K 10 svn:author V 5 chris K 8 svn:date V 27 2002-12-20T00:17:10.000000Z K 7 svn:log V 137 Include a cross-reference to maclabel(7) for policies that use MAC labels. MFC Candidate. Sponsored by: DARPA, Network Associates Labs END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-20T00:24:19.000000Z K 7 svn:log V 69 Expand scope of TCP protocol lock to cover syncache data structures. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-20T01:01:24.000000Z K 7 svn:log V 124 Document what really occurs when we obtain an error. PR: 43357 Submitted by: David Schultz END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-20T01:17:18.000000Z K 7 svn:log V 150 Move the NOTES section to DESCRIPTION. And correct some documentation while I'm here. PR: 43756 Submitted by: Gary W. Swearingen END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-20T04:32:10.000000Z K 7 svn:log V 47 Fix breakage from earlier inadvertant changes. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-20T04:56:52.000000Z K 7 svn:log V 46 Remove obsolete information about 'conflicts' END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-20T05:10:32.000000Z K 7 svn:log V 150 Add a mutex to struct vm_object. Initialize and destroy that mutex at appropriate times. For the moment, the mutex is only used on the kmem_object. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-20T05:26:10.000000Z K 7 svn:log V 343 Stylistic changes: o Fix an English error (comma splice) and poorly worded sentence. o Fix KNF ordering of variables (pointers come before arithmetic types). o Restore hand-optimization of sizeof()-1, instead of strlen(). o Remove unneeded local variables in strerror_r(). Test by: strerror regression test Requested by: bde Reviewed by: bde END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-20T05:49:40.000000Z K 7 svn:log V 211 Put back the casts to unsigned. While no strictly necessary for its current uses, the name strcmp has strong connotations that shouldn't lightly be discarded. This doesn't cost us anything. Submitted by: bde END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-20T07:46:01.000000Z K 7 svn:log V 93 C99 standardised the vscanf() family of functions, update Standards section to reflect this. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-20T08:28:10.000000Z K 7 svn:log V 179 Document the fact that the printf() family of functions return negative values (EOF in our case) on error, and some of the possible errno values in an Errors section. PR: 39257 END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-20T09:57:49.000000Z K 7 svn:log V 38 MFC 1.183, fix an ack-on-ack tcp buf. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-20T11:16:52.000000Z K 7 svn:log V 65 Unravel a nested conditional. Remove an unneeded local variable. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-20T11:21:07.000000Z K 7 svn:log V 59 Swap the order of a free and a use of an ifaddr structure. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-20T11:24:02.000000Z K 7 svn:log V 40 Eliminate a goto. Fix some line breaks. END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-12-20T12:15:38.000000Z K 7 svn:log V 65 Fxi support for the Promise SuperTrak 100, the PCI id was wrong. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-20T12:41:26.000000Z K 7 svn:log V 32 mdoc(7) police: Fixed language. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-12-20T14:32:20.000000Z K 7 svn:log V 140 Don't forget to destroy the mutex if an error occurs in the jail() system call. Submitted by: Pawel Jakub Dawidek END K 10 svn:author V 6 emoore K 8 svn:date V 27 2002-12-20T15:12:04.000000Z K 7 svn:log V 761 (1) Problem: PANIC when loading/unloading driver as module. This also fix's issue kern/45713. Fix - polling was implemented incorrectly for adapter enquiry and adapter flush. (2) Problem: PANIC when unloading driver as module. Fix - device nodes are not destroyed for amr0, and amrd* when driver is unloaded (3) Problem: PANIC from loading driver when 3ware adapter present, error message "Warning "amrd is usurping twed's bmaj" Fix - put #idef freebsd version < 500000 for bmaj -1 -> amrd_cdevsw (4) Problem: warnings in driver when compiling with DAMR_DEBUG param enabled in Makefile Fix - fix the warnings so driver can compile w/o warnings. (5) Problem: Hang while bootup on Perc2/SC. Fix: Error handling wasn't implemented properly for quartz controllers. END K 10 svn:author V 3 yar K 8 svn:date V 27 2002-12-20T15:20:25.000000Z K 7 svn:log V 115 MFC rev. 1.116, 1.117: Clear the "device open" flag and release the peripheral if returning a error from daopen(). END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-20T17:25:17.000000Z K 7 svn:log V 51 MFC: Remove obsolete information about 'conflicts' END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-20T18:03:05.000000Z K 7 svn:log V 28 Remove obsolete 'conflicts' END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-20T18:20:16.000000Z K 7 svn:log V 129 MFC: Document what really occurs when we obtain an error. PR: 43357 Submitted by: David Schultz END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-20T18:22:07.000000Z K 7 svn:log V 155 MFC: Move the NOTES section to DESCRIPTION. And correct some documentation while I'm here. PR: 43756 Submitted by: Gary W. Swearingen END K 10 svn:author V 4 ceri K 8 svn:date V 27 2002-12-20T18:39:35.000000Z K 7 svn:log V 50 MFC r1.16: Grammatical fixup: s/be the -1/be -1/ END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-20T18:47:39.000000Z K 7 svn:log V 826 Fix two bugs in the DMA chaining code for OHCI. The first bug is that the dataphysend calculation could only possibly work if the virtual buffer is also physically contiguous. Calculate dataphysend by calculating the ending virtual address first, then converting to a physical address. The second bug applies only to NetBSD and OpenBSD and involves the curlen calculation in the two-contiguous-physical-pages case (which we don't support). Also cleanup the use of the OHIC_PAGE() macro on dataphysend and add a panic if len goes negative (meaning we lost the physical page translation representing the end of the buffer). IMHO the dataphysend is still bokered since it might be misrepresented by shared userland page mappings. The whole section needs to be rewritten to use the virtual address range. MFC after: 3 days END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-20T18:56:55.000000Z K 7 svn:log V 1149 Modify the fake cylinders calculation so it is >= the size of the device, not < the size of the device. This avoids geom complaints. Fix a serious bug in the handling of the RS_NO_CLEAR_UA quirk. When we go and insert the test-unit-ready command the umass_cam_quirk_cb() function sets the status as if the READ_CAPACITY command suceeded when, in fact, it did not. This leads to the CAM layer trying to use garbage in the return buffer and panicing the system (or doing other bad things). Add a quirk entry for MSYSTEMS DISK-ON-KEY, which is sold under the Sony brand as a solid state disk-on-key usb device. This device requires several quirks to work properly. Note that the disk-on-key device will not work properly until CAM also gets a quirk entry for it, which has been submitted to the CAM maintainer, and you may have to temporarily uncomment the DELAY() as well. -current does not properly wait for devices to power up so you may also have to temporarily uncomment the DELAY(300000) to make your device work. A solution must be found to that issue. MFC after: 3 days X-MFC note: the quirk support must MFCd before this patch can be END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-20T18:59:23.000000Z K 7 svn:log V 64 Increase the scope of the kmem_object locking in kmem_malloc(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-20T21:18:29.000000Z K 7 svn:log V 59 Extend the scope of the page queues lock in vm_pgmoveco(). END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-20T21:47:21.000000Z K 7 svn:log V 198 Add page queue locking around functions that call vm_page_flag_set. This fixes a failed assertion early in boot on sparc64. Reported by: Roderick van Domburg END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-20T21:52:03.000000Z K 7 svn:log V 188 MFC: GEOM and gbde changes. 1: fix serious bugs in gbde. 2: add alignment checks to avoid panic(8) implementations. 3: sync API with -current for forwards compatibility. Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-12-20T23:54:47.000000Z K 7 svn:log V 149 add generic rate limiting support from netbsd; ratelimit is purely time based, ppsratecheck is for controlling packets/second Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-12-20T23:57:22.000000Z K 7 svn:log V 146 define HAVE_PPSRATECHECK now that we have this stuff in the kernel (probably belongs elsewhere; add it this way for now so the system will build) END K 10 svn:author V 3 sam K 8 svn:date V 27 2002-12-21T00:08:20.000000Z K 7 svn:log V 191 replace the special-purpose rate-limiting code with the general facility just added; this tries to maintain the same behaviour vis a vis printing the rate-limiting messages but need tweaking END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-21T00:30:08.000000Z K 7 svn:log V 980 Revamp the way rc.diskless1 creates and populates memory filesystems. Make the whole thing generic. That is, /conf/base, /conf/default, /conf/${ipba}, and /conf/${ip} are all handled the same way. Introduce an NFS remounting feature via the /conf/base//diskless_remount so you can avoid dup'ing system directories in /conf (described in rc file). Introduce a memory filesystem sizing feature via the /conf/base//md_size file that allows you to override the default memory filesystem size. Introduce a file containing relative paths to remove for each memory filesystem directory as /conf/base/.remove. Make the cpio feature more generic (applies to any filesystem) (aka /conf/base/.cpio.gz). Allow any root directories to be created as a memory filesystem via the /conf/*/* mechanism. Replace the copyright notice with a reference to the COPYRIGHT file and do other cleanups. (documentation and man page updates to follow). MFC after: 3 days END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-21T00:38:14.000000Z K 7 svn:log V 71 Remove unimplemented System V options from the getopt() option string. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-21T00:44:58.000000Z K 7 svn:log V 86 MFC rev. 1.19: Remove unimplemented System V options from the getopt() option string. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-12-21T01:15:39.000000Z K 7 svn:log V 1070 Fix multiple registration of the elf_legacy_coredump sysctl variable. The duplication is caused by the fact that imgact_elf.c is included by both imgact_elf32.c and imgact_elf64.c and both are compiled by default on ia64. Consequently, we have two seperate copies of the elf_legacy_coredump variable due to them being declared static, and two entries for the same sysctl in the linker set, both referencing the unique copy of the elf_legacy_coredump variable. Since the second sysctl cannot be registered, one of the elf_legacy_coredump variables can not be tuned (if ordering still holds, it's the ELF64 related one). The only solution is to create two different sysctl variables, just like the elf<32|64>_trace sysctl variables. This unfortunately is an (user) interface change, but unavoidable. Thus, on ELF32 platforms the sysctl variable is called elf32_legacy_coredump and on ELF64 platforms it is called elf64_legacy_coredump. Platforms that have both ELF formats have both sysctl variables. These variables should probably be retired sooner rather than later. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-21T02:03:31.000000Z K 7 svn:log V 92 -mno-align-long-strings can make things smaller, so lets use it in hopes that it does here. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2002-12-21T03:07:24.000000Z K 7 svn:log V 596 MFC of revision 1.57 of sys/ufs/ffs/ffs_snapshot.c. This update corrects a sign-post error introduced in revision 1.56. The effect was to put an additional (incorrect) block into the lookup list for each metablock in the snapshot. The extra incorrect block causes background fsck to panic the kernel with "freeing free block". For large filesystems, the large number of extra blocks can overrun the area malloc'ed to hold the lookup list resulting in corruption of the malloc arena. Reported by: Aurelien Nephtali Sponsored by: DARPA & NAI Labs. Approved by: re END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-21T05:11:39.000000Z K 7 svn:log V 275 Import newer versions of div() and ldiv() from NetBSD which handle the -fpcc-struct-return calling convention properly instead of returning garbage. This may break backwards compatibility with some old binaries that were compiled when -fno-pcc-struct-return was the default. END K 10 svn:author V 6 bbraun K 8 svn:date V 27 2002-12-21T07:12:35.000000Z K 7 svn:log V 125 Reduce libc.so's memory footprint by lazily allocating memory used internally by basename() and dirname(). Reviewed by: eric END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-21T08:53:26.000000Z K 7 svn:log V 106 Make the atomic arithmetic functions return the old value, since they're all implemented with cas anyway. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-12-21T09:43:19.000000Z K 7 svn:log V 43 MFC: 4.7's libs. Approved by: re(rwatson) END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-21T10:04:14.000000Z K 7 svn:log V 34 Removed unused pmap_qenter_flags. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-21T10:17:13.000000Z K 7 svn:log V 108 Add the -P option which executes multiple copies of the specified utility in parallel. Idea from GNU xargs. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-21T10:44:30.000000Z K 7 svn:log V 66 Make pmap_qenter and pmap_qremove look more like the other pmaps. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-21T11:37:05.000000Z K 7 svn:log V 144 Mark the INVALID keyword as being deprecated since the concept of "invalid runes" is useless without the rest of the deprecated rune interface. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-12-21T15:09:58.000000Z K 7 svn:log V 286 The previous commit contained a stupid mistake: ctxt->pam_[cp]sock was initialized after the call to pthread_create() instead of before. It just happened to work with threads enabled because ctxt is shared, but of course it doesn't work when we use a child process instead of threads. END K 10 svn:author V 2 pb K 8 svn:date V 27 2002-12-21T19:59:47.000000Z K 7 svn:log V 303 In syncache_timer(), don't attempt to lock the inpcb structure associated with the syncache entry: in case tcp_close() has been called on the corresponding listening socket, the lock has been destroyed as a side effect of in_pcbdetach(), causing a panic when we attempt to lock on it. Reviewed by: hsu END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-21T20:55:34.000000Z K 7 svn:log V 84 do not try to free a mountpoint that we did not allocate. X-MFC after: immediately END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-21T20:56:22.000000Z K 7 svn:log V 85 MFC do not try to free a mountpoint that we did not allocate (diskless booting code) END K 10 svn:author V 6 bbraun K 8 svn:date V 27 2002-12-21T22:04:50.000000Z K 7 svn:log V 112 Reduce libc's memory footprint by lazily allocating memory used internally by setproctitle(). Reviewed by: jkh END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-21T22:27:26.000000Z K 7 svn:log V 121 Make newsyslog(8) print the correct date when the logs are turned over. PR: 46395 Submitted by: maxim MFC: eventually END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-21T22:37:54.000000Z K 7 svn:log V 379 Be nice. There are evidentally a number of different cards that identify themselves as serial cards that it would be desirable to attach a different driver than sio to. Since we are claiming all serial cards, this is not possible. Instead, return -100 to indicate that we're willing to take the card, but still allow other drivers to attach. Pointed out by: Maksim Yevmenkin END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-21T22:43:19.000000Z K 7 svn:log V 1422 - Add a pmap pointer to struct md_page, and use this to find the pmap that a mapping belongs to by setting it in the vm_page_t structure that backs the tsb page that the tte for a mapping is in. This allows the pmap that a mapping belongs to to be found without keeping a pointer to it in the tte itself. - Remove the pmap pointer from struct tte and use the space to make the tte pv lists doubly linked (TAILQs), like on other architectures. This makes entering or removing a mapping O(1) instead of O(n) where n is the number of pmaps a page is mapped by (including kernel_pmap). - Use atomic ops for setting and clearing bits in the ttes, now that they return the old value and can be easily used for this purpose. - Use __builtin_memset for zeroing ttes instead of bzero, so that gcc will inline it (4 inline stores using %g0 instead of a function call). - Initially set the virtual colour for all the vm_page_ts to be equal to their physical colour. This will be more useful once uma_small_alloc is implemented, but basically pages with virtual colour equal to phsyical colour are easier to handle at the pmap level because they can be safely accessed through cachable direct virtual to physical mappings with that colour, without fear of causing illegal dcache aliases. In total these changes give a minor performance improvement, about 1% reduction in system time during buildworld. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-22T02:07:05.000000Z K 7 svn:log V 465 So many people have asked me to describe my development environment that my fingers are getting tired. Here is a new manual page, 'development', which describes a very powerful, generic, exportable development environment suitable to developers, sysops, admins, and anyone at all who is maintaining more the one FreeBSD box. I have used this type of environment for many years and have had to make virtually no changes to it for all that time. MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-12-22T03:20:16.000000Z K 7 svn:log V 170 Fix style (no space after return, twice-too-big continuation) and cast (casting long to a void pointer, rather than intptr_t to a void pointer) bogons. Reviewed by: bde END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-22T03:30:34.000000Z K 7 svn:log V 117 MFC to 5.0 refcount race fix for the vmspace structure. kern/kern_exit.c 1.188, vm/vm_map.c 1.275, vm/vm_map.h 1.93. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-22T04:46:44.000000Z K 7 svn:log V 158 Revert part of the last commit. Do not fake-up the cylinders to make the sectors fit (at least, don't fake them up any more then they are already faked up). END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-22T05:04:30.000000Z K 7 svn:log V 212 The UP -current was not properly counting the per-cpu VM stats in the sysctl code. This makes 'systat -vm 1's syscall count work again. Submitted by: Michal Mertl Note: also slated for 5.0 END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-22T05:35:03.000000Z K 7 svn:log V 28 SMP locking for ifnet list. END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-12-22T05:57:53.000000Z K 7 svn:log V 274 Fix a bug in GCC which effectively prevents DEFAULT_PCC_STRUCT_RETURN from having any effect. This restores a calling convention traditionally used by FreeBSD/i386 and which is expected by a number of assembly sources in libc. Reviewed by: obrien Approved by: re (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-12-22T06:06:04.000000Z K 7 svn:log V 115 MFC: 1.15: Restore traditional calling convention for FreeBSD/i386. Approved by: re (rwatson) Reviewev by: obrien END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-22T06:38:45.000000Z K 7 svn:log V 50 MB_LEN_MAX is not MD, move it to the MI limits.h. END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-12-22T06:41:09.000000Z K 7 svn:log V 67 Back out the -fpcc-struct-return fixes. Approved by: re (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-12-22T07:00:45.000000Z K 7 svn:log V 153 Add note about GCC -fno-pcc-struct-return being default again. The breakage window was about 18 days long. Submitted by: juli Approved by: re (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-12-22T07:06:28.000000Z K 7 svn:log V 82 MFC: a note about GCC ABI breakage. Submitted by: juli Approved by: re (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2002-12-22T07:08:14.000000Z K 7 svn:log V 36 Add a word, lost in previos commit. END K 10 svn:author V 2 pb K 8 svn:date V 27 2002-12-22T13:04:08.000000Z K 7 svn:log V 73 Remove forgotten INP_UNLOCK(inp) in my previous commit. Reported by: hsu END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-12-22T14:39:23.000000Z K 7 svn:log V 42 Correct minor grammos. MFC after: 3 days END K 10 svn:author V 2 pb K 8 svn:date V 27 2002-12-22T15:29:48.000000Z K 7 svn:log V 35 Fix typo: vunerable -> vulnerable. END K 10 svn:author V 2 pb K 8 svn:date V 27 2002-12-22T15:38:17.000000Z K 7 svn:log V 45 MFC 1.25; fix typo: vunerable -> vulnerable. END K 10 svn:author V 4 kris K 8 svn:date V 27 2002-12-22T16:32:34.000000Z K 7 svn:log V 167 Enforce correct ordering of the filedesc structure and pipe mutex, because WITNESS can get the order wrong if it guesses based on first use. Reviewed by: jhb, alfred END K 10 svn:author V 4 kris K 8 svn:date V 27 2002-12-22T16:33:39.000000Z K 7 svn:log V 86 MFC: Enforce correct ordering of filedesc structure and pipe mutex. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-22T18:00:18.000000Z K 7 svn:log V 290 For reasons I have no clue to, the previous attempt at MFC'ing ignored a bunch of files. MFC: GEOM and gbde changes. 1: fix serious bugs in gbde. 2: add alignment checks to avoid panic(8) implementations. 3: sync API with -current for forwards compatibility. Approved by: re Take: 2 END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-22T20:50:23.000000Z K 7 svn:log V 168 - Add a spin lock to single thread cache invalidation and tlb flush ipis, which allows ipis to be sent outside of Giant. - Remove the ap boot mutex, which is unused. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-12-22T21:04:59.000000Z K 7 svn:log V 19 english(4) police. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-12-22T21:35:14.000000Z K 7 svn:log V 164 Use '\033' rather than '\e' as the latter is a gccism. PR: 46015 Submitted by: Jeroen Ruigrok van der Werven MFC after: 1 week END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-22T22:02:41.000000Z K 7 svn:log V 57 Add suseconds_t and useconds_t for storing microseconds. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-22T22:18:41.000000Z K 7 svn:log V 620 Do not unconditionally load the configuration files for the RCNG case. Instead, load them as part of the rc.d system. This allows us to prioritize the initidiskless script so it runs before the configuration files are loaded and allows us to get rid of the exit 2 hack in /etc/rc. The exit 2 never worked anyway since it did not unset the prior configuration, causing the diskless code to not operate properly. Do a major cleanup and revamping of the diskless code for RCNG. This will be backported to the non-RCNG scripts as well as -stable. With suggestions from: Mike Makonnen MFC after: 7 days END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-22T22:25:53.000000Z K 7 svn:log V 102 Forgot to add rcconf.sh to the Makefile, and forgot to rename rcconf to rcconf.sh in the last commit. END