ƒ²P187761 195 296 223 143 300 268 189 594 196 280 359 122 221 172 223 171 217 163 879 108 316 132 351 182 113 108 112 149 157 113 1176 188 119 214 190 167 232 203 129 407 212 550 104 290 106 305 233 137 125 131 194 232 259 128 911 307 121 166 129 163 282 427 223 171 163 284 373 169 181 300 1249 4320 225 202 295 302 191 115 1237 439 307 744 239 139 327 302 309 212 168 150 149 143 159 193 206 149 138 158 145 119 133 129 118 332 879 187 159 385 149 196 155 126 122 135 124 187 142 118 267 211 336 295 274 472 278 278 158 607 167 369 439 335 146 220 293 672 160 137 129 173 124 152 144 158 115 110 125 499 309 300 190 145 167 195 95 264 449 190 204 204 218 311 118 532 532 513 513 129 105 108 108 302 120 122 179 1225 159 130 315 300 453 264 243 124 131 121 549 185 260 287 265 283 179 322 215 296 K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-01-27T07:29:37.782534Z K 7 svn:log V 202 - Add support for nehalem/corei7 cpus. This supports all of the core counters defined in the reference manual. It does not support the 'uncore' events. Reviewed by: jkoshy Sponsored by: Nokia END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T07:40:16.930096Z K 7 svn:log V 128 remove a couple of rarely used #define; change PRINT_UINT from a macro to a function (renaming is postponed to reduce clutter) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T09:04:29.813047Z K 7 svn:log V 49 I believe this is safe to build with WARNS=2 now END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T09:06:25.736759Z K 7 svn:log V 205 put all options in a single struct, and document them. This will allow us to easily restore the original values when processing commands from a file (where each individual line can have its own options). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T09:27:13.073931Z K 7 svn:log V 173 put the usage() function inline, it was only 1 line and used once; slightly reformat the help() text; slightly correct the text for the 'extraneous filename' error message; END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-01-27T09:38:44.847078Z K 7 svn:log V 96 - Add support for Moxa Technologies CP-168EL/PCIe card. Submitted by: dmarck MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T10:18:55.549315Z K 7 svn:log V 499 Start splitting the monster file in smaller blocks. In this episode: - introduce a common header with a minimal set of common definitions; - bring the main() function and options parser in main.c - rename the main functions with an ipfw_ prefix No code changes except for the introduction of a global variable, resvd_set_number, which stores the RESVD_SET value from ip_fw.h and is used to remove the dependency of main.c from ip_fw.h (and the subtree of dependencies) for just a single constant. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T11:03:47.400836Z K 7 svn:log V 101 never mind, for the time being let's stick with WARNS=0 until we sort out all proper printf formats. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T11:06:59.947510Z K 7 svn:log V 185 Put dummynet-related code in a separate file. To this purpose, add prototypes for global functions in ipfw2.h and move there also the list of tokens used in various places in the code. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T12:01:30.448259Z K 7 svn:log V 264 Put nat and ipv6 support in their own files. Usual moving of code with no changes from ipfw2.c to the newly created files, and addition of prototypes to ipfw2.h I have added forward declarations for ipfw_insn_* in ipfw2.h to avoid a global dependency on ip_fw.h END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T12:24:53.234803Z K 7 svn:log V 28 fix wrong variable usage... END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-27T15:34:30.445644Z K 7 svn:log V 124 - Remove check of null softc in attach routines; it can never happen - Readd missing parts of zyd_attach Submitted by: sam END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-27T15:40:09.959939Z K 7 svn:log V 76 Exit early if zyd_cmd is passed a read command, dev/usb/if_zyd.c does this. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-27T16:09:38.727856Z K 7 svn:log V 126 Revert r187773. The reason that I had write commands waiting was the data is on the stack, just use a different wait channel. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-27T16:12:19.416038Z K 7 svn:log V 75 Break after sending the interrupt data, it needs to be one xfer at a time. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-27T16:25:45.614403Z K 7 svn:log V 124 MFC: Add a comment explaining why the "bufwait" / "dirhash" LOR reported by WITNESS will not actually result in a deadlock. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-27T16:27:31.685390Z K 7 svn:log V 67 Remove check of null softc in attach routines; it can never happen END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T19:17:59.573369Z K 7 svn:log V 786 Really fix 1/2 and 1/4 width channel handling: o only include 1/2 and 1/4 width channels when they are specified in the regulatory database description; previously we treated them as if they were part of the band and blindly added them for 11a/g o check the channel list returned in the devcaps to identify whether a device supports 1/2 or 1/4 width channels on a band; this might be better brought out as a capability bit to avoid filling the channel list w/ 1/2 and 1/4 width channels but then cards that only support these channels in a range of frequencies could not be described (though right now we don't check frequency range only band) While here bring back private def of IEEE80211_C_BITS; we don't want to include ieee80211_var.h which was where it was placed. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T19:25:00.462814Z K 7 svn:log V 16 merge from head END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-01-27T19:37:30.726452Z K 7 svn:log V 219 Fix the input buffer at 1024. The previous calculated buffer size exceeded the maximum size of 1 page for OHCI controllers. Other serial drivers use the same size, so I assume this should be enough (1MB/s throughput?). END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T19:56:38.595767Z K 7 svn:log V 40 make CTRY_DEBUG and CTRY_DEFAULT public END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-27T20:13:24.644736Z K 7 svn:log V 253 When synchronizing the clock at system startup time, use both the -g and -q options. They do a slightly different thing and both are necessary when the time difference is large. Noticed by: danger, in the forums Approved by: roberto MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T20:16:40.067954Z K 7 svn:log V 90 update for hal changes; remove 11n mode by default as we don't calculate txpower properly END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T20:17:12.659411Z K 7 svn:log V 21 merge athrd addition END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T20:17:47.297294Z K 7 svn:log V 16 merge from head END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T20:25:55.186885Z K 7 svn:log V 20 update my copyright END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-27T20:26:45.712806Z K 7 svn:log V 55 fix printing of uint64_t values, so we can use WARNS=2 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T20:28:01.015047Z K 7 svn:log V 65 switch to FreeBSD keyword; this'll be required to commit to head END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T20:34:14.013236Z K 7 svn:log V 21 more copyright stuff END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-27T21:48:47.166257Z K 7 svn:log V 1078 Following a fair amount of real world experience with ACLs and extended attributes since FreeBSD 5, make the following semantic changes: - Don't update the inode modification time (mtime) when extended attributes (and hence also ACLs) are added, modified, or removed. - Don't update the inode access tie (atime) when extended attributes (and hence also ACLs) are queried. This means that rsync (and related tools) won't improperly think that the data in the file has changed when only the ACL has changed. Note that ffs_reallocblks() has not been changed to not update on an IO_EXT transaction, but currently EAs don't use the cluster write routines so this shouldn't be a problem. If EAs grow support for clustering, then VOP_REALLOCBLKS() will need to grow a flag argument to carry down IO_EXT to UFS. MFC after: 1 week PR: ports/125739 Reported by: Alexander Zagrebin Tested by: pluknet , Greg Byshenk Discussed with: kib, kientzle, timur, Alexander Bokovoy END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T22:18:04.427379Z K 7 svn:log V 96 update to 0.5.11: some useful bug fixes (check ChangeLog) Submitted by: scf MFC after: 3 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-27T22:24:09.687403Z K 7 svn:log V 22 Bump .Dd for r187782. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T22:43:32.303854Z K 7 svn:log V 121 define IEEE80211_CHAN_108A and IEEE80211_CHAN_108G in terms of their non-turbo names to make the relationship more clear END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T22:45:31.190289Z K 7 svn:log V 98 change IEEE80211_IS_CHAN_OFDM and IEEE80211_IS_CHAN_CCK to return true for 11g (dynamic CCK/OFDM) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T22:46:34.389882Z K 7 svn:log V 75 add new state bit to indicate when interference is observed on the channel END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T22:48:46.977682Z K 7 svn:log V 139 fill in ieee channel #'s and max tx power for drivers that work exclusively with frequencies; this mimics how ieee80211_setregdomain works END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T23:00:38.410277Z K 7 svn:log V 110 o make %b msg bit defines public (to user apps too) o rename IEEE80211_C_CRYPTO_BITS to IEEE80211_CRYPTO_BITS END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T23:01:14.161123Z K 7 svn:log V 37 remove %b msg bit defines now public END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T23:09:55.851003Z K 7 svn:log V 314 o add country codes from Atheros regulatory; these are not listed in the ISO tables, mark them accordingly o add sku's for handling 900MHz cards o add opaque struct defs and change []'s to *'s so this file can be included w/o requiring all of net80211 to be pulled in o make CTRY_DEBUG and CTRY_DEFAULT public END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T23:19:36.298312Z K 7 svn:log V 119 change ic_getradiocaps driver callback to include the max # channels so callers know the size of the array passed down END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T23:42:14.592391Z K 7 svn:log V 457 Remove assumptions about the max # channels in ioctl's: o change ioctl's that pass channel lists in/out to handle variable-size arrays instead of a fixed (compile-time) value; we do this in a way that maintains binary compatibility o change ifconfig so all channel list data structures are now allocated to hold MAXCHAN entries (1536); this, for example, allows the kernel to return > IEEE80211_CHAN_MAX entries for calls like IEEE80211_IOC_DEVCAPS END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T23:43:20.276509Z K 7 svn:log V 12 fix comment END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-27T23:48:13.046824Z K 7 svn:log V 197 Extend channel definition with: o max antenna gain o driver private opaque data Note this grows the size of a channel to 16 bytes; which makes the default channel table 4Kbytes (up from 3Kbytes). END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T00:15:35.688001Z K 7 svn:log V 14 fix $FreeBSD$ END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-01-28T01:11:20.858583Z K 7 svn:log V 208 Remove comment about clearerr() being the only method of clearing the EOF indicator, fseek() may also be used for this. Bump document date. PR: 76333 Submitted by: Yoshihiko Sarumaru END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-28T03:52:02.369080Z K 7 svn:log V 140 Import gdtoa sources dated 2008-12-05. Notable changes include a fix for a regression in strtod() and support for multibyte decimal points. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-28T03:52:26.480416Z K 7 svn:log V 45 Tag imported gdtoa sources dated 2008-12-05. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-28T04:36:34.096337Z K 7 svn:log V 33 Vendor import of gdtoa 20081205. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-28T04:37:27.713093Z K 7 svn:log V 39 Update the manpage to reflect r145172. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-28T05:07:16.936906Z K 7 svn:log V 101 MFC r186887: Set the error indicator on an attempt to write to a read-only stream. PR: 127335 END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-28T05:18:21.246022Z K 7 svn:log V 139 MFC r186886: Fix the types of INFINITY and NAN, which were broken in r131851. They should both be floats, not doubles. PR: 127795 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-01-28T07:46:35.759468Z K 7 svn:log V 162 Fix parsing of acregmin, acregmax, acdirmin and acdirmax NFS mount options when passed as strings via nmount(). Submitted by: Jaakko Heinonen END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-28T08:39:48.997507Z K 7 svn:log V 36 at91dci isn't useful except on arm. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-28T09:33:00.129058Z K 7 svn:log V 814 Add a new flag to dumpfs(8), -f, which causes dumpfs to list all free fragments in the file system by fragment (block) number. This new mode does the necessary arithmetic to generate absolute fragment numbers rather than than the cg-relative numbers printed in the default mode. If -f is passed once, contiguous fragment ranges are collapsed into an X-Y format as free block lists are currently printed in regular dumpfs output, but if specified twice, all block numbers are printed individually, allowing both compact and more script-friendly representation. This proves quite handy when attempting to recover deleted data, as it allows exclusion of non-deleted data from blocks searched. MFC after: 1 week Discussed with: jeff, Richard Clayton Sponsored by: Google, Inc. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-01-28T10:41:10.723503Z K 7 svn:log V 212 Remove remain <= MHLEN restriction in m_makespace(), which caused assert with big packets PR: kern/124609 Submitted by: fabien.thomas@netasq.com Approved by: gnn(mentor) Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2009-01-28T11:04:27.730958Z K 7 svn:log V 25 Fix typo in last commit. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-01-28T11:25:22.723520Z K 7 svn:log V 70 Remove another comment about clearing EOF indicator. Noticed by: bde END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-01-28T11:31:09.137472Z K 7 svn:log V 33 Bump doc date for recent change. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-28T11:43:12.979022Z K 7 svn:log V 69 Avoid the use of duplicated typedefs -- see the comment for details. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-28T12:08:19.503555Z K 7 svn:log V 185 Print disk offets as %jd rather than %lld; I fixed one before committing but missed the other, which breaks 64-bit builds. Reported by: bf MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-28T13:11:22.135670Z K 7 svn:log V 332 For some reason (probably dating ages ago) an #ifdef SYSCTL_NODE / #endif section included a lot of stuff that did not belong there. So split the block in multiple components each around the relevant stuff. This said, I wonder if building a kernel where SYSCTL_NODE is not defined is supported at all. Submitted by: Marta Carbone END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-28T13:39:01.904490Z K 7 svn:log V 128 initialize a couple of variables, gcc 4.2.4-4 (linux) reports some possible uninitialized uses and the warning does make sense. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-01-28T14:38:41.503836Z K 7 svn:log V 75 Better wording for clearing EOF indicator. Submitted by: keramida and jhb END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-01-28T15:21:38.867322Z K 7 svn:log V 67 Update the description of KERN_PROC. PR: 100242 Reviewed by: jhb END K 10 svn:author V 9 tabthorpe K 8 svn:date V 27 2009-01-28T15:22:44.747507Z K 7 svn:log V 185 - Add initial version of portindex(5) manual page PR: docs/70652 Submitted by: Paul Armstrong Reviewed by: pav keramida trhodes Approved by: keramida MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-28T15:31:16.337402Z K 7 svn:log V 281 While OpenBSD's crypto/ framework has sha1 and md5 implementations that can cope with a result buffer of NULL in the "Final" function, we cannot. Thus pass in a temporary buffer long enough for either md5 or sha1 results so that we do not panic. PR: bin/126468 MFC after: 1 week END K 10 svn:author V 9 tabthorpe K 8 svn:date V 27 2009-01-28T15:54:28.882911Z K 7 svn:log V 71 - Re-order SEE ALSO entries Noticed by: brueffer Approved by: trhodes END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-28T16:23:21.144476Z K 7 svn:log V 89 Restore necessary NUL termination of locname. Submitted by: ian dowse MFC after: 2 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-01-28T16:37:49.030061Z K 7 svn:log V 207 Adapt the zero-copy transmit mechanism to work with a new explicit API. At the moment, the API is a straw man, and not a serious or complete proposal. However, it does allow for testing the implementation. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-28T17:57:16.153827Z K 7 svn:log V 1156 Last step of splitting up minor and unit numbers: remove minor(). Inside the kernel, the minor() function was responsible for obtaining the device minor number of a character device. Because we made device numbers dynamically allocated and independent of the unit number passed to make_dev() a long time ago, it was actually a misnomer. If you really want to obtain the device number, you should use dev2udev(). We already converted all the drivers to use dev2unit() to obtain the device unit number, which is still used by a lot of drivers. I've noticed not a single driver passes NULL to dev2unit(). Even if they would, its behaviour would make little sense. This is why I've removed the NULL check. Ths commit removes minor(), minor2unit() and unit2minor() from the kernel. Because there was a naming collision with uminor(), we can rename umajor() and uminor() back to major() and minor(). This means that the makedev(3) manual page also applies to kernel space code now. I suspect umajor() and uminor() isn't used that often in external code, but to make it easier for other parties to port their code, I've increased __FreeBSD_version to 800062. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T18:00:22.775390Z K 7 svn:log V 4226 Overhaul regulatory support: o remove HAL_CHANNEL; convert the hal to use net80211 channels; this mostly involves mechanical changes to variable names and channel attribute macros o gut HAL_CHANNEL_PRIVATE as most of the contents are now redundant with the net80211 channel available o change api for ath_hal_init_channels: no more reglass id's, no more outdoor indication (was a noop), anM contents o add ath_hal_getchannels to have the hal construct a channel list without altering runtime state; this is used to retrieve the calibration list for the device in ath_getradiocaps o add ath_hal_set_channels to take a channel list and regulatory data from above and construct internal state to match (maps frequencies for 900MHz cards, setup for CTL lookups, etc) o compact the private channel table: we keep one private channel per frequency instead of one per HAL_CHANNEL; this gives a big space savings and potentially improves ani and calibration by sharing state (to be seen; didn't see anything in testing); a new config option AH_MAXCHAN controls the table size (default to 96 which was chosen to be ~3x the largest expected size) o shrink ani state and change to mirror private channel table (one entry per frequency indexed by ic_devdata) o move ani state flags to private channel state o remove country codes; use net80211 definitions instead o remove GSM regulatory support; it's no longer needed now that we pass in channel lists from above o consolidate ADHOC_NO_11A attribute with DISALLOW_ADHOC_11A o simplify initial channel list construction based on the EEPROM contents; we preserve country code support for now but may want to just fallback to a WWR sku and dispatch the discovered country code up to user space so the channel list can be constructed using the master regdomain tables o defer to net80211 for max antenna gain o eliminate sorting of internal channel table; now that we use ic_devdata as an index, table lookups are O(1) o remove internal copy of the country code; the public one is sufficient o remove AH_SUPPORT_11D conditional compilation; we always support 11d o remove ath_hal_ispublicsafetysku; not needed any more o remove ath_hal_isgsmsku; no more GSM stuff o move Conformance Test Limit (CTL) state from private channel to a lookup using per-band pointers cached in the private state block o remove regulatory class id support; was unused and belongs in net80211 o fix channel list construction to set IEEE80211_CHAN_NOADHOC, IEEE80211_CHAN_NOHOSTAP, and IEEE80211_CHAN_4MSXMIT o remove private channel flags CHANNEL_DFS and CHANNEL_4MS_LIMIT; these are now set in the constructed net80211 channel o store CHANNEL_NFCREQUIRED (Noise Floor Required) channel attribute in one of the driver-private flag bits of the net80211 channel o move 900MHz frequency mapping into the hal; the mapped frequency is stored in the private channel and used throughout the hal (no more mapping in the driver and/or net80211) o remove ath_hal_mhz2ieee; it's no longer needed as net80211 does the calculation and available in the net80211 channel o change noise floor calibration logic to work with compacted private channel table setup; this may require revisiting as we no longer can distinguish channel attributes (e.g. 11b vs 11g vs turbo) but since the data is used only to calculate status data we can live with it for now o change ah_getChipPowerLimits internal method to operate on a single channel instead of all channels in the private channel table o add ath_hal_gethwchannel to map a net80211 channel to a h/w frequency (always the same except for 900MHz channels) o add HAL_EEBADREG and HAL_EEBADCC status codes to better identify regulatory problems o remove CTRY_DEBUG and CTRY_DEFAULT enum's; these come from net80211 now o change ath_hal_getwirelessmodes to really return wireless modes supported by the hardware (was previously applying regulatory constraints) o return channel interference status with IEEE80211_CHANSTATE_CWINT (should change to a callback so hal api's can take const pointers) o remove some #define's no longer needed with the inclusion of Sponsored by: Carlson Wireless END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-28T18:10:57.574784Z K 7 svn:log V 132 Assert an exclusive vnode lock for fifo_cleanup() and fifo_close() since they change v_fifoinfo. Discussed with: ups (a while ago) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-28T18:14:24.002151Z K 7 svn:log V 109 Actually remove the VA_MARK_ATIME flag. This should have been in the earlier commit to add VOP_MARKATIME(). END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T18:37:46.772136Z K 7 svn:log V 202 change null_getradiocaps to return the actual count of channels instead of the true number; otherwise the caller may use the count to do things with the data it should not (e.g. sort the channel table) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T18:39:23.631882Z K 7 svn:log V 209 add an assert to verify the number of channels returned by ic_getradiocaps correlates with the size of the channel array passed down might want to promote this to be always present to catch for driver errors END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-28T18:46:29.067411Z K 7 svn:log V 99 Sync with ufs_vnops.c:1.245 and remove support for accessing device nodes in ISO 9660 filesystems. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-28T18:51:11.276588Z K 7 svn:log V 19 MFH r187303-187835 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-28T18:54:56.945474Z K 7 svn:log V 1143 Mark cd9660 MPSAFE and add support for using shared vnode locks during pathname lookups. - Remove 'i_offset' and 'i_ino' from the ISO node structure and replace them with local variables in the lookup routine instead. - Cache a copy of 'i_diroff' for use during a lookup in a local variable. - Save a copy of the found directory entry in a malloc'd buffer after a successfull lookup before getting the vnode. This allows us to release the buffer holding the directory block before calling vget() which otherwise resulted in a LOR between "bufwait" and the vnode lock. - Use an inlined version of vn_vget_ino() to handle races with .. lookups. I had to inline the code here since cd9660 uses an internal vget routine to save a disk I/O that would otherwise re-read the directory block. - Honor the requested locking flags during lookups to allow for shared locking. - Honor the requested locking flags passed to VFS_ROOT() and VFS_VGET() similar to UFS. - Don't make every ISO 9660 vnode hold a reference on the vnode of the underlying device vnode of the mountpoint. The mountpoint already holds a suitable reference. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-28T19:05:18.336610Z K 7 svn:log V 346 Convert the global mutex protecting the directory lookup name cache from a mutex to a reader/writer lock. Lookup operations first grab a read lock and perform the lookup. If the operation results in a need to modify the cache, then it tries to do an upgrade. If that fails, it drops the read lock, obtains a write lock, and redoes the lookup. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-28T19:09:49.597642Z K 7 svn:log V 214 Use the correct field name for the size of the sierra_id. While this is the same size as id, and is unlikely to change, it seems better to use the correct field here. There's no difference in the generated code. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:15:52.919749Z K 7 svn:log V 651 Fix 1/2 and 1/4 width channel handling: o only include 1/2 and 1/4 width channels when they are specified in the regulatory database description; previously we treated them as if they were part of the band and blindly added them for 11a/g o check the channel list returned in the devcaps to identify whether a device supports 1/2 or 1/4 width channels on a band; this might be better brought out as a capability bit to avoid filling the channel list w/ 1/2 and 1/4 width channels but then cards that only support these channels in a range of frequencies could not be described (though right now we don't check frequency range only band) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:18:58.446783Z K 7 svn:log V 146 improve debug msgs for regdomain operations; print channel flags symbolically so it's easier to identify channels and why they are added (or not) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:20:12.587692Z K 7 svn:log V 47 simplify display of 1/2 and 1/4 width channels END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:23:12.235666Z K 7 svn:log V 234 pritize the channel we display with list chans so that, among other things, 1/2 and 1/4 width channels are hidden behind the full width channel; this is needed because they are ordered such that they appear after in the channel table END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:24:29.116567Z K 7 svn:log V 209 include the channel list in list caps when -v is set; ieee channel #'s are not available and we have to hack around the mapchan routine but it lets us see the calibration table w/o forcing the debug regdomain END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:25:51.555007Z K 7 svn:log V 216 Remove gsm hacks now that we can do this "right": o no need for special country codes; it's sufficient to use the sku o no need to specify bands w/ 2.4G frequencies, use the real values o remove duplicate band specs END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-28T19:32:19.721716Z K 7 svn:log V 115 For some reason subversion hasnt properly merged OpenBSM alpha 5 in r187214 from head, just disable audit locally. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:34:40.323808Z K 7 svn:log V 76 merge r187510: correct typo that left programmed sifs time in the slot time END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:35:26.512227Z K 7 svn:log V 58 merge r187608: don't run the calibration code if scanning END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:36:09.453677Z K 7 svn:log V 57 merge r187611: fix return status handling by ar5XXXReset END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:36:46.576907Z K 7 svn:log V 51 merge r187634: add defines for driver-private bits END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:37:25.812038Z K 7 svn:log V 67 merge r187635: fix regulatory state check for all vaps' being down END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:38:09.623936Z K 7 svn:log V 100 merge r187793: define IEEE80211_CHAN_108A and IEEE80211_CHAN_108G in terms of their non-turbo names END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:38:53.885787Z K 7 svn:log V 113 merge r187794: change IEEE80211_IS_CHAN_OFDM and IEEE80211_IS_CHAN_CCK to return true for 11g (dynamic CCK/OFDM) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:39:43.075890Z K 7 svn:log V 57 merge r187796: fill in ieee channel #'s and max tx power END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:40:22.129619Z K 7 svn:log V 46 merge r187797: make %b msg bit defines public END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:41:18.522939Z K 7 svn:log V 66 merge r187799: add country codes, sku's, opaque struct defs, etc. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:42:02.316823Z K 7 svn:log V 53 merge r187800: hange ic_getradiocaps driver callback END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:42:37.494323Z K 7 svn:log V 27 merge r187802: fix comment END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:43:15.614035Z K 7 svn:log V 41 merge r187802: extend channel definition END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:44:09.431922Z K 7 svn:log V 37 merge r187834: fix null_getradiocaps END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T19:44:44.560337Z K 7 svn:log V 26 merge r187835: add assert END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-28T19:55:33.563890Z K 7 svn:log V 240 Welcome James Gritton (jamie@) as src committer with bz and brooks as co-mentors. Jamie has the new enhanced management interface for jails and vimage in perforce already and will now be able to bring it to src/ himself. Approved by: core END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-28T19:58:05.754653Z K 7 svn:log V 787 Mark most often used sysctl's as MPSAFE. After running a `make buildkernel', I noticed most of the Giant locks in sysctl are only caused by a very small amount of sysctl's: - sysctl.name2oid. This one is locked by SYSCTL_LOCK, just like sysctl.oidfmt. - kern.ident, kern.osrelease, kern.version, etc. These are just constant strings. - kern.arandom, used by the stack protector. It is already protected by arc4_mtx. I also saw the following sysctl's show up. Not as often as the ones above, but still quite often: - security.jail.jailed. Also mark security.jail.list as MPSAFE. They don't need locking or already use allprison_lock. - kern.devname, used by devname(3), ttyname(3), etc. This seems to reduce Giant locking inside sysctl by ~75% in my primitive test setup. END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-01-28T20:04:39.230200Z K 7 svn:log V 94 Make ng_ubt2 (aka usb2_bluetooth_ng) driver only attach as "generic" driver Reviewed by: HPS END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-01-28T20:06:02.317084Z K 7 svn:log V 66 Update ubtbcmfw2 (aka usb2_bluetooth_fw) driver Reviewed by: HPS END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-28T20:35:16.742347Z K 7 svn:log V 292 Use a different value for the initial control word for the FPU state for 32-bit processes. The value matches the initial setting used by FreeBSD/i386. Otherwise, 32-bit binaries using floating point would use a slightly different initial state when run on FreeBSD/amd64. MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T21:19:59.402015Z K 7 svn:log V 57 merge r187796: fill in ieee channel #'s and max tx power END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T21:23:40.593734Z K 7 svn:log V 103 merge r187801: remove assumptions about the max # channels in ioctl's merge r187060: add missing break END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T21:34:07.478666Z K 7 svn:log V 63 hand merge r179640; must've been botched in a previous attempt END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T21:42:17.391042Z K 7 svn:log V 34 merge r187678: defer updown event END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T21:52:45.825320Z K 7 svn:log V 30 sync 802.11 changes with head END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T21:54:20.605377Z K 7 svn:log V 43 merge r187831: overhaul regulatory support END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-28T21:57:39.147377Z K 7 svn:log V 32 merge r187846: remove gsm hacks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-28T22:09:00.984714Z K 7 svn:log V 95 Improve mmc driver verbose logging. Make requests logging controllable by hw.mmc.debug sysctl. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-28T22:53:41.797928Z K 7 svn:log V 50 Add hw.sdhci.debug sysctl to control debug level. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-28T23:18:21.655581Z K 7 svn:log V 26 Add one more debug level. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-29T05:59:42.897574Z K 7 svn:log V 175 Make adb_mouse use dev2unit() instead of minor(). A real fix would be to migrate it to si_drv0 to store the softc directly, but this is the quickest way to fix it right now. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-29T06:43:29.274433Z K 7 svn:log V 113 Backout change 187782. It inhibits ntpd from starting at all when ntpd_sync_on_start is set. Noticed by: rafan END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-01-29T09:22:56.317802Z K 7 svn:log V 242 - Allocate apic vectors on a per-cpu basis. This allows us to allocate more irqs as we have more cpus. This is principally useful on systems with msi devices which may want many irqs per-cpu. Discussed with: jhb Sponsored by: Nokia END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-29T09:32:56.776922Z K 7 svn:log V 198 If a process is a zombie and we couldn't identify another useful state, print out the state as "zombine" in preference to "unknown" when ^T is pressed. MFC after: 3 days Sponsored by: Google, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T10:33:32.516905Z K 7 svn:log V 181 MFC r186601: Clear the pointers to the file in the struct filedesc before file is closed in fdfree. Otherwise, sysctl_kern_proc_filedesc may dereference stale struct file * values. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T10:40:47.765868Z K 7 svn:log V 379 MFC r186896: 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. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-01-29T10:46:50.605014Z K 7 svn:log V 183 MFC of tzdata2009a - Asia/Katmandu -> Asia/Kathmandu - Fix historical references to DST in Switzerland - Correct rules for America/Resolute (Nunavut) - Cuba didn't have DST in 2005. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-01-29T10:47:01.171783Z K 7 svn:log V 183 MFC of tzdata2009a - Asia/Katmandu -> Asia/Kathmandu - Fix historical references to DST in Switzerland - Correct rules for America/Resolute (Nunavut) - Cuba didn't have DST in 2005. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T10:49:21.845149Z K 7 svn:log V 66 MFC r186898: Lock the uepm_lock around the autostart of extattrs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T11:03:57.123138Z K 7 svn:log V 514 MFC r186560: After the pfs_vncache_mutex is dropped, another thread may attempt to do pfs_vncache_alloc() for the same pfs_node and pid. In this case, we could end up with two vnodes for the pair. Recheck the cache under the locked pfs_vncache_mutex after all sleeping operations are done. Do not call free() on the struct pfs_vdata after insmntque() failure, because vp->v_data points to the structure, and pseudofs_reclaim() frees it by the call to pfs_vncache_free(). MFC r186981 (by marcus): vput the vnode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T11:08:56.255229Z K 7 svn:log V 75 MFC r186561: Drop the pseudofs vnode lock around call to pfs_read handler. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T11:13:03.224681Z K 7 svn:log V 276 MFC r186563: vm_map_lock_read() does not increment map->timestamp, so we should compare map->timestamp with saved timestamp after map read lock is reacquired, not with saved timestamp + 1. The only consequence of the +1 was unconditional lookup of the next map entry, though. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T11:17:11.232433Z K 7 svn:log V 346 MFC r186565: When the insmntque() in the pfs_vncache_alloc() fails, vop_reclaim calls pfs_vncache_free() that removes pvd from the list, while it is not yet put on the list. Prevent the invalid removal from the list by clearing pvd_next and pvd_prev for the newly allocated pvd, and only move pfs_vncache list head when the pvd was at the head. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T11:21:15.490303Z K 7 svn:log V 242 MFC r183067: The struct inode *ip supplied to softdep_freefile is not neccessary the inode having number ino. In r170991, the ip was marked IN_MODIFIED, that is not quite correct. Mark only the right inode modified by checking inode number. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-29T11:38:28.475163Z K 7 svn:log V 54 MFC r183071: Garbage-collect vn_write_suspend_wait(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-29T16:18:49.923936Z K 7 svn:log V 127 Use si_drv1 to hold the softc for the adb_mouse character device instead of using devclass_get_softc(). Tested by: nwhitehorn END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-29T16:47:15.153706Z K 7 svn:log V 198 Make sure the cdev doesn't go away while the filesystem is still mounted. Otherwise dev2udev() could return garbage. Reviewed by: kib Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-01-29T16:51:09.388062Z K 7 svn:log V 574 Define NULL to be __null in a case of gnu c++. This makes sentinel attribute work ok in C++. Note that we enable this only for gcc 4.x for any value of x. The __null was introduced in gcc 4.1 (in fact it was commited 12 days after release of gcc 4.0) and as we have never released any version of FreeBSD with gcc 4.0 nor ports support gcc 4.0.x this is a safe check. Using __GNUC_PREREQ__ would require us to include cdefs.h in params.h so we just check __GNUC__. Approved by: kib (mentor) Tested by: exp build of ports (done by pav) Tested by: make universe (done by me) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-29T18:33:46.160054Z K 7 svn:log V 68 Merge all the changes in HEAD prior to the generic tracing changes. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:09:12.758678Z K 7 svn:log V 45 setup default rate set for static turbo mode END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:11:18.331173Z K 7 svn:log V 37 set ni_txparms for static turbo mode END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:12:06.644251Z K 7 svn:log V 81 setup default fixed rates for static turbo and 11n; the 11n rates are pure guess END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:18:43.039406Z K 7 svn:log V 32 enable tdma and diagapi support END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:19:47.047646Z K 7 svn:log V 60 merge r187897: setup default rate set for static turbo mode END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:21:38.381868Z K 7 svn:log V 52 merge r187898: set ni_txparms for static turbo mode END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:22:32.668196Z K 7 svn:log V 66 merge r187899: setup default fixed rates for static turbo and 11n END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:24:21.889115Z K 7 svn:log V 23 update for hal changes END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:29:07.678254Z K 7 svn:log V 18 track hal changes END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-29T23:30:17.268383Z K 7 svn:log V 33 merge r187905: track hal changes END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-01-30T00:22:08.002479Z K 7 svn:log V 403 For files not named on the command line, only the basename is compared to the exclude pattern. Change this so that "grep --exclude='*/.svn/*' -[Rr] foo *" DWIM. Obtained from: dave+news001@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Dave Gibson) Obtained from: comp.unix.questions [Thu, 15 Mar 2007 18:54:38 +0000] Obtained from: http://unix.derkeiler.com/Newsgroups/comp.unix.questions/2007-03/msg00046.html END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-01-30T02:39:08.515770Z K 7 svn:log V 211 Initial import from my dev repo of a clean room kernel module implementation of the CUBIC congestion control algorithm. Needs some further testing and debug/style cleanup, but is functional in its current form. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-30T03:41:45.163425Z K 7 svn:log V 207 Spawn one fewer shells on startup. We don't use dhcp_interfaces at all in this function, and grep shows no other instances of it (besides, this is a function, and in a sub-shell, so all changes are local). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-01-30T05:49:27.213743Z K 7 svn:log V 93 Accept integer times. Previously, the field "time=1233294539" would be rejected as invalid. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-30T07:01:32.708031Z K 7 svn:log V 49 Increment total_bounced busdma stat as required. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-01-30T07:14:20.391680Z K 7 svn:log V 70 Remove bogus mergeinfo and record something more useful in its place. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-01-30T09:42:25.920215Z K 7 svn:log V 100 o Fix typo: indentical -> identical. PR: docs/131149 Submitted by: Patrick Oonk MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2009-01-30T13:54:03.047092Z K 7 svn:log V 4 WIP END K 10 svn:author V 3 des K 8 svn:date V 27 2009-01-30T14:28:50.668942Z K 7 svn:log V 171 Make sure the entries don't run into each other when they're longer than the allotted space. PR: bin/129318 Submitted by: Ighighi MFC after: 3 weeks END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-01-30T15:14:58.722276Z K 7 svn:log V 354 - Rename adding_user(8) to adding_user(7). There's no adding_user utility, but the man page describes conceptual information about the process of adding a user, thus it should belong to section 7. - Remove HISTORY and BUGS sections because of the aforementioned reason. PR: docs/130151 Submitted by: Marian Cerny MFC after: 3 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-01-30T15:27:04.418356Z K 7 svn:log V 96 - Remove superfluous comment PR: docs/129400 Submitted by: Gavin Atkinson END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-01-30T15:28:35.121984Z K 7 svn:log V 109 - Remove superfluous comment PR: docs/129400 Submitted by: Gavin Atkinson END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-01-30T15:28:56.120896Z K 7 svn:log V 109 - Remove superfluous comment PR: docs/129400 Submitted by: Gavin Atkinson END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-01-30T15:43:55.218575Z K 7 svn:log V 123 - Remove non-existing reference - Fix trailing comma PR: docs/85118 Submitted by: vs MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-30T16:12:32.853009Z K 7 svn:log V 218 Unbreak make -s. There's about a 10% performance improvement with -s in many environments. The recent --- blah --- reintroduction has killed. That output makes almost no sense when all the other output is silenced. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-30T16:23:57.375413Z K 7 svn:log V 21 Bump .Dd for r187609 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-30T16:28:32.202845Z K 7 svn:log V 434 MFC 187922,187609 from /head Add an example of using bs=2048 to duplicate data CD-ROMs. This should be a bit useful for users who look at the manpage and then try to copy data CD-ROM disks using dd. A lot of us know that bs=2048 is required, but it still manages to cause a bit of grief to those who haven't heard about it. PR: bin/130857 Submitted by: Tri Brotoharsono < mail at tribrotoharsono.net > END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-30T16:32:26.337526Z K 7 svn:log V 434 MFC 187922,187609 from /head Add an example of using bs=2048 to duplicate data CD-ROMs. This should be a bit useful for users who look at the manpage and then try to copy data CD-ROM disks using dd. A lot of us know that bs=2048 is required, but it still manages to cause a bit of grief to those who haven't heard about it. PR: bin/130857 Submitted by: Tri Brotoharsono < mail at tribrotoharsono.net > END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-30T17:26:15.641462Z K 7 svn:log V 415 MFC 175288 and 180208 from /head : r175288 | keramida | 2008-01-13 10:33:20 +0200 (Sun, 13 Jan 2008) | 4 lines : : Add a new set of regression tests, for the tr(1) utility. : : Approved by: das, dds : r180208 | peter | 2008-07-03 06:50:17 +0300 (Thu, 03 Jul 2008) | 3 lines : : Set magic fbsd:nokeywords property that allows files to bypass : keyword expansion. (file-specific replacement for CVSROOT/exclude) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-30T17:29:26.438085Z K 7 svn:log V 415 MFC 175288 and 180208 from /head : r175288 | keramida | 2008-01-13 10:33:20 +0200 (Sun, 13 Jan 2008) | 4 lines : : Add a new set of regression tests, for the tr(1) utility. : : Approved by: das, dds : r180208 | peter | 2008-07-03 06:50:17 +0300 (Thu, 03 Jul 2008) | 3 lines : : Set magic fbsd:nokeywords property that allows files to bypass : keyword expansion. (file-specific replacement for CVSROOT/exclude) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-30T17:44:10.474970Z K 7 svn:log V 37 checkpoint work; still nowhere close END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-30T18:04:53.035598Z K 7 svn:log V 13 bump for mfc END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-30T18:06:22.715746Z K 7 svn:log V 16 merge from head END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-30T18:07:59.788086Z K 7 svn:log V 16 remove my limit END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-01-30T18:33:05.750497Z K 7 svn:log V 206 Add the '-C' "check clean" flag. If the FS is marked clean, skip file system checking. However, if the file system is not clean, perform a full fsck. Reviewed by: delphij Obtained from: Juniper Networks END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-30T18:34:03.173608Z K 7 svn:log V 28 setup to add new ioctl cmds END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-30T18:34:19.138287Z K 7 svn:log V 30 add shell bus shim for xscale END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-30T18:34:54.943219Z K 7 svn:log V 87 o remove crypto stuff for now, doesn't build o add cfi so I can start on flash support END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-30T19:33:04.768193Z K 7 svn:log V 1126 Sometimes, depending on the bpf filter rules used in $PATTERN, the example script of the manpage feeds awk(1) with values larger than UINT32_MAX. Then awk prints a negative value, and this messes up $BPFPROG. Trying to load the resulting bpf byte codes with ngctl then fails. For example, the output for PATTERN="udp and dst net 255.255.0.0/16" should be (all in one line): bpf_prog_len=10 bpf_prog=[ { code=40 jt=0 jf=0 k=12 } { code=21 jt=7 jf=0 k=34525 } { code=21 jt=0 jf=6 k=2048 } { code=48 jt=0 jf=0 k=23 } { code=21 jt=0 jf=4 k=17 } { code=32 jt=0 jf=0 k=30 } { code=84 jt=0 jf=0 k=4294901760 } { code=21 jt=0 jf=1 k=4294901760 } { code=6 jt=0 jf=0 k=8192 } { code=6 jt=0 jf=0 k=0 } ] The two k=4294901760 values are displayed as k=-2147483648 by awk. Replace the awk script of the manpage example with a slower but safer version, that doesn't really attempt to convert the byte code printed by tcpdump from string to number and back. PR: docs/123255 Submitted by: Eugenio Maffione, eugenio.maffione at telecomitalia.it MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-30T20:17:08.506563Z K 7 svn:log V 68 Use NULL rather than 0 when comparing pointers. MFC after: 2 weeks END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-01-30T22:00:31.965121Z K 7 svn:log V 36 Committo ergo sum. Approved by: bz END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-01-30T22:23:21.675588Z K 7 svn:log V 221 Add btpand(8) daemon from NetBSD. This daemon provides support for Bluetooth Network Access Point (NAP), Group Ad-hoc Network (GN) and Personal Area Network User (PANU) profiles. Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-30T23:40:24.015516Z K 7 svn:log V 208 Remove 4 entirely unsued ip6 variables. Leave then in struct vinet6 to not break the ABI with kernel modules but mark them for removal so we can do it in one batch when the time is right. MFC after: 1 month END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-01-31T05:17:28.120309Z K 7 svn:log V 355 Write timestamps with exactly 9 digits after the period. This ensures that the value written is both compatible with older mtree versions (which expect the value after the period to be an integer count of nanoseconds after the whole second) and is a correct floating-point value. Leave the parsing code unchanged so it will continue to read older files. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-01-31T05:22:11.865489Z K 7 svn:log V 167 MFC r186919: 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 7 weongyo K 8 svn:date V 27 2009-01-31T05:25:14.135434Z K 7 svn:log V 146 MFC r186919: fix a typo to set the 48Mbps data rate. PR: kern/130189 Submitted by: Paul B. Mahol Reviewed by: sam END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-01-31T07:03:36.355191Z K 7 svn:log V 29 Run with -B and just .POSIX. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-31T08:24:09.002853Z K 7 svn:log V 39 Fix bug in hint.hdac.X.config parsing. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-01-31T10:04:36.289710Z K 7 svn:log V 25 Fix a typo in a comment. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T10:48:02.222647Z K 7 svn:log V 457 Like with r185713 make sure to not leak a lock as rtalloc1(9) returns a locked route. Thus we have to use RTFREE_LOCKED(9) to get it unlocked and rtfree(9)d rather than just rtfree(9)d. Since the PR was filed, new places with the same problem were added with new code. Also check that the rt is valid before freeing it either way there. PR: kern/129793 Submitted by: Dheeraj Reddy MFC after: 2 weeks Committed from: Bugathon #6 END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T11:19:20.387921Z K 7 svn:log V 94 Remove dead code from #if 0: we do not have an ipsrcchk_rt anywhere else. MFC after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-01-31T11:37:21.058069Z K 7 svn:log V 164 Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions for moving between a segment register and a 32-bit memory location. Looked at by: jhb END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T12:24:53.283698Z K 7 svn:log V 195 Coalesce two consecutive #ifdef IPSEC blocks. Move the skip_ipsec: label below the goto as we can never have ipsecrt set if we get to that label so there is no need to check. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-31T12:26:06.436904Z K 7 svn:log V 172 MFC rev. 187368 Convert battery capacity/rate from mA to mW only when summary is requested. Unconditional conversion causes incorrect rate units reported by acpiconf. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-31T12:29:12.946095Z K 7 svn:log V 185 MFC 166076 from /head : bms | 2007-01-18 00:23:28 +0200 : : Document the loader tunables which control hard process memory limits. : : Reviewed by: ru : PR: docs/118545 END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-31T12:32:18.378201Z K 7 svn:log V 87 MFC rev. 187409 Teach m_copyback() to use trailing space of the last mbuf in chain. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-31T12:41:44.088395Z K 7 svn:log V 229 MFC rev. 187405 Use m_unshare()+m_copyback() instead of m_freem()+m_devget() to keep original mbuf chain headers. It can be less efficient in some cases, but it looks better then mess of copying headers into the nonempty chain. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-31T12:44:20.011300Z K 7 svn:log V 122 MFC rev. 187410 If source mbuf chain consists of only one mbuf, use it directly as source buffer to avoid extra copying. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-31T12:48:09.235496Z K 7 svn:log V 203 MFC rev. 187495 Check for infinite recursion possible on some broken PPTP/L2TP/... VPN setups. Mark packets with mbuf_tag on first interface passage and drop on second. PR: ports/129625, ports/125303 END