ƒ­w108193 224 411 201 283 429 211 206 159 320 162 182 182 189 254 1176 152 118 121 134 120 165 144 120 154 119 136 120 137 202 165 288 215 294 179 175 148 174 406 195 479 221 176 201 188 146 232 179 142 197 124 284 165 205 1347 178 185 149 223 121 146 190 183 132 113 234 129 213 200 133 201 159 250 164 135 139 169 209 347 158 184 336 114 194 224 441 183 222 123 155 136 176 115 159 424 196 143 276 156 150 198 274 115 139 155 150 112 253 126 144 290 154 206 149 232 161 153 174 214 110 182 228 366 307 194 283 116 305 224 334 203 204 291 337 245 453 499 356 270 313 270 446 181 248 265 198 152 1090 212 170 176 228 138 128 500 164 158 252 280 154 222 196 164 135 395 196 196 640 137 177 313 163 138 139 131 865 131 188 207 176 172 128 329 223 554 355 332 130 273 166 230 149 207 266 198 236 392 714 401 254 168 160 137 161 132 147 181 257 1014 151 991 206 315 139 619 129 394 268 174 402 279 218 315 158 110 248 K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-22T23:01:14.000000Z K 7 svn:log V 317 - Rearrange pmap_bootstrap slightly to be more in dependency order. - Put the kernel tsb before before the kernel load address, below VM_MIN_KERNEL_ADDRESS, instead of after the kernel where it consumes usable kva. This is magic mapped so the virtual address is irrelevant, it just needs to be out of the way. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-12-23T01:02:45.000000Z K 7 svn:log V 108 MFC: All the changes to the boot blocks that allow UFS1 and UFS2 to fit into 8k. Requested by: re (scottl) END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-23T02:18:45.000000Z K 7 svn:log V 189 - Fix a bug where the faulting address for an mmu miss could sometimes be clobbered due to some debug code. This was harmless and just superfluous soft faults. - Update some comments. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-12-23T03:48:59.000000Z K 7 svn:log V 333 Fix a De Morgan bug: If we only expect a memory range OR an I/O port range, then we should ignore a resource if it's NOT a memory range AND NOT an I/O port range. The OR in the condition caused us to ignore perfectly valid memory addresses. While here, remove redundant parenthesis and reindent the debug print to avoid long lines. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-23T04:35:38.000000Z K 7 svn:log V 118 Eliminate some dead code. (Any possible use for this code died with vm/vm_page.c revision 1.220.) Submitted by: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-23T06:20:41.000000Z K 7 svn:log V 113 Avoid holding the vnode interlock around malloc() or free() to prevent a lock order reversal. Reviewed by: jeff END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-23T06:46:48.000000Z K 7 svn:log V 64 Add development.7 Reminded by: Sean Kelly END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-23T07:09:44.000000Z K 7 svn:log V 224 Redo the initial rc_ng check to avoid rc.conf pollution occuring too early, initdiskless may retarget /etc and various rc.conf files. The initial check is now done in a subshell. Reviewed by: Mike Makonnen END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-23T07:27:53.000000Z K 7 svn:log V 67 A pile of patches, most notably some Doc policing by Hiten Pandya. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-12-23T10:02:40.000000Z K 7 svn:log V 88 MFC rev. 1.20: fix byte order logging issue: sa.sin_port is already in host byte order. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-12-23T10:10:42.000000Z K 7 svn:log V 88 MFC rev. 1.24 and rev. 1.25: o s/if_name[16]/if_name[IFNAMSIZ]/ o Trim EOL whitespaces. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-12-23T10:14:42.000000Z K 7 svn:log V 95 MFC rev. 1.57 and rev. 1.58: o malloc(M_DONTWAIT) -> malloc(M_NOWAIT). o Trim EOL whitespaces. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-12-23T10:25:36.000000Z K 7 svn:log V 159 MFC rev. 1.5 and rev. 1.6: fix bogus getsockopt(2) call: o swap SOCK_STREAM and LOCAL_PEERCRED. o getsockopt(2) 'level' argument should be 0, not SOCK_STREAM. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T13:12:41.000000Z K 7 svn:log V 1083 rn_walktree*() compute the next leaf before applying a function to current leaves because function may vanish the current node. If parent RTA_GENMASK route has a clone (a "cloning clone"), an rn_walktree_from() starting from parent will cause another walk starting from clone. If a function is either rt_fixdelete() or rt_fixchange(), this recursive walk may vanish the leaf that is remembered by an outer walk (the "next leaf" above), panicing a system when it resumes with an outer walk. The following script paniced my single-user mode booted system: : sysctl net.inet.ip.forwarding=1 : ipfw add 1 allow ip from any to any : ifconfig lo0 127.1 : route add -net 10 -genmask 255.255.255.0 127.1 : telnet 10.1 # rt_fixchange() panic : telnet 10.2 : telnet 10.1 : route delete -net 10 # rt_fixdelete() panic For the time being, avoid these races by disallowing recursive walks in rt_fixchange() and rt_fixdelete(). Also, make a slight optimization in the rtrequest(RTM_RESOLVE) case: there is no reason to call rt_fixchange() in this case. PR: kern/37606 MFC after: 5 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T14:50:31.000000Z K 7 svn:log V 61 mdoc(7) police: markup and grammar fixes for previous delta. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T14:51:18.000000Z K 7 svn:log V 27 Added xref to syncache(4). END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T14:55:28.000000Z K 7 svn:log V 30 mdoc(7) police: markup fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T14:59:07.000000Z K 7 svn:log V 43 mdoc(7) police: grammar and spelling nits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:00:56.000000Z K 7 svn:log V 29 mdoc(7) police: markup nits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:05:18.000000Z K 7 svn:log V 74 mdoc(7) police: spelling, removed (scheduled again) hard sentence breaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:08:01.000000Z K 7 svn:log V 53 mdoc(7) police: more `The .Nm utility' + markup nit. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:14:12.000000Z K 7 svn:log V 29 mdoc(7) police: markup nits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:15:35.000000Z K 7 svn:log V 63 mdoc(7) police: most -mdoc macros can take multiple arguments. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:21:38.000000Z K 7 svn:log V 28 mdoc(7) police: markup nit. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:21:57.000000Z K 7 svn:log V 45 mdoc(7) police: removed gratuitous .Pp call. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:30:40.000000Z K 7 svn:log V 29 mdoc(7) police: markup nits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T15:36:04.000000Z K 7 svn:log V 46 mdoc(7) police: fixed the misplaced .Bl call. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-23T15:59:49.000000Z K 7 svn:log V 105 MFC: Make newsyslog(8) print the correct date when logs are turned over. PR: 46395 Submitted by: maxim END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T16:04:51.000000Z K 7 svn:log V 74 Fixed the abuses of .Ql visible on stderr in troff mode. PR: docs/37176 END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T16:33:37.000000Z K 7 svn:log V 196 MFC: Added the new variable CTAGS which, if set to "ctags", reverts to creating the tags file using ctags(1). Defaults to "gtags". Made GTAGSFLAGS and HTAGSFLAGS overrideable, added CTAGSFLAGS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-23T17:01:00.000000Z K 7 svn:log V 123 MFC: 1.703 (collapsed the export list, added CD_EXTRA_BITS to it), 1.707 (garbage collect ALLLANG, respect DOC_LANG). END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-23T17:28:30.000000Z K 7 svn:log V 198 MFC 1.117. Note that the FreeBSD-pertainant bugs did not exist in stable, so this commit doesn't really fix anything. It's effectively just some cleanup to make the file more similar to -current. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-23T17:39:06.000000Z K 7 svn:log V 84 MFC revamped diskless code to generalize the way partitions are created and copied. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-23T18:10:54.000000Z K 7 svn:log V 79 MFC: revisions 1.96 && 1.97 Requested by: Peter Johnson END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-23T18:32:05.000000Z K 7 svn:log V 52 Spell 'monintor' as 'monitor' Pointed out by: ceri END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-23T18:44:22.000000Z K 7 svn:log V 79 Bring the diskless manual page more up-to-date. It still needs a lot of work. END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2002-12-23T19:11:23.000000Z K 7 svn:log V 308 - Move to array based indexing for TX/RX descriptor/buffer management - Added support for ITR (interrupt throttle register). This feature is available on adapters based on 82545 and above - Fixed problem with vlan support when traffic has priority bits set. (kern/45907) PR: kern/45907 MFC after: 1 week END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-23T19:25:03.000000Z K 7 svn:log V 99 Document protection bits. PR: 46252 Submitted by: Jeroen Ruigrok van der Werven END K 10 svn:author V 6 kbyanc K 8 svn:date V 27 2002-12-23T20:08:21.000000Z K 7 svn:log V 383 Make preprocessor support more generic by passing all command-line options after -p except for the last (the ruleset file to process) to the preprocessor for interpretation. This allows command-line options besides -U and -D to be passed to cpp(1) and m4(1) as well as making it easier to use other preprocessors. Sponsored By: NTT Multimedia Communications Labs MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-23T20:10:47.000000Z K 7 svn:log V 128 - Hold the kernel_object's lock around vm_page_alloc(kernel_object,...). - Hold the page queues lock around vm_page_wakeup(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-23T20:39:15.000000Z K 7 svn:log V 84 - Hold the kernel_object's lock around vm_page_insert(..., kernel_object, ...). END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-23T20:47:17.000000Z K 7 svn:log V 104 MFC: Document protection bits. PR: 46252 Submitted by: Jeroen Ruigrok van der Werven END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-23T21:37:28.000000Z K 7 svn:log V 96 s/sokqfilter/soo_kqfilter/ for consistency with the naming of all other socket/file operations. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-23T21:47:46.000000Z K 7 svn:log V 54 - Hold the page queues lock around vm_page_wakeup(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-23T21:50:47.000000Z K 7 svn:log V 139 Change the chip description from "DFE-550TX" to "DL10050". The DL10050 chip is used on the 550TX and 580TX cards, probably others as well. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-23T21:53:20.000000Z K 7 svn:log V 87 Detediousficate declaration of fileops array members by introducing typedefs for them. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-23T22:12:17.000000Z K 7 svn:log V 50 Outdent the string rather than use concatenation. END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-23T22:31:24.000000Z K 7 svn:log V 101 Make ng_fec.c compile again since Sam's changes. Submitted by: Hiten Pandya (hiten@unixdaemons.com) END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-23T22:33:08.000000Z K 7 svn:log V 29 Make it work -current style. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-23T22:46:47.000000Z K 7 svn:log V 191 Move the declaration of the socket fileops from socketvar.h to file.h. This allows us to use the new typedefs and removes the needs for a number of forward struct declarations in socketvar.h END K 10 svn:author V 6 kbyanc K 8 svn:date V 27 2002-12-23T23:02:21.000000Z K 7 svn:log V 70 Re-sync with -HEAD. Sponsored by: NTT Multimedia Communications Labs END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-12-23T23:25:39.000000Z K 7 svn:log V 107 Add a new ftp mirror in Ireland which offers a service over IPv6. MFC after: 1 week Reviewed by: ume END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-23T23:39:57.000000Z K 7 svn:log V 1252 - Change the way the direct mapped region is implemented to be generally useful for accessing more than 1 page of contiguous physical memory, and to use 4mb tlb entries instead of 8k. This requires that the system only use the direct mapped addresses when they have the same virtual colour as all other mappings of the same page, instead of being able to choose the colour and cachability of the mapping. - Adapt the physical page copying and zeroing functions to account for not being able to choose the colour or cachability of the direct mapped address. This adds a lot more cases to handle. Basically when a page has a different colour than its direct mapped address we have a choice between bypassing the data cache and using physical addresses directly, which requires a cache flush, or mapping it at the right colour, which requires a tlb flush. For now we choose to map the page and do the tlb flush. This will allows the direct mapped addresses to be used for more things that don't require normal pmap handling, including mapping the vm_page structures, the message buffer, temporary mappings for crash dumps, and will provide greater benefit for implementing uma_small_alloc, due to the much greater tlb coverage. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-24T00:30:33.000000Z K 7 svn:log V 82 MFC: revision 1.65 committed by ru. This deals with 'grammar and spelling nits.' END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-24T01:04:42.000000Z K 7 svn:log V 89 Various language tweaks. PR: 45604 Submitted by: Chris Pepper END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-12-24T02:09:47.000000Z K 7 svn:log V 54 MFC 1.16: Fix DeMorgan bug. Approved by: re (murray) END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-24T02:21:39.000000Z K 7 svn:log V 127 MFC 1.129, fix a double-free that occurs if an attempt to mount the root filesystem via bootp fails. Approved by: re (murray) END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-24T03:03:39.000000Z K 7 svn:log V 29 SMP locking for radix nodes. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-24T04:24:58.000000Z K 7 svn:log V 54 - Hold the page queues lock around vm_page_wakeup(). END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-24T05:33:35.000000Z K 7 svn:log V 94 MFC: Various language tweaks. PR: 45604 Submitted by: Chris Pepper END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-24T07:32:38.000000Z K 7 svn:log V 91 - Hold the page queues lock around calls to vm_page_wakeup() and vm_page_flag_clear(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2002-12-24T07:40:10.000000Z K 7 svn:log V 36 Check NULL pointer to avoid SIGSEGV END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-24T09:44:51.000000Z K 7 svn:log V 21 White-space changes. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-12-24T11:58:05.000000Z K 7 svn:log V 139 Fix usbd.conf parsing: fgetln(3) returns a string without terminating NUL character so do not expect it. PR: bin/46489 MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-24T13:41:48.000000Z K 7 svn:log V 38 mdoc(7) police: Deal with self-xrefs. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-12-24T13:45:24.000000Z K 7 svn:log V 118 o De-anonymity dummynet(4) and ipfw(4) messages, prepend them by 'dummynet: ' and 'ipfw: ' prefixes. PR: kern/41609 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-24T14:46:01.000000Z K 7 svn:log V 103 Require privilege to flush the signal cache on if_an and if_wi 802.11 cards. Reviewed by: imp (if_wi) END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-24T16:52:31.000000Z K 7 svn:log V 42 Spelling: s/then/than/ where appropriate. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-24T18:27:25.000000Z K 7 svn:log V 104 MFC: Make newsyslog(8) print the correct date when logs are turned over PR: 46395 Submitted by: maxim END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-24T19:02:03.000000Z K 7 svn:log V 67 - Hold the page queues lock around calls to vm_page_flag_clear(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-24T19:47:13.000000Z K 7 svn:log V 153 Flush vop_refreshlabel() definition, since it is no longer used. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 semenu K 8 svn:date V 27 2002-12-24T21:00:19.000000Z K 7 svn:log V 69 MFC 1.28: Fix the missspelt letter in DC_CTYPE_PUP_AUTOSENSe define. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-24T21:00:31.000000Z K 7 svn:log V 43 Validate inp to prevent an use after free. END K 10 svn:author V 6 semenu K 8 svn:date V 27 2002-12-24T21:17:42.000000Z K 7 svn:log V 44 MFC: Do not return(foo()) in void function. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-25T07:59:39.000000Z K 7 svn:log V 77 Ensure that the made-up inode number for a Unix domain socket is persistent. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-25T09:16:58.000000Z K 7 svn:log V 117 A month after pst@ has committed his revision 1.8, it was incorporated by UCB as revision 8.5. Do a diff reduction. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-25T10:21:02.000000Z K 7 svn:log V 255 If the caller of rtrequest*(RTM_DELETE, ...) asked for a copy of the entry being removed (ret_nrt != NULL), increment the entry's rt_refcnt like we do it for RTM_ADD and RTM_RESOLVE, rather than messing around with 1->0 transitions for rtfree() all over. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-25T10:50:08.000000Z K 7 svn:log V 67 Revision 1.67 changes correspond to CSRG revision 8.3.1.1 changes. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-25T10:51:20.000000Z K 7 svn:log V 92 Range-check the address family parameter passed in to the sysctl handler. Submitted by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-25T10:55:44.000000Z K 7 svn:log V 244 I'm not sure what was the problem at the time of revision 1.37 when julian@ added it, but the commented out code had at least one bug -- not freeing the allocated mbuf. Anyway, this comment no longer applies as of revision 1.67, so remove it. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-25T11:40:53.000000Z K 7 svn:log V 23 Typo in function name. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-12-25T12:40:19.000000Z K 7 svn:log V 97 MFC: Add a new ftp mirror in Ireland which offers a service over IPv6. Approved by: re (murray) END K 10 svn:author V 4 grog K 8 svn:date V 27 2002-12-25T23:15:36.000000Z K 7 svn:log V 130 Clarify the distinction between the Proclamation of the Province of South Australia and the date of the Proclamation Day holiday. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2002-12-26T03:17:59.000000Z K 7 svn:log V 343 firewire.c - Fix permission of device node. fwochi.c, fwohcireg.h - Detect phy access failure correct way. - Set root hold-off bit before initiating bus reset. This should fix the problem with VIA6306. fwohcivar.h - Fix over-allocation of array. (fwohcivar.h) sbp.c - Return CAM_DEV_NOT_THERE rather than CAM_TID_INVALID to prevent retry. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-26T03:35:57.000000Z K 7 svn:log V 91 Disable radix node locking for sysctl until we fix the sysctl infrastructure to not sleep. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2002-12-26T04:27:33.000000Z K 7 svn:log V 124 Sync FireWire driver with -current. - clean up - reduce debug messages. - workaround for VIA6306. - improve phy access. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2002-12-26T06:29:44.000000Z K 7 svn:log V 26 add dev/firewire/fwdev.c. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2002-12-26T06:41:37.000000Z K 7 svn:log V 58 Replace ntohl() with ntohs() because orb_hi is u_int16_t. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2002-12-26T06:50:09.000000Z K 7 svn:log V 39 Cosmetic change. s/Firewire/FireWire/. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2002-12-26T09:10:47.000000Z K 7 svn:log V 79 Oops, previous commit was incomplete. Resync with FireWire driver in -current. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-26T12:20:25.000000Z K 7 svn:log V 24 MFS: Split export list. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2002-12-26T13:20:58.000000Z K 7 svn:log V 63 Set %bx register instead of %di register, see vbe3.0, page 45. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-12-26T13:25:57.000000Z K 7 svn:log V 327 When resuming after a system suspend, re-issue the UHCI_CMD_MAXP command in case this setting was not saved. Since bandwidth reclamation (-current only) often results in bus activity continuing to the end of every frame, most transfers would fail with IOERROR if this setting is missed. Reviewed by: n_hibma MFC after: 1 week END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-26T14:28:54.000000Z K 7 svn:log V 103 Add the "wordexp" shell built-in command which will be used to implement the POSIX wordexp() function. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-26T14:30:55.000000Z K 7 svn:log V 51 Add the POSIX header file. PR: 13420 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-26T14:34:18.000000Z K 7 svn:log V 183 Add an implementation of the POSIX wordexp() and wordfree() functions, which perform shell-style word expansion on strings. This is still a little rough around the edges. PR: 13420 END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-26T14:36:38.000000Z K 7 svn:log V 65 MFC: 1.39 1.43 1.50: Allow embedded `:' and `!' in target names. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-26T14:38:27.000000Z K 7 svn:log V 58 Add "restrict" qualifiers to the prototype for wordexp(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-26T14:44:45.000000Z K 7 svn:log V 105 Unbreak for the !__XSI_VISIBLE case when another header that defines size_t has not been included first. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-12-26T15:50:45.000000Z K 7 svn:log V 180 Return an error if the size of the sector is zero. This is for removable devices that is not inserted any media. This is MFC candidate. Submitted by: ISAKA Yoji END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-26T19:56:29.000000Z K 7 svn:log V 24 s/pseudo-device/device/ END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-26T20:45:37.000000Z K 7 svn:log V 47 Add an XXX comment to explain the predicament. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-26T20:46:30.000000Z K 7 svn:log V 63 We should not need to hold Giant for sbuf operations any more. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-26T20:48:22.000000Z K 7 svn:log V 58 Use a mutex assert to document our locking circumstances. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-26T21:02:50.000000Z K 7 svn:log V 20 white-space changes END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-27T00:24:35.000000Z K 7 svn:log V 160 Long chain of calls starting with bridge_on(), going through IPv6, and ending up at ifa_ifwithdstaddr() could lead to a recursive lock of the ifnet list mutex. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-27T01:01:03.000000Z K 7 svn:log V 34 Be more consistent with "static". END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-27T01:45:05.000000Z K 7 svn:log V 51 Teach libkvm to deal with direct mapped addresses. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-27T01:50:29.000000Z K 7 svn:log V 196 - Use direct mapped addresses for the message buffer, for the crash dump mappings, and for pmap_map which is used to map the vm_page structures. - Don't allocate kva space for any of the above. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-27T03:11:29.000000Z K 7 svn:log V 61 Implement uma_small_alloc and uma_small_free. Not yet used. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-27T03:17:02.000000Z K 7 svn:log V 109 Add a manual page for msdosfs (msdos.5) and connect it to the build. Quick review by: chris (older version) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-27T03:17:39.000000Z K 7 svn:log V 53 Whitespace created in Makefile from previous commit. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-27T04:06:04.000000Z K 7 svn:log V 135 mount_msdos(8) > mount_msdosfs(8) as they have different names in 4.X/5.X. Correct link to the handbook (typo). Pointed out by: chris END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-27T06:09:56.000000Z K 7 svn:log V 69 Increase the scope of the page queues lock in phys_pager_getpages(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-27T06:52:32.000000Z K 7 svn:log V 61 Hold the page queues lock when calling vm_page_flag_clear(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-27T07:58:59.000000Z K 7 svn:log V 82 Remove the "ascii" attribute from the sysctls so that "sysctl -a" will skip them. END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-27T08:21:15.000000Z K 7 svn:log V 118 Slight tuning if teh KSE man page to indicate some functionality is not yet inplemented and to clear up some wording. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-12-27T08:28:53.000000Z K 7 svn:log V 18 Fix a small typo. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-12-27T08:39:42.000000Z K 7 svn:log V 87 Lock filedesc while performing a range check on the file descriptor. Reviewed by: alc END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-12-27T08:43:40.000000Z K 7 svn:log V 132 Silence casting away constness warnings. Make cgetmatch's locals const. Make cdbget take a const string and copy it into a buffer. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-27T10:06:37.000000Z K 7 svn:log V 273 Make ffs_mountfs() static. Remove the malloctype from the ufs mount structure, instead add a callback to the storage method for freeing inodes: UFS_IFREE(). Add vfs_ifree() method function which frees an inode. Unvariablelize the malloc type used for allocating inodes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-12-27T10:09:04.000000Z K 7 svn:log V 215 POLA dictates that in the file designated with the -f option argument, leading whitespace and empty lines be ignored, and the `#' character marks the rest of the line as a comment. PR: bin/45958 MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-27T10:23:03.000000Z K 7 svn:log V 101 Move the allocation of the inode contents into ffs_vfsops.c rather than passing malloc types around. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-27T11:05:05.000000Z K 7 svn:log V 190 Use three UMA zones for FFS/UFS inodes instead of malloc space. Since inodes are currently 144 bytes, this will save 112 bytes per inode. This can amount to up to 10MByte on large systems. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-12-27T12:15:40.000000Z K 7 svn:log V 19 english(4) police. END K 10 svn:author V 2 ue K 8 svn:date V 27 2002-12-27T15:00:06.000000Z K 7 svn:log V 213 MFbed: translation updates: hardware/alpha/proc-alpha.sgml: 1.49 -> 1.51 installation/common/install.sgml: 1.16 -> 1.17 installation/common/trouble.sgml: 1.8 -> 1.10 relnotes/common/new.sgml: 1.466 -> 1.467 END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-12-27T16:27:45.000000Z K 7 svn:log V 127 Fix a bug introduced by revision 1.59 that would cause an immediate NULL dereference if a bridged packet was rejected by ipfw. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T16:28:31.000000Z K 7 svn:log V 237 Remove S_IROTH from the make_dev() lines for iir-related devices. This improves protection consistency with other storage devices (generally root:operator,660). This driver appears not to have an active maintainer. Submitted by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T16:32:10.000000Z K 7 svn:log V 106 Synchronize make_dev() for pcfclock devices to the values in MAKEDEV for consistency. Submitted by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T16:34:12.000000Z K 7 svn:log V 107 Synchronize mode for ppsX devices to that found previously in MAKEDEV for consistency. Submitted by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T16:40:54.000000Z K 7 svn:log V 194 Make use of UID_ROOT, GID_WHEEL for make_dev() arguments. Remove the setgid bit from the 3dfx device (?). Synchronize permissions with the values in MAKEDEV for consistency. Submitted by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T16:44:11.000000Z K 7 svn:log V 240 Use UID_ROOT and GID_WHEEL for uid/gid argments to make_dev(). Remove the setgid bit from the tga device (?). Synchronize mode with modes used for related frame buffer devices in MAKEDEV (tga doesn't appear in MAKEDEV). Submitted by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T16:54:44.000000Z K 7 svn:log V 148 Improve consistency between devfs and MAKEDEV: use UID_ROOT and GID_WHEEL instead of UID_BIN and GID_BIN for /dev/fd/* entries. Submitted by: kris END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-12-27T17:15:16.000000Z K 7 svn:log V 356 Oops, I misread the purpose of the NULL check in EH_RESTORE() in revision 1.62. It was checking for M_PREPEND() failing, not for the case of a NULL mbuf pointer being supplied to the macro. Back out that revision, and fix the NULL dereference by not calling EH_RESTORE() in the case where the mbuf pointer is NULL because the firewall rejected the packet. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-12-27T17:43:25.000000Z K 7 svn:log V 402 Bridged packets are supplied to the firewall with their IP header in network byte order, but icmp_error() expects the IP header to be in host order and the code here did not perform the necessary swapping for the bridged case. This bug causes an "icmp_error: bad length" panic when certain length IP packets (e.g. ip_len == 0x100) are rejected by the firewall with an ICMP response. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T17:50:39.000000Z K 7 svn:log V 259 Use UID_ and GID_ constants instead of hard-coded numeric values with make_dev(). Use OPERATOR instead of implicit WHEEL to match other storage devices. Use a mode of 0640 to be consistent with other storage devices. Submitted by: kris Reviewed by: scottl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T17:52:16.000000Z K 7 svn:log V 173 Use OPERATOR instead of WHEEL for make_dev(), use 0640 instead of 0644 for disk devices to be consistent with other storage devices. Submitted by: kris Reviewed by: scottl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-27T18:20:16.000000Z K 7 svn:log V 216 Re-add MNT_ACLS to the list of "updateable" mount flags, per our documentation. Generally, you really shouldn't twiddle the flag, but there are sensible scenarios where one might. Obtained from: TrustedBSD Project END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-27T19:18:04.000000Z K 7 svn:log V 176 Teach /dev/kmem about direct mapped addresses. Note that a better solution for how to make kernacc work for direct mapped addresses is needed for all platforms that use them. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-27T19:31:26.000000Z K 7 svn:log V 352 Define UMA_MD_SMALL_ALLOC so that uma_small_alloc and uma_small_free will be used for zones that allocate objects of less 1 page. The biggest advantage of this is that all of a sudden the majority of kernel malloc-ed data doesn't need kva allocated for it. Besides microbenchmarks I haven't seen a measurable performance improvement from doing this. END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-27T20:11:08.000000Z K 7 svn:log V 86 MFC the check that a dump will fit into the dump partition Approved by: re@ (Robert) END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-27T20:16:13.000000Z K 7 svn:log V 155 - Change vm_object_page_collect_flush() to assert rather than acquire the page queues lock. - Acquire the page queues lock in vm_object_page_clean(). END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-27T20:16:59.000000Z K 7 svn:log V 169 MFC of pathces to allow ng_fec.c to compile after Sam's bof rationalisations and cleanups. Submitted by: Hiten Pandya Approved by: re@ (robert) END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-27T20:19:42.000000Z K 7 svn:log V 102 Make Makefile up-to-date Submitted by: Hiten Pandya Approved by: re@ (Robert) END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-28T00:19:40.000000Z K 7 svn:log V 60 Assert that the page queues lock is held in pmap_testbit(). END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-12-28T01:23:07.000000Z K 7 svn:log V 994 Add code to ddb to allow backtracing an arbitrary thread. (show thread {address}) Remove the IDLE kse state and replace it with a change in the way threads sahre KSEs. Every KSE now has a thread, which is considered its "owner" however a KSE may also be lent to other threads in the same group to allow completion of in-kernel work. n this case the owner remains the same and the KSE will revert to the owner when the other work has been completed. All creations of upcalls etc. is now done from kse_reassign() which in turn is called from mi_switch or thread_exit(). This means that special code can be removed from msleep() and cv_wait(). kse_release() does not leave a KSE with no thread any more but converts the existing thread into teh KSE's owner, and sets it up for doing an upcall. It is just inhibitted from being scheduled until there is some reason to do an upcall. Remove all trace of the kse_idle queue since it is no-longer needed. "Idle" KSEs are now on the loanable queue. END K 10 svn:author V 6 kbyanc K 8 svn:date V 27 2002-12-28T02:29:19.000000Z K 7 svn:log V 116 Remove useless local variable from raw_input(). Sponsored by: NTT Multimedia Communications Labs MFC after: 3 days END K 10 svn:author V 8 deischen K 8 svn:date V 27 2002-12-28T05:20:03.000000Z K 7 svn:log V 73 Fix typos in comment. Submitted by: Craig Rodrigues END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-28T05:39:25.000000Z K 7 svn:log V 80 Trim left-over and unused vop_refreshlabel() bits from devfs. Reported by: bde END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-12-28T06:22:17.000000Z K 7 svn:log V 132 Add the if_bge driver. I can't find any reason why it's not here, and it's pretty common on Dell servers and other high-end boxes. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-12-28T06:23:44.000000Z K 7 svn:log V 43 Put the if_bge driver on the second floppy END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-28T08:10:29.000000Z K 7 svn:log V 36 Use VM_ALLOC_WIRED in pmap_pinit(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-28T14:58:50.000000Z K 7 svn:log V 403 Change ACPI make_dev() calls to use UID_ and GID_ constants rather than hard-coded uids and gids. Switch the device to a group of wheel instead of operator. Narrow down the permissions on the device to require root privilege to manipulate the system power state. It may be that we can broaden access to the device after review of the access control in ACPI. Submitted by: kris Reviewed by: takawata END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-12-28T15:45:38.000000Z K 7 svn:log V 68 Add support for IC Book Labs Dreadnought x16 Lite. Approved by: re END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-12-28T16:03:46.000000Z K 7 svn:log V 62 (forced) Previous delta was a subject of: MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-12-28T16:23:42.000000Z K 7 svn:log V 158 Change 'mfsroot' filename in mfsroot-small floppies from 'mfsroot-small' to 'mfsroot'. This is MFC candidate. Noticed by: Toru Morimoto END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T18:04:15.000000Z K 7 svn:log V 184 MFC 1.7. The zalloc pool's size calculation breaks if sbrk() does not return contiguous chunks of memory. The bootstrap returns contiguous chunks of memory, but other uses might not. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T18:47:53.000000Z K 7 svn:log V 59 Synchronize old rc.diskless scripts from new rc.d/ scripts END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-28T19:03:54.000000Z K 7 svn:log V 129 Two changes to kmem_malloc(): - Use VM_ALLOC_WIRED. - Perform vm_page_wakeup() after pmap_enter(), like we do everywhere else. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T19:08:11.000000Z K 7 svn:log V 100 Some Pa fixes from Tom, plus a little rearranging of the paragraph by me. Submitted by: Tom Rhodes END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-12-28T19:08:12.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T19:09:50.000000Z K 7 svn:log V 40 MFC the new development(7) manual page. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T19:49:41.000000Z K 7 svn:log V 299 MFC ELF coredump handling fixes. Do not skip read-only pages unrelated to the binary image. Use NOCORE to differentiate between the two. Introduce a debug.elf_legacy_coredump sysctl which, if set, reverts to the old behavior. See the log message in sys/kern/imgact_elf.c 1.133. PR: kern/45994 END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T20:28:10.000000Z K 7 svn:log V 100 Abstract-out the constants for the sequential heuristic. No operational changes. MFC after: 1 day END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T20:37:50.000000Z K 7 svn:log V 100 Abstract-out the constants for the sequential heuristic. No operational changes. MFC after: 1 day END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T21:03:42.000000Z K 7 svn:log V 544 Allow the VM object flushing code to cluster. When the filesystem syncer comes along and flushes a file which has been mmap()'d SHARED/RW, with dirty pages, it was flushing the underlying VM object asynchronously, resulting in thousands of 8K writes. With this change the VM Object flushing code will cluster dirty pages in 64K blocks. Note that until the low memory deadlock issue is reviewed, it is not safe to allow the pageout daemon to use this feature. Forced pageouts still use fs block size'd ops for the moment. MFC after: 3 days END K 10 svn:author V 3 hsu K 8 svn:date V 27 2002-12-28T21:09:38.000000Z K 7 svn:log V 45 Indirectly pull in declaration for M_IFADDR. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-28T21:14:44.000000Z K 7 svn:log V 85 Hold the page queues lock around calls to vm_page_flag_clear() and vm_page_wakeup(). END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T21:15:39.000000Z K 7 svn:log V 217 vm_pager_put_pages() takes VM_PAGER_* flags, not OBJPC_* flags. It just so happens that OBJPC_SYNC has the same value as VM_PAGER_PUT_SYNC so no harm done. But fix it :-) No operational changes. MFC after: 1 day END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-28T21:39:04.000000Z K 7 svn:log V 71 Remove calls to cdevsw_add(), they are dreprecated on this branch now. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-28T21:39:46.000000Z K 7 svn:log V 46 Remove cdevsw_add calls, they are deprecated. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-28T21:40:20.000000Z K 7 svn:log V 47 Remove cdevw_add() calls, they are deprecated. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-28T21:47:43.000000Z K 7 svn:log V 39 Remove unused cdevsw_ALLOCSTART macro. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-28T22:17:29.000000Z K 7 svn:log V 772 It is bad style to define the same structure in multiple header files which might be included together. Things like debuggers and lint-like programs get their knickers in a twist (rightly so one might add) when they find different locations for the same named struct depending on which .h file were included first. This is a stellar example of Very Bad Thinking on the part of the standards dudes who wrote that both sys/uio.h and sys/socket.h should define struct iovec the same way. Fix this by putting struct iovec into its own miniature sys/_iovec.h file and #include that from sys/socket.h and sys/uio.h. Sensible people could just put iovec into sys/_types.h but there is probably some standard or other which will be violated if we did something that horrible. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-28T22:27:14.000000Z K 7 svn:log V 39 KASSERT that vop_revoke() gets a VCHR. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-28T22:29:10.000000Z K 7 svn:log V 96 Allow lint-like tools to override DROP_GIANT and friends. Apply parens around macro arguments. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-28T22:47:45.000000Z K 7 svn:log V 114 - Use VM_ALLOC_WIRED. - Hold the page queues lock around calls to vm_page_flag_clear() and vm_page_wakeup(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-28T22:49:37.000000Z K 7 svn:log V 84 Assert that the page queues lock rather than Giant is held in vm_page_flag_clear(). END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-28T23:21:13.000000Z K 7 svn:log V 79 Add a tunable kern.smp.disabled for disabling explicitly smp on an smp kernel. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-28T23:22:22.000000Z K 7 svn:log V 35 Don't put a newline in KTR traces. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-28T23:33:09.000000Z K 7 svn:log V 232 Since our default boot block now supports UFS1 and UFS2 even on i386, remove the seatbelt preventing users from setting the UFS2 flag on the root file system on i386. This seatbelt did not exist on other platforms. MFC candidate. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-28T23:34:21.000000Z K 7 svn:log V 129 Pass 0 in %o1 to tl0_trap for all non-interrupt traps. This will be used to pass the pil when tl0_trap also handles interrupts. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-28T23:39:47.000000Z K 7 svn:log V 458 Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon with swapctl functionality. The idea is to create a swapctl command that is fairly close to the OpenBSD and NetBSD version. FreeBSD does not implement swap priority (and it would be a mistake if we did) so we didn't bother with that part of it. Submitted by: Eirik Nygaard Augmented by: dillon (extensively) Reviewed by: David Schultz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-28T23:41:18.000000Z K 7 svn:log V 258 Map VAPPEND to VWRITE since the ugidfw rule syntax doesn't specifically address the append access mode. Reported by: "Daniel C. Sobral" Obtained from: TrustedBSD Project Sponosred by: DARPA, Network Associates Laboratories MFC Candidate. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-28T23:57:52.000000Z K 7 svn:log V 238 - Moved storing %g1-%g5 in the trapframe until after interrupts are enabled. - Restore %g6 and %g7 for kernel traps if we are returning to prom code. This allows complex traps (ones that call into C code) to be handled from the prom. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-28T23:58:18.000000Z K 7 svn:log V 37 Forgot this file in previous commit. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-29T00:23:48.000000Z K 7 svn:log V 179 Use the meaningful mnemonics for ancillary state registers now that gas is invoked properly to understand them. %asr19 -> %gsr %asr20 -> %set_softint %asr21 -> %clear_softint END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-29T00:59:09.000000Z K 7 svn:log V 73 Use `useconds_t' instead of `u_int' or `unsigned int' where appropriate. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-29T01:07:55.000000Z K 7 svn:log V 136 o Add typedef for off_t, pid_t, and useconds_t. o Use useconds_t where appropriate. o Fix a bug in typedef for uid_t (5.0-R candidate). END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-29T01:50:22.000000Z K 7 svn:log V 56 sa_handler is in the POSIX namespace (5.0-R candidate). END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-29T03:38:48.000000Z K 7 svn:log V 113 o Fix ordering of typedefs. o Improve comment about namespace pollution. o Improve CPP style. Submitted by: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-29T07:17:06.000000Z K 7 svn:log V 173 Reduce the number of times that we acquire and release the page queues lock by making vm_page_rename()'s caller, rather than vm_page_rename(), responsible for acquiring it. END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-12-29T07:36:43.000000Z K 7 svn:log V 103 Diff-reduction WRT crypto telnet; replace "#if 0" code removed by an earlier invocation of unifdef(1). END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-12-29T08:37:11.000000Z K 7 svn:log V 142 Use memset instead of __builtin_memset. Apparently there's an inline memset in libkern which causes problems; why that's there is beyond me. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T10:32:16.000000Z K 7 svn:log V 299 There is some sort of race/deadlock which I have not identified here. It manifests itself by sendmail hanging in "fifoow" during boot on a diskless machine with sendmail disabled. Giving the sleep a 1sec timout breaks the deadlock, but does not solve the underlying problem. XXX comment applied. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T10:39:05.000000Z K 7 svn:log V 621 Vnodes pull in 800-900 bytes these days, all things counted, so we need to treat desiredvnodes much more like a limit than as a vague concept. On a 2GB RAM machine where desired vnodes is 130k, we run out of kmem_map space when we hit about 190k vnodes. If we wake up the vnode washer in getnewvnode(), sleep until it is done, so that it has a chance to offer us a washed vnode. If we don't sleep here we'll just race ahead and allocate yet a vnode which will never get freed. In the vnodewasher, instead of doing 10 vnodes per mountpoint per rotation, do 10% of the vnodes distributed evenly across the mountpoints. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T11:14:41.000000Z K 7 svn:log V 308 Save 16 bytes per mutex if MUTEX_PROFILING is not defined. MUTEX_PROFILING is in opt_global.h, so this does not introduce a risk of variant structure sizes unless foreign kernel modules are used. This saved 16 bytes per vnode and 16 bytes per vm object for a total of 4MB on a 2GB machine. Idea from: alc END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T11:18:25.000000Z K 7 svn:log V 161 Use a timeout of one second while we wait for the vnode washer, this prevents a potential race and makes the system a little bit less jerky under extreme loads. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T14:54:20.000000Z K 7 svn:log V 76 MFC: Use UMA for allocationg FFS inodes and dinodes. Approved by: rwatson END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T14:56:04.000000Z K 7 svn:log V 68 Add a couple of ioctls for modifying MBR's and the rest of sector0. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T14:59:24.000000Z K 7 svn:log V 45 Implement ioctls for tampering with sector0. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T15:01:58.000000Z K 7 svn:log V 69 Use the new sector0 munging ioctls to make boot0cfg work under GEOM. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-12-29T15:17:11.000000Z K 7 svn:log V 40 Make fdisk work on active GEOM devices. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-12-29T16:35:44.000000Z K 7 svn:log V 50 MFC: english(4) fixes, aka typos found by ispell. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-29T18:19:53.000000Z K 7 svn:log V 86 MFC Abstract-out the constants for the sequential heuristic. No operational changes. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-12-29T18:21:04.000000Z K 7 svn:log V 161 MFC use correct flag name in call to vm_pager_put_pages(). It just happened to have the same value as the previously (incorrect) name. No operational changes. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-12-29T18:30:49.000000Z K 7 svn:log V 917 Add a new vnode flag VI_DOINGINACT to indicate that a VOP_INACTIVE call is in progress on the vnode. When vput() or vrele() sees a 1->0 reference count transition, it now return without any further action if this flag is set. This flag is necessary to avoid recursion into VOP_INACTIVE if the filesystem inactive routine causes the reference count to increase and then drop back to zero. It is also used to guarantee that an unlocked vnode will not be recycled while blocked in VOP_INACTIVE(). There are at least two cases where the recursion can occur: one is that the softupdates code called by ufs_inactive() via ffs_truncate() can call vput() on the vnode. This has been reported by many people as "lockmgr: draining against myself" panics. The other case is that nfs_inactive() can call vget() and then vrele() on the vnode to clean up a sillyrename file. Reviewed by: mckusick (an older version of the patch) END K 10 svn:author V 3 knu K 8 svn:date V 27 2002-12-29T18:48:38.000000Z K 7 svn:log V 59 MFC: rev.1.7-1.8. (BSDPAN support, a pkg_version variable) END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2002-12-29T19:22:07.000000Z K 7 svn:log V 893 Add support for MPI-350 the mini-pci Cisco Aironet card. This needs more work. The interface was gleaned from the Linux driver. Currently only one RX & one TX buffer are used. Firmware support is not tested so for the MPI-350 so it is disabled. Signal cache and monitor mode are not supported yet. Signal cache is not supported since in encapsulation mode ethernet frames are returned by the chip. LAN monitor mode support will be added shortly. Thanks to Warner for the MPI-350 card he sent me. Add support for RSSI map from PR kern/32880 which was incomplete. Enhanced with the ability to select the cache mode of raw, dbm or per-cent. Clean up Signal/Noise/Quality structures and units with help from Marco Molteni. Change flash to use a malloc'ed buffer when needed. PR: kern/32880 Submitted by: Douglas S. J. De Couto decouto@pdos.lcs.mit.edu, Marco Molteni MFC: 3 weeks END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-12-29T19:34:37.000000Z K 7 svn:log V 112 Fix drift of the comment about sa_sigaction away from its code. Fix English in this comment. Submitted by: bde END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-12-29T19:52:30.000000Z K 7 svn:log V 218 MFC: new `G' and `W' flags and allow comments to be placed to the end of configuration line. Also merge in various recent mdoc fixes. This brings in the following deltas: newsyslog.c: 1.46-1.48 newsyslog.8: 1.34-1.38 END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-12-29T19:55:32.000000Z K 7 svn:log V 43 MFC: use .Nm where appropriate (rev.1.33). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:25:54.000000Z K 7 svn:log V 522 Add definitions for four new system calls: __acl_get_link() Retrieve an ACL by name without following symbolic links. __acl_set_link() Set an ACL by name without following symbolic links. __acl_delete_link() Delete an ACL by name without following symbolic links. __acl_aclcheck_link() Check an ACL against a file by name without following symbolic links. These calls are similar in spirit to lstat(), lchown(), lchmod(), etc, and will be used under similar circumstances. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:26:41.000000Z K 7 svn:log V 33 Regen from syscalls.master:1.139 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:28:44.000000Z K 7 svn:log V 297 Implement new ACL system calls which do not follow symbolic links: __acl_get_link(), __acl_set_link(), acl_delete_link(), and __acl_aclcheck_link(), with almost identical implementations to the existing __acl_*_file() variants on these calls. Update copyright. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:30:00.000000Z K 7 svn:log V 171 Provide prototypes for new ACL system calls to manipulate ACLs "by name" without following symbolic links, as well as library wrappers. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:33:26.000000Z K 7 svn:log V 78 Synchronize to kern/syscalls.master:1.139. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:47:05.000000Z K 7 svn:log V 305 Update libc POSIX.1e code and documentation to reflect: - Updated copyrights, modified dates - Remove "BUGS" entry indicating that ACLs are unimplemented - Implement acl_*_link() library wrapper variants for get, set, delete, aclvalid. - Document acl_*_link() calls. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:50:30.000000Z K 7 svn:log V 182 Update acl_set.3, missed in last round: - Update BUGS: this stuff is implemented. - Update last modified date. - Document acl_set_link_np() call. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-12-29T20:52:42.000000Z K 7 svn:log V 121 Remove BUGS section indicating that these calls are unimplemented. Update copyrights. Obtained from: TrustedBSD Project END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-12-29T21:01:14.000000Z K 7 svn:log V 222 - Remove vm_object_init2(). It is unused. - Add a mtx_destroy() to vm_object_collapse(). (This allows a bzero() to migrate from _vm_object_allocate() to vm_object_zinit(), where it will be performed less often.) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-29T21:31:45.000000Z K 7 svn:log V 62 Move the msdos.5 manual page to msdosfs.5 to be more correct. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-12-29T21:32:41.000000Z K 7 svn:log V 14 Add msdosfs.5 END K 10 svn:author V 7 wollman K 8 svn:date V 27 2002-12-29T22:28:51.000000Z K 7 svn:log V 151 Fix printf format errors on 64-bit platforms and make WARNS=5 compliant. Checked on Alpha and IA32. Reviewed by: maintainer timeout MFC after: 1 week END