ƒ·258699 159 736 130 225 207 148 670 352 456 2105 263 269 220 174 171 474 204 157 223 839 428 228 250 160 341 430 408 424 190 205 215 235 345 321 214 156 247 159 116 298 218 363 282 185 228 179 159 349 272 449 335 427 1022 144 125 107 493 215 408 278 349 221 171 219 318 291 122 554 211 187 338 116 124 141 268 259 219 110 166 288 248 160 435 144 111 140 140 141 288 163 1271 768 201 529 119 231 241 108 226 158 255 202 301 485 180 117 116 379 189 538 288 156 127 230 120 161 116 2555 169 700 147 834 163 503 293 1545 166 125 710 148 259 2120 194 283 413 185 145 129 698 399 740 116 299 161 163 160 386 808 108 445 3319 177 200 222 311 337 264 122 140 110 K 10 svn:author V 4 neel K 8 svn:date V 27 2013-11-27T22:18:08.731726Z K 7 svn:log V 642 Add support for level triggered interrupt pins on the vioapic. Prior to this commit level triggered interrupts would work as long as the pin was not shared among multiple interrupt sources. The vlapic now keeps track of level triggered interrupts in the trigger mode register and will forward the EOI for a level triggered interrupt to the vioapic. The vioapic in turn uses the EOI to sample the level on the pin and re-inject the vector if the pin is still asserted. The vhpet is the first consumer of level triggered interrupts and advertises that it can generate interrupts on pins 20 through 23 of the vioapic. Discussed with: grehan@ END K 10 svn:author V 2 mp K 8 svn:date V 27 2013-11-27T23:26:54.108418Z K 7 svn:log V 39 Add myself to the committers-src list. END K 10 svn:author V 5 lwhsu K 8 svn:date V 27 2013-11-28T05:44:44.662787Z K 7 svn:log V 130 - Use for-loop to reduce duplicated code - Use dependency instead of directly invoking make on other target Approved by: glebius END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-28T06:45:30.189188Z K 7 svn:log V 110 Fix some misinformation in netgraph manual pages. Submitted by: Dmitry Luhtionov END K 10 svn:author V 5 lwhsu K 8 svn:date V 27 2013-11-28T07:09:58.876036Z K 7 svn:log V 54 Yahoo has changed to a new logo Approved by: glebius END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-28T08:48:49.016351Z K 7 svn:log V 577 fix a serious bug in r258632: offset parameter must be set in zio In illumos all ioctl zio-s are "global" at the moment. That is they act on a whole disk, e.g. a cache flush command, and thus do not need either offset or size parameters. FreeBSD, on the other hand, has support for TRIM command and that command requires proper offset and size parameters. Without this fix all TRIM commands act on the start of any disk or partition used by ZFS destroying any data there. Pointyhat to: avg Tested by: sbruno MFC after: 3 days X-MFC with: r258632 Sponsored by: HybridCluster END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2013-11-28T08:54:15.007779Z K 7 svn:log V 255 Do a parallel buildworld & buildkernel (using NANO_PMAKE), but use a single threaded installworld, installkernel and distribution (using NANO_MAKE). Setting NANO_PMAKE to 'make -j 12' would otherwise bomb during installation of world. MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-11-28T09:30:05.416180Z K 7 svn:log V 358 MFC r258262: drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability This fixes DPMS with KDE and radeonkms. Without this, the display would freeze when the monitor is put into sleep state, and only resumes after several dozens of minutes once the monitor is powered on again. Tested by: Mathias Picker Approved by: re (kib) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-11-28T10:04:53.147875Z K 7 svn:log V 2006 MFC r258549 and r258553: drm: Dereference pointers given to qsort_r()'s cmp callback drm_le_cmp() (qsort_r()'s callback) receives pointers to elements in the array passed to qsort_r(), not the elements themselves. Before this fix, the use of qsort_r() shuffled the array, not sorted it, because the compare callback accessed random memory locations, not the expected elements. This bug triggered an infinite loop in KDE/xserver: 1. KDE has a kded module called "randrmonitor" which queries xserver for current monitors at startup and then listens to RandR notifications from xserver. 2. xserver handles the query from "randrmonitor" by polling the video device using the "drm_mode_getconnector()" ioctl. This ioctl returns a list of connectors and, for those with a connected monitor, the available modes. Each modes list is sorted by the kernel before returning. When xserver gets the connectors list, it sorts the modes lists again. In the case of this bug, when two modes are equal (in xserver's compare function PoV), their order is kept stable (ie. the kernel order is kept for those two modes). And because the list was shuffled by the kernel, the order of two equal modes was frequently changed in the final modes list in xserver. 3. xserver compares the returned connectors list with the list obtained earlier. In particular, it compares the sorted modes lists for each connector. If a property of a connector changes (eg. modes), xserver sends a "RRNotify_OutputChange" notification. Because of the change of order between equal modes, xserver sent a notification after each polling of the connectors. 4. "randrmonitor" receives a notification, triggered by its query. The notification doesn't contain the new connectors list, therefore, it asks for the new list using the same function: go back to step #2. Approved by: re (kib) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-11-28T10:28:28.346081Z K 7 svn:log V 165 Check ipfw table numbers in both user and kernel space before rule addition. Found by: Saychik Pavel MFC after: 2 weeks Sponsored by: Yandex LLC END K 10 svn:author V 2 mr K 8 svn:date V 27 2013-11-28T11:06:18.526440Z K 7 svn:log V 177 Add package additions support for pkgng by adding a new function cust_pkgng(): first bootstrap the pkg package (must be contained in the Pkg/ dir) then add the other packages END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-28T14:24:26.599096Z K 7 svn:log V 127 MFC r258227 (bapt): Enabled should be a boolean, not a string Approved by: re (glebius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-11-28T15:28:51.898677Z K 7 svn:log V 77 Simplify O_NAT opcode handling. MFC after: 2 weeks Sponsored by: Yandex LLC END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-28T16:36:03.023575Z K 7 svn:log V 79 libcpp: fix an underflow. Obtained from: OpenBSD (Rev 1.2) MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-28T18:56:34.813278Z K 7 svn:log V 381 add taskqueue_drain_all This API has semantics similar to that of taskqueue_drain but acts on all tasks that might be queued or running on a taskqueue. A caller must ensure that no new tasks are being enqueued otherwise this call would be totally meaningless. For example, if the tasks are enqueued by an interrupt filter then its interrupt must be disabled. MFC after: 10 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-11-28T19:13:05.835317Z K 7 svn:log V 107 Add some text to clarify that nslookup and dig are no longer in the base system after the removal of BIND. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-28T19:17:11.184493Z K 7 svn:log V 65 opensolaris compat: add taskq_wait emulation MFC after: 10 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-11-28T19:20:49.094216Z K 7 svn:log V 130 - Add bucket size column to `show uma` DDB command. - Add `show umacache` command to show alike stats for cache-only UMA zones. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-28T19:37:22.859503Z K 7 svn:log V 746 MFV r258371,r258372: 4101 metaslab_debug should allow for fine-grained control 4101 metaslab_debug should allow for fine-grained control 4102 space_maps should store more information about themselves 4103 space map object blocksize should be increased 4104 ::spa_space no longer works 4105 removing a mirrored log device results in a leaked object 4106 asynchronously load metaslab illumos/illumos-gate@0713e232b7712cd27d99e1e935ebb8d5de61c57d Note that some tunables have been removed and some new tunables have been added. Of particular note, FreeBSD-only knob vfs.zfs.space_map_last_hope is removed as it was a nop for some time now (after one of the previous merges from upstream). MFC after: 11 days Sponsored by: HybridCluster [merge] END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-11-28T19:40:33.948365Z K 7 svn:log V 333 jail_v0.ip_number was always in host byte order. This was handled in one of the many layers of indirection and shims through stable/7 in jail_handle_ips(). When it was cleaned up and unified through kern_jail() for 8.x, the byte order swap was lost. This only matters for ancient binaries that call jail(2) themselves internally. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-11-28T19:41:03.600226Z K 7 svn:log V 132 Purely cosmetic change: order DT_REL* and DT_RELA* consistently. From projects/uefi, r246107 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-28T19:44:36.352006Z K 7 svn:log V 157 MFV r258665: 4347 ZPL can use dmu_tx_assign(TXG_WAIT) illumos/illumos-gate@e722410c49fe67cbf0f639cbcc288bd6cbcf7dd1 MFC after: 9 days X-MFC after: r258632 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-11-28T19:55:07.961867Z K 7 svn:log V 65 Merge from HEAD at r258719 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 andreast K 8 svn:date V 27 2013-11-28T21:57:17.838047Z K 7 svn:log V 243 Give some output about the CPU clock on IBMPOWER machines, currently read from OF. Linux does it similar, means they also read the OF values and display them. Tested under qemu and real hardware: cpu0: IBM POWER5+ revision 2.0, 1898.10 MHz END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-28T22:06:37.610960Z K 7 svn:log V 333 MFC r257879: Fix typo in r256646: We want to generate lists of directories in INDEX-OLD and INDEX-NEW and compare them, not generate the same list of directories from INDEX-OLD twice... Pointy hats to: cperciva & everybody who didn't proofread EN-13:04 enough Errata Notice: FreeBSD-EN-13:05.freebsd-update Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-28T22:08:41.578320Z K 7 svn:log V 311 MFC r257879: Fix typo in r256646: We want to generate lists of directories in INDEX-OLD and INDEX-NEW and compare them, not generate the same list of directories from INDEX-OLD twice... Pointy hats to: cperciva & everybody who didn't proofread EN-13:04 enough Errata Notice: FreeBSD-EN-13:05.freebsd-update END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-28T22:12:48.332023Z K 7 svn:log V 327 MFC r257879: Fix typo in r256646: We want to generate lists of directories in INDEX-OLD and INDEX-NEW and compare them, not generate the same list of directories from INDEX-OLD twice... Pointy hats to: cperciva & everybody who didn't proofread EN-13:04 enough Errata Notice: FreeBSD-EN-13:05.freebsd-update Approved by: so END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-11-29T00:40:32.662697Z K 7 svn:log V 95 Add an interface for the Wii IOS kernels. Multiple IOS interfaces can exist at the same time. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-29T04:08:21.101725Z K 7 svn:log V 109 Fix an issue where the leading `+' sign before a function name was not displayed unless color was requested. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-29T04:09:25.431251Z K 7 svn:log V 119 Fix an issue where additional lines of a function definition didn't line up with the primary (leading) line of syntax. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-11-29T04:18:36.840550Z K 7 svn:log V 143 Some software use embedded form of zone ids. Remove ids from the address and initialize sin6_scope_id. Use sa6_recoverscope function for this. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-11-29T04:29:01.952217Z K 7 svn:log V 253 When we are trying to find ifaddr for the specific network, and this network has link-local scope, use its sin6_scope_id to determine corresponding ifnet. Then just take its first link-local address. This helps to go away from the embedded form of LLA. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-29T05:00:07.630618Z K 7 svn:log V 228 gcc: Make use of TREE_OVERFLOW_P. While it was brought in r258179 only to fix a build issue, bringing the rest of the change has the advantage of fixing GCC/19978. Obtained from: gcc 4.3 (rev. 120505; GPLv2) MFC after: 1 week END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-11-29T06:10:44.049327Z K 7 svn:log V 119 On the RT2870, rf registers are now 64-bit, not 32-bit after r257955. Committed over a Buffalo WLI-UC-AG300N (RT2870). END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-11-29T07:08:17.642712Z K 7 svn:log V 62 Change run_rt2870_rf_write() prototype (no functional change) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-11-29T07:12:10.956593Z K 7 svn:log V 150 MFC r258714 Add some text to clarify that nslookup and dig are no longer in the base system after the removal of BIND. Approved by: re (delphij) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-11-29T07:28:59.524079Z K 7 svn:log V 64 Move KDTRACE_FRAME to "options" since it's used by kern.pre.mk. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-11-29T07:55:44.939017Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-11-29T08:04:45.300830Z K 7 svn:log V 201 In keg_dtor(), print out the keg name in the "Freed UMA keg was not empty" message printed to the console. This makes it easier to track down the source of certain memory leaks. Suggested by: adrian END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-11-29T08:22:48.843310Z K 7 svn:log V 121 Also mention that drill(1) can be used, now that nslookup and dig are no longer in the base system. Suggested by: peter END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-29T12:19:52.135355Z K 7 svn:log V 270 zfs mappedread_sf: assert that a page is never partially valid ZFS never partially validates or invalidates a page. The higher level VM should not do that either. mappedread_sf correct operation depends on a page being either fully valid or invalid. MFC after: 7 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-29T14:23:22.787034Z K 7 svn:log V 189 Look up a nand chip by id in the static table before trying to obtain ONFI parameters. This allows a static table entry to provide valid data for chips known to provide invalid ONFI data. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-11-29T15:05:49.653716Z K 7 svn:log V 90 Note that libstand is 32-bit on amd64 and powerpc64 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-11-29T15:06:11.590391Z K 7 svn:log V 135 Set the PGA_WRITEABLE flag when the protections indicate write access, not just when the current access is a write. Reviewed by: zbb@ END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-29T15:32:53.143170Z K 7 svn:log V 87 drop ZUT_OBJ, zfs unit testing driver never materialzied in freebsd MFC after: 5 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-29T15:33:40.506830Z K 7 svn:log V 67 zfs: make zfs_map_page / zfs_unmap_page public MFC after: 15 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-29T15:34:43.416738Z K 7 svn:log V 256 zfs: add dmu_write_pages variant for freebsd The freebsd variant of dmu_write_pages is hidden under _KERNEL to avoid needlessly pulling in vm_page_t declaration. Besides, this function seems to be useless for ZFS userland counterpart. MFC after: 15 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-11-29T15:39:39.458861Z K 7 svn:log V 179 zfs: add zfs_freebsd_putpages this should be more optimal than writing pages one-by-one via zfs_write -> update_pages in the case of multi-page putpages call MFC after: 16 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-11-29T18:06:02.633057Z K 7 svn:log V 356 MFC r258620: Pull in r195558 from upstream clang trunk: Fix a SSE2 intrinsics typo Full discourse at: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131104/092514.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-November/068124.html Patch by Dimitry Andric and Alexey Dokuchaev! Reported by: danfe Approved by: re (gjb) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-29T18:46:02.410117Z K 7 svn:log V 242 gcc: upstream alignment cleanups. This solves GCC/32617 and contributes to reduce differences with Apple's gcc42. Complete some references in the ChangeLog while here. Obtained from: gcc 4.3 (rev. 126529, 126588; GPLv2) MFC after: 3 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-11-29T18:51:54.270706Z K 7 svn:log V 334 MFC r258620: Pull in r195558 from upstream clang trunk: Fix a SSE2 intrinsics typo Full discourse at: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131104/092514.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-November/068124.html Patch by Dimitry Andric and Alexey Dokuchaev! Reported by: danfe END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-29T19:44:30.454546Z K 7 svn:log V 929 MFC r258537, r258587: r258537 (hrs): Add ICONV_{GET,SET}_ILSEQ_INVALID iconvctl. GNU iconv returns EILSEQ when there is an invalid character in the output codeset while it is valid in the input. However, POSIX requires iconv() to perform an implementation-defined conversion on the character. So, Citrus iconv converts such a character to a special character which means it is invalid in the output codeset. This is not a problem in most cases but some software like libxml2 depends on GNU's behavior to determine if a character is output as-is or another form such as a character entity (&#NNN;). r258587 (peter): Move the iconv wrapper source from libc_nonshared to libc/iconv so that it is all in the one place again. Rename libc/iconv/iconv.c to bsd_iconv.c. Compile the wrappers into libc.a so that WITHOUT_DYNAMICROOT works again. Approved by: re (kib) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-29T20:12:02.831818Z K 7 svn:log V 49 Fix typo Reported by: swildner@DragonFlyBSD.org END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-29T20:14:26.539157Z K 7 svn:log V 30 Fix typo Reported by: emaste END K 10 svn:author V 8 andreast K 8 svn:date V 27 2013-11-29T20:19:00.073594Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-11-29T20:28:37.458055Z K 7 svn:log V 397 Avoid printf after GetMemoryMap The printf may invalidate the memory map obtained in bi_load (resulting in a new MapKey), which then causes ExitBootServices to fail. Some more work is still needed to address GetMemoryMap retries for other situations that may invalidate the memory map, but this change at least allowed me to boot on an Intel DQ77MK system. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-29T21:12:35.356469Z K 7 svn:log V 117 MFC r258348: Document 'enabled' as boolean instead of string. Approved by: bapt (implicit) Approved by: re (gjb) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-11-29T21:13:30.517829Z K 7 svn:log V 310 MFC r258347,r258349: Support SNI in libfetch SNI is Server Name Indentification which is a protocol for TLS that indicates the host that is being connected to at the start of the handshake. It allows to use Virtual Hosts on HTTPS. PR: kern/183583 Approved by: bapt (implicit) Approved by: re (gjb) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-29T21:59:03.746999Z K 7 svn:log V 177 Use the Open Firmware-based CPU frequency determination as a generic fallback if we can't measure CPU frequency. This is also useful on a variety of embedded systems using FDT. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-11-29T22:24:57.463664Z K 7 svn:log V 253 Make sure any waiters on the scan results get notified if the scan task decides to do nothing. If this isn't done, then a scan request whilst a scan occurs in an active channel set or a completed channel set will hang. Tested: * Intel 5100, STA mode END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-11-29T22:35:24.018413Z K 7 svn:log V 125 Use the correct endian-ness accessor for this TLV field. (It's coming from firmware and thus it's defined as little-endian.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-11-29T22:36:00.967499Z K 7 svn:log V 76 Disable this debugging - it's far too verbose when doing TX rate debugging. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-30T03:31:40.045251Z K 7 svn:log V 126 MFC r258669: Document the dvdrom target and NODVD variable. Approved by: re (delphij) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-30T07:03:18.648512Z K 7 svn:log V 221 MFC r258664: Create /var/cache with mode 0755 instead of 0750. This directory is used by many third party applications and having permission 0750 makes it impossible to drop group privileges. Approved by: re (glebius) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-11-30T07:04:35.515758Z K 7 svn:log V 194 MFC r258664: Create /var/cache with mode 0755 instead of 0750. This directory is used by many third party applications and having permission 0750 makes it impossible to drop group privileges. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-30T08:49:52.820848Z K 7 svn:log V 26 Merge head up to r258763. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-11-30T12:51:19.096400Z K 7 svn:log V 458 In http://svnweb.freebsd.org/changeset/base/258221 I introduced a bug which initialized global locks whenever the SCTP stack initialized. This was fixed in http://svnweb.freebsd.org/changeset/base/258574 by rodrigc@. He just initialized the locks for the default vnet. This fix reverts to the old behaviour before r258221, which explicitly makes sure it is only called once, because this works also on other platforms. MFC after: 3 days X-MFC with: r258574. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-11-30T14:36:32.067917Z K 7 svn:log V 118 MFC r258499: Fix for the spurious signal handler call with zero signo in the threaded process. Approved by: re (hrs) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-11-30T14:39:56.978269Z K 7 svn:log V 95 MFC r258499: Fix for the spurious signal handler call with zero signo in the threaded process. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-11-30T15:08:35.398875Z K 7 svn:log V 245 Make process descriptors standard part of the kernel. rwhod(8) already requires process descriptors to work and having PROCDESC in GENERIC seems not enough, especially that we hope to have more and more consumers in the base. MFC after: 3 days END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-11-30T16:26:04.448469Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-11-30T17:07:53.205489Z K 7 svn:log V 32 Add NOPKG to disable pkg-stage. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-11-30T17:25:00.508511Z K 7 svn:log V 46 Update 'GENERIC' to add OMAP4 options/devices END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-11-30T17:31:04.418163Z K 7 svn:log V 172 Update the interrupt handling code. - arm_mask_irq, etc. have been moved to the platform code. - The interrupt decode code is being moved to a common file in sys/dev/fdt END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-30T17:33:49.839621Z K 7 svn:log V 166 MFC r258550: Do not create pkg.conf, as it is not necessary anymore and packagesite is deprecated Approved by: re (glebius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-30T17:40:48.474590Z K 7 svn:log V 126 Update stable/10 to BETA4 as part of the 10.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-11-30T19:39:17.839537Z K 7 svn:log V 15 MFC to r258770 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-11-30T21:27:11.615564Z K 7 svn:log V 71 sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-11-30T21:29:34.191267Z K 7 svn:log V 195 MFC r246857: Regenerate libstdc++'s config.h, synchronizing it with our almost-C99 headers. After verifying the changes in the source code, avoid expl() which is not available in 8.x (or 9.x). END K 10 svn:author V 8 andreast K 8 svn:date V 27 2013-11-30T21:54:55.398249Z K 7 svn:log V 150 Add a printf to inform about the logical memory block size which is in use by the system. This might give a hint why a pSeries system is not booting. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-30T22:16:37.652577Z K 7 svn:log V 65 Similar to the (1 << 31) case it is not defined to do (2 << 30). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-11-30T22:17:27.028121Z K 7 svn:log V 339 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-30T22:46:43.472054Z K 7 svn:log V 44 Work around false positive errors from GCC. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-11-30T22:49:26.804187Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-11-30T23:06:51.775531Z K 7 svn:log V 46 MFC: r258718: fix emulated jail_v0 byte order END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-11-30T23:08:32.041617Z K 7 svn:log V 46 MFC: r258718: fix emulated jail_v0 byte order END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-11-30T23:47:18.071290Z K 7 svn:log V 46 Sort function output on name of the function. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-11-30T23:56:26.501656Z K 7 svn:log V 195 Move OPTIONS_UNSET outside of the PBUILD_FLAGS variable, otherwise the textproc/docproj port build fails. Pointyhat: gjb MFC after: 3 days X-Before-RC1: yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-12-01T02:58:48.750797Z K 7 svn:log V 68 r258780 should not have applied to .S files. Reported by: jmallett END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-01T03:53:21.807961Z K 7 svn:log V 1174 Migrate the sendfile_sync structure into a public(ish) API in preparation for extending and reusing it. The sendfile_sync wrapper is mostly just a "mbuf transaction" wrapper, used to indicate that the backing store for a group of mbufs has completed. It's only being used by sendfile for now and it's only implementing a sleep/wakeup rendezvous. However, there are other potential signaling paths (kqueue) and other potential uses (socket zero-copy write) where the same mechanism would also be useful. So, with that in mind: * extract the sendfile_sync code out into sf_sync_*() methods * teach the sf_sync_alloc method about the current config flag - it will eventually know about kqueue. * move the sendfile_sync code out of do_sendfile() - the only thing it now knows about is the sfs pointer. The guts of the sync rendezvous (setup, rendezvous/wait, free) is now done in the syscall wrapper. * .. and teach the 32-bit compat sendfile call the same. This should be a no-op. It's primarily preparation work for teaching the sendfile_sync about kqueue notification. Tested: * Peter Holm's sendfile stress / regression scripts Sponsored by: Netflix, Inc. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-12-01T07:34:21.712685Z K 7 svn:log V 670 We needlessly panic when trying to flush MKDIR_PARENT dependencies. We had previously tried to flush all MKDIR_PARENT dependencies (and all the NEWBLOCK pagedeps) by calling ffs_update(). However this will only resolve these dependencies in direct blocks. So very large directories with MKDIR_PARENT dependencies in indirect blocks had not yet gotten flushed. As the directory is in the midst of doing a complete sync, we simply defer the checking of the MKDIR_PARENT dependencies until the indirect blocks have been sync'ed. Reported by: Shawn Wallbridge of imaginaryforces.com Tested by: John-Mark Gurney PR: 183424 MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-12-01T08:13:10.117481Z K 7 svn:log V 106 Fix hang on reboot with active iSCSI connections. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-01T09:41:06.882590Z K 7 svn:log V 436 Move my simple logging API to a separate library. It is now already used by hastctl(8), hastd(8) and auditdistd(8) and will soon be also used by casperd(8) and its services. There is no documentation and pjdlog.h header file is not installed in /usr/include/ to keep it private. Unfortunately we don't have /lib/private/ at this point, only /usr/lib/private/, so the library is installed in /lib/. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-01T09:52:38.388141Z K 7 svn:log V 27 Remove trailing backslash. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-12-01T11:59:37.206354Z K 7 svn:log V 135 waitid(2): Do not tell userland programmers to include . Userland should get these definitions by including . END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-12-01T12:24:57.290969Z K 7 svn:log V 145 chmod(2): Document S_ISVTX following SUSv3/SUSv4. S_ISTXT is non-standard. While here, also update fchmodat() standards entry to POSIX.1-2008. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-01T14:03:03.573625Z K 7 svn:log V 12 Merge head. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-12-01T15:06:30.978741Z K 7 svn:log V 133 - Prevent TARGET and TARGET_ARCH from being defined as empty when TARGET="" and/or TARGET_ARCH="" is specified. - Remove extra (). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-12-01T15:24:35.163345Z K 7 svn:log V 66 Use standard CLEANFILES/CLEANDIRS and clean target in bsd.obj.mk. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T16:02:22.828821Z K 7 svn:log V 154 Make uart_cpu_powerpc work on both FDT and OFW systems. This is the last remaining modification required to build kernels that work with both on PowerPC. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-12-01T17:00:57.101283Z K 7 svn:log V 106 test: Simplify the code by unifying op_num and op_type. The global variable t_wp_op is no longer needed. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T17:28:28.961967Z K 7 svn:log V 200 The kernel stack guard pages are only below the stack pointer, not above. Prevent erroneous detection of stack overflows on legitimate faults on the page after this thread's stack. MFC after: 3 days END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-12-01T17:29:00.786411Z K 7 svn:log V 390 This is now working! Fortuna too! * Fix use of mutexes (what was I smoking?) * Tidy up static vraibles; move around a bit (mutexes, sysctl stuff). * Add debugging code. Unit tests are now broken; I'll fix those in my Copious Free Time(tm). Testers and reviewers welcome. To follow: * More sysctls for instrumentation and control. * Final tidy-up pass (I'll throw lint at this too). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T17:29:07.081093Z K 7 svn:log V 80 Remove unnecessary double-setting of the thread's onfault state in copyinstr(). END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-12-01T17:37:03.175046Z K 7 svn:log V 23 MFC - tracking commit. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-12-01T18:37:31.072140Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T19:03:20.453937Z K 7 svn:log V 278 Open Firmware mandates that certain cross-references, in particular those in /chosen, be ihandles. The ePAPR spec makes those cross-reference phandles, since FDT has no concept of ihandles. Have the OF FDT CI module interpret queries about ihandles as cross-reference phandles. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T19:05:32.676967Z K 7 svn:log V 89 Real OF systems have an ihandle under /chosen/stdout, not a phandle. Use the right type. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T19:43:15.853513Z K 7 svn:log V 437 Rearchitect platform memory map parsing to make it less Open Firmware-centric: - Keep the static list of regions in platform.c instead of ofw_machdep.c - Move various merging and sorting operations to platform.c as well - Move apple_hacks code out of ofw_machdep.c and into platform_powermac.c, where it belongs - Move CHRP-specific dynamic-reconfiguration memory parsing into platform_chrp.c instead of pretending it is shared code END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T19:45:04.484868Z K 7 svn:log V 187 No actual hardware supported by FreeBSD requires this SPRG save/restore paranoia, so kill it. In particular, changes to SPRG0 are dangerous, since that is where the PCPU pointer is kept. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-01T19:55:51.972333Z K 7 svn:log V 60 Simplify SF_MNOWAIT handling introducing several variables. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T19:56:30.747632Z K 7 svn:log V 27 Deleted one line too many. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-01T19:59:36.303980Z K 7 svn:log V 129 Revert last few revisions; apologies for the noise. There are very rare, broken systems that require SPRG state to be preserved. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-01T20:03:00.344077Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-01T20:32:16.993956Z K 7 svn:log V 65 More correct code that handles sf wait logic. Submitted by: kib END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-01T20:38:51.337118Z K 7 svn:log V 20 Make it compilable. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-01T21:10:07.220180Z K 7 svn:log V 2457 An attempt of major rewrite of sendfile(2). The core change is that now we don't use VOP_READ() to fetch pages from storage to memory, but VOP_GETPAGES() instead. This was considered by David Greenman in original implementation in 1998, but he decided to use VOP_READ(), to utilize read ahead provided by FFS. Apparently, from a pure Mach VM view that choice wasn't a correct one, but worked for a decade and a half. Recently, investigations from Scott Long have shown that: a) sendfile(2) leaves touched pages cached by buf layer, they are wired, and at a high load, buf layer can hold them too long, so that a pagedaemon sweep starts. b) the readahead heuristic from FFS isn't enough, and better provide a manual static readahead to the sendfile itself via a global sysctl. Changes: 1) sendfile_readpage() goes away entirely. 2) sendfile_swapin() emerges. This function takes array of vm_pages, that needs to be fetched from storage to wired memory. The function iterates through pages, gets a readahead hint from vm_pager_has_page(), and then asks vm_page_get_pages() for a block of pages. Notice, that sendfile_swapin() doesn't differentiate between vnode backed descriptors and shared memory backed, like old code used to. Also notice, that function is a pure VM function, and can be moved to sys/vm, being renamed. For now function ignores configured readahead sysctl. 3) Main vn_sendfile() cycle gets simplier. - Outer cycle is driven by the "rem" variable, that is initialized at the beginning and shrinks as we go forward. The only exception for "rem" to unexpectedly change its value is a file resize. - Inner cycle is driven by number of pages, and number of pages is calculated as minimum of available space in socket and "rem". Basic performance testing showed no regressions in timing. Number of I/Os decreased comparing to sendfile() from head, but increased compared to previous version of the projects/sendfile. On a sample 300 Mb file: I/Os head 3247 projects/sendfile 680 new code 2826 A file fetched immediately gets into inactive memory. Top quote from head, after reboot and fetch of a 300 Mb file: Mem: 26M Active, 192M Inact, 177M Wired, 159M Buf, 588M Free And from new code: Mem: 25M Active, 320M Inact, 46M Wired, 22M Buf, 592M Free In collaboration with: kib Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-12-01T21:44:05.945119Z K 7 svn:log V 74 Move bus_dma_get_range and bus_dma_get_range_nb to use the platform code. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-01T22:08:19.896415Z K 7 svn:log V 607 libiberty: upstream updates. There is a new ChangeLog.gcc43 file but most notable: * floatformat.c (get_field): Fix segfault with little-endian word order on 64-bit hosts. (put_field): Likewise. (min): Move definition. gcc/cp/ChangeLog 2007-05-04 Geoffrey Keating PR 31775 * mangle.c (write_mangled_name): Mangle static variable names. (write_unqualified_name): Use local-source-name for namespace-scope static variables. (Completes FreeBSD's r258017 ) Obtained from: gcc 4.3 (rev. 118552, 120097, 20698, 120702, 121364, 122972, 126588; GPLv2) MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-12-01T22:43:14.516073Z K 7 svn:log V 53 MFC r256557 - kernel and userland osreldate helpers. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-02T00:44:36.229462Z K 7 svn:log V 733 Add new sysctl, kern.supported_abis, containing the list of FreeBSD MACHINE_ARCH values whose binaries this kernel can run. This patch provides a feature requested for implementing pkgng ABI identifiers in a robust way. The list is designed to indicate whether, say, an i386 package can be run on the current system. If kern.supported_abis contains "i386", then the answer is yes. Otherwise, the answer is no. At the moment, this only supports MACHINE_ARCH and MACHINE_ARCH32. As we gain support for more interesting combinations, this needs to become more flexible, possibily through the sysent framework, along with the hw.machine_arch emulation immediately preceding this code in kern_mib.c. Reviewed by: imp MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-12-02T02:33:03.659037Z K 7 svn:log V 71 Add definitions for the additional PIO pins found on recent AT91 SoCs. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-12-02T03:11:25.999225Z K 7 svn:log V 407 In a situation where: - The remote host sends a FIN - in an ACK for a sequence number for which an ACK has already been received - There is still unacked data on route to the remote host - The packet does not contain a window update The packet may be dropped without processing the FIN flag. PR: kern/99188 Submitted by: Staffan Ulfberg Discussed with: andre MFC after: never END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-12-02T03:36:44.528060Z K 7 svn:log V 197 Partial revert of r258779 and r258780: The directory sys/dev/drm2/i915 is apperently contributed code. Revert to the broken version of this file to make future imports easier. Requested by: kib END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-02T03:40:51.494791Z K 7 svn:log V 1448 Add some code to double-check whether we're correctly populating the TX ring according to what the firmware requires. The firmware requires A-MPDU sub-frames to be at a very specific ring offset - that is, the ring slot offset should be (seqno % 256.) This holds for every NIC I've tested thus far except the 4965, which starts erroring out here shortly before the firmware panics. Which is good, it's doing what it's supposed to (read: capture that we've screwed up somewhere.) The specifics about getting this stuff right: * the initial seqno allocation should match up with the ringid. * .. yes, this means we can start at a ring offset that isn't zero. * .. because we program the start seqno in the firmware message to setup the AC. * The initial seqno allocation may be non-zero _and_ frames may be being transmitted during a-mpdu negotiation. I faced similar issues on ath(4) and had to software queue frames to that node+TID during A-MPDU negotiation. * seqno allocation should be in lockstep with ring increments. * If we fail to transmit some segment, no, we shouldn't reuse that ring slot. We should just transmit a BAR (which we aren't yet doing, sigh) and move onto the next seqno. * In theory there shouldn't be any holes in the seqno space when we are transmitting frames. Tested: * 4965 (throws problems, so yes we have to fix this); * 5100 (seems ok); * 6200 (seems ok); * 2200 (seems ok); * 2230 (seems ok). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-02T03:42:39.908810Z K 7 svn:log V 71 Add some sanity checks to the TLV fetch. Obtained from: Linux iwlwifi END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-02T03:43:37.642674Z K 7 svn:log V 30 Oops - fix bad indent. Sorry! END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-02T03:47:08.766353Z K 7 svn:log V 617 libcpp: Merge fixes from upstream GCC preprocessor/29966: * macro.c (lex_expansion_token): Save and restore cpp_reader's cur_token. (_cpp_create_definition): Don't restore cur_token here. * lex.c (_cpp_lex_token): Added assertion. GCC preprocessor/28709: * macro.c (paste_tokens): Remove PASTE_LEFT from the old lhs. GCC c/31924 * expr.c (interpret_float_suffix): Check for invalid suffix. GCC preprocessor/14331 * lex.c (_cpp_get_fresh_line): Don't warn if no newline at EOF. Fixup whitespacing Obtained from: gcc per-4.3 (rev. 121340, 124356, 124358, 124730, 125212, 125255 ; GPLv2) MFC after: 3 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-02T03:49:33.468830Z K 7 svn:log V 53 Log the rx ring offset as part of the debug message. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-12-02T03:52:40.695484Z K 7 svn:log V 166 Add a nand flash controller driver for Atmel at91 family. Tested only on at91rm9200 so far. The files.at91 has listed a nand driver for ages, but it never existed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-02T03:59:45.509826Z K 7 svn:log V 2023 Overhaul the iwn(4) scan infrastructure to be slightly more "correct" for these chipsets. * Correctly set the active/passive flag in the scan request - this is NOT a "is the channel active|passive"; it's to do with whether we have an SSID to actively scan for or not. The firmware takes care of the active/passive setup of the channel. * Calculate the active/passive dwell time based on the beacon interval and the channel mode, rather than using a hard coded value. * For now, hardcode the scan service_time. It's defined as: 31:22 - number of beacon intervals to come back onto the home channel for; 0:21 - time (microseconds) to come back onto the home channel for. When doing an active scan when the NIC is active (whether we're associated or not - it only matters if we've setup the NIC to a destination or not) this determines how much time to stay on the home channel for when scanning. We can tune this based on the amount of active traffic. For now it's 4 beacon intervals and 100 microseconds. * Fix the "good crc threshold" setting. It differs based on the NIC firmware. Some older firmware required a workaround; the later firmware instead treats the field as a flag. * Enforce that we are not sending a scan command if one is already pending. Any time this is done is a bug and it absolutely needs to be fixed - so be very loud. * Add the SCAN flag to a few debug messages that are scan related but only occuring under STATE. Now, this does get noisy when you're scanning in an actively busy 2GHz network as the firmware (for reason I don't quite yet understand) seems hell bent on staying on some passive channels longer than it should. However, it should eventually recover and complete the scan. This is a work in progress; please let me know if things get stuck or if things improve! Tested: * intel centrino 2200 * intel centrino 2230 * intel 6200 * intel 5100 * intel 4965 (gets upset, but that's a known issue) Obtained from: linux iwlwifi END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-12-02T05:21:54.508112Z K 7 svn:log V 98 Add support for BCM57764, BCM57767, BCM57782, BCM57786 and BCM57787. Submitted by: jhb PR: 184304 END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-12-02T05:35:50.787789Z K 7 svn:log V 191 Rework sa6_checkzone's checks. RFC 3493 doesn't requre sin6_scope_id must be set for multicast addresses. Only addresses from link-local and interface-local scopes must have it initialized. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-12-02T05:43:23.815928Z K 7 svn:log V 321 Add sa6_checkzone_pcb function. Application can specify outgoing interface using advanced socket API. E.g. IPV6_PKTINFO or IPV6_MULTICAST_IF socket options. sa6_checkzone_pcb can be used to check a passed from application sockaddr_in6 structure and to initialize sin6_scope_id, when socket has some of this options set. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-02T05:45:11.372650Z K 7 svn:log V 90 * Sort the copyright lines by date * Ok ok, I've touched this enough to claim part of it. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-12-02T05:57:09.059008Z K 7 svn:log V 54 Use sa6_checkzone_pcb() function when inpcb is known. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-12-02T06:09:52.289168Z K 7 svn:log V 38 Return a more appropriate error code. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-02T06:14:05.638487Z K 7 svn:log V 602 Replace option BUSDMA_MI with LEGACY_BUS_DMA and provide the beginning of a compatibility shim from the legacy bus_dma interface to the new busdma/mi interface. The shim makes it possible (by intent) to switch to busdma/mi without first having to port drivers to it. Use the new LEGACY_BUS_DMA option to compile-in the actual legacy implementation when *not* using busdma/mi and thus when now using the shim. Otherwise the shim provides the implementation, which tends to do something else. The shim needs fleshing out to be functional. In its current form it merely allows LINT to build (for amd64). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-12-02T06:17:29.663148Z K 7 svn:log V 307 Rethink usage of IPV6_USEROIF flag. We can't just use outgoing interface when destination address is not link-reachable, because we must use gateway's layer2 address when constructing packet. Add route information where it can be cached and then pass it to ip6_output. Also count some errors as bad scope. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-02T08:21:28.417548Z K 7 svn:log V 647 Please welcome casperd daemon. It (and its services) will be responsible for giving access to functionality that is not available in capability mode sandbox. The functionality can be precisely restricted. Start with the following services: - system.dns - provides API compatible to: - gethostbyname(3), - gethostbyname2(3), - gethostbyaddr(3), - getaddrinfo(3), - getnameinfo(3), - system.grp - provides getgrent(3)-compatible API, - system.pwd - provides getpwent(3)-compatible API, - system.random - allows to obtain entropy from /dev/random, - system.sysctl - provides sysctlbyname(3-compatible API. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-12-02T08:36:53.435224Z K 7 svn:log V 22 MFC - Tracking Commit END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-12-02T09:07:43.676243Z K 7 svn:log V 204 The RUN_MAX_TXSZ constat is defined as Tx desc + Tx wireless info + MCLBYTES + max padding. We were lucky in that run(4) working fine since both rt2860_rxwi and rt2860_txwi structure sizes are the same. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-12-02T09:23:34.837889Z K 7 svn:log V 67 Fix typos. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-12-02T09:47:22.552536Z K 7 svn:log V 69 Grammar fix. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-02T10:18:25.729283Z K 7 svn:log V 68 Forgot to 'svn add' lib/libcasper/ directory. Reported by: glebius END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-12-02T10:59:41.690953Z K 7 svn:log V 288 MFC r258347,r258349: Support SNI in libfetch SNI is Server Name Indentification which is a protocol for TLS that indicates the host that is being connected to at the start of the handshake. It allows to use Virtual Hosts on HTTPS. PR: kern/183583 Approved by: bapt (implicit) END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-12-02T13:09:59.025429Z K 7 svn:log V 715 Enable missing Access Flag for secondary cores on ARMv6/v7 Spotted by: Wojciech Macek Obtained from: Semihalf > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M sys/arm/arm/locore.S END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-12-02T14:26:57.870337Z K 7 svn:log V 16 Sync with head. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-02T14:28:30.676879Z K 7 svn:log V 352 Provide reproducibility between builds by building pkg(8) from ports, instead of using pkg-bootstrap. This should resolve a problem that was discovered during 10.0-BETA4 freebsd-update(8) builds, Reported by: secteam (delphij) MFC after: 3 days X-MFC-to-10: possibly immediately, pending freebsd-update(8) builds Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-12-02T14:40:26.330591Z K 7 svn:log V 3225 Improve robustness and consistency, and remove redundant lines with no major functional change: - Use stderr for critical error messages. - Set LC_ALL=en_US.UTF-8 for svn and LC_ALL=C for the others just in case. This is because svn co can fail when LANG=C. - s/freebsd/FreeBSD/. - Use /sbin:/bin:/usr/sbin:/usr/bin instead of /bin:/sbin... for $PATH. - Do not use /usr/local/bin in $PATH except for docproj build. - Use $(( )) instead of $(expr). - Do not override CHROOTDIR, SVNROOT, SRCBRANCH, DOCBRANCH, PORTBRANCH, etc. This script should be invoked with env(1) -i to strictly control variable definitions. - Remove a CHROOTDIR check because CHROOTDIR is always set to the default value (/scratch). Check existence of the directory instead. - Define DESTDIR as /R/ explicitly. - Use an error handler in sh(1) for ENOENT of the configuration file. - Handle YES/NO variables for make release consistently. - Use consistent svn co options for all trees. - Add NODVD and NOPKG support. - Prevent the case of !NODOC && NOPORTS for the moment. This was supported in the old Makefile.inc.docports but it was removed. - Do not define the default kernel to be built as GENERIC because some architectures do not use it (GENERIC64 for powerpc64, for instance). Let Makefile to determine the default kernel if KERNEL is empty. Also, add KERNELS_BASE support because it was used in the old configuration to specify the kernel. KERNEL and KERNELS_BASE should be deprecated since KERNCONF can be used directly. - Support the case when either TARGET or TARGET_ARCH is defined. - Use DB_FROM_SRC for buildworld/installworld stage before entering the chroot environment. This prevents "Required user XXX is missing" error when building a newer system on an old system. - Split fetch stage of the docproj port and put it just after checking out the source trees. This eliminates network access from the chroot environment and makes it easy to support complex network configurations. - Add HTTP_PROXY support. It is used for subversion and make fetch-recursive stage. - Define a fake LOCALBASE and set CLEAN_FETCH_ENV to prevent from using undeterministic configuration in the host environment. DISABLE_VULNERABILITIES is also set just in case. - Use MASTER_SITE_FREEBSD to use ftp.FreeBSD.org first. - Unset options of X11 and SVN in docproj port build. They are not necessary. - Always create a rtld hints file. Use forcestart instead of forcerestart. - Use env(1) -i flag to prevent leak of variables wherever possible. - Create empty make.conf and src.conf when it is not specified to simplify the logic. - Remove RELSTRING because it is no longer used. - Use -C /path for make consistently instead of using both cd and -C. - Remove eval for make of final release building. It was used because KERNCONF can have multiple values, but += can handle that case better. - TODO: * svn co of the ports tree should be minimized to only ones needed for doc build when !NODOC && NOPORTS. Extracting whole of the ports tree is time-consuming on slow architectures. * Package fetching for DVD should be done before entering chroot environment. Tested by: allbsd.org daily snapshot END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-02T17:01:01.856169Z K 7 svn:log V 85 Regression tests for existing Casper services. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-02T17:07:22.464275Z K 7 svn:log V 107 Both libcasper and libcapsicum libraries have to be installed in /lib/, as they are used by /sbin/casperd. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-02T17:45:43.781240Z K 7 svn:log V 121 Remove fdtbus_bs_tag definition, which is now obsolete. The remainder of this file is also slated for future demolition. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-02T18:20:07.767613Z K 7 svn:log V 214 MFC r258737 In keg_dtor(), print out the keg name in the "Freed UMA keg was not empty" message printed to the console. This makes it easier to track down the source of certain memory leaks. Suggested by: adrian END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-02T18:47:57.065934Z K 7 svn:log V 244 Turn off the dvdrom target by default. dvd1.iso is now built by specifying 'WITH_DVD=1' during 'make release'. This caused some problems during the freebsd-update builds for 10.0-BETA4. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-02T19:02:58.757705Z K 7 svn:log V 171 Fix PKG_ABI detection in bsdconfig(8) after pkg-1.2 is released, since the format of 'pkg -vv' output has changed. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-12-02T19:49:52.003610Z K 7 svn:log V 29 mdoc: quote string properly. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-02T21:58:09.966198Z K 7 svn:log V 45 Fix a "possibly used uninitialized" warning. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-02T22:00:15.686761Z K 7 svn:log V 10 Fix typo. END