ƒ²g125417 194 132 114 266 125 245 426 195 255 127 151 193 263 111 117 163 182 155 156 293 117 254 190 150 262 1107 629 490 601 312 168 173 5868 249 138 684 145 278 1844 384 196 98 280 152 187 234 111 157 148 164 162 281 130 243 300 606 155 208 156 145 156 165 163 215 147 180 146 170 163 1048 377 223 350 162 447 128 165 125 147 212 275 464 238 149 112 437 140 160 374 173 236 185 231 181 144 121 228 176 355 296 145 134 225 206 314 187 314 181 668 200 299 560 350 98 478 218 105 187 121 139 109 479 172 254 152 162 458 513 231 212 149 317 158 332 250 1354 211 166 141 237 156 167 253 663 185 139 106 133 114 382 211 142 156 464 186 123 125 151 209 346 177 173 249 150 191 149 190 193 144 200 670 147 215 222 181 159 304 401 202 178 233 310 187 173 210 134 236 185 125 507 116 167 158 272 370 K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-02-04T06:07:39.000000Z K 7 svn:log V 39 Bump __FreeBSD_version for libmap MFC. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-02-04T06:32:45.000000Z K 7 svn:log V 18 Add missing file. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-04T07:53:35.000000Z K 7 svn:log V 173 Add SX_UNLOCKED define. It will be used with sx_assert(9) to be sure that current thread does not hold given sx(9) lock. Reviewed by: jhb Approved by: jhb, scottl (mentor) END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-02-04T08:14:47.000000Z K 7 svn:log V 31 Style fixes Submitted by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-04T08:14:58.000000Z K 7 svn:log V 152 Allow assert that the current thread does not hold the sx(9) lock. Reviewed by: jhb In cooperation with: juli, jhb Approved by: jhb, scottl (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-04T08:24:05.000000Z K 7 svn:log V 333 Document new 'what' value for sx_assert(9). PS. There is a inconsistency in this manual page, because in non-WITNESS case sx_assert(9) does not panics, it only prints the warning. I haven't fixed this, because jhb@ is planing to replace those printf()s with panic()s. Reviewed by: jhb Approved by: jhb, scottl (mentor) END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-02-04T08:43:21.000000Z K 7 svn:log V 100 Rename iov_to_uio to uiofromiov to be more consistent with other uio* functions. Suggested by: bde END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-04T08:44:10.000000Z K 7 svn:log V 162 Do not aggressively unroll the AES implementation, in non-benchmarking use it is same speed on small cache cpus and slower on largecache cpus. Approved by: sam@ END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-04T09:06:32.000000Z K 7 svn:log V 35 Don't forget to install stable.rc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T09:41:47.000000Z K 7 svn:log V 60 This module doesn't use libgssapi (and it looks never did). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T09:53:29.000000Z K 7 svn:log V 101 Nothing in libypclnt depends on librpcsvc. Reported by: lorder(1) (modified to work with libraries) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T10:05:21.000000Z K 7 svn:log V 171 - Added the NOPAM knob, for consistency with ${.CURDIR}/../ftpd. - Unbreak -DNOPAM -DNOSHARED build by putting -lmd after -lopie. (Static build with PAM remains broken.) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T10:15:26.000000Z K 7 svn:log V 20 Fixed static build. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T10:18:05.000000Z K 7 svn:log V 26 Drop unused dependencies. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T10:20:43.000000Z K 7 svn:log V 72 Put libdevstat before libkvm, because the former depends on the latter. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T10:23:09.000000Z K 7 svn:log V 91 Put libraries in the link order. Reported by: lorder(1) (modified to work with libraries) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T11:59:08.000000Z K 7 svn:log V 64 Removed unnecessary dependencies on librpcsvc. Prodded by: des END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T12:50:47.000000Z K 7 svn:log V 61 Allow child devices to set the OpenFirmware device node ivar END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T12:52:57.000000Z K 7 svn:log V 197 - add an identify method, since the disk device used to be picked up in the recursive OpenFirmware node walk. Rely on the psim config file to have a "ofwdisk" device alias - minor white space nits END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-04T12:55:45.000000Z K 7 svn:log V 25 KNF Obtained from: KAME END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T12:56:15.000000Z K 7 svn:log V 158 Move temporary register save area from exception-vector memory to per-CPU memory. This allows for interrupt handling on multiple CPUs. Obtained from: NetBSD END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T12:57:41.000000Z K 7 svn:log V 95 - Add definition for GET_CPUINFO, required by new trap_subr code - garbage-collect unused defs END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T12:58:49.000000Z K 7 svn:log V 55 - Lots more symbols required by the new trap_subr code END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T13:00:56.000000Z K 7 svn:log V 166 - remove unused trap definitions - ISI traps are now handled by the generic trap routine - direct diagnostic traps to DDB if defined - remove unused asngen pcpu init END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T13:10:25.000000Z K 7 svn:log V 1010 Major overhaul of common trap code - remove unused 601 and tlb exception code - remove interrupt-time PTE spill code. The pmap code will now take care of pinning kernel PTEs, and there are no longer issues about physical mapping of PTE data structures - All segment registers are switched on kernel entry/exit, allowing the kernel to have more virtual space and for user virtual space to extend to 4G. - The temporary register save area has been shifted from unused exception vector space to the per-cpu data area. This allows interrupts to be delivered to multiple CPUs - ISI traps no longer spill to BAT tables. It is assumed that all of kernel instruction memory is pinned. - shift from 'ldmw/stmw' instructions to individual register loads/stores when saving context. All PPC manuals indicate this should be much faster. - use '%r' for register names throughout. TODO: need to test if DSI traps were the result of kernel stack guard-page hits. Reworked from: NetBSD END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T13:16:21.000000Z K 7 svn:log V 533 Remove pmap_pvo_allocf zone alloc function. It was a way of using the direct-mapping of physmem to force PTE data structures to be physically addressable so the interrupt-time real-mode DSI trap handler could perform PTE spills. However, the memory may have been > 256Mb, which would have caused a BAT spill and double-interrupt. The new trap code no longer handles PTE spills, so the requirement that these pages be direct-mapped no longer applies. The irony is UMA_MD_SMALL_ALLOC will return direct mappings for these structs :-) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-02-04T13:23:05.000000Z K 7 svn:log V 394 - add a description of what .gdbinit should contain. - add an option for the output device in the hope that this can be made non-blocking at some stage. - define an alias for the disk device, required by dev/ofw/ofw_disk.c - shift iobus to 0x9000000 so as not to clash with the OpenFirmware entry point of 0x8000400 when address decoding. - down-tone comments about the disk dev config :-) END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-04T14:18:21.000000Z K 7 svn:log V 508 Include before instead of depending on namespace pollution in other headers. is now the only prerequisite for . Fixed some style bugs: - removed bogus LOCORE ifdef. Including this C header in assembler sources is just nonsense. - removed unused include of . It finished rotting when the mutex in struct sx became indirect in rev.1.15. - removed most comments on #else and #endif's and cleaned up the others. All were misindented... END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-04T14:40:44.000000Z K 7 svn:log V 219 Fixed breakage of POSIX support in rev.1.31. -pipe was added to CFLAGS in all cases, but POSIX requires a default of -O. Adding -pipe unconditionally still is still broken for non-gcc compilers in the non-POSIX case. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-02-04T15:37:48.000000Z K 7 svn:log V 71 Allow libc's version of sem_trywait() to work for non-pshared mutexes. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-04T15:53:49.000000Z K 7 svn:log V 81 We don't really need a lockfile, and most likely can't create one at this point. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-02-04T16:38:38.000000Z K 7 svn:log V 5772 aic79xx.c: aic79xx.seq: Convert the COMPLETE_DMA_SCB list to an "stailq". This allows us to safely keep the SCB that is currently being DMA'ed back the host on the head of the list while processing completions off of the bus. The newly completed SCBs are appended to the tail of the queue. In the past, we just dequeued the SCB that was in flight from the list, but this could result in a lost completion should the host perform certain types of error recovery that must cancel all in-flight SCB DMA operations. Switch from using a 16bit completion entry, holding just the tag and the completion valid bit, to a 64bit completion entry that also contains a "status packet valid" indicator. This solves two problems: o The SCB DMA engine on at least Rev B. silicon does not properly deal with a PCI disconnect that occurs at a non-64bit aligned offset in the chips "source buffer". When the transfer is resumed, the DMA engine continues at the correct offset, but may wrap to the head of the buffer causing duplicate completions to be reported to the host. By using a completion buffer in host memory that is 64bit aligned and using 64bit completion entries, such disconnects should only occur at aligned addresses. This assumes that the host bridge will only disconnect on cache-line boundaries and that cache-lines are multpiles of 64bits. o By embedding the status information in the completion entry we can avoid an extra memory reference to the HSCB for commands that complete without error. Use the comparison of a "host freeze count" and a "sequencer freeze count" to allow the host to process most SCBs that complete with non-zero status without having to clear critical sections. Instead the host can just pause the sequencer, performs any necessary cleanup in the waiting for selection list, increments its freeze count on the controller, and unpauses. This is only possible because the sequencer defers completions of SCBs with bad status until after all pending selections have completed. The sequencer then avoids referencing any data structures the host may touch during completion of the SCB until the freeze counts match. aic79xx.c: Change the strategy for allocating our sentinal HSCB for the QINFIFO. In the past, this allocation was tacked onto the QOUTFIFO allocation. Now that the qoutfifo has grown to accomodate larger completion entries, the old approach will result in a 64byte allocation that costs an extra page of coherent memory. We now do this extra allocation via ahd_alloc_scbs() where the "unused space" can be used to allocate "normal" HSCBs. In our packetized busfree handler, use the ENSELO bit to differentiate between packetized and non-packetized unexpected busfree events that occur just after selection, but before the sequencer has had the oportunity to service the selection. When cleaning out the waiting for selection list, use the SCSI mode instead of the command channel mode. The SCB pointer in the command channel mode may be referenced by the SCB dma engine even while the sequencer is paused, whereas the SCSI mode SCB pointer is only accessed by the sequencer. Print the "complete on qfreeze" sequencer SCB completion list in ahd_dump_card_state(). This list holds all SCB completions that are deferred until a pending select-out qfreeze event has taken effect. aic79xx.h: Add definitions and structures to handle the new SCB completion scheme. Add a controller flag that indicates if the controller is in HostRAID mode. aic79xx.reg: Remove macros used for toggling from one data fifo mode to the other. They have not been in use for some time. Add scratch ram fields for our new qfreeze count scheme, converting the complete dma list into an "stailq", and providing for the "complete on qfreeze" SCB completion list. Some other fields were moved to retain proper field alignment (alignment >= field size in bytes). aic79xx.seq: Add code to our idle loop to: o Process deferred completions once a qfreeze event has taken full effect. o Thaw the queue once the sequencer and host qfreeze counts match. Generate 64bit completion entries passing the SCB_SGPTR field as the "good status" indicator. The first bit in this field is only set if we have a valid status packet to send to the host. Convert the COMPLETE_DMA_SCB list to an "stailq". When using "setjmp" to register an idle loop handler, do not combine the "ret" with the block move to pop the stack address in the same instruction. At least on the A, this results in a return to the setjmp caller, not to the new address at the top of the stack. Since we want the latter (we want the newly registered handler to only be invoked from the idle loop), we must use a separate ret instruction. Add a few missing critical sections. Close a race condition that can occur on Rev A. silicon. If both FIFOs happen to be allocated before the sequencer has a chance to service the FIFO that was allocated first, we must take special care to service the FIFO that is not active on the SCSI bus first. This guarantees that a FIFO will be freed to handle any snapshot requests for the FIFO that is still on the bus. Chosing the incorrect FIFO will result in deadlock. Update comments. aic79xx_inline.h Correct the offset calculation for the syncing of our qoutfifo. Update ahd_check_cmdcmpltqueues() for the larger completion entries. aic79xx_pci.c: Attach to HostRAID controllers by default. In the future I may add a sysctl to modify the behavior, but since FreeBSD does not have any HostRAID drivers, failing to attach just results in more email and bug reports for the author. MFC After: 1week END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-02-04T16:40:08.000000Z K 7 svn:log V 154 aic7xxx.c: Shorten a diagnostic printf to fit in 80 columns. In ahc_abort_scbs() remove an incorrect diagnostic test that printed a spurious warning. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-04T16:42:36.000000Z K 7 svn:log V 47 Unbreak build with OpenLDAP. Forgotten by: mr END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-04T17:03:49.000000Z K 7 svn:log V 591 Removed TIOCMODG and TIOCMODS. They were superseded by TIOCMGET and TIOCMSET before FreeBSD existed and have never been implemented by any FreeBSD serial driver (not even as aliases). Moved the TIOCM bit definitions to be with TIOCMGET. Added more comments gaps between ioctl numbers. There are now a large number of conflicts with ppp, slip, tap and tun ioctls (especially ppp ones) from closing gaps that weren't there. This mainly breaks decoding of ioctl numbers in kdump, but there are some serious conflicts where the interpretation of a tty ioctl depends on the line discipline. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-04T17:08:46.000000Z K 7 svn:log V 53 Fixed editing error in a comment in previous commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-04T18:01:02.000000Z K 7 svn:log V 185 Expand the mask for the Avlab Technology, PCI IO 2S entry to cover the 2S-650 and 2S-850 variants. PR: kern/45285 Submitted by: Andrey Zakharchenko MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-04T21:52:57.000000Z K 7 svn:log V 1750 Locking for the per-process resource limits structure. - struct plimit includes a mutex to protect a reference count. The plimit structure is treated similarly to struct ucred in that is is always copy on write, so having a reference to a structure is sufficient to read from it without needing a further lock. - The proc lock protects the p_limit pointer and must be held while reading limits from a process to keep the limit structure from changing out from under you while reading from it. - Various global limits that are ints are not protected by a lock since int writes are atomic on all the archs we support and thus a lock wouldn't buy us anything. - All accesses to individual resource limits from a process are abstracted behind a simple lim_rlimit(), lim_max(), and lim_cur() API that return either an rlimit, or the current or max individual limit of the specified resource from a process. - dosetrlimit() was renamed to kern_setrlimit() to match existing style of other similar syscall helper functions. - The alpha OSF/1 compat layer no longer calls getrlimit() and setrlimit() (it didn't used the stackgap when it should have) but uses lim_rlimit() and kern_setrlimit() instead. - The svr4 compat no longer uses the stackgap for resource limits calls, but uses lim_rlimit() and kern_setrlimit() instead. - The ibcs2 compat no longer uses the stackgap for resource limits. It also no longer uses the stackgap for accessing sysctl's for the ibcs2_sysconf() syscall but uses kernel_sysctl() instead. As a result, ibcs2_sysconf() no longer needs Giant. - The p_rlimit macro no longer exists. Submitted by: mtm (mostly, I only did a few cleanups and catchups) Tested on: i386 Compiled on: alpha, amd64 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-04T21:57:00.000000Z K 7 svn:log V 291 The following compat syscalls are now mpsafe: linux_getrlimit(), linux_setrlimit(), linux_old_getrlimit(), osf1_getrlimit(), osf1_setrlimit(), svr4_sys_ulimit(), svr4_sys_setrlimit(), svr4_sys_getrlimit(), svr4_sys_setrlimit64(), svr4_sys_getrlimit64(), ibcs2_sysconf(), and ibcs2_ulimit(). END K 10 svn:author V 5 johan K 8 svn:date V 27 2004-02-04T21:59:29.000000Z K 7 svn:log V 101 Fix typo, s/transmitts/transmits/ PR: 62346 Submitted by: Gavin Atkinson (gavin at ury.york.ac.uk) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-04T22:00:44.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-02-04T22:29:52.000000Z K 7 svn:log V 188 When creating raid5 or striped plexes, avoid falling out of bounds when checking the given stripe size. Also move the code a bit around to avoid duplication. Approved by: joerg (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-04T22:37:14.000000Z K 7 svn:log V 60 Remove Perl lines; it's better to let use.perl handle them. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-04T22:38:08.000000Z K 7 svn:log V 95 Remove Perl lines except for the base system version; it's better to let use.perl handle them. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-04T22:53:50.000000Z K 7 svn:log V 139 Checkpoint a NOTES file I had as of Nov 23rd. It doesn't quite compile due to triggering some printf breakage in some DIAGNOSTIC printfs. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-05T00:07:09.000000Z K 7 svn:log V 19 GC port.mkversion. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-05T00:11:05.000000Z K 7 svn:log V 63 Fix long/int printf format problems exposed by PMAP_DIAGNOSTIC END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-05T00:12:08.000000Z K 7 svn:log V 54 Don't cast a pointer to an int that isn't big enough. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-05T01:09:29.000000Z K 7 svn:log V 70 Add crypto implemenation files (C versions (like alpha, unlike i386)) END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-05T01:35:33.000000Z K 7 svn:log V 68 Compile on amd64. (pointer/int mismatches and printf int vs long ) END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-02-05T01:56:43.000000Z K 7 svn:log V 188 Eliminate global cons_unavailable flag and replace it by the status bit maintained on a per-device basis. Single variable is inadequate on machines running with multiple consoles enabled. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-02-05T02:55:20.000000Z K 7 svn:log V 34 libkse was renamed to libpthread. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-05T06:32:16.000000Z K 7 svn:log V 150 Prepare to fix checkdirty() by moving it from check.c to fat.c. It is identical to a subset of readfat(), so it belongs near readfat() if not in it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-02-05T06:33:18.000000Z K 7 svn:log V 207 - Locking for the per-process resource limits structure has eliminated the need for Giant in vm_map_growstack(). - Use the proc * that is passed to vm_map_growstack() rather than curthread->td_proc. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-05T06:55:12.000000Z K 7 svn:log V 513 Document the dirty flag and other bits in the first 2 FAT entries better. There is a related I/O error flag which we don't support in the kernel but must support here. (Support for bits that we don't understand here is mostly automatic by fail-safeness, but checkdirty() has fail-unsafeness.) There are some reserved and don't-care bits that weren't fully documented and aren't always masked properly. The comment about the bits in readfat() will be removed when the masking is fixed. Submitted by: rnordier END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-02-05T08:29:27.000000Z K 7 svn:log V 61 Style fixes: don't indent variable names. Submitted by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-05T08:39:38.000000Z K 7 svn:log V 115 Fixed some non-critical memory leaks and one temporary file leak (theoretical). Approved by: phk, scottl (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T08:44:43.000000Z K 7 svn:log V 65 make(1) can now handle spaces surrounding parenthesis correctly. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-05T09:50:57.000000Z K 7 svn:log V 53 Fix wrong check. Approved by: jake, scottl (mentor) END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-02-05T10:02:20.000000Z K 7 svn:log V 63 Fix a typo in kan's last commit: cnavaiable() -> cnavailable() END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-05T10:57:29.000000Z K 7 svn:log V 73 Don't create a template file if we're not going to let the user edit it. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-05T11:08:36.000000Z K 7 svn:log V 71 Use more generic directories (most prominently, s|/home/des|%%HOME%%|) END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-05T11:59:37.000000Z K 7 svn:log V 122 - %d is 12 chars, not 10. use NI_MAX* where appropriate. - goodbye RC5. - use %llu directly. - KNF. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-05T12:01:39.000000Z K 7 svn:log V 55 print stats on SPD cache lookups. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-05T12:02:37.000000Z K 7 svn:log V 88 - support hmac-ripemd160. - support AES XCBC MAC/AES counter mode. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-05T12:05:35.000000Z K 7 svn:log V 54 stops program if kvm_read fails. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-05T12:08:35.000000Z K 7 svn:log V 78 printed statistics about source address selection rules. Obtained from: KAME END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-02-05T13:02:14.000000Z K 7 svn:log V 71 Updates cx driver information (Cronyx-Sigma) Approved by: imp (mentor) END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-05T15:18:18.000000Z K 7 svn:log V 955 Fixed some bugs in checkdirty(). The check for the clean bit was combined with the the signature check in a wrong way (basically (dirty:= signature_recognised() && !clean) instead of (mightbedirty:= !signature_recognized || !clean), so file systems with unrecognized signatures were considered clean. Many of the don't-care and reserved bits were not ignored, so some file systems with valid signatures were unrecognized. One of my FAT32 file systems has a signature of f8,ff,ff,ff,ff,ff,ff,f7 when dirty, but only f8,ff,ff,0f,ff,ff,ff,07 was recognised as dirty for FAT32, so the fail-unsafeness made my file system always considered clean. Check the i/o non-error bit in checkdirty(). Its absence would give an unrecognized signature in code that is unaware of it, but we now mask it out of the signature so we have to check it explicitly. This combines naturally with the check of the clean bit. Reviewed by: rnordier (except for final details) END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-02-05T15:47:46.000000Z K 7 svn:log V 284 Fixed operation of -f to match its documentation and fsck_ffs. It has now has no effect except in combination with -p, and plain fsck checks all file systems instead of skipping clean ones for msdosfs only. Renamed the force flag to skipclean and inverted its logic as in fsck_ffs. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-02-05T17:35:28.000000Z K 7 svn:log V 130 Rename cn_unavailable to cnunavailable for little more consistency. Garbage collect unused cndebug() function. Suggested by: bde END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-02-05T18:00:35.000000Z K 7 svn:log V 254 Correct a reference counting bug in shmat(2). If vm_map_find(9) failed, the reference count for the virtual memory object referenced by the specified shared memory segment would have been erroneously incremented. Reported by: Joost Pol END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-02-05T18:01:26.000000Z K 7 svn:log V 67 MFC sysv_shm.c 1.90: Correct a reference counting bug in shmat(2). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T18:49:35.000000Z K 7 svn:log V 355 Try harder to pick up the correct print_version.c. The old version works before bsd.dep.mk,v 1.44, whether .depend file exists or not, but the contents of .depend file is wrong. With bsd.dep.mk,v 1.44, the contents of .depend file is always broken, and build without a .depend file is broken too. With this change it works reliably in all cases. Ugh. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T18:51:52.000000Z K 7 svn:log V 37 style.Makefile(5). OK'ed by: nectar END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T19:54:56.000000Z K 7 svn:log V 74 strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T20:16:18.000000Z K 7 svn:log V 34 Don't define STRIP in bsd.own.mk. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T20:48:44.000000Z K 7 svn:log V 56 Temporarily put STRIP back; bsd.port.mk still needs it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-05T20:53:25.000000Z K 7 svn:log V 119 - A lot of style and whitespace fixes. - Update a few comments regarding locking notes. Submitted by: bde (1, mostly) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-05T21:01:37.000000Z K 7 svn:log V 182 Always set a process' state to normal when it is fully constructed in fork1() rather than only doing it for the RFSTOPPED case and then having to fix it up in other places later on. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-02-05T21:07:50.000000Z K 7 svn:log V 367 Don't print the oldest line in the message buffer if the buffer is full, since that line is almost always incomplete. Make the parsing of <%d> lines more strict. Also simplify the logic a little: - Start off by making the buffer linear so that we don't have to deal with it wrapping around (suggested by bde). - Process line by line rather than byte at a time. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-02-05T21:40:37.000000Z K 7 svn:log V 145 Require initrandom rather than random, since random requires mountcritlocal, which requires disks, which gbde_swap provides. Noticed by: brooks END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T21:52:33.000000Z K 7 svn:log V 58 Fixed ``make checkdpadd''. Removed redundant dependency. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T22:01:28.000000Z K 7 svn:log V 21 Added missing DPADD. END K 10 svn:author V 8 cracauer K 8 svn:date V 27 2004-02-05T22:34:05.000000Z K 7 svn:log V 339 Commit fix sent by Tor Egge Only use return value from system call if system call succeeded. Tested with `make world` and some of my own scripts. This should be MFCed soon. While /bin/sh is hard to test the fix is obviously correct and can be assumed not to break something else (famous last words...). END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-02-05T22:36:27.000000Z K 7 svn:log V 43 Correct the weak reference for sem_unlink. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T22:44:25.000000Z K 7 svn:log V 69 Fixed style of DPADD and LDADD assignments as per style.Makefile(5). END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-05T22:51:16.000000Z K 7 svn:log V 279 Attempt to clean up the emu10k1-alsa.h stuff so that config doesn't delete it each time its run and have it regenerated each time by make. I used a quick hackish script rather than putting it in the files file and used the before-depend rule to avoid the depend/no-depend hacks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T23:16:31.000000Z K 7 svn:log V 82 Fixes from 31-Jul-2003; make it 8-bit clean. Forgotten by: ru (for far too long) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-05T23:16:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r125505, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-02-05T23:16:32.000000Z K 7 svn:log V 89 This commit was manufactured by cvs2svn to create tag 'one-true-awk-vendor-bwk_20030731'. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-02-05T23:19:17.000000Z K 7 svn:log V 138 must convert protocol to sa type when preparing a DELETE message Submitted by: Roselyn Lee MFC after: 1 week END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-02-05T23:32:45.000000Z K 7 svn:log V 84 Correct check for invalid semaphore on sem_destroy() (s/==/!=/). Reported by: kris END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-06T00:10:54.000000Z K 7 svn:log V 50 Make this compile on amd64. "I'll cope" by: sam END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-06T01:47:52.000000Z K 7 svn:log V 27 Make LINT compile on amd64 END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-06T01:51:58.000000Z K 7 svn:log V 133 Turn of ath since it causes a link failure without the hal till sam's set up with a cross compiler and has the time to port the hal. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-06T09:25:59.000000Z K 7 svn:log V 85 Removed all the complexities when installing the strip(1) binary. Submitted by: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-06T11:00:13.000000Z K 7 svn:log V 263 From what I can tell, install.sh supported all of the install(1) options since revision 1.2, so removed the XXX comment now. Fixed bogus test(1) expression that would be evaluated as a null string test if script is run without arguments, compacted option lists. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-02-06T11:36:50.000000Z K 7 svn:log V 203 Commit simple workarounf for the "LiteOn" hang on boot problem. This allows the system to boot so I can get the world out of my mailbox and get some work done to figure out what this mess is all about. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-06T12:45:27.000000Z K 7 svn:log V 54 Only include ../Makefile.inc once in loader/Makefile. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-06T12:58:32.000000Z K 7 svn:log V 43 Inherit BINDIR from a parent Makefile.inc. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-02-06T13:54:38.000000Z K 7 svn:log V 127 Only allow the semaphore to be taken when the value is positive. Don't decrement it twice when it is taken. Reported by: kris END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-02-06T14:38:14.000000Z K 7 svn:log V 110 MFNetBSD: netbsd.org -> NetBSD.org(rev.1.109) fix typo in comment(rev.1.90) add list of ``already merged'' END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-02-06T14:51:52.000000Z K 7 svn:log V 218 MFC: Add the Synchronize command to umass_atapi_transform. It seems to work unmodified for ATAPI type devices.(rev.1.40) Submitted by: MATSUMOTO Ryuji [FreeBSD-users-jp 78260] END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-02-06T15:15:44.000000Z K 7 svn:log V 90 Prevent memory leak on sem_destroy() by destroying the semaphore's internal mutex and CV. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-02-06T15:20:56.000000Z K 7 svn:log V 216 Add cancellation point to sem_wait() and sem_timedwait() for pshared semaphores. Also add cancellation cleanup handlers to keep semaphores in a consistent state. Submitted in part by: davidxu Reviewed by: davidxu END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-06T19:25:34.000000Z K 7 svn:log V 89 A few more style fixes from Bruce including a few I missed last time. Submitted by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-06T19:30:12.000000Z K 7 svn:log V 575 - Correct the translation of old rlimit values to properly handle the old RLIM_INFINITY case for ogetrlimit(). - Use %jd and intmax_t to output negative time in usec in calcru(). - Rework getrusage() to make a copy of the rusage struct into a local variable while holding Giant and then do the copyout from the local variable to avoid having to have the original process rusage struct locked while doing the copyout (which would not be safe). This also includes a few style fixes from Bruce to getrusage(). Submitted by: bde (1, parts of 3) Suggested by: bde (2) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-06T19:35:14.000000Z K 7 svn:log V 107 - Convert the plimit lock to a pool mutex lock. - Hide struct plimit from userland. Submitted by: bde (2) END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-02-06T19:38:05.000000Z K 7 svn:log V 203 Make all ACPI debug layers unique again. This makes debugging a more pleasant experience (for certain definition of 'pleasant'). Submitted by: Mark Santcroos Approved by: njl (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-06T20:07:33.000000Z K 7 svn:log V 467 Sync up MP safe flags with global syscalls.master. This includes read(), write(), close(), getpid(), setuid(), getuid(), svr4_sys_pause(), svr4_sys_nice(), svr4_sys_kill(), svr4_sys_pgrpsys(), dup(), pipe(), setgid(), getgid(), svr4_sys_signal(), umask(), getgroups(), setgroups(), svr4_sys_sigprocmask(), svr4_sys_sigsuspend(), svr4_sys_sigaltstack(), svr4_sys_sigaction(), svr4_sys_sigpending(), mprotect(), munmap(), setegid(), seteuid(), setreuid(), setregid(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-06T20:20:07.000000Z K 7 svn:log V 257 Sync up MP safe flags with global syscalls.master. This includes write(), close(), getpid(), ibcs2_setuid(), getuid(), ptrace(), ibcs2_pause(), ibcs2_nice(), ibcs2_kill(), ibcs2_pgrpsys(), dup(), pipe(), ibcs2_setgid(), getgid(), umask(), and sigreturn(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-02-06T20:21:18.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-06T20:38:39.000000Z K 7 svn:log V 383 Remove the badsw* INVARIANTS checks. The events that this attempts to catch are already nicely caught by trapping the null pointer derefs. Remove no-longer-used noswitch/nothrow strings. They were referenced by the stub cpu_switch() etc functions before they were implemented. Try something a little different for the lock prefixes. Prompted by: bde (the first two items anyway) END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-06T20:40:04.000000Z K 7 svn:log V 123 Reduce the inline limit from 20000 to 8000 after the previous changes to simplify the curthread expansion some months ago. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-02-06T21:05:42.000000Z K 7 svn:log V 14 Correct typo. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-02-06T21:07:17.000000Z K 7 svn:log V 96 Correct order of arguments given to checkparity and rebuildparity. Approved by: joerg (mentor) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-02-06T21:36:48.000000Z K 7 svn:log V 28 New release note: SA-04:02. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-02-06T21:37:54.000000Z K 7 svn:log V 46 MFC: SA-04:02. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-02-06T21:38:39.000000Z K 7 svn:log V 16 MFC: SA-04:02. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-06T21:58:32.000000Z K 7 svn:log V 387 First round of cleanups to sys/boot/ makefiles: - do not use PROG for what's not a real C program, - use sys.mk transformation rules where possible, - only create the "machine" symlink on AMD64, - removed MAINTAINER lines in individual makefiles, - added the LIBSTAND defitinion to , - somewhat better contents in .depend files. Tested on: i386, amd64 Prodded by: bde END K 10 svn:author V 2 le K 8 svn:date V 27 2004-02-06T22:51:04.000000Z K 7 svn:log V 81 Fix memory leak. PR: kern/58634 Submitted by: le Approved by: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-02-06T23:10:49.000000Z K 7 svn:log V 161 Allow decreasing access count even if there is no disk anymore. This will allow closing disks that were removed while opened. Approved by: phk, scottl (mentor) END K 10 svn:author V 6 olgeni K 8 svn:date V 27 2004-02-07T00:34:11.000000Z K 7 svn:log V 57 The "bin" distribution was renamed to "base" in CURRENT. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T03:20:07.000000Z K 7 svn:log V 67 Add an #ifdef _KERNEL so that this file can be used from userland. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T03:26:38.000000Z K 7 svn:log V 362 - Broaden the scope of locking in aac_command_thread() again to catch some edge cases in the loop. - Try to grab a command before dequeueing the bio from the bioq. The old behaviour of requeuing deferred bios to the end of the bioq is arguably wrong. This should be fixed in the future to check the bioq head without automatically dequeueing the bio. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T03:30:32.000000Z K 7 svn:log V 417 Reduce AAC_MAX_FIBS to work around some yet-unidentified bugs in the handling of resources shortages. The driver is now so fast that it can completely fill all 512 slots on the card, but for some reason only 511 slots are being allocated. Anything that tries to go into the 512th slot gets silently lost. Both bugs need to be fixed at a later date, but this should fix the reports of hangs in getblk and vinvalb. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-07T03:38:39.000000Z K 7 svn:log V 135 Change role defines so that they better match class 3 service parameters. Add ISPCTL_GET_PDB isp_control operation. MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-07T03:39:42.000000Z K 7 svn:log V 116 If we're defined to have a default role for target mode, make it just ISP_ROLE_TARGET- not both. MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-07T03:42:17.000000Z K 7 svn:log V 54 Add case to handle ISPCTL_GET_PDB. MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-07T03:43:27.000000Z K 7 svn:log V 221 Reverse role defines for initiator and target mode to better match the class 3 service parameters we'd get. Steal 8 bits out of the portid u_int32_t for role information (port ids are 24 bits anyway). MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-07T03:44:43.000000Z K 7 svn:log V 63 add a count for inotifies as well as atios. MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-07T03:47:33.000000Z K 7 svn:log V 236 Checkpoint of work in progress in cleaning up target mode. It actually seems to work well in RELENG_4. However, 5.X locking foo means that I'll have to do some quick redesign. Add ioctl handlers for ISP_GETROLE and ISP_SETROLE ioctls. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T03:51:20.000000Z K 7 svn:log V 154 Add a simple tool for checking the queue stats in the aac(4) driver. The ioctl interface for this has been here for years, so it might as well get used. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-07T06:44:13.000000Z K 7 svn:log V 1258 Add a whole bunch of new stuff to make the driver for the AMD Am1771/Am1772 802.11b chipset work. This chip is present on the SMC2602W version 3 NIC, which is what was used for testing. This driver creates kernel threads (12 of them!) for various purposes, and required the following routines: PsCreateSystemThread() PsTerminateSystemThread() KeInitializeEvent() KeSetEvent() KeResetEvent() KeInitializeMutex() KeReleaseMutex() KeWaitForSingleObject() KeWaitForMultipleObjects() IoGetDeviceProperty() and several more. Also, this driver abuses the fact that NDIS events and timers are actually Windows events and timers, and uses NDIS events with KeWaitForSingleObject(). The NDIS event routines have been rewritten to interface with the ntoskrnl module. Many routines with incorrect prototypes have been cleaned up. Also, this driver puts jobs on the NDIS taskqueue (via NdisScheduleWorkItem()) which block on events, and this interferes with the operation of NdisMAllocateSharedMemoryAsync(), which was also being put on the NDIS taskqueue. To avoid the deadlock, NdisMAllocateSharedMemoryAsync() is now performed in the NDIS SWI thread instead. There's still room for some cleanups here, and I really should implement KeInitializeTimer() and friends. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-02-07T07:10:25.000000Z K 7 svn:log V 118 Now that devfs is mandatory, there is no need to muck around with tty/pty permissions. Noticed by: brooks OKed: phk END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T07:22:11.000000Z K 7 svn:log V 75 - Demangle usage(). - Require the "directory" argument with the -d option. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-02-07T07:25:47.000000Z K 7 svn:log V 49 Add an entry about the removal of etc/rc.d/ttys. END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-02-07T07:30:02.000000Z K 7 svn:log V 144 getnetbyname fixes: Do not choke on malformed network addresses. Return n_name in static space, not on the function's stack. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T08:10:07.000000Z K 7 svn:log V 65 Untangle building of AMD64 boot code. Tested on: amd64 (sledge) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T08:23:48.000000Z K 7 svn:log V 76 Use the default threading library if requested. Reviewed by: des, deischen END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-02-07T08:54:50.000000Z K 7 svn:log V 160 swp_pager_async_iodone() no longer requires Giant. Modify bufdone() and swapgeom_done() to perform swp_pager_async_iodone() without Giant. Reviewed by: tegge END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T10:30:22.000000Z K 7 svn:log V 567 If a command has to be deferred because there are no more resources for it on the card, unmap it first. This allows it to be picked up properly when the queue gets kicked again. This was the root problem for the lost command (i.e. stuck in getblk/vinvalb) problem. While here, panic if commands don't map correctly instead of just silently ignoring the problem and dropping command. Also slow down the dynamic allocation of new commands. It should be safe to go back into the aac waters. Thanks to everyone who suffered through this and provided good feedback. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T10:30:59.000000Z K 7 svn:log V 90 Remove the hack of lowering AAC_MAX_FIB now that the root cause of the problem was found. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T11:05:10.000000Z K 7 svn:log V 48 Style: use the defined() expression explicitly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T11:13:47.000000Z K 7 svn:log V 15 Unbreak world. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-02-07T12:19:44.000000Z K 7 svn:log V 40 MFi386: Cleanups to sys/boot makefiles. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T13:38:47.000000Z K 7 svn:log V 23 Generate .depend file. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-02-07T14:11:38.000000Z K 7 svn:log V 289 Work around a bug in some clients by never returning raw directory contents in reply to a RETR command. Such clients consider RETR as a way to tell a file from a directory. Mozilla is an example. PR: bin/62232 Submitted by: Bob Finch nas com> MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T14:32:06.000000Z K 7 svn:log V 119 - Removed -elf which is not a valid gcc(1) option anymore. - Removed -ffreestanding; it's enforced by ../Makefile.inc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T14:35:33.000000Z K 7 svn:log V 51 MFi386: Removed -elf and duplicate -ffreestanding. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-02-07T14:38:04.000000Z K 7 svn:log V 64 perror_reply() should not be used where errno isn't meaningful. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-02-07T14:54:30.000000Z K 7 svn:log V 371 Deny attempts to rename a file from guest users if the policy says they may not modify existing files through FTP. Renaming a file is effectively a way to modify it. For instance, if a malicious party is unable to delete or overwrite a sensitive file, they can nevertheless rename it to a hidden name and then upload a troyan horse under the guise of the old file name. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-02-07T14:59:11.000000Z K 7 svn:log V 94 NULL looks better than (char *)0 unless we're passing an unprototyped argument to a function. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-02-07T15:46:20.000000Z K 7 svn:log V 31 ttys is gone, kill it here too END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T16:46:05.000000Z K 7 svn:log V 34 Update for the 2003/07/31 import. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T16:58:23.000000Z K 7 svn:log V 60 Convert to plain bsd.prog.mk makefile. Reviewed by: scottl END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T17:40:38.000000Z K 7 svn:log V 113 Do some small cleanups to comments and remove AACQ_COMPLETE definitions since the completion queue is long-gone. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-07T18:54:34.000000Z K 7 svn:log V 253 I guess nobody has needed to use the SVR4olator to create device nodes, or if they did, they're now locked away on the Kurt Gdel memorial home for the numerically confused: Don't cast a kernel pointer (from makedev(9)) to an integer (maj+minor combo). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-07T20:54:29.000000Z K 7 svn:log V 82 Remove the use of AACQ_COMPLETE here since there is no longer a completion queue. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-07T22:19:20.000000Z K 7 svn:log V 79 Correct an intance of mtx_pool_lock() that should have been mtx_pool_unlock(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-07T22:58:39.000000Z K 7 svn:log V 156 Fix the last and most important bit of the test case to test the same binary as the rest of it. Add MD5 check that the md(4) device gets set up correctly. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-07T23:01:17.000000Z K 7 svn:log V 58 We don't need to hold Giant to create the worker kthread. END K 10 svn:author V 5 johan K 8 svn:date V 27 2004-02-07T23:13:28.000000Z K 7 svn:log V 97 Fix typo in comment, s/reebots/reboots/ PR: 62481 Submitted by: Ulrich Spoerlein END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-07T23:30:45.000000Z K 7 svn:log V 58 Argh, unbreak "make depend" for AMD64. Reported by: kris END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-07T23:47:10.000000Z K 7 svn:log V 96 Argh. kthread_suspend() when in P_KTHREAD context, tsleep() when not, not the other way around. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-07T23:52:58.000000Z K 7 svn:log V 99 Don't hold NDIS_LOCK() around call to ndis_getstate_80211() since it may block on ndis_get_info(). END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-08T00:39:38.000000Z K 7 svn:log V 50 I forgot to add the NO_MODULES override for NOTES END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-02-08T03:19:08.000000Z K 7 svn:log V 105 Move m_uiotombuf from uio.h to mbuf.h, where I should have put it in the first place. Suggested by: bde END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-02-08T07:35:48.000000Z K 7 svn:log V 575 Add the SF_NODISKIO flag to sendfile. This flag causes sendfile to be mindful of blocking on disk I/O and instead return EBUSY when such blocking would occur. Results from the DeBox project indicate that blocking on disk I/O can slow the performance of a kqueue/poll based webserver. Using a flag such as SF_NODISKIO and throwing connections that would block to helper processes/threads helped increase performance. Currently, only the Flash webserver uses this flag, although it could probably be applied to thttpd with relative ease. Idea by: Yaoping Ruan & Vivek Pai END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-02-08T07:38:35.000000Z K 7 svn:log V 53 Document the SF_NODISKIO flag, and fix a small typo. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-02-08T08:40:24.000000Z K 7 svn:log V 120 MFC rev 1.91: don't bother defragging mbuf chains sent to the loopback, the ipv6 stack can handle them just fine as is. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-02-08T08:46:12.000000Z K 7 svn:log V 127 Properly document the difference between NO_MAKEDEV and NO_MAKEDEV_RUN. PR: conf/37909 Submitted by: Paul Fardy END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-08T09:39:02.000000Z K 7 svn:log V 89 Add a missing error case return. Problem reported by: Flemming Jacobsen END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-02-08T10:19:18.000000Z K 7 svn:log V 67 Polish the work/state engine in preparation for HW-crypto support. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-02-08T12:38:30.000000Z K 7 svn:log V 211 Update the documentation for setpgrp(2) to reflect the access control checks that the code actually performs. Judging from the 4.2BSD release notes, the docs have only been out of date for 20 years. PR: 29844 END K 10 svn:author V 2 le K 8 svn:date V 27 2004-02-08T15:27:58.000000Z K 7 svn:log V 309 Don't free ressources that haven't been allocated. This should fix the "disappearing subdisks" problem when new subdisks can't be created due to some errors. This is in fact an ugly hack, but a more elegant solution would probably require a redesign of vinum in several places. Approved by: joerg (mentor) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-02-08T16:07:22.000000Z K 7 svn:log V 106 Allow amr(4) to get a dynamic major number instead of a static one. Submitted by: Andre Guibert de Bruet END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-02-08T18:22:27.000000Z K 7 svn:log V 86 - obey ip6po_minmtu. - notify a proper path MTU to applications. Obtained from: KAME END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-08T19:16:01.000000Z K 7 svn:log V 137 Remove condition variables and status associated with target mode enabling. Instead, go to an interrupt/polled model. MFC after: 6 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-02-08T19:17:56.000000Z K 7 svn:log V 214 Remove condition variables and status associated with target mode enabling. Instead, go to an interrupt/polled model. Fix get_lun_statep so we don't panic if there are no wildcard luns enabled. MFC after: 6 days END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-08T20:32:41.000000Z K 7 svn:log V 93 Make NdisMMapIoSpace() handle the case where a device has both mem and altmem ranges mapped. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-02-08T20:39:35.000000Z K 7 svn:log V 79 Make NdisMMapIoSpace() guard against NULL/uninitialized resource pointers too. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-02-08T21:21:45.000000Z K 7 svn:log V 115 Rewrite fabs.S to use pure SSE2 operations. I got the clues how to do this from looking at code generated by gcc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-08T21:32:21.000000Z K 7 svn:log V 43 Vendor import of bwk's 7-Feb-2004 release. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-08T21:32:21.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r125601, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-02-08T21:32:22.000000Z K 7 svn:log V 89 This commit was manufactured by cvs2svn to create tag 'one-true-awk-vendor-bwk_20040207'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-02-08T21:39:18.000000Z K 7 svn:log V 34 Update for the 2004/02/07 import. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-02-08T21:59:17.000000Z K 7 svn:log V 410 Certain ICMP error replies cause ping to perform a reverse DNS lookup on an IP address from the packet (such as the IP that sent a TTL exceeded error). If the DNS lookup takes a long time, ^C will appear to be ineffective since the SIGINT handler just sets a flag and returns. Work around this by exiting immediately on receipt of a second SIGINT when DNS lookups are enabled. PR: bin/4696 MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-02-08T22:16:29.000000Z K 7 svn:log V 23 New errata: SA-04:02. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-02-08T22:24:17.000000Z K 7 svn:log V 71 MFC: 1.32; make the documentation of PT_STEP match its implementation. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-02-08T22:26:05.000000Z K 7 svn:log V 65 MFC: SA-04:02. While here, add missing date for SA-03:19 note. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-02-08T22:30:59.000000Z K 7 svn:log V 175 MFC: 1.14; Undo the adjustment of the total memory used by dirhash in the case where allocating the dirhash structure fails. Fix a few typos in comments and update copyright. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-02-08T23:08:53.000000Z K 7 svn:log V 273 Further simplify the code for printing the message buffer: - Ensure that the buffer ends with "\n\0" to avoid special cases and allow the use of strtol(). - Use strvisx() on each complete line instead of character by character. Submitted by: bde MFC after: 1 week END