ƒ°t124638 202 1001 250 203 422 771 158 300 196 174 163 129 202 239 334 239 215 162 272 358 531 128 179 120 164 204 305 161 131 240 222 112 167 167 671 166 180 206 817 182 118 166 112 186 164 175 320 666 672 150 209 141 146 239 329 524 156 406 369 140 549 336 384 194 313 623 204 237 175 325 390 336 190 1015 109 132 221 120 338 145 224 928 522 208 167 189 215 264 237 131 236 132 124 175 160 205 171 532 267 175 199 370 767 259 296 117 256 197 159 187 348 111 99 102 143 142 194 141 1058 157 185 328 228 140 293 165 148 121 356 244 201 166 140 309 289 222 214 152 243 141 150 157 238 328 123 163 126 123 164 123 110 113 149 117 139 347 804 240 166 154 204 301 305 341 224 343 173 187 244 139 242 141 171 126 865 186 184 102 208 204 203 843 343 159 148 254 250 504 354 124 177 307 382 420 210 191 234 198 1732 196 156 497 369 K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-17T19:22:36.000000Z K 7 svn:log V 909 Once upon a time we had both "crypto" and "krb5" distributions, and rebuilt some bits with crypto but without Kerberos support (most notably SSH) during "make release", to put them into the "crypto" distribution. Now that we don't ship the separate "krb5" distribution anymore (it's now part of the "crypto" distribuion), don't waste time recompiling SSH bits without crypto and without Kerberos support in an attempt to put them in the "base" distribution -- it just doesn't work as SSH always uses crypto code. We avoid this by not rebuilding KPROGS from kerberos5/Makefile in release/Makefile and adding "libpam" to SPROGS in secure/Makefile to ensure it's still rebuilt without crypto support for the "base" distribution. (Disabling crypto (NOCRYPT) also disables building of Kerberos-related PAM modules, and it's OK to depend on this.) This should be a no-op change saving some "make release" time. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-01-17T21:16:51.000000Z K 7 svn:log V 152 Handle sf_buf_alloc() returning null. This can happen if the process takes a signal while waiting for an sf_buf to become available. Reviewed by: alc END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-01-17T21:25:05.000000Z K 7 svn:log V 107 Don't panic because of RPC proto mismatches. Whitespace cleanup. Submitted by: Jim Rees END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-01-17T21:54:04.000000Z K 7 svn:log V 329 It appears that the changes in the resources allocated is causing much pain and suffering. Attempt to back it out by removing the 'if the requested range is larger than the window, clip to the window' code. This is a band-aide until the issues are better understood and the issues with the lazy allocation patches are resolved. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-01-17T23:04:26.000000Z K 7 svn:log V 674 MFC 1.179: date: 2003/05/16 01:13:16; author: rwatson; state: Exp; lines: +5 -1 Add a tunable/sysctl "hw.fxp_noflow" which disables flow control support on if_fxp cards. When flow control is enabled, if the operating system doesn't acknowledge the packet buffer filling, the card will begin to generate ethernet quench packets, but appears to get into a feedback loop of some sort, hosing local switches. This is a temporary workaround for 5.1: the ability to configure flow control should probably be exposed by some or another management interface on ethernet link layer devices. Requested by: Pawel Malachowski END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-01-17T23:34:13.000000Z K 7 svn:log V 66 Add support for the Silicon Image 3114 4 channel SATA controller. END K 10 svn:author V 5 johan K 8 svn:date V 27 2004-01-17T23:58:23.000000Z K 7 svn:log V 205 Do not install SYMLINKS if both NO_MAILWRAPPER and NO_SENDMAIL is defined. PR: 57058 Reported by: Henri Hennebert Melvyn Sopacua on current@ Submitted by: ru@ MFC after: 2 weeks END K 10 svn:author V 5 johan K 8 svn:date V 27 2004-01-18T00:17:14.000000Z K 7 svn:log V 101 Fix type in comment, 's/writtent/written/' PR: 56954 Submitted by: Dan Langille END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-01-18T03:44:14.000000Z K 7 svn:log V 82 Don't acquire Giant in vm_object_deallocate() unless the object is vnode- backed. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-01-18T04:10:45.000000Z K 7 svn:log V 70 Fix to support KANA and graphics characters which code are over 0x80. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-01-18T04:13:27.000000Z K 7 svn:log V 36 PC98 uses the different frame code. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-01-18T05:51:06.000000Z K 7 svn:log V 109 Increase UMA_BOOT_PAGES because of changes to pv entry initialization in revision 1.457 of i386/i386/pmap.c. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-18T07:06:21.000000Z K 7 svn:log V 146 Work around a recently-introduced gcc bug. The compiler no longer accepts certain floating point constant representations that are legal in C99. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T07:44:53.000000Z K 7 svn:log V 242 Added two utility targets "secure" and "insecure", analogous to "kerberize" and "dekerberize" in kerberos5/Makefile. These can be used to recompile bits with optional crypto support with and without crypto, respectively. Reviewed by: markm END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-18T07:53:49.000000Z K 7 svn:log V 146 Fix a bug that caused long double subnormals to be printed incorrectly on architectures without an explicit normalization bit (sparc64, powerpc). END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-18T07:57:02.000000Z K 7 svn:log V 122 Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the high and low words of the mantissa in bits, respectively. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-01-18T08:02:34.000000Z K 7 svn:log V 67 add device id for PANASONIC KXLRW32AN(USB CD-R/RW,not yet support) END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-18T08:05:21.000000Z K 7 svn:log V 179 Add a delta accidentally omitted from the previous commit: Define DBL_MANH_SIZE and DBL_MANL_SIZE to be the sizes of the high and low words of the mantissa in bits, respectively. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-01-18T08:28:07.000000Z K 7 svn:log V 260 Backout previous commit. On RELENG_4 we have printf as a shell builtin (not so in HEAD). If you want to build/install RELENG_4 on HEAD, you have to set MAKEDEVPATH to include /usr/bin (at least as long HEAD's /bin/sh has no printf builtin). Explained by: bde END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-18T08:28:32.000000Z K 7 svn:log V 438 Fix some bugs affecting the %a and %A format specifiers. Since these are not fully implemented and ifdef'd out, the bugs have never manifested themselves. Specifically: - Fix a memory leak in the case where %a follows another floating-point format. - Make the %a/%A code behave like %e/%E with respect to precision. - It is no longer valid to assume that '-' and '0x' are mutually exclusive. - Address other minor issues. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-18T08:28:47.000000Z K 7 svn:log V 36 Prototype __hdtoa() and __hldtoa(). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-01-18T08:47:40.000000Z K 7 svn:log V 85 MFC rev. 1.137 and 1.138: -f in conjunction with -p and -c flags are ipfw2 features. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-01-18T09:04:57.000000Z K 7 svn:log V 25 Sync to 1.158 of usbdevs END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T09:06:40.000000Z K 7 svn:log V 73 We also want the *_p.a symlinks to be part of the proflibs distribution. END K 10 svn:author V 3 ale K 8 svn:date V 27 2004-01-18T09:17:53.000000Z K 7 svn:log V 111 MFC rev. 1.8 and rev. 1.1114: - Update list of device drivers that support polling - Remove redundancy in LINT END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-01-18T09:19:53.000000Z K 7 svn:log V 209 Pay attention to the timeout value passed down by the upper layer. (NetBSD src/sys/dev/usb/umass.c rev.1.67) PR: kern/58649 (Problem 1) Submitted by: SAKIYAMA Nobuo MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T09:29:47.000000Z K 7 svn:log V 70 Put chkey(1), newkey(8), and keyserv(8) into the crypto distribution. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T09:32:52.000000Z K 7 svn:log V 40 DISTRIBUTION is normally single-valued. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-18T10:15:48.000000Z K 7 svn:log V 147 Avoid overwriting capability bits marked earlier when setting HW checksum offload bits. Enable available capabilities properly. Reviewed by: sam END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-18T10:32:49.000000Z K 7 svn:log V 129 Implement __hdtoa() and __hldtoa() and enable printf() support for %a and %A, which print floating-point numbers in hexadecimal. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-01-18T10:50:40.000000Z K 7 svn:log V 20 Add missing free's. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T12:26:33.000000Z K 7 svn:log V 76 Fixed a memory leak. Submitted by: Stanford Metacompilation research group END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T12:32:06.000000Z K 7 svn:log V 76 Fixed a memory leak. Submitted by: Stanford Metacompilation research group END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-01-18T12:46:19.000000Z K 7 svn:log V 575 Empty vendor string overrides knowndevs ubd_devinfo_vp() is getting an empty string from its usbd_get_string() call on the vendor, instead of NULL. This means usb_knowndevs in not consulted. Add lines between grabbing those char *s and the USBVERBOSE ifdef to set vendor to NULL if it is the empty string (similarly for product). This causes vendor to be filled-out, although the product name read overrules usb_knowndevs (this appears to be a conscience decision made by the NetBSD folks): PR: kern/56097 Submitted by: Hal Burch MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T12:49:36.000000Z K 7 svn:log V 75 Fixed a memory leak. Reported by: Stanford Metacompilation research group END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T13:09:38.000000Z K 7 svn:log V 89 Apparently there's a good reason why M_WAITOK malloc() is done before xpt_create_path(). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T14:02:53.000000Z K 7 svn:log V 114 Since "m" is not part of the "mp" chain, need to free() it. Reported by: Stanford Metacompilation research group END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T14:58:07.000000Z K 7 svn:log V 725 Deal better with the crypto version of the PAM library that goes on the release media -- only put what is different in the crypto version compared to the base version. This reduces PAM entries in /usr/lib in the "crypto" distribution to: libpam.a libpam.so@ libpam.so.2 pam_krb5.so@ pam_krb5.so.2 pam_ksu.so@ pam_ksu.so.2 pam_ssh.so@ pam_ssh.so.2 The libpam.so* is still redundant (it is identical to the "base" version), but we can't set DISTRIBUTION differently for libpam.a and libpam.so. (The removal of libpam.so* from the crypto distribution could be addressed by the release/scripts/crypto-make.sh script, but then we'd also need to remove redundant PAM headers, and I'm not sure this is worth a hassle.) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-01-18T15:16:12.000000Z K 7 svn:log V 89 Sync with sys/boot/forth/frames.4th revision 1.2 (PC98 support). Suggested by: matusita END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-01-18T15:58:30.000000Z K 7 svn:log V 26 Fix botch in last commit. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T16:55:01.000000Z K 7 svn:log V 75 Fixed a memory leak. Reported by: Stanford Metacompilation research group END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T17:21:15.000000Z K 7 svn:log V 21 Fixed a memory leak. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-18T17:34:11.000000Z K 7 svn:log V 95 Fixed a memory leak. Reported by: Stanford Metacompilation research group Reviewed by: scottl END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-01-18T17:49:25.000000Z K 7 svn:log V 70 o Sync usage() and man page synopsis with reality. MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-01-18T17:51:34.000000Z K 7 svn:log V 81 o -m flags contructs case sensitive RE, not case insensitive. MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-18T19:29:04.000000Z K 7 svn:log V 227 A network interface driver can support IFCAP_VLAN_MTU only, without IFCAP_VLAN_HWTAGGING. The previous version of the leading comment in this file could lead to the opposite conclusion. Fix some typos in the comment as well. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-01-18T21:06:56.000000Z K 7 svn:log V 569 Add new CPU_ENABLE_TCC option, from NOTES: CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected, TCC allows to restrict power consumption by using machdep.cpuperf* sysctls. This operates independently of SpeedStep and is useful on systems where other mechanisms such as apm(4) or acpi(4) don't work. Given the fact that many, even modern, notebooks don't work properly with Intel ACPI, this is indeed very useful option for notebook owners. Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-01-18T21:18:00.000000Z K 7 svn:log V 575 Add new CPU_ENABLE_TCC option, from NOTES: CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected, TCC allows to restrict power consumption by using machdep.cpuperf* sysctls. This operates independently of SpeedStep and is useful on systems where other mechanisms such as apm(4) or acpi(4) don't work. Given the fact that many, even modern, notebooks don't work properly with Intel ACPI, this is indeed very useful option for notebook owners. Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-18T21:23:30.000000Z K 7 svn:log V 58 Update the list of possible mbuf flags from . END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-01-18T21:29:33.000000Z K 7 svn:log V 111 add missing setusershell() calls. PR: bin/2442 Reviewed by: Friedemann Becker END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-18T21:29:46.000000Z K 7 svn:log V 49 Update the list of mbuf types from . END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-01-18T21:32:24.000000Z K 7 svn:log V 53 MFC r1.24: Stop "fortune -l" from looping forever. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-01-18T21:33:25.000000Z K 7 svn:log V 141 add missing endusershell() call. Original version was incorrect. PR: bin/2442 Reviewed by: Friedemann Becker END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-01-18T21:39:58.000000Z K 7 svn:log V 235 MFC r1.15: gethostbyname2() is able to lookup AF_INET6. PR: 23823 Noticed by: Andrew Arensburger This was mentioned again in: PR: docs/59669 Submitted by: Volker Stolz END K 10 svn:author V 8 charnier K 8 svn:date V 27 2004-01-18T21:46:39.000000Z K 7 svn:log V 426 Remove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, make a new function dup_shell() to replace ok_shell() and make it unconditionnally strdup() its result to make the caller's code simplier. Change ok_shell() to just return an integer value suitable for tests (it was used mainly for that purpose). Do not use strdup() in the caller's code but rely on dup_shell() that will do the job for us. PR: bin/2442 END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-01-18T21:58:33.000000Z K 7 svn:log V 63 MFC r1.7 Correct compilation with "#define really_paranoid". END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-01-18T22:14:23.000000Z K 7 svn:log V 310 Remove verbage about -O2 producing bad code on Alpha. By all accounts GCC 3.3 -O2 produces correct code on Alpha. However, note that FreeBSD has alias bugs that make -O2 produce bad code on all(most?) platforms. Also don't tell people we don't want -O2 related bug reports, we do -- if they contain patches. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-01-18T22:24:23.000000Z K 7 svn:log V 271 Revision 1.7 of this file added information about the location of each program's source. This update optimizes the build a bit by giving that information to crunchgen rather than asking crunchgen to do a directory search to locate sources. Approved by: gordon (Mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-01-18T22:31:30.000000Z K 7 svn:log V 48 Work around removal of EAI_NODATA from netdb.h. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-18T22:57:11.000000Z K 7 svn:log V 454 Convert from using taskqueue_swi to using private kernel threads. The problem with using taskqueue_swi is that some of the things we defer into threads might block for up to several seconds. This is an unfriendly thing to do to taskqueue_swi, since it is assumed the taskqueue threads will execute fairly quickly once a task is submitted. Reorganized the locking in if_ndis.c in the process. Cleaned up ndis_write_cfg() and ndis_decode_parm() a little. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-18T23:42:28.000000Z K 7 svn:log V 243 Reformat the list of essential mbuf fields according to the nice style used in ifnet(9). This includes specifying field types, starting descriptions with a capital letter, and ending them with a full stop. Improve the language a bit, as well. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-01-19T01:07:18.000000Z K 7 svn:log V 291 FIxed unsorting in previous commit (description of CPU_ENABLE_TCC). FIxed some nearby disorder (descriptions of CPU_BLUELIGHTNING_3X, CPU_DIRECT_MAPPED_CACHE, CPU_DISABLE_CMPXCHG, CPU_DISABLE_SSE, CPU_ELAN_XTAL and CPU_SOEKRIS, and options for all of these except CPU_DIRECT_MAPPED_CACHE). END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-01-19T01:26:59.000000Z K 7 svn:log V 101 Fixed formatting of sentence breaks. Use 2 spaces for all of them instead of for about 3/4 of them. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-01-19T01:44:06.000000Z K 7 svn:log V 220 Removed some garbage comments: - references to removed math emulators for NPX_DEBUG - header for the null set of mandatory devices - reference to the removed (and bogus when it existed) sysctl kern.timecounter.method. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-01-19T02:18:34.000000Z K 7 svn:log V 530 Fixed misplacement and bitrot in the cy driver's configuration in rev.1.1040. It is a miscellaneous isa+pci driver, but came back described as a pci-only driver and placed in an i4b pci subsection after its migration to /sys/conf/NOTES. Put it back where it used to be, fully unsorted in the `Miscellaneous hardware' section. Reduced nearby disorder in this section by moving configuration of the digi driver to where it was for the old digiboard drivers, so that the order at least matches the order in the table of contents. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-19T05:14:12.000000Z K 7 svn:log V 111 Import gdtoa 20040118. This revision addresses some corner cases in denormal and locale handling in strtod(). END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-19T05:14:12.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r124703, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-01-19T05:14:13.000000Z K 7 svn:log V 79 This commit was manufactured by cvs2svn to create tag 'gdtoa-vendor-v20040118'. END K 10 svn:author V 4 onoe K 8 svn:date V 27 2004-01-19T05:25:43.000000Z K 7 svn:log V 231 Change WI_RID_SCAN_RES compatibility interface to return the result after active scan is completed just as WI_RID_READ_APS. This fixes wicontrol -L for ath(4) and awi(4) to have results even if the driver cannot associate any APs. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-19T05:30:56.000000Z K 7 svn:log V 297 Add regression tests for some of the bugs recently discovered in the vendor's strtod() implementation. While here, disable some of the long double tests on i386, since FreeBSD/i386 is the only port that doesn't evaluate long doubles in their full precision (due to constant folding bugs in gcc). END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-19T05:59:07.000000Z K 7 svn:log V 243 Add regression tests for printf's %a/%A formats. While here, disable some of the long double tests on i386, since FreeBSD/i386 is the only port that doesn't evaluate long doubles in their full precision (due to constant folding bugs in gcc). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-19T07:03:46.000000Z K 7 svn:log V 96 Properly program the multicast filter in ndis_setmulti(), and fix promisc mode in ndis_ioctl(). END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-19T08:28:30.000000Z K 7 svn:log V 922 Bring the *printf(3) documentation up to date with the code: - Update and improve the documentation for %[aA] o Like %[eE], %[aA] may round the result if a precision is specified. o Grammar police: Fix a split infinitive. o The FreeBSD implementation does better than the minimum required by C99 (literal translation of the mantissa). The digit before the hexadecimal-point is never 0 unless the number itself is 0. o Clarify that the exponent field represents a decimal exponent of 2. o Discuss the fact that multiple valid representations are possible. o Remove the entry in the BUGS section claiming that %[aA] is not implemented. - Remove the entry in the BUGS section claiming that the ' flag for printing thousands separators is unimplemented for floating-point. - Remove the entry in the BUGS section claiming that the L modifier reduces the precision to "double" before conversion. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-19T12:36:08.000000Z K 7 svn:log V 18 Normalize SUBDIR. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-01-19T12:41:39.000000Z K 7 svn:log V 40 add cross-reference to clock_gettime(2) END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-01-19T12:51:40.000000Z K 7 svn:log V 125 Add support IO-data DVD Multi-plus unit iU-CD2 PR: kern/61578 Submitted by: Masaharu FUJITA MFC after: 1 week END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-01-19T12:53:23.000000Z K 7 svn:log V 25 Sync to 1.159 of usbdevs END K 10 svn:author V 8 matusita K 8 svn:date V 27 2004-01-19T13:35:46.000000Z K 7 svn:log V 240 Fix "5.x release on 4.x box" support. It is required to check /etc/rc.d/ldconfig before use, because ${CHROOT} sandbox is sometimes 4.x world. If /etc/rc.d/ldconfig is not there, run ldconfig(8) directly. Discussed with: imp, obrien, ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-19T13:40:51.000000Z K 7 svn:log V 54 Use the standard API to install files. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-19T14:00:26.000000Z K 7 svn:log V 132 Removed custom "load" and "unload" targets. Removed "deinstall" targets -- the idea is to provide the standard "deinstall" target. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-01-19T14:51:45.000000Z K 7 svn:log V 835 Implement reference counting of read-write locks. This uses a list in the thread structure to keep track of the locks and how many times they have been locked. This list is checked on every lock and unlock. The traversal through the list is O(n). Most applications don't hold so many locks at once that this will become a problem. However, if it does become a problem it might be a good idea to review this once libthr is off probation and in the optimization cycle. This fixes: o deadlock when a thread tries to recursively acquire a read lock when a writer is waiting on the lock. o a thread could previously successfully unlock a lock it did not own o deadlock when a thread tries to acquire a write lock on a lock it already owns for reading or writing [ this is admittedly not required by POSIX, but is nice to have ] END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-01-19T15:00:57.000000Z K 7 svn:log V 429 Refactor _pthread_mutex_init o Simplify the logic by removing a lot of unnecesary nesting o Reduce the amount of local variables o Zero-out the allocated structure and get rid of all the unnecessary setting to 0 and NULL; Refactor _pthread_mutex_destroy o Simplify the logic by removing a lot of unnecesary nesting o No need to check pointer that the mutex attributes points to. Checking passed in pointer is enough. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-01-19T15:20:00.000000Z K 7 svn:log V 115 Fix breakage on timeout/retries. The bug cause a sema to be leaked so that the calling process would newer wakeup. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2004-01-19T15:31:57.000000Z K 7 svn:log V 75 Remove files which have been removed in the 3.01RC12 release of isc-dhcpd. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-01-19T16:14:58.000000Z K 7 svn:log V 94 Add prototypes for the three syscall stubs that are invoked here, in order to quiet warnings. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-01-19T16:16:53.000000Z K 7 svn:log V 119 libc is now WARNS=2 clean with the exception of the gdtoa bits (which are now not built with warnings enabled at all). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-19T18:56:31.000000Z K 7 svn:log V 169 Eliminate some code duplication: since ndis_runq() and ndis_intq() were basically the same function, compact them into a single loop which can be used for both threads. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-19T19:21:25.000000Z K 7 svn:log V 142 Implement atoi() and atol(). Some drivers appear to need these. Note that like most C library routines, these appear to be _cdecl in Windows. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-19T19:26:02.000000Z K 7 svn:log V 40 Clean up makefiles. Reviewed by: harti END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-19T19:57:00.000000Z K 7 svn:log V 141 Implement IofCompleteRequest() and IoIsWdmVersionAvailable(). Correct IofCallDriver(): it's fastcall, not stdcall. Add vector to vsprintf(). END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-01-19T20:03:43.000000Z K 7 svn:log V 40 Spell magic '16' number as IO_SEQSHIFT. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-19T20:45:27.000000Z K 7 svn:log V 30 Add WDM major/minor #defines. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-01-19T20:45:43.000000Z K 7 svn:log V 83 One more instance of magic number used in place of IO_SEQSHIFT. Submitted by: alc END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-01-19T21:22:21.000000Z K 7 svn:log V 63 "The Aged Aged Man" was not a word doubling. Spotted by: grog END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-01-19T21:27:11.000000Z K 7 svn:log V 112 Add linenumber and source filename to panic(9) output. Ideally a traceback should be printed too, any takers ? END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-01-19T21:44:58.000000Z K 7 svn:log V 74 Document __MAKE_CONF and its default, /etc/make.conf. MFC-After: 2 weeks END K 10 svn:author V 3 mbr K 8 svn:date V 27 2004-01-19T22:07:59.000000Z K 7 svn:log V 439 If we have a working link again after connectivity loss, or if we need to renew a lease, contact the dhcp-server directly instead of using INADDR_BROADCAST all the time. This should fix some brain-dead dhcp server implementations which give you all the time a new IP if the lease has not yet expired. Instead of using ICMP to check if the server is alive, we just check the return value of sendto() and additionally have a timeout there. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-20T00:40:35.000000Z K 7 svn:log V 174 Simplify mpool_get() and mpool_write() by using pread() and pwrite() instead of lseek()/_read() and lseek()/_write(). PR: bin/54276 Submitted by: END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-01-20T01:27:42.000000Z K 7 svn:log V 82 pread/pwrite: follow lseek spirit - return EINVAL on negative offset for non-VCHR END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-01-20T02:35:46.000000Z K 7 svn:log V 103 s/framep/tf/g -- this normalizes on the use of tf to point to the trapframe and improves grep-ability. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-20T03:02:18.000000Z K 7 svn:log V 277 Use 'uint32_t' instead of 'long' when a 32-bit integer is intended. This results in no functional change, aside from fixing a data corruption bug on LP64 platforms. The code here could still use a significant amount of cleanup. PR: 56502 Submitted by: hrs (earlier version) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-01-20T03:29:24.000000Z K 7 svn:log V 671 Fix handling of FP traps: o For traps, the cr.iip register points to the next instruction to execute on interrupt return (modulo slot). Since we need to get the bundle of the instruction that caused the FP fault/trap, make sure we fetch the previous bundle if the next instruction is in fact the first in a bundle. o When we call the FPSWA handler, we need to tell it whether it's a trap or a fault (first argument). This was hardcoded to mean a fault. Also, for FP faults, when a fault is converted to a trap, adjust the cr.iip and cr.ipsr registers to point to the next instruction. This makes sure that the SIGFPE handler gets a consistent state. END K 10 svn:author V 4 matk K 8 svn:date V 27 2004-01-20T03:58:57.000000Z K 7 svn:log V 165 Fix a panic when kldloading a sound driver. Do this by replacing the link-list of dev_t's with named variables. Remove used code. Approved by: tanimura (mentor) END K 10 svn:author V 3 das K 8 svn:date V 27 2004-01-20T04:22:47.000000Z K 7 svn:log V 203 Discard the first 1024 bytes of output as suggested by http://citeseer.nj.nec.com/fluhrer01weaknesses.html and http://citeseer.nj.nec.com/531224.html . PR: 61126 Submitted by: Jeff Ito END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-01-20T04:37:07.000000Z K 7 svn:log V 22 Fix sort misordering. END K 10 svn:author V 4 matk K 8 svn:date V 27 2004-01-20T05:30:09.000000Z K 7 svn:log V 162 Reduce latency when using the SNDCTL_DSP_RESET ioctl by calling chn_resetbuf(). Submited by: Pyun YongHyeon Approved by: tanimura (mentor) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-20T08:19:42.000000Z K 7 svn:log V 102 Correct instances of mtx_lock()/mtx_unlock() that should have been mtx_pool_lock()/mtx_pool_unlock(). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-20T08:55:06.000000Z K 7 svn:log V 68 Also sort ignoring case -- makes finding things by browsing easier. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-01-20T09:27:03.000000Z K 7 svn:log V 95 Use a larger field for the size in blocks; the current width (4 digits) is only good for 5 MB. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-20T10:27:23.000000Z K 7 svn:log V 256 Use a single style for share/man/ makefiles: - Sort MAN and MLINKS in "dictionary" order ignoring case. - For multi-value MAN and multi-pair MLINKS, put each value/pair on its own line, for easier sorting and so that further diffs are easier to see. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-20T10:31:52.000000Z K 7 svn:log V 20 mdoc(7): Fix title. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-20T12:57:28.000000Z K 7 svn:log V 9 Grammar. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-20T13:09:29.000000Z K 7 svn:log V 11 Normalize. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-20T13:13:40.000000Z K 7 svn:log V 52 Removed duplicate y.tab.h from SRCS and CLEANFILES. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-20T13:31:35.000000Z K 7 svn:log V 51 The API seems the best to use here. END K 10 svn:author V 6 eivind K 8 svn:date V 27 2004-01-20T13:51:23.000000Z K 7 svn:log V 99 Add /var/db/ports/ (support directory necessary for ports that use the new OPTIONS infrastructure) END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-01-20T16:51:02.000000Z K 7 svn:log V 49 Update the support for the VIA 8237 southbridge. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-01-20T17:49:24.000000Z K 7 svn:log V 960 MFC: Sync AC97 changes from -CURRENT: ac97.c: 1.49: Add ID for ALC658 CODEC. ac97.c: 1.48: Recognize the Avance Logic ALC655 codec found on some ICH4/5-based motherboards, such as the Gigabyte I848P. ac97.c: 1.46: Add Creative EV1938. ac97.c: 1.45: When present use ogain instead of master for surround sound channels. ac97.c: 1.44: Additional VT1616 id. ac97.c: 1.43: Apply Rudolf Cejka's patch for AD1980 hook & ac97_fix_auxout. Associate AC97_MIX_AUXOUT with SOUND_MIXER_OGAIN rather than SOUND_MIXER_MONITOR. Add ac97_fix_tone to remove tone controls from mixer if invalid ac97.h: 1.14: Apply Rudolf Cejka's patch for AD1980 hook & ac97_fix_auxout. Associate AC97_MIX_AUXOUT with SOUND_MIXER_OGAIN rather than SOUND_MIXER_MONITOR. Add ac97_fix_tone to remove tone controls from mixer if invalid ac97_patch.c: 1.2: Add patch for AD198x. ac97_patch.h: 1.2: Add patch for AD198x. Approved by: matk END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-01-20T18:33:02.000000Z K 7 svn:log V 61 Pay attention to mac_portacl_enabled. Submitted by: simon END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-01-20T19:30:31.000000Z K 7 svn:log V 93 MFC: Fix up some nits and save %cx around BIOS read calls to workaround a bug in some BIOSs. END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-01-20T20:48:26.000000Z K 7 svn:log V 234 Import sdpd(8) sources. This is Bluetooth Service Discovery Protocol daemon. Extend libsdp(3) API to allow service registration and removal. Fix uninitialized variable bug in sdpcontrol(8). Reviewed by: imp (mentor) No objection: ru END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-01-20T21:33:45.000000Z K 7 svn:log V 130 Slightly rearrange wording to deconfuse our man.cgi. PR: 60743 Submitted by: Lucas MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-01-20T21:38:48.000000Z K 7 svn:log V 48 Use getenv_int() rather than reimplementing it. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2004-01-20T21:40:25.000000Z K 7 svn:log V 200 Merge from DragonFlyBSD rev 1.10: date: 2003/09/02 10:04:47; author: hsu; state: Exp; lines: +5 -6 Account for when Limited Transmit is not congestion window limited. Obtained from: DragonFlyBSD END K 10 svn:author V 6 marcus K 8 svn:date V 27 2004-01-20T22:39:57.000000Z K 7 svn:log V 70 Add ports-accessibility and ports-x11-themes to the example supfiles. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2004-01-20T22:44:18.000000Z K 7 svn:log V 53 MFC: Add the ports/arabic category to the examples. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-01-20T22:44:21.000000Z K 7 svn:log V 29 fix build after KAME changes END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-01-20T22:45:10.000000Z K 7 svn:log V 263 Fix ipip_output() to always set *mp to NULL on failure, even if 'm' is NULL, otherwise ipsec4_process_packet() may try to m_freem() a bad pointer. In ipsec4_process_packet(), don't try to m_freem() 'm' twice; ipip_output() already did it. Obtained from: netbsd END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-01-21T03:03:40.000000Z K 7 svn:log V 151 Make sure pid file creation doesn't complain if it can't create the file. This removes a warning message when suspending is called by a non-root user. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T04:51:50.000000Z K 7 svn:log V 105 Updated manh shift constant type to 'ULL' for PPC to fix shift-too-large compile error reviewed by: das END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T04:56:39.000000Z K 7 svn:log V 71 Update 128-bit long double constants to match what is expected by libc END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T05:04:25.000000Z K 7 svn:log V 45 Include to get abort() prototype. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T05:08:51.000000Z K 7 svn:log V 213 __powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer. Took the opportunity to reduce __i386__ || __ia64__ || __amd64__ || __sparc64__ || __powerpc__ to !__alpha__ reviewed by: gallatin END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T05:16:23.000000Z K 7 svn:log V 193 A syscons implementation using the 8-bit framebuffer set up by OpenFirmware. Not at all optimized, but provides a PC-style user-experience. Tested on revA imac, B&W G3, 2k iBook, and G4 eMac. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T05:18:08.000000Z K 7 svn:log V 126 - Catch up with panic __LINE__/__FILE__ changes by moving panic calls out of asm. - remove some long-dead code from machdep.c END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T05:19:59.000000Z K 7 svn:log V 118 Add syscons files, and also generate a syscons font since Apple SVGA adapters don't have one available in their ROMs. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T05:20:58.000000Z K 7 svn:log V 57 Add required GFB options as well as one for ofw/syscons. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-21T05:22:53.000000Z K 7 svn:log V 147 Add syscons options and enable USB, since there is no conflict between the OpenFirmware console and the syscons console when using a USB keyboard. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T08:23:46.000000Z K 7 svn:log V 50 The gdbinit.${MACHINE_ARCH} script may not exist. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T08:24:44.000000Z K 7 svn:log V 59 Use the reinstallkernel.debug target, now that we have it. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-01-21T10:49:42.000000Z K 7 svn:log V 62 Setting pccb->ccb_h.status to CAM_REQ_CMP one time is enough. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-21T12:45:37.000000Z K 7 svn:log V 145 Add a description for the hardware-assisted checksumming facilities based on http://people.freebsd.org/~jlemon/csum.txt and my own observations. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-01-21T12:50:01.000000Z K 7 svn:log V 235 Replace home-grown dup2() implementation with actual dup2() calls. This should slightly reduce the number of system calls in critical portions of the shell, and select a more efficient path through the fdalloc code. Reviewed by: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T13:09:16.000000Z K 7 svn:log V 32 Removed unused {man,cat}9/i386. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T13:15:19.000000Z K 7 svn:log V 72 Create section 4 and 8 man subdirectories for all Tier 1 architectures. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-21T13:17:24.000000Z K 7 svn:log V 34 A couple of minor clarifications. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T13:24:38.000000Z K 7 svn:log V 32 Mark this manpage as i386-only. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-01-21T13:24:39.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T13:38:17.000000Z K 7 svn:log V 32 Mark APM manpages as i386-only. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T14:01:29.000000Z K 7 svn:log V 19 This is i386-only. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-21T14:06:25.000000Z K 7 svn:log V 22 This is Sparc64-only. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-01-21T16:02:20.000000Z K 7 svn:log V 57 There is PANASONIC KXLC005 which has another product id. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-01-21T16:03:40.000000Z K 7 svn:log V 25 Sync to pccarddevs 1.81. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-01-21T16:12:29.000000Z K 7 svn:log V 46 Merged from sys/dev/sio/sio.c revision 1.418. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-01-21T16:25:36.000000Z K 7 svn:log V 249 Bring ps.1 up to date with changes in the past seven years: * Remove mention of '>', 'A', and 'S' states * Mention 'W' state. * List 'J' state in the correct location. * Sync with flags in sys/proc.h Approved by: rwatson (mentor) MFC after: 7 days END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-01-21T16:27:56.000000Z K 7 svn:log V 708 Incorporate two security fixes from later versions of CVS. From the NEWS file of cvs 1.11.11: * pserver can no longer be configured to run as root via the $CVSROOT/CVSROOT/passwd file, so if your passwd file is compromised, it no longer leads directly to a root hack. Attempts to root will also be logged via the syslog. * Malformed module requests could cause the CVS server to attempt to create directories and possibly files at the root of the filesystem holding the CVS repository. Filesystem permissions usually prevent the creation of these misplaced directories, but nevertheless, the CVS server now rejects the malformed requests. Obtained from: ccvs.cvshome.org END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-01-21T16:27:56.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r124793, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-01-21T16:28:19.000000Z K 7 svn:log V 73 MFi386: revisions from 1.1116 to 1.1119. Remove NEWCARD related devices. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-01-21T16:29:16.000000Z K 7 svn:log V 59 Merge security fix from vendor branch (revision 1.1.1.14). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-01-21T16:36:17.000000Z K 7 svn:log V 106 After setting a ruleset on a new devfs mount, apply it. Approved by: phk, rwatson (mentor) PR: bin/61047 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-01-21T16:43:29.000000Z K 7 svn:log V 203 Allow devfs path rules to work on directories. Without this fix, devfs rule add path fd unhide is a no-op, while it should unhide the fd subdirectory. Approved by: phk, rwatson (mentor) PR: kern/60897 END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-01-21T16:44:49.000000Z K 7 svn:log V 212 Theo de Raadt has brought to our attention that he wrote at least part file and that he has not released it under a free license. Until the matter can be resolved, honor his claim and remove it. PR: misc/61676 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-01-21T16:49:05.000000Z K 7 svn:log V 243 Disable constant merging in isdnd and isdnmonitor. This is a "make my life easier" patch: I doubt this will affect anyone else, but the FreeBSD Update build code was getting very confused by this. Approved by: rwatson (mentor) PR: bin/61087 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-01-21T17:03:13.000000Z K 7 svn:log V 130 New errata: IPsec bugs. Source material for this errata note was... Submitted by: Bjoern A. Zeeb < bzeeb at Zabbadoz dot NeT > END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-01-21T17:10:47.000000Z K 7 svn:log V 246 Reduce gratuitous includes: don't include jail.h if it's not needed. Presumably, at some point, you had to include jail.h if you included proc.h, but that is no longer required. Result of: self injury involving adding something to struct prison END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-01-21T17:58:33.000000Z K 7 svn:log V 76 Revert previous commit, ru has ideas how to better document this elsewhere. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-01-21T18:03:54.000000Z K 7 svn:log V 90 Fix style(9) of my previous commit. Noticed by: nate Approved by: nate, rwatson (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-01-21T18:05:38.000000Z K 7 svn:log V 148 Don't leak softc's when destroying interfaces. Init the softc list when loaded. Noticed by: Maurycy Pawlowski-Wieronski END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-01-21T18:11:46.000000Z K 7 svn:log V 44 Add my birthday. Approved by: njl (mentor) END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-01-21T18:57:45.000000Z K 7 svn:log V 144 DTRT, quote parens in an extended regular expression. PR: 61668 Submitted by: Oliver Eikemeier MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-01-21T19:02:02.000000Z K 7 svn:log V 49 Remove #ifdef for ancient source FreeBSD compat. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-21T19:14:52.000000Z K 7 svn:log V 77 Make sure to trap failures correctly in ndis_get_info() and ndis_set_info(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-01-21T19:20:57.000000Z K 7 svn:log V 34 Simplify timing gymnastics a bit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-01-21T20:12:23.000000Z K 7 svn:log V 772 Clean up error handling in libstand filesystem code to be more consistent: - bzipfs and gzipfs now properly return errno values directly from their read routines rather than returning -1. - missing errno values on error returns for the seek routines on almost all filesystems were added. - fstat() now returns -1 if an error occurs rather than ignoring it. - nfs's readdir() routine now reports valid errno values if an error or EOF occurs rather than EPERM (It was just returning 0 for success and 1 for failure). - nullfs used the wrong semantics for every function besides close() and seek(). Getting it right for close() appears to be an accident at that. - read() for buffered files no longer returns 0 (EOF) if an error occurs, but returns -1 instead. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-01-21T21:05:40.000000Z K 7 svn:log V 94 Add a sysctl (default: off) which enables a log(LOG_INFO...) warning if the clock is stepped. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-21T21:09:09.000000Z K 7 svn:log V 90 Add structures and definitions for task offload (TCP/IP checksum, IPSec, TCP large send). END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-01-21T21:31:19.000000Z K 7 svn:log V 10 Cosmetics END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-01-21T22:00:50.000000Z K 7 svn:log V 112 Use the length of the interface name, not the length of its address when printing the name. Approved by: brian END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-21T22:29:51.000000Z K 7 svn:log V 109 Calculate the right register offset when clearing TX buffer pointer registers in rl_stop(). PR: kern/60250 END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-21T22:32:15.000000Z K 7 svn:log V 108 Fix multicast and promiscuous mode handling for Yukon devices. Submitted by: Jung-uk Kim END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-01-21T23:22:29.000000Z K 7 svn:log V 750 If a transfer to or from a floppy disk crosses a 64k boundary, we have to use a bounce buffer for the actual transfer to avoid crossing a 64k boundary. To do this, we malloc a buffer twice as big as we need and then find an aligned block within that buffer to do the transfer. The check to see which part of the block we use used the wrong variable for part of the condition meaning that in certain edge cases we would ask the BIOS to cross a 64k boundary. The BIOS request would then fail resulting in file transfers that just magically fail in the middle without any apparent reason. Specifically, my tests for the splitfs boot floppies managed to trigger this edge case. MFC after: 1 week X-MFC-info: along with fixes to libstand filesystems END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-21T23:32:50.000000Z K 7 svn:log V 250 As I've been pointed out by Andrew Gallatin, there are some network interface cards smart (or twisted?) enough to be able to calculate a TCP/UDP checksum for a packet fragmented by the host CPU. Therefore the paragraph on the case has been revised. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-01-22T00:10:21.000000Z K 7 svn:log V 67 Extend the description of the framework of interface capabilities. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-22T02:36:34.000000Z K 7 svn:log V 54 Add support for TCP/IP checksum offload. No, really. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-01-22T03:00:59.000000Z K 7 svn:log V 159 Add suspend and resume methods. I'm not certain this work correctly since I can't easily test them on my laptop right now, but they should do the right thing. END K 10 svn:author V 4 onoe K 8 svn:date V 27 2004-01-22T03:23:28.000000Z K 7 svn:log V 156 Fix definition of IFM_MODE, which should be refrected the change of IFM_IEEE80211_ mode. Also ifconfig(8) must be recompiled. Pointed out by Sam Leffeler. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-01-22T04:24:15.000000Z K 7 svn:log V 406 Two fixes here: 1. If fgets fails, don't go into an infinite cpu-intensive loop. Instead, check to see if the terminal still exists, and sleep(1) otherwise. 2. When we check to see if the terminal still exists, make sure we're not mislead by EINTR. This could have been a security issue, but fortunately the current implementation of tcgetattr doesn't EINTR. PR: bin/60758 Approved by: rwatson (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-01-22T04:33:00.000000Z K 7 svn:log V 256 Fix alignment of size field in `ls -lh` -- the width was being computed from log[10](largest file size), but when outputting in human-friendly format the width is always at most 4. (eg. "123K", " 12K", "1.2K".) PR: bin/59320 Approved by: rwatson (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-01-22T05:57:48.000000Z K 7 svn:log V 32 Remove references to cryptotest END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-01-22T05:59:35.000000Z K 7 svn:log V 85 MFC: remove cryptotest, and merge the copyright notice from current for the Makefile END K 10 svn:author V 4 kris K 8 svn:date V 27 2004-01-22T06:23:38.000000Z K 7 svn:log V 213 MFC: Do not try to mmap()/munmap() 0-length files. This allows a 4.x cp binary to work correctly on 5.x kernels (for which munmap() of a 0-length mapping returns an error). Noticed by: bento's 4.x package build END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-22T06:56:00.000000Z K 7 svn:log V 286 Make proc's kg_nice/ki_nice explicitly signed for PPC. This is a no-op on {i386/alpha/ia64/sparc64} where chars are signed by default. Should help ARM and S390 which also suffer from this. Tested on: ppc, i386, objdump disasm before/after diffs Reviewed by: obrien, bde (a while back) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-01-22T07:23:36.000000Z K 7 svn:log V 324 Userland signed char fixes for PPC build. Problems were using a char return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from Submitted by: Stefan Farfeleder Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-22T08:18:37.000000Z K 7 svn:log V 118 - Run makewhatis(1) in etc/Makefile at the end of "install". - Removed redundant and undocumented NO_MAKEDB_RUN knob. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-01-22T08:46:03.000000Z K 7 svn:log V 99 Since id(1) is in /usr, it may not be available until after filesystem mounting. Reminded by: bde END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-01-22T08:50:26.000000Z K 7 svn:log V 139 MFC rev. 1.51: include opt_ipsec.h so IPSEC/FAST_IPSEC is defined and the appropriate code is compiled in to support the O_IPSEC operator. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-22T10:01:47.000000Z K 7 svn:log V 106 Only enforce -fno-strict-aliasing for optimization levels that imply -fstrict-aliasing. Reviewed by: bde END K 10 svn:author V 3 rse K 8 svn:date V 27 2004-01-22T13:34:11.000000Z K 7 svn:log V 1638 Fix generation of random multicast MAC address. In case no real/physical IEEE 802 address is available, both the expired "draft-leach-uuids-guids-01" (section "4. Node IDs when no IEEE 802 network card is available") and RFC 2518 (section "6.4.1 Node Field Generation Without the IEEE 802 Address") recommend (quoted from RFC 2518): "The ideal solution is to obtain a 47 bit cryptographic quality random number, and use it as the low 47 bits of the node ID, with the _most_ significant bit of the first octet of the node ID set to 1. This bit is the unicast/multicast bit, which will never be set in IEEE 802 addresses obtained from network cards; hence, there can never be a conflict between UUIDs generated by machines with and without network cards." Unfortunately, this incorrectly explains how to implement this and the FreeBSD UUID generator code inherited this generation bug from the broken reference code in the standards draft. They should instead specify the "_least_ significant bit of the first octet of the node ID" as the multicast bit in a memory and hexadecimal string representation of a 48-bit IEEE 802 MAC address. This standards bug arised from a false interpretation, as the multicast bit is actually the _most_ significant bit in IEEE 802.3 (Ethernet) _transmission order_ of an IEEE 802 MAC address. The standards authors forgot that the bitwise order of an _octet_ from a MAC address _memory_ and hexadecimal string representation is still always from left (MSB, bit 7) to right (LSB, bit 0). Fortunately, this UUID generation bug could have occurred on systems without any Ethernet NICs only. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-01-22T14:41:17.000000Z K 7 svn:log V 99 Add missing free() in exception handlers. Reported by: Stanford Metacompilation research group END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-01-22T15:31:56.000000Z K 7 svn:log V 64 o Implement the pthread_spin_* functions in libthr. o Man pages END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-01-22T16:07:03.000000Z K 7 svn:log V 404 Fix the PCI attach routine to properly setup the IRQ and port resource rid's and to deallocate resources if a failure occurs during attach. This patch also fixes the driver to return failure if bus_alloc_resource() for the IRQ fails rather than panic'ing on the next line by passing a NULL resource to bus_setup_intr(). The other attachments already do all this. Submitted by: Jun Su END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-01-22T17:51:02.000000Z K 7 svn:log V 277 Catch up with etc/Makefile,v 1.324 -- split "install" and "distribution" targets, have "distribution" always install original (as from the release media) files, whether SENDMAIL_MC is set or not. Do error handling the make(1) way. Reviewed by: gshapiro Approved by: gshapiro END