ƒ´ 115321 180 180 460 130 467 786 149 183 155 157 273 771 541 2023 249 1532 220 164 223 617 271 1047 442 370 176 202 181 149 498 210 187 416 237 181 249 665 182 348 193 242 644 314 191 956 359 667 265 381 237 181 272 257 234 290 241 250 266 308 229 237 237 515 833 268 250 326 223 339 129 501 345 449 142 115 287 318 353 226 373 391 433 197 121 441 316 146 482 383 552 164 298 460 180 282 410 914 696 1732 115 115 308 712 292 276 555 211 220 204 152 163 106 421 188 272 185 243 166 184 178 140 303 305 148 560 182 137 189 204 184 116 140 243 154 135 177 169 311 140 197 229 176 175 146 186 208 133 173 181 151 258 116 663 115 374 150 242 141 198 144 127 136 149 215 118 208 143 197 163 156 116 136 191 143 114 136 141 168 998 136 143 159 K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-26T14:38:48.000000Z K 7 svn:log V 85 De-orbit bus_dmamem_alloc_size from here too. Pointed out by: des Pointy hat to: me END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-05-26T15:32:34.000000Z K 7 svn:log V 363 Merge the following from the English version: 1.12 -> 1.15 early-adopter/article.sgml 1.143 -> 1.155 hardware/common/dev.sgml 1.5 -> 1.6 hardware/common/intro.sgml 1.9 -> 1.11 hardware/i386/proc-i386.sgml 1.2 -> 1.3 hardware/ia64/article.sgml 1.3 -> 1.7 hardware/ia64/proc-ia64.sgml 1.6 -> 1.7 share/sgml/release.dsl Approved by: re (blanket) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-26T16:59:00.000000Z K 7 svn:log V 35 Fix two typos from the last commit END K 10 svn:author V 5 lioux K 8 svn:date V 27 2003-05-26T17:06:05.000000Z K 7 svn:log V 372 Add a trailing '\n' character if none is found in the information obtained from a package. Patch show_file() [1] and show_index() [2] functions. PR: 52097 Reviewed by: bento, kris, portmgr, re, Michael Nottebrock , Martin Horcicka Approved by: re (scottl) Obtained from: NetBSD [1], OpenBSD [2] MFC after: 1 week END K 10 svn:author V 5 lioux K 8 svn:date V 27 2003-05-26T17:12:22.000000Z K 7 svn:log V 691 pkg_create incorrectly does not add trailing '\n' when it receives either COMMENT or DESCR from the command line. When a port is installed, one gets both +COMMENT and +DESCR files with a trailing '\n' character. However, +COMMENT does not contain a trailing '\n' when it is installed from a package due to this behavior of pkg_create. Therefore, make sure it behaves exactly the same regardless of where got its information; either command line or files. The modified functions are used by pkg_create. PR: 52097 Reviewed by: bento, kris, portmgr, re, Michael Nottebrock , Martin Horcicka Approved by: re (scottl) MFC after: 1 week END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-05-26T18:52:13.000000Z K 7 svn:log V 56 cons25w: remove ve,vi,vs mistakenly merged in 1.89.2.25 END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-05-26T19:17:56.000000Z K 7 svn:log V 91 MFC Reduce the size of a vm object by converting its shadow list from a TAILQ to a LIST. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:09:15.000000Z K 7 svn:log V 61 Remove stray K&R style function definition. Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:10:58.000000Z K 7 svn:log V 63 Fixup spelling of "coalesce" and derivatives. Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:15:52.000000Z K 7 svn:log V 178 Add 7901B support. Sort IDs based on chip type. Remove IROC IDs. We'll switch to using the IROC masks if/when we want to start attaching to IROC controllers. Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:18:48.000000Z K 7 svn:log V 676 Change hadling of the Rev. A packetized lun output bug to be more efficient by having the sequencer copy the single byte of valid lun data into the long lun field. aic79xx.c: Memset our hardware SCB to 0 so that untouched fields don't confuse diagnostic output. With the old method for handling the Rev A bug, if the long lun field was not 0, this could result in bogus lun information being sent to drives. Use the same SCB transfer size for all chip types now that the long lun is not DMA'ed to the chip. aic79xx.seq: Add code to copy lun information for Rev.A hardware. aic79xx_inline.h: Remove host update of the long_lun field on every packetized command. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:20:47.000000Z K 7 svn:log V 446 Fix disabling of PCI parity error interrupts. We need to set FAILDIS in the SEQCTL register, not the HCNTRL register. aic7xxx.c: Remeber SEQCTL settings in the "seqctl" field of our softc. seqctl defaults to just having FASTMODE set, but the bus attachments can override this. aic7xxx.h: Add the seqctl softc field. aic7xxx_pci.c: Update the seqctl softc field and manually update SEQCTL when to many PCI errors occur Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:24:01.000000Z K 7 svn:log V 1927 Correct/Simplify ignore wide residue message handling aic7xxx.c: In ahc_handle_ign_wide_residue(): o Use SCB_XFERLEN_ODD SCB field to determine transfer "oddness" rather than the DATA_COUNT_ODD logic. SCB_XFERLEN_ODD is toggled on every ignore wide residue message so that multiple ignore wide residue messages for the same transaction are properly supported. o If the sg list has been exausted, the sequencer doesn't bother to update the residual data count since it is known to be zero. Perform the zeroing manually before calculating the remaining data count. o Ensure that SG_LIST_NULL is cleared in the residual sg pointer for "mid-transfer" ignore wide residue cases. o Use multibyte in/out macros instead of shifting/masking by hand. aic7xxx.h: Modify the SCB_GET_LUN() macro to mask the lun hardware SCB field with LID. This leaves two bits in the LUN field that can be used for other purposes. aic7xxx.reg: Change LID to be 0x3F. This is the maximum supported lun size for non-packetized SCSI. Map the top bit of the lun to SCB_XFERLEN_ODD. The host must set this bit whenever a transfer is an odd length. Remove the ODD_SEG bit field that was used to carry the odd transfer length information through the SG cache. This is obviated by SCB_XFERLEN_ODD field. Remove the DATA_COUNT_ODD scratch ram byte that was used dynamicaly compute data transfer oddness. This is obviated by SCB_XFERLEN_ODD field. aic7xxx.seq: Be more careful in our handling of the SCB_LUN field. It must be masked with LID if only lun information is desired. Remove all updates to the DATA_COUNT_ODD scratch ram field. Remove all uses of ODD_SEG. These two save quite a few sequencer instructions. Use SCB_XFERLEN_ODD to validate the end of transfer ignore wide residue message case. aic7xxx_inline.h: In ahc_queue_scb(), setup the SCB_XFERLEN_ODD field. Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:24:55.000000Z K 7 svn:log V 154 FIFOEMP can lag LAST_SEG_DONE in the Ultra2 and U160 hardware. Wait a few extra clocks for FIFOEMP to assert before calling an overrun. Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:26:52.000000Z K 7 svn:log V 1436 Correct/Simplify ignore wide residue message handling aic79xx.c: In ahd_handle_ign_wide_residue(): o Use SCB_XFERLEN_ODD SCB field to determine transfer "oddness" rather than the DATA_COUNT_ODD logic. SCB_XFERLEN_ODD is toggled on every ignore wide residue message so that multiple ignore wide residue messages for the same transaction are properly supported. o If the sg list has been exausted, the sequencer doesn't bother to update the residual data count since it is known to be zero. Perform the zeroing manually before calculating the remaining data count. o Use multibyte in/out macros instead of shifting/masking by hand. aic79xx_inline.h: In ahd_setup_scb_common(), setup the SCB_XFERLEN_ODD field. aic79xx.reg: Use the SCB_TASK_ATTRIBUTE field as a bit field in the non-packetized case. We currently only define one bit, SCB_XFERLEN_ODD. Remove the ODD_SEG bit field that was used to carry the odd transfer length information through the SG cache. This is obviated by SCB_XFERLEN_ODD field. Remove the DATA_COUNT_ODD scratch ram byte that was used dynamicaly compute data transfer oddness. This is obviated by SCB_XFERLEN_ODD field. aic79xx.seq: Remove all updates to the DATA_COUNT_ODD scratch ram field. Remove all uses of ODD_SEG. These two save quite a few sequencer instructions. Use SCB_XFERLEN_ODD to validate the end of transfer ignore wide residue message case. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:43:29.000000Z K 7 svn:log V 125 aic79xx.c: aic79xx_osm.h: aic7xxx_osm.h: Explicitly define functions that take no arguments with "(void)" Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:44:03.000000Z K 7 svn:log V 70 Consistently use #ifdef for testing AHC_TARGET_MODE. Approved by: RE END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2003-05-26T21:45:09.000000Z K 7 svn:log V 128 This driver supports the 2920C not the 2920. Make this clear in our card identification string. PR: kern/50428 Approved by: RE END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-05-26T22:54:18.000000Z K 7 svn:log V 521 Revision 1.99 of this file changed the allocation request from VM_ALLOC_INTERRUPT to VM_ALLOC_SYSTEM. There was no mention of this in commit log as it was considered harmless. Guess what: it does harm. WITNESS showed that we can not safely grab the page queue lock in vm_page_alloc() in all cases as we may have to sleep on it. Revert the request to VM_ALLOC_INTERRUPT to circumvent this. We panic if vm_page_alloc returns 0. I'm not entirely happy about this, but we have bigger fish to fry. Approved by: re@ (blanket) END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-05-27T00:47:02.000000Z K 7 svn:log V 178 MFC Make the reservation of KVA space for kernel map entries a function of the KVA space's size in addition to the amount of physical memory and reduce it by a factor of two. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-05-27T01:00:12.000000Z K 7 svn:log V 951 Fix fu{byte|word*} and su{byte|word*}: o If the address was not within user space we jumped to fusufault where we would clear pcb_onfault and return 0. There are two bugs here: 1. We never got to the point where we assigned the address of pcb_onfault to r15, which means that we would clobber some random memory location, including I/O space or ROM. 2. We're supposed to return -1 on error. o Make sure we have proper memory ordering for setting pcb_onfault, doing the memory access to user space and clearing pcb_onfault. For the fu* family of functions this means that we need a mf instruction, because we don't have acquire semantics on stores and release semantics on loads (hence st;ld cannot be ordered without intermediate mf). While here, implement casuptr() so that we are a (small) step closer to supporting libthr and deobfuscate the non-implementation of {f|s}uswintr. Approved by: re@ (blanket) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-05-27T01:15:16.000000Z K 7 svn:log V 346 Have the unwinder allocate memory with M_NOWAIT. The unwinder is used by DDB and we cannot know in advance whether it's save to sleep. It often enough isn't. We may want to pre-allocate space to cover the most common cases without having to use malloc at all, but that requires some analysis. We leave that for later. Approved by: re@ (blanket) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-27T04:59:59.000000Z K 7 svn:log V 274 Bring back bus_dmasync_op_t. It is now a typedef to an int, though the BUS_DMASYNC_ definitions remain as before. The does not change the ABI, and reverts the API to be a bit more compatible and flexible. This has survived a full 'make universe'. Approved by: re (bmah) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-05-27T07:10:58.000000Z K 7 svn:log V 81 A flushrs must be the first in an instruction group. Approved by: re@ (blanket) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-05-27T15:43:59.000000Z K 7 svn:log V 108 Modified release note: Add missing word in rue(4) item. Submitted by: murray Approved by: re (implicitly) END K 10 svn:author V 4 alex K 8 svn:date V 27 2003-05-27T16:11:10.000000Z K 7 svn:log V 88 MFbed: Translation updates: Sync with the English 5.1 relnotes. Approved by: re (bmah) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-27T16:34:52.000000Z K 7 svn:log V 54 Remove the redundant declaration of bus_dmasync_op_t. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2003-05-27T18:18:01.000000Z K 7 svn:log V 405 MFC: Add stub implementations of pthread_[gs]etconcurrency to libc_r. This merges the following revisions from the trunk: 1.28 src/include/pthread.h 1.20 src/lib/libc_r/man/Makefile.inc 1.1, 1.2 src/lib/libc_r/man/pthread_getconcurrency.3 1.36 src/lib/libc_r/uthread/Makefile.inc 1.1 src/lib/libc_r/uthread/uthread_concurrency.c PR: standards/50848 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-05-27T18:23:56.000000Z K 7 svn:log V 117 Add support for the Intel 865 chipset. MFC after: 3 days Sponsored by: The Weather Channel Approved by: re (murray) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-05-27T18:32:24.000000Z K 7 svn:log V 95 Fix compile: the type is spelled bus_dmasync_op_t rather than bus_dmamap_sync_t. With hat: re END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-05-27T19:19:05.000000Z K 7 svn:log V 323 Fix false AE_NOT_FOUND messages, reported in NetBSD port-i386/20897. NetBSD dsmethod.c rev 1.7 Fix parent-child loop problem Fix a reference count problem that may cause unexpected memory free Intel 20030512 ACPICA drop (nsalloc.c) Approved by: re (jhb) Obtained from: NetBSD, Intel Reported by: mbr, kochi AT netbsd.org END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-05-27T19:19:05.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r115351, 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 2003-05-27T19:19:06.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20030228a'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-05-27T19:42:18.000000Z K 7 svn:log V 156 Grr, fix compile. The bane of trying to split out patches into two commits. Reported by: Lukas Ertl With hat: re Pointy hat to: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-05-27T20:13:44.000000Z K 7 svn:log V 572 Fix support for 256 MB aperture sizes on chipsets such as the 845 and 865. The APSIZE register has a variable-sized field of enabled bits. To figure out how many bits a specific host bridge supports, write the maximum width and see how many bits are set in the hardware. We then use this mask for setting and getting the aperture size. Prior to this, the agp(4) driver would treat an aperture size of 256 MB as 128 MB and would not allocate enough physical memory for the GART as a result. MFC after: 3 days Sponsored by: The Weather Channel Approved by: re (rwatson) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-27T21:43:49.000000Z K 7 svn:log V 90 Revert part of the last commit. I don't know what I was smoking. Approved by: re/rwatson END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-27T21:48:42.000000Z K 7 svn:log V 255 Minimize the potential for deadlocks between an exiting thread and it's joiner by making sure all locks and unlocks occur in the same order. For the record the lock order is: DEAD_LIST, THREAD_LIST, exiting thread, joiner thread. Approved by: re/rwatson END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-27T21:59:56.000000Z K 7 svn:log V 99 Update AMD Features vector to include NX (page table entry no-execute bit) and LM (long mode) etc. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-05-27T22:21:11.000000Z K 7 svn:log V 144 Complete the MFC started in revision 1.4.2.10. The dyn_keepalive keyword was missing even though it was in the man page and the sysctl exists. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-05-28T02:04:33.000000Z K 7 svn:log V 549 Replace a handrolled defrag function with m_defrag. The handrolled function couldn't handle chains of > MCLBYTES, and it had a bug which caused corruption and panics in certain low mbuf situations. Additionally, change the failure case so that looutput returns ENOBUFS rather than attempting to pass on non-defragmented mbuf chains. Finally, remove the printf which would happen every time the low memory situation occured. It served no useful purpose other than to clue me in as to what was causing the panic in question. :) MFC after: 4 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-05-28T03:32:33.000000Z K 7 svn:log V 218 From FSF Binutils CVS repo: 2003-04-09 Richard Henderson * elf64-alpha.c (elf64_alpha_relocate_section) : Ignore relocations against r_symndx == 0. Requested by: kris,re(scottl) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-05-28T08:23:01.000000Z K 7 svn:log V 98 Fix stripping last path component when only one path component left. PR: 52686 MFC after: 1 day END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-05-28T09:13:09.000000Z K 7 svn:log V 863 Fix amd(8) clients, if a FreeBSD mountd(8) server is used. Remove the special treatment of non-blocking mode in the "look ahead function" xdrrec_eof(). It currently assumes that the last read() in a row of several reads does not have zero lenght. If this is the case, svc_vc_stat() does return XPRT_MOREREQS, and the RPC-request aborts because there is no data to read anymore. To fix this, go back to the original version of the code for non-blocking mode until NetBSD comes up with another possible fix like this one in xdrrec_eof() if (rstrm->last_frag && rstrm->in_finger == rstrm->in_boundry) { return TRUE; } Return always FALSE in set_input_fragment() for non-blocking mode. Since this was not used in FreeBSD, I omitted it at the first time. Now we use this function and we should always return FALSE for it. Reviewed by: rwatson Approved by: re END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-05-28T09:16:35.000000Z K 7 svn:log V 266 If AF_LOCAL is used, we need to use __msgread_withcred() instead of just read() in non-blocking mode too. The reason is obvious. NetBSD uses a complete different way to get the credentials so this patch only applies to FreeBSD. Reviewed by: rwatson Approved by: re END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-05-28T13:22:10.000000Z K 7 svn:log V 570 In cluster_wbuild(), initialise b_iocmd to BIO_WRITE before calling buf_start() to avoid triggering a panic in softdep_disk_io_initiation() if b_iocmd happened to be BIO_READ. The later initialisation of b_iocmd in cluster_wbuild() could probably be moved to before the buf_start() call, but this patch keeps the change as simple as possible. This is reported to fix occasional "softdep_disk_io_initiation: read" panics, especially on NFS servers. Reported by: Nick Hilliard Tested by: Nick Hilliard Approved by: re (rwatson) END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-05-28T13:53:18.000000Z K 7 svn:log V 172 Merge mbuf(9) page from CURRENT. This is particularly important since there already exist references to mbuf(9) from other manpages in STABLE. PR: docs/44337 docs/50463 END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-05-28T17:32:31.000000Z K 7 svn:log V 288 Revert to using TABLE_ID_DSDT as the default. It looks like the dynamic ID allocation is not there yet. This fixes a few warnings about \_OS_ not being found and an S3 freeze for one user. Re-staticize AcpiNsRemoveReference() since it is not needed elsewhere. Approved by: re (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-05-28T17:32:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r115367, 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 2003-05-28T17:32:32.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20030228b'. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-05-28T18:38:10.000000Z K 7 svn:log V 179 MFC changes to vmapbuf() o Check the b_bufsize passed to vmapbuf() returning an error if it is invalid. o Remove an unnecessary trunc_page(). o Remove a debugging printf(). END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-05-28T18:54:44.000000Z K 7 svn:log V 164 Add MLINK for suser_xxx(9) function, which is documented in suser(9) PR: docs/50390 Submitted by: Dmitry Sivachenko Approved by: des (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2003-05-28T19:39:33.000000Z K 7 svn:log V 141 Fix off-by-one and initialization errors which prevented sshd from restarting when sent a SIGHUP. Submitted by: tegge Approved by: re (jhb) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-05-28T21:01:22.000000Z K 7 svn:log V 197 - Fix to use the official vendor name (s/Melco/MELCO/). hardware/common/dev.sgml Pointed out by: rushani Approved by: re (bmah) - Fix a typo. relnotes/common/new.sgml Approved by: re (bmah) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-05-28T21:01:34.000000Z K 7 svn:log V 148 Merge the following from the English version: 1.36 -> 1.38 errata/article.sgml 1.553 -> 1.572 relnotes/common/new.sgml Approved by: re (bmah) END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-05-29T00:10:11.000000Z K 7 svn:log V 153 Merge the following from the English version: 1.155 -> 1.156 hardware/common/dev.sgml 1.572 -> 1.573 relnotes/common/new.sgml Approved by: re (bmah) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-05-29T05:09:15.000000Z K 7 svn:log V 170 Fix what I think is a cut-n-paste bug: use OID_AUTO for the print_usertrap sysctl instead of CPU_UNALIGNED_PRINT. The latter is used already. Approved by: re@ (blanket) END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-05-29T06:15:35.000000Z K 7 svn:log V 215 MFC o Don't reinitialize fields that are already initialized by getpbuf(). o Sufficient access checks are performed by vmapbuf() that calling useracc() is pointless (and costly). Remove the call to useracc(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-05-29T06:30:36.000000Z K 7 svn:log V 133 Move the sysctls of the misalignment handler to where they belong and use OID_AUTO instead of fixed IDs. Approved by: re@ (blanket) END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-05-29T09:18:22.000000Z K 7 svn:log V 144 Use non-blocking mode for amd(8) too. The fix will be part of the next amd(8) snap. Reviewed by: rwatson Approved by: re Obtained from: NetBSD END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-05-29T09:18:22.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r115379, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-05-29T17:10:45.000000Z K 7 svn:log V 417 Don't really spin on a spinlock; silently convert it to the same low-level lock used by the libpthread implementation. In the future, we'll eliminate spinlocks from libc but that will wait until after 5.1-release. Don't call an application signal handler if the handler is the same as the library-installed handler. This seems to be possible after a fork and is the cause of konsole hangs. Approved by: re@ (jhb) END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-05-29T17:49:21.000000Z K 7 svn:log V 740 Completely disable interrupts (not just raise %pil) when calculating the value to be written into tick_compare in tick_hardclock(). While we were taking care that the value to be written was at least TICK_GRACE ticks in the future, a vector interrupt could happen between calculating the value and writing it. If it took longer than TICK_GRACE to complete (which is doubtful for a single device-triggered vector interrupt, but quite likely for some IPIs), the value written would be in the past and tick interrupts (which drive hardclock and statclock) would stop until %tick wraps around, which takes a long time. Also, increase TICK_GRACE from 1000 to 10000 for good measure. Reported by: kris Reviewed by: jake Approved by: re (scottl) END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-05-29T18:36:26.000000Z K 7 svn:log V 170 Grab giant in sendit rather than kern_sendit because sockargs may allocate mbufs with M_TRYWAIT, which may require Giant. Reviewed by: bmilekic Approved by: re (scottl) END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-05-29T18:38:24.000000Z K 7 svn:log V 152 Add an INVARIENTS only check to make sure Giant is held if mbuf allocation is attempted with M_TRYWAIT. Reviewed by: bmilekic Approved by: re (scottl) END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-05-29T19:43:22.000000Z K 7 svn:log V 233 Fix a problem introduced in the last commit. sa and cm are not initialized at this place. Move the initializing before the non-blocking check. Submitted by: Marius Strobl Reviewed by: jhb Approved by: re END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-29T20:40:50.000000Z K 7 svn:log V 130 It's unnecessary to lock the thread during creation. Simply extend the scope of the active thread list lock. Approved by: re/jhb END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-29T20:46:53.000000Z K 7 svn:log V 246 Don't hold the active thread list lock when signaling the gc thread. The dead list thread is sufficient for synchronization. Retire the arch_id (ldt array slot) in the gc thread instead of the doing it in the thread itself. Approved by: re/jhb END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-29T20:49:17.000000Z K 7 svn:log V 37 Missing unlock. Approved by: re/jhb END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-29T20:54:00.000000Z K 7 svn:log V 408 Use a static lock to ake sure pthread_cond_* functions called from multiple threads don't initialze the same condition variable more than once. Explicitly compare cond pointers with PTHREAD_COND_INITIALIZER instead of NULL. Just because it happens to be defined as NULL is no reason to encourage the idea that people can call those functions with NULL pointers to a condition variable. Approved by: re/jhb END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-29T20:58:31.000000Z K 7 svn:log V 252 Make the mutex static initializers look more like the one for condition variables. Cosmetic. Explicitly compare against PTHREAD_MUTEX_INITIALIZER. We shouldn't encourage calls to the mutex functions with null pointers to mutexes. Approved by: re/jhb END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-05-29T21:19:18.000000Z K 7 svn:log V 356 When loading a module that contains a sysctl which is already compiled in the kernel, the sysctl_register() call would fail, as expected. However, when unloading this module again, the kernel would then panic in sysctl_unregister(). Print a message error instead. Submitted by: Nicolai Petri Reviewed by: imp Approved by: re@ (jhb) END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-29T21:28:36.000000Z K 7 svn:log V 51 Assorted mdoc(7) fixes. Approved by: re (blanket) END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-29T21:41:11.000000Z K 7 svn:log V 24 Assorted mdoc(7) fixes. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-05-29T22:06:06.000000Z K 7 svn:log V 194 Don't return -1 and abort if msg.msg_controllen is 0. For some strange reason recvmsg() never sets errno to EAGAIN on a non-blocking socket and just returns 0. Reviewed by: jhb Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-05-29T22:51:52.000000Z K 7 svn:log V 221 Use strsep() in preference to manual string parsing for Biba and MLS label internalization. Use sensible variable names. Include comments. Doesn't fix any known bugs, but may fix unknown ones. Approved by: re (scottl) END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-05-29T22:58:26.000000Z K 7 svn:log V 260 Allow threading libraries to register their own locking implementation in case default one provided by rtld is not suitable. Consolidate various identical MD lock implementation into a single file using appropriate machine/atomic.h. Approved by: re (scottl) END K 10 svn:author V 5 ticso K 8 svn:date V 27 2003-05-29T23:47:12.000000Z K 7 svn:log V 131 Correct the fix in rev 1.70 Some lines were misslocated Submitted by: Jay Cornwall Approved by: re (rwatson) END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-05-30T00:09:22.000000Z K 7 svn:log V 275 Call the __sys_sigprocmask(the system call) when sigprocmask() is called and the application is not threaded. This works around a problem when an application that hasn't yet become threaded tries to jump out of a signal handler. Reported by: mbr Approved by: re@ (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-05-30T00:21:52.000000Z K 7 svn:log V 298 Attempt to eliminate PLT relocations from rwlock aquire/release path, making them suitable for direct use by the dynamic loader. Register libpthread-specific locking API with rtld on startup. This still has some rough edges with signals which should be addresses later. Approved by: re (scottl) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-05-30T00:49:16.000000Z K 7 svn:log V 338 Don't post-increment pointers inside a loop conditional. While I'm here: - Let lm_add() call strdup() on its own behalf. - Use a temporary pointer when parsing constraints; only set the constraint pointer on a totally successful match. PR: bin/52783 Submitted by: David P. Reese Jr. Approved by: re (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-05-30T00:58:37.000000Z K 7 svn:log V 104 Add an stub for _rtld_thread_init. This is a part I missed in my last commit. Approved by: re (scottl) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-30T00:58:48.000000Z K 7 svn:log V 27 Add setjmp/longjmp for ddb END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-30T01:01:07.000000Z K 7 svn:log V 346 Initial port to amd64 after repocopy from i386. Note that the disassembler has not been updated yet, and will do some very strange things. It does tracebacks (without function arguments due to regparm calling conventions) if -fno-omit-frame-pointer is used (to come later). This achieves basic functionality. Approved by: re (amd64/* blanket) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-30T01:02:52.000000Z K 7 svn:log V 221 Nasty 'make it compile' port to amd64. Note that it needs some other wire protocol for the extra registers. I should probably just remove it from here for now since its quite useless. Approved by: re (amd64/* blanket) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-30T01:03:43.000000Z K 7 svn:log V 52 Add ddb machdep bits. Approved by: re (amd64 bits) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-30T01:06:58.000000Z K 7 svn:log V 387 Update the kernel compile flags inside the .if ${MACHINE_ARCH} == "amd64" section to stop gcc generating the dwarf2 .eh_frame unwind tables. It is dead weight for the time being. Maybe it can be used to perform stack traces and/or get the location of function arguments in ddb, but that requires a dwarf2 runtime interpreter, which we do not have. Approved by: re (amd64 "safe" bits) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-30T02:14:22.000000Z K 7 svn:log V 287 Fix a reported case of severe data corruption: aic79xx.h: aic79xx.reg: Return the SCB_TAG field to 16byte alignment. It seems that on some PCI systems, SCBs are not transferred correctly to the controller with the previous placement of the SCB_TAG field. Approved by: re (rwatson) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-30T02:15:15.000000Z K 7 svn:log V 456 aic79xx.c: Use the special LUNLEN_SINGLE_LEVEL constant for post Rev A4 hardware for single byte luns. Without this change, Rev B hardware would place the single byte of lun data in byte 0 of the lun structure when it should be in byte 1. Since there are few if any devices on the market that support multiple luns in target mode, the corrupted lun field (which was only corrupted for non-zero luns) wasn't hurting us. Approved by: re (rwatson) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-30T09:22:19.000000Z K 7 svn:log V 69 Add support for the upcoming 2410SA card. Approved by: re (telecon) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-30T09:29:24.000000Z K 7 svn:log V 202 Add a new bootloader menu. Pull in screen.4th and frames.4th from the examples directory to support it. This is installed only on i386 for now. It will be enabled in a later commit. Approved by: re END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-05-30T11:05:08.000000Z K 7 svn:log V 367 Fix a sizeof error in __bt_put: when writing they key and data sizes to a buffer in the big key/data case, memmove() was used on pointers to size_ts, but only sizeof(u_int32_t) bytes where copied. This broke on big_endian architectures where sizeof(size_t) > sizeof(u_int32_t). This bug broke portupgrade (by way of ruby_bdb1) on sparc64. Approved by: re (rwatson) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-05-30T11:24:00.000000Z K 7 svn:log V 87 Add documents for the ct driver. Submitted by: rushani Approved by: re (jhb and bmah) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-05-30T14:50:16.000000Z K 7 svn:log V 185 Save THR_FLAGS_IN_TDLIST in signal frame, otherwise if a thread received a signal will can not be removed from thread list after it exited. Reviewed by: deischen Approved by: re (jhb) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-05-30T17:02:36.000000Z K 7 svn:log V 313 Make sure all character pointers are properly initialized; this was mismerged from the MAC tree, and didn't get picked up because warnings are not normally fatal in per-module builds, only when they are linked into a kernel (such as LINT). Reported by: des and the technicolor tinderbox Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-05-30T17:15:56.000000Z K 7 svn:log V 817 rpc.lockd stability workaround: remove PCATCH from the tsleep() in nfs_lock.c. Right now, if we permit a signal to interrupt the sleep, we will slip the lock and no process on that client, the server, or any other client will be able to acquire the lock. This can happen, for example, if a user hits Ctrl-C or Ctrl-T while a process is waiting for the lock. By removing PCATCH, we prevent that from happening, at the cost of not permitting a user-requested lock abort: also nasty. However, a user interface bug might be preferable to a serious semantic bug, so we go with that for now. We need to teach the rpc.lockd/kernel protocol how to abort lock requests, and rpc.lockd how to handle aborted lock requests; patches for the kernel bit are floating around, but no rpc.lockd bit yet. Approved by: re (scottl) END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-05-30T20:40:33.000000Z K 7 svn:log V 603 Rename BUS_DMAMEM_NOSYNC to BUS_DMA_COHERENT. The current name is confusing, because it indicates to the client that a bus_dmamap_sync() operation is not necessary when the flag is specified, which is wrong. The main purpose of this flag is to hint the underlying architecture that DMA memory should be mapped in a coherent way, but the architecture can ignore it. But if the architecture does supports coherent mapping of memory, then it makes bus_dmamap_sync() calls cheap. This flag is the same as the one in NetBSD's Bus DMA. Reviewed by: gibbs, scottl, des (implicitly) Approved by: re@ (jhb) END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-05-30T20:48:05.000000Z K 7 svn:log V 1638 Fix interrupt assignment for non-builtin PCI devices on e450s. This machine uses a non-standard scheme to specify the interrupts to be assigned for devices in PCI slots; instead of giving the INO or full interrupt number (which is done for the other devices in this box), the firmware interrupt properties contain intpin numbers, which have to be swizzled as usual on PCI-PCI bridges; however, the PCI host bridge nodes have no interrupt map, so we need to guess the correct INO by slot number of the device or the closest PCI-PCI bridge leading to it, and the intpin. To do this, this fix makes the following changes: - Add a newbus method for sparc64 PCI host bridges to guess the INO, and glue code in ofw_pci_orb_callback() to invoke it based on a new quirk entry. The guessing is only done for interrupt numbers too low to contain any IGN found on e450s. - Create another new quirk entry was created to prevent mapping of EBus interrupts at PCI level; the e450 has full INOs in the interrupt properties of EBus devices, so trying to remap them could cause problems. - Set both quirk entries for e450s; remove the no-swizzle entry. - Determine the psycho half (bus A or B) a driver instance manages in psycho_attach() - Implement the new guessing method for psycho, using the slot number, psycho half and property value (intpin). Thanks go to the testers, especially Brian Denehy, who tested many kernels for me until I had found the right workaround. Tested by: Brian Denehy , jake, fenner, Marius Strobl , Marian Dobre Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-30T21:13:32.000000Z K 7 svn:log V 24 Assorted mdoc(7) fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-30T21:27:29.000000Z K 7 svn:log V 24 Assorted mdoc(7) fixes. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-05-30T22:57:54.000000Z K 7 svn:log V 215 Add the bus_dma(9) manual page to our section 9 collection. It provides comprehensive documentation on FreeBSD's Bus DMA interface. Approved by: gibbs, re@ (scottl) Reviewed by: gibbs, scottl, des, sam, jake, tmm END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-31T05:20:44.000000Z K 7 svn:log V 620 If an application closes one of its stdio descriptors (0..2), an excessive close() on one of these descriptors would cause a memory for this descriptor to be allocated in the internal descriptor table. When this descriptor gets used again, e.g. through the call to open() or socket(), the descriptor would be erroneously left in the blocking mode, and the whole application would get stuck on a blocking operation, e.g., in accept(2). Prevent this bug from happening by disallowing close() against non-active descriptors (return -1 and set errno to EBADF in this case). Reviewed by: deischen Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-31T05:23:20.000000Z K 7 svn:log V 200 Fixed another bug in the threaded close() call; clear the stale stdio descriptors flags. PR: bin/51535 Submitted by: Enache Adrian Reviewed by: deischen Approved by: re (scottl) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T05:25:18.000000Z K 7 svn:log V 180 Enable the new bootloader for i386 only. The new loader.rc is will only be installed if an old one does not exist, i.e. only during install, not during upgrades. Approved by: re END K 10 svn:author V 6 fenner K 8 svn:date V 27 2003-05-31T06:27:57.000000Z K 7 svn:log V 459 Instead of eating trailing newlines after inserting them into the output buffer, don't insert them at all. This prevents a buffer *underrun* when the substitution consists completely of newlines (e.g. `echo`) and the byte before the source buffer to which p points is a '\n', in which case more characters would be removed from the output buffer than were inserted. This fixes certain port builds on sparc64. Approved by: re (scottl) Reviewed by: des, tjr END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T06:42:37.000000Z K 7 svn:log V 116 Add __amd64__ to the ifdefs that introduce the "pcicfg" spinlock to witness. Approved by: re (safe amd64 support) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T06:43:55.000000Z K 7 svn:log V 125 With the help of jhb, fix the ACPI_ACQUIRE_GLOBAL_LOCK() macros and port to amd64 after repocopy. Approved by: re (amd64/*) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T06:45:28.000000Z K 7 svn:log V 109 Add the MD ifdefs for amd64 to point to the IO space bustag/handle. Approved by: re ("safe" amd64 support) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T06:47:05.000000Z K 7 svn:log V 58 Port acpica to amd64. Approved by: re (amd64/* blanket) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T06:49:53.000000Z K 7 svn:log V 69 Make this compile with WITNESS enabled. It wants the syscall names. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T06:51:04.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T06:54:29.000000Z K 7 svn:log V 326 Have hammer_time() return the proc0 stack location, and have locore switch to it before calling mi_startup(). The bootstack is WAY too small for running acpica during probe/attach. While here, pass modulep/physfree to the startup routine, rather than writing to the global variables in locore.S. Approved by: re (amd64/*) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-05-31T07:00:08.000000Z K 7 svn:log V 94 Add acpi to the build. Remove the hack from machdep.c that lies to the loader to shut it up. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-05-31T08:48:05.000000Z K 7 svn:log V 179 MFC (o)sendsig() changes from revisions 1.503 and 1.504 Eliminate grow_stack() and useracc() from (o)sendsig(). Both of these functions are handled transparently by copyout(). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T11:19:11.000000Z K 7 svn:log V 90 Flag when ACPI has been disabled by the user so that sysinstall can do something with it. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T11:28:28.000000Z K 7 svn:log V 147 Teach sysinstall to recognize if acpi was turned off from the bootloader, and then ask the user if this should be made permanent. Approved by: re END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-05-31T11:28:29.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_1'. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T12:43:31.000000Z K 7 svn:log V 89 Disable WITNESS, INVARIANTS, and DDB for the release branch. Approved by: re (implicit) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T12:53:42.000000Z K 7 svn:log V 83 Turn off malloc_abort and malloc_junk for the release. Approved by: re (implicit) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T12:55:54.000000Z K 7 svn:log V 45 We are now in RC Approved by: re (implicit) END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-05-31T14:07:25.000000Z K 7 svn:log V 210 Some mdoc(7) fixes: Nuke incorrect usage of .Ar; replace it with .Vt, .Va or .Fa appropriately. The .Ar mdoc(7) specifier should only be used when displaying command line arguments. Approved by: des (mentor) END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-05-31T14:20:30.000000Z K 7 svn:log V 212 Various mdoc(7) fixes: Add devfs(5) reference - make_dev.9 Change .Xr from VFS_VGET(9) to vget(9) - vnode.9 Spelling fix, 'useage' to 'usage' - zone.9 Approved by: des (mentor) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-31T14:38:22.000000Z K 7 svn:log V 56 I botched one of my committs in the last round. Fix it. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-05-31T14:38:45.000000Z K 7 svn:log V 467 Mass cleanup of the namei(9) manual page. - Nuke markup indicators for editors. - Bump the date - Use mdoc(7) specifiers for marking up defines, etc. - Update the prototypes - Flash out the description - Cleanup english, spelling and grammar - Update .Xr's - Add following SEE ALSOs: uio(9), uma(9), vput(9), vref(9) - Reorder sections to be in agreement with mdoc(7) - Add FILES section - Update Copyright and AUTHORS section. Approved by: des (mentor) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-05-31T14:45:11.000000Z K 7 svn:log V 88 Use the environment variable LD_LIBMAP_DISABLE to disable libmap.conf(5) functionality. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-05-31T14:46:38.000000Z K 7 svn:log V 43 Provide function entry debugging messages. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-05-31T14:48:59.000000Z K 7 svn:log V 95 Simplify map_object() by breaking out the ELF header validation bits into a separate function. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T15:18:41.000000Z K 7 svn:log V 108 Disable building debug kernels in GENERIC for the release. Reminded by: rwatson Approved by: re (implicit) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-05-31T15:24:29.000000Z K 7 svn:log V 90 - use issetugid() - be paranoid about honoring LD_LIBMAP_DISABLE. Suggested by: rwatson END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-05-31T15:42:56.000000Z K 7 svn:log V 21 Protext copyright[]. END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-05-31T15:46:05.000000Z K 7 svn:log V 47 Add entry for putty as an alias to vt220-color END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-05-31T16:07:00.000000Z K 7 svn:log V 147 Man, I'm not on the ball. 4th does not need to escape '\' chars. This should make our beloved friend look less like he has a massive head wound. END K 10 svn:author V 4 hoek K 8 svn:date V 27 2003-05-31T16:27:53.000000Z K 7 svn:log V 61 Fixup three rather minor typos that have irked me over time. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-05-31T16:30:39.000000Z K 7 svn:log V 40 Make CSTD style match the rest of file. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:36:42.000000Z K 7 svn:log V 85 Don't use return(foo(...)); in a function returning void. Found by: FlexeLint END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-05-31T16:37:22.000000Z K 7 svn:log V 74 CSTD is virtually worthless for WARNS=2-5. Return -pedantic to WARNS=6+. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:42:45.000000Z K 7 svn:log V 218 The IO_NOWDRAIN and B_NOWDRAIN hacks are no longer needed to prevent deadlocks with vnode backed md(4) devices because md now uses a kthread to run the bio requests instead of doing it directly from the bio down path. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-05-31T16:46:03.000000Z K 7 svn:log V 47 We're in 5.1-RC. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-05-31T16:46:57.000000Z K 7 svn:log V 103 Put generated RELNOTESng snapshot in the right place for 5.1-RC/RELEASE. Approved by: re (implicitly) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:47:07.000000Z K 7 svn:log V 136 Introduce {be,le}_uuid_{enc,dec}() functions for explicitly encoding and decoding UUID's in big endian and little endian binary format. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:48:43.000000Z K 7 svn:log V 84 Use le_uuid_dec() since GPT UUID's are always in LE format. Tested by: Marcel END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:51:41.000000Z K 7 svn:log V 83 Don't use return(foo(...)); in function returning void. Found by: FlexeLint END K 10 svn:author V 3 des K 8 svn:date V 27 2003-05-31T16:52:58.000000Z K 7 svn:log V 54 Introduce pam_guest(8) which will replace pam_ftp(8). END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:53:16.000000Z K 7 svn:log V 94 "break" rather than fall through to a break in the default clause. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:54:37.000000Z K 7 svn:log V 115 Use symbolic constants instead of "4". Use arrays instead of relying on struct packing. Identical md5(scsi_ch.o). END K 10 svn:author V 3 des K 8 svn:date V 27 2003-05-31T16:55:07.000000Z K 7 svn:log V 41 Remove all instances of pam_std_option() END K 10 svn:author V 3 des K 8 svn:date V 27 2003-05-31T16:56:35.000000Z K 7 svn:log V 81 Remove pam_std_option() and related functions. Add #defines for common options. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:57:01.000000Z K 7 svn:log V 89 Fix systematic off-by-one errors in unit number range checks. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T16:59:27.000000Z K 7 svn:log V 59 Remove the G_CLASS_INITIALIZER, we do not need it anymore. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T17:06:20.000000Z K 7 svn:log V 165 Eliminate potential overflows by allocating softc dynamically, removing at the same time the need for this to be a "count" config option. Found by: FlexeLint END K 10 svn:author V 3 des K 8 svn:date V 27 2003-05-31T17:19:03.000000Z K 7 svn:log V 24 Update copyright dates. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-05-31T17:55:21.000000Z K 7 svn:log V 566 Don't generate an ip_id for packets with the DF bit set; ip_id is only meaningful for fragments. Also don't bother to byte-swap the ip_id when we do generate it; it is only used at the receiver as a nonce. I tried several different permutations of this code with no measurable difference to each other or to the unmodified version, so I've settled on the one for which gcc seems to generate the best code. (If anyone cares to microoptimize this differently for an architecture where it actually matters, feel free.) Suggested by: Steve Bellovin's paper in IMW'02 END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-31T18:07:09.000000Z K 7 svn:log V 24 Assorted mdoc(7) fixes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:13:07.000000Z K 7 svn:log V 281 Introduce a init and fini member functions on a class. Use ->init() and ->fini() to handle the mutex in geom_disk.c Remove the g_add_class() function and replace it with a standardized g_modevent() function. This adds the basic infrastructure for loading/unloading GEOM classes END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:17:32.000000Z K 7 svn:log V 58 Remove unused local variables. Found by: FlexeLint END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-31T18:19:50.000000Z K 7 svn:log V 150 Sigh, I guess this manpage used cat(1) as a template? Otherwise, fix the manpage to not use the second person, and add two missing punctuation bits. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:20:26.000000Z K 7 svn:log V 49 Add /* FALLTHROUGH */ Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:21:40.000000Z K 7 svn:log V 105 Fix \ alignment in macro. Remove breaks after return. Remove unused variable. Found by: FlexeLint END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-31T18:24:40.000000Z K 7 svn:log V 53 excute: typo; possible replacements: excite, excuse. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:36:41.000000Z K 7 svn:log V 35 Add GEOM module compilation shims. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:37:30.000000Z K 7 svn:log V 44 Remove extra ';' Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:39:29.000000Z K 7 svn:log V 57 Remove extra unused variable. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:41:09.000000Z K 7 svn:log V 122 Fix off-by-one error in drive number check. Don't return(foo(...)) in function returning void. Found by: FlexeLint END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-31T18:42:18.000000Z K 7 svn:log V 27 Mostly fixed the SYNOPSIS. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-31T18:43:17.000000Z K 7 svn:log V 115 Hook libthr to the build. It's currently built only for i386 and a NOLIBTHR knob will prevent it from being built. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:45:32.000000Z K 7 svn:log V 51 Remove unused variable. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:46:45.000000Z K 7 svn:log V 104 Use temporary variable to avoid double expansion of macro with side effects. Found by: FlexeLint END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-31T18:46:55.000000Z K 7 svn:log V 71 MFC correction to mutex and cond initializers. Approved by: re/scottl END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-31T18:49:09.000000Z K 7 svn:log V 64 MFC libthr hookup to the regular build. Approved by: re/scottl END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-05-31T18:49:23.000000Z K 7 svn:log V 25 Add missing markup bits. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:52:38.000000Z K 7 svn:log V 44 Remove extra ';' Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:54:02.000000Z K 7 svn:log V 99 Fix off-by-one errors in range checks of state machine states & events. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:55:18.000000Z K 7 svn:log V 51 Remove unused variable. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:56:58.000000Z K 7 svn:log V 22 Hang softc from dev_t END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T18:57:41.000000Z K 7 svn:log V 44 Remove extra ';' Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T19:00:02.000000Z K 7 svn:log V 49 Add /* FALLTHROUGH */ Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T19:01:08.000000Z K 7 svn:log V 76 Fix off-by-one error in range check of VC index. Found by: FlexeLint END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-05-31T19:01:44.000000Z K 7 svn:log V 901 Rewrite Biba and MLS label externalization code to use sbufs instead of C strings internally; C strings require a lot of return value checking that (a) takes a lot of space, and (b) is difficult to get right. Prior to the advent of compartment support, modeling APIs for helper functions on snprintf worked fine; with the additional complexity, the sbuf_printf() API makes a lot more sense. While doing this, break out the printing of sequential compartment lists into a helper function, mac_{biba,mls}_compartment_to_string(). This permits the main body of mac_{biba,mls}_element_to_string() to be concerned only with identifying sequential ranges rather than rendering. At a less disruptive moment, we'll push the move from snprintf()-like interface to sbuf()-like interface up into the MAC Framework layer. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T19:02:20.000000Z K 7 svn:log V 44 Fix indentation. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T19:03:20.000000Z K 7 svn:log V 51 Remove unused variable. Found by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-05-31T19:04:07.000000Z K 7 svn:log V 67 Protect macro with do { ... } while (0) Found by: FlexeLint END