ƒ°a226000 190 129 133 130 132 133 127 129 130 128 131 277 128 700 219 129 167 201 238 346 146 461 307 240 347 293 240 329 431 290 119 160 128 127 120 166 653 185 162 162 421 354 191 244 540 448 426 139 174 141 128 126 140 297 138 381 120 128 1170 215 214 498 251 228 142 136 308 150 5333 170 156 159 157 167 166 148 149 112 297 124 145 215 1150 299 373 210 207 640 164 312 171 197 427 630 149 132 167 135 148 471 489 211 147 187 197 225 549 136 391 142 149 99 154 134 777 397 365 212 266 288 132 359 137 221 564 364 651 398 132 135 122 318 333 293 319 334 446 412 400 153 153 159 229 122 218 117 559 243 110 180 205 104 105 131 359 890 489 288 437 222 158 349 397 308 336 143 224 161 186 284 191 223 111 208 118 144 214 158 163 151 1061 97 284 176 246 235 264 353 187 165 165 K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:01:45.211365Z K 7 svn:log V 37 Add g_notify_*() calls to geom_label END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:01:58.308177Z K 7 svn:log V 41 Add g_notify_*() calls to geom_linux_lvm END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:02:10.717816Z K 7 svn:log V 38 Add g_notify_*() calls to geom_mirror END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:02:23.528423Z K 7 svn:log V 40 Add g_notify_*() calls to geom_mountver END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:02:35.664576Z K 7 svn:log V 41 Add g_notify_*() calls to geom_multipath END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:02:49.205053Z K 7 svn:log V 35 Add g_notify_*() calls to geom_nop END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:03:01.581878Z K 7 svn:log V 37 Add g_notify_*() calls to geom_shsec END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:03:14.921133Z K 7 svn:log V 38 Add g_notify_*() calls to geom_stripe END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:03:27.457928Z K 7 svn:log V 36 Add g_notify_*() calls to geom_uzip END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:03:39.940305Z K 7 svn:log V 39 Add g_notify_*() calls to geom_virstor END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:07:56.895792Z K 7 svn:log V 184 Add geom_notify_*() calls to geom_raid3. This is more than a trivial change. Replace calls with DISCONNECTED disk state with calls REMOVED disk state to all manual operations. END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:08:24.469027Z K 7 svn:log V 36 Add g_notify_*() calls to geom_part END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:09:10.306354Z K 7 svn:log V 607 Add geom_notify_*() calls to geom_raid. It is not a trivial change. To determine state of volume(s) after disk disconnection, new method to raid transformation object interface (g_raid_tr) was added: METHOD int getvolstatus { struct g_raid_tr_object *tr; struct g_raid_volume *volume; }; This method should return state (G_RAID_VOLUME_S_XXX) of the given voulme. Also, some trnasformation modules have status detection code factored out from g_raid_tr_update_state_NAME code. And some hasn't, as they perform active actions in this method and getvolstatus() method should be passive one. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-10-04T17:11:38.728552Z K 7 svn:log V 123 Match the files directive and all the ways to add or subtract options and makeoptions by being a little smarter about REs. END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:14:59.995895Z K 7 svn:log V 37 Merge head into projects/geom-events END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-04T17:26:40.925561Z K 7 svn:log V 75 MFH r225810 r225812: make passive mode the default. Approved by: re (kib) END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-04T17:27:10.518531Z K 7 svn:log V 108 MFH r225815: document that passive mode is the default MFH r225982: convert to UTF-8 Approved by: re (kib) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-04T17:32:01.358737Z K 7 svn:log V 142 Don't bother updating the txq active bitmap every call to ath_intr(), just do it when HAL_INT_TX is set. This should have the same behaviour. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-10-04T17:49:19.252415Z K 7 svn:log V 250 Partially revert r224661: octeon_ap_boot is not a bitmask. It holds the CPU Id of the AP currently being started. As such there's no need to make it a 64-bit integral and we're not limited to 64 CPUs. Reported by: jmallet Obtained from: Andre Duane END K 10 svn:author V 3 lev K 8 svn:date V 27 2011-10-04T17:50:22.045810Z K 7 svn:log V 54 Use proper memory allocation flags for GEOM fast path END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-10-04T18:03:55.030778Z K 7 svn:log V 365 o Clean up some ID printfs, and put under bootverbose o Remove redundant lookups of base address in cf_identify o Fix some indenting issues o Fix an identification bug that uses DRQ to checlk for ident block returned. The correct spec is to look for BSY to be cleared. Reviewed by: imp, marcel Obtained from: Juniper Networks, Inc Author: Andrew Duane END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-10-04T18:06:08.077609Z K 7 svn:log V 211 Remove bogus and wrong definition of BLKDEV_IOSIZE. Wrong in that it must be guarded (it's configurable) and bogus in that there's absolutely no rationale for it not default to a page size like all other archs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-04T18:45:29.483204Z K 7 svn:log V 147 Move parts of the commit log for r166167, where Tor explained the interaction between vnode locks and vfs_busy(), into comment. MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-10-04T19:07:38.953614Z K 7 svn:log V 249 Fix a bug in UNIX socket handling in the linux emulator which was exposed by the security fix in FreeBSD-SA-11:05.unix. Approved by: so (cperciva) Approved by: re (kib) Security: Related to FreeBSD-SA-11:05.unix, but not actually a security fix. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-10-04T20:17:43.692727Z K 7 svn:log V 197 Remove octeon_bootinfo from all files except octeon_machdep.c. Use instead cvmx_sysinfo_get() consistently. Reviewed by: jmallett, marcel Obtained from: Juniper Networks, Inc Author: Andrew Duane END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-10-04T20:30:15.492382Z K 7 svn:log V 144 Add default address for FLASH mapping on the boot bus. Reviewed by: jmallett, marcel Obtained from: Juniper Networks, Inc Author: Andrew Duane END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-10-04T21:40:25.023588Z K 7 svn:log V 232 Add the 9750 SATA+SAS 6Gb/s RAID controller card driver, tws(4). Many thanks for their contiued support to FreeBSD. This is version 10.80.00.003 from codeset 10.2.1 [1] Obtained from: LSI http://kb.lsi.com/Download16574.aspx [1] END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-10-04T22:23:00.846856Z K 7 svn:log V 335 Work around the autotools problem with the 10.0 version. With this, I can build various ports on a 10.0-CURRENT system without hacking or hiding the version number. This commit should be reverted when there is a cleaner fix in autotools and/or ports/Mk/bsd.port.mk. The original patch is from Ed Schouten but needed some additions. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-10-04T22:28:06.914913Z K 7 svn:log V 194 portsnap: Detect error immediately if we can't fetch the snapshot metadata. Also add some quotes around command substitution where useful and possible. Reviewed by: cperciva MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-04T23:53:47.362600Z K 7 svn:log V 26 Add strnlen() to libkern. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-05T07:15:55.869680Z K 7 svn:log V 67 - Disable sizelimit for myself to import the new heimdal revision. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-05T07:23:29.987751Z K 7 svn:log V 35 - Import Heimdal 1.5 distribution. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-05T07:24:39.945880Z K 7 svn:log V 34 - Heimdal 1.5 import is complete. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-05T07:28:23.646530Z K 7 svn:log V 27 - Add tag for Heimdal 1.5. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-10-05T08:33:50.815054Z K 7 svn:log V 70 Add missing newbus glue, this has never attached properly to gpiobus. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-05T09:56:43.492508Z K 7 svn:log V 558 Update BSD grep to the latest development version. It has some code backported that was written for the TRE integration project in Google Summer of Code 2011. This is a temporary solution until the whole regex library is not replaced so that BSD grep development can continue and the backported code gets some review and testing. This change only improves scalability slightly, there is no big performance boost yet but several minor bugs have been found and fixed. Approved by: delphij (mentor) Sposored by: Google Summer of Code 2011 MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-05T15:50:05.433366Z K 7 svn:log V 92 MFC: r226035 Avoid accidental conflicts with C++ operator keywords. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-05T15:52:04.001596Z K 7 svn:log V 69 MFC: r225801 Avoid accidental conflicts with C++ operator keywords. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-05T15:52:40.080502Z K 7 svn:log V 69 MFC: r225801 Avoid accidental conflicts with C++ operator keywords. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-10-05T16:03:47.372120Z K 7 svn:log V 328 Ignore SRAT memory entries if the memory range does not overlap with an existing phys_avail[] table. If a hw.physmem setting causes a memory domain to not be present in phys_avail[], the SRAT table will now be ignored rather than triggering a panic when a CPU in the missing domain tries to allocate a page. MFC after: 1 week END K 10 svn:author V 6 qingli K 8 svn:date V 27 2011-10-05T16:27:11.334782Z K 7 svn:log V 258 The IFA_RTSELF instead of the IFA_ROUTE flag should be checked to determine if a loopback route should be installed for an interface IPv6 address. Another condition is the address must not belong to a looopback interface. Reviewed by: hrs MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-05T16:50:15.166958Z K 7 svn:log V 99 Export devfs inode number allocator for the kernel consumers. Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-05T16:56:06.549190Z K 7 svn:log V 151 Supply unique (st_dev, st_ino) value pair for the fstat(2) done on the pipes. Reviewed by: jhb, Peter Jeremy MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-10-05T17:29:49.676835Z K 7 svn:log V 445 Remove assertion against empty NFSv4 ACLs. An empty ACL is not exactly valid - we don't allow for setting it on a file, for example - but it's not something we should assert on. For STABLE kernel, it changes nothing, because it's not compiled with INVARIANTS. If it was, it would fix crashes. It also fixes an assert in libc encountered with NFSv4 without nfsuserd(8) running. Submitted by: Yuri Pankov (earlier version) MFC after: 1 month END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-10-05T19:57:59.917675Z K 7 svn:log V 356 MFC r225828: Remove assertion that prevents zfs rename of datasets with mountpoint=none or mountpoint=legacy that have children datasets. This also fixes dataset rename when receiving incremental snapshots as reported on freebsd-fs@ This assertion was made triggerable by opensolaris change #10196. PR: bin/160400 Reviewed by: pjd Approved by: re (kib) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-10-05T20:00:50.217664Z K 7 svn:log V 334 MFC r225828: Remove assertion that prevents zfs rename of datasets with mountpoint=none or mountpoint=legacy that have children datasets. This also fixes dataset rename when receiving incremental snapshots as reported on freebsd-fs@ This assertion was made triggerable by opensolaris change #10196. PR: bin/160400 Reviewed by: pjd END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-05T22:08:17.501682Z K 7 svn:log V 47 Upgrade to OpenSSH 5.9p1. MFC after: 3 months END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-10-06T04:39:18.118202Z K 7 svn:log V 78 Fix build on i386 and arm. Tested with: make universe Pointy hat to: delphij END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-10-06T06:01:12.598102Z K 7 svn:log V 46 Virgin import of Christos Zoulas's FILE 5.09. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-06T06:56:53.376683Z K 7 svn:log V 35 - Flatten the com_err vendor tree. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-06T06:58:53.659130Z K 7 svn:log V 33 - Disable SVN keyword expansion. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-06T07:07:09.833491Z K 7 svn:log V 47 - Bootstrap merge history for contrib/com_err. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-06T07:54:28.270961Z K 7 svn:log V 203 - Import com_err from heimdal 1.5.1 distribution. I used sources from GIT as we don't need autogenerated files, and for some reason the actual distribution tarball is missing the com_err.3 manpage. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-06T07:56:18.303157Z K 7 svn:log V 45 - Add tag for Heimdal com_err 1.5.1 version. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-06T11:01:31.400080Z K 7 svn:log V 285 - Use atomic operations rather than sched_lock for safely assigning pm_active and pc_pmap for SMP. This is key to allowing adding support for SCHED_ULE. Thanks go to Peter Jeremy for additional testing. - Add support for SCHED_ULE to cpu_switch(). Committed from: 201110DevSummit END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-06T11:17:54.936007Z K 7 svn:log V 26 - Eliminate erroneous .El END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-06T11:20:21.522852Z K 7 svn:log V 34 - Clean up and update manual page END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-06T11:48:13.590352Z K 7 svn:log V 1073 - Currently, sched_balance_pair() may cause a CPU to send an IPI_PREEMPT to itself, which sparc64 hardware doesn't support. One way to solve this would be to directly call sched_preempt() instead of issuing a self-IPI. However, quoting jhb@: "On the other hand, you can probably just skip the IPI entirely if we are going to send it to the current CPU. Presumably, once this routine finishes, the current CPU will exit softlock (or will do so "soon") and will then pick the next thread to run based on the adjustments made in this routine, so there's no need to IPI the CPU running this routine anyway. I think this is the better solution. Right now what is probably happening on other platforms is as soon as this routine finishes the CPU processes its self-IPI and causes mi_switch() which will just switch back to the softclock thread it is already running." - With r226054 and the the above change in place, sparc64 now no longer is incompatible with ULE and vice versa. However, powerpc/E500 still is. Submitted by: jhb Reviewed by: jeff END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-06T14:22:38.398148Z K 7 svn:log V 114 Ask if you want to set the keymap before invoking kdbmap to prevent confusion. PR: bin/160913 MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-06T14:24:37.589793Z K 7 svn:log V 113 Move "Exit" to the first entry in the list, so that it is the default choice. PR: bin/160913 MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-10-06T14:29:38.595218Z K 7 svn:log V 401 For the INP_TIMEWAIT case, there is no valid tcpcb object tied to the inpcb object. Skip the TCP_SIGNATURE check in that case as it is consistent with the output path (no TCP_SIGNATURE for outcoming packets in TIMEWAIT state) and also because for TIMEWAIT state the verify may be less effective. Sponsored by: Sandvine Incorporated Reported by: rwatson No objections by: rwatson MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-10-06T14:33:32.939553Z K 7 svn:log V 159 MFC r225878: Add Oxford Semiconductor OXPCIe952 (0x1c38) 1 port serial card. PR: kern/160895 Submitted by: Konstantin V. Krotov Approved by: re (kib) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-10-06T14:35:09.317307Z K 7 svn:log V 136 MFC r225878: Add Oxford Semiconductor OXPCIe952 (0xc138) 1 port serial card. PR: kern/160895 Submitted by: Konstantin V. Krotov END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2011-10-06T15:10:48.032615Z K 7 svn:log V 45 Add myself. Approved by: kib (mentor) END K 10 svn:author V 3 wxs K 8 svn:date V 27 2011-10-06T16:13:47.598434Z K 7 svn:log V 44 Fix a typo in a comment. Approved by: kib@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-06T17:34:43.077548Z K 7 svn:log V 215 Convert MIPS to the syscallenter/syscallret system call sequence handlers. This was the last architecture used custom syscall entry sequence. Reviewed, debugged, tested and approved by: jchandra MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-06T17:35:38.139173Z K 7 svn:log V 58 Remove no longer needed BUGS section. MFC after: 1 month END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-10-06T19:15:51.492469Z K 7 svn:log V 5239 MFC r225950: Add descriptor sense support to CAM, and honor sense residuals properly in CAM. Desriptor sense is a new sense data format that originated in SPC-3. Among other things, it allows for an 8-byte info field, which is necessary to pass back block numbers larger than 4 bytes. This change adds a number of new functions to scsi_all.c (and therefore libcam) that abstract out most access to sense data. This includes a bump of CAM_VERSION, because the CCB ABI has changed. Userland programs that use the CAM pass(4) driver will need to be recompiled. camcontrol.c: Change uses of scsi_extract_sense() to use scsi_extract_sense_len(). Use scsi_get_sks() instead of accessing sense key specific data directly. scsi_modes: Update the control mode page to the latest version (SPC-4). scsi_cmds.c, scsi_target.c: Change references to struct scsi_sense_data to struct scsi_sense_data_fixed. This should be changed to allow the user to specify fixed or descriptor sense, and then use scsi_set_sense_data() to build the sense data. ps3cdrom.c: Use scsi_set_sense_data() instead of setting sense data manually. cam_periph.c: Use scsi_extract_sense_len() instead of using scsi_extract_sense() or accessing sense data directly. cam_ccb.h: Bump the CAM_VERSION from 0x15 to 0x16. The change of struct scsi_sense_data from 32 to 252 bytes changes the size of struct ccb_scsiio, but not the size of union ccb. So the version must be bumped to prevent structure mis-matches. scsi_all.h: Lots of updated SCSI sense data and other structures. Add function prototypes for the new sense data functions. Take out the inline implementation of scsi_extract_sense(). It is now too large to put in a header file. Add macros to calculate whether fields are present and filled in fixed and descriptor sense data scsi_all.c: In scsi_op_desc(), allow the user to pass in NULL inquiry data, and we'll assume a direct access device in that case. Changed the SCSI RESERVED sense key name and description to COMPLETED, as it is now defined in the spec. Change the error recovery action for a number of read errors to prevent lots of retries when the drive has said that the block isn't accessible. This speeds up reconstruction of the block by any RAID software running on top of the drive (e.g. ZFS). In scsi_sense_desc(), allow for invalid sense key numbers. This allows calling this routine without checking the input values first. Change scsi_error_action() to use scsi_extract_sense_len(), and handle things when invalid asc/ascq values are encountered. Add a new routine, scsi_desc_iterate(), that will call the supplied function for every descriptor in descriptor format sense data. Add scsi_set_sense_data(), and scsi_set_sense_data_va(), which build descriptor and fixed format sense data. They currently default to fixed format sense data. Add a number of scsi_get_*() functions, which get different types of sense data fields from either fixed or descriptor format sense data, if the data is present. Add a number of scsi_*_sbuf() functions, which print formatted versions of various sense data fields. These functions work for either fixed or descriptor sense. Add a number of scsi_sense_*_sbuf() functions, which have a standard calling interface and print the indicated field. These functions take descriptors only. Add scsi_sense_desc_sbuf(), which will print a formatted version of the given sense descriptor. Pull out a majority of the scsi_sense_sbuf() function and put it into scsi_sense_only_sbuf(). This allows callers that don't use struct ccb_scsiio to easily utilize the printing routines. Revamp that function to handle descriptor sense and use the new sense fetching and printing routines. Move scsi_extract_sense() into scsi_all.c, and implement it in terms of the new function, scsi_extract_sense_len(). The _len() version takes a length (which should be the sense length - residual) and can indicate which fields are present and valid in the sense data. Add a couple of new scsi_get_*() routines to get the sense key, asc, and ascq only. mly.c: Rename struct scsi_sense_data to struct scsi_sense_data_fixed. sbp_targ.c: Use the new sense fetching routines to get sense data instead of accessing it directly. sbp.c: Change the firewire/SCSI sense data transformation code to use struct scsi_sense_data_fixed instead of struct scsi_sense_data. This should be changed later to use scsi_set_sense_data(). ciss.c: Calculate the sense residual properly. Use scsi_get_sense_key() to fetch the sense key. mps_sas.c, mpt_cam.c: Set the sense residual properly. iir.c: Use scsi_set_sense_data() instead of building sense data by hand. iscsi_subr.c: Use scsi_extract_sense_len() instead of grabbing sense data directly. umass.c: Use scsi_set_sense_data() to build sense data. Grab the sense key using scsi_get_sense_key(). Calculate the sense residual properly. isp_freebsd.h: Use scsi_get_*() routines to grab asc, ascq, and sense key values. Calculate and set the sense residual. Approved by: re (kib) Sponsored by: Spectra Logic Corporation END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T19:59:14.771295Z K 7 svn:log V 77 Unroll inlined strnlen(9) and make it easier to read. No functional change. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T20:20:30.188571Z K 7 svn:log V 63 Inline do_sa_get() function and remove an unused return value. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-10-06T20:25:35.756522Z K 7 svn:log V 63 MFC r225776: Fix typo in OSIOCGIFADDR. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T20:28:08.364703Z K 7 svn:log V 64 Retern more appropriate errno when Linux path name is too long. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T20:48:23.181081Z K 7 svn:log V 74 Restore the original socket address length if it was not really AF_INET6. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T21:09:28.882314Z K 7 svn:log V 73 Make sure to ignore the leading NULL byte from Linux abstract namespace. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T21:17:46.303904Z K 7 svn:log V 55 Use uint32_t instead of u_int32_t. Fix style(9) nits. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-10-06T21:22:26.807548Z K 7 svn:log V 53 Add a branch for the OpenBSD onewire implementation. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-10-06T21:23:06.462367Z K 7 svn:log V 16 Branch head-sys END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-10-06T21:31:21.915465Z K 7 svn:log V 200 Add the OpenBSD onewire stack as a work in progress. A DS18B20 attaches as owtemp0 and reads the temp via a gpio pin. Locking isnt really done and there are many rough edges. Obtained from: OpenBSD END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T21:40:08.317012Z K 7 svn:log V 31 Remove a now-defunct variable. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-10-06T21:55:05.256466Z K 7 svn:log V 52 Use the caculated length instead of maximum length. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-10-07T00:20:07.022274Z K 7 svn:log V 120 Until I can revamp the way dependencies are tracked, include all 3 forms of CONFLICTS to make sure we catch alternates. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-10-07T01:15:04.041425Z K 7 svn:log V 1051 A crash reported on freebsd-fs@ on Sep. 23, 2011 under the subject heading "kernel panics with RPCSEC_GSS" appears to be caused by a corrupted tailq list for the client structure. Looking at the code, calls to the function svc_rpc_gss_forget_client() were done in an SMP unsafe manner, with the svc_rpc_gss_lock only being acquired in the function and not before it. As such, when multiple threads called svc_rpc_gss_forget_client() concurrently, it could try and remove the same client structure from the tailq lists multiple times. The patch fixes this by moving the critical code into a separate function called svc_rpc_gss_forget_client_locked(), which must be called with the lock held. For the one case where the caller would have no interest in the lock, svc_rpc_gss_forget_client() was retained, but a loop was added to check that the client structure is still in the tailq lists before removing it, to make it safe for multiple concurrent calls. Tested by: clinton.adams at gmail.com (earlier version) Reviewed by: zkirsch MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-10-07T01:37:58.439344Z K 7 svn:log V 202 Return proper errno when we hit error when doing sanity check. This fixes dtrace crashes when module is not compiled with CTF data. Submitted by: Paul Ambrose ambrosehua at gmail.com MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-07T01:40:30.384353Z K 7 svn:log V 272 Work around some behavior of gpart that I absolutely do not understand in order to make every operation of the partition editor fully revertable. Under *no circumstances* will it any longer touch the disks until the user presses Finish and confirms it. MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-07T04:26:23.885881Z K 7 svn:log V 112 The modular congestion control framework has been merged to head, so the project branches are no longer needed. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-07T04:28:33.236106Z K 7 svn:log V 109 The relevant work from these branches has been merged to head, so the project branches are no longer needed. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-07T04:32:39.660255Z K 7 svn:log V 542 Create a temporary project branch for the FreeBSD Foundation sponsored "DIFFUSED" (DIFFUSE for freebsD) project. The project will integrate the DIFFUSE (DIstributed Firewall and Flow-shaper Using Statistical Evidence) prototype developed at Swinburne University of Technology's Centre for Advanced Internet Architectures into FreeBSD, with code cleanup/auditing and some feature development along the way. More details about the project are available at: http://caia.swin.edu.au/freebsd/diffused/ Sponsored by: Cisco URP, FreeBSD Foundation END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-10-07T05:08:08.495977Z K 7 svn:log V 69 Sync to the most recent change #162494 in Bryan Venteicher's hg repo END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-07T05:45:38.785295Z K 7 svn:log V 214 Add the necessary infrastructure for the DIFFUSE control raw socket, which will be used to communicate between userspace and the forthcoming DIFFUSE kernel module. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-10-07T05:47:30.000026Z K 7 svn:log V 76 Disallow various debug.kdb sysctl's when securelevel is raised. PR: 161350 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-10-07T06:00:00.171560Z K 7 svn:log V 101 Increase MSGBUF_SIZE. The previous size lead to truncated /var/run/dmesg.boot when booted with "-v". END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-07T06:13:38.618254Z K 7 svn:log V 331 Begin implementing correct MIPS24K sampling mode behaviour. * Add the interrupt bit in the configuration register * Correctly set the counter register for the sampling overflow interrupt. The interrupt is asserted when bit 31 is set. So set the overflow value at 0x80000000 and subtract the programmed value as appropriate. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-10-07T06:46:46.441354Z K 7 svn:log V 535 MFC r225938: Fix bug introduced in r225641, which would cause panic if racct_proc_fork() returned error -- the racct_destroy_locked() would get called twice. MFC r225940: Fix another bug introduced in r225641, which caused rctl to access certain fields in 'struct proc' before they got initialized in do_fork(). MFC r225944: Move some code inside the racct_proc_fork(); it spares a few lock operations and it's more logical this way. MFC r225981: Actually enforce limit for inheritable resources on fork. Approved by: re (kib) END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-10-07T08:55:36.939251Z K 7 svn:log V 57 Added two scenarios for SU problem with flush of inodes. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-10-07T08:56:51.595811Z K 7 svn:log V 40 Added MEMGUARD scenario for SU problem. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-07T08:59:54.178845Z K 7 svn:log V 72 Merge from r225950: Set the sense residual properly. Reviewed by: ken END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-10-07T09:30:20.466547Z K 7 svn:log V 43 Missing SUJ and quota test scenario added. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-10-07T09:35:17.050050Z K 7 svn:log V 56 Added SU+J scenario plus some cleanup of the scenarios. END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-10-07T09:51:12.794830Z K 7 svn:log V 373 Change one printf() to log(). As noted in kern/159780, printf() is not very jail-friendly, since it can't be easily monitored by jail management tools. This patch reports an error via log() instead, which, if nobody is watching the log file, still prints to the console. Approved by: mentor (rwatson) Submitted by: Eugene Grosbein MFC after: 5 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-07T12:21:50.505241Z K 7 svn:log V 397 Tab should not blank cells. It seems I was under the impression that a tab differs from a single forward tabulation, namely that it blanks the underlying cells. This seems not to be the case. They are identical. This should fix applications like jove(1) that use tabs instead of explicit cursor position setting. Reported by: Brett Glass MFC after: 3 days, after it's tested END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-07T12:42:03.340387Z K 7 svn:log V 119 Simply let teken_stress use arc4random. This makes it run quite a bit faster, since it makes system calls less often. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-07T12:58:33.524788Z K 7 svn:log V 55 Load the ECDSA key if there is one. MFC after: 1 week END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-07T12:59:04.171484Z K 7 svn:log V 93 - Use getprogname() instead of __progname because it is more portable Submitted by: delphij END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-07T13:10:16.418786Z K 7 svn:log V 104 Add a -x option that causes ssh-agent(1) to exit when all clients have disconnected. MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-10-07T13:16:21.838652Z K 7 svn:log V 127 Remove an extraneous "already" from a comment introduced by r226081. Submitted by: bf1783 at googlemail.com MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2011-10-07T13:43:01.473617Z K 7 svn:log V 454 Add back the IP header length to the total packet length field on raw IP sockets. It was deducted in ip_input() in preparation for protocols interested only in the payload. On raw sockets the IP header should be delivered as it at came in from the network except for the byte order swaps in some fields. This brings us in line with all other OS'es that provide raw IP sockets. Reported by: Matthew Cini Sarreo MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-10-07T14:27:20.066612Z K 7 svn:log V 45 MFC r218410: Handle EOF when skipping lines. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-10-07T14:29:15.094433Z K 7 svn:log V 299 MFC r218411: - Use LINE_MAX from limits.h as the maximum line length instead of BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE). - Error out if we encounter a line longer than LINE_MAX. The previous behavior was to silently split long lines and produce corrupted output. PR: bin/151384 END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-10-07T14:30:45.240335Z K 7 svn:log V 51 MFC r219038: Document the input line length limit. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-07T14:42:11.545636Z K 7 svn:log V 55 - Add support for WITHOUT_BZIP2 Requested by: delphij END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-10-07T14:52:30.902292Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-07T15:05:24.197956Z K 7 svn:log V 63 Fix whitespace inconsistencies found in homegrown Symbol.maps. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-07T16:09:44.302070Z K 7 svn:log V 42 Remove unused define. MFC after: 1 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2011-10-07T16:39:03.216431Z K 7 svn:log V 682 Prevent TCP sessions from stalling indefinitely in reassembly when reaching the zone limit of reassembly queue entries. When the zone limit was reached not even the missing segment that would complete the sequence space could be processed preventing the TCP session forever from making any further progress. Solve this deadlock by using a temporary on-stack queue entry for the missing segment followed by an immediate dequeue again by delivering the contiguous sequence space to the socket. Add logging under net.inet.tcp.log_debug for reassembly queue issues. Reviewed by: lsteward (previous version) Tested by: Steven Hartland MFC after: 3 days END K 10 svn:author V 6 qingli K 8 svn:date V 27 2011-10-07T18:01:34.281443Z K 7 svn:log V 301 Remove the reference held on the loopback route when the interface address is being deleted. Only the last reference holder deletes the loopback route. All other delete operations just clear the IFA_RTSELF flag. PR: kern/159601 Submitted by: pluknet Reviewed by: discussed on net@ MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-10-07T20:40:45.448723Z K 7 svn:log V 268 MFC r226026: Add the 9750 SATA+SAS 6Gb/s RAID controller card driver, tws(4). Many thanks for their contiued support to FreeBSD. This is version 10.80.00.003 from codeset 10.2.1 [1] Obtained from: LSI http://kb.lsi.com/Download16574.aspx [1] Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-10-07T20:54:12.141798Z K 7 svn:log V 114 Add missing va_end() to clean up after va_start(). CID: 4725 Found with: Coverity Prevent(tm) MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-10-07T21:00:26.481041Z K 7 svn:log V 168 Add missing va_end() in an error case to clean up after va_start() (already done in the non-error case). CID: 4726 Found with: Coverity Prevent(tm) MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-07T21:23:42.555000Z K 7 svn:log V 192 Sync with ahc(4)/ahd(4)/sym(4) etc: Zero any sense not transferred by the device as the SCSI specification mandates that any untransferred data should be assumed to be zero. Reviewed by: ken END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-07T22:14:18.338444Z K 7 svn:log V 40 Mention tdsignal(9). MFC after: 1 week END K 10 svn:author V 6 qingli K 8 svn:date V 27 2011-10-07T22:22:19.216757Z K 7 svn:log V 263 Do not try removing an ARP entry associated with a given interface address if that interface does not support ARP. Otherwise the system will generate error messages unnecessarily due to the missing entry. PR: kern/159602 Submitted by: pluknet MFC after: 3 days END K 10 svn:author V 5 jceel K 8 svn:date V 27 2011-10-07T23:12:33.157069Z K 7 svn:log V 43 Add myself. Approved by: wkoszek (mentor) END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-07T23:43:51.496765Z K 7 svn:log V 127 - ${WRKSRC} might be missing when the autotools fixup is running. Account for this. Reported by: Mykola Dzham END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-08T00:00:54.546886Z K 7 svn:log V 467 BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually indistinguishable by software except for the PCI device ID. The two chips differ in that BCM5709 supports TCP/IP and iSCSI offload in Windows while the BCM5716 doesn't. While I'm here remove now unused definition of BCE_CHIP_NUM_5716 and BCE_CHIP_ID_5716_C0. Reported by: sbruno Reviewed by: davidch Tested by: davidch END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-08T00:01:17.474485Z K 7 svn:log V 270 - Add a couple of more sed subsitutions needed to get the correct libtool.m4. With these fixes libtool will correctly indentify the system as ELF (and not a.out). - While here, change the substitutions so they're still correctly match freebsd1.x, freebsd2.x etc. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T02:58:23.673692Z K 7 svn:log V 553 Integrate DIFFUSE related hooks and supporting infrastructure into the IPFW kernel code. DIFFUSE is called both as part of packet processing (for per-flow management, feature calculation and classification) and IPFW related configuration (for handling DIFFUSE related rule configuration). The interface between IPFW and DIFFUSE was intentionally kept hook based to ensure minimal coupling between them. It should therefore be quite simple to integrate DIFFUSE with other firewalls in future if desired. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T03:58:20.625314Z K 7 svn:log V 300 Add the core DIFFUSE kernel module code and supporting build infrastructure. This module provides the kernel-side support for handling DIFFUSE's IPFW configuration extensions, rule exporting, classifier/feature modules and flow-related housekeeping. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-08T04:08:02.643486Z K 7 svn:log V 39 - Add myself for heimdal 1.5.1 import. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-08T04:08:44.963618Z K 7 svn:log V 42 - Update vendor tree of heimdal to 1.5.1. END K 10 svn:author V 4 stas K 8 svn:date V 27 2011-10-08T04:09:23.265054Z K 7 svn:log V 29 - Add tag for heimdal 1.5.1. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T04:16:19.469452Z K 7 svn:log V 220 A DIFFUSE feature kernel module which calculates per-flow minimum, mean, maximum and standard deviation interarrival time statistics for use in classification decisions. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T04:26:56.176328Z K 7 svn:log V 235 A DIFFUSE feature kernel module which calculates per-flow, bidirectional minimum, mean, maximum and standard deviation interarrival time statistics for use in classification decisions. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T04:36:16.586134Z K 7 svn:log V 195 A DIFFUSE feature kernel module which calculates per-flow forward/reverse packet count and ratio statistics for use in classification decisions. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T04:49:27.724422Z K 7 svn:log V 221 A DIFFUSE feature kernel module which calculates per-flow minimum, mean, maximum, standard deviation and sum packet length statistics for use in classification decisions. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T05:07:08.957404Z K 7 svn:log V 236 A DIFFUSE feature kernel module which calculates per-flow, bidirectional minimum, mean, maximum, standard deviation and sum packet length statistics for use in classification decisions. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T05:15:13.219119Z K 7 svn:log V 348 A DIFFUSE feature kernel module which calculates per-flow statistics for the mean, absolute two packet difference and ratio of the packet payload lengths for use in classification decisions. This module calculates features which have been empirically found to be useful in identifying Skype flows. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T05:28:17.675725Z K 7 svn:log V 314 A C4.5 decision tree classifier implementation in the form of a DIFFUSE classifier kernel module. This type of classifier has been empirically shown to perform the fastest and highest accuracy classifications compared to a set of common classification algorithms. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T05:41:19.656685Z K 7 svn:log V 302 A fixed-point math based naive-bayes classifier implementation in the form of a DIFFUSE classifier kernel module. It classifies using discretised feature values, and has been empirically shown to perform classifications quickly and with high accuracy. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T05:48:14.357412Z K 7 svn:log V 56 Fix a whitespace nit. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T05:48:38.348107Z K 7 svn:log V 56 Fix a whitespace nit. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-10-08T05:50:39.102385Z K 7 svn:log V 62 Fix another whitespace nit. Sponsored by: FreeBSD Foundation END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-08T07:20:12.294416Z K 7 svn:log V 137 Remove extraneous WARNS=7. WARNS above 6 has no use. Also, all of usr.bin is also built with WARNS=6 by default. Discussed with: edwin END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-08T09:06:43.715037Z K 7 svn:log V 31 Merge in FreeBSD HEAD r226141. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-10-08T09:14:18.683997Z K 7 svn:log V 120 Remove two dublicated assignments. CID: 9870 Found with: Coverity Prevent(tm) Confirmed by: rwatson MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-08T09:15:04.980164Z K 7 svn:log V 26 Upgrade to Terminus 4.36. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T09:57:29.641632Z K 7 svn:log V 466 1) Some of the #defines or enums for which we auto-generate naming functions may be wider than int, so use intmax_t throughout. Also add missing casts in printf() calls. 2) Clean up some of the auto-generated code to improve readability. 3) Auto-generate kdump_subr.h. Note that this requires a semi-ugly hack in the Makefile to make sure it is generated before make(1) tries to build kdump.c, or preprocess it for 'make depend'. MFC after: 3 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-10-08T10:50:48.284314Z K 7 svn:log V 145 Remove dead code, "error" doesn't change between this check and the previous one. CID: 3254 Found with: Coverity Prevent(tm) MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T11:39:00.726196Z K 7 svn:log V 18 Sort and line up. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T11:51:48.356956Z K 7 svn:log V 88 C has had swicth statements for 40 years or so. It's about time we started using them. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-10-08T12:09:57.836737Z K 7 svn:log V 107 Fix an infinite loop in siba_bwn_suspend(). CID: 3536 Found with: Coverity Prevent(tm) MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T12:10:16.288536Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T12:21:51.379907Z K 7 svn:log V 13 Fix casting. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-10-08T12:27:12.990098Z K 7 svn:log V 39 Added regression test for kern/156545. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T12:28:06.897654Z K 7 svn:log V 266 I appreciate the logic behind using a (void) cast to indicate that the return value is intentionally ignored, but frankly, all it does is get in the way of the code. Also fix a few other incorrect casts, such as (void *)malloc(foo) and passing signed values to %x. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-08T12:33:10.366251Z K 7 svn:log V 794 - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHY drivers that only ever attach to a particular MAC driver, i.e. inphy(4), ruephy(4) and xlphy(4), to the directory where the respective MAC driver lives and only compile it into the kernel when the latter is also there, also removing it from miibus.ko and moving it into the module of the respective MAC driver. - While at it, rename exphy.c, which comes from NetBSD where the MAC driver it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD actually identifies itself as xlphy(4), and its function names accordingly for consistency. - Additionally while at it, fix some minor style issues like whitespace in the register headers and add multi-inclusion protection to inphyreg.h. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-08T12:39:47.295416Z K 7 svn:log V 396 Setting up TLS block for the main thread must be done after the relocations are processed, since tls initialization section might be itself subject for relocations. Only set up of the block is postponed, the tls block offsets are allocated before relocation processing, since TLS-related relocations may need offsets ready. Reported by: ale PR: threads/161344 Reviewed by: kan MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-08T12:42:19.979586Z K 7 svn:log V 195 Handle the R_386_TLS_TPOFF32 relocation, which is similar to R_386_TLS_TPOFF, but with negative relocation value. Found by: mpfr test suite, pointed to by ale Reviewed by: kan MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T12:47:00.176022Z K 7 svn:log V 344 Bring ioctlname() in line with all the other *name() functions, which actually print the name (or the numeric value, if they can't figure out the correct name) instead of just returning a pointer to it. Also, since ioctl numbers are not and probably never will be unique, drop support for using a switch statement instead of an if/else chain. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T12:59:41.371047Z K 7 svn:log V 129 Fix the dependency issue properly by a) moving kdump_subr.c to the front of the SRCS list and b) listing kdump_subr.h in DPSRCS. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T13:01:38.018782Z K 7 svn:log V 66 Teach kdump(1) to decode capability bitmasks. MFC after: 3 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-08T14:59:12.578545Z K 7 svn:log V 248 Usability enhancements: do not allow setting a mountpoint on bsdlabel container partitions, which didn't do anything anyway, and check for an existing freebsd-boot partition before bothering the user to make one. PR: bin/160931 MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-08T16:45:03.779425Z K 7 svn:log V 296 Avoid magicking into existence sub-partitions due to leftover blocks when creating new ones by destroying any geom that may have come into existence immediately after adding a partition. The EBR partition scheme is particularly enthusiastic about false positives in this case. MFC after: 3 days END K 10 svn:author V 5 crees K 8 svn:date V 27 2011-10-08T18:25:01.952399Z K 7 svn:log V 213 Revert unapproved commit to bsd.port.mk. This would have had more discussion, but it was explicitly rejected at submission by portmgr: http://lists.freebsd.org/pipermail/freebsd-ports/2011-September/070591.html END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-08T18:29:30.223849Z K 7 svn:log V 243 Fix the handling of an empty kmem map by sysctl_kmem_map_free(). In the unlikely event that sysctl_kmem_map_free() was performed on an empty kmem map, it would incorrectly report the free space as zero. Discussed with: avg MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-08T21:02:08.574539Z K 7 svn:log V 51 Address some of bde@'s concerns with the new code. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-08T21:15:39.437713Z K 7 svn:log V 128 Remove inphy(4), exphy(4) as well as ruephy(4) that no longer existed as a separate config option, which was missed in r226154. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-09T10:55:15.266265Z K 7 svn:log V 69 Document some not-so-recently added trace points. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2011-10-09T10:58:58.875866Z K 7 svn:log V 94 Line up the struct declaration (yes, I know this isn't what it looks like in the header file) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-10-09T14:12:17.528789Z K 7 svn:log V 188 Update the inp stored in a HB-timer when moving an stcb to a new inp. Use only this stored inp when processing a HB timeout. This fixes a bug which results in a crash. MFC after: 3 days. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-09T16:22:31.022294Z K 7 svn:log V 91 Add support to makefs(8) to add UFS labels to images. Submitted by: avg MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-09T16:23:04.732292Z K 7 svn:log V 122 Use UFS labels and bsdlabels (like the 8.x memsticks) instead of GPT to fix problems with some BIOSes. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-09T20:16:51.207383Z K 7 svn:log V 16 Sprinkle const. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-10-09T20:21:07.111334Z K 7 svn:log V 115 Bump .Dd to reflect the date of the last content change, so MFC content makes sense. Pointy-hat to: gjb (myself) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-09T20:27:20.051872Z K 7 svn:log V 23 Prefer KOBJMETHOD_END. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-09T20:58:02.142688Z K 7 svn:log V 50 - Only compile a heuristic if the shortcut failed END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-09T21:21:37.687464Z K 7 svn:log V 118 In device_get_children() avoid malloc(0) in order to increase portability to other operating systems. PR: 154287 END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-10-09T21:36:14.659715Z K 7 svn:log V 63 Recognize the Intel(R) Centrino(R) Wireless-N 130. PR: 161162 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-09T21:39:14.351845Z K 7 svn:log V 69 - Rework heuristics to try to use a better maximum shift if possible END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-09T21:40:38.463479Z K 7 svn:log V 57 - Fix build on some architectures Submitted by: delphij END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-10-09T21:42:02.712378Z K 7 svn:log V 964 Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel option is defined. This sysctl can be queried by feature_present(3). Query for this feature in /sbin/atacontrol and /usr/sbin/burncd. If these utilities detect that ATA_CAM is enabled, then these utilities will error out. These utilities are compatible with the old ATA driver, but are incomptible with the new ATA_CAM driver. By erroring out, we give end-users an idea as to what remedies to use, and reduce the need for them to file PR's. For atacontrol, camcontrol must be used instead, and for burncd, alternative utilties from the ports collection must be used such as sysutils/cdrtools. In future, maybe someone can re-write burncd to work with ATA_CAM, but at least for now, we give a somewhat useful error message to end users. PR: 160979 Reviewed by: jh, Arnaud Lacombe Reported by: Joe Barbish MFC after: 3 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-10T00:37:23.760331Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-10T02:49:21.865849Z K 7 svn:log V 188 Update from OpenBSD: Include 0x4402 in the bbp id mapping table used on older devices. http://bcm-specs.sipsolutions.net/BackPlane agrees. Obtained from: OpenBSD, sys/dev/ic/bwi.c r1.88 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-10T02:54:58.512394Z K 7 svn:log V 81 Fix an incorrect use of sizeof(). Obtained from: OpenBSD sys/dev/ic/bwi.c r1.87 END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-10T06:13:27.121173Z K 7 svn:log V 154 Properly use the cursor to bound the position for CUP. We must take the origin region into account when clamping the cursor position. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-10-10T06:37:32.084875Z K 7 svn:log V 138 Incorporate recent changes from NetBSD. Most notable change is the addition of support of decompressing xz files. Obtained from: NetBSD END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-10-10T09:13:07.145327Z K 7 svn:log V 166 Add missing break statement to make sure all 3DES etypes really are treated the same. CID: 3624 Found with: Coverity Prevent(tm) Reviewed by: dfr MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2011-10-10T09:33:07.538277Z K 7 svn:log V 255 Free mbuf in case when protocol in unknown in ng_ipfw_rcvdata(). This change fixes (theoretically) possible mbuf leak introduced in r225586. Reorder code a bit and change return codes to be more specific Reviewed by: glebius Approved by: kib (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-10-10T11:05:58.225840Z K 7 svn:log V 95 MFC r225857: - Fix a few grammar and mdoc nits in script.1 PR: 161088 Approved by: re (kib) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-10-10T11:06:48.785275Z K 7 svn:log V 73 MFC r225857: - Fix a few grammar and mdoc nits in script.1 PR: 161088 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-10-10T11:07:36.601847Z K 7 svn:log V 73 MFC r225857: - Fix a few grammar and mdoc nits in script.1 PR: 161088 END