summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r284779: sh: Fix some arithmetic undefined behaviour.jilles2015-08-152-4/+3
| | | | | Fix shifts of possibly negative numbers found with ubsan and avoid signed integer overflow when hashing an extremely long command name.
* MFC r270064,r270068,r270069,r270115,r270129,r270287,r270822,r271014,melifaro2015-08-1510-30/+1208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r271524,r273541,r282967,r283009,r283364. Add support for reading i2c SFP/SFP+ data from NIC driver and presenting most interesting fields via ifconfig -v. This version supports Intel ixgbe driver only. Tested on: Cisco,Intel,Mellanox,ModuleTech,Molex transceivers * Add new net/sff8436.h containing constants used to access QSFP+ data via i2c inteface. These constants has been taken from SFF-8436 "QSFP+ 10 Gbs 4X PLUGGABLE TRANSCEIVER" standard rev 4.8. * Add support for printing QSFP+ information from 40G NICs such as Chelsio T5. Example: cxl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,.....> ether 00:07:43:28:ad:08 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet 40Gbase-LR4 <full-duplex> status: active plugged: QSFP+ 40GBASE-LR4 (MPO Parallel Optic) vendor: OEM PN: OP-QSFP-40G-LR4 SN: 20140318001 DATE: 2014-03-18 module temperature: 64.06 C voltage: 3.26 Volts lane 1: RX: 0.47 mW (-3.21 dBm) TX: 2.78 mW (4.46 dBm) lane 2: RX: 0.20 mW (-6.94 dBm) TX: 2.80 mW (4.47 dBm) lane 3: RX: 0.18 mW (-7.38 dBm) TX: 2.79 mW (4.47 dBm) lane 4: RX: 0.90 mW (-0.45 dBm) TX: 2.80 mW (4.48 dBm) Tested on: Chelsio T5 Tested on: Mellanox/Huawei passive/active cables/transceivers. Sponsored by: Yandex LLC
* MFC r286456: Remove some code duplication.mav2015-08-151-7/+1
|
* MFC r286447:mav2015-08-151-5/+8
| | | | Don't panic if disk lost TRIM support due to switching to PIO mode.
* MFC r285842: truss: follow pdfork()ed descendents with -femaste2015-08-148-0/+8
|
* MFC r286404:kib2015-08-141-5/+5
| | | | | | | The condition to use direct processing for the unmapped bio is reverted. MFC r286405: Minor style cleanup of the code surrounding r286404.
* Call stable/10 STABLE again, now that 10.2-RELEASE is out.gjb2015-08-141-1/+1
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC r286621, r286622: Fix couple minor typos.mav2015-08-141-2/+2
|
* MFC r286615:pfg2015-08-145-6/+6
| | | | Clean up some externally visible "more then" occurences
* Prune the 10-STABLE release notes page after 10.2-RELEASE.gjb2015-08-141-417/+21
| | | | Sponsored by: The FreeBSD Foundation
* MFC of 286750,tzdata10:edwin2015-08-138-65/+113
| | | | | | | | | | | | Update to tzdata2015f: Changes affecting future time stamps North Korea switches to +0830 on 2015-08-15. (Thanks to Steffen Thorsen.) The abbreviation remains "KST". (Thanks to Robert Elz.) Uruguay no longer observes DST. (Thanks to Steffen Thorsen and Pablo Camargo.) Changes affecting past and future time stamps Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to Roman Tudos.)
* MFC r262670 (marcel):gjb2015-08-131-2/+2
| | | | | | | | | Use ${MAKE} so that we always use the same version/implementation of make(1). PR: 202277 Submitted by: John Hein Sponsored by: The FreeBSD Foundation
* MFC r276282: Support ALT_BREAK_TO_DEBUGGER in vt(4)emaste2015-08-132-1/+4
| | | | PR: 196511
* Fix the gnome package name.gjb2015-08-131-1/+1
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Document a known issue with the VirtualBox Vagrant provider failinggjb2015-08-131-0/+17
| | | | | | | to boot on the first invocation of 'vagrant up'. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Update the errata article.xml file for 10.2-RELEASE.gjb2015-08-131-43/+51
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Prune Security Advisories and Errata Notices from the 10.2-RELEASEgjb2015-08-132-229/+6
| | | | | | | errata page. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Update FreeBSD version numbers in preparation of properly creatinggjb2015-08-131-5/+5
| | | | | | | the 10.2-RELEASE errata.html page. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC r286074:pfg2015-08-137-11/+99
| | | | | | | | | | | GCC: Add a new option "-fstack-protector-strong" This includes additional functions to be protected: those that have local array definitions, or have references to local frame addresses. This is a new option in GCC-4.9 that was relicensed by Han Shen from Google under GPLv2. Obtained from: OpenBSD (2014-01-14)
* MFC r273081sbruno2015-08-121-9/+17
| | | | | | | | | | | brueffer: New sentence -> new line; use macros where appropriate. MFC r276345 Mikhail <mp@lenta.ru Correct naming of sysctl pmtud_blackhole_activated_min_mss. Clarify some statements around PMTUD blackhole detection to make the behavior more clear in the man page.
* MFC r286519:dim2015-08-121-2/+2
| | | | In GNU as, avoid left-shifting negative integers, which is undefined.
* MFC r286515:dim2015-08-121-2/+2
| | | | | | | In libm's exp2(3), avoid left-shifting a negative integer, which is undefined. Replace it with the intended value, in a defined way. Reviewed by: bde
* Direct commitimp2015-08-121-1/+5
| | | | | | | | | When compiling on -current from r284356 to r285986, the host's crunchgen can't be used because builds of rescue break when STRIP= was used to prevent stripping of binaries. Direct commit because -current code is different. Building 10 on current is common enough to warrnat a safety belt since this has been broken for two months. The offending change was never in stable/10.
* MFC r257077:garga2015-08-112-4/+3
| | | | | | | | Cleanup empty directories PR: 167133 Approved by: loos Sponsored by: Netgate
* MFC 256710:garga2015-08-111-1/+105
| | | | | | | Add lot of missed files and dirs Approved by: loos Sponsored by: Netgate
* MFC r286451:garga2015-08-111-0/+5
| | | | | | | | Add missing files to sendmail obsolete files list Approved by: gshapiro Sponsored by: Netgate Differential Revision: https://reviews.freebsd.org/D3302
* Merge r285891:rodrigc2015-08-111-1/+2
| | | | | | | | Pass unsigned long argument to ioctl(). Eliminates "ioctl sign-extension" warnings. PR: 200896
* MFC r284649: fts_children: preserve errno after running close/fchdirjilles2015-08-091-5/+8
| | | | | PR: 200942 Submitted by: Conrad Meyer
* MFC: r285260rmacklem2015-08-081-2/+2
| | | | | | | | Since the case where secflavor < 0 indicates the security flavor is to be negotiated, it could be a Kerberized mount. As such, filling in the "principal" argument using the canonized host name makes sense. If it is negotiated as AUTH_SYS, the "principal" argument is meaningless but harmless.
* MFC: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on newgshapiro2015-08-081-0/+1
| | | | version imports.
* MFC r286106:kib2015-08-071-0/+62
| | | | Provide a prefaulting for the userspace i/o buffers, disabled by default.
* MFC r285384:kib2015-08-072-3/+9
| | | | Do not allow creation of the dirty buffers for the dead buffer objects.
* MFC r285643:kib2015-08-074-18/+18
| | | | | When checking for the valid value of the frame pointer, verify that it belongs to the kernel stack address range for the thread.
* MFC r286375:delphij2015-08-061-1/+0
| | | | Now that stable/8 is EOL, stop building INDEX-8.
* Fix a typo.gjb2015-08-061-1/+1
| | | | | Submitted by: pkelsey Sponsored by: The FreeBSD Foundation
* MFC r286086:kib2015-08-063-26/+21
| | | | Do not pretend that vm_fault(9) supports unwiring the address.
* Document SA-15:18, SA-15:19.gjb2015-08-051-0/+15
| | | | Sponsored by: The FreeBSD Foundation
* Fix patch(1) shell injection vulnerability via ed(1). [SA-15:18]delphij2015-08-053-4/+22
| | | | Fix routed remote denial of service vulnerability. [SA-15:19]
* Fix segfault were modifying the uid of a userbapt2015-08-051-1/+1
| | | | | | | | Do a direct commit as the code on head has changed a lot and does not fail in that case PR: 202111 Reported by: gondim@bsdinfo.com.br
* MFC r285720:pfg2015-08-051-5/+3
| | | | | | | | | | | | libusb: Fix minor warning. Fix a warning triggered by the gcc + FORTIFY_SOURCE patches: In function 'libusb20_parse_config_desc': lib/libusb/libusb20_desc.c:141: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type Submitted by: hselansky
* Make the kern.racct.tunable actually work.trasz2015-08-051-0/+1
| | | | | | | | This is a direct commit to 10-STABLE - 11-CURRENT is not affected, because tunables are automatically fetched there. MFC after: ASAP Sponsored by: The FreeBSD Foundation
* MFC r285710:ae2015-08-051-0/+1
| | | | Invoke LLE event handler when entry is deleted.
* MFC r285888:ae2015-08-051-1/+1
| | | | | | | | | Build debug version of rmlock's methods only when LOCK_DEBUG > 0. Currently LOCK_DEBUG is always defined in sys/lock.h (0 or 1). This means that debugging code always built. In addition the kernel modules have always defined LOCK_DEBUG as 1. So, debugging rmlock code is always used by kernel modules.
* Implement x86 ptrace(2) requests PT_{GET,SET}{FS,GS}BASE.kib2015-08-056-37/+333
| | | | | | | | | | | | | | | | | | | | | | MFC r284918: Add helper fill_based_sd(9). MFC r284919: Add x86 PT_GETFSBASE, PT_GETGSBASE machine-depended ptrace requests to obtain the thread %fs and %gs bases. Add x86 PT_SETFSBASE and PT_SETGSBASE requests to set the bases from debuggers. The set requests, similarly to the sysarch({I386,AMD64}_SET_FSBASE), override the corresponding segment registers. MFC r284965: Document x86 machine-specific ptrace(2) requests. MFC r285011: Disallow a debugger on 64bit system to set fs/gs bases of the 32bit process beyond the end of the process address space. MFC r285104: Grammar and language fixes.
* MFC r284921:kib2015-08-053-4/+1
| | | | pcb_gs32sd is unused for long time, remove it. Keep the padding in pcb.
* MFC r285046:kib2015-08-051-1/+2
| | | | | Account for the main process stack being one page below the highest user address when ABI uses shared page.
* MFC r285041:kib2015-08-058-15/+11
| | | | | Use single instance of the identical INKERNEL() and PMC_IN_KERNEL() macros on amd64 and i386. On i386, correct the lowest kernel address.
* MFC r285973davidcs2015-08-052-22/+15
| | | | | | | | | | | | | | - Avoid lock contention in the if_transmit callback by using trylock and enqueueing the frames when it fails. This way there is some latency removed from the transmitting path. - If IFF_DRV_OACTIVE is set (and also if IFF_DRV_RUNNING is not) just enqueue the desired frames and return successful transmit. This way we avoid to return errors on transmit side and resulting in possible out-of-order frames. Please note that IFF_DRV_OACTIVE is set everytime we get the threshold ring hit, so this can be happening quite often. Submitted by: Attilio.Rao@isilon.com
* MFC r281581: vidcontrol: make size argument optional again for sysconsemaste2015-08-041-1/+1
| | | | | | | | | | r273544 (MFC in r273921) changed the -f option allow no arguments in vt mode (used to reset the font back to the default), but broke the optionality of the size argument for syscons. Drop the required argument from syscons' optstring for -f so the optional argument handler works the same way for both syscons and vt. Sponsored by: The FreeBSD Foundation
* MFC r286285:gjb2015-08-041-1/+1
| | | | | | | | Ensure the local MANIFEST is always used when verifying remote distribution sets. Approved by: re (glebius, insta-MFC) Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud