ƒ³126662 191 439 167 133 222 162 123 1144 149 340 201 308 186 223 247 312 205 294 248 143 147 128 249 938 154 133 117 179 133 169 177 187 128 245 186 329 201 155 143 236 124 122 145 132 519 683 203 134 184 278 120 118 154 182 202 200 145 319 183 321 156 129 152 139 282 157 238 901 383 182 153 192 159 153 146 285 449 262 234 199 297 414 207 229 173 154 224 182 132 497 136 795 492 448 158 601 196 146 127 470 393 299 283 273 140 185 150 166 309 478 364 178 342 400 290 348 504 369 212 403 320 706 465 211 133 419 368 188 124 241 131 696 780 451 2099 277 126 633 124 126 160 186 434 183 336 181 159 165 265 160 192 209 118 183 183 137 357 212 270 219 1146 204 277 394 563 148 273 235 205 190 340 319 1539 155 125 125 126 128 125 129 332 1453 127 143 183 836 185 120 174 236 170 132 K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-05T18:06:31.000000Z K 7 svn:log V 346 A user can set tz_requested via the hw.acpi.thermal.tzX.active sysctl. The previous logic meant that if a user sets it to a minimal cooling value acpi_thermal will not use higher cooling levels. Reverse the logic so that the user requesting a level (say, 2) also gets 0 - 1 also. PR: kern/61592 Submitted by: Andrew Thompson END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-05T18:08:23.000000Z K 7 svn:log V 75 Document a sysctl. Submitted by: Craig Rodrigues END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-05T18:16:28.000000Z K 7 svn:log V 41 Reword two more lines to avoid wrapping. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-05T19:27:04.000000Z K 7 svn:log V 125 The roundrobin callout from sched_4bsd is MPSAFE, so set up the callout as MPSAFE to avoid grabbing Giant. Reviewed by: jhb END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-05T19:30:13.000000Z K 7 svn:log V 70 Add a test-target and reference vectors for the character converions. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-05T19:35:51.000000Z K 7 svn:log V 31 Teach dd(1) about parity bits. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-05T22:03:11.000000Z K 7 svn:log V 1045 Undo the merger of mlock()/vslock and munlock()/vsunlock() and the introduction of kern_mlock() and kern_munlock() in src/sys/kern/kern_sysctl.c 1.150 src/sys/vm/vm_extern.h 1.69 src/sys/vm/vm_glue.c 1.190 src/sys/vm/vm_mmap.c 1.179 because different resource limits are appropriate for transient and "permanent" page wiring requests. Retain the kern_mlock() and kern_munlock() API in the revived vslock() and vsunlock() functions. Combine the best parts of each of the original sets of implementations with further code cleanup. Make the mclock() and vslock() implementations as similar as possible. Retain the RLIMIT_MEMLOCK check in mlock(). Move the most strigent test, which can return EAGAIN, last so that requests that have no hope of ever being satisfied will not be retried unnecessarily. Disable the test that can return EAGAIN in the vslock() implementation because it will cause the sysctl code to wedge. Tested by: Cy Schubert END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-03-05T22:21:18.000000Z K 7 svn:log V 57 Add warning about loading/unloading drivers and identify END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-05T22:37:32.000000Z K 7 svn:log V 247 - Grab a share lock of the proctree lock while looking for a pid due to the process group and session dereferences. Also, check that p_pgrp and p_sesssion are NULL before dereferencing them. - Push down Giant in fork1(). Requested by: peter END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-05T22:38:26.000000Z K 7 svn:log V 108 Lock Giant around the single threading code in exec() to satisfy an assertion in the single threading code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-05T22:39:53.000000Z K 7 svn:log V 215 - Push down Giant in exit() and wait(). - Push Giant down a bit in coredump() and call coredump() with the proc lock already held rather than unlocking it only to turn around and relock it. Requested by: peter END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-05T22:41:22.000000Z K 7 svn:log V 94 Lock Giant around the body of the adlink_loran() function used by the adlink device kthreads. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-05T22:42:17.000000Z K 7 svn:log V 130 kthread_exit() no longer requires Giant, so don't force callers to acquire Giant just to call kthread_exit(). Requested by: many END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-05T23:10:49.000000Z K 7 svn:log V 154 Have these instructions tell users to 'sh installworld_newk' instead of './installworld_newk', because the scripts might not show up with the +x bit set. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-06T00:44:59.000000Z K 7 svn:log V 217 Add a missing part of jhb's previous commit. It looks like he had a patch chunk rejected that he missed. This would manifest as a lock assertion panic at boot (Giant not locked in kern_fork.c). Obtained from: jhb END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-06T00:51:30.000000Z K 7 svn:log V 110 When faced with a "GenuineIntel", we know what they call it now. Replace snide comment with a different one. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-06T00:59:08.000000Z K 7 svn:log V 196 Correctly read symlinks from cpio files. While I'm here, fix a bug in reading filenames from cpio files. (Copy should count the length of the name, not the number of bytes available for input.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-06T01:05:32.000000Z K 7 svn:log V 150 Add ARCHIVE_EXTRACT_UNLINK option to permit clients to control how archive_extract handles pre-existing files. (Not implemented yet, but documented.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-06T01:06:49.000000Z K 7 svn:log V 46 Remove last evidence of a long-dead function. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2004-03-06T02:09:17.000000Z K 7 svn:log V 52 A manual page for contigmalloc(9). Reviewed by: ru END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2004-03-06T02:13:03.000000Z K 7 svn:log V 33 Cross-reference contigmalloc(9). END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-03-06T04:09:54.000000Z K 7 svn:log V 156 Always call vn_finished_write after vn_start_write was called. All occurences of 'goto done' after vn_start_write invocation were cleaning up incompletely. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-06T05:44:13.000000Z K 7 svn:log V 840 Minor API tweak: The format-specific write_header function now sets the size in the archive_entry object to zero if that format doesn't store a body for that file type. This allows the client to determine whether or not it should feed the file body to the archive. In particular, cpio stores the file body for hardlinks, tar and shar don't. With this change, bsdtar now correctly archives hardlinks in all supported formats. While I'm here, make shar output be more aggressive about creating directories. Before this, commands such as: bsdtar -cv -F shar some/explicit/path/to/a/file wouldn't create the directory. Some simple logic to remember the last directory creation helps reduce unnecessary mkdirs here. At this point, I think the only flaw in libarchive's cpio support is the failure to recognize hardlinks when reading. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-06T06:10:16.000000Z K 7 svn:log V 61 Change locale name from non-existent ASCII to en_US.US-ASCII END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-06T06:54:54.000000Z K 7 svn:log V 38 Remove the phantom 'nv' driver again. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-06T06:54:58.000000Z K 7 svn:log V 24 Add a.out to CLEANFILES END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-06T07:34:51.000000Z K 7 svn:log V 88 Just pass -DCRT_BEGIN as an option to mkdep(1), no need to override the entire command. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2004-03-06T08:01:16.000000Z K 7 svn:log V 38 Link in contigmalloc(9) to the build. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-06T08:21:32.000000Z K 7 svn:log V 77 Fixed some style bugs (mainly unsorting and tab lossage in previous commit). END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2004-03-06T13:27:59.000000Z K 7 svn:log V 83 Assign checkmode boolean earlier to handle the goto jump. Might fix PR bin/63769. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-06T14:24:10.000000Z K 7 svn:log V 94 Make GNU-compatible following case: single '-' in command line and '-' (non-first) in options END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-06T14:47:49.000000Z K 7 svn:log V 35 Fix typo, was 'W'; instead of `W;' END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-06T15:03:21.000000Z K 7 svn:log V 153 Set MAKEOBJDIRPREFIX in the environment, like God intended. This only worked because src/Makefile.inc1 is wrapped by src/Makefile. Silence from: dougb END K 10 svn:author V 4 matk K 8 svn:date V 27 2004-03-06T15:52:42.000000Z K 7 svn:log V 93 Augment /dev/sndstat with the module names, if applicable. Approved by: tanimura (mentor) END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-06T17:05:45.000000Z K 7 svn:log V 235 Merge some fixes from NetBSD's getopt.c v1.26: cleanups, handling 'ls -l-', handling '--*' Note this is in the same time back out of our v1.3 "Don't print an error message if the bad option is '?'" because it directly violates POSIX. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-06T17:09:10.000000Z K 7 svn:log V 107 Merge some fixes from NetBSD's getopt.3 v1.31: cleanup, add more sections, better explanation, declaration END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-06T21:20:47.000000Z K 7 svn:log V 64 Luigi was polled for additional documentation about polling(4). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-06T21:23:56.000000Z K 7 svn:log V 52 Overdue reversion of revision 1.143. OK'ed by: imp END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-06T21:57:29.000000Z K 7 svn:log V 143 Add a logins(1) utility similar to that found in SVr4 derivatives. This particular implementation is based on the Solaris logins(1) man page. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-06T21:57:47.000000Z K 7 svn:log V 32 Hook logins(1) up to the build. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-06T23:36:41.000000Z K 7 svn:log V 30 Fix markup. Submitted by: ru END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-07T00:06:32.000000Z K 7 svn:log V 53 Giant is not required for vm_thread_new_altkstack(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-07T00:37:18.000000Z K 7 svn:log V 40 Remove GIANT_REQUIRED from vunmapbuf(). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-07T00:57:43.000000Z K 7 svn:log V 421 Recognize hardlinks when reading cpio files. This doesn't yet address the issue of selective restore of hardlinked files. With cpio format, it's possible to correctly restore any linked file; the API doesn't yet fully support this. (There's no way for the library to inform a client whether or not there's a file body associated with this entry. The assumption right now is that "hardlink" entries have no file body.) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-07T02:49:06.000000Z K 7 svn:log V 588 Add preliminary support for PCMCIA devices in addition to PCI/cardbus. if_ndis.c has been split into if_ndis_pci.c and if_ndis_pccard.c. The ndiscvt(8) utility should be able to parse device info for PCMCIA devices now. The ndis_alloc_amem() has moved from kern_ndis.c to if_ndis_pccard.c so that kern_ndis.c no longer depends on pccard. NOTE: this stuff is not guaranteed to work 100% correctly yet. So far I have been able to load/init my PCMCIA Cisco Aironet 340 card, but it crashes in the interrupt handler. The existing support for PCI/cardbus devices should still work as before. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-07T04:07:57.000000Z K 7 svn:log V 109 Add the agp, bfe, sk and ti devices. (the agp is disabled by default). Remove obsolete compat_atdisk device. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-07T04:09:18.000000Z K 7 svn:log V 41 MFi386: revisions from 1.1127 to 1.1131. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-07T05:15:42.000000Z K 7 svn:log V 88 Const-poison ip_stf_ttl to make it clear that the variable is not modified at run-time. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-03-07T05:33:09.000000Z K 7 svn:log V 182 Add support 2 devices(USB-DVD-R drives) - Logitec LDR-H443SU2 - IO-DATA DVR-UEH8 PR: kern/63793 Submitted by: Ryuji MATSUMOTO MFC after: 1 week END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-03-07T05:34:36.000000Z K 7 svn:log V 25 Sync to 1.166 of usbdevs END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-07T05:38:20.000000Z K 7 svn:log V 25 Remove unneeded devices. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-07T05:39:38.000000Z K 7 svn:log V 61 Remove '#include '. This is meaningless. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-07T07:00:46.000000Z K 7 svn:log V 86 Mark uma_callout as CALLOUT_MPSAFE, as uma_timeout can run MPSAFE. Reviewed by: jeff END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-07T07:13:15.000000Z K 7 svn:log V 109 Remove unused declarations. (Some time ago, these variables became fields of vm/vm.h's struct kva_md_info.) END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-07T07:43:13.000000Z K 7 svn:log V 107 Integrate the code from pmap_pinit2() into pmap_pinit(), leaving pmap_pinit2() empty. Approved by: marcel END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-03-07T07:56:20.000000Z K 7 svn:log V 51 MFC revs. 1.77, 1.78: FreeBSD 5.2.1, NetBSD 1.6.2. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-03-07T10:10:19.000000Z K 7 svn:log V 224 In the case where /etc/rc.d/ is empty, do not bogusly ask the user if they want to delete '*'. It turns out that there is one valid case where this might happen, installing to an empty DESTDIR. Patch submitted by: schweikh END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-07T14:16:42.000000Z K 7 svn:log V 90 Restore CDIOCREADAUDIO ioctl. Pointed out by: KIYOHARA Takashi END K 10 svn:author V 5 josef K 8 svn:date V 27 2004-03-07T15:22:08.000000Z K 7 svn:log V 226 Document kernel functions securelevel_gt and securelevel_ge. Approved by: simon(mentor) Submitted by: Christian S.J. Peron PR: docs/62331 mdoc(7) cleanup by: ru END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-07T16:07:57.000000Z K 7 svn:log V 64 Add manpages for the gctl API. Submitted by: le Tweaks by: phk END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-03-07T16:23:03.000000Z K 7 svn:log V 37 Convert from timeout to callout API. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-03-07T16:28:31.000000Z K 7 svn:log V 60 Convert from timeout to callout API. Submitted by: rwatson END K 10 svn:author V 5 wosch K 8 svn:date V 27 2004-03-07T16:44:10.000000Z K 7 svn:log V 45 Add final version of BSD/OS, BSD/OS 5.1 ISE. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-03-07T17:23:39.000000Z K 7 svn:log V 186 Use one bus_dma_tag_t for all pSRB instead of creating one for each. Free what is allocated for pSRBs at unload time or if something bad happens, thanks to scottl for spotting this out. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-07T17:33:15.000000Z K 7 svn:log V 65 Don't panic on providers already withered when we wither a geom. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-07T20:41:27.000000Z K 7 svn:log V 145 Rearrange (centralize) initialization of mallocs internals to always be done before the first call, even if this is a malloc(0) call. PR: 62859 END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-07T21:06:48.000000Z K 7 svn:log V 808 Retire pmap_pinit2(). Alpha was the last platform that used it. However, ever since alpha/alpha/pmap.c revision 1.81 introduced the list allpmaps, there has been no reason for having this function on Alpha. Briefly, when pmap_growkernel() relied upon the list of all processes to find and update the various pmaps to reflect a growth in the kernel's valid address space, pmap_init2() served to avoid a race between pmap initialization and pmap_growkernel(). Specifically, pmap_pinit2() was responsible for initializing the kernel portions of the pmap and pmap_pinit2() was called after the process structure contained a pointer to the new pmap for use by pmap_growkernel(). Thus, an update to the kernel's address space might be applied to the new pmap unnecessarily, but an update would never be lost. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-07T22:22:13.000000Z K 7 svn:log V 285 Make it possible for the %[eEfgG] formats to not result in an error being reported by /usr/bin/printf. This bug has been around for 22 months... either nobody uses printf with floating-point values, or people are forgetting to check their return codes. Approved by: rwatson (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-07T23:00:44.000000Z K 7 svn:log V 91 Implemented the "getifindex" control message. PR: kern/63864 Submitted by: Gleb Smirnoff END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T00:15:29.000000Z K 7 svn:log V 59 MFi386: wait for local apic to become free before using it END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T00:16:52.000000Z K 7 svn:log V 98 MFi386: set initial curpcb pcpu variable at startup time rather than waiting for a context switch END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T00:17:27.000000Z K 7 svn:log V 65 MFi386: curpcb is no longer null anymore, so do not test for it. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T00:24:15.000000Z K 7 svn:log V 59 MFi386: re-sort non-gcc function prototypes, trim includes END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T00:25:03.000000Z K 7 svn:log V 52 Stop depending on #include pollution from cpufunc.h END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T00:27:33.000000Z K 7 svn:log V 190 Other parts of the tree do not protect calls to kmem_free() with Giant, so remove it from here. The most notable examples include vm_mmap(). This removes one more Giant event from exit(2). END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T00:32:34.000000Z K 7 svn:log V 354 Move a vref call outside of proc locks and Giant. By virtue of the fact that we (p1) are currently running, we hold a reference on p_textvp which means the vnode cannot go away. p2 cannot run yet (and hence cannot exit) so this should be safe to do at this point. As a bonus, it removes a block of under-Giant code that was there to support the vref. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-08T01:55:34.000000Z K 7 svn:log V 167 Add back Giant locks around kmem_free() call from user_ldt cleanup path during exit. Apparently it isn't safe after all. See uma_large_free(). Pointed out by: alc END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-08T03:54:36.000000Z K 7 svn:log V 141 Implement a work around for the deadlock avoidance case in vm_object_deallocate() so that it doesn't spin forever either. Submitted by: bde END K 10 svn:author V 3 hsu K 8 svn:date V 27 2004-03-08T07:45:32.000000Z K 7 svn:log V 106 Include for autoconf/automake detection. Submitted by: Pavlin Radoslavov END K 10 svn:author V 3 hsu K 8 svn:date V 27 2004-03-08T07:47:27.000000Z K 7 svn:log V 204 To comply with the spec, do not copy the TOS from the outer IP header to the inner IP header of the PIM Register if this is a PIM Null-Register message. Submitted by: Pavlin Radoslavov END K 10 svn:author V 5 benno K 8 svn:date V 27 2004-03-08T10:54:35.000000Z K 7 svn:log V 319 Add a netgraph node to handle ATM LLC encapsulation. This currently handles ethernet (tested) and FDDI (not tested). The main use for this is on ADSL (or other ATM) connections where bridged ethernet is used, PPPoE being a prime example. There is no manual page as yet, I will write one shortly. Reviewed by: harti END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-08T12:02:07.000000Z K 7 svn:log V 114 Fix skipping scripts with given keywords. Proper syntax is '-s keyword1 -s keyword2', not '-s keyword1 keyword2'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-08T12:25:05.000000Z K 7 svn:log V 136 Mark scripts as not usable inside a jail by adding keyword 'nojail'. Some suggestions from: rwatson, Ruben de Groot END K 10 svn:author V 5 benno K 8 svn:date V 27 2004-03-08T13:46:52.000000Z K 7 svn:log V 79 Manual page for the ng_atmllc node type. Currently missing a history section. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-03-08T15:07:14.000000Z K 7 svn:log V 62 Update pmap_pinit(9) to reflect pmap_pinit2() removal by alc. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-08T15:19:55.000000Z K 7 svn:log V 128 Fix two instances of improper NULL/0 use idetified by the changes lately. Submitted by: Patrick Marie Approved by: bms(mentor) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-08T16:37:08.000000Z K 7 svn:log V 90 String the consumers into the list of the provider they are attached to. Noticed by: jhb END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-08T18:09:33.000000Z K 7 svn:log V 39 Remove a.out at the end of 'make test' END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-08T19:20:06.000000Z K 7 svn:log V 404 Add a debug-statement from NetBSD, and then rework all debug-statements so the program compiles without errors or warnings when DEBUG is defined on sparc64 with 64-bit time_t's. Also have debug statements include the year when printing records from a different year than 'now'. Also print out a special timestamp in debug statements when ut_time==0. Reviewed by: freebsd-sparc, bde MFC after: 2 weeks END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-08T20:01:34.000000Z K 7 svn:log V 44 Compile 'ac' with DEBUG when arch==sparc64. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-08T20:02:23.000000Z K 7 svn:log V 702 Add a check for wtmp records which have invalid values for ut_time. Wtmp records with time==0 get "the time of the last valid record", while records where time goes backwards (compared to the previous record) are skipped. Also prints a message saying how many records were changed or skipped due to these checks. Check was inspired by a simpler check in OpenBSD's version. This is all meant to sidestep problems that Tillman Hodgson noticed with 'ac' when running sparc64 with 64-bit time_t's. The real problem is whatever is creating wtmp records with ut_time==0, of course, but I have not yet figured out what is doing that. Reviewed by: no screams from freebsd-sparc64 or bde MFC after: 2 weeks END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-03-08T20:31:37.000000Z K 7 svn:log V 394 Shift file locking to source file instead of temp file. This fixes data buffering issue that corrupts files if two pw(8)'s run at the same time as well as changing pw(8) so it uses the same locking mechanism as PAM, vipw(8), pwd_mkdb(8), etc. PR: bin/23501 Submitted by: Alex Kapranoff Approved by: rwatson (mentor) MFC after: 5 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-08T20:37:25.000000Z K 7 svn:log V 355 Add two new sysctls: - security.bsd.hardlink_check_uid, when set, means, that unprivileged users are not permitted to create hard links to files not owned by them, - security.bsd.hardlink_check_gid, when set, means, that unprivileged users are not permitted to create hard links to files owned by group they don't belong to. OK'ed by: rwatson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-08T22:01:19.000000Z K 7 svn:log V 62 Mark loadaverage callout as CALLOUT_MPSAFE. Reviewed by: jhb END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-08T22:03:29.000000Z K 7 svn:log V 505 Link pf to the build and install: This adds the former ports registered groups: proxy and authpf as well as the proxy user. Make sure to run mergemaster -p in oder to complete make installworld without errors. This also provides the passive OS fingerprints from OpenBSD (pf.os) and an example pf.conf. For those who want to go without pf; it provides a NO_PF knob to make.conf. __FreeBSD_version will be bumped soon to reflect this and to be able to change ports accordingly. Approved by: bms(mentor) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-08T22:26:46.000000Z K 7 svn:log V 100 Bump __FreeBSD_version for the pf install and write comments to UPDATING. Approved by: bms(mentor) END K 10 svn:author V 3 ale K 8 svn:date V 27 2004-03-08T23:18:50.000000Z K 7 svn:log V 54 Fix typos. Approved by: blackend (mentor/implicitly) END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2004-03-09T01:20:24.000000Z K 7 svn:log V 33 These aren't all binary options. END K 10 svn:author V 2 jb K 8 svn:date V 27 2004-03-09T02:44:59.000000Z K 7 svn:log V 378 On 4.X it was possible for an application to initialise a local FILE structure and call stdio functions. In 5.X this was broken when FILE locking was introduced into libc. This change makes most (relevant) stdio functions work again when the _extra file in FILE isn't initialised (and can't be without a libc function to do it since the __sFILEX structure is private to libc). END K 10 svn:author V 2 jb K 8 svn:date V 27 2004-03-09T02:49:24.000000Z K 7 svn:log V 301 AMD's ELAN documentation says that you write to the SYS_RST register in the Memory Mapped Configuration Region (MMCR) to reset the CPU. If CPU_ELAN is set, try this first to reset the CPU before the traditional way. Without this change, my Compulab board powers down on 'reset' instead of rebooting. END K 10 svn:author V 2 jb K 8 svn:date V 27 2004-03-09T02:51:21.000000Z K 7 svn:log V 207 Add #ifdef CPU_SOEKRIS in the missing places around the led_* code that is specific to those boards. This allows this file to compile again with CPU_ELAN enabled, but not CPU_SOEKRIS, for a Compulab board. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-09T03:37:21.000000Z K 7 svn:log V 190 Hook CPUs up to newbus. CPUs will ultimately be a bus driver so that multiple CPU-specific drivers can attach. This is a work in progress so children aren't supported yet. Help from: jhb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-09T04:00:33.000000Z K 7 svn:log V 177 Reset the text attributes when initializing the console. The EFI loader typically doesn't do this so that we end up booting the with whatever the EFI loader has set it to last. END K 10 svn:author V 2 jb K 8 svn:date V 27 2004-03-09T04:51:58.000000Z K 7 svn:log V 49 Backout the previous revision due to objections. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-09T05:41:28.000000Z K 7 svn:log V 93 Use an unsigned int instead of an int for the Get/Set Integer interface. Pointed out by: le END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-09T05:44:47.000000Z K 7 svn:log V 58 Simplify some logic in converting a buffer to an integer. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-09T08:09:33.000000Z K 7 svn:log V 75 Fixed line numbering inside the .for loops. Submitted by: Cyrille Lefevre END K 10 svn:author V 2 le K 8 svn:date V 27 2004-03-09T09:50:15.000000Z K 7 svn:log V 217 Since vinum doesn't fake disklabels anymore, remove get_volume_label(). Also, remove stale write_volume_label() declaration; the write_volume_label() function was deleted 8 months ago. Approved by: grog (mentor) END K 10 svn:author V 2 le K 8 svn:date V 27 2004-03-09T10:02:44.000000Z K 7 svn:log V 386 And a bandaid so that the output of "available space" is correct when using -m and -g switches and "available space" is negative (i.e. when the file system is already using the root-reserved minimum free space). Obtained from: Stefan Farfeleder PR: bin/62536 Submitted by: Peter van Dijk Approved by: grog (mentor), bde END K 10 svn:author V 2 le K 8 svn:date V 27 2004-03-09T10:18:47.000000Z K 7 svn:log V 272 When faking disklabels, change default fragment size from 1k to 2k as this is more appropriate for modern disks. Also, remove a duplicate variable assignment. PR: kern/63839 Submitted by: Dmitry Morozovsky Approved by: grog (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-09T11:00:24.000000Z K 7 svn:log V 86 Print a space character between string given as a macro argument and bio description. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-09T11:18:53.000000Z K 7 svn:log V 249 - Don't take sectorsize from first disk. Calculate it by finding least common multiple of all disks sector sizes. This will allow to safely concatenate disks with different sector sizes. - Mark unused function arguments. - Other minor cleanups. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-09T11:35:43.000000Z K 7 svn:log V 302 Misc fixes brought to light by WARNS=6: 1) Constness, unusedness and size_tness. 2) Don't clobber the value returned by hid_report_size in the daemon case. 3) Don't misspell "sizeof buf" as 100. 4) Don't run off the end of a buffer if the pid is about a google. 5) Avoid shadowing the usage function. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-09T11:57:28.000000Z K 7 svn:log V 192 Fix the easy warnings: 1) Avoid shadowing index. 2) Constness. 3) Missing prototype for ifcmd. 4) Missing include of string.h. 5) Avoid shadowing error function. 6) ANSI definition for main. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-03-09T12:45:43.000000Z K 7 svn:log V 256 Fix an integer overflow when dealing with very large volumes. This bug prevented newfs to work on volumes that are larger than 1TB. PR: 63577 Submitted by: Masaki Takakashi Approved by: grog (mentor), bde END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-09T16:31:19.000000Z K 7 svn:log V 407 Introduce disc_mtx to protect the global softc list in if_disc. Since there are two destroy paths for if_disc interfaces -- module unload and cloan interface destroy, create a new utility function disc_destroy(), which is callded on a softc after it has been removed from the global softc list; the cloaner and module unload entry paths will both remove it before calling disc_destroy(). Reviewed by: pjd END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-09T17:27:48.000000Z K 7 svn:log V 272 Introduce lo_mtx to protect the global loopback softc list. I'm not really sure why we have a softc list for if_loop, given that it can't be unloaded, but that's an issue to revisit in the future as corrupting the softc list would still cause panics. Reviewed by: benno END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-09T17:36:55.000000Z K 7 svn:log V 120 Make it possible to ``.undef ${VAR}'' (expanding VAR to get the variable name to undef). Submitted by: Cyrille Lefevre END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-09T18:39:40.000000Z K 7 svn:log V 308 If the resource listing obtained from BUS_GET_RESOURCE_LIST() in ndis_probe_pci() doesn't contain an entry for an IRQ resource, try to force one to be routed to us anyway by adding an extra call to bus_alloc_resource(). If this fails, then we have to abort the attach. Patch provided by jhb, tweaked by me. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-09T19:23:06.000000Z K 7 svn:log V 223 Introduce faith_mtx to protect the if_faith global softc list. Push if_faith softc destruction logic into faith_destroy() so that it can be called after softc list removal in both the clone destroy and module unload paths. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-09T19:50:41.000000Z K 7 svn:log V 608 Many fixes. Portability: Thanks to Juergen Lock, libarchive now compiles cleanly on Linux. Along the way, I cleaned up a lot of error return codes and reorganized some code to simplify conditional compilation of certain sections. Bug fixes: * pax format now actually stores filenames that are 101-154 characters long. * pax format now allows newline characters in extended attributes (this fixes a long-standing bug in ACL handling) * mtime/atime are now restored for directories * directory list is now sorted prior to fix-up to permit correct restore of non-writable dir heirarchies END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-09T20:29:19.000000Z K 7 svn:log V 368 Introduce stf_mtx to protect global softc list in if_stf. Add stf_destroy() to handle the common softc destruction path for the two destruction sources: interface cloning destroy, and module unload. NOTE: sc_ro, the cached route for stf conversion, is not synchronized against concurrent access in this change, that will follow in a future change. Reviewed by: pjd END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-09T20:29:21.000000Z K 7 svn:log V 116 Trim unneeded includes from if_ndis_pccard.c and if_ndis_pci.c. Also removed unused variables from if_ndis_pccard.c END K 10 svn:author V 2 jb K 8 svn:date V 27 2004-03-09T20:53:01.000000Z K 7 svn:log V 42 Remove duplicate code. Requested by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-09T21:14:18.000000Z K 7 svn:log V 326 Make libgeom usable by C++ programs: - Add DECL wrappers to libgeom.h. - Rename structure members in libgeom.h to use a lg_ prefix for member names. This is required because a few structures had members named 'class' which made g++ very unhappy. - Catch gstat(8) and gconcat(8) up to these API changes. Reviewed by: phk END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-09T23:06:50.000000Z K 7 svn:log V 275 Make this file more generally usable: Trigger not only on diskless booting sysctls being set, but also on the existence of the file "/etc/diskless". But do not try to extract IP# related keywords in that case. Add a general "remount" facility to allow non-NFS remounting. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-09T23:55:59.000000Z K 7 svn:log V 92 Const-poison ethernet and FDDI broadcast address constants, as they are accessed read-only. END K 10 svn:author V 6 peadar K 8 svn:date V 27 2004-03-10T00:06:01.000000Z K 7 svn:log V 29 Another April Fool signs up. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-03-10T00:27:36.000000Z K 7 svn:log V 148 make sure we had the filedesc lock when calling fdinit when RFCFDG is set on call to rfork. Submitted by: Brian Buchanan Semi-Reviewed by: rwatson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-10T01:01:04.000000Z K 7 svn:log V 35 Scrub unused variable zeroin_addr. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-10T02:48:50.000000Z K 7 svn:log V 599 Lock down IP-layer encapsulation library: - Add encapmtx to protect ip_encap.c global variables (encapsulation list). - Unifdef #ifdef 0 pieces of encap_init() which was (and now really is) basically a no-op. - Lock encapmtx when walking encaptab, modifying it, comparing entries, etc. - Remove spl's. Note that currently there's no facilite to make sure outstanding use of encapsulation methods on a table entry have drained bfore we allow a table entry to be removed. As such, it's currently the caller's responsibility to make sure that draining takes place. Reviewed by: mlaier END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-10T04:44:43.000000Z K 7 svn:log V 687 - Make the acquisition of Giant in vm_fault_unwire() conditional on the pmap. For the kernel pmap, Giant is not required. In general, for other pmaps, Giant is required by i386's pmap_pte() implementation. Specifically, the use of PMAP2/PADDR2 is synchronized by Giant. Note: In principle, updates to the kernel pmap's wired count could be lost without Giant. However, in practice, we never use the kernel pmap's wired count. This will be resolved when pmap locking appears. - With the above change, cpu_thread_clean() and uma_large_free() need not acquire Giant. (The first case is simply the revival of i386/i386/vm_machdep.c's revision 1.226 by peter.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-10T04:56:54.000000Z K 7 svn:log V 354 Move the AH algorithm list from a static local function variable to a static const global variable in ah_core.c. This makes it more clear that this array does not require synchronization, as well as synchronizing the layout to the ESP algorithm list. This is the version of my patch that Itojun committed to the KAME tree. Obtained from: me, via KAME END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-10T07:43:11.000000Z K 7 svn:log V 2003 Fix several issues related to the KeInitializeTimer() etc... API stuff that I added recently: - When a periodic timer fires, it's automatically re-armed. We must make sure to re-arm the timer _before_ invoking any caller-supplied defered procedure call: the DPC may choose to call KeCancelTimer(), and re-arming the timer after the DPC un-does the effect of the cancel. - Fix similar issue with periodic timers in subr_ndis.c. - When calling KeSetTimer() or KeSetTimerEx(), if the timer is already pending, untimeout() it first before timeout()ing it again. - The old Atheros driver for the 5211 seems to use KeSetTimerEx() incorrectly, or at the very least in a very strange way that doesn't quite follow the Microsoft documentation. In one case, it calls KeSetTimerEx() with a duetime of 0 and a period of 5000. The Microsoft documentation says that negative duetime values are relative to the current time and positive values are absolute. But it doesn't say what's supposed to happen with positive values that less than the current time, i.e. absolute values that are in the past. Lacking any further information, I have decided that timers with positive duetimes that are in the past should fire right away (or in our case, after only 1 tick). This also takes care of the other strange usage in the Atheros driver, where the duetime is specified as 500000 and the period is 50. I think someone may have meant to use -500000 and misinterpreted the documentation. - Also modified KeWaitForSingleObject() and KeWaitForMultipleObjects() to make the same duetime adjustment, since they have the same rules regarding timeout values. - Cosmetic: change name of 'timeout' variable in KeWaitForSingleObject() and KeWaitForMultipleObjects() to 'duetime' to avoid senseless (though harmless) overlap with timeout() function name. With these fixes, I can get the 5211 card to associate properly with my adhoc net using driver AR5211.SYS version 2.4.1.6. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T08:02:29.000000Z K 7 svn:log V 184 Fix handling of tap/vmnet flag in relation to cloning and properly enforce largest supported unit number for this device driver. Reported by: Kaho Toshikazu END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-10T08:46:39.000000Z K 7 svn:log V 34 Fixed a misspelling of 0 as NULL. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T08:49:08.000000Z K 7 svn:log V 540 Rearrange some of the GEOM debugging tools to be more structured. Retire g_sanity() and corresponding debugflag (0x8) Retire g_{stall,release}_events(). Under #ifdef DIAGNOSTIC: Make g_valid_obj() an official function and have it return an an non-zero integer which indicates the kind of object when found. Implement G_VALID_{CLASS,GEOM,CONSUMER,PROVIDER}() macros based on g_valid_obj(). Sprinkle calls to these macros liberally over the infrastructure. Always check that we do not free a live object. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T08:58:06.000000Z K 7 svn:log V 32 Put libypclnt behind NO_YP_LIBC END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-10T09:15:38.000000Z K 7 svn:log V 34 Set stream orientation in puts(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T09:23:27.000000Z K 7 svn:log V 68 Remove the /* 1.2 */ comment which was orphaned by previous commit. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-10T09:28:38.000000Z K 7 svn:log V 94 Set the stream orientation explicitly in fgetln() instead of relying on __srefill() to do it. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T10:10:46.000000Z K 7 svn:log V 341 Use the external clock input for our PLL. This may not be a generally valid configuration, but neither is relying on the PCI clock to be stable. The only currently known and supported hardware is the VPN14x1 from Soekris, and since it has external clock, we fail safe(r) by using it. Unfortunately there is no way to probe this reliably. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-10T10:24:15.000000Z K 7 svn:log V 91 Call __sgetc() directly in getchar() instead of taking an expensive detour through getc(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T10:28:33.000000Z K 7 svn:log V 243 Add first cut at "nanobsd": Nanobsd should make it very simple for people to create (CF-)disk images for embedded us of FreeBSD. Currently only works for 256MB disks. More agrressive shaving of the build image can reduce that much further. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-10T10:49:45.000000Z K 7 svn:log V 89 Call __sputc() directly in fputc() instead of taking an expensive detour through putc(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T11:11:58.000000Z K 7 svn:log V 67 We don't retain 'x' bits in CVS so explicity use sh to run script. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-10T11:13:23.000000Z K 7 svn:log V 73 Remove duplicate check for EOF from ungetc(); __ungetc() already checks. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-10T12:41:11.000000Z K 7 svn:log V 172 Set stream orientation in ungetc() instead of __ungetc(). This avoids setting it redundantly when called from ungetwc(), vfscanf() etc., which already set the orientation. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-10T15:04:29.000000Z K 7 svn:log V 65 Add trailing collon Noticed by: dwhite Approved by: bms(mentor) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-10T15:06:17.000000Z K 7 svn:log V 97 ftp-proxy no longer lives in /usr/local/... Noticed by: Pyun YongHyeon Approved by: bms(mentor) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-10T15:08:21.000000Z K 7 svn:log V 113 Remove `$Name$' leftovers from the port version reporting. Noticed by: Craig Rodrigues Approved by: bms(mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-10T15:35:20.000000Z K 7 svn:log V 27 ng_vlan(4) for the masses. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-10T15:57:25.000000Z K 7 svn:log V 91 - Document cv_broadcastpri(). - Remove references to cv_waitq_*() as they no longer exist. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-10T16:34:11.000000Z K 7 svn:log V 88 Add installcheck for proxy:proxy and authpf. Suggested by: ru Approved by: bms(mentor) END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-03-10T17:03:27.000000Z K 7 svn:log V 45 Eliminate multiple __FBSDID and sys/cdefs.h. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-10T17:39:05.000000Z K 7 svn:log V 264 Change time_t from a 32-bit value to a 64-bit value, on FreeBSD/sparc64 only. This is a MAJOR incompatible change for the sparc64 platform, but will not effect FreeBSD on other architectures. Reviewed by: imp for UPDATING, freebsd-sparc for the change itself. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-10T17:40:55.000000Z K 7 svn:log V 119 Increase __FreeBSD_version to reflect the transition from 32-bit to 64-bit time_t on the FreeBSD/sparc64 architecture. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-10T19:47:57.000000Z K 7 svn:log V 177 Undo the previous commit, which was just plain wrong, and then correctly increase _FreeBSD_version to reflect the 64-bTT change on sparc64. Noticed by: kris Pointy hat to: gad END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T20:30:19.000000Z K 7 svn:log V 126 Add an option to write collected data to file in binary format. This is very useful for collecting test-data for trial runs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T20:41:09.000000Z K 7 svn:log V 1052 Fix a long-standing deadlock issue with vnode backed md(4) devices: On vnode backed md(4) devices over a certain, currently undetermined size relative to the buffer cache our "lemming-syncer" can provoke a buffer starvation which puts the md thread to sleep on wdrain. This generally tends to grind the entire system to a stop because the event that is supposed to wake up the thread will not happen until a fair bit of the piled up I/O requests in the system finish, and since a lot of those are on a md(4) vnode backed device which is currently waiting on wdrain until a fair amount of the piled up ... you get the picture. The cure is to issue all VOP_WRITES on the vnode backing the device with IO_SYNC. In addition to more closely emulating a real disk device with a non-lying write-cache, this makes the writes exempt from rate-limited (there to avoid starving the buffer cache) and consequently prevents the deadlock. Unfortunately performance takes a hit. Add "async" option to give people who know what they are doing the old behaviour. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T20:52:47.000000Z K 7 svn:log V 111 Make the extern for adv_mcode match the reality: it's u_int8_t, but probably unendiansafely used as u_int16_t. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-10T20:56:28.000000Z K 7 svn:log V 184 Don't call devsw() more than we need to, and in particular do not expose ourselves to device removal by not checking for it the second time. Use count_dev(dev) rather than vcount(vp) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-10T21:51:06.000000Z K 7 svn:log V 302 Reworked the fix to print the useful line number on error in the .for loop: - Replaced four global variables in parse.c with one. - Made Parse_FromString() accept the "lineno" as an argument. - Fixed line numbering when there are escaped newlines in the body of the .for loop. Adopted from: NetBSD END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-10T22:23:20.000000Z K 7 svn:log V 467 Identify the Deerfield processor. Deerfield is a low-voltage variant based on the Madison core and targeting the low end of the spectrum. Its clock frequency is 1Ghz, whereas Madison starts at 1.3Ghz. Since the CPUID information is the same for Madison and Deerfield, we use the clock frequency to identify the processor. Supposedly the Deerfield only uses 62W, which seems to be less than modern Xeon processors (about 70W) and about half what a Madison would need. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-10T22:25:25.000000Z K 7 svn:log V 57 A manpage for ng_eiface(4). Submitted by: Gleb Smirnoff END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-03-10T22:38:32.000000Z K 7 svn:log V 175 Give xterm-basic the le entry. bs should be avoided. This is a prerequisite to fix PR: bin/48679 Discussed with: Thomas Dickey (xterm termcap maintainer) MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-11T00:17:45.000000Z K 7 svn:log V 139 Remove stale or broken call to kdb_trap() and protected by the non- option KDB. Besides being wrong, it also interferes with ongoing work. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-11T00:22:04.000000Z K 7 svn:log V 109 Back out id -g checks as they are wrong (sendmail group untouched). Requested by: dwhite Approve by: dwhite END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-03-11T04:32:16.000000Z K 7 svn:log V 94 Remove information about the configuration file. Add an Xref to newsyslog.conf.5 and bzip2.1. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-03-11T04:35:08.000000Z K 7 svn:log V 243 Add a newsyslog.conf manual page. This follows suit with the other utilities which have configuration files. This is just a cut-paste from newsyslog.8 with the following changes: o Kill hard sentence breaks. o Markup fixes. o Wordsmithing. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-11T08:16:23.000000Z K 7 svn:log V 226 Be more insistent on destroying geoms at unload time. Still not perfect, but it will do (better) for now. KASSERT that to have providers a class must have an access method. Tag the new_provider event with the geom as well. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-11T09:40:00.000000Z K 7 svn:log V 1443 Fix the problem with the Cisco Aironet 340 PCMCIA card. Most newer drivers for Windows are deserialized miniports. Such drivers maintain their own queues and do their own locking. This particular driver is not deserialized though, and we need special support to handle it correctly. Typically, in the ndis_rxeof() handler, we pass all incoming packets directly to (*ifp->if_input)(). This in turn may cause another thread to run and preempt us, and the packet may actually be processed and then released before we even exit the ndis_rxeof() routine. The problem with this is that releasing a packet calls the ndis_return_packet() function, which hands the packet and its buffers back to the driver. Calling ndis_return_packet() before ndis_rxeof() returns will screw up the driver's internal queues since, not being deserialized, it does no locking. To avoid this problem, if we detect a serialized driver (by checking the attribute flags passed to NdisSetAttributesEx(), we use an alternate ndis_rxeof() handler, ndis_rxeof_serial(), which puts the call to (*ifp->if_input)() on the NDIS SWI work queue. This guarantees the packet won't be processed until after ndis_rxeof_serial() returns. Note that another approach is to always copy the packet data into another mbuf and just let the driver retain ownership of the ndis_packet structure (ndis_return_packet() never needs to be called in this case). I'm not sure which method is faster. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-11T09:50:00.000000Z K 7 svn:log V 61 Fix mind-o: sanity check in ndis_disable_ndis() is not sane. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T09:56:04.000000Z K 7 svn:log V 33 Fixed misspellings of 0 as NULL. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T10:01:12.000000Z K 7 svn:log V 33 Fixed misspellings of 0 as NULL. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T10:09:01.000000Z K 7 svn:log V 34 Fixed a misspelling of 0 as NULL. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T10:12:05.000000Z K 7 svn:log V 36 Fixed misspellings of '\0' as NULL. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T10:19:45.000000Z K 7 svn:log V 33 Fixed misspellings of 0 as NULL. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T10:22:25.000000Z K 7 svn:log V 37 Fixed a misspelling of '\0' as NULL. END K 10 svn:author V 5 josef K 8 svn:date V 27 2004-03-11T10:43:35.000000Z K 7 svn:log V 237 Replace with to remove annoying warning of using deprecated header. Approved by: dwhite, simon(mentor) Reviewed by: mlaier Submitted by: Stefan Farfeleder PR: bin/63781 END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T11:30:57.000000Z K 7 svn:log V 1359 Fixed a misspelling of 0 as NULL. Fixed a nearby bug. The "play it safe" code in dosysctl() was unsafe because it overran the buffer by 1 if sysctl() filled all of the buffer. Fixed a nearby style bug in output. Not just 1, but 2 extra newlines were printed at the end by "vmstat -m" and "vmstat -z". Don't print any newlines explicitly. This depends on 2 of the many formatting bugs in the corresponding sysctls. First, the sysctls return an extra newline at the end of the strings. This also messes up output from sysctl(8). Second, the sysctls return an extra newline at the beginning of the strings. This is good for separating the 2 tables output by "vmstat -mz" and for starting the header on a new line in plain sysctl output, but gives a bogus extra newline at the beginning for "vm -[m | z]" and "sysctl -n [kern.malloc | vm.zone]". Fixed some nearby style bugs in the source code: - the same line that misspelled 0 as NULL also spelled NULL as 0. - the size was doubled twice in the realloc loop. - the "play it safe" comment was misleading. Terminating the buffer is bogus because dosysctl() is only meant to work with sysctls that return strings and the terminator is part of a string. However, the kern.malloc sysctl has more than style bugs. It also doesn't return a string. Termination is needed to work around this bug. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T11:41:54.000000Z K 7 svn:log V 35 Fixed mispellings of '\0' as NULL. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T11:58:16.000000Z K 7 svn:log V 51 Fixed assorted misuses of NULL in integer context. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-11T12:58:55.000000Z K 7 svn:log V 91 Add clone_setup() function rather than rely on lazy initialization. Requested by: rwatson END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-11T13:38:54.000000Z K 7 svn:log V 743 Don't implement anything in the ffs family in in the non-_KERNEL case. This "fixes" applications that include this "kernel-only" header and also include (or get via the default _BSD_VISIBLE pollution in . In C++ there was a fatal error: the declaration specifies C linkage but the implementation gives C++ linkage. In C there was only a static/extern mismatch if the headers were included in a certain order order, and a partially redundant declaration for all include orders; gcc emits incomplete or wrong diagnostics for these, but only for compiling with -Wsystem-headers and certain other warning options, so the problem was usually not seen for C. Ports breakage reported by: kris END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-03-11T14:04:59.000000Z K 7 svn:log V 93 Stop setting ifp->if_output to ether_output() since ether_ifattach() does it for us already. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-03-11T14:08:11.000000Z K 7 svn:log V 28 Add yet another VIA pci id. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-11T14:11:02.000000Z K 7 svn:log V 82 Correctly account for extra bits in unit numbers when looking for next free unit. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-03-11T14:11:08.000000Z K 7 svn:log V 144 Properly count references of our dev_t to avoid triggering a KASSERT in dev_strategy(). Submitted by: dwmalone Approved by: grog (mentor) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-11T16:33:11.000000Z K 7 svn:log V 78 Remove unused second arg to vfinddev(). Don't call addaliasu() on VBLK nodes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-11T16:59:57.000000Z K 7 svn:log V 40 Remove unused mnt_reservedvnlist field. END