ƒ¯1186789 191 1863 110 234 157 147 128 149 315 169 466 214 156 184 183 183 135 381 148 258 325 394 233 225 225 262 153 191 411 196 240 119 240 320 439 1202 327 333 157 323 152 277 190 265 394 480 249 190 368 211 177 135 223 332 152 239 266 239 239 239 270 239 134 432 132 129 399 141 146 414 179 411 371 350 1402 160 212 105 141 169 148 258 208 142 536 385 190 146 729 96 932 194 105 119 716 695 294 353 262 195 154 113 350 816 300 312 253 140 528 286 215 413 248 120 195 213 736 415 322 255 127 596 116 286 216 115 131 172 210 228 209 241 443 211 250 134 113 167 125 119 125 119 159 125 390 467 151 296 275 930 930 570 124 193 149 175 141 145 115 253 754 723 154 111 126 219 154 977 270 104 154 180 182 142 121 141 145 285 208 238 238 252 222 193 159 490 161 171 497 212 229 251 K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-05T20:09:54.513903Z K 7 svn:log V 1767 This patch introduces a number of simplifications to the Forth functions used in the bootloader. The goal is to make the code more readable and smaller (especially because we have size issues in the loader's environment). High level description of the changes: + define some string manipulation functions to improve readability; + create functions to manipulate module descriptors, removing some duplicated code; + rename the error codes to ESOMETHING; + consistently use set_environment_variable (which evaluates $variables) when interpreting variable=value assignments; I have tested the code, but there might be code paths that I have not traversed so please let me know of any issues. Details of this change: --- loader.4th --- + add some module operators, to remove duplicated code while parsing module-related commands: set-module-flag enable-module disable-module toggle-module show-module --- pnp.4th --- + move here the definition related to the pnp devices list, e.g. STAILQ_* , pnpident, pnpinfo --- support.4th --- + rename error codes to capital e.g. ENOMEM EFREE ... and do obvious changes related to the renaming; + remove unused structures (those relevant to pnp are moved to pnp.4th) + various string functions - strlen removed (it is an internal function) - strchr, defined as the C function - strtype -- type a string to output - strref -- assign a reference to the string on the stack - unquote -- remove quotes from a string + remove reset_line_buffer + move up the 'set_environment_variable' function (which now uses the interpreter, so $variables are evaluated). Use the function in various places + add a 'test_file function' for debugging purposes MFC after: 4 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-05T20:23:01.224751Z K 7 svn:log V 18 MFC sdhci driver. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-05T20:29:01.086509Z K 7 svn:log V 142 Switch the last protosw* structs to C99 initializers. Reviewed by: ed, julian, Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-05T20:37:07.017771Z K 7 svn:log V 65 MFC rev. 184138. Add mmc, mmcsd and sdhci modules to the build. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-01-05T20:46:46.025068Z K 7 svn:log V 50 More wording improvements. Discussed with: stas END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-05T20:55:56.265503Z K 7 svn:log V 36 MFC mmc, mmcsd and sdhci man pages. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-05T20:58:41.371700Z K 7 svn:log V 57 Define bits for memory mapping house keeping by bridges. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-05T21:00:22.187937Z K 7 svn:log V 222 First cut at fixing memory mapping botch. Nobody must use the ray(4) driver since it couldn't have worked with NEWCARD w/o these fixes. This should allow selecting 16-bit memory width as well (which was what was broken). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-01-05T21:51:49.743912Z K 7 svn:log V 76 Add Centaur/IDT/VIA vendor ID for Nano family, which has long mode support. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-05T22:09:46.933031Z K 7 svn:log V 374 Import yet some more small fixes to libteken sources: - Implement NP (ASCII 12, Form Feed). When used with cons25, it should clear the screen and place the cursor at the top of the screen. When used with xterm, it should just simulate a newline. - When we want to use xterm emulation, make teken_demo set TERM to xterm. Spotted by: Paul B. Mahol END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-05T23:25:35.020623Z K 7 svn:log V 119 put a prefix on dhcp options to avoid clobbering, even by mistake, existing environment variables. MFC after: 2 weeks END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-01-05T23:57:06.475596Z K 7 svn:log V 59 Turn releng/7.1 over to so@. Approved by: core (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-01-06T00:11:18.970674Z K 7 svn:log V 87 Sigh. Be a bit more consistent with the other branches. Approved by: core (implicit) END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T00:20:11.292578Z K 7 svn:log V 88 MFC r185072: - fix typo PR: docs/128973 Submitted by: tabthorpe Approved by: roberto END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T00:30:24.217386Z K 7 svn:log V 88 MFC r185072: - fix typo PR: docs/128973 Submitted by: tabthorpe Approved by: roberto END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-06T01:36:36.933442Z K 7 svn:log V 43 remove module glue, it's not used any more END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-01-06T01:54:57.402102Z K 7 svn:log V 280 Add a new quirk type so that the MacIO driver will assign memory resources belonging to a devices children, in analogy to the way we handle interrupts for SCC serial devices. This is required to counteract overly deep nesting on onboard audio devices. Submitted by: Marco Trillo END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-06T01:58:45.722854Z K 7 svn:log V 56 remove the ath_rate module dependency; it's all bundled END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-01-06T06:47:53.486729Z K 7 svn:log V 162 Don't enforce an upper-bound to the number of sectors or heads that that the provider has. The limits we imposed were PC BIOS specific and not always applicable. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-06T09:03:02.200837Z K 7 svn:log V 230 Add workaround for Parallels 4.0. Without it, ehci and uhci drivers would fail to attach due to unsupported USB revision. It should have no effect when running on a real hardware. Reviewed by: imp Approved by: rwatson (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-06T11:02:17.006479Z K 7 svn:log V 302 Further cleanup protosw.h: - Remove unused typedefs to avoid confusion and ease in merging ip6protosw with protosw. - Correct a few comments. - Remove most of a comment about usrreq. [1] - Use tabs instead of spaces for consistency. Submitted by: rwatson [1] Reviewed by: rwatson MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-06T11:11:58.066525Z K 7 svn:log V 140 Cross-reference snd_ich and snd_hda man pages. Some hardware require different drivers depending on implementation, that may confuse users. END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T12:10:23.265964Z K 7 svn:log V 129 MFC r180534: - Update the definition of modspecific structure PR: docs/125630 Submitted by: Mateusz Guzik END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T12:12:39.148006Z K 7 svn:log V 129 MFC r180534: - Update the definition of modspecific structure PR: docs/125630 Submitted by: Mateusz Guzik END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-01-06T12:13:40.881861Z K 7 svn:log V 169 Add the ability of an alternate transport protocol to easily tunnel over udp by providing a hook function that will be called instead of appending to the socket buffer. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-01-06T12:17:43.740754Z K 7 svn:log V 61 Add a config file for a kernel suitable for a Xen HVM guest. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-01-06T12:23:19.090239Z K 7 svn:log V 99 Adds flags for SCTP checksum offload. Prep for support for new Intel NIC's that have this feature. END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T12:39:28.095535Z K 7 svn:log V 315 MFC r180158: - install the example wpa_supplicant.conf file to the share/examples/etc directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] Submitted by: edwin [2] Approved by: brooks [1] END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T13:05:58.502802Z K 7 svn:log V 100 catch up wtih r175955 by ume: - the support of AI_ALL and AI_V4MAPPED has been completely removed. END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T13:09:19.552918Z K 7 svn:log V 144 MFC r180162: - AI_ALL and AI_V4MAPPED flags are currently not supported PR: docs/120248 Submitted by: Heiko Wundram END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T13:10:15.629769Z K 7 svn:log V 24 - forgot to bump a date END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-06T13:12:26.503344Z K 7 svn:log V 144 MFC r180162: - AI_ALL and AI_V4MAPPED flags are currently not supported PR: docs/120248 Submitted by: Heiko Wundram END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-01-06T13:27:56.750930Z K 7 svn:log V 227 Addresses Roberts comments on comments. Also adds the KASSERT and checks suggested. Reviewed by: The udp tunneling was discussed on net@ under the thread entitled "Heads up -- Thinking about UDP and tunneling" END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-06T13:59:59.331921Z K 7 svn:log V 342 In AUDIT_SYSCALL_EXIT(), invoke audit_syscall_exit() only if an audit record is active on the current thread--historically we may always have wanted to enter the audit code if auditing was enabled, but now we just commit the audit record so don't need to enter if there isn't one. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-06T14:10:10.919350Z K 7 svn:log V 1105 - Don't enforce an upper-bound to the number of sectors or heads, allowing the full 16-bit width of the corresponding fields in the VTOC8 label to be used. The removed limits basically only held true for providers labeled using the synthetic geometry provided by cam_calc_geometry(9) but neither SCSI disks labeled with Solaris nor sufficiently large ATA disks. - Given that providers (originally) labeled with Solaris typically use the native geometry as reported by the target while FreeBSD typically uses a synthetic one put the message complaining about mismatching geometries between what the label indicates and what GEOM thinks the provider has, which we generally can't help, under bootverbose in order to not unnecessarily scare users. - For informational purposes add the non-matching values to the message complaining about them, similar to what r186501 did for g_part_bsd_read() except also indicating the origin of the values. - Make it clear that the messages emitted by this code refer to the VTOC8 support rather than to another existing scheme or to VTOC32. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-06T14:10:30.216214Z K 7 svn:log V 232 correct description of how a string is stored, fix a few typos and reference the kernel file which processes this info. All in all, the content of this file should be moved to kldxref.c or to the kld(4) manpage. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-06T14:15:38.797754Z K 7 svn:log V 236 Do a lockless read of the audit pipe list before grabbing the audit pipe lock in order to avoid the lock acquire hit if the pipe list is very likely empty. Obtained from: TrustedBSD Project MFC after: 3 weeks Sponsored by: Apple, Inc. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-06T14:21:17.829813Z K 7 svn:log V 63 fix a couple of innocuous compiler warnings MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-06T14:23:38.651831Z K 7 svn:log V 228 various cleanups including: + check a possible buffer overflow when creating a temp file, submitted by Christoph Mallon + remove stale struct definitions + clarify the use of dflag and remove useless checks MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-06T14:57:39.009000Z K 7 svn:log V 60 Add small hint that snd_ich is the AC'97 controller driver. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-06T15:10:26.048186Z K 7 svn:log V 182 Add a reference to the "env" kernel config option in the GENERIC file, as this is very useful e.g. in diskless configurations and barely documented anywhere else. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-06T15:18:14.306124Z K 7 svn:log V 98 MFC r186433: Clear busy state on the pages which are after the one that failed the bind attempt. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-01-06T16:24:22.993185Z K 7 svn:log V 169 Note that r186713 also contained a change to VarAdd where we propagate the newly created 'Var' back to the caller. Also, back out an accidentally commented WIP comment. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-01-06T17:05:44.417664Z K 7 svn:log V 297 MFC r186434 Fix up handling of Intel G4X chips some more. Note that you need at least xf86-video-intel 2.4.3 for this to work. The G4X doesn't put the GATT into the same area of stolen memory as all the other chips and older versions of the driver didn't handle that properly. Approved by: kib END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-01-06T17:23:37.268463Z K 7 svn:log V 379 Change the way I2C bus attachment works to allow firmware-assisted bus subclasses as are available with PCI. Changes I2C device drivers without real probe logic to return BUS_PROBE_NOWILDWARD to avoid interference with firmware bus enumeration, and reduces the probe priority of the iicbus base driver to allow subclass attachment at higher priority. Discussed on: freebsd-arch END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-06T18:10:17.039018Z K 7 svn:log V 157 Document the special loopback address behaviour of jails. PR: kern/103464 Submitted by: brueffer (correct markup) Reviewed by: brueffer MFC after: 2 weeks END K 10 svn:author V 3 flz K 8 svn:date V 27 2009-01-06T19:00:12.453815Z K 7 svn:log V 98 - Backout latest changes (follow symlinks: r186496, r186518). - Bump PKG_INSTALL_VER to 20090106. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-01-06T19:25:24.029118Z K 7 svn:log V 270 Strengthen some of the language concerning attacks on MD5, in light of the recent demonstration of a forged SSL certificate. Add text pointing out that SHA-1 is at least theoretically broken. Add a recommendation that new applications use SHA-256. MFC after: 1 month END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-01-06T19:52:40.012247Z K 7 svn:log V 117 - Add a handler for SIGINFO, which will print the collection, and the progress of updating the current collection. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-01-06T20:19:49.923354Z K 7 svn:log V 80 Unbreak build by fixing the conditional. Approved by: bz Pointy Hat To: danger END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-01-06T21:16:42.219450Z K 7 svn:log V 41 Minor markup fix for the r186836 update. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-01-06T21:34:53.640617Z K 7 svn:log V 126 MFC 184700: Add DTrace probes for process execution. This covers cases tested by the DTrace test suite. Approved by: jb END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-06T22:18:24.395098Z K 7 svn:log V 240 Put the devfs ruleset next to devfs enable, add a comment about the suggested ruleset[1]. While here use an IP from the 'test-net' prefix for docs. PR: kern/130102 ([1] different problem in the end) Reviewed by: simon MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-06T23:05:28.362472Z K 7 svn:log V 61 Move mergeinfo for r186587 from sys/sys/copyright.h to sys/. END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T00:51:41.368084Z K 7 svn:log V 143 - rename the RETURN VALUES section to EXIT STATUS - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T00:54:30.267208Z K 7 svn:log V 170 - rename the RETURN VALUES section to EXIT STATUS [1] - convert to .Ex macro - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T00:57:27.102380Z K 7 svn:log V 143 - rename the RETURN VALUES section to EXIT STATUS - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T00:58:25.157183Z K 7 svn:log V 143 - rename the RETURN VALUES section to EXIT STATUS - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T00:59:34.407449Z K 7 svn:log V 143 - rename the RETURN VALUES section to EXIT STATUS - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T01:01:26.644907Z K 7 svn:log V 174 - rename the RETURN VALUES section to EXIT STATUS [1] - convert to .Ex macro - not bumping a date as this is not a real content change Approved by: ru [1] MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T01:03:23.830868Z K 7 svn:log V 143 - rename the RETURN VALUES section to EXIT STATUS - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-07T01:31:09.218391Z K 7 svn:log V 39 - use .Ex macro in EXIT STATUS section END K 10 svn:author V 5 rafan K 8 svn:date V 27 2009-01-07T03:15:22.498341Z K 7 svn:log V 337 - Remove snd_au88x0 which seems never got compiled into kernel nor as a kernel module. These files cause manual interaction when building ports/audio/aureal-kmod which provides a usable i386-only driver (it requires linking against some linux object files distributed by vendor which bankrupted back in 2000). MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-07T09:17:25.939232Z K 7 svn:log V 38 experiments with geom disk schedulers END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T09:50:57.869885Z K 7 svn:log V 37 Hook up sdhci man page to the build. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-07T09:56:54.075797Z K 7 svn:log V 307 Using KMODOWN/KMODGRP rather than hard coding root/wheel for installing the kernel allows one, like with modules, to override the default user/group and install as non-su to a temporary directory to test, create images or seed a tftp dir. Reviewed by: Andrzej Tobola MFC after: 4 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T11:04:57.760987Z K 7 svn:log V 49 Partially MFC rev. 172658 to reduce diff. Sort. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T11:19:18.356759Z K 7 svn:log V 54 MFC rev. 186855 Hook up sdhci man page to the build. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T11:44:03.380501Z K 7 svn:log V 321 MFC rev. 186179: Avoid 256 integer divisions per rc4_init() call. Replace it with using separate index variable. It gives more then double rc4_init() performance increase on tested i386 P4. It also gives about 15% speedup to PPTP VPN with stateless MPPE encryption (by ng_mppc) which calls rc4_init() for every packet. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-01-07T11:54:00.342821Z K 7 svn:log V 86 - Handle SIGINFO in a way that prevents calling of non async-signal safe functions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T12:38:31.196072Z K 7 svn:log V 318 MFC rev. 185723, 186189: Carefully handle memory errors to keep peers compression/encryption state consistent. There are some cases reported where peers fatally getting out of sync without any visible reason. I hope this solve the problem. Unroll two loops of SHA1Update(). 60 bytes of static memory is not a price. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-07T12:44:03.104332Z K 7 svn:log V 278 MFC r186600: In r185557, the check for existing negative entry for the given name did not compared nc_dvp with supplied parent directory vnode pointer. Add the check and note that now branches for vp != NULL and vp == NULL are the same, thus can be merged. Tested by: kensmith END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-07T14:00:44.767881Z K 7 svn:log V 257 MFC r186600: In r185557, the check for existing negative entry for the given name did not compared nc_dvp with supplied parent directory vnode pointer. Add the check and note that now branches for vp != NULL and vp == NULL are the same, thus can be merged. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T15:28:47.163449Z K 7 svn:log V 1308 Merge updated snd_hda driver version 20081226_0122 from CURRENT. This update gives: - multiple codec per HDA bus support; - multiple functional groups per codec support; - multiple audio devices per functional group support; - digital (SPDIF/HDMI) audio input/output support; - better UAA specification compliance with wide configureability; - headphones redirection controlled by UAA configuration instead of quirks; - improved codec parser, that gives working playback and recording with all of the long list of tested codecs and systems; - suspend/resume support; - part of multichannel audio support (requires OSS improvement to be used); Note, that due to added HDMI audio and logical audio devices support, updated driver often provides several PCM devices. In some cases it can make system default audio device no longer corresponding to the users's habbitual audio connectors. In such cases wanted device can be specified in audio application setup or defined globally via hw.snd.default_unit sysctl according to sound(4) man page. Additional information information about driver operation can be obtained from the updated man page and verbose boot messages. PR: kern/119181, kern/120144, kern/117599, kern/117729, kern/119671, kern/124645, kern/125822, kern/126217, kern/127105 END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-07T15:31:46.905774Z K 7 svn:log V 69 MFC: r183100 Allow a jail to be started with a specific route fib. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T16:01:23.697160Z K 7 svn:log V 119 Add some more supported controller and codec models. Add one more proposition to check correct PCM audio device usage. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T16:06:09.666661Z K 7 svn:log V 13 Update date. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T16:15:17.072484Z K 7 svn:log V 49 Sync snd_hda and snd_ich man pages with CURRENT. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T16:21:04.424085Z K 7 svn:log V 77 MFC rev. 186828 Add small hint that snd_ich is the AC'97 controller driver. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T16:35:59.261295Z K 7 svn:log V 56 snd_hda(4) driver was updated to version 20081226_0122. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-01-07T18:02:36.282938Z K 7 svn:log V 163 MFC r176637,178706,180757,184517,185405,186785: Mac OS X 10.5, DragonFly 1.12.0, FreeBSD 7.0, OpenBSD 4.3, DragonFly 2.0.0, OpenBSD 4.4, FreeBSD 6.4, FreeBSD 7.1. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-07T18:17:36.435966Z K 7 svn:log V 115 only mark an infrastructure node to require an associd for xmit; fixes adhoc mode sta's that join an existing ibss END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-01-07T18:37:07.819695Z K 7 svn:log V 49 - Update manpage now that cvs mode is supported. END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-01-07T20:17:55.639162Z K 7 svn:log V 441 Prevent cross-site forgery attacks on lukemftpd(8) due to splitting long commands into multiple requests. [09:01] Fix incorrect OpenSSL checks for malformed signatures due to invalid check of return value from EVP_VerifyFinal(), DSA_verify, and DSA_do_verify. [09:02] Security: FreeBSD-SA-09:01.lukemftpd Security: FreeBSD-SA-09:02.openssl Obtained from: NetBSD [SA-09:01] Obtained from: OpenSSL Project [SA-09:02] Approved by: so (simon) END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-01-07T21:03:41.528694Z K 7 svn:log V 290 This time really commit the OpenSSL part of the advisory round to stable/6: Fix incorrect OpenSSL checks for malformed signatures due to invalid check of return value from EVP_VerifyFinal(), DSA_verify, and DSA_do_verify. Security: FreeBSD-SA-09:02.openssl Obtained from: OpenSSL Project END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-01-07T21:10:16.624919Z K 7 svn:log V 97 - Use sig_atomic_t as type for variables used in SIGINFO signal handler. Pointed out by: maxim END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-07T21:12:33.150949Z K 7 svn:log V 54 Add some new oss_sysinfo structure fields from OSSv4. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-07T21:25:44.543488Z K 7 svn:log V 633 Check the return values of contigmalloc(9) as well as bus_dma(9) functions and stop attaching of dcons(4) and dcons_crom(4) if they indicate failure. This fixes a panic seen on sparc64 machines with no free physical memory in the requested 32-bit region but still doesn't make dcons(4)/dcons_crom(4) these work. I think the latter can be fixed by simply specifying ~0UL as the upper limit for contigmalloc(9) and letting the bounce pages and the IOMMU respectively handle limitations of the DMA engine. I didn't want to change that without the consensus of simokawa@ though, who unfortunately didn't reply so far. MFC after: 1 week END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-01-07T21:36:24.716057Z K 7 svn:log V 4 MFH END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-07T21:52:47.294091Z K 7 svn:log V 836 Make the whole initiator mode part of mpt(4) endian-clean, specifically SPI controllers now also work in big-endian machines and some conversions relevant for FC and SAS controllers as well as support for ILP32 machines which all were omitted in previous attempts are now also implemented. The IOCTL-interface is intentionally left (and where needed actually changed) to be completely little-endian as otherwise we would have to add conversion code for every possible configuration page to mpt(4), which didn't seem the right thing to do, neither did converting only half of the user- interface to the native byte order. This change was tested on amd64 (SAS+SPI), i386 (SAS) and sparc64 (SAS+SPI). Due to lack of the necessary hardware the target mode code is still left to be made endian-clean. Reviewed by: scottl MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-07T23:30:26.731807Z K 7 svn:log V 101 correct fixed rate handling; the rixmap was changed a while back to be indexed by the ieee rate code END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-08T00:08:34.407345Z K 7 svn:log V 13 sync w/ head END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-01-08T00:31:48.703201Z K 7 svn:log V 25 track new vnode creation END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-08T00:45:47.719752Z K 7 svn:log V 623 Make it possible to override the number of retries for the CD media. When trying to read scratched or damaged CDs and DVDs, the default mechanism is sub-optimal. Programs like ddrescue do much better if you turn off retries entirely, since their algorithms are designed scan big areas fast, then winnow the areas down. Turning off retries speeds these programs up by as much as 20x, since the drive is able to 'stream past' many small errors... The sysctl/tunable kern.cam.cd.retry_count controls this. That defaults to '4' (for a total of 5 attempts). Setting to 0 turns off all retry attempts. Reviewed by: scottl@ END K 10 svn:author V 3 scf K 8 svn:date V 27 2009-01-08T02:41:40.717272Z K 7 svn:log V 602 MFC r184831,185237: style(9) fixes. Fixed style issues with variable ordering and naming, spacing and parentheses. Fixed alignment issue in gr_dup() in its assignment of gr_mem using a struct to force alignment without performing alignment mathematics. This was noticed recently with libutil was built with WARNS=6 on platform such as sparc64. Added checks to gr_dup(), gr_equal() and gr_make() to prevent segfaults when examining struct group's with the struct members pointing to NULL's. Unlike r185237, did not enable WARNS?=6 since other changes would need to be MFC'd first. Reviewed by: des END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-01-08T04:26:44.365624Z K 7 svn:log V 197 Always check whether dma map is valid before unloading the map. When fxp(4) intializes Rx buffers for the first time, there is no loaded dma map so attempting to unload it is an invalid operation. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2009-01-08T05:10:03.136464Z K 7 svn:log V 255 Make ufoma2 driver work. 1.Sync TD on close to ensure USB request in close callback issued. 2.Add sysctls to indicate device role. 3.Enable handsfree port support. Now modem port and obex port works well. Handsfree port works but not with good response. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-08T06:12:03.496759Z K 7 svn:log V 169 Fix the types of INFINITY and NAN, which were broken in r131851. They should both be floats, not doubles. PR: 127795 Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-08T06:38:06.923028Z K 7 svn:log V 102 Set the error indicator on an attempt to write to a read-only stream. PR: 127335 MFC after: 2 weeks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-08T09:24:18.385826Z K 7 svn:log V 60 initial snapshot of geom disk schedulers by Fabio Checconi. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-08T09:38:18.809680Z K 7 svn:log V 19 add forgotten file END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-08T09:50:20.221604Z K 7 svn:log V 257 MFC r185689: Order the str*.c files mostly alphabetical. MFC r185690: Import the strndup(3) function. MFC r185777: Add strndup(3) prototype to string.h. Manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1 for the configure.h files that need it. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-08T10:16:02.839858Z K 7 svn:log V 723 cam: Retry TEST UNIT READY command if not successful. This fixes problems with discovering some USB devices that are very slow to respond during initialisation. When a USB device is inserted, CAM performs the sequence: 1) INQUIRY 2) INQUIRY (second time with other parameters) 3) TEST UNIT READY 4) READ CAPACITY Before this change CAM didn't check if TEST UNIT READY was successful and went on blindly to the next state and sent READ CAPACITY. If the device was still not ready by then, CAM ended with error message. This patch adds checking for the status of TEST UNIT READY command and retrying up to 10 times with 0.5 sec interval. Submitted by: Grzegorz Bernacki gjb ! semihalf dot com Reviewed by: scottl END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-08T11:09:27.914265Z K 7 svn:log V 207 Handle mge(4) chip revision differences at run-time rather then compile time, which is more flexible for future revisions, and lets eliminate some #defines and compile conditionals. Obtained from: Semihalf END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-08T12:10:11.519650Z K 7 svn:log V 217 1. restore original structure for struct bio -- now the classification info is stored by g_io_request() in the bio_caller1 field in the first bio of the geom chain. 2. create a DISKLESS configuration for tests END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-08T12:22:37.274113Z K 7 svn:log V 161 Document that with r186854 we started using KMODOWN/KMODGRP for the kernel as well and no longer only for modules. Reviewed by: kib, antoine MFC after: 26 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-08T12:39:40.810768Z K 7 svn:log V 46 add control libraries for the two new classes END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-08T12:47:30.319279Z K 7 svn:log V 435 Do not call namei() while having another user-controlled vnode locked. Lookup could attempt to recursively lock that vnode. Do not call vn_start_write(V_WAIT) while vnode is locked, this may result in a deadlock with suspension. vfs_busy() the mountpoint before dropping vnode lock for vnode that was used to look up the mountpoint, to prevent unmount in between. Reported and tested by: pho Reviewed by: rwatson MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-08T12:48:27.417622Z K 7 svn:log V 193 If unmount of the ffs mp failed, reinitialize the extended attributes for the mp, and restart them if autostart is enabled. Reported and tested by: pho Reviewed by: rwatson MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-08T12:49:55.309348Z K 7 svn:log V 122 Lock the uepm_lock around the autostart of extattrs. Reported and tested by: pho Reviewed by: rwatson MFC after: 3 weeks END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-08T13:20:28.637023Z K 7 svn:log V 320 Adjust Marvell SOC support for A0 chip revision. - Clean up TCLK handling so that it's dynamically recognized depending on registers settings or chip version/revision. Update registers definitions. - Teach SOC ident routine about A0 (initial silicon version for general audience) Obtained from: Marvell, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-08T13:24:25.777546Z K 7 svn:log V 155 De-hard code UART speed setting for Marvell SOCs when hw.uart.console is not specified. Instead, let uart(4) fall back to whatever speed firmware has set. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-08T13:25:22.876989Z K 7 svn:log V 28 Minor style(9) corrections. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-08T13:32:08.276066Z K 7 svn:log V 102 Provide handler for USB controller error interrupts for Marvell EHCI device. Obtained from: Semihalf END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-08T15:20:32.790255Z K 7 svn:log V 120 First cut at documenting hw.cam.cd.retry_count. Moved kern.cam.cd.%d.minimum_cmd_size to new SYSCTL VARIABLES section. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-08T17:12:47.614487Z K 7 svn:log V 643 TDMA support for long distance point-to-point links using ath devices: o add net80211 support for a tdma vap that is built on top of the existing adhoc-demo support o add tdma scheduling of frame transmission to the ath driver; it's conceivable other devices might be capable of this too in which case they can make use of the 802.11 protocol additions etc. o add minor bits to user tools that need to know: ifconfig to setup and configure, new statistics in athstats, and new debug mask bits While the architecture can support >2 slots in a TDMA BSS the current design is intended (and tested) for only 2 slots. Sponsored by: Intel END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-08T17:26:51.236414Z K 7 svn:log V 320 Make "kldunload atapicam" return EBUSY instead of deadlocking when a device created by atapicam is being kept opened or mounted. This is probably just a temporary solution until we invent something better. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Reported by: Jaakko Heinonen END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-01-08T17:47:45.054360Z K 7 svn:log V 221 Improve the AT keyboard emulation of the ADB keyboard driver, by supporting an AT-like K_RAW mode instead of just K_CODE. This has the effect of making the arrow keys on ADB keyboards work in X11. Copied from: sunkbd(4) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-08T17:51:15.797419Z K 7 svn:log V 162 Mark ng_vjc node as FORCE_WRITER to protect slcompress state. I think it can be the reason of livelock in netgraph reported by some mpd users. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-08T18:24:04.493329Z K 7 svn:log V 33 make it work with a stock kernel END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-08T18:31:43.337266Z K 7 svn:log V 503 Improve and extend Marvell SOCs platform code. - Allow for setting per platform MPP/GPIO configuration in the kernel, so that we can override all settings firmware might set. - Set decode windows for the remaining on-chip peripherals: CESA, SATA and XOR. - Improve handling of USB controllers so that all port are available on the given SOC/platform (e.g. up to three on DB-78xxx), this includes rework of USB decode windows set-up. - Other minor fixes and cosmetics. Obtained from: Semihalf END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-08T18:34:19.704694Z K 7 svn:log V 24 mfc ath hal source code END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-08T19:13:34.977999Z K 7 svn:log V 191 Don't panic with "vinvalbuf: dirty bufs" when the mounted device that was being written to goes away. Reviewed by: kib, scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-08T19:43:47.653916Z K 7 svn:log V 123 Add external connector jack color into widget names. It should help users to identify them while reading verbose messages. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-01-08T21:29:40.043009Z K 7 svn:log V 18 Language cleanup. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-08T21:46:55.528640Z K 7 svn:log V 39 branch releng7 to backport vap support END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-01-08T22:32:35.928780Z K 7 svn:log V 79 MFC r186297 and r186298: Honor the quiet (-q) option while adding a nat rule. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-08T23:27:59.472074Z K 7 svn:log V 112 The description of the various securelevels has moved to the security.7 manpage a while ago. MFC after: 1 week END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-08T23:50:32.660605Z K 7 svn:log V 130 The description of the various securelevels has moved to the security.7 manpage a while ago. MFC after: 1 week Noticed by: simon END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-09T01:47:24.494004Z K 7 svn:log V 116 start backmerging vap support; this brings in net80211 and drivers; GENERIC compiles but nothing tested or reviewed END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-01-09T02:31:51.928155Z K 7 svn:log V 144 fix a typo to set the 48Mbps data rate. PR: kern/130189 Submitted by: Paul B. Mahol Reviewed by: sam MFC after: 3 weeks END K 10 svn:author V 6 murray K 8 svn:date V 27 2009-01-09T03:42:41.742804Z K 7 svn:log V 347 MFC r186043, 186124, 186241 Add support for If-Modified-Since to fetch with new -i option. Consistently return 1 on error. Improve usage and SYNOPSIS. _M usr.bin/fetch M usr.bin/fetch/fetch.1 M usr.bin/fetch/fetch.c _M lib/libfetch M lib/libfetch/fetch.h M lib/libfetch/http.c M lib/libfetch/fetch.3 M lib/libfetch/fetch.c END K 10 svn:author V 6 murray K 8 svn:date V 27 2009-01-09T03:52:12.492429Z K 7 svn:log V 115 Note new fetch if-modified-since support in the userland section, and update copyright to 2009. M article.sgml END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-09T04:38:22.423097Z K 7 svn:log V 153 Readd the Alcor Transcend device which is referenced in usb2/storage/umass2.c, regenerate the usb2 dev tables for the scanner additions while I am here. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-01-09T07:23:02.132051Z K 7 svn:log V 40 Add kernel support for weighting routes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-01-09T07:23:26.897632Z K 7 svn:log V 19 remove RTA_GENMASK END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-01-09T07:27:08.774009Z K 7 svn:log V 73 - remove genmask - add -weight option for adding / changing route weight END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T09:04:10.796495Z K 7 svn:log V 31 Vendor import of BIND 9.4.3-P1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T09:05:29.759556Z K 7 svn:log V 25 Tag the 9.4.3-P1 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T09:58:33.149239Z K 7 svn:log V 31 Vendor import of BIND 9.3.6-P1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T09:59:33.596891Z K 7 svn:log V 25 Tag the 9.3.6-P1 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T10:11:53.001033Z K 7 svn:log V 65 Incorporate the changes to ../dist/FREEBSD-Xlist through r186452 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T10:16:19.961986Z K 7 svn:log V 31 Vendor import of BIND 9.3.6-P1 END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-09T10:20:51.179396Z K 7 svn:log V 297 Improve Marvell SOCs PCI/PCIE driver. - Provide dedicated rmans for MEM and IO resources. - Convert PCI IRQ routing info into a table (from callback approach), provide config data for alternative DB- boards. - Fix a wrong boundary check error in pcib_mbus_init_bar() Obtained from: Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-09T10:45:04.446329Z K 7 svn:log V 374 Fix confusing naming of Marvell ARM CPU specific routines. - The contents of 'feroceon_cpufuncs' dispatch table was really dedicated for the new Sheeva CPU (in 88F6xxx and MV-78xxx SOCs), and NOT Feroceon. - Feroceon CPU (in 88F5xxx SOCs) appears as a regular ARM926EJ-S core and does not require dedicated routines. This will be accompanied by a file rename commit. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-09T10:55:33.186661Z K 7 svn:log V 59 Rename Marvell ARM CPU specific file according to r186933. END K 10 svn:author V 5 harti K 8 svn:date V 27 2009-01-09T10:58:59.884507Z K 7 svn:log V 201 Set a minimum of information in the routing message (like version and type) so that generic routing message parsing code can parse the messages for L2 info that are retrieved via the sysctl interface. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-09T11:09:57.353541Z K 7 svn:log V 182 MFC r183322: Change the static struct sysentvec and struct Elf_Brandinfo initializers to the C99 style. Explicitely initialize sysentvec.sv_maxssiz that was missed in most sysvecs. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T11:20:51.245792Z K 7 svn:log V 835 MFC the changes from r179725, documentation of the AUTO_UPGRADE knob, and 186677:186749: o Removal of 184781, 184804, and 184832 (automatic installation of files that differ only by VCS Id) o Fix cross-platform builds o Various improvements to the mtree (-U) feature o Remove the last of the MAKEDEV stuff o Switch to using the top level (e.g., /usr/src) Makefile, and specify that we should use the *.mk files from the source directory instead of the installed versions. o Check for the deprecated 'nodev' option in /etc/fstab o Add support for the IGNORE_FILES variable o Before installing a file check to make sure that the target does not already exist as a directory o Check to be sure that the file installed and error out if not o We only need to check for the presence of the target of $PAGER if that variable is actually set END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T11:21:25.119406Z K 7 svn:log V 835 MFC the changes from r179725, documentation of the AUTO_UPGRADE knob, and 186677:186749: o Removal of 184781, 184804, and 184832 (automatic installation of files that differ only by VCS Id) o Fix cross-platform builds o Various improvements to the mtree (-U) feature o Remove the last of the MAKEDEV stuff o Switch to using the top level (e.g., /usr/src) Makefile, and specify that we should use the *.mk files from the source directory instead of the installed versions. o Check for the deprecated 'nodev' option in /etc/fstab o Add support for the IGNORE_FILES variable o Before installing a file check to make sure that the target does not already exist as a directory o Check to be sure that the file installed and error out if not o We only need to check for the presence of the target of $PAGER if that variable is actually set END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T11:36:30.011197Z K 7 svn:log V 477 MFC rev. 186154 If possible, try to obtain max_mhz on cpufreq attach instead of first request. On HyperThreading CPUs logical cores have same frequency, so setting it on any core will change the other's one. In most cases first request to the second core will be the "set" request, done after setting frequency of the first core. In such case second CPU will obtain throttled frequency of the first core as it's max_mhz making cpufreq broken due to different frequency sets. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-09T11:44:22.025379Z K 7 svn:log V 30 explain what is this file for END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-01-09T11:45:13.284836Z K 7 svn:log V 100 Remove reference to no longer existing document. Spotted by: Bjoern Voigt END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-01-09T11:45:45.744851Z K 7 svn:log V 55 Merge from vendor/bind9/dist as of the 9.4.3-P1 import END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-09T11:46:23.142846Z K 7 svn:log V 81 for the time being, avoid patching the kernel and do the marking in g_io_request END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-09T11:47:14.508351Z K 7 svn:log V 47 document and small reorganization of variables END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-09T11:48:53.425384Z K 7 svn:log V 51 documentation and small reorganization of the code END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-09T12:17:37.707263Z K 7 svn:log V 21 simplify the tagging END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-01-09T12:38:41.307013Z K 7 svn:log V 160 Check PCIE link status before accessing the bus. Some 88F5182-based systems (Linkstation) have problems when PCIE is accessed without any peripherals present. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-09T13:06:56.857660Z K 7 svn:log V 662 Make SIOCGIFADDR and related, as well as SIOCGIFADDR_IN6 and related jail-aware. Up to now we returned the first address of the interface for SIOCGIFADDR w/o an ifr_addr in the query. This caused problems for programs querying for an address but running inside a jail, as the address returned usually did not belong to the jail. Like for v6, if there was an ifr_addr given on v4, you could probe for more addresses on the interfaces that you were not allowed to see from inside a jail. Return an error (EADDRNOTAVAIL) in that case now unless the address is on the given interface and valid for the jail. PR: kern/114325 Reviewed by: rwatson MFC after: 4 weeks END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-01-09T13:18:13.030327Z K 7 svn:log V 625 - Add more dtrace probes. - Add corresponding *_error probes to the dtrace script. - Remove 'register': This is there since cvs rev 1.1. This is not speed critical code, so remove this and let the compiler do his job. In other similar places this was removed already. - Staticize functions which are not used somewhere else, move the corresponding prototypes from the header to the code file. - Add a comment to the debug part which is not dtrace-ified about the constraints which prevent the removal ATM (remove this code when ldebug() is not used anywhere anymore, AKA when the dtrace-ification is finished). END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-01-09T13:53:44.584003Z K 7 svn:log V 62 MFC r186510: Prevent overflow of uio_resid. Approved by: kib END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-09T14:35:32.687476Z K 7 svn:log V 17 add missing file END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-09T14:35:55.726326Z K 7 svn:log V 32 do the patching of g_io_request END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-01-09T14:41:36.776951Z K 7 svn:log V 121 DEBUG_REDZONE needs DDB which needs KDB. PR: 130324 Submitted by: Jaakko Heinonen MFC after: 3 days END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-01-09T15:13:46.902125Z K 7 svn:log V 62 MFC r186510: Prevent overflow of uio_resid. Approved by: kib END K 10 svn:author V 6 adrian K 8 svn:date V 27 2009-01-09T16:02:19.386978Z K 7 svn:log V 881 Implement a new IP option (not compiled/enabled by default) to allow applications to specify a non-local IP address when bind()'ing a socket to a local endpoint. This allows applications to spoof the client IP address of connections if (obviously!) they somehow are able to receive the traffic normally destined to said clients. This patch doesn't include any changes to ipfw or the bridging code to redirect the client traffic through the PCB checks so TCP gets a shot at it. The normal behaviour is that packets with a non-local destination IP address are not handled locally. This can be dealth with some IPFW hackery; modifications to IPFW to make this less hacky will occur in subsequent commmits. Thanks to Julian Elischer and others at Ironport. This work was approved and donated before Cisco acquired them. Obtained from: Julian Elischer and others MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-09T16:22:32.306612Z K 7 svn:log V 178 Take the cred from curthread rather than curproc as curproc would need locking but the credential from curthread (usually) never changes. Discussed with: jhb MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-01-09T16:24:10.276120Z K 7 svn:log V 13 Sort MLINKS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-01-09T16:37:29.624549Z K 7 svn:log V 63 MFC: Instead of using .POSIX:, use the cool looking "@:" rule. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2009-01-09T17:16:18.617580Z K 7 svn:log V 85 Comment some potentially confusing logic. Nitpicking by: mlaier MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2009-01-09T17:18:17.292190Z K 7 svn:log V 87 Better comment what the socket option does. Thanks to Sam Leffler for suggesting this. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2009-01-09T17:21:22.028277Z K 7 svn:log V 47 Fix indentation; add FALLTHROUGH. Thanks Max! END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-09T18:08:50.656874Z K 7 svn:log V 29 sync with HEAD OK'd by: phk END K 10 svn:author V 6 adrian K 8 svn:date V 27 2009-01-09T18:38:57.047607Z K 7 svn:log V 46 Fix fat-fingered comment. Noticed-by: julian END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-09T19:45:06.936594Z K 7 svn:log V 49 Bring in USB2, libusb20 and usbconfig from HEAD. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-01-09T19:49:32.355004Z K 7 svn:log V 187 Recognize et(4), igb(4), iwn(4), ixgbe(4) and nxge(4) devices. Correct some minor whitespace in the ae(4) entry. Reported by: Mars G Miro Approved by: rwatson (mentor) MFC after: 1 week END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-01-09T20:28:43.376405Z K 7 svn:log V 115 Make it so that debug builds with CTF (i.e. DTrace) have proper debugging symbols in the kernel. Reviewed by: jhb END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T20:33:07.175633Z K 7 svn:log V 145 MFC rev. 184139, 184141, 184937 Add "SD host controller" subclass. Add HDA multimedia subclass. Add ADMA, SATA and SAS mass storage subclasses. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T20:34:32.360139Z K 7 svn:log V 145 MFC rev. 184140, 184142, 184936 Add "SD host controller" subclass. Add HDA multimedia subclass. Add ADMA, SATA and SAS mass storage subclasses. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T20:38:21.700948Z K 7 svn:log V 159 MFC rev. 185179 Remove unneeded NULL check. At first msg can't be null here and and at second NG_FREE_MSG() also checks it. Found with: Coverity Prevent(tm) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T20:40:19.057603Z K 7 svn:log V 129 MFC rev. 185182 Fix typo. Clear session stats instead of config and part of stats. Found with: Coverity Prevent(tm) CID: 2472 END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T20:41:58.447117Z K 7 svn:log V 100 MFC rev. 185183 Remove unused variable. Found with: Coverity Prevent(tm) CID: 3682 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-01-09T20:43:06.411363Z K 7 svn:log V 67 Revert the last checkin as it's supposed to go against HEAD first. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T20:55:26.465872Z K 7 svn:log V 397 MFC rev. 183693 Add ability to generate egress netflow instead or in addition to ingress. Use mbuf tagging for accounted packets to not account packets twice when both ingress and egress netflow enabled. To keep compatibility new "setconfig" message added to control new functionality. By default node works as before, doing only ingress accounting without using mbuf tags. Reviewed by: glebius END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T20:57:01.161226Z K 7 svn:log V 69 MFC rev. 183695 Document new NGM_NETFLOW_SETCONFIG control message. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-09T20:57:43.620142Z K 7 svn:log V 79 merge r181463 which revs the sbuf api; need this so user code builds unchanged END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-09T21:02:54.683035Z K 7 svn:log V 404 MFC rev. 182995 We can't implicitly trust the hook on NGQF_FN/NGQF_FN2 processing in ng_apply_item(). There are possible (and I have got one) use-after-free class panics because of it. If hook is specified, require it to be valid at the apply time. The only exceptions are the internal ng_con_part2(), ng_con_part3() and ng_rmhook_part2() functions which are specially made to work with invalid hooks. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-09T21:04:09.211340Z K 7 svn:log V 119 merge additional build knobs from HEAD; need this to build w/ other changes, will bring the remaining stuff in shortly END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-09T21:05:36.558724Z K 7 svn:log V 136 first cut at merging vap/wireless-related support from HEAD: o ifconfig o tools (net80211, atH) o wpa_supplicant o hostapd o rc support END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-09T21:39:44.420439Z K 7 svn:log V 158 example configurations for cross-building to Gateworks 2348 and 2358 boards; probably needs cleanups to be less specific to my needs/uses MFC after: 2 weeks END