‚çL176861 139 157 150 146 137 163 154 159 309 168 518 330 313 315 210 210 727 504 698 312 192 251 251 155 261 206 350 334 1079 192 603 147 220 240 188 456 633 334 378 190 382 136 384 159 428 426 450 205 139 175 289 145 209 369 718 207 246 387 247 351 153 190 1062 182 181 225 203 147 383 730 729 230 198 300 337 341 292 464 725 474 137 164 274 300 153 397 189 405 495 370 356 229 149 237 492 243 224 429 214 327 185 254 380 215 339 432 179 389 132 164 374 165 366 228 228 253 562 545 492 137 308 150 172 168 237 340 182 340 573 573 573 362 1061 618 297 210 279 655 409 209 K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-06T02:07:18.000000Z K 7 svn:log V 61 Don't report death event to debugger if it is a forced exit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-06T02:13:52.000000Z K 7 svn:log V 58 This breaks the arm build, back it out until that's fixed END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-06T02:14:45.000000Z K 7 svn:log V 53 Cast time_t to long to mute tinderbox build failure. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-06T03:24:03.000000Z K 7 svn:log V 41 Fix a bug when calculating remnant size. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-06T04:09:06.000000Z K 7 svn:log V 71 The breakage from increased warns has been fixed, back out my back out END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-03-06T05:41:45.000000Z K 7 svn:log V 57 MFC revision 1.269: Fix sending trailers in sendfile(2). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-06T07:20:53.000000Z K 7 svn:log V 62 MFC: rev. 1.17 The Sony i.LINK (CXD1947) is _not_ supported. END K 10 svn:author V 4 rink K 8 svn:date V 27 2008-03-06T08:09:45.000000Z K 7 svn:log V 215 Commit cmx(4), a driver for Omnikey CardMan 4040 PCMCIA smartcard readers. PR: kern/114582 Submitted by: Daniel Roethlisberger Reviewed by: imp, myself Tested by: johans, myself MFC after: 2 weeks END K 10 svn:author V 4 rink K 8 svn:date V 27 2008-03-06T08:47:16.000000Z K 7 svn:log V 75 Added missing BSD license text to the cmx.4 manpage. Noticed by: brueffer END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-06T10:10:43.000000Z K 7 svn:log V 421 When redrawing an input line, count backspaces to get to the beginning of the input field from the current cursor location, rather than the end of the input line, as the cursor may not be at the end of the line. Otherwise, we may overshoot, overwriting a bit of the previous line and failing to fully overwrite the current line. MFC after: 3 days PR: 119079 Submitted by: Michael Plass END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-03-06T14:01:10.000000Z K 7 svn:log V 237 The rarpd(8) daemon must be instructed to start on all interfaces or a specific one. Instruct it to listen on all interfaces so that enabling it in rc.conf(5) works "out of the box." PR: conf/121406 Submited by: trasz MFC after: 1 week END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-03-06T14:13:11.000000Z K 7 svn:log V 220 MFC: rev. 1.32 Add the -M command-line option, which will set home directory permissions. Works both in interactive or batch mode. This is a heavily modified version of the patch submitted in the PR. PR: bin/105060 END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-03-06T14:39:33.000000Z K 7 svn:log V 222 The check for errors from the mount command did not work as intended because another command (echo) is executed between the mount command and the check. Reported by: Sergey Baturov MFC after: 2 weeks END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2008-03-06T15:02:05.000000Z K 7 svn:log V 113 MFH: 1.30 Fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. PR: bin/76578 END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2008-03-06T15:07:37.000000Z K 7 svn:log V 113 MFC: 1.30 Fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. PR: bin/76578 END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-03-06T15:14:36.000000Z K 7 svn:log V 634 MFC: Replace the use of warnx() with direct output to stderr using _write(). This reduces the size of a statically-linked binary by approximately 100KB in a trivial "return (0)" test application. readelf -S was used to verify that the .text section was reduced and that using strlen() saved a few more bytes over using sizeof(). Since the section of code is only called when environ is corrupt (program bug), I went with fewer bytes over fewer cycles. I made minor edits to the submitted patch to make the output resemble warnx(). src/lib/libc/stdlib/getenv.c: rev 1.12 -> 1.13 Submitted by: kib bz Approved by: wes (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-06T16:59:36.000000Z K 7 svn:log V 408 Add a catch-all for PCPU_MD_FIELDS. While we expect this to be used in the kernel only (by virtue of checking for _KERNEL), ports like lsof (part of gtop) cheat. It sets _KERNEL, but does not set either AIM or E500. As such, PCPU_MD_FIELDS didn't get defined and the build broke. The catch-all is to define PCPU_MD_FIELDS with a dummy integer when at the end of line we ended up without a definition for it. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-06T17:24:28.000000Z K 7 svn:log V 602 Move the PCPU_MD_FIELDS last in struct pcpu. While this header is private to the kernel, some ports define _KERNEL and include this header. While arguably this is wrong, it's also reality. By having the MD fields last, architectures that have CPU-specific variations of PCPU_MD_FIELDS will at least have the MI fields at a constant offset. Of course, having all MI fields first helps kernel debugging as well, so this is not a change without some benefits to us. This change does not result in an ABI breakage, because this header is not part of the ABI. Recompilation of lsof is required though :-) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-03-06T19:02:37.000000Z K 7 svn:log V 215 Improve EtherIP interaction with the bridge - Set M_BCAST|M_MCAST for incoming frames - Send the frame to a local interface if the bridge returns the mbuf Submitted by: Eugene Grosbein Tested by: Boris Kochergin END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-06T20:11:24.000000Z K 7 svn:log V 99 - Add a missing unlock to cpuset_setaffinity(CPU_LEVEL_CPUSET, CPU_WHICH_PID) Found by: gallatin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-06T21:42:48.000000Z K 7 svn:log V 158 Flesh out support for the BCM5722 by recognizing the phy on the 5722 and the specific ASIC revision. MFC after: 1 week Obtained from: OpenBSD (mii/phy bits) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-06T21:43:56.000000Z K 7 svn:log V 158 In the PROBE_KEYBOARD case, always enable multiple consoles and set the serial console as the primary console if the keyboard probe fails. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-06T21:48:34.000000Z K 7 svn:log V 63 Style tweak to the 5722 chipid to match the rest of this file. END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-03-06T21:50:41.000000Z K 7 svn:log V 167 MFP4: restrict the utilization of direct pointers to the content of ip packet. These modifications are functionally nop()s thus can be merged with no side effects. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-03-06T21:59:47.000000Z K 7 svn:log V 110 Remove unused pv_list_count from the vm_page, and pm_count from the struct pmap. Submitted by: Mark Tinguely END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-03-06T22:27:35.000000Z K 7 svn:log V 254 MFi386: revision 1.6 date: 2004/08/21 18:50:34; author: alc; state: Exp; lines: +3 -1 Properly free the temporary sf_buf in uiomove_fromphys() if a copyin or copyout fails. Obtained from: DragonFlyBSD Spotted out by: Mark Tinguely MFC After: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-03-06T22:57:03.000000Z K 7 svn:log V 240 Change auditon(2) so that if somebody supplies an invalid command, it returns EINVAL. Right now we return 0 or success for invalid commands, which could be quite problematic in certain conditions. MFC after: 1 week Discussed with: rwatson END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-07T00:01:19.000000Z K 7 svn:log V 982 Merge revisions 1.10 and 1.11 from DragonFly: - Use real getopt() handling instead of the hand-rolled and IOCCC-worthy "Micro getopt()" macros, plus clean up to the option handling code: * Sort the options in the switch statement; * Plug piddling memory leaks when processing repeated options by freeing strings before allocating them for a second time; * Die with a fatal error if the requested report file cannot be opened for appending; * Don't call init() before usage() (to prevent the usage message being mangled by changes to the terminal settings;) - Clean up the usage message, both in usage() and in the main program comment, both stylistically (sort and combine options) and for accuracy (following the manual page, make note of the -s and -S flags, and use the term 'send' instead of 'say' to reduce confusion (SAY is the name of a command for output to the user, not the connection.)) Obtained from: DragonFly END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-07T00:01:24.000000Z K 7 svn:log V 99 Use intmax_t instead of long when casting time_t. Suggested by: mlaier Tested with: make universe END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-07T04:55:58.000000Z K 7 svn:log V 506 To overcome hardware checksum offload bug msk(4) used to compute TCP/UDP checksum in driver for short frames. For frames that requires hardware VLAN tag insertion, the checksum offload trick does not work due to changes of checksum offset in mbuf after the VLAN tag. Disable hardware checksum offload for VLAN interface to fix the bug. Reported by: Christopher Cowart < ccowart AT rescomp DOT berkeley DOT edu > Tested by: Christopher Cowart < ccowart AT rescomp DOT berkeley DOT edu > MFC after: 5 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-03-07T09:29:19.000000Z K 7 svn:log V 55 Add proper support for the SATA/AHCI part of IXP[67]00 END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2008-03-07T09:33:29.000000Z K 7 svn:log V 124 Vendor patch: Prevent bsnmpd from dumping core when a module's init hook returns an error. Approved by: bz (mentor), harti END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2008-03-07T09:33:29.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r176892, 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 2008-03-07T09:33:30.000000Z K 7 svn:log V 92 This commit was manufactured by cvs2svn to create tag 'bsnmp-vendor-syrinx_20080307_bugfix'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T13:13:17.000000Z K 7 svn:log V 359 Reserve two bytes at the end of the DDB input line in db_readline() to hold the newline and nul terminator. Otherwise, there are cases where garbage may end up in the command history due to a lack of a nul terminator, or input may end up without room for a newline. MFC after: 3 days PR: 119079 Submitted by: Michael Plass END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-07T13:36:38.000000Z K 7 svn:log V 540 Calculate the number of pages the GATT spans when reading from each page to flush the TLB instead of hardcoding a size of 33 pages. Apertures of 32MB and 64MB only use a 16 page GATT and an aperture of 128MB only uses a 32 page GATT, so without this the code could walk off the end of the pointer and cause a page fault if the next page was unmapped. Also, for aperture sizes > 128MB, not all of the pages would be read. The Linux driver has the same bug. MFC after: 1 week Tested by: Frédéric PRACA frederic.praca of freebsd-fr.org END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T14:26:30.000000Z K 7 svn:log V 237 When killing a user process from DDB, check that the requested signal is > 0 rather than >= 0, or we will panic when trying to deliver the signal. MFC after: 3 days PR: 100802 Submitted by: Valerio Daelli END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-07T14:58:50.000000Z K 7 svn:log V 283 MFC rev 1.8 drm_pciids.h Add support for the 965GM. PR: kern/120978 Submitted by: Dominic Fandrey Approved by: imp (mentor, implicit), anholt (drm maintainer) MFC after: 3 days Approved by: imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-07T15:01:52.000000Z K 7 svn:log V 96 MFC libfetch from HEAD to RELENG_7 Approved by: imp (mentor, implicit), DES Glanced at by: des END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-07T15:23:32.000000Z K 7 svn:log V 287 MFC rev 1.340 usbdevs MFC rev 1.90 uscanner.c Add support for the EPSON CX5400 scanner PR: usb/120980 Submitted by: Christophe Etcheverry MFC after: 3 days Approved by: imp (mentor, implicit for trivial changes) Approved by: imp (mentor, implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T15:25:56.000000Z K 7 svn:log V 40 Add __FBSDID() tags. MFC after: 3 days END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-07T15:26:41.000000Z K 7 svn:log V 289 MFC rev 1.340 usbdevs MFC rev 1.90 uscanner.c Add support for the EPSON CX5400 scanner PR: usb/120980 Submitted by: Christophe Etcheverry MFC after: 3 days Approved by: imp (mentor, implicit for trivial changes) Approved by: imp (mentor, implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T15:27:08.000000Z K 7 svn:log V 63 Add __FBSDID() tag. MFC after: 3 days Pointed out by: antoine END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-07T15:54:41.000000Z K 7 svn:log V 333 MFC rev 1.162 umass.c MFC rev 1.338 usbdevs Add support for the VIA USB2IDE bridge [1]. PR: usb/95173 Submitted by: Goegele Hannes Ben Kelly Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week Approved by: imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-07T16:00:28.000000Z K 7 svn:log V 331 MFC rev 1.162 umass.c MFC rev 1.338 usbdevs Add support for the VIA USB2IDE bridge [1]. PR: usb/95173 Submitted by: Goegele Hannes Ben Kelly Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week Approved by: imp (mentor, implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T16:00:44.000000Z K 7 svn:log V 353 Move IFF_NEEDSGIANT warning from if_ethersubr.c to if.c so it is displayed for all network interfaces, not just ethernet-like ones. Upgrade it to a louder WARNING and be explicit that the flag is obsolete. Support for IFF_NEEDSGIANT will be removed in a few months (see arch@ for details) and will not appear in 8.0. Upgrade if_watchdog to a WARNING. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-03-07T16:32:42.000000Z K 7 svn:log V 111 New errata notes: SCTP needs INET6, kldxref(8) warnings on source upgrade, device crypto problems on powerpc. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-03-07T16:42:16.000000Z K 7 svn:log V 46 New errata note: sysinstall(8) X.org hazard. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-03-07T16:54:03.000000Z K 7 svn:log V 80 Remove stale #include , which as needed by lazy deallocation. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-07T16:55:24.000000Z K 7 svn:log V 193 Apply le*toh() or htole*() to the variables of which we use the address as the buffer pointer in the call to axe_cmd(). This is needed to make the code work on big-endian machines. Ok'd: imp@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T17:02:34.000000Z K 7 svn:log V 49 Minor spelling/grammer fixes. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-07T17:54:21.000000Z K 7 svn:log V 116 MFC: Add support for the libalias redirect functionality. Submitted by: Vadim Goncharov END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-07T17:58:49.000000Z K 7 svn:log V 276 MFC rev. 1.92-1.93 Make session ID generator to use session ID hash. Make session ID generator thread-safe. Use more compact LIST instead of TAILQ for session hash. Add all listening hooks into LIST to simplify searches. Use ng_findhook() instead of own equal implementation. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T18:09:07.000000Z K 7 svn:log V 621 Add a /S mode to DDB "ex" command, which interprets and prints the value at the requested address as a symbol. For example, "ex /S aio_swake" prints the name of the function currently registered in via aio_swake hook. The change as committed differs slightly from the patch in the PR, as I force the size of the retrieved value (and the automatic address increment) to be sizeof(void *). This seems to provide the most useful auto-increment behavior, and defaults using the default size (4), which is not sizeof(void *) on 64-bit platforms. MFC after: 3 days PR: 57976 Submitted by: Dan Strick END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-07T18:14:29.000000Z K 7 svn:log V 110 Update ddb.4 to reflect addition of /S (symbol name) printing mode for examine. MFC after: 3 days PR: 57976 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-07T20:19:33.000000Z K 7 svn:log V 153 MFC: VIA Padlock changes: - Read the brand string from VIA/IDT CPUs. - Add a VIA Padlock feature line in dmesg. - Support the newer Via C7 core (0x6d0). END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-07T21:12:56.000000Z K 7 svn:log V 294 Send only one incoming notification at a time to reduce queue trashing and improve performance. Remove waitflag argument from ng_ksocket_incoming2(), it means nothing as function call was queued by netgraph. Remove node validity check, as node validity guarantied by netgraph. Update comments. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-07T22:08:43.000000Z K 7 svn:log V 151 Add support for the BUS_CONFIG_INTR() method to the platform and to openpic(4). Make use of it in ocpbus(4). On the MPC85xxCDS, IRQ0:4 are active-low. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-07T22:27:06.000000Z K 7 svn:log V 255 For AIM, have cpu_idle() set MSR_POW when the powerpc_pow_enabled variable is set. On my Mac Mini this puts the CPU in NAP mode when the kernel is idle and, any technical or environmental reasons aside, avoids that I have to listen to the fan all day :-) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-03-07T22:29:53.000000Z K 7 svn:log V 58 Install manpage links for RB_PREV and RB_FOREACH_REVERSE. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-03-07T22:34:17.000000Z K 7 svn:log V 95 MFC: Implement the RB_FOREACH_REVERSE() and RB_PREV() macros. RB_PREV is needed by malloc(3). END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-03-07T22:39:39.000000Z K 7 svn:log V 966 MFC: Merge malloc(3) improvements and fixes. The highlights are: * Avoid re-zeroing memory in calloc() when possible. * Use pthread mutexes where possible instead of libc "spinlocks", and actually spin some during contention before blocking. * Implement dynamic load balancing of thread-->arena mapping. * Avoid floating point math in order to avoid increased context switch overhead for applications that otherwise would not use floating point math. * Restructure how sbrk() and mmap() are used to acquire memory mappings. This provides a way to force malloc to only use sbrk(), which can be useful in the context of resource limits. * Reduce the number of mmap() calls typically necessary when allocating a chunk. * Track dirty unused pages so that they can be purged if they exceed a threshold. * Try to realloc() large objects in place. * Manage page runs with trees instead of chunk maps, which allows logarithmic-time run allocation. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-07T23:09:10.000000Z K 7 svn:log V 86 MFC: Switch to use ULE as default scheduler on amd64, i386 and powerpc architectures. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-08T00:04:57.000000Z K 7 svn:log V 85 Merge from RELENG_7_0: Teach pkg_add(1) about 6.3-RELEASE, 7.0-RELEASE and 7-STABLE. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-08T00:54:27.000000Z K 7 svn:log V 128 MFC revision 1.14 date: 2008/01/29 00:20:00; author: delphij; state: Exp; lines: +1 -1 Don't coredump when executed with -o. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-08T01:00:39.000000Z K 7 svn:log V 106 MFC revision 1.108 date: 2008/01/30 22:11:59; author: delphij; state: Exp; lines: +2 -2 Fix two typos. END K 10 svn:author V 5 lippe K 8 svn:date V 27 2008-03-08T03:54:30.000000Z K 7 svn:log V 53 - Add my birthday entry Approved by: gabor (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-08T05:36:25.000000Z K 7 svn:log V 287 Enable the D-cache and I-cache when not already enabled. It so happens that U-Boot disables the D-cache when booting an ELF image, so this change makes sure we run with the D-cache enabled from now on. It shows too... While here, remove the duplicate definition of the hw.model sysctl. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-03-08T05:42:09.000000Z K 7 svn:log V 635 MFC termcap changes for the END/ENTER keys Log: - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end). As ncurses has the limitation that it returns the first matched key symbol, you can not use END in ncurses based program, like mutt, with xterm. - Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with ncurses based program. I also found that NetBSD's xterm does the same thing. PR: 100150 Reported by: Arseny Nasokin Discussed with: Thomas Dickey, Ulrich Spoerlein Reviewed by: freebsd-arch@ END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-03-08T05:42:52.000000Z K 7 svn:log V 634 MFC termcap changes for the END/ENTER keys Log: - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end) As ncurses has the limitation that it returns the first matched key symbol, you can not use END in ncurses based program, like mutt, with xterm. - Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with ncurses based program. I also found that NetBSD's xterm does the same thing. PR: 100150 Reported by: Arseny Nasokin Discussed with: Thomas Dickey, Ulrich Spoerlein Reviewed by: freebsd-arch@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-08T09:38:18.000000Z K 7 svn:log V 133 Revert powerpc scheduler change for now. This change should be done after necessary ULE changes to be MFC'ed. Pointed out by: peter END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-08T12:13:00.000000Z K 7 svn:log V 100 Fix typos. PR: 121486 Submitted by: Anatoly Borodin MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-03-08T14:14:35.000000Z K 7 svn:log V 204 MFC r1.12: Validate the id16 values gathered from ACPI (previously a TODO item). Style changes by me and njl. Submitted by: Takeharu KATO PR: 119350 END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-08T15:41:06.000000Z K 7 svn:log V 242 Improve handling of the tinybsd application wrt ports. Ports that have dependencies or need to install a new user/group, are not problematic anymore. PR: 121367 Submitted by: Richard Arends < richard at unixguru dot nl > MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-08T15:48:06.000000Z K 7 svn:log V 244 Unlock the process lock when expand_name() fails, or we may leak the process lock leading to a hang. This bug was introduced in kern_sig.c:1.351, when the call to expand_name() was moved earlier bit this particular error case was not updated. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-08T16:31:29.000000Z K 7 svn:log V 195 Use sbuf routines to construct core dump filenames rather than custom string buffer handling, making the code both easier to read and more robust against string-handling bugs. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T16:58:21.000000Z K 7 svn:log V 372 MFC: rev. 1.29 key.c, 1.6 key_debug.c Fix bugs when allocating and passing information of current lifetime and soft lifetime [1] introduced in rev. 1.21 of key.c. Along with that, fix a related problem in key_debug printing the correct data. While there replace a printf by panic in a sanity check. PR: 120751 Submitted by: Kazuaki ODA (kazuaki aliceblue.jp) [1] END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T17:01:27.000000Z K 7 svn:log V 633 MFC: rev. 1.372 Fix indentation (whitespace changes only). rev. 1.373 Some "cleanup" of tcp_mss(): - Move the assigment of the socket down before we first need it. No need to do it at the beginning and then drop out the function by one of the returns before using it 100 lines further down. - Use t_maxopd which was assigned the "tcp_mssdflt" for the corrrect AF already instead of another #ifdef ? : #endif block doing the same. - Remove an unneeded (duplicate) assignment of mss to t_maxseg just before we possibly change mss and re-do the assignment without using t_maxseg in between. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-03-08T18:06:48.000000Z K 7 svn:log V 378 Fix a mistake made during the import of the driver. Previous versions of HPT drivers would sometimes test the value of a preprocessor definition but not always make sure that the definition existed in the first place, leading to warnings on newer compilers. I blindly assumed the same with this driver, and it turned out to be wrong and to enable some code that doesn't work. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-03-08T18:16:32.000000Z K 7 svn:log V 42 Re-update to rev 1.2 of the hptrr driver. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:17:25.000000Z K 7 svn:log V 73 "MFC" (code is different) rev. 1.20 ipsec.c s,#if INET*,#ifdef INET*, END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:19:50.000000Z K 7 svn:log V 182 MFC rev. 1.23 key.c Add missing break; so when comparing AF_INET6 addresses, scope and ports we do not run into the default case and return 'no match' instead of 'match'. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:22:20.000000Z K 7 svn:log V 208 MFC rev. 1.23 ipsec.c Implement ICMPv6 support in ipsec6_get_ulp(). This is needed to make security policies work correctly if ICMPv6 type and/or code are given. See setkey(8) 'upperspec' para. for details. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:23:55.000000Z K 7 svn:log V 62 MFC rev. 1.13 ipsec_output.c fix typo: s,applyed,applied,g END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:25:58.000000Z K 7 svn:log V 305 MFC rev. 1.15 ipsec_input.c Though we are only called for the three security protocols we can handle, document those sprotos using an IPSEC_ASSERT so that it will be clear that 'spi' will always be initialized when used the first time. Found with: Coverity Prevent(tm) CID: 2533 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:27:27.000000Z K 7 svn:log V 98 MFC rev. 1.16 ipsec_input.c s,#,*, in a multi-line comment. This is C. No functional change. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:29:38.000000Z K 7 svn:log V 313 MFC rev. 1.17 ipsec_input.c Looking at {ah,esp}_input_cb it seems we might be able to end up without an mtag in ipsec4_common_input_cb. So in case of !IPCOMP (AH,ESP) only change the m_tag_id if an mtag was passed to ipsec4_common_input_cb. Found with: Coverity Prevent(tm) CID: 2523 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:34:17.000000Z K 7 svn:log V 403 MFC rev. 1.25 Add a missing return so that we drop out in case of an error and do not continue with a NULL pointer. [1] While here change the return of the error handling code path above. I cannot see why we should always return 0 there. Neither does KAME nor do we in here for the similar check in all the other functions. Found with: Coverity Prevent(tm) [1] CID: 2521 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:37:03.000000Z K 7 svn:log V 278 MFC rev. 1.26 key.c In case of failure we can directly return ENOBUFS because 'result' is still NULL and we do not need to free anything. That allows us to gc the entire goto parts and a now unused variable. Found with: Coverity Prevent(tm) CID: 2519 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:38:25.000000Z K 7 svn:log V 264 MFC rev. 1.27 key.c 'spi' and the return value of ntohl are unsigned. Remove the extra >=0 check which was always true. Document the special meaning of spi values of 0 and 1-255 with a comment. Found with: Coverity Prevent(tm) CID: 2047 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T18:56:22.000000Z K 7 svn:log V 137 MFC rev.s 1.18 ipsec_input.c, 1.16 ipsec_output.c, 1.15 xform_ipip.c Replace hard coded options by their defined PFIL_{IN,OUT} names. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-08T19:14:43.000000Z K 7 svn:log V 54 "root" the include path so there is less duplication. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-08T19:33:34.000000Z K 7 svn:log V 141 MFC: 1.11 Allow the targeted CPU type to be set via -mcpu instead of limiting to the hardcoded equivalent of -mcpu=ultrasparc. PR: 109510 END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-03-08T21:55:59.000000Z K 7 svn:log V 395 Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13 Significant changes: - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print an int64_t. - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it should be "1.0G" or "1.0M". The bug reported by Greg Troxel. PR: 118461 PR: 102694 Approved by: rwatson (mentor) Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-03-08T21:57:35.000000Z K 7 svn:log V 146 Add some checks for amd64 target around usr/lib32 libraries, missed in previous commit. Approved by: rwatson (mentor) X-MFC: with revision 1.13 END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-03-08T21:59:43.000000Z K 7 svn:log V 127 Add some obsolete usr/lib32 libraries. PR: 117189 Submitted by: Scot Hetzel Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-03-08T22:02:21.000000Z K 7 svn:log V 332 Introduce a new F_DUP2FD command to fcntl(2), for compatibility with Solaris and AIX. fcntl(fd, F_DUP2FD, arg) and dup2(fd, arg) are functionnaly equivalent. Document it. Add some regression tests (identical to the dup2(2) regression tests). PR: 120233 Submitted by: Jukka Ukkonen Approved by: rwaston (mentor) MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-03-08T22:17:14.000000Z K 7 svn:log V 117 Bump __FreeBSD_version for F_DUP2FD command to fcntl(2) Requested by: Craig Rodrigues Approved by: rwatson (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T23:36:25.000000Z K 7 svn:log V 235 MFC rev. 1.54 Though we are currently not interested in the EDD3 flag, Enhanced Disk Drive Specification Ver 3.0 defines that the version of extension in AH would be 30h. Correct the check for that to be >=30h instead of >3h. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T23:41:47.000000Z K 7 svn:log V 94 MFC rev. 1.103 in.c Differentiate between addifaddr and delifaddr for the privilege check. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-08T23:45:39.000000Z K 7 svn:log V 162 MFC rev. 1.49 in6_src.c Correct the commented out debugging printf()s in REPLACE and NEXT macros. ip6_sprintf() needs a buffer as first argument these days. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-08T23:55:29.000000Z K 7 svn:log V 287 To avoid control data losses do not acknowledge recieving of control packet if netgraph reported error while delivering to destination. Reset 'next send' counter to the last requested by peer on ack timeout to resend all subsequest packets after lost one again without additional hints. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-09T00:04:45.000000Z K 7 svn:log V 123 MFC rev. 1.3 uipc_debug.c Add missing sb_sndptr* fields to db_print_sockbuf(). While here change %d to %u for u_ints. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-09T02:29:19.000000Z K 7 svn:log V 243 Don't use in32() and out32() when writing to the CCSRBAR. The in*() and out*() primitives should not be used, other than by ISA drivers. In this case they were used for memory-mapped I/O and were not even used in the spirit of the primitives. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-09T05:10:22.000000Z K 7 svn:log V 339 Any driver that relies on its parent to set the devclass has no way to know if has siblings that need an actual probe. Introduce a specail return value called BUS_PROBE_NOOWILDCARD. If the driver returns this, the probe is only successful for devices that have had a specific devclass set for them. Reviewed by: current@, jhb@, grehan@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-09T05:31:31.000000Z K 7 svn:log V 87 Document all the BUS_PROBE_* values. Note to the mdoc gods: This may need some teaks. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-03-09T06:08:58.000000Z K 7 svn:log V 296 Eliminate an unnecessary test from vm_fault's delete-behind heuristic. Specifically, since the delete-behind heuristic is never applied to a device-backed object, there is no point in checking whether each of the object's pages is fictitious. (Only device-backed objects have fictitious pages.) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-03-09T06:24:59.000000Z K 7 svn:log V 38 Vendor import of tzdata version 2008a END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-03-09T06:25:00.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2008a'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T11:16:42.000000Z K 7 svn:log V 277 When gzipping to a target file, only set the source file flags on the target file after the timestamp has been set; otherwise setting the timestamp will fail if the flags don't permit it (i.e., uchg). MFC after: 1 week PR: 120208 Submitted by: Ighighi END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-09T11:17:00.000000Z K 7 svn:log V 73 Addition to the previous commit. Release inproc in case of memory error. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-03-09T11:19:03.000000Z K 7 svn:log V 270 Some PIIX4 chipsets need to be told to generate Stop Breaks by setting the appropriate bit in the DEVACTB register. This change allows the C2 state on those systems to work as expected. Reviewed by: njl Submitted by: Andriy Gapon MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-03-09T11:21:36.000000Z K 7 svn:log V 133 MFC: tzdata2008a Notable changes: - Chilis DST has been extended for 3 weeks. - No leapsecond in 2008 Approved by: grog@ (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-03-09T11:23:08.000000Z K 7 svn:log V 133 MFV: tzdata2008a Notable changes: - Chilis DST has been extended for 3 weeks. - No leapsecond in 2008 Approved by: grog@ (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T11:29:59.000000Z K 7 svn:log V 156 HZ now defaults to 1000 on many architectures, so update NOTES to reflect that. MFC after: 3 days PR: 113670 Submitted by: Ighighi END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T12:10:24.000000Z K 7 svn:log V 465 Make chflags(1) more chmod(1)-like (and more feature complete): - Add -v to print file names as they are processed; -vv prints the flags change as well. - Add -f to ignore failures with the same semantics as chflags(1), neither printing an error nor affecting the return code. - Don't try to set the flags if they won't change. I made minor cosmetic tweaks to the code in the patch. MFC after: 1 week PR: 112827 Submitted by: Ighighi END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T12:46:39.000000Z K 7 svn:log V 448 Enhance realpath(1) in a number of ways: - Allow realpath to accept multiple paths on the command line. - Add -q to suppress warnings if some paths can't be processed, and use getopt(3) to process flags. - Print the path being requested rather than a possibly partially processed path when a failure occurs so that you can tell which of several passed paths did fail. MFC after: 1 week PR: 112920 Submitted by: Ighighi END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-09T13:26:50.000000Z K 7 svn:log V 400 Padding after EOL option must be zeros according to RFC793 but the NOPs used are 0x01. While we could simply pad with EOLs (which are 0x00), rather use an explicit 0x00 constant there to not confuse poeple with 'EOL padding'. Put in a comment saying just that. Problem discussed on: src-committers with andre, silby, dwhite as follow up to the rev. 1.161 commit of tcp_var.h. MFC after: 11 days END K 10 svn:author V 5 lippe K 8 svn:date V 27 2008-03-09T13:33:44.000000Z K 7 svn:log V 43 - Add myself. Approved by: gabor (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T13:49:09.000000Z K 7 svn:log V 211 Teach gunzip that .tbz and .tbz2 uncompress to .tar, in a manner similar to its existing understanding that .tgz uncompresses to .tar. MFC after: 3 days PR: 121519 Submitted by: Ighighi END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-09T13:55:51.000000Z K 7 svn:log V 58 MFC rev. 1.178: Fix the Giant leak in the nfsrv_remove(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-09T13:57:48.000000Z K 7 svn:log V 80 MFC rev. 1.338: Initialize mnt_stat.f_iosize before autostarting UFS1 extattrs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-09T13:59:19.000000Z K 7 svn:log V 76 MFC rev. 1.11: Return ENOSYS instead of 0 for the unknown futex operations. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-09T14:10:23.000000Z K 7 svn:log V 141 MFC: 1.11 Allow the targeted CPU type to be set via -mcpu instead of limiting to the hardcoded equivalent of -mcpu=ultrasparc. PR: 109510 END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-09T14:25:02.000000Z K 7 svn:log V 244 MFC: sys/conf/files.sparc64 1.94; sys/sparc64/include/md_var.h 1.17; sys/sparc64/sparc64/ata_machdep.c 1.1 The Sun disk label only uses 16-bit fields for cylinders, heads and sectors so the geometry of large IDE disks has to be adjusted. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-09T14:30:49.000000Z K 7 svn:log V 87 MFC: 1.198 Add a hook that allows the geometry to be overridden on certain platforms. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-09T14:34:26.000000Z K 7 svn:log V 244 MFC: sys/conf/files.sparc64 1.94; sys/sparc64/include/md_var.h 1.17; sys/sparc64/sparc64/ata_machdep.c 1.1 The Sun disk label only uses 16-bit fields for cylinders, heads and sectors so the geometry of large IDE disks has to be adjusted. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T14:49:39.000000Z K 7 svn:log V 476 Merge db_input.c:1.38 from HEAD to RELENG_7: When redrawing an input line, count backspaces to get to the beginning of the input field from the current cursor location, rather than the end of the input line, as the cursor may not be at the end of the line. Otherwise, we may overshoot, overwriting a bit of the previous line and failing to fully overwrite the current line. PR: 119079 Submitted by: Michael Plass END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T14:50:28.000000Z K 7 svn:log V 476 Merge db_input.c:1.38 from HEAD to RELENG_6: When redrawing an input line, count backspaces to get to the beginning of the input field from the current cursor location, rather than the end of the input line, as the cursor may not be at the end of the line. Otherwise, we may overshoot, overwriting a bit of the previous line and failing to fully overwrite the current line. PR: 119079 Submitted by: Michael Plass END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T14:54:59.000000Z K 7 svn:log V 476 Merge db_input.c:1.38 from HEAD to RELENG_5: When redrawing an input line, count backspaces to get to the beginning of the input field from the current cursor location, rather than the end of the input line, as the cursor may not be at the end of the line. Otherwise, we may overshoot, overwriting a bit of the previous line and failing to fully overwrite the current line. PR: 119079 Submitted by: Michael Plass END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T15:06:12.000000Z K 7 svn:log V 265 Merge coda_vfsops.c:1.73 from HEAD to RELENG_7: Remove undefined coda excluded by #if 1 #else, which previously protected vget() calls using inode numbers to query the root of /coda, which is not needed since we now cache the root vnode with the mountpoint. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T15:09:22.000000Z K 7 svn:log V 964 Merge coda_vnops.c:1.86 from HEAD to RELENG_7: Before invoking vnode operations on cache vnodes, acquire the vnode locks of those vnodes. Probably, Coda should do the same lock sharing/ pass-through that is done for nullfs, but in the mean time this ensures that locks are adequately held to prevent corruption of data structures in the cache file system. Assuming most operations came from the top layer of Coda and weren't performed directly on the cache vnodes, in practice this corruption was relatively unlikely as the Coda vnode locks were ensuring exclusive access for most consumers. This causes WITNESS to squeal like a pig immediately when Coda is used, rather than waiting until file close; I noticed these problems because of the lack of said squealing. NB: Because WITNESS in RELENG_7 doesn't yet support lockmgr, said squealing doesn't yet happen in RELENG_7, but will do if/when lockmgr grows support for WITNESS there. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-09T15:12:11.000000Z K 7 svn:log V 521 Merge coda_psdev.c:1.41, coda_subr.c:1.45, coda_venus.c:1.28, coda_vfsops.c:1.74, coda_vnops.c:1.87, coda_vnops.h:1.20 from HEAD to RELENG_7: The Coda module was originally ported to NetBSD from Mach by rvb, and then later to FreeBSD. Update various NetBSD-related comments: in some cases delete them because they don't appply, in others update to say FreeBSD as they still apply but in FreeBSD (and might for that matter no longer apply on NetBSD), and flag one case where I'm not sure whether it applies. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-09T15:53:34.000000Z K 7 svn:log V 201 - Do as the comment in pmap_bootstrap() suggests and flush all non-locked TLB entries possibly left over by the firmware and also do so while bootstrapping APs. - Use __FBSDID. MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-09T17:09:15.000000Z K 7 svn:log V 114 - Fix some style bugs. - Replace hard-coded functions names missed in rev. 1.44 with __func__. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-03-09T17:55:19.000000Z K 7 svn:log V 183 - Fix some style bugs and remove another banal comment missed in rev. 1.46. - Move the KASSERT on gem_add_rxbuf() to the right spot and add an equivalent one to gem_disable_tx(). END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-09T19:01:50.000000Z K 7 svn:log V 563 MFC: 1.75 sys/kern/kern_jail.c 1.8 sys/netinet/ip_options.c 1.78 sys/netinet6/in6.c 1.113 sys/netinet6/ip6_output.c 1.41 sys/netinet6/ip6_var.h 1.76 sys/netinet6/raw_ip6.c 1.85 sys/netinet6/udp6_usrreq.c [ previously MFCed by rwatson 1.18 sys/sys/priv.h belonging to this change ] Replace the last susers calls in netinet6/ with privilege checks. Introduce a new privilege allowing to set certain IP header options (hop-by-hop, routing headers). Leave a few comments that we would like to address later. Discussed with: rwatson END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-09T19:14:36.000000Z K 7 svn:log V 316 Add the fifolog tools to FreeBSD. Quoth the man-page: Fifologs provide a compact round-robin circular storage for recording text and binary information to permanent storage in a bounded and pre- dictable fashion, time and space wise. Not yet connected to the build, but feel free to test & review. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-09T20:02:35.000000Z K 7 svn:log V 116 MFC: Add support for the libalias redirect functionality. Submitted by: Vadim Goncharov END