ƒ¯T113454 214 699 176 171 142 151 348 212 214 146 208 188 217 163 338 459 136 123 137 299 195 150 282 227 261 208 211 310 228 471 150 210 254 223 3551 716 149 367 139 100 130 265 129 646 140 123 159 156 122 147 305 127 394 396 195 184 160 162 157 119 332 209 176 164 208 133 114 164 110 135 108 139 162 389 436 264 249 207 294 130 308 484 141 249 201 747 219 125 157 198 160 177 259 165 265 222 130 103 129 155 154 170 231 171 148 127 234 293 160 367 236 142 124 122 201 277 184 169 155 137 180 282 175 126 129 359 187 144 124 261 160 1484 123 154 300 124 174 200 237 551 226 631 795 899 189 347 336 148 178 250 166 115 118 327 121 182 914 179 263 179 194 278 173 194 176 214 195 350 127 218 129 160 183 131 115 336 146 331 238 168 139 375 256 177 302 273 187 259 244 128 299 225 116 308 172 212 123 144 267 161 133 267 161 297 232 827 177 540 255 128 151 230 253 434 173 K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-13T21:57:08.000000Z K 7 svn:log V 606 Use symbolic constants from instead of local constants. Always set the magic sequence when we write, rather than trusting the previously read boot code to do so. Use explicit encoding/decoding of little endian disk image. Remove a comment which was OBE. Change the test vector for "fdisk -I" to reflect that there is a magic sequence in the result now. Add test case for "fdisk" which reads the image back. At least for the two test-cases this program now gives the same result on sparc64 as on i386. The lack of an installed /boot/mbr on sparc64 raises an (un)interesting question. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-13T23:31:06.000000Z K 7 svn:log V 82 Add info on how to use the MBUF_STRESS_TEST options. (Only 1 option at present.) END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-13T23:31:47.000000Z K 7 svn:log V 77 Update the list of devices supported to match the driver. MFC after: 2 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-13T23:43:34.000000Z K 7 svn:log V 50 Lock some manipulations of the vm object's flags. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-14T00:36:53.000000Z K 7 svn:log V 59 Update locking on the kernel_object to use the new macros. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-14T04:19:42.000000Z K 7 svn:log V 250 * Use _bus_dmamap_load_buffer() and respect maxsegsz in bus_dmamap_load(). Ignoring maxsegsz may lead to fatal data corruption for some devices. ex. SBP-2/FireWire We should apply this change to other platforms except for sparc64. MFC after: 1 week END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-04-14T07:21:03.000000Z K 7 svn:log V 119 Reimplement the vmstat -f option (display fork statistics). PR: 50924 Submitted by: Ken Stailey (with a few changes) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-04-14T07:22:25.000000Z K 7 svn:log V 121 Uncomment the description of the -f option. Add rfork() to the list of system calls it displays stats about. PR: 50924 END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-14T08:08:17.000000Z K 7 svn:log V 54 Call biofinish() also when we get a malloc() failure. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-04-14T08:34:14.000000Z K 7 svn:log V 113 o Skip timestamp part when checking payload. PR: bin/50909 Submitted by: Barney Wolff END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-14T08:49:54.000000Z K 7 svn:log V 96 More correct patch: Only call biofinish if we have not already sent any children down the mesh. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-04-14T08:58:02.000000Z K 7 svn:log V 122 MFC revs. 1.3, 1.5, 1.6: o mdoc(7) tidy up. o Typos and whitespace cleanup. o Add em(4) to the list of supported drivers. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-14T09:36:39.000000Z K 7 svn:log V 71 Avoid off_t -> integer overflow when sorting the locksector addresses. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-04-14T09:45:25.000000Z K 7 svn:log V 241 Before attaching device set PCIM_CMD_PORTEN in addition to PCIM_CMD_MEMEN and PCIM_CMD_BUSMASTEREN, becaise some braindead BIOSes (such as one found in my vprmatrix notebook) forget to initialize it properly resulting in attachment failure. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-04-14T11:24:53.000000Z K 7 svn:log V 366 Fix a bug where printf was erroneously printing a decimal point for %f and sufficiently short %g specifiers where the precision was explicitly zero, no '#' flag was specified, and the floating point argument was > 0 and <= 0.5. While at it, add some comments to better explain the relevant bits of code. Noticed by: Christoph Kukulies END K 10 svn:author V 3 das K 8 svn:date V 27 2003-04-14T11:26:32.000000Z K 7 svn:log V 44 Add a test case for printf("%5.0f", 0.001). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-04-14T12:15:59.000000Z K 7 svn:log V 31 Merge in vfprintf.c rev. 1.58. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-04-14T12:41:37.000000Z K 7 svn:log V 43 MFC rev. 1.22: fix 'ipfw show' formatting. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-14T13:21:40.000000Z K 7 svn:log V 201 Restore delayed load support for the resource shortage case. It was missed in the previous change. Now, _bus_dmamap_load_buffer() accepts BUS_DMA_WAITOK/BUS_DMA_NOWAIT flags. Original idea from: jake END K 10 svn:author V 5 ticso K 8 svn:date V 27 2003-04-14T14:04:08.000000Z K 7 svn:log V 100 add EHCI (USB 2.0) controller support. Approved by: joe gallatin (mentor) Obtained from: NetBSD END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-14T14:17:49.000000Z K 7 svn:log V 53 Panic if bus_dmamap_load() doesn't respect maxsegsz. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2003-04-14T14:28:17.000000Z K 7 svn:log V 187 Use a sim for each device on it's own instead of one for all umass devices. This reduces complexity and fixes a number of small problems. Approved by: gallatin (mentor) Reviewed by: njl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-14T14:36:19.000000Z K 7 svn:log V 134 MFS: Fix booting on 80386 machines. CD vendor's may want to re-roll their own release to include this fix. Approved by: re (murray) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-04-14T14:44:36.000000Z K 7 svn:log V 165 Use while (*controlp != NULL) instead of do ... while (*control != NULL) There are valid cases where *controlp will be NULL at this point. Discussed with: dwmalone END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-14T14:46:13.000000Z K 7 svn:log V 116 kbdcontrol.c rev. 1.35 and onwards support the KEYMAP_PATH environment variable, and don't need to be bootstrapped. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-04-14T15:50:04.000000Z K 7 svn:log V 114 Use pci_enable_{busmaster|io}() instead of directly writing into PCI configuration register. Submitted by: mdodd END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-14T16:04:10.000000Z K 7 svn:log V 213 Use MBTOM() to convert mbuf allocator flags to malloc() flags, rather than using the same compare/substitute in many places. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-14T17:36:29.000000Z K 7 svn:log V 132 Add CPUTYPE support for "athlon-tbird", as GCC makes the distinction. PR: 50801 Submitted by: Glenn Johnson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-14T18:11:18.000000Z K 7 svn:log V 374 Abstract access to the mbuf header label behind a new function, mbuf_to_label(). This permits the vast majority of entry point code to be unaware that labels are stored in m->m_pkthdr.label, such that we can experiment storage of labels elsewhere (such as in m_tags). Reviewed by: sam Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-14T18:12:05.000000Z K 7 svn:log V 57 MFC: Add another backslash ('\'). (rev 1.20). PR: 49119 END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-14T18:24:38.000000Z K 7 svn:log V 115 Range check arguments to get_struct() to avoid crashing. PR: misc/42135 Submitted by: Randy Zach END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-04-14T19:51:36.000000Z K 7 svn:log V 156 Correct style bugs. Don't skip zombies in cputime(), according to Bruce, zombie CPU times are valid. Adjust array size in strftime(3). Submitted by: Bruce END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-04-14T20:10:35.000000Z K 7 svn:log V 128 MFC part of rev 1.20 disk is a char * not an integer. PR: 39868 Submitted by: Dan Lukes Reviewed by: iedowse END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-14T20:39:06.000000Z K 7 svn:log V 3453 Move MAC label storage for mbufs into m_tags from the m_pkthdr structure, returning some additional room in the first mbuf in a chain, and avoiding feature-specific contents in the mbuf header. To do this: - Modify mbuf_to_label() to extract the tag, returning NULL if not found. - Introduce mac_init_mbuf_tag() which does most of the work mac_init_mbuf() used to do, except on an m_tag rather than an mbuf. - Scale back mac_init_mbuf() to perform m_tag allocation and invoke mac_init_mbuf_tag(). - Replace mac_destroy_mbuf() with mac_destroy_mbuf_tag(), since m_tag's are now GC'd deep in the m_tag/mbuf code rather than at a higher level when mbufs are directly free()'d. - Add mac_copy_mbuf_tag() to support m_copy_pkthdr() and related notions. - Generally change all references to mbuf labels so that they use mbuf_to_label() rather than &mbuf->m_pkthdr.label. This required no changes in the MAC policies (yay!). - Tweak mbuf release routines to not call mac_destroy_mbuf(), tag destruction takes care of it for us now. - Remove MAC magic from m_copy_pkthdr() and m_move_pkthdr() -- the existing m_tag support does all this for us. Note that we can no longer just zero the m_tag list on the target mbuf, rather, we have to delete the chain because m_tag's will already be hung off freshly allocated mbuf's. - Tweak m_tag copying routines so that if we're copying a MAC m_tag, we don't do a binary copy, rather, we initialize the new storage and do a deep copy of the label. - Remove use of MAC_FLAG_INITIALIZED in a few bizarre places having to do with mbuf header copies previously. - When an mbuf is copied in ip_input(), we no longer need to explicitly copy the label because it will get handled by the m_tag code now. - No longer any weird handling of MAC labels in if_loop.c during header copies. - Add MPC_LOADTIME_FLAG_LABELMBUFS flag to Biba, MLS, mac_test. In mac_test, handle the label==NULL case, since it can be dynamically loaded. In order to improve performance with this change, introduce the notion of "lazy MAC label allocation" -- only allocate m_tag storage for MAC labels if we're running with a policy that uses MAC labels on mbufs. Policies declare this intent by setting the MPC_LOADTIME_FLAG_LABELMBUFS flag in their load-time flags field during declaration. Note: this opens up the possibility of post-boot policy modules getting back NULL slot entries even though they have policy invariants of non-NULL slot entries, as the policy might have been loaded after the mbuf was allocated, leaving the mbuf without label storage. Policies that cannot handle this case must be declared as NOTLATE, or must be modified. - mac_labelmbufs holds the current cumulative status as to whether any policies require mbuf labeling or not. This is updated whenever the active policy set changes by the function mac_policy_updateflags(). The function iterates the list and checks whether any have the flag set. Write access to this variable is protected by the policy list; read access is currently not protected for performance reasons. This might change if it causes problems. - Add MAC_POLICY_LIST_ASSERT_EXCLUSIVE() to permit the flags update function to assert appropriate locks. - This makes allocation in mac_init_mbuf() conditional on the flag. Reviewed by: sam Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-14T21:45:12.000000Z K 7 svn:log V 619 Add MAC_ALWAYS_LABEL_MBUF to options; this permits the administrator to force the allocation of MAC labels for all mbufs regardless of whether a configured policy requires labeling when the mbuf is allocated. This can be useful it you anticipate loading a fully labeled policy after boot and don't want mbufs to exist without label storage, for performance measurement purposes, etc. It also slightly lowers the overhead of m_tag labeling due to removing the decision logic. While here, improve commenting of other MAC options. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-04-15T01:16:05.000000Z K 7 svn:log V 57 Update locking on the kmem_object to use the new macros. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T02:14:43.000000Z K 7 svn:log V 272 Add another MBUF_STRESS_TEST feature, m_defragrandomfailures. When enabled, this causes m_defrag to randomly return NULL (following its normal failure case so that extra memory leaks are not introduced.) Code similar to this was used to find / fix a few bugs last week. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T02:26:13.000000Z K 7 svn:log V 45 Add a description of m_defragrandomfailures. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-15T03:11:03.000000Z K 7 svn:log V 9 style(9) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-15T03:29:21.000000Z K 7 svn:log V 37 New release note: 80386 kernel fix. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-15T03:41:54.000000Z K 7 svn:log V 167 MFC - Set PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN. - Fix byte order problem. - Initialize ATRetries register. - Panic if bus_dmamap_load() doesn't respect maxsegsz. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-15T03:46:23.000000Z K 7 svn:log V 36 New errata: 80386 booting problem. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T04:06:01.000000Z K 7 svn:log V 551 Rework the rl_encap failure case. Previously, we would stuff the unencapsulated packet back into the IFQ. Unfortunately, the only reason rl_encap would fail was due to m_defrag failing, which should only happen when we're low on mbufs. Hence, it was possible for us to end up with an IFQ full of packets which could never clear the queue because they could never be defragmented because they were themselves taking up all the mbufs. To solve this, take if_xl's approach to the problem of encapsulation failure: drop the packet. MFC after: 3 days END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-15T04:08:01.000000Z K 7 svn:log V 46 Express bus dependency a little more clearly. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-15T04:19:49.000000Z K 7 svn:log V 29 Add a module version number. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-04-15T05:15:50.000000Z K 7 svn:log V 67 Fix a warning about deprecated string literals. Reviewed by: diff END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T05:58:14.000000Z K 7 svn:log V 62 MFC rev 1.111; allow m_dup_pkthdr to accept mbufs w/clusters. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-15T06:12:12.000000Z K 7 svn:log V 28 Decode a few more syscalls. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T06:15:02.000000Z K 7 svn:log V 53 MFC m_defrag uipc_mbuf.c rev 1.112 mbuf.h rev 1.117 END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-15T06:25:58.000000Z K 7 svn:log V 210 Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.) END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T06:33:07.000000Z K 7 svn:log V 33 MFC the MBUF_STRESS_TEST option. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-15T06:36:38.000000Z K 7 svn:log V 302 Makefile.inc1 rev. 1.341 broke release.5 -- the fuss with MAKEFLAGS here interferenced with one in Makefile.inc1. Since we can't avoid the jugglery in Makefile.inc1 (we want -m /usr/src/tools/build/mk to come first, before any other -m specified on the command line), avoid it here. Reported by: imp END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-15T06:37:30.000000Z K 7 svn:log V 301 - Express hard dependencies on bus (pci, isa, pccard) and network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.) END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T06:44:45.000000Z K 7 svn:log V 100 MFC the MBUF_STRESS_TEST code relating to net.inet.ip.mbuf_frag_size revisions 1.187, 1.180, 1.179 END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-15T06:51:04.000000Z K 7 svn:log V 93 A version of in RELENG_4 doesn't have 64-bit functions. Spotted by: simokawa END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-04-15T06:59:29.000000Z K 7 svn:log V 66 MFC MBUF_STRESS_TEST option m_defragrandomfailure revision 1.116 END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-15T09:14:14.000000Z K 7 svn:log V 71 Fixed dofs_vn(): previous revision ran ``rm -f /dev/*vnn*'' too early. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-15T09:54:19.000000Z K 7 svn:log V 66 Don't play with MAKEFLAGS in one other place too; it's dangerous. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-15T14:27:21.000000Z K 7 svn:log V 28 Sync usage() with SYNOPSIS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-15T14:37:35.000000Z K 7 svn:log V 240 Finish the MFC of the -C option, as it is currently in HEAD. The -C option's behavior still has an issue of not affecting the value of .CURDIR and .OBJDIR variables, as it should be. This will be addressed later. PR: bin/47149, bin/50981 END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-15T14:40:55.000000Z K 7 svn:log V 117 Fixed spelling of automatic snapshots' names to be 4.8-STABLE. Submitted by: "Igor B. Bykhalo" END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-15T15:42:10.000000Z K 7 svn:log V 80 Add a manual page for the ntp_adjtime syscall. PR: 32674 Reviewed by: phk, ru END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-04-15T15:42:11.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-15T16:29:39.000000Z K 7 svn:log V 115 Sync up with changes to ptrace() and use P_SHOULDSTOP instead of a duplicate P_TRACED check. Submitted by: marcel END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-04-15T17:23:32.000000Z K 7 svn:log V 40 MFC: add manpage for sbni device driver END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-04-15T17:26:28.000000Z K 7 svn:log V 21 cosmetic style fixes END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-04-15T17:26:29.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-04-15T18:11:19.000000Z K 7 svn:log V 17 MFC: if_printf() END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-04-15T18:15:08.000000Z K 7 svn:log V 42 MFC: Driver for Granch SBNI16 SHDSL modem END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-15T18:24:28.000000Z K 7 svn:log V 12 MFC: disc.4 END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-04-15T18:49:20.000000Z K 7 svn:log V 42 Revert the zombie part of previous commit END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-04-15T18:59:22.000000Z K 7 svn:log V 70 Remove the only varargs.h consumer in the tree. Use stdarg.h instead. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-15T19:33:23.000000Z K 7 svn:log V 292 mac_init_mbuf_tag() accepts malloc flags, not mbuf allocator flags, so don't try and convert the argument flags to malloc flags, or we risk implicitly requesting blocking and generating witness warnings. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-15T19:38:18.000000Z K 7 svn:log V 343 When the driver allocates memory or I/O ports, enable that bit in the command config register. At the present, this represents a nop because these bits should have been set earlier in the process. In the future, we'll only set these bits when the driver requests the resource, not when the bus code detects the resource. Reviewed by: mdodd END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-15T19:43:52.000000Z K 7 svn:log V 167 Improve consistency, ordering, style of options: - Remove extra blank lines - Sort options - Remove comments that belong in NOTES Submitted by: bde (older revision) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-15T20:21:56.000000Z K 7 svn:log V 156 Remove empty simulator options section and add an ABI emulation section. Add COMPAT_OSF1, COMPAT_LINUX, and LINPROCFS options to the ABI emulation section. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-15T20:49:48.000000Z K 7 svn:log V 110 Re-add MUTEX_DEBUG and MUTEX_PROFILING, which got hosed by rejected chunks from bde's patch. Spotted by: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-15T20:51:18.000000Z K 7 svn:log V 197 Enable the MAC_ALWAYS_LABEL_MBUF flag for the Biba, LOMAC, MLS, and Test policies. Missed in earlier merge. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-15T20:59:43.000000Z K 7 svn:log V 38 NO_COMPAT_FREEBSD4 is no longer used. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-15T21:03:19.000000Z K 7 svn:log V 215 Add an example of how to use the -m option that clarifies how the bits in the mask correspond to slice numbers. Also, clarify the description of the existing example. Requested by: Larry Rosenman END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-15T21:20:34.000000Z K 7 svn:log V 387 Modify mac_test policy to invoke WITNESS_WARN() when a potentially blocking allocation could occur as a result of a label initialization. This will simulate the behavior of allocated label policies such as MLS and Biba when running mac_test from the perspective of WITNESS lock and sleep warnings. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-04-15T21:21:36.000000Z K 7 svn:log V 49 Add a note about the work I did for fxp(4) here. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-15T21:29:11.000000Z K 7 svn:log V 156 Bump the config version to force people to upgrade their config(8) so the fix for emitting multiple instances of .o files will prevent link errors on LINT. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-15T21:48:40.000000Z K 7 svn:log V 104 Catch this file up with rc.conf(5). Submitted by: Simon L. Nielsen (original version) END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-04-15T23:46:19.000000Z K 7 svn:log V 653 - Use read(2) to get the existing sunlabel on a disk, instead of parsing kern.geom.conftxt, which md disks don't show up in. If the magic and the checksum are right assume its a valid sunlabel, otherwise use the DIOC ioctls to get the disk parameters and whip up a label out of thin air. - Don't just silently create or correct invalid c partitions, warn about invalid ones in label proto files. - Split checksumming into a function since we do it a couple times. Also don't include the sl_cksum field in the checksum, which avoids needing to clear it first. This is makes sunlabel a suitable replacement for disklabel in make release. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-04-15T23:49:31.000000Z K 7 svn:log V 125 Hardlink sunlabel to disklabel so make release is happy. (This only affects sparc64, where bsd^H^H^Hdisklabel isn't built.) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-04-16T01:29:08.000000Z K 7 svn:log V 30 Add the EHCI host controller. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-04-16T02:13:21.000000Z K 7 svn:log V 61 Update for the two most recent newsletters from ISO 3166/MA. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-04-16T02:18:30.000000Z K 7 svn:log V 104 Clarify that holidays are US holidays. Many conflict with similarly named holidays in other countries. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-04-16T02:19:27.000000Z K 7 svn:log V 67 Clarify US events which may not be so obvious to non-US Americans. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-16T03:15:08.000000Z K 7 svn:log V 83 Return status for PCI methods '{enable,disable}_{io,busmaster}'. Reviewed by: imp END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-16T03:16:57.000000Z K 7 svn:log V 164 - Don't call pci_enable_io() in drivers (unless needed for resume). - Don't test memory/port status and emit an error message; the PCI bus code will do this now. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-16T05:03:35.000000Z K 7 svn:log V 68 Fix bogus maxsegsz parameter for bus_dma_tag_create(). MFC: 1 week END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-16T06:27:39.000000Z K 7 svn:log V 170 - Set if_unit, if_init, and ifq_maxlen. - Remove unnecessary initializations; ether_ifattach() takes care of them. - Change function argument types to avoid nasty casts. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-16T06:51:26.000000Z K 7 svn:log V 127 - Remove a block of code I missed in the previous commit. - Call tl_ifmedia_upd() in tl_init() for cards with bitrate devices. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-04-16T08:30:10.000000Z K 7 svn:log V 38 Fix a panic with Cenatek controllers. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-04-16T08:30:40.000000Z K 7 svn:log V 11 Cosmetics. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-04-16T09:16:55.000000Z K 7 svn:log V 33 Update comment to match reality. END K 10 svn:author V 8 sumikawa K 8 svn:date V 27 2003-04-16T09:53:29.000000Z K 7 svn:log V 58 Use NI_xxx macros. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-16T09:59:40.000000Z K 7 svn:log V 63 MFC: 1.278: Don't make buildworld and buildkernel in parallel. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-16T10:02:37.000000Z K 7 svn:log V 79 MFC: 1.44: Further fix the syntax by ignoring empty and whitespace-only lines. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-16T11:01:51.000000Z K 7 svn:log V 139 MFC: If NO_MAILWRAPPER is set, and sendmail is still enabled, then install a direct symlink from mailwrapper to sendmail. PR: conf/29699 END K 10 svn:author V 8 sumikawa K 8 svn:date V 27 2003-04-16T11:21:12.000000Z K 7 svn:log V 74 Make character buffer more bigger. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-16T11:28:45.000000Z K 7 svn:log V 57 Create the whatis(1) database in /usr/share/openssl/man. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-16T11:54:11.000000Z K 7 svn:log V 36 Normalize, fix ``make checkdpadd''. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-16T12:06:53.000000Z K 7 svn:log V 142 There is an undocument feature that ``route -vnd flush'' prints a nice dump of the entire routing table. Allow non-root users to see it too. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-16T12:11:01.000000Z K 7 svn:log V 201 There is no format(8) manual page available, but it would be really nice to have, now that we have different semantics of initializing disks on systems with BSD labels, SUN labels, and GPT partitions. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-04-16T13:18:27.000000Z K 7 svn:log V 66 Remove some code that managed to escape from my local repository. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-04-16T13:50:52.000000Z K 7 svn:log V 274 "Fixed" LDADD by backing out part of the previous commit. -lfoo in LDADD is not wrong, but the simple substitution in `make checkdpadd' doesn't work if foo.a is not an installed library, so we use the full path to foo.a in both DPADD and LDADD for non-installed libraries. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-04-16T14:53:51.000000Z K 7 svn:log V 143 Backed out previous commit. Use ${LIBMROUTED} in LDADD again instead of hard-coding a path to the library that is wrong in some corner cases. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T15:19:55.000000Z K 7 svn:log V 50 Remove an unused variable so this compiles again. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T15:24:17.000000Z K 7 svn:log V 32 Remove another unused variable. END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-16T15:52:20.000000Z K 7 svn:log V 29 Remove the register keyword. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-16T16:04:05.000000Z K 7 svn:log V 107 Update puc(4) supported hardware. PR: 50928 Submitted by: Gavin Atkinson END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-16T16:27:23.000000Z K 7 svn:log V 184 o Add a script to start jails on boot. o Hook it up to the build Approved by: markm (mentor) Submitted by: Clement Laforet (modified) Prodded by: mike END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-16T16:29:51.000000Z K 7 svn:log V 92 Add new knobs for controlling jails in rc.d and document them. Approved by: makrm (mentor) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-04-16T16:44:00.000000Z K 7 svn:log V 77 Fix typo (and make it more explicit/self-documenting). Noticed by: gshapiro END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-16T17:29:00.000000Z K 7 svn:log V 62 Get rid of COMPAT_OLDISA and move in the direction of newbus. END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-16T17:42:38.000000Z K 7 svn:log V 44 Add locking and remove all the spl() calls. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T19:28:13.000000Z K 7 svn:log V 88 Fix some debug macros. Either missing close parens or close parens in the wrong place. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T19:46:26.000000Z K 7 svn:log V 189 Fix multiple printf warnings on Alpha: - Prefer long long to quad_t to match printf args. - Use uintmax_t and %j to print segsz_t and vm_size_t values. - Fix others in Alpha-specific code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T20:04:47.000000Z K 7 svn:log V 83 Assume a struct thread *td instead of a struct proc *p in the debug printf macros. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T20:05:42.000000Z K 7 svn:log V 34 Fix printf args in debug printfs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T20:07:48.000000Z K 7 svn:log V 37 Fix printf format in a debug printf. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-16T20:40:34.000000Z K 7 svn:log V 262 Clarify the relationship between the MAC library APIs and POSIX.1e: they resemble one another, but POSIX.1e interfaces were not sufficiently expressive to do what we needed. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T20:43:10.000000Z K 7 svn:log V 95 Explicitly cast a l_ulong to an unsigned long to make all arch's happy with the printf format. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-16T20:46:30.000000Z K 7 svn:log V 52 Include instead of END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-16T20:57:35.000000Z K 7 svn:log V 32 Don't include END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-16T21:05:06.000000Z K 7 svn:log V 168 Rename KRNLSRCDIR to KERNSRCDIR and allow it to be overridden. The name change was to be consistent with other overridable variables such as KERNCONFDIR and KERNCONF. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-16T21:09:41.000000Z K 7 svn:log V 68 Cut&Paste considered far too easy: Don't include END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-17T03:38:03.000000Z K 7 svn:log V 1385 MFp4(simokawa_firewire): Many internal structure changes for the FireWire driver. - Compute CRC in CROM parsing. - Add support for configuration ROM build. - Simplify dummy buffer handling. - busdma conversion - Use swi_taskqueue_giant for -current. Mark the interrupt routine as MPSAFE. - AR buffer handling. Don't reallocate AR buffer but just recycle it. Don't malloc and copy per packet in fwohci_arcv(). Pass packet to fw_rcv() using iovec. Application must prepare receiving buffer in advance. - Change fw_bind API so that application should pre-allocate xfer structure. - Add fw_xfer_unload() for recycling struct fw_xfer. - Add post_busreset hook - Remove unused 'sub' and 'act_type' in struct fw_xfer. - Remove npacket from struct fw_bulkxfer. - Don't call back handlers in fwochi_arcv() if the packet has not drained in AT queue - Make firewire works on big endian platform. - Use native endian for packet header and remove unnecessary ntohX/htonX. - Remove FWXFERQ_PACKET mode. We don't use it anymore. - Remove unnecessary restriction of FWSTMAXCHUNK. - Don't set root node for phy config packet if the root node is not cycle master capable but set myself for root node. We should be the root node after next bus reset. Spotted by: Yoshihiro Tabira - Improve self id handling Tested on: i386, sparc64 and i386 with forced bounce buffer END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-17T03:39:27.000000Z K 7 svn:log V 26 Add dev/firewire/fwdma.c. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-04-17T03:46:09.000000Z K 7 svn:log V 57 We don't need "device fwohci" in the kernel config file. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-04-17T03:51:06.000000Z K 7 svn:log V 203 Revert url.c:1.2: there was a race condition between when I produced the fix and when I committed it -- in between the two, DES committed a different fix, rendering this fix unneeded. Requested by: des END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-17T06:04:44.000000Z K 7 svn:log V 31 NO_COMPAT_FREEBSD4 is no more. END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-17T06:06:54.000000Z K 7 svn:log V 81 Move the ex, ie, plip and sl drivers to drivers.flp, so that kern.flp fit again. END K 10 svn:author V 8 sumikawa K 8 svn:date V 27 2003-04-17T07:20:00.000000Z K 7 svn:log V 102 Buffer size is not enough in the previous commit. Use 128. Pointed out by: nectar MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-17T07:39:03.000000Z K 7 svn:log V 144 Separate the encoding/decoding functions for struct disklabel into a separate source file which can be used from both kernel and userland code. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-04-17T08:36:52.000000Z K 7 svn:log V 454 Revert part of revision 1.97 by calling dc_stop() unconditionally in dc_detach() instead of only calling it if the hardware is preset. This is a workaround for page faults in softclock() after a `dc' device was detached, caused by not disabling a timer before freeing its memory. The bus_child_present() checks should probably be re-added later, but only to avoid the hardware accesses and not the other resource cleanups in dc_stop(). Approved by: njl END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-17T08:41:08.000000Z K 7 svn:log V 133 These two files fell off during my previous commit: put the encoding decoding functions for struct disklabel in a separate .c file. END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-04-17T09:56:05.000000Z K 7 svn:log V 537 * Add explicit conflict-checking to the package tools. Packages can register a list of other packages with which they conflict (via the -C option to pkg_create), and they will refuse to install (unless -f is specified) if one of the listed packages is already present. * Update documentation for the new feature as well as fleshing out some existing documentation. * Bump PKG_INSTALL_VERSION so this feature can be tested for. Submitted by: Sergey Matveychuk PR: bin/47145 MFC after: 2 weeks END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-17T14:14:22.000000Z K 7 svn:log V 699 = Implement name service switch modules (NSS modules). NSS modules may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/initialized at configuration time (i.e. when nsdispatch is called and nsswitch.conf is read or re-read). = Make the nsdispatch(3) core thread-safe. = New status code for nsdispatch(3) `NS_RETURN', currently used to signal ERANGE-type issues. = syslog(3) problems, don't warn/err/abort. = Try harder to avoid namespace pollution. = Implement some shims to assist in porting NSS modules written for the GNU C Library nsswitch interface. Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-17T14:15:26.000000Z K 7 svn:log V 803 = Implement thread-safe versions of the getpwent(3) and getgrent(3) family of functions using the new nsdispatch(3) core. Remove arbitrary size limits when using the thread-safe versions. = Re-implement the traditional getpwent(3)/getgrent(3) functions on top of the thread-safe versions. = Update the on-disk format of the hashed version of the passwd(5) databases to allow for versioned entries. The legacy version is `3'. (Don't ask.) = Add support for version `4' entries in the passwd(5) database. Entries in this format are identical to version 3 entries except that all integers are stored as 32-bit integers in network byte order (big endian). = pwd_mkdb is updated to generate both version 3 and version 4 entries. Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-17T14:18:53.000000Z K 7 svn:log V 94 Bump __FreeBSD_version for new NSS implementation; addition of getpw*_r, getgr*_r interfaces. END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-04-17T15:04:11.000000Z K 7 svn:log V 252 Perform warm or cold reset AC97 per the spec depending on state of the codec during initialization. This code mirrors the reset code used on the VIA82c686 and fixes a codec initialization failure (SoundMAX AD1885) reported by Matthias Schuendehuette. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-04-17T15:06:28.000000Z K 7 svn:log V 241 Unbreak vinum, iostat and systat on sparc64 by changing the devstat generation number back to a long (sizeof(u_int) != sizeof(long) on sparc64). The alternative would have been to heavily change the libdevstat API. Discussed with: phk, ken END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-17T15:39:12.000000Z K 7 svn:log V 52 Pre-content whitespace commit. Discussed with: bde END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-17T15:42:30.000000Z K 7 svn:log V 85 Put the spl calls back until we are sure that everything that they cover are locked. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-17T15:43:59.000000Z K 7 svn:log V 156 New release notes: ehci, pam_chroot(8), uudecode(1)/b64decode(1) -r, vmstat(8) -f, gdtoa 20030324, lukemftpd 20030122, pkg_create(1) -C conflict checking. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-17T15:44:22.000000Z K 7 svn:log V 70 Add some tunable descriptions. Submitted by: hmp Discussed with: bde END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-17T17:36:31.000000Z K 7 svn:log V 19 Quick grammar fix. END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-17T17:45:58.000000Z K 7 svn:log V 25 Add locking to wlinit(). END K 10 svn:author V 4 jhay K 8 svn:date V 27 2003-04-17T17:51:24.000000Z K 7 svn:log V 233 Get wlread() closer to working. Use m->m_len as the initial value for bytes_in_mbuf rather than MCLBYTES. Add the ethertnet header to the front of the mbuf. Adjust bytes_in_mbuf inside the loop that reads the packet out of the card. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-17T17:56:34.000000Z K 7 svn:log V 25 Reduce diffs to CURRENT. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-04-17T18:39:30.000000Z K 7 svn:log V 86 Add a manual page for the ntp_gettime syscall. Reviewed by: ru, phk (older version). END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-04-17T20:32:06.000000Z K 7 svn:log V 821 Revise attach/detach resource cleanup - Unconditionally call *_stop() if device is in the tree. This is to prevent callouts from happening after the device is gone. Checks for bus_child_present() should be added in the future to keep from touching potentially non-existent hardware in *_detach(). Found by iedowse@. - Always check for and free miibus children, even if the device is not in the tree since some failure cases could have gotten here. - Call ether_ifdetach() in the irq setup failure case - ti(4), xl(4): move ifmedia_init() calls to the beginning of attach so that ifmedia_removeall() can be unconditionally called on detach. There is no way to detect whether ifmedia has been initialized without using a separate variable (as tl(4) does). - Add comments to indicate assumptions of code path END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T21:57:16.000000Z K 7 svn:log V 87 Protect the per-process UAC field with the proc lock where it isn't already protected. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T21:58:45.000000Z K 7 svn:log V 170 P_SHOULDSTOP used to be p_stat == SSTOP and needed the sched_lock, now it is protected by the proc lock and doesnt' need sched_lock, so adjust the locking appropriately. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:01:01.000000Z K 7 svn:log V 87 Adjust a KTR trace to log thread state instead of proc state as that is more relevant. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:02:47.000000Z K 7 svn:log V 101 Use local struct proc variables to reduce repeated td->td_proc dereferences and improve readability. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:06:43.000000Z K 7 svn:log V 185 - Remove garbage SIGSETOR() that snuck into struct sigpending_args definition. - Use the proper constant for the last arg to kern_sigaction() in osigvec() instead of a magic value. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:07:56.000000Z K 7 svn:log V 81 Don't hold the proc lock while performing sigset conversions on local variables. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:09:08.000000Z K 7 svn:log V 101 The proc lock is sufficient to test p_state against PRS_ZOMBIE, so don't needlessly lock sched_lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:12:12.000000Z K 7 svn:log V 84 Add a proc lock assertion and move another assertion up to the top of the function. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:13:46.000000Z K 7 svn:log V 121 - P_SHOULDSTOP just needs proc lock now, so don't acquire sched_lock unless it is needed. - Add a proc lock assertion. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:14:30.000000Z K 7 svn:log V 102 Protect p_flag with the proc lock. The sched_lock is not needed to turn off P_STOPPED_SIG in p_flag. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:16:58.000000Z K 7 svn:log V 257 - Use a local variable to close a minor race when determining if the wmesg printed out needs a prefix such as when a thread is blocked on a lock. - Use another local variable to close another race for the td_wmesg and td_wchan members of struct thread. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:17:28.000000Z K 7 svn:log V 35 Remove a couple of unused symbols. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:18:07.000000Z K 7 svn:log V 125 Don't drop the proc lock just to reacquire it after a few simple assignment statements. Just hold the lock the entire time. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:19:47.000000Z K 7 svn:log V 37 Add some missing proc mutex unlocks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:20:30.000000Z K 7 svn:log V 68 Hold the proc lock across a wider range of fields that it protects. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:21:05.000000Z K 7 svn:log V 91 Test the P_WEXIT flag while already hold the proc lock instead of right after dropping it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:21:57.000000Z K 7 svn:log V 39 Protect td_sigmask with the proc lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:22:47.000000Z K 7 svn:log V 23 Adjust a few comments. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:24:59.000000Z K 7 svn:log V 243 - Push Giant down into the fork1() function a small bit. - Set p_acflag earlier while already hold the proc lock in fork1(). - Mark the realitexpire() callout MPSAFE for new processes. It was already marked safe for proc0 a long while ago. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:25:35.000000Z K 7 svn:log V 54 Add some locking in for a few proc and thread fields. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:26:53.000000Z K 7 svn:log V 238 - The prison mutex cannot possibly protect pointers to the prison it protects, so don't bother locking it while we assign it to a ucred's cr_prison. - Fully construct the new credential for a process before assigning it to p_ucred. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:28:28.000000Z K 7 svn:log V 145 fork1() already sets PS_INMEM, so don't set it again. This lets us push sched_lock down slightly so that it isn't needed in the RFSTOPPED case. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:28:58.000000Z K 7 svn:log V 76 Use TD_IS_RUNNING() instead of thread_running() in the adaptive mutex code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:29:23.000000Z K 7 svn:log V 47 Lock the sched_lock while setting TDF_INPANIC. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:30:43.000000Z K 7 svn:log V 282 Don't assume that p_session hasn't changed out from under us after unlocking the process and session. Instead, cache a true reference to the session when we do the hold and release our reference on that session. This avoids the need for the proc lock when dropping the reference. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:31:54.000000Z K 7 svn:log V 163 The sched_lock is not needed while clearing two of the P_STOPPED bits in p_flag. Also, the proc lock can't be recursed, so simplify an older proc lock assertion. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:33:04.000000Z K 7 svn:log V 85 Tweak locking in the PS_XCPU handler to hold the sched_lock while reading p_runtime. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:36:40.000000Z K 7 svn:log V 209 - Use a local struct proc variable to improve readability. - Use a local variable to close a minor race when determining if the wmesg printed out needs a prefix such as when a thread is blocked on a lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:37:48.000000Z K 7 svn:log V 180 - kthread's don't have p_textvp set to anything, so replace code that dealt with that possibility with a KASSERT(). - No need to set P_SYSTEM, kthread_create() does that for us. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-17T22:38:27.000000Z K 7 svn:log V 95 suser() does not need the proc lock, just the setting of P_PROTECTED in p_flag needs the lock. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-04-17T22:39:32.000000Z K 7 svn:log V 166 Fixed an err() format error in rev.1.1. This should have been fatal since WARNS was high in rev.1.1, but __printf0like() has been temporarily disabled for 9 months. END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-04-18T00:16:13.000000Z K 7 svn:log V 148 Add a thread_unlink() and use it. It could also be used twice in kern_thr.c but that's owned by jeff so I'l let him change it when he's next there. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-04-18T00:31:48.000000Z K 7 svn:log V 35 MFC: uudecode(1)/b64decode(1) -r. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T01:00:37.000000Z K 7 svn:log V 203 The default if nsswitch.conf(5) is not present is supposed to be the hated `compat' source, not `files'. Reported by: Philip Paeps Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-04-18T01:25:41.000000Z K 7 svn:log V 127 The sendmail binary now has a reasonable default for MaxMimeHeaderLength built in. No need to set it here. MFC after: 1 week END K 10 svn:author V 3 jwd K 8 svn:date V 27 2003-04-18T02:30:40.000000Z K 7 svn:log V 24 continuation not needed END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-04-18T02:38:10.000000Z K 7 svn:log V 212 - Convert NetBSD-derived macros to inline functions for better type-checking and future debug code. - Remove sparse addressing hack, since the only consumer, the macio ATA driver, doesn't require it anymore. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-04-18T02:42:27.000000Z K 7 svn:log V 77 Remove sparse addressing hack. The macio ATA driver no longer requires this. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-04-18T02:43:23.000000Z K 7 svn:log V 116 Vastly simplify the macio ATA attachment, now that the register file indirection is handled in the ATA common code. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-04-18T02:46:12.000000Z K 7 svn:log V 28 Remove sparse address hack. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-04-18T02:47:12.000000Z K 7 svn:log V 49 Remove reference to ata resource in print_child. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-18T03:57:22.000000Z K 7 svn:log V 171 Vendor import revision 1.39 of 8010.h (we renamed the file) from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/emu10k1/emu10k1/8010.h. Rev 1.39 best matches our rev 1.3. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-04-18T03:57:23.000000Z K 7 svn:log V 65 This commit was manufactured by cvs2svn to create tag 'rev_1_39'. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-18T04:13:38.000000Z K 7 svn:log V 38 Sync with Creative's 8010.h rev 1.39. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-04-18T04:17:08.000000Z K 7 svn:log V 171 Vendor import revision 1.51 of 8010.h (we renamed the file) from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/emu10k1/emu10k1/8010.h. This includes some Audigy support. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-04-18T04:17:09.000000Z K 7 svn:log V 65 This commit was manufactured by cvs2svn to create tag 'rev_1_51'. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-18T05:00:52.000000Z K 7 svn:log V 199 Add architecture dependent atomic ops (atomic_swap only), KSE specific data, and userland versions of [gs]etcontext(). Modify the UTS entry and exit functions to account of FPU validity and format. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-18T05:02:39.000000Z K 7 svn:log V 134 Add FIFO queueing locking operations based on atomic swap. Modify thread errno for the new libpthread changes. Reviewed by: davidxu END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-18T05:04:16.000000Z K 7 svn:log V 729 Revamp libpthread so that it has a chance of working in an SMP environment. This includes support for multiple KSEs and KSEGs. The ability to create more than 1 KSE via pthread_setconcurrency() is in the works as well as support for PTHREAD_SCOPE_SYSTEM threads. Those should come shortly. There are still some known issues which davidxu and I are working on, but it'll make it easier for us by committing what we have. This library now passes all of the ACE tests that libc_r passes with the exception of one. It also seems to work OK with KDE including konqueror, kwrite, etc. I haven't been able to get mozilla to run due to lack of java plugin, so I'd be interested to see how it works with that. Reviewed by: davidxu END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-18T05:06:56.000000Z K 7 svn:log V 80 Comment out the addition of -g to CFLAGS. This snuck in from my local version. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-04-18T05:24:10.000000Z K 7 svn:log V 446 - Set the ke_cpu field in sched_add() for interrupt and realtime threads since they are going on the current cpu and not their previously assigned cpu. - sched_runnable() should only return true in the SMP case if the other processor has more than one thread that is runnable. We can not steal curthread. - Change kseq_print() to accept the cpuid instead of a kseq pointer. This makes use of this function in ddb much easier. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-18T07:09:43.000000Z K 7 svn:log V 157 Sorry folks; I accidentally committed a patch from what I was working on a couple of days ago. This should be the most recent changes. Noticed by: davidxu END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-04-18T07:45:03.000000Z K 7 svn:log V 31 Remove duplicate $FreeBSD$ id. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-04-18T12:37:33.000000Z K 7 svn:log V 59 KASSERT that NG_MKMESSAGE() is not called with mbuf flags. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-04-18T13:01:07.000000Z K 7 svn:log V 138 Make this compile under cs_CZ.ISO8859-2 locale. Reported by: Pav Lucistnik We hit this problem earlier, in PR misc/45460. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2003-04-18T13:02:29.000000Z K 7 svn:log V 155 Don't grab Giant in slab_zalloc() if M_NOWAIT is specified. This should allow the use of INTR_MPSAFE network drivers. Tested by: njl Glanced at by: jeff END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-04-18T14:11:17.000000Z K 7 svn:log V 338 Revert the definitions of _PW_KEY* to their previous values. There is at least one consumer outside of libc and pwd_mkdb. Adjust the versioning in libc and pwd_mkdb accordingly. named was the application affected, and that fact was first Reported by: Zherdev Anatoly Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2003-04-18T14:52:14.000000Z K 7 svn:log V 78 fix corega vendor id(use vendor string and product string) Submitted by: imp END