Ħg151000 144 127 168 244 207 153 161 157 317 300 152 580 319 203 538 814 1100 317 296 1056 458 476 453 324 253 235 206 158 682 210 273 328 157 244 279 214 274 265 205 161 179 481 643 222 212 116 171 172 142 163 208 180 183 374 143 118 2076 143 311 187 190 468 904 166 476 193 230 164 310 149 169 253 228 1591 183 500 414 156 2352 164 144 811 128 278 164 165 183 1120 231 426 451 532 353 369 404 199 420 306 369 423 227 1286 1041 443 452 284 519 203 563 133 148 2771 167 149 172 268 173 280 258 242 312 451 388 677 288 306 445 350 235 374 335 285 215 265 288 251 419 259 254 611 250 919 657 252 481 K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-06T15:05:55.000000Z K 7 svn:log V 35 Eliminate some unneeded code bits. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-06T15:17:41.000000Z K 7 svn:log V 76 MFC: Make sure clonelists are correctly sorted. Approved by: re@ (scottl) END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-06T15:44:07.000000Z K 7 svn:log V 151 Add support for setting the SG list segment size. Use this for the SiI3112 workaround to get rid of the "oversized DMA" errors. MFC to 6.0 candidate. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-06T16:34:27.000000Z K 7 svn:log V 114 MFC: Remove OLDCARD. It only panics on my pc98 laptop. I'll fix cbb to attach to isa. Approved by: re (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-06T16:36:31.000000Z K 7 svn:log V 61 MFC: Remove references to OLDCARD Approved by: re@ (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-06T16:56:45.000000Z K 7 svn:log V 69 MFC: OLDCARD removal: don't build pccardd. Approved by: re@ (scottl) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-06T17:39:18.000000Z K 7 svn:log V 65 Eliminate need for __RMAN_RESOURCE_VISIBLE Reviewed by: marcel@ END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-10-06T17:53:46.000000Z K 7 svn:log V 224 MFC: 1.176 Don't pretend to be thread0 when calling sync(). It confuses the lock manager since in some places thread0 is then used for vnode locking while curthread is used for vnode unlocking. Approved by: re (scottl@) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T18:12:06.000000Z K 7 svn:log V 207 MFC: Add atomic_fetchadd(9) operation for types int and 32. Other small updates to atomic(9) include: - Note that arm and ppc don't provide 64-bit atomic ops. - Update sample code. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T18:13:19.000000Z K 7 svn:log V 60 MFC: Add the simple refcount API. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-06T18:17:29.000000Z K 7 svn:log V 487 MFC: sys/geom/eli/g_eli.h 1.4 Add a __packed keyword to g_eli_metadata struct definition, so sizeof(struct g_eli_metadata) will return the exact number of bytes needed for storing it on the disk. Without this change GELI was unusable on amd64 (and probably other 64-bit archs), because sizeof(struct g_eli_metadata) was greater than 512 bytes and geli(8) was failing on assertion. Reported by: Michael Reifenberger Reminded by: delphij Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-06T18:19:13.000000Z K 7 svn:log V 226 MFC: sbin/geom/class/mirror/gmirror.8 1.17 Add a note in example as well, that last sector is used for metadata, so it don't provoke confusions. Noticed by: Victor Sudakov Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:24:24.000000Z K 7 svn:log V 106 Complete MFC of rev. 1.215: Fix a LOR between sched_lock and sleep queue lock. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:27:27.000000Z K 7 svn:log V 441 MFC 1.154 (by rodrigc) | In ext2_mountfs(), check that the superblock size, SBSIZE, | is aligned with the sectorsize value returned by GEOM, before | doing a bread() of the superblock. | This eliminates a panic when trying the following on an empty CD-ROM drive: | mount_ext2fs /dev/acd0 /mnt | | Reviewed by: phk | | Revision Changes Path | 1.154 +12 -0 src/sys/gnu/fs/ext2fs/ext2_vfsops.c Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T18:27:59.000000Z K 7 svn:log V 721 Rototill vx(4), add locking, and mark MPSAFE: - Rename vxfoo() functions to vx_foo() to improve readability and consistency with other drivers. - Prefix most the softc members with 'vx_' (the other members already had the prefix). - Switch to using callout_init_mtx() and callout_*() rather than timeout() and untimeout(). - Add some missing calls to if_free() in some failure cases in vx_attach(). - Use if_printf() and remove the unit number from the softc. - Remove uses of the 'register' keyword and spls. - Add locked variants of vx_init() and vx_start(). - Add a mutex to the softc and lock it in various appropriate places. - Setup the interrupt handler last during attach. Tested by: imp MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:29:30.000000Z K 7 svn:log V 1002 MFC 1.12 (by netchild) | The resource_xxx routines in subr_hints.c are called before and after the | kenv environment in kern_environment.c switches to dynamic kenv. The prior | call sets the static variable hintp to the static hints in subr_hints.c | (hintmode==0). | | However, changes to the environment are not detected by the resource_xxx | lookups after the change to dynamic kernel environment, so the lookup | routines only report the old stuff of hintmode==0, even after the change to | the dynamic kenv. This causes kenv users to see a different environment than | the kernel routines. | | This is a problem in the mixer.c code that looks up initial mixer volume | settings from the hints: If the hints are dynamic and not from the | device.hints file, mixer.c doesn't see them, but kenv does. | | The patch from the PR (modified to comply to the style of the function) | solves this. | | PR: 83686 | Submitted by: Harry Coin Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:31:38.000000Z K 7 svn:log V 220 MFC 1.244 (by kbyanc) | Make getsockopt(..., SOL_SOCKET, SO_ACCEPTCONN, ...) work per IEEE Std | 1003.1 (POSIX). | | Revision Changes Path | 1.244 +1 -0 src/sys/kern/uipc_socket.c Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T18:41:31.000000Z K 7 svn:log V 203 Fix another edge case I just noticed when committing the previous changes: If bus_setup_intr() fails, cleanup the ifnet setup in vx_attach() by calling ether_ifdetach() and if_free(). MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:47:58.000000Z K 7 svn:log V 959 MFC Import of the new version of the HPTMV driver from Highpoint. The major change here is the support for amd64, as well as possible support for PAE. Many thanks to Highpoint for continuing to support FreeBSD. Obtained from: Steve Chang @ Highpoint Merged revisions: | 1.3 dev/hptmv/access601.h | 1.1 dev/hptmv/amd64-elf.raid.o.uu | 1.3 dev/hptmv/array.h | 1.3 dev/hptmv/atapi.h | 1.3 dev/hptmv/command.h | 1.9+1.10 dev/hptmv/entry.c | 1.4 dev/hptmv/global.h | 1.5 dev/hptmv/gui_lib.c | 1.3 dev/hptmv/hptintf.h | 1.6 dev/hptmv/hptproc.c | 1.5 dev/hptmv/i386-elf.raid.o.uu | 1.5 dev/hptmv/ioctl.c | 1.3 dev/hptmv/mv.c | 1.4 dev/hptmv/mvOs.h | 1.3 dev/hptmv/mvSata.h | 1.4 dev/hptmv/mvStorageDev.h | 1.5 dev/hptmv/osbsd.h | 1.3 dev/hptmv/raid5n.h | 1.3 dev/hptmv/readme.txt | 1.3 dev/hptmv/vdevice.h | 1.4 modules/hptmv/Makefile Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:52:26.000000Z K 7 svn:log V 361 Forced commit to note that the previous commit was to: MFC: Hook up the hptmv driver for amd64. | Revision Changes Path | 1.442 +1 -0 src/sys/amd64/conf/GENERIC | 1.42 +1 -1 src/sys/amd64/conf/NOTES | 1.76 +10 -0 src/sys/conf/files.amd64 | 1.454 +1 -0 src/sys/modules/Makefile Approved by: re (scottl, implicitly) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:57:13.000000Z K 7 svn:log V 379 MFC 1.82: | Revert the previous change for two reasons: (1) If vm_map_find() succeeds | but vm_map_wire() fails, then a vm object, vm map entries, and kernel_map | free space is leaked and (2) unwiring is handled automatically by | vm_map_remove(). | | Suggested by: tegge | | Revision Changes Path | 1.82 +10 -17 src/sys/kern/link_elf.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T18:58:59.000000Z K 7 svn:log V 356 MFC (by alc): | Eliminate an unneeded reference on a vm object. If, in fact, the nearby | vm_map_find() fails, then the excess reference causes the vm object to be | leaked. | | Reviewed by: tegge | | Revision Changes Path | 1.83 +0 -2 src/sys/kern/link_elf.c | 1.88 +0 -2 src/sys/kern/link_elf_obj.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T19:00:39.000000Z K 7 svn:log V 227 MFC (by alc): | Correctly handle vm_map_wire()'s failure. (See also revisions 1.81 and | 1.82.) | | Reviewed by: tegge | | Revision Changes Path | 1.84 +5 -1 src/sys/kern/link_elf.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T19:01:42.000000Z K 7 svn:log V 156 MFC (by alc): | Handle vm_map_wire()'s failure. | | Revision Changes Path | 1.89 +5 -1 src/sys/kern/link_elf_obj.c Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-06T19:04:08.000000Z K 7 svn:log V 142 - Use strsep() instead of strtok(). - strdup() uses M_WAITOK, so we don't need to check it's return value against NULL. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-06T19:06:07.000000Z K 7 svn:log V 113 Backout strtok() addition to libkern, strsep() is enough and strtok() is not safe. Discussed with: stefanf, njl END K 10 svn:author V 6 ehaupt K 8 svn:date V 27 2005-10-06T19:16:55.000000Z K 7 svn:log V 63 Adding myself to calendar.freebsd Approved by: novel (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-06T19:23:02.000000Z K 7 svn:log V 585 MFC 1.280 (by des): | Two minor optimizations of fdalloc(): | | - if minfd < fd_freefile (as is most often the case, since minfd is | usually 0), set it to fd_freefile. | | - remove a call to fd_first_free() which duplicates work already done | by fdused(). | | This change results in a small but measurable speedup for processes | with large numbers (several thousands) of open files. | | PR: kern/85176 | Submitted by: Divacky Roman | | Revision Changes Path | 1.280 +3 -1 src/sys/kern/kern_descrip.c Approved by: re END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-06T19:47:04.000000Z K 7 svn:log V 117 Make sure that the worker thread knows the type early enough to grab Giant for vnode backing. Found by: pho & tegge END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T20:05:04.000000Z K 7 svn:log V 180 MFC: Consolidate common code for assigning interrupts to PCI devices and add a sledgehammer tunable to override PCI interrupt routing for any PCI device. Approved by: re (scottl) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-10-06T20:11:01.000000Z K 7 svn:log V 232 o Use firmware extended scan command; this one doesn't crash when scanning the 5GHz band. o Enable 802.11a channels scanning for 2915ABG adapters. o Fix a typo (negociated->negotiated). With hints from NetBSD. MFC after: 2 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T20:17:17.000000Z K 7 svn:log V 65 MFC: Fixup locking in rl(4) and re(4). Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T20:18:20.000000Z K 7 svn:log V 151 MFC: Pin curthread longer during an interrupt so that we don't have to ignore preemptions caused by fast interrupt handlers. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T20:20:12.000000Z K 7 svn:log V 186 MFC: Minor fixups: - Use if_printf() and device_printf(). - Don't zero the softc. - Cleanup error handling in attach(). - Don't double init the callout handle. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-06T20:21:03.000000Z K 7 svn:log V 121 MFC: Don't save and restore the ELCR across suspend and resume for a particular Intel chipset. Approved by: re (scottl) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-06T20:43:24.000000Z K 7 svn:log V 177 MFC: if_bridge.c r1.23 > Do not packet filter in the bridge_start() routine, locally generated packets > are already filtered by the higher layers. Approved by: re (kensmith) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-10-06T20:43:44.000000Z K 7 svn:log V 171 MFC: Minor fixes and add amd64 support: - Fix SMBIOS entry point structure. - Add structure length sanity check. - Fix revision number output. Approved by: re (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-06T21:49:31.000000Z K 7 svn:log V 112 Eliminate __RMAN_RESOURCE_VISIBLE hack entirely by moving the struct resource_ to subr_rman.c where it belongs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-06T23:12:05.000000Z K 7 svn:log V 69 MFC: if no device-name, look at subsystem Approved by: re@ (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-06T23:15:18.000000Z K 7 svn:log V 87 MFC: if data is NULL, don't pass that to userland as (null) Approved by: re@ (scottl) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-07T00:32:16.000000Z K 7 svn:log V 384 Display the status of the spanning tree for each port. member: xl0 flags=7 member: gem0 flags=7 to: member: xl0 flags=7 port 3 priority 128 path cost 55 forwarding member: gem0 flags=7 port 1 priority 128 path cost 55 learning END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-07T01:51:29.000000Z K 7 svn:log V 546 MFC r1.144 When bridging is enabled and an ARP request is recieved on a member interface, the arp code will search all local interfaces for a match. This triggers a kernel log if the bridge has been assigned an address. arp: ac:de:48:18:83:3d is using my IP address 192.168.0.142! bridge0: flags=8041 mtu 1500 inet 192.168.0.142 netmask 0xffffff00 ether ac:de:48:18:83:3d Silence this warning for 6.0 to stop unnecessary bug reports, the code will need to be reworked. Approved by: re (scottl) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-07T02:18:20.000000Z K 7 svn:log V 125 Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes. Make prototype in extern.h match prototype in mount_ufs.c END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-07T02:22:04.000000Z K 7 svn:log V 115 In prmount(), use an unsigned int variable to eliminate 'comparison between signed and unsigned' compiler warning. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-07T02:22:48.000000Z K 7 svn:log V 20 Bump WARNS up to 3. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-10-07T02:29:50.000000Z K 7 svn:log V 75 Document recently added security.mac.seeotheruids.suser_privileged sysctl. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-10-07T02:32:16.000000Z K 7 svn:log V 76 Work around an apparent mdoc(7) bug. Spotted by: marius Discussed with: ru END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-07T06:32:11.000000Z K 7 svn:log V 49 snd_ess needs snd_sbc, so add a note about that. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-07T06:39:08.000000Z K 7 svn:log V 67 Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-07T06:43:04.000000Z K 7 svn:log V 113 o Mention the fact dcons(4) depends on "options GDB". Reviewed by: simokawa, ru (mdoc markup) MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-07T08:55:58.000000Z K 7 svn:log V 84 Polling is now configured with help of ifconfig(8), not sysctl. Prodded by: maxim END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-07T09:23:51.000000Z K 7 svn:log V 87 Polling is now configured with help of ifconfig(8), not sysctl. Prodded by: maxim END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-07T10:16:41.000000Z K 7 svn:log V 281 Document the -d flag to mail(1) better, which comes handy when you want to see, e.g., sendmail arguments mail(1) will use. -H is not an independent flag, it's a modifier. Also explicitly say that -H will cause mail(1) to exit as soon as it prints the headers. MFC after: 5 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-07T10:18:44.000000Z K 7 svn:log V 51 Sync usage screen with manpage. MFC after: 5 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-07T10:30:47.000000Z K 7 svn:log V 26 We don't need 'imp' here. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-07T10:59:41.000000Z K 7 svn:log V 1982 Improve printing of self times in the flat profile for functions that appear to be never called: (1) If a function is never called according to its call count but it must have been called because its child time is nonzero, then print it in the flat profile. Previously, if its call count was zero then we only printed it in the flat profile if its self time was nonzero. (2) If a function has a zero call count but has a nonzero self or child time, then print its total self time in the self time per call column as a percentage of the total (self + child) time. It is not possible to print the times per call in this case because the call count is zero. Previously, this was handled by leaving both per-call columns blank. The self time is printed in another column but there was no way to recover the total time. (1) partially fixes the case of the "never called" function main() and prepares for (2) to apply to main() and other functions. Profiling of main() was lost in the conversion from a.out to ELF, so main()'s call count has always been zero for many years; then in the common case where main() is a tiny function, it gets no profiling ticks, so main() was completely lost in the flat profile. (2) improves mainly cases like kernel threads. Most kernel threads appear to be never called because they are always started before userland can run to turn on profiling. As for main(), the fact that they are called is not very interesting and their callers are uninteresting, but their relative self time is interesting since they are long-running. Almost always printing percentages in the per-call columns would be more useful than almost always printing 0.0ms. 0.1ms is now a long time, so only very large functions take that long per call. The accuracy per call can approach 1-10 nsec provided programs are run for about 100000 times as long as is necessary to get this accuracy with high resolution kernel profiling. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-10-07T11:49:27.000000Z K 7 svn:log V 50 Do not ignore ENOENT Pointed out by: Amir Shalem END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-07T11:58:46.000000Z K 7 svn:log V 218 Catch up with increasing the resolution suitable for high-res kernel profiling from microseconds to nanoseconds in 1996. Picoseconds are already needed. Describe the choice of units for the per-call times in detail. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-07T12:40:51.000000Z K 7 svn:log V 95 MFC: make the kernels printf more paranoid about unknown %-formats Approved by: re@ (scottl) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-10-07T13:37:10.000000Z K 7 svn:log V 95 Add parse_uuid() that creates a binary representation of an UUID from a string representation. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-07T13:55:58.000000Z K 7 svn:log V 371 MFC: Define HAVE_KERNEL_OPTION_HEADERS when building kernel and when building modules along with kernel. After this change it is possible to embrace opt_*.h includes with ifdef HAVE_KERNEL_OPTION_HEADERS. And thus, avoid editing a lot of Makefiles in modules directory each time we introduce a new opt_xxx.h. Requested by: bde Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-07T14:00:06.000000Z K 7 svn:log V 807 Big overall MFC of polling(4) cleanup: o First attempt on removing Giant from polling. Details: http://lists.freebsd.org/pipermail/cvs-src/2005-September/051848.html o Second attempt, and big polling cleanup including: - Functinal approach to turning polling on/off - Deprecating of poll_in_trap - Removal of ifnet knowledge from kern_poll.c Details: http://lists.freebsd.org/pipermail/cvs-src/2005-October/053267.html o Improved checking of user configurable sysctls. Details: http://lists.freebsd.org/pipermail/cvs-src/2005-October/053351.html o Moving DEVICE_POLLING from opt_global.h to opt_device_polling.h: http://lists.freebsd.org/pipermail/cvs-src/2005-October/053479.html o All related documentation fixes. Approved by: re (kensmith) Thanks to: everyone, who helped with testing END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-10-07T14:00:07.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_0'. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-07T14:14:47.000000Z K 7 svn:log V 379 A deja vu of: http://lists.freebsd.org/pipermail/cvs-src/2004-October/033496.html The same problem applies to if_bridge(4), too. - Copy-and-paste the if_bridge(4) related block from if_ethersubr.c to ng_ether.c - Add XXXs, so that copy-and-paste would be noticed by any future editors of this code. - Also add XXXs near if_bridge(4) declarations. Silence from: thompsa END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-07T15:06:27.000000Z K 7 svn:log V 100 MFC: close a race in waiting for all geom events to have been handled. Approved by: re@ (scottl) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-07T15:08:41.000000Z K 7 svn:log V 137 MFC: make sure the type is set early enough for the kthread to know to grab Giant for vnode backed devices. Approved by: re@ (scottl) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-10-07T15:56:30.000000Z K 7 svn:log V 71 MFC: Switch from OLDCARD to NEWCARD on pc98. Approved by: re (scottl) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-10-07T17:20:35.000000Z K 7 svn:log V 214 MFC rev 1.6: Don't print anything if we can't do any localpkg shutdown (start already does this). Submitted by: Andre Albsmeier PR: conf/86606 Approved by: re (kensmith) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-10-07T18:11:32.000000Z K 7 svn:log V 54 Fixes my previous commit (rev 1.20) MFC after: 1 day END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-10-07T18:27:21.000000Z K 7 svn:log V 74 Import iwi-specific tools. Can help debug firmware or connection issues. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-07T19:25:05.000000Z K 7 svn:log V 160 MFC: Add support for setting the SG list segment size. Use this for the SiI3112 workaround to get rid of the "oversized DMA" errors. Approved by: re@ (scottl) END K 10 svn:author V 3 jon K 8 svn:date V 27 2005-10-07T19:38:07.000000Z K 7 svn:log V 135 MFC of 1.34: fix innetgr() returning false positives and negatives when reverse netgroup matching is used. PR: 35506 Approved by: re END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-07T22:13:17.000000Z K 7 svn:log V 1497 Fixed profiling of main() for amd64 and i386. This started rotting in 1993 in rev.1.5 of the i386 a.out version (csu/i386/crt0.c). Profiling uses a magic label "eprol" to delimit the start of the part of the text section covered by profiling. This label must be placed before the call to main() to get main() properly profiled. It was placed there in rev.1.1 of crt0.c. Rev.1.5 imported the initial implementation of shared libraries in FreeBSD and misplaced the label. Fortunately, the misplaced label was misspelled and the old label wasn't removed, so the new label had no effect. Unfortunately, when profiling was implemented for the ELF in 1998 in rev.1.2 of csu/i386-elf/crt1.c, only the incorrectly placed label was copied (after fixing its name). The bug was then copied to all other arches. The label seems to be still misplaced in NetBSD for most arches. It is in common.c for most arches so it is even further from being inside the function that calls main(). I think "eprol" is short for "end of prologue", but it must be placed before the end of the prologue so that it covers main(). crt0.c has it before the calls atexit(_mcleanup) and monstartup(...), but it cannot affect these calls so I moved it after the call to monstartup(). It now also covers the call to _init() but not the newer call to _init_tls(). Profiling of _init() seems to be harmless, and the call to _init_tls() seems to be misplaced. Reviewed by: jdp (long ago, for a slightly different i386 version) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-08T01:20:53.000000Z K 7 svn:log V 87 Now that bridge(4) has been removed, link bridge.4 to if_bridge.4 Reviewed by: mlaier END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-08T03:32:54.000000Z K 7 svn:log V 407 MFC: Add an rc.d script to start the pfsync interface after all the conventional network interfaces have been started so that pfsync can be attached to any of the latter. Record the dependency of rc.d/pf on the newly added rc.d/pfsync. Also make rc.d/pf start as early as before rc.d/routing to improve system security. Document rc.d/pfsync on pfsync(4) and rc.conf(5). Approved by: re (scottl), mlaier END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-08T05:16:45.000000Z K 7 svn:log V 318 Remove a couple of explicit memset(0) ops that were zeroing past the end of an allocation. This fixes the malloc 'use after free' panic on boot that many were seeing. It doesn't solve the problem of the allocations being cached and then written past their bounds later. That will take more work. Submitted by: kan END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-08T05:29:27.000000Z K 7 svn:log V 61 Outwit gcc. Submitted by: glebius, kensmith Approved by: re END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-08T05:57:40.000000Z K 7 svn:log V 2253 MFC ffs_softdep.c 1.185 - Schedule update of parent directory's link count after rmdir() Original commit message: truckman 2005-09-29 21:50:26 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c Log: After a rmdir()ed directory has been truncated, force an update of the directory's inode after queuing the dirrem that will decrement the parent directory's link count. This will force the update of the parent directory's actual link to actually be scheduled. Without this change the parent directory's actual link count would not be updated until ufs_inactive() cleared the inode of the newly removed directory, which might be deferred indefinitely. ufs_inactive() will not be called as long as any process holds a reference to the removed directory, and ufs_inactive() will not clear the inode if the link count is non-zero, which could be the result of an earlier system crash. If a background fsck is run before the update of the parent directory's actual link count has been performed, or at least scheduled by putting the dirrem on the leaf directory's inodedep id_bufwait list, fsck will corrupt the file system by decrementing the parent directory's effective link count, which was previously correct because it already took the removal of the leaf directory into account, and setting the actual link count to the same value as the effective link count after the dangling, removed, leaf directory has been removed. This happens because fsck acts based on the actual link count, which will be too high when fsck creates the file system snapshot that it references. This change has the fortunate side effect of more quickly cleaning up the large number dirrem structures that linger for an extended time after the removal of a large directory tree. It also fixes a potential problem with the shutdown of the syncer thread timing out if the system is rebooted immediately after removing a large directory tree. Submitted by: tegge MFC after: 3 days Revision Changes Path 1.185 +2 -0 src/sys/ufs/ffs/ffs_softdep.c Submitted by: tegge END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-08T06:51:47.000000Z K 7 svn:log V 72 MFP4: Note why we do the dance we do for waiting for the thread to die. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-08T06:53:17.000000Z K 7 svn:log V 52 MFP4: We no longer use intr_handlers, so remove it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-08T06:57:13.000000Z K 7 svn:log V 718 MFP4: Changes to hopefully make the new power code work better o Rather than just try to turn off EXCA_INTR_RESET, set the entire register to 0. This is slightly faster, and a better hammer. o Move attempted clearing of the output enable (EXCA_PWRCTL_OE) back to after we turn off the power. Modify it to write 0 so that we don't get Bad Vcc messages on TI bridges (untested, but ru@ sent me a similar patch) while at the same time avoiding interrupt storms on Ricoh bridges (tested by me on my Sony). # Many of my observations of 'breakage' for this patch are due to some bug # in the load/unload of cbb.ko unlreated to this change. I'll be investigating # and fixing that bug in the fullness of time. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-08T06:58:51.000000Z K 7 svn:log V 36 MFP4: More removal of unused stuff. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-08T07:06:49.000000Z K 7 svn:log V 185 MFC: sys/kern/kern_mib.c 1.76 mp_ncpus is always (properly) initialized, even on UP kernels, so just use it. Approved by: re (scottl) (approval from 30 Aug 2005) Reminded by: delphij END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-08T07:35:10.000000Z K 7 svn:log V 68 This line fell out of the merge, too. Approved by: re (implicitly) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-10-08T08:39:58.000000Z K 7 svn:log V 68 MFC: rev. 1.66 hptmv(4) now works on amd64. Approved by: re (hrs) END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2005-10-08T11:03:29.000000Z K 7 svn:log V 86 In ngt_input(), do not derefer sc (= (sc_p) tp->t_lsc) before making sure sc != NULL. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-08T15:55:09.000000Z K 7 svn:log V 1023 Mega Update to the aac driver to support a whole new family of cards and the modified interface that they use. Changes include: - Register a different interrupt handler for the new interface. This one is INTR_MPSAFE, not INTR_FAST, and directly processes completions and AIFs. - Add an event registration and callback mechanism for the ioctl and CAM modules can know when a resource shortage clears. This condition was previously fatal in CAM due to programming oversights. - Fix locking to play better with newbus. - Provide access methods for talking to cards with the NEWCOMM interface. - Fix up the CAM module to be better suited for dealing with newer firmware on the PERC Si/Di series that requires talking to plain SCSI via aac. - Add a whole slew of new PCI Id's. Thanks to Adaptec for providing an initial version of this work and for answering countless questions about it. There are still some rough edges in this, but it works well enough to commit and test for now. Obtained from: Adaptec, Inc. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-10-08T17:27:37.000000Z K 7 svn:log V 136 MFC rm.c 1.53 and rm.1 1.3[78], better handling of the -P flag on a read-only file, and related doc change. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T17:37:29.000000Z K 7 svn:log V 329 MFC 1.50 (by keramida): | Add a short description of how a literal colon ':' can be inlined in the | value of capability databases, since it's not really obvious how a colon | can be escaped, and a pointer to the getcap(3) manpage for more details. | | Triggered by: a question by Ceri on -questions Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-10-08T17:40:01.000000Z K 7 svn:log V 356 MFC through rm.c 1.53, rm.1 1.38, and Makefile 1.18. This includes the recent change to improve handling of the -P flag on read-only files, addition of the -I option for better handling of recursive deletes, a test for removal of / in the argument list, and related mdoc and comment changes and improvements. The Makefile change removes a spurious SRCS= END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-10-08T17:46:12.000000Z K 7 svn:log V 437 MFC through rm.c 1.53, rm.1 1.38, and Makefile 1.18. This includes the recent change to improve handling of the -P flag on read-only files, addition of the -I option for better handling of recursive deletes, a test for removal of / in the argument list, removal of clause 3 from the BSD license, some small code cleanups, and related mdoc and comment changes and improvements. The Makefile change removes a spurious SRCS=, and WARNS?= END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T17:56:33.000000Z K 7 svn:log V 256 MFC (by deischen) | Add namespace #defines for usleep. | | Revision Changes Path | 1.17 +1 -0 src/lib/libc/include/namespace.h | 1.14 +1 -0 src/lib/libc/include/un-namespace.h Approved by: re (kensmith) Ok'ed by: deischen, davidxu END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T17:56:53.000000Z K 7 svn:log V 272 MFC (by deischen) | Make usleep() overridable by the thread libraries so they can provide | cancellation points. | | Noticed by: phk | | Revision Changes Path | 1.29 +4 -1 src/lib/libc/gen/usleep.c Approved by: re (kensmith) Ok'ed by: deischen, davidxu END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T17:57:10.000000Z K 7 svn:log V 307 MFC (by deischen) | Make syslog() use the internal (non-cancellation point) _usleep(). | Prior to this it was calling the cancellable usleep() while holding | a lock. | | Revision Changes Path | 1.36 +1 -1 src/lib/libc/gen/syslog.c Approved by: re (kensmith) Ok'ed by: deischen, davidxu END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-08T17:57:15.000000Z K 7 svn:log V 104 MFC rev. 1.77: restore kerneldumpheader.architectureversion bytes swopping. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T17:57:28.000000Z K 7 svn:log V 323 MFC (by deischen) | Add a cancellation point for usleep(). | | While here, fix sleep() so that it is also a cancellation point (a | missing weak reference prevented that). | | Revision Changes Path | 1.10 +19 -0 src/lib/libthr/thread/thr_syscalls.c Approved by: re (kensmith) Ok'ed by: deischen, davidxu END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T17:57:49.000000Z K 7 svn:log V 209 MFC (by deischen) | Add a cancellation point for usleep(). | | Revision Changes Path | 1.9 +16 -1 src/lib/libpthread/thread/thr_sleep.c Approved by: re (kensmith) Ok'ed by: deischen, davidxu END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T17:58:11.000000Z K 7 svn:log V 272 MFC (by deischen) | Add usleep to the map files. | | Noticed by: davidxu | | Revision Changes Path | 1.15 +2 -0 src/lib/libpthread/pthread.map | 1.4 +2 -0 src/lib/libthr/pthread.map Approved by: re (kensmith) Ok'ed by: deischen, davidxu END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-08T18:00:41.000000Z K 7 svn:log V 330 MFC: Bring in support for new PC Card chipset (TC5299J) and old ISA/PCI chipset (RTL8019 and RTL8029). Eliminate ED_NO_MIIBUS option. You are now required to have miibus if you have pccard in your kernel (but not required if you don't!). Split out register definitions for possible future subsetting. Approved by: re@ (scottl) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-10-08T19:01:21.000000Z K 7 svn:log V 129 MFC: 1.36 - Removal of obsolete/wrong OPTIONS section 1.37 - Workaround for an mdoc bug by trhodes Approved by: re (kensmith) END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-08T20:04:28.000000Z K 7 svn:log V 1187 MFC ffs_alloc.c 1.135 - clear i_flag field in recycled inodes The IN_HASHED bit should not be cleared here in RELENG_5. Original commit message: truckman 2005-10-03 21:57:43 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_alloc.c Log: Initialize the inode i_flag field in ffs_valloc() to clean up any stale flag bits left over from before the inode was recycled. Without this change, a leftover IN_SPACECOUNTED flag could prevent softdep_freefile() and softdep_releasefile() from incrementing fs_pendinginodes. Because handle_workitem_freefile() unconditionally decrements fs_pendinginodes, a negative value could be reported at file system unmount time with a message like: unmount pending error: blocks 0 files -3 The pending block count in fs_pendingblocks could also be negative for similar reasons. These errors can cause the data returned by statfs() to be slightly incorrect. Some other cleanup code in softdep_releasefile() could also be incorrectly bypassed. MFC after: 3 days Revision Changes Path 1.135 +1 -0 src/sys/ufs/ffs/ffs_alloc.c END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-08T20:35:26.000000Z K 7 svn:log V 943 MFC kern_exec.c 1.276 (and 1.278) Original commit messages: truckman 2005-10-01 08:33:57 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c Log: Copy new process argument list in do_execve() before grabbing PROC_LOCK to avoid touching pageable memory while holding a mutex. Simplify argument list replacement logic. PR: kern/84935 Submitted by: "Antoine Pelisse" apelisse AT gmail.com (in a different form) MFC after: 3 days Revision Changes Path 1.276 +10 -10 src/sys/kern/kern_exec.c truckman 2005-10-04 04:02:33 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c Log: Add missing word to comment. Revision Changes Path 1.278 +1 -1 src/sys/kern/kern_exec.c PR: kern/84935 Submitted by: "Antoine Pelisse" apelisse AT gmail.com (in a different form) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T20:52:53.000000Z K 7 svn:log V 346 MFC (by ume) | fixed the validation code of routing header length in inet6_rth_getaddr(). | reported by Delia Kecskemeti | | Submitted by: Keiichi SHIMA | Obtained from: KAME | | Revision Changes Path | 1.7 +3 -4 src/lib/libc/net/rthdr.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-08T20:58:29.000000Z K 7 svn:log V 355 MFC (by ume) | refer RFC 3542 rather than RFC 2292bis. | | Submitted by: Keiichi SHIMA | Obtained from: KAME | | Revision Changes Path | 1.8 +2 -2 src/lib/libc/net/ip6opt.c | 1.25 +1 -1 src/lib/libc/net/rcmd.3 (already merged) | 1.8 +1 -1 src/lib/libc/net/rthdr.c Approved by: re (scottl) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-10-08T21:03:54.000000Z K 7 svn:log V 191 As alc pointed out to me, vm_page.c 1.305 was incomplete: uma_startup() still uses the constant UMA_BOOT_PAGES. Change it to accept boot_pages as an additional argument. MFC after: 2 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-08T21:19:15.000000Z K 7 svn:log V 422 MFC r1.2 Display the status of the spanning tree for each port. member: xl0 flags=7 member: gem0 flags=7 to: member: xl0 flags=7 port 3 priority 128 path cost 55 forwarding member: gem0 flags=7 port 1 priority 128 path cost 55 learning Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-08T21:46:23.000000Z K 7 svn:log V 110 MFC: lib/libmd/sha256.3 1.3 Correct type. Approved by: re (scottl) Requested by: delphij OK'ed by: cperciva END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-08T22:11:38.000000Z K 7 svn:log V 466 MFC 1.58 Fix so that when a slice or a partition is removed through g_slice_config(), it is destroyed in GEOM, in addition to being removed from /dev. Before this patch, if you applied a new MBR which deleted a slice, the deleted slice would not be in /dev, but it would still appear in kern.geom.conftxt and kern.geom.confxml, which would confused the diskPartitionEditor in sysinstall. Submitted by: pjd Requested by: delphij Approved by: re (scottl) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-08T22:36:54.000000Z K 7 svn:log V 38 aac_intr0 rotted long ago, remove it. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-08T22:41:57.000000Z K 7 svn:log V 53 Ue a better msleep identifier. Fix some whitespace. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-08T22:43:55.000000Z K 7 svn:log V 2677 Fixed range reduction near (but not very near) +-pi/2. A bug caused a maximum error of 2.905 ulps for cosf(), but the algorithm for cosf() is good for < 1 ulps and happens to give perfect rounding (< 0.5 ulps) near +-pi/2 except for the bug. The extra relative errors for tanf() were similar (slightly larger). The bug didn't affect sinf() since sinf'(+-pi/2) is 0. For range reduction in ~[-3pi/4, -pi/4] and ~[pi/4, 3pi/4] we must subtract +-pi/2 and the only complication is that this must be done in extra precision. We have handy 17+24-bit and 17+17+24-bit approximations to pi/2. If we always used the former then we would lose up to 24 bits of accuracy due to cancelation of leading bits, but we need to keep at least 24 bits plus a guard digit or 2, and should keep as many guard bits as efficiency permits. So we used the less-precise pi/2 not very near +-pi/2 and switched to using the more-precise pi/2 very near +-pi/2. However, we got the threshold for the switch wrong by allowing 19 bits to cancel, so we ended up with only 21 or 22 bits of accuracy in some cases, which is even worse than naively subtracting pi/2 would have done. Exhaustive checking shows that allowing only 17 bits to cancel (min. accuracy ~24 bits) is sufficient to reduce the maximum error for cosf() near +-pi/2 to 0.726 ulps, but allowing only 6 bits to cancel (min. accuracy ~35-bits) happens to give perfect rounding for cosf() at little extra cost so we prefer that. We actually (in effect) allow 0 bits to cancel and always use the 17+17+24-bit pi/2 (min. accuracy ~41 bits). This is simpler and probably always more efficient too. Classifying args to avoid using this pi/2 when it is not needed takes several extra integer operations and a branch, but just using it takes only 1 FP operation. The patch also fixes misspelling of 17 as 24 in many comments. For the double-precision version, the magic numbers include 33+53 bits for the less-precise pi/2 and (53-32-1 = 20) bits being allowed to cancel, so there are ~33-20 = 13 guard bits. This is sufficient except probably for perfect rounding. The more-precise pi/2 has 33+33+53 bits and we still waste time classifying args to avoid using it. The bug is apparently from mistranslation of the magic 32 in 53-32-1. The number of bits allowed to cancel is not critical and we use 32 for double precision because it allows efficient classification using a 32-bit comparison. For float precision, we must use an explicit mask, and there are fewer bits so there is less margin for error in their allocation. The 32 got reduced to 4 but should have been reduced almost in proportion to the reduction of mantissa bits. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-08T22:51:47.000000Z K 7 svn:log V 71 bridge.4 is now mlinked to if_bridge.4 so do not list it for deletion. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-08T22:55:36.000000Z K 7 svn:log V 57 Fixed syntax error (a missing brace) in previous commit. END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2005-10-09T00:19:28.000000Z K 7 svn:log V 75 MFC 1.35: do not derefer NULL sc in ngt_input(). Approved by: re (scottl) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-10-09T01:03:57.000000Z K 7 svn:log V 170 MFC 1.36: Remove the OPTIONS section, since it only documents FE_DEBUG and wrongly so. If the full list of fe(4) options is documented we can revive the entire section. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-10-09T02:37:27.000000Z K 7 svn:log V 80 Lock object while we iterate through it's backing objects. Discussed with: alc END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:05:23.000000Z K 7 svn:log V 183 MFC (by peter) | Remove unused (but initialized) variable 'objsize' from vm_mmap() | | Revision Changes Path | 1.201 +1 -2 src/sys/vm/vm_mmap.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:07:29.000000Z K 7 svn:log V 161 MFC (by alc) | Eliminate an incorrect (and unnecessary) cast. | | Revision Changes Path | 1.367 +1 -1 src/sys/vm/vm_map.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:08:28.000000Z K 7 svn:log V 145 MFC (by alc) | Eliminate an incorrect cast. | | Revision Changes Path | 1.208 +1 -1 src/sys/vm/vm_fault.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:13:49.000000Z K 7 svn:log V 215 MFC (by andre) | Remove bogous semicolons at the end of the definitions of | 'do { ... } while (0)' macros. | | PR: kern/83088 | Sumbitted by: Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:15:36.000000Z K 7 svn:log V 354 MFC (by ps) | In nfs_nget() if two threads race on the same filehandle, the loser | should cause the nfsnode to get freed. This fixes a potential vnode | (and nfsnode) leak in that path. | | Submitted by: Mohan Srinivasan | Reviewed by: phk | | Revision Changes Path | 1.78 +2 -1 src/sys/nfsclient/nfs_node.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:17:41.000000Z K 7 svn:log V 291 MFC (by andre) | Remove unnecessary IPSEC includes. | | MFC after: 2 weeks | Sponsored by: TCP/IP Optimization Fundraise 2005 | | Revision Changes Path | 1.27 +0 -11 src/sys/netinet/tcp_sack.c | 1.126 +0 -5 src/sys/netinet/tcp_usrreq.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:21:56.000000Z K 7 svn:log V 580 MFC (by ps): | Fixes for NFS crashes on architectures that require strict alignment. | - Fix nfsm_disct() so that after pulling up data, the remaining data | is aligned if necessary. | - Fix nfs_clnt_tcp_soupcall() to bcopy() the rpc length out of the | mbuf (instead of casting m_data to a uint32). | | Submitted by: Pyun YongHyeon | Reviewed by: Mohan Srinivasan | | Revision Changes Path | 1.118 +12 -3 src/sys/nfs/nfs_common.c | 1.38 +6 -0 src/sys/nfs/nfs_common.h | 1.126 +2 -1 src/sys/nfsclient/nfs_socket.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:22:51.000000Z K 7 svn:log V 191 MFC (by ps): | Fix up the comment for MAX_SACK_BLKS. | | Submitted by: Noritoshi Demizu | | Revision Changes Path | 1.32 +1 -1 src/sys/netinet/tcp.h Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:25:37.000000Z K 7 svn:log V 209 MFC (by jhb): | Trim a couple of unneeded includes. | | Revision Changes Path | 1.153 +0 -1 src/sys/kern/subr_turnstile.c | 1.35 +0 -1 src/sys/vm/vm_zeroidle.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:27:36.000000Z K 7 svn:log V 348 MFC (by netchild) | Add bounds checking to the setenv part of the kernel environment. | | PR: 83687 [1] | Submitted by: Harry Coin [1] | Submitted by: Ariff Abdullah [2] | | Revision Changes Path | 1.40 +10 -1 src/sys/kern/kern_environment.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:29:03.000000Z K 7 svn:log V 253 MFC (by davidxu) | Reorder statements to avoid accessing unknown memory. | In theory, invoking kenv with very long string can panic | kernel. | | Revision Changes Path | 1.41 +2 -2 src/sys/kern/kern_environment.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:30:30.000000Z K 7 svn:log V 138 MFC (by phk) | Comment typo | | Revision Changes Path | 1.23 +1 -1 src/sys/geom/bde/g_bde_crypt.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:33:52.000000Z K 7 svn:log V 277 MFC (by obrien) | Ensure the full value is written into inode variables. | | PR: 85503 | Submitted by: Dmitry Pryanishnikov | | Revision Changes Path | 1.89 +2 -2 src/sys/fs/msdosfs/msdosfs_denode.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:36:41.000000Z K 7 svn:log V 238 MFC (by obrien) | Remove WANT_FORCE_OPTIMIZATION_DOWNGRADE and out dated warnings about | libalias(3) exposing compiler bugs. | | Revision Changes Path | 1.266 +2 -10 src/share/examples/etc/make.conf Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:37:42.000000Z K 7 svn:log V 188 MFC (by obrien) | Fix bug where GCC thought athlon-tbird had SSE support. | | Revision Changes Path | 1.21 +4 -4 src/contrib/gcc/config/i386/i386.h Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:44:01.000000Z K 7 svn:log V 118 MFC stefanf's work on libedit. This includes a sync with NetBSD/OpenBSD and some bugfixes. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:45:28.000000Z K 7 svn:log V 168 MFC (by stefanf): | The libedit update made a const cast necessary. | | Revision Changes Path | 1.30 +1 -1 src/sbin/fsdb/fsdb.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:46:26.000000Z K 7 svn:log V 191 MFC (by stefanf): | Log: | El_parse's third parameter is now const-qualified, add a cast. | | Revision Changes Path | 1.27 +1 -1 src/bin/sh/histedit.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:48:42.000000Z K 7 svn:log V 154 MFC revision 1.70 date: 2005/07/17 03:24:11; author: obrien; state: Exp; lines: +0 -29 Catch up with menus.c revision 1.399. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:50:30.000000Z K 7 svn:log V 322 MFC (by dds) | Interpret correctly the glob(3) return value. | Previously, interactive commands specifying a non-existent file or | directory used to display an "out of memory error". | | MFC after: 2 weeks | | Revision Changes Path | 1.18 +7 -1 src/sbin/restore/interactive.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:51:55.000000Z K 7 svn:log V 162 MFC (by ps) | Unbreak tail -f on non-local filesystems. | | Revision Changes Path | 1.39 +10 -0 src/usr.bin/tail/forward.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:56:37.000000Z K 7 svn:log V 157 MFC (by ru) | Add missing if_free() in rue_detach(). | | Revision Changes Path | 1.25 +1 -0 src/sys/dev/usb/if_rue.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T03:59:36.000000Z K 7 svn:log V 514 MFC (by ru) | Add missing mtx_destroy() when if_alloc() fails. | Add missing if_free() when mii_phy_probe() fails. | Put if_free() into the correct #ifdef in detach(). | | Revision Changes Path | 1.93 +6 -1 src/sys/dev/usb/if_aue.c | 1.33 +6 -1 src/sys/dev/usb/if_axe.c | 1.9 +2 -0 src/sys/dev/usb/if_cdce.c | 1.60 +5 -1 src/sys/dev/usb/if_cue.c | 1.67 +5 -1 src/sys/dev/usb/if_kue.c | 1.17 +3 -0 src/sys/dev/usb/if_udav.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:00:47.000000Z K 7 svn:log V 153 MFC (by ru) | Fix "struct ifnet" leak on detach. | | Revision Changes Path | 1.104 +1 -0 src/sys/dev/ath/if_ath.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:11:20.000000Z K 7 svn:log V 822 MFC (by ru) | Fix "struct ifnet" leaks when attach() fails in the middle, e.g. | when mii_phy_probe() or bus_setup_intr() fails. For drivers that | call their detach() in this case, call if_free() there to cover | this case too. | | Revision Changes Path | 1.168 +2 -2 src/sys/pci/if_dc.c | 1.75 +2 -2 src/sys/pci/if_pcn.c | 1.156 +3 -5 src/sys/pci/if_rl.c (already merged) | 1.87 +2 -2 src/sys/pci/if_sf.c | 1.136 +2 -3 src/sys/pci/if_sis.c | 1.110 +2 -3 src/sys/pci/if_sk.c | 1.89 +2 -2 src/sys/pci/if_ste.c | 1.110 +2 -2 src/sys/pci/if_ti.c | 1.103 +2 -2 src/sys/pci/if_tl.c | 1.107 +2 -2 src/sys/pci/if_vr.c | 1.83 +2 -2 src/sys/pci/if_wb.c | 1.196 +2 -2 src/sys/pci/if_xl.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:15:12.000000Z K 7 svn:log V 560 MFC (by ru) | Fix "struct ifnet" leaks when attach() fails in the middle. | | Revision Changes Path | 1.28 +4 -5 src/sys/dev/bfe/if_bfe.c | 1.95 +3 -2 src/sys/dev/bge/if_bge.c | 1.21 +2 -0 src/sys/dev/cnw/if_cnw.c | 1.261 +2 -1 src/sys/dev/ed/if_ed.c | 1.38 +9 -2 src/sys/dev/en/if_en_pci.c | 1.59 +3 -1 src/sys/dev/ex/if_ex.c | 1.26 +4 -3 src/sys/dev/hatm/if_hatm.c | 1.105 +2 -1 src/sys/dev/ie/if_ie.c | 1.17 +2 -1 src/sys/dev/vge/if_vge.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:15:59.000000Z K 7 svn:log V 155 MFC (by ru) | Avoid deferencing NULL in if_free(). | | Revision Changes Path | 1.16 +2 -3 src/sys/dev/ral/if_ral.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:18:18.000000Z K 7 svn:log V 384 MFC (by ru) | Fix "struct ifnet" leak if attach() fails in the middle. | | Revision Changes Path | 1.39 +2 -0 src/sys/contrib/dev/oltr/if_oltr.c | 1.94 +1 -0 src/sys/dev/fe/if_fe.c | 1.114 +3 -1 src/sys/dev/lnc/if_lnc.c | 1.11 +3 -1 src/sys/dev/nve/if_nve.c | 1.12 +3 -1 src/sys/dev/patm/if_patm_attach.c Approved by: re (scottl) END