summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r277128:trasz2015-01-201-6/+0
| | | | | | Fix detection of ext2/ext3 filesystems that lack labels. Sponsored by: The FreeBSD Foundation
* MFC r276704:trasz2015-01-202-1/+2
| | | | | | Fix memory leaks. Sponsored by: The FreeBSD Foundation
* MFC r276703:trasz2015-01-202-4/+0
| | | | | | Remove leftovers. Sponsored by: The FreeBSD Foundation
* MFC r275680:trasz2015-01-2013-3/+1127
| | | | | | | | | | | Add fstyp(8). This utility, named after its SVR4 counterpart, detects filesystems. It differs from file(1) in that it gives machine-parseable output, it outputs filesystem labels, doesn't get confused by other formats metadata, and runs in Capsicum sandbox. Differential Revision: https://reviews.freebsd.org/D1255 Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r276892:hselasky2015-01-201-19/+134
| | | | Add support for USB device side mode to the USB modem driver.
* MFC r276825 and r277372:hselasky2015-01-201-3/+4
| | | | | Allow a block size of zero to mean 512 bytes, which is the most common block size for USB disks. This fixes support for "Action Cam SJ4000".
* MFC r276491:bryanv2015-01-192-2/+5
| | | | Add softc flag for when the indirect descriptor feature was negotiated
* MFC r276489:bryanv2015-01-191-2/+2
| | | | Use the appropriate IPv4 or IPv6 TSO HW assist flag
* MFC r277055:kib2015-01-195-16/+2
| | | | Revert r263475: TDP_DEVMEMIO no longer needed.
* MFC r277051:kib2015-01-191-47/+55
| | | | Fix several issues with /dev/mem and /dev/kmem devices on amd64.
* MFH: r277085brueffer2015-01-191-1/+1
| | | | | | | | | Fix a typo in the FFS maxbpg option, it was erroneously spelled maxbpf. The error has been reported to and fixed in the NetBSD upstream version as well. PR: 196598 Submitted by: Dan McGregor
* MFC r277047:kib2015-01-195-0/+7
| | | | For x86, read MAXPHYADDR into variable cpu_maxphyaddr.
* MFC r276805:ngie2015-01-192-2/+4
| | | | | | | | | | | X-MFC note: the svn:mergeinfo for this MFC was accidentally committed via r277371 r276805 (by ngie): Build contrib/ofed/usr.{bin,lib} in parallel Sponsored by: EMC / Isilon Storage Division
* MFC r276804:ngie2015-01-191-1/+1
| | | | | | | | | r276804 (by ngie): Fix 'make depend' before infiniband headers have been installed to build host by removing space between -I and the header directory Sponsored by: EMC / Isilon Storage Division
* MFC r277272:ngie2015-01-191-2/+3
| | | | | | | | | r277272 (by ngie): Don't call abort on usage errors; print out the usage message instead PR: 196793 Sponsored by: EMC / Isilon Storage Division
* MFC r276798:hselasky2015-01-191-6/+11
| | | | | Fix handling of an error case when the MUSB driver is operating in USB device side mode.
* MFC r277044:hselasky2015-01-193-5/+10
| | | | | | | | | Increase the maximum number of dynamic USB quirks. USB memory stick devices which don't support the synchronize cache SCSI command are likely to also not support the prevent-allow medium removal SCSI command. PR: 185747
* MFC r277212:hselasky2015-01-191-9/+9
| | | | | | | Fix compilation for 32-bit architectures. PR: 196580 Sponsored by: Mellanox Technologies
* MFC r276959:np2015-01-188-33/+59
| | | | | | | | | | | | | cxgb: replace r273280 with a more comprehensive fix. Poll for link state when the link is down, even for interrupt capable PHYs. Allow PHYs to report a dubious "partial" link. If this state is seen 3 consecutive times (each check is ~1s apart) then reset the PHY. This is a workaround for a situation where repeatedly toggling the link from the peer gets the AEL2005 PHY into a state where it never establishes a PCS block lock even when everything is in order.
* Fix known issues which blow up the process after dlopen("libthr.so")kib2015-01-1866-633/+2245
| | | | | | | | | | | | | | | | | | | | | (or loading a dso linked to libthr.so into process which was not linked against threading library). MFC r276630: Remove interposing, fix malloc, reinstall signal handlers wrappers on libthr load. MFC r276681: Avoid calling internal libc function through PLT or accessing data though GOT. MFC r277032: Reduce the size of the interposing table and amount of cancellation-handling code in the libthr. MFC note: r276646 ("do not erronously export 'openat' symbol from rtld") is not applicable to stable/10 yet, since PATHFDS support was not merged.
* MFC r277023:kib2015-01-184-21/+54
| | | | | Avoid excessive flushing and do missed neccessary flushing in the IOMMU page table update code.
* MFC r276517:dim2015-01-171-31/+39
| | | | | | | | | | | | | | | | | | Pull in r200010 from upstream libc++ trunk (by Marshall Clow): Rename some internal templates to avoid conflict with complier intrinsics. __is_constructible --> __libcpp_is_constructible, __is_nothrow_constructible --> __libcpp_is_nothrow_constructible, and __is_nothrow_assignable --> __libcpp_is_nothrow_assignable. No functionality change. Pull in r206805 from upstream libc++ trunk (by Marshall Clow): Use compiler intrinsic __is_constructible if available This should fix building parts of world with -std=c++11 enabled. Reported by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
* MFC r276901:ae2015-01-172-50/+43
| | | | | | | | | | | | | | Move the recursion detection code into separate function gif_check_nesting(). Also make MTAG_GIF definition private to if_gif.c. MFC r276907: Restore Ethernet-within-IP Encapsulation support that was broken after r273087. Move all checks from gif_output() into gif_transmit(). Previously they were checked always, because if_start always called gif_output. Now gif_transmit() can be called directly from if_bridge() code and we need do checks here. PR: 196646
* MFC r277147:dim2015-01-171-0/+16
| | | | | | | | | | | | | | | | | Since the merge of file 5.21 in r276415 and r276416, stable/9 and stable/10 cannot be built from FreeBSD 8.x. This is because the build-tools stage requires libmagic, but lib/libmagic/config.h was generated on head, and it now enables using the xlocale.h APIs, which are not supported on 8.x (and on 9.x before __FreeBSD_version 900506). See also the start of this thread on -stable: https://lists.freebsd.org/pipermail/freebsd-stable/2015-January/081521.html To fix this, conditionalize the use of xlocale.h APIs to make bootstrapping from older FreeBSD versions work correctly. Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D1518
* MFC r276906:dchagin2015-01-171-5/+2
| | | | | Allow clock_getcpuclockid() on the CPU-time clock for zombie process. Posix does not prohibit this.
* MFC r272947, r272950:pfg2015-01-174-48/+49
| | | | | | | | | | | | tcpd: complete function prototypes. tcpd.h: add prototype for hosts_ctl This clears up at least a build issues on mysql-server ports. While here also replace some spaces with tabs in our headers. PR: 32808 PR: 42336
* MFC r277158:jamie2015-01-171-2/+2
| | | | | | Don't set prison's pr_ip4s or pr_ip6s to -1. PR: 196474
* MFC r276412:nwhitehorn2015-01-141-1/+6
| | | | | | | Fix loader's ability to read the 10.1 release PowerPC ISOs. There appears to be some kind of problem with the version of makefs used for these disks. There may be a better way to handle this problem, so I've set the MFC timer for a fairly long time period.
* MFC r275752:trasz2015-01-141-2/+2
| | | | | | Fix quick_exit(3) manual page to match reality - the status was missing. Sponsored by: The FreeBSD Foundation
* MFC r275510:trasz2015-01-143-2/+2
| | | | | | | Move iscsi.conf.5 from sbin/iscontrol/ to usr.bin/iscsictl/, as the former is obsolete. Sponsored by: The FreeBSD Foundation
* MFC r276981:hselasky2015-01-143-8/+32
| | | | | | Fix support for ConnectX2 hardware. Sponsored by: Mellanox Technologies
* MFC r276419:wblock2015-01-131-23/+125
| | | | | | | | Move the explanation for examples before the example itself. Add numerous QEMU examples and explanations supplied by sbruno, with thanks to Ingo Schwarze for help with the mdoc markup. Code, text, testing, proofreading, cinematography, stunts, and the haunting theme song supplied by sbruno.
* MFC r276426:wblock2015-01-131-0/+0
| | | | Remove the svn:executable property from iscsi.4.
* MFC r276749:hselasky2015-01-138-42/+90
| | | | | | | | | | | | | | | | | | | | Fixes and updates for the Linux compatibility layer: - Remove unsupported "bus" field from "struct pci_dev". - Fix logic inside "pci_enable_msix()" when the number of allocated interrupts are less than the number of available interrupts. - Update header files included from "list.h". - Ensure that "idr_destroy()" removes all entries before destroying the IDR root node(s). - Set the "device->release" function so that we don't leak memory at device destruction. - Use FreeBSD's "log()" function for certain debug printouts. - Put parenthesis around arguments inside the min, max, min_t and max_t macros. - Make sure we don't leak file descriptors by dropping the extra file reference counts done by the FreeBSD kernel when calling falloc() and fget_unlocked(). MFC after: 1 week Sponsored by: Mellanox Technologies
* MFC r276879:hselasky2015-01-131-1/+1
| | | | | | | Don't mask the IP-address when doing multicast IP over infiniband. PR: 196631 Sponsored by: Mellanox Technologies
* MFC:ganbold2015-01-131-1/+1
| | | | | | Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1. Approved by: stas (mentor)
* MFC r273048 by jhb:dchagin2015-01-132-33/+41
| | | | | | | | Fix most of the warnings in kdump(1). r276758: Eliminate new clang warnings.
* Bump version after r277086. yacc(1) is now built with maximum MAXTABLE.jkim2015-01-121-1/+1
|
* MFC: r274460, r274475jkim2015-01-1230-32/+33
| | | | Increase MAXTABLE to the maxmimum possible value and regen test cases.
* MFH: r276695brueffer2015-01-122-0/+66
| | | | Add a very basic manpage for the Etherswitch framework.
* MFC r276012:smh2015-01-122-11/+20
| | | | | | | | | | | | | | | Add a constant AHCI_MAX_IRQS removing magic number MFC r276013: Clamp ahci max irq's to AHCI_MAX_IRQS MFC r276016: Return the error from ahci_setup_interrupt in ahci_attach MFC r276019: style (9) nits Sponsored by: Multiplay
* MFH (r273114, r273124): disable SSLv3 by default.des2015-01-122-14/+24
|
* Document r276991, Remove termcap(5) entry reordering; installgjb2015-01-121-1/+8
| | | | | | termcap(5) verbatim instead. Sponsored by: The FreeBSD Foundation
* Document r276986, hint.acpi_throttle.0.disabled="1" andgjb2015-01-121-1/+5
| | | | | | hint.p4tcc.0.disabled="1" by default. Sponsored by: The FreeBSD Foundation
* MFC discussed with: jilles, -developersngie2015-01-113-8/+65
| | | | | | | | | | | | | MFC r266971: - Return NULL and set errno to EINVAL if size is 0 (as required by POSIX). Update the manpage to reflect this change. - Always set the current position to the first null-byte when opening in append mode. This makes the implementation compatible with glibc's. Update the test suite. Reported by: pho Approved by: cognet
* Correct comparison of IPv6 wildcard address.ume2015-01-111-1/+1
| | | | MFH: r276814
* MFC r275687,r275692:ngie2015-01-114-68/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relnotes: yes r275687: Remove termcap entry reordering; install the file verbatim instead termcap entry reordering requires ex (which is available via usr.bin/vi), which breaks on build hosts where installworld is run with MK_VI == no (or when make delete-old is run on ^/projects/building-blocks as vi, et al, are removed on the branch when the knob is tweaked to => "no") Reordering termcap was believed to improve performance, but the file is now accessed via /etc/termcap.db, so /etc/termcap (and /usr/share/misc/termcap by proxy) access is less preferred. Reordering the file broke the historical comment <-> entry mapping as well, which could muddle the purpose of entries in the file, so it could be potentially harmful to readers in its reordered state. Discussion took place on hackers@ here: https://lists.freebsd.org/pipermail/freebsd-hackers/2014-December/046657.html Discussed with: -hackers, mp Sponsored by: EMC / Isilon Storage Division r275692: Fix building termcap.db when make obj is run beforehand from a clean tree by using make variables for the filenames, which helps resolve pathing appropriately when running cap_mkdb Pointyhat to: me
* MFC r265329:nwhitehorn2015-01-112-0/+4
| | | | | | | | | Disable ACPI and P4TCC throttling by default, following discussion on freebsd-current. These CPU speed control techniques are usually unhelpful at best. For now, continue building the relevant code into GENERIC so that it can trivially be re-enabled at runtime if anyone wants it. Relnotes: yes
* MFC r276815:hselasky2015-01-111-1/+5
| | | | | | | | Fix for compilation issue. Don't use the "abs()" function for unsigned computations. PR: 196597 Sponsored by: Mellanox Technologies
* MFC r276823:hselasky2015-01-116-6/+47
| | | | | | | | Add makefile for the "osmtest" utility. While at it: - Fix depend target by removing a space after an "-I" inclusion option. - Fix some minor compile issues in the "osmtest" utility. PR: 196580
OpenPOWER on IntegriCloud