ƒ°231365 191 164 164 172 503 654 129 238 830 137 137 137 248 139 308 256 340 314 314 274 144 126 163 139 351 351 340 395 321 321 99 202 398 235 329 309 626 588 877 372 543 284 206 202 174 208 209 134 285 154 200 323 210 188 339 114 170 230 256 504 307 339 511 141 162 165 137 222 349 212 237 386 143 251 181 149 137 507 544 171 257 149 248 173 253 308 213 227 176 272 212 353 417 268 336 226 257 159 283 202 209 178 225 171 277 287 154 352 168 206 210 154 181 190 197 147 252 235 233 314 164 313 127 280 166 141 180 142 180 131 268 250 379 266 144 145 210 255 246 145 308 467 526 386 206 218 121 266 128 154 409 250 154 299 798 166 262 196 153 153 244 134 386 318 441 255 549 255 424 185 773 176 311 139 601 519 601 519 195 226 166 884 356 884 124 153 540 540 540 558 558 558 K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-10T09:46:30.783426Z K 7 svn:log V 70 Pull up mergeinfo from r226345,226464,226879 to etc/ where it belongs END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-10T09:46:59.693586Z K 7 svn:log V 70 Pull up mergeinfo from r226345,226464,226879 to etc/ where it belongs END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-10T09:55:18.781256Z K 7 svn:log V 81 Add alias for the partition with type 0x42 to the MBR scheme. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-10T09:58:20.689419Z K 7 svn:log V 407 Extend the HAL code to allow the RX and TX chainmask to be overridden by capabilities. Add an ar5416SetCapability() function, which contains logic to override the chainmask and update the relevant stream. This is designed to be called after the attach function, which presets the TX/RX chainmask and stream. TODO: check the chainmask against the hardware chainmask so non-existing chains aren't enabled. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-10T10:01:09.830447Z K 7 svn:log V 558 Add in a new driver feature to allow the TX and RX chainmask to be overridden at attach time. Some 802.11n NICs may only have one physical antenna connected. The radios will be very upset if you try enabling radios which aren't connected to antennas. This allows hints to override the TX and RX chainmask. These hints are: hint.ath.X.rx_chainmask hint.ath.X.tx_chainmask They can be set at either boot time or in kenv before the module is loaded. This and the previous HAL commit were sponsored in late 2011 by Hobnob, Inc. Sponsored by: Hobnob, Inc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-10T10:09:16.786528Z K 7 svn:log V 34 .. oops, use the right chainmask. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-10T10:10:41.296976Z K 7 svn:log V 142 Enforce the hardware chainmask when allowing the user to override the chainmask. This way a disabled radio chain can't be enabled by a user. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-10T10:18:30.538244Z K 7 svn:log V 735 MFC r208307: This change does the following for the scripts that run up through FILESYSTEMS (the default early_late_divider): 1. Move sysctl to run first 2. Move as many BEFOREs to REQUIREs as possible. 3. Minor effect, move hostid_save from right before mdconfig to right after. A lot of the early scripts make use of sysctl one way or another so running this first makes a lot of sense given that system-critical values are often placed in sysctl.conf. (More details in original log.) In addition to the changes from this revision, tweak a few other rcorder elements in order to minimize the differences between the order before and after this change, mostly related to scripts still in this branch that are no longer in HEAD. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-10T10:22:42.885571Z K 7 svn:log V 43 MFC r228191: Ensure kldxref is run first. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-10T10:23:20.911077Z K 7 svn:log V 43 MFC r228191: Ensure kldxref is run first. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-10T10:23:55.410478Z K 7 svn:log V 43 MFC r228191: Ensure kldxref is run first. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-10T11:20:13.941768Z K 7 svn:log V 156 Remove outdated piece of information. devtoname() always returns a pathname to the device. It will never return a #major/minor string. MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-02-10T12:01:19.310864Z K 7 svn:log V 45 Be more helpful about alternate superblocks. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-10T12:35:57.187522Z K 7 svn:log V 216 Remove direct access to si_name. Code should just use the devtoname() function to obtain the name of a character device. Also add const keywords to pieces of code that need it to build properly. MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-10T12:40:50.272147Z K 7 svn:log V 164 Merge si_name and __si_namebuf. The si_name pointer always points to the __si_namebuf member inside the same object. Remove it and rename __si_namebuf to si_name. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T13:15:11.582434Z K 7 svn:log V 248 MFC r223741: Tag mbufs of all incoming frames or packets with the interface's FIB setting (either default or if supported as set by SIOCSIFFIB, e.g. from ifconfig). Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) Reviewed by: julian END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-10T13:35:49.611921Z K 7 svn:log V 222 MFC r231144: Merge illumos revision 13594: uninitialized variables in zfs(8) may make snapshots undestroyable [1] References: https://www.illumos.org/issues/2067 [1] Obtained from: illumos (issue #2067) PR: bin/164802 END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-10T13:36:39.652569Z K 7 svn:log V 222 MFC r231144: Merge illumos revision 13594: uninitialized variables in zfs(8) may make snapshots undestroyable [1] References: https://www.illumos.org/issues/2067 [1] Obtained from: illumos (issue #2067) PR: bin/164802 END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-10T13:40:32.041003Z K 7 svn:log V 182 Detect file modification properly by using tv_nsec. POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond precision to detect file modification. MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-10T13:47:40.967431Z K 7 svn:log V 53 Unbreak build. libprocstat still uses __si_namebuf. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-10T13:51:02.354838Z K 7 svn:log V 35 Correct date. It seems to be 2012. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-10T14:55:47.262624Z K 7 svn:log V 72 Remove unneeded newline. It fits in 80 columns now. Pointed out by: jh END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-02-10T15:34:36.174649Z K 7 svn:log V 46 Reduce diffs against i386. MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-02-10T15:54:17.636939Z K 7 svn:log V 255 MFC r230403. When creating the jails /dev/log symlink, do it by full path to avoid creating stray "log" symlinks if the mount fails. That apparently happens in some ezjail configs. PR: conf/143084 Submitted by: Dirk Engling END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-02-10T15:54:39.558399Z K 7 svn:log V 255 MFC r230403. When creating the jails /dev/log symlink, do it by full path to avoid creating stray "log" symlinks if the mount fails. That apparently happens in some ezjail configs. PR: conf/143084 Submitted by: Dirk Engling END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T16:05:33.602138Z K 7 svn:log V 248 MFC r223741: Tag mbufs of all incoming frames or packets with the interface's FIB setting (either default or if supported as set by SIOCSIFFIB, e.g. from ifconfig). Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) Reviewed by: julian END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T17:49:14.290007Z K 7 svn:log V 299 MFC r217554: Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need to rely on the format string. For SYSCTL_PROC instances that I noticed a discrepancy between the CTLTYPE and the format specifier, fix the CTLTYPE. The commit is from mdf@ and the MFC has been discussed with him. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-10T18:14:25.244570Z K 7 svn:log V 228 MFC 231170 Update the mps(4) man page for the changes in the new LSI-supported driver. This should have been included in change 230592. The supported hardware section still needs some updating to reflect the current reality. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-10T18:15:45.519168Z K 7 svn:log V 228 MFC 231170 Update the mps(4) man page for the changes in the new LSI-supported driver. This should have been included in change 230592. The supported hardware section still needs some updating to reflect the current reality. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-02-10T18:31:35.328412Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T18:43:04.620854Z K 7 svn:log V 106 MFC r217760: Add stream scheduling support. This work is based on a patch received from Robin Seggelmann. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T18:49:28.694266Z K 7 svn:log V 302 MFC r217894: Change infrastructure for SCTP_MAX_BURST to allow compliance with the latest socket API ID. Especially it can be disabled. Full compliance needs changing the structure used in the socket option. Since this breaks the API, it will be a seperate commit which will not be MFCed to stable/8. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T18:53:39.838275Z K 7 svn:log V 139 MFC r217913: * Use 300 ms as the default for RTO_MIN. * Disable burst mitigation by default. * Remove unused constant. Discussed with rrs. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T18:55:50.349579Z K 7 svn:log V 233 MFC r218037: Fix a bug in the way ECN-Echo chunk sends were being accounted for. The counting was such that we counted only when we queued a chunk, not when we sent it. Now keep an additional counter for queuing and one for sending. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T18:58:36.546465Z K 7 svn:log V 213 MFC r218039: Keep track of the real last RTT on each net. This will be used for Data Center congestion control, we won't want to engage it in the ECN code unless we KNOW that the RTT is less than 500us. From rrs@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:02:07.652540Z K 7 svn:log V 530 MFC r218072: Fixes to ECN in SCTP. 1) ECN was on an association basis, this is incorrect and will not work with CMT or for that matter if the user is sending to multiple addresses. This commit makes ECN on a per path basis. 2) Adopt the new format for the ECN internet draft. This also maintains compatability with old format chunks as well. 3) Keep track of the real time of a RTT down to micro seconds. For some future conditional features (for like a data center this is good information to have). From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:04:26.887213Z K 7 svn:log V 492 MFC r218129: More ECN fixes: 1) We now remove ECN-Nonce since it will no longer continue as a I-D 2) Eliminate last_tsn_echo, this tied us to an assoc not the net and thus we were not doing m-homing on the ECN-Echo senders side right. 3) Increment the count going out even if the TSN in lower in the pending ECN-Echo, this way the receiver knows exactly how many packets were marked even with network re-ordering 4) Fix so we DO NOT stop doing delayed sack if a ECN Echo is in queue END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:07:32.366529Z K 7 svn:log V 781 MFC r218186: 1) Allow a chunk to track the cwnd it was at when sent. 2) Add separate max-bursts for retransmit and hb. These are set to sysctlable values but not settable via the socket api. This makes sure we don't blast out HB's or fast-retransmits. 3) Determine on the first data transmission on a net if its local-lan (by being under or over a RTT). This can later be used to think about different algorithms based on locallan vs big-i (experimental) 4) The cwnd should NOT be allowed to grow when an ECNEcho is seen (TCP has this same bug). We fix this in SCTP so an ECNe being seen prevents an advance of cwnd. 5) CWR's should not be sent multiple times to the same network, instead just updating the TSN being transmitted if needed. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:10:09.808611Z K 7 svn:log V 276 MFC r218211: Adds an experimental option to create a pool of threads. These serve as input threads and are queued packets based on the V-tag number. This is similar to what a modern card can do with queue's for TCP... but alas modern cards know nothing about SCTP. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:12:23.143025Z K 7 svn:log V 447 MFC r218219: Fix the per CPU stats so that: 1) They don't use the giant "MAX_CPU" define and instead are allocated dynamically based on mp_ncpus 2) Will zero with the netstat -z -s -p sctp 3) Will be properly handled by both the sctp_init and finish (the multi-net stuff was incorrectly bzero'ing in sctp_init the wrong size.. the bzero is now moved to the right places). And of course the free is put in at the very end. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:15:05.020139Z K 7 svn:log V 188 MFC r218232: 1) Move per John Baldwin to mp_maxid 2) Some signed/unsigned errors found by Mac OS compiler (from Michael) 3) a couple of copyright updates on the effected files. From rrs@. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-10T19:17:14.283460Z K 7 svn:log V 111 - Fix spelling of R_MIPS_RELGOT - Add R_MIPS_JALR relocation - Add TLS relocation types Obtained from: NetBSD END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:19:15.487960Z K 7 svn:log V 106 MFC r218235: Make sure that changing the ECN sysctl does not affect exisiting associations and endpoints. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:22:21.286829Z K 7 svn:log V 79 MFC r218241: Fix several bugs in the stream schedulers. From Robin Seggelmann. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:27:03.043914Z K 7 svn:log V 112 MFC r218269: 1) Fix cpu mapping per JB's suggestions 2) Fix it so INIT's don't always end up on CPU0 From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:29:38.191170Z K 7 svn:log V 113 MFC r218319: 1) Typo correction in comments and one spacing change. 2) Mass update to all copyrights. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:37:23.966085Z K 7 svn:log V 39 MFC r218335: Add support for M_FLOWID. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:40:19.610275Z K 7 svn:log V 189 MFC r218371: 1) Use same scheme Michael and I discussed for a selected for a flowid 2) If flowid is not set, arrange so it is stored. 3) If flowid is set by lower layer, use it. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:47:15.018116Z K 7 svn:log V 59 MFC r218392: 1) Track when flowid does get set. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:49:35.532574Z K 7 svn:log V 104 MFC r218393: If not set (due to some error Michael is working on fixing) set it for the net. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:52:18.523867Z K 7 svn:log V 227 MFC r218400: Fix bugs related to M_FLOWID: * Store the flowid when receiving an SCTP/IPv6 packet. * Store the flowid when receiving an SCTP packet with wrong CRC. * Initilize flowid correctly. * Put test code under INVARIANTS. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:54:18.245484Z K 7 svn:log V 114 MFC r218521: Remove addresses from endpoint when there are no associations. This fixes a bug reported by brucec@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:56:02.079103Z K 7 svn:log V 93 MFC r218639: Fix several bugs related to stream scheduling. Obtained from: Robin Seggelmann END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T19:57:58.275838Z K 7 svn:log V 243 MFC r218641: Fix a bug reported by Jonathan Leighton in his web-sctp testing at the Univ-of-Del. Basically when a 1-to-1 socket did a socket/bind/send(data)/close. If the timing was right we would dereference a socket that is NULL. From rrs@. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-10T19:58:04.247445Z K 7 svn:log V 20 Remove debug output END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:00:21.576817Z K 7 svn:log V 75 MFC r218818: Bugfix: Get per vnet sysctl variables and statistics working. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:07:01.185775Z K 7 svn:log V 134 MFC r219013: * Cleanup the code computing the retransmission timeout. * Fix an initialization bug for the scaled variance of the RTO. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:09:23.345516Z K 7 svn:log V 160 MFC r219014: * Fix several bugs where the scaled versions of srtt and rttvar where used incorrectly. * Use appropriate variable names for RTO instead of RTT. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:17:28.438981Z K 7 svn:log V 408 MFC r219057: Improvements to CC modules: 1) Add four new points that allow you to get more information to cc algo's 2) Fix the case where user changes module on a existing TCB, in such a case, the initialization module needs to be called on all nets. 3) Move htcp_cc structure to a union that other modules can use. 4) Add 5th point for get/set socket options for cc_module specific options From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:19:38.782092Z K 7 svn:log V 211 MFC r219120: Adds a new Congestion Control that helps reduce the RTT that a flow will build up in buffers in transit. It is a slight modification to RFC2581 but is more friendly i.e. less aggressive. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:22:45.444110Z K 7 svn:log V 243 MFC r219397: Tunes and fixes the new DC-CC to seem to hit the right mix. Still may need some tweaks but it appears to almost not give away too much to an RFC2581 flow, but can really minimize the amount of buffers used in the net. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:27:58.361545Z K 7 svn:log V 415 MFC r221249: Improve compilation of SCTP code without INET support. Some bugs where fixed while doing this: * ASCONF-ACK messages might use wrong port number when using IPv6. * Checking for additional addresses takes the correct address into account and also does not do more comparisons than necessary. This patch is based on one received from bz@ who was sponsored by The FreeBSD Foundation and iXsystems. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:29:55.422514Z K 7 svn:log V 46 MFC r221251: Remove some leftover debug code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:31:59.679636Z K 7 svn:log V 67 MFC r221328: Some more cleanups related to an kernel without INET. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:34:20.608384Z K 7 svn:log V 70 MFC r221410: Add a missing break. This bug was introduced in r221249. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:36:17.154075Z K 7 svn:log V 42 MFC r221411: Remove code with any effect. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:38:44.825306Z K 7 svn:log V 126 MFC r221460: Implement Resource Pooling V2 and an MPTCP like congestion control. Based on a patch received from Martin Becke. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:45:17.367772Z K 7 svn:log V 253 MFC r221512: * Update copyright notice. * Cleanup usage of iov's. * Add support for SCTP_TIMEOUTS socketoption. * Fix a bug in sctp_recvmsg(): return the msg_flags in case of an error. * Fix a bug in the error handling of sctp_peeloff(): return the -1. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:49:18.205958Z K 7 svn:log V 116 MFC r221549: Change the name of an internal structure, since the name is used by a structure of the (new) SCTP API. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:54:20.820808Z K 7 svn:log V 141 MFC r221627: Fix a locking issue showing up on Mac OS X when subscribing to authentication events. DTLS/SCTP renegotiations trigger the bug. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T20:57:46.359624Z K 7 svn:log V 290 MFC r221904: Fix the source address selection for boundall sockets when sending INITs to a global IPv4 address having only private IPv4 address. Allow the usage of a private address and make sure that no other private address will be used by the association. Initial work was done by rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T21:01:06.440891Z K 7 svn:log V 48 MFC r222028: Fix whitespacing. Reported by scf@ END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-10T21:03:04.105659Z K 7 svn:log V 156 Add a driver for Emulex OneConnect ethernet cards (10 Gbit PCIe) A manpage will come in a future commit. Submitted by: Naresh Raju Gottumukkala (emulex) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T21:03:17.889381Z K 7 svn:log V 86 MFC r222029: Copy out the mtu when calling getsockopt() with SCTP_GET_PEER_ADDR_INFO. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T21:05:34.339018Z K 7 svn:log V 54 MFC r222077: Unbreak INET-less build. Reported by bz@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T21:07:52.961276Z K 7 svn:log V 42 MFC r222459: Get rid of unused functions. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-10T21:26:25.716759Z K 7 svn:log V 414 In cpu_set_user_tls(), consistently set PCB_FULL_IRET pcb flag for both 64bit and 32bit binaries, not for 64bit only. The set of the flag is not neccessary there, because the only current user of the cpu_set_user_tls() is create_thread(), which calls cpu_set_upcall() before and cpu_set_upcall() itself sets PCB_FULL_IRET. Change the function for consistency and preserve existing KPI for now. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T21:28:38.661157Z K 7 svn:log V 448 MFC r223132: Add support for the newly added SCTP API. In particular add support for: * SCTP_SNDINFO, SCTP_PRINFO, SCTP_AUTHINFO, SCTP_DSTADDRV4, and SCTP_DSTADDRV6 cmsgs. * SCTP_NXTINFO and SCTP_RCVINFO cmgs. * SCTP_EVENT, SCTP_RECVRCVINFO, SCTP_RECVNXTINFO and SCTP_DEFAULT_SNDINFO socket option. * Special association ids (SCTP_FUTURE_ASSOC, ...) * sctp_recvv() and sctp_sendv() functions. Modified because SCTP_MAXBURST was not backported. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-10T21:33:12.284944Z K 7 svn:log V 79 Add a test program for recently added ptrace(2) interfaces. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:06:08.450090Z K 7 svn:log V 161 MFC r223152: * Fix the handling of addresses in sctp_sendv(). * Add support for SCTP_SENDV_NOINFO. * Improve the error handling of sctp_sendv() and sctp_recv(). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:07:51.502969Z K 7 svn:log V 54 MFC r223154: Fix two typos and remove redundant code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:10:36.837999Z K 7 svn:log V 152 MFC 223162: Add SCTP_DEFAULT_PRINFO socket option. Fix the SCTP_DEFAULT_SNDINFO socket option: Don't clear the PR SCTP policy when setting sinfo_flags. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:13:11.283681Z K 7 svn:log V 78 MFC r223178: Update the list of supported socket options for sctp_opt_info(). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:14:34.906272Z K 7 svn:log V 157 MFC r223225: Document the latest changes to sctp_opt_info() in the code. This makes sctp_opt_info() compiliant with the latest version of the socket API ID. END K 10 svn:author V 8 cracauer K 8 svn:date V 27 2012-02-10T22:16:17.786850Z K 7 svn:log V 210 Fix bin/164947: tee looses data when writing to non-blocking file descriptors tee was not handling EAGAIN patch submitted by Diomidis Spinellis . Thanks so much reproduced and re-tested locally END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:16:52.069176Z K 7 svn:log V 117 MFC r223613: Add support for SCTP_PR_SCTP_NONE which I misded to add. This constant is defined in the socket API ID. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:19:07.961816Z K 7 svn:log V 131 MFC r223697: Add the missing sca_keylength field to the sctp_authkey structure, which is used the the SCTP_AUTH_KEY socket option. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:21:50.675257Z K 7 svn:log V 81 MFC r223947: Truncate link addresses like it is done for any other address type. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:26:33.238899Z K 7 svn:log V 176 MFC r223963: The socket API only specifies SCTP for SOCK_SEQPACKET and SOCK_STREAM, but not SOCK_DGRAM. So don't register it for SOCK_DGRAM. While there, fix some indentation. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:29:41.259934Z K 7 svn:log V 116 MFC r223965: Don't check for SOCK_DGRAM anymore. Also remove multicast related code which is not necessary anymore. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:31:47.186168Z K 7 svn:log V 257 MFC r224271: Fix the following bugs related to the SCTP support of netstat: * Correctly handle -a. * -A isn't supported. * Show all closed 1-to-1 and 1-to-many style sockets. * Show all listening 1-to-many style sockets. * Use consistent formatting for -W. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:42:03.880375Z K 7 svn:log V 321 MFC r224641: The result of a joint work between rrs@ and myself at the IETF: * Decouple the path supervision using a separate HB timer per path. * Add support for potentially failed state. * Bring back RTO.min to 1 second. * Accept packets on IP-addresses already announced via an ASCONF * While there: do some cleanups. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:44:36.481603Z K 7 svn:log V 172 MFC r224870: Add support for the spp_dscp field in the SCTP_PEER_ADDR_PARAMS socket option. Backwards compatibility is provided by still supporting the spp_ipv4_tos field. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:49:09.032791Z K 7 svn:log V 240 MFC r224918: Fix the handling of [gs]etsockopt() unconnected 1-to-1 style sockets. While there: * Fix a locking issue in setsockopt() of SCTP_CMT_ON_OFF. * Fix a bug in setsockopt() of SCTP_DEFAULT_PRINFO, where the pr_value was ignored. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:52:08.714579Z K 7 svn:log V 130 MFC r225462: Improve implementation of the Nagle algorithm for SCTP: Don't delay the final fragment of a fragmented user message. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:54:58.081121Z K 7 svn:log V 161 MFC r225549: Fix the handling of the flowlabel and DSCP value in the SCTP_PEER_ADDR_PARAMS socket option. Honor the net.inet6.ip6.auto_flowlabel sysctl setting. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-10T22:55:22.475407Z K 7 svn:log V 64 Link against libgcc to pull in the required __aeabi_* functions END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T22:57:50.455228Z K 7 svn:log V 187 MFC r225559: Ensure that 1-to-1 style SCTP sockets can only be connected once. Allow implicit setup also for 1-to-1 style sockets as described in the latest version of the socket API ID. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:00:24.474460Z K 7 svn:log V 106 MFC r225571: Make sure that SCTP rejects broadcast, multicast and wildcard addresses as remote addresses. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:02:45.761134Z K 7 svn:log V 113 MFC r225584: Fix a typo introduced in http://svn.freebsd.org/changeset/base/225571 Reported by Ilya A. Arkhipov. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-10T23:06:20.221465Z K 7 svn:log V 83 db_stack_trace_cmd is incorrect on ARM EABI, replace it with a reminder to fix it. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:12:48.176441Z K 7 svn:log V 129 MFC r225635: Fix the enabling/disabling of Heartbeats and path MTU discovery when using the SCTP_PEER_ADDR_PARAMS socket option. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:15:10.873524Z K 7 svn:log V 76 MFC r225676: Cleanup the iterator code, remove code that is never executed. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:17:33.071791Z K 7 svn:log V 181 MFC r226168: 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. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:19:33.127439Z K 7 svn:log V 191 MFC r226203: When moving an stcb to a new inp and we copy over the list of bound addresses, update the last used address pointer. If not, it might result in a crash if the old inp goes away. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-10T23:24:33.964735Z K 7 svn:log V 60 - Reverse logic so base tls is fixed up with correct number END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:24:34.211921Z K 7 svn:log V 256 MFC r226252: Use the most significant 6 bits of the dscp instead of the least significant ones. This has changed in the latest version of the socket API ID and provides backwards compatibility and gets it in syn with the usage of the IP_TOS socket option. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:26:43.633602Z K 7 svn:log V 73 MFC r226868: Send out control chunks which have no specific destination. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:29:08.317593Z K 7 svn:log V 110 MFC r226869: When add a new remote address using sctp_add_remote_addr(), return the correct net if requested. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-10T23:30:29.845772Z K 7 svn:log V 116 De-obfuscate acpi_acquire_global_lock(). It seems the function was directly translated from i386 assembly version. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:32:04.325096Z K 7 svn:log V 59 MFC r227266: Initialize all components of the sent COOKIE. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:34:07.153873Z K 7 svn:log V 86 MFC r227320: When loading addresses from INITs, always use the correct local address. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:36:33.735923Z K 7 svn:log V 95 MFC r227486: Don't copy uninitialized memory. Also simplify the comparison of interface names. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:38:38.416454Z K 7 svn:log V 101 MFC r227540: Set the MTU of an path to an approriate value if the interface MTU can't be determined. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:41:37.844394Z K 7 svn:log V 52 MFC r227655: Cleanup comparison of interface names. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:49:04.304150Z K 7 svn:log V 156 MFC r227755: Add support for the SCTP_REMOTE_UDP_ENCAPS_PORT socket option. Retire the the now unused sctp_udp_tunneling_for_client_enable sysctl variable. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:51:23.391962Z K 7 svn:log V 139 MFC r227930: Move up the address to the top of the sctp_paddrthlds structure like in all other structures. This avoids alignment problems. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:53:06.519781Z K 7 svn:log V 137 MFC r227931: Move up the address to the top of the sctp_udencaps structure like in all other structures. This avoids alignment problems. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T23:55:40.243858Z K 7 svn:log V 218 MFC r228031: Fix a warning reported by arundel@. Fix a bug where the parameter length of a supported address types parameter is set to a wrong value if the kernel is built with with either INET or INET6, but not both. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-11T00:19:31.005639Z K 7 svn:log V 69 Fix a warning by removing an unneeded test when wchar_t is unsigned. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-11T00:28:30.657357Z K 7 svn:log V 220 Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver probe routine. This will allow LSI to ship drivers that return BUS_PROBE_VENDOR to override the in-tree version of the driver. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T00:46:06.486926Z K 7 svn:log V 32 MFC r228102: Remove debug code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T00:48:22.408763Z K 7 svn:log V 184 MFC r228391: Fix a bug reported by Irene Ruengeler which resulted in not sending out HEARTBEATs when requested by the user. The HEARTBEATs were only queued, but not actually sent out. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T00:49:54.504381Z K 7 svn:log V 71 MFC r228531: Fix a bug where sctp_sendmdg() uses uninitialized memory. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T00:51:26.137130Z K 7 svn:log V 46 MFC r228630: Address warnings found by clang. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T00:54:24.211766Z K 7 svn:log V 85 MFC r228653: Fix unused parameter warnings. While there, fix some whitespace issues. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-11T00:54:57.779630Z K 7 svn:log V 48 Add handlers for TLS-related relocation entries END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T00:57:08.244604Z K 7 svn:log V 85 MFC r228907: Address issues found by clang. While there, fix also some style issues. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T00:59:22.387762Z K 7 svn:log V 36 MFC r229729: Use NULL instead of 0. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:01:07.616874Z K 7 svn:log V 172 MFC r229774: Improve the handling of received INITs. Send an ABORT when not accepting the connection. Also fix a crash, which could happen when the user closed the socket. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:03:17.179868Z K 7 svn:log V 154 MFC r229775: Retire the SCTP sysctl "strict_init". We always perform the validation and there is no reason to make is configuarable. Discussed with rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:05:41.727388Z K 7 svn:log V 283 MFC r229805: Add an SCTP sysctl "blackhole", similar to the one for TCP. If set to 1, no ABORT is sent back in response to an incoming INIT. If set to 2, no ABORT is sent back in response to an out of the blue packet. If set to 0 (the default), ABORTs are sent. Discussed with rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:07:51.447422Z K 7 svn:log V 170 MFC r230104: Fix two bugs, which result in a panic when calling getsockopt() using SCTP_RECVINFO or SCTP_NXTINFO. Reported by Clement Lecigne and forwarded to us by zi@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:09:46.770733Z K 7 svn:log V 49 MFC r230136: Two cleanups. No functional change. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:11:37.819525Z K 7 svn:log V 50 MFC r230138: Small cleanup, no functional change. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:13:35.215804Z K 7 svn:log V 114 MFC r230379: Fix a problem when using the CBAPI. While there, remove an old comment which does not apply anymore. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:15:02.531268Z K 7 svn:log V 159 MFC r230555: Don't print a warning when using netstat to print SCTP statistics when there is not SCTP in the kernel. This problem was reported by Sean Mahood. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T01:17:27.184349Z K 7 svn:log V 150 MFC r231074: Fix a typo which was already fixed by eadler in r227489. We missed to integrate this fix in our code base, so it was removed in r227755. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-02-11T04:12:12.052106Z K 7 svn:log V 49 Make code more stable by checking NULL pointers. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T05:59:54.299915Z K 7 svn:log V 216 Backout changes from r228571. Remove if_data from struct ifa_msghdr again. While this breaks carp on HEAD temporary, it restores the upgrade path from stable, and head before 20111215. Reviewed by: glebius, brooks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T06:02:16.839022Z K 7 svn:log V 375 Introduce a new NET_RT_IFLISTL API to query the address list. It works on extended and extensible structs if_msghdrl and ifa_msghdrl. This will allow us to extend both the msghdrl structs and eventually if_data in the future without breaking the ABI. Bump __FreeBSD_version to allow ports to more easily detect the new API. Reviewed by: glebius, brooks MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T06:05:40.472805Z K 7 svn:log V 434 Switch getifaddrs(3) to the new API introduced in r231505. Also remove conditional code parts not used by or applicable to FreeBSD. The new implementation is supposed to be able to cope with changes to the 'l' versions of the msghdr structs now used as well as to if_data allowing future changes without breaking things. This restores carp(4) config support in HEAD after r231504. Reviewed by: glebius, brooks MFC After: 3 months END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-11T06:21:16.666493Z K 7 svn:log V 291 In the days before r208307 addswap was running early in the second stage of rcorder. Somehow in the intervening period addswap got moved to the very end, which is almost certainly not what we want. This change moves it to right after kld so that for users who need it, they'll get it ASAP. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T07:43:33.126881Z K 7 svn:log V 114 Make use of the read-only variant of the IF_ADDR_*LOCK() macros introduced in r229614 rather than the compat one. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T07:47:06.821895Z K 7 svn:log V 126 Use the more common macro to set the if_baudrate to 10Gbit/s. Just use UL not ULL, which should make 32bit archs more happy. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-11T08:12:52.491018Z K 7 svn:log V 27 Remove unused variable mii END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T08:33:52.865523Z K 7 svn:log V 174 Start to try to hide LRO (and some TSO) bits behind #ifdefs as especially the symbols are not there when compiling a kernel without IP support and we do have users doing so. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T08:34:33.129713Z K 7 svn:log V 37 Depend on the relevant header files. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-11T08:58:12.118677Z K 7 svn:log V 59 MFC r218264: Fix typo (Tuneable -> Tunable). From brucec@. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-11T11:11:13.347517Z K 7 svn:log V 317 Set read buffer size to multiple of sizeof(struct futx). If the utmpx database gets updated while an application is reading it, there is a chance the reading application processes partially overwritten entries. To solve this, make sure we always read a multiple of sizeof(struct futx) at a time. MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T11:11:43.589562Z K 7 svn:log V 158 Use the correct constant (with same value) for comparying the SA type. PR: kern/142741 Submitted by: Matthijs Kooiman (matthijs stdin.nl) MFC after: 3 days END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-02-11T11:24:30.659165Z K 7 svn:log V 58 Add myself to calendar. Approved by: cognet (mentor) END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-02-11T11:34:53.002159Z K 7 svn:log V 202 Add PTE_DEVICE macro in pte.h Add DEVMAP_BOOTSTRAP_MAP_START in ti_machdep.h PTE_DEVICE is introduced as ARMv7 ARM strongly recommends use of shareable device memory. Approved by: cognet (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-11T12:03:44.830219Z K 7 svn:log V 702 Flesh out support for SAS1078 and SAS1078DE (which are said to actually be the same chip): - The I/O port resource may not be available with these. However, given that we actually only need this resource for some controllers that require their firmware to be up- and downloaded (which excludes the SAS1078{,DE}) just handle failure to allocate this resource gracefully when possible. While at it, generally put non-fatal resource allocation failures under bootverbose. - SAS1078{,DE} use a different hard reset protocol. - Add workarounds for the 36GB physical address limitation of scatter/ gather elements of these controllers. Tested by: Slawa Olhovchenkov PR: 149220 (remaining part) END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-02-11T13:12:53.633438Z K 7 svn:log V 70 Make OMAP family naming consistent. Approved by: cognet (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T13:41:38.234612Z K 7 svn:log V 170 Properly name the sysctl to "iflistl" rather than "iflist2", which had been the prototype name and slipped in in r231505. Spotted in a reply from: bde MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-11T14:49:25.106487Z K 7 svn:log V 103 The PTRACESTOP() macro is used only once. Inline the only use and remove the macro. MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-02-11T14:55:05.454330Z K 7 svn:log V 61 MFC r230157: dadump: don't leak the periph lock on i/o error END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-02-11T14:58:46.929297Z K 7 svn:log V 61 MFC r230157: dadump: don't leak the periph lock on i/o error END K 10 svn:author V 8 cracauer K 8 svn:date V 27 2012-02-11T16:34:03.388444Z K 7 svn:log V 146 Reverting last change r231449 (fix bin/164947) due to concerns voiced on src-committers and the fact that I can only take care of this in a week. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-02-11T16:41:52.101635Z K 7 svn:log V 42 Nice range comparison. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-11T17:29:07.605467Z K 7 svn:log V 293 Close a race due to dropping of the map lock between creating map entry for a shared mapping and marking the entry for inheritance. Other thread might execute vmspace_fork() in between (e.g. by fork(2)), resulting in the mapping becoming private. Noted and reviewed by: alc MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-02-11T19:41:56.335340Z K 7 svn:log V 225 MFC: r230635 Set SVN text/plain property for some shell scripts that happen to have a .exe extension. While here fix the shebang of a shell script that was looking for /bin/bash. Reviewed by: gnn Approved by: jhb (mentor) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-02-11T20:01:03.849151Z K 7 svn:log V 348 MFC: r231168 Update the data structures with some fields reserved for ext4 but that can be used in ext3 mode. Also adjust the internal inode to carry the birthtime, like in UFS, which is starting to get some use when big inodes are available. This is a prerequisite for new features that will be coming in the future. Approved by: jhb (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-11T20:08:46.508811Z K 7 svn:log V 159 MFC r231001: sh: Fix swapped INTON/INTOFF. A possible consequence of this bug was a memory leak if SIGINT arrived during a 'set' command (listing variables). END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-11T20:28:42.433338Z K 7 svn:log V 457 Replace utxrm(8) by utx(8). At first, I added a utility called utxrm(8) to remove stale entries from the user accounting database. It seems there are cases in which we need to perform different operations on the database as well. Simply rename utxrm(8) to utx(8) and place the old code under the "rm" command. In addition to "rm", this tool supports "boot" and "shutdown", which are going to be used by an rc-script which I am going to commit separately. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-11T20:37:08.371778Z K 7 svn:log V 159 MFC r231001: sh: Fix swapped INTON/INTOFF. A possible consequence of this bug was a memory leak if SIGINT arrived during a 'set' command (listing variables). END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-11T20:43:01.539475Z K 7 svn:log V 332 MFp4 204292: Ignore the NAT_T extension types so we can at least dump the SADB from the in-base libipsec/setkey without error when NAT_T support is present in the kernel, though not printing the additional information yet. However in case there is no NAT_T support in kernel still consider them to be an error. MFC after: 8 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-11T20:44:16.730247Z K 7 svn:log V 90 MFC r230437: sh: Remove "kill" example function, which is superseded by the kill builtin. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-11T20:47:16.423666Z K 7 svn:log V 681 Move utmpx handling out of init(8). This has the following advantages: - During boot, the BOOT_TIME record is now written right after the file systems become writable, but before users are allowed to log in. This means that they can't cause `hidden logins' by logging in right before init(8) kicks in. - The pututxline(3) function may potentially block on file locking, though this is very rare to occur. By placing it in an rc script, the user can still kill it with ^C if needed. - Most importantly: jails don't use init(8). This means that a force reboot of a system running jails will leave stale entries in the accounting database of the jails individually. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-11T21:06:45.386673Z K 7 svn:log V 81 sh: Make 'hash' return 1 if at least one utility is not found. Reported by: lme END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-11T21:49:23.861945Z K 7 svn:log V 219 Attempt to implement who -a. According to POSIX, -a is equal to -bdlprtTu. It seems this is not true in practice, as -b normally restricts the output to BOOT_TIME entries and all implementations that I know of don't. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-11T21:50:44.081152Z K 7 svn:log V 48 And of course, I forgot to add -a to the usage. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2012-02-11T23:15:14.552983Z K 7 svn:log V 504 MFC 196045 through 231537 - this records svn:mergeinfo for previously merged changesets This pulls in changes such as: MFC 216370 - Remove adertising clause from UCB copyrighted files in usr.bin MFC 222534 - Fix a couple of spelling errors. MFC 223493 - Remove duplicated header files MFC 223135 - 223491 - man page updates MFC 229403 - Replace index() and rindex() calls with strchr() and strrchr(). MFC 230044 - fgets(3) returns a pointer, so compare against NULL, not integer 0. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2012-02-11T23:39:53.429773Z K 7 svn:log V 422 MFC 203377-231538. This records mergeinfo for already merged changesets, but brings in the following changes: MFC 222326 - Fix tftp_log() usage MFC 223137 - Man page updates MFC 223487 - Bring back syncnet() implementation from older tftp implementation. MFC 229780 - Spelling fixes for libexec/ MFC 229904 - Fix warning when compiling with gcc46: error: variable 'bp' set but not used END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2012-02-11T23:58:07.677037Z K 7 svn:log V 504 MFC 170382 through 231539 - this records svn:mergeinfo for previously merged changesets This pulls in changes such as: MFC 216370 - Remove adertising clause from UCB copyrighted files in usr.bin MFC 222534 - Fix a couple of spelling errors. MFC 223493 - Remove duplicated header files MFC 223135 - 223491 - man page updates MFC 229403 - Replace index() and rindex() calls with strchr() and strrchr(). MFC 230044 - fgets(3) returns a pointer, so compare against NULL, not integer 0. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2012-02-12T01:07:15.034876Z K 7 svn:log V 422 MFC 183243-231540. This records mergeinfo for already merged changesets, but brings in the following changes: MFC 222326 - Fix tftp_log() usage MFC 223137 - Man page updates MFC 223487 - Bring back syncnet() implementation from older tftp implementation. MFC 229780 - Spelling fixes for libexec/ MFC 229904 - Fix warning when compiling with gcc46: error: variable 'bp' set but not used END K 10 svn:author V 5 mckay K 8 svn:date V 27 2012-02-12T05:01:49.498786Z K 7 svn:log V 100 MFC r215615, r215642: Fix several misbehaviours by making xargs keep track of its child processes. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2012-02-12T05:14:12.513531Z K 7 svn:log V 132 - Use fixed-width integer types. - Prefer to use C99 stdint types. This fixes ng_cisco on 64-bit architectures. MFC after: 1 week END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2012-02-12T05:34:01.839383Z K 7 svn:log V 73 Include target names in diagnostic output. Submitted by: Garrett Cooper END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-12T06:01:49.760237Z K 7 svn:log V 786 MFC: r231133 r228827 fixed a problem where copying of NFSv4 open credentials into a credential structure would corrupt it. This happened when the p argument was != NULL. However, I now realize that the copying of open credentials should only happen for p == NULL, since that indicates that it is a read-ahead or write-behind. This patch fixes this. After this commit, r228827 could be reverted, but I think the code is clearer and safer with the patch, so I am going to leave it in. Without this patch, it was possible that a NFSv4 VOP_SETATTR() could have changed the credentials of the caller. This would have happened if the process doing the VOP_SETATTR() did not have the file open, but some other process running as a different uid had the file open for writing at the same time. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-12T06:27:59.676939Z K 7 svn:log V 261 Add SMSC LAN95XX driver submitted by Ben Gray with some cleanup and EEPROM handling code by me. Before we figure out the way to pass MAC from u-boot to driver, stick with hardcoded address for debugging purposes. Submitted by: Ben Gray END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-12T06:41:29.828904Z K 7 svn:log V 786 MFC: r231133 r228827 fixed a problem where copying of NFSv4 open credentials into a credential structure would corrupt it. This happened when the p argument was != NULL. However, I now realize that the copying of open credentials should only happen for p == NULL, since that indicates that it is a read-ahead or write-behind. This patch fixes this. After this commit, r228827 could be reverted, but I think the code is clearer and safer with the patch, so I am going to leave it in. Without this patch, it was possible that a NFSv4 VOP_SETATTR() could have changed the credentials of the caller. This would have happened if the process doing the VOP_SETATTR() did not have the file open, but some other process running as a different uid had the file open for writing at the same time. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-12T07:06:45.673806Z K 7 svn:log V 30 Fix interrupt number for UART END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-12T07:45:48.957121Z K 7 svn:log V 62 Avoid using BEFORE in the utx rc script. Requested by: dougb END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:52:14.471903Z K 7 svn:log V 443 MFC r230873: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen is equal to buffer size. Without this additional check kvm_getprocs() gets stuck in loop if the returned ENOMEM was due the exceeded memorylocked limit. This is easily can be observed running `limits -l 1k top'. Submitted by: Andrey Zonov END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:53:02.820772Z K 7 svn:log V 443 MFC r230873: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen is equal to buffer size. Without this additional check kvm_getprocs() gets stuck in loop if the returned ENOMEM was due the exceeded memorylocked limit. This is easily can be observed running `limits -l 1k top'. Submitted by: Andrey Zonov END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:53:37.727978Z K 7 svn:log V 443 MFC r230873: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen is equal to buffer size. Without this additional check kvm_getprocs() gets stuck in loop if the returned ENOMEM was due the exceeded memorylocked limit. This is easily can be observed running `limits -l 1k top'. Submitted by: Andrey Zonov END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:55:33.681062Z K 7 svn:log V 461 MFC r230874: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen is equal to buffer size. Without this additional check sockstat gets stuck in loop leaking the memory if the returned ENOMEM was due the exceeded memorylocked limit. This is easily can be observed running `limits -l 1k sockstat'. Submitted by: Andrey Zonov END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:56:07.981612Z K 7 svn:log V 461 MFC r230874: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen is equal to buffer size. Without this additional check sockstat gets stuck in loop leaking the memory if the returned ENOMEM was due the exceeded memorylocked limit. This is easily can be observed running `limits -l 1k sockstat'. Submitted by: Andrey Zonov END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:56:46.771254Z K 7 svn:log V 461 MFC r230874: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short the return oldlen is equal to buffer size. Without this additional check sockstat gets stuck in loop leaking the memory if the returned ENOMEM was due the exceeded memorylocked limit. This is easily can be observed running `limits -l 1k sockstat'. Submitted by: Andrey Zonov END