summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r294732:kib2016-02-081-5/+7
| | | | | | Minor fixes for ddb tty-related commands. Approved by: re (gjb)
* MFC r294735:kib2016-02-081-3/+6
| | | | | | | Don't allow opening the callout device when the callin device is already open (in disguise as the console device). Approved by: re (gjb)
* MFC r292601,292654:bz2016-02-082-2/+2
| | | | | | | | | | | | Since r256624 (head) we have been leaking routing table allocations on vnet enabled jail shutdown. Call the provided cleanup routines for IP versions 4 and 6 to plug these leaks. Sponsored by: The FreeBSD Foundation Reviewed by: gnn Differential Revision:https://reviews.freebsd.org/D4530 Approved by: re (gjb)
* MFC r294514:bz2016-02-071-4/+0
| | | | | | | | | | | | The variable is write once only and not used. Recover the vertical space. Sponsored by: The FreeBSD Foundation Obtained from: p4 CH=180830 Reviewed by: gnn, hiren Differential Revision:https://reviews.freebsd.org/D4898 Approved by: re (marius, gjb)
* MFC r295202:bz2016-02-071-5/+7
| | | | | | | | | | | | | | | | | Try to fix a bug introduced in r228623 (head). We started to copy the ifa_msghdr as otherwise platforms with strict alignment would break. It is unclear to me if there's also a problem with access to the address list following the structure. However we never copied the address list after the structure and thus are pointing at random memory. For now just use a pointer to the original memory for accessing the address list making it at least work on platforms with weak memory access. PR: 195445 Reported by: wolfgang lyxys.ka.sub.org Tested by: wolfgang lyxys.ka.sub.org (x86) Approved by: re (marius)
* MFC r295234:ume2016-02-071-4/+4
| | | | | | Make sure to enable aliases for SHIFT_JIS. Approved by: re (marius)
* MFH (r265214, r294333, r294407, r294467): misc prop fixesdes2016-02-07470-24607/+46090
| | | | | | | | | | | | | | | | MFH (r285975, r287143): register mergeinfo for security fixes MFH (r294497, r294498, r295139): internal documentation MFH (r294328): upgrade to openssh 6.7p1, re-add libwrap MFH (r294332): upgrade to openssh 6.8p1 MFH (r294367): update pam_ssh for api changes MFH (r294909): switch usedns back on MFH (r294336): upgrade to openssh 6.9p1 MFH (r294495): re-enable dsa keys MFH (r294464): upgrade to openssh 7.0p1 MFH (r294496): upgrade to openssh 7.1p2 Approved by: re (gjb) Relnotes: yes
* MFC r295277:kib2016-02-071-1/+20
| | | | | | | When matching brand to the ELF binary by notes, try to find a brand with interpreter name exactly matching one wanted by the binary. Approved by: re (delphij)
* MFC r295209;pfg2016-02-061-5/+7
| | | | | | | | | | | Revert r294695; passthrough any extra timestamps to the dinode struct. The original ext2fs change worked fine on disks formated with default values, but it was the cause of a regression when inodes are small. Revert it for now, while we figure out safer ways pass such values, PR: 206820 Approved by: re
* MFC r294597:wblock2016-02-061-1/+6
| | | | | | Add a standards compliance note for strtok_r Approved by: re (marius@)
* MFC r294915:hselasky2016-02-062-96/+71
| | | | | | | | Fix generation of dependency rules for the LinuxKPI, the MLX5 driver and all of OFED except MLX4[EN/IB]. Sponsored by: Mellanox Technologies Approved by: re (marius)
* Update stable/10 to BETA1 in preparation for 10.3-BETA1 builds, take 2.marius2016-02-051-1/+1
| | | | Approved by: re (implicit)
* Update stable/10 to BETA1 in preparation for 10.3-BETA1 builds.marius2016-02-051-1/+1
| | | | Approved by: re (implicit)
* MFC: r295133marius2016-02-041-2/+9
| | | | | | | | | | | As it turns out, one of the more or less recent changes to em(4) causes watchdog timeouts when using TSO4 at link speeds below Gigabit, at least with 82573E. So disable the assist automatically when at lower speeds. Submitted by: jfv Approved by: re (kib), erj Obtained from: D3162
* MFC: r290383,295282,295283gnn2016-02-0410-151/+20
| | | | | | | | | | | | Replace the fastforward path with tryforward which does not require a sysctl and will always be on. The former split between default and fast forwarding is removed by this commit while preserving the ability to use all network stack features. Differential Revision: https://reviews.freebsd.org/D4042 Reviewed by: ae, melifaro, olivier, rwatson Approved by: re (glebius) Sponsored by: Rubicon Communications (Netgate)
* MFC: r295074allanjude2016-02-041-68/+47
| | | | | | | | The zfsboot (zfs auto mode) part of bsdinstall now supports UEFI Approved by: re (marius) Relnotes: yes Sponsored by: ScaleEngine Inc.
* MFC r293825:kib2016-02-031-2/+11
| | | | | | | | | Switch legacy pty clone handler to use make_dev_s(9). MFC r294594: Remove printf only useful for debugging. Approved by: re (marius)
* MFC r294995:tuexen2016-02-035-73/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always look in the TCP pool. This fixes issues with a restarting peer when the listening 1-to-1 style socket is closed. MFC r295021: Remove debug output which was committed by accident. Thanks to Oliver Pinter for reporting. MFC r295069: Ignore peer addresses in a consistent way also when checking for new addresses during restart. If this is not done, restart doesn't work when the local socket is IPv4 only and the peer uses IPv4 and IPv6 addresses. MFC r295070: Don't change the remote UDP encapsulation port for SCTP packets containing an INIT chunk. MFC r295072: Don't allow a remote encapsulation port change during the SCTP restart procedure. MFC r295075: Update the path mtu when turning on/off UDP encapsulation for SCTP. MFC r295077: Add missing parentheses. This was reported by ccaughie via GitHub for the userland stack. Approved by: re (kib)
* MFC r294311:kib2016-02-022-14/+18
| | | | | | | | | | | | | | | | Clear whole XMM register file instead of only XMM0. Also clear x87 registers. This brings amd64 on par with i386, providing consistent initial FPU state. PR: 206370 MFC r294312: Use ANSI definitions. Wrap long line. MFC r294313: Adjust i386 comment to match amd64 one after r294311. Approved by: re (gjb)
* MFC: r294926allanjude2016-02-021-1/+1
| | | | | | | ficl on i386 should cast to unsigned char output to support efi i386 Submitted by: Toomas Soome <tsoome at me.com> Approved by: re (gjb)
* MFC 278320,278336,278830,285621:jhb2016-02-0117-5/+1199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add devctl(8): a utility for manipulating new-bus devices. Note that this version does not include the 'suspend' and 'resume' commands present in HEAD as those depend on larger changes to the suspend and resume code in the kernel. 278320: Add a new device control utility for new-bus devices called devctl. This allows the user to request administrative changes to individual devices such as attach or detaching drivers or disabling and re-enabling devices. - Add a new /dev/devctl2 character device which uses ioctls for device requests. The ioctls use a common 'struct devreq' which is somewhat similar to 'struct ifreq'. - The ioctls identify the device to operate on via a string. This string can either by the device's name, or it can be a bus-specific address. (For unattached devices, a bus address is the only way to locate a device.) Bus drivers register an eventhandler to claim unrecognized device names that the driver recognizes as a valid address. Two buses currently support addresses: ACPI recognizes any device in the ACPI namespace via its full path starting with "\" and the PCI bus driver recognizes an address specification of 'pci[<domain>:]<bus>:<slot>:<func>' (identical to the PCI selector strings supported by pciconf). - To make it easier to cut and paste, change the PnP location string in the PCI bus driver to output a full PCI selector string rather than 'slot=<slot> function=<func>'. - Add a devctl(3) interface in libdevctl which provides a wrapper around the ioctls and is the preferred interface for other userland code. - Add a devctl(8) program which is a simple wrapper around the requests supported by devctl(3). - Add a resource_unset_value() function that can be used to remove a hint from the kernel environment. This is used to clear a hint.<driver>.<unit>.disabled hint when re-enabling a boot-time disabled device. 278336: Unbreak the build (memchr is explicitly required by devctl(9) after r278320) 278830: install the man page... 285621: Fix formatting. Approved by: re (marius)
* MFC: r295032marius2016-02-011-1/+1
| | | | | | | | | | | | Use '^[>+][^+]' instead of '^[>+]' with grep(1) when filtering the diff(1) output between two files in "new_only"-mode. Otherwise, with the default of using unified format a remnant of the header in the output is the result. This is especially irritating when the two files differ but the second one is empty, amounting to the vestige of the header being the only readout. Reported by: Stefan Haemmerl Approved by: re (delphij)
* MFC r284539, r284630, r284688, r284877, r285217, r285218,grehan2016-02-0131-457/+2170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r286837, r286838, r288470, r288522, r288524, r288826, r289001 Pull in bhyve bug fixes and changes to allow UEFI booting. This provides Windows support. Tested on Intel and AMD with: - Arch Linux i386+amd64 (kernel 4.3.3) - Ubuntu 15.10 server 64-bit - FreeBSD-CURRENT/amd64 20160127 snap - FreeBSD 10.2 i386+amd64 - OpenBSD 5.8 i386+amd64 - SmartOS latest - Windows 10 build 1511' Huge thanks to Yamagi Burmeister who submitted the patch and did the majority of the testing. r284539 - bootrom mem allocation support r284630 - Add SO_REUSEADDR when starting debug port r284688 - Fix a regression in "movs" emulation r284877 - verify_gla() non-zero segment base fix r285217 - Always assert DCD and DSR in the uart r285218 - devmem nodes moved to /dev/vmm.io/ r286837 - Add define for SATA Check-Power-Mode r286838 - Add simple (no-op) SATA cmd emulations r288470 - Increase virtio-blk indirect descs r288522 - Firmware guest query interface r288524 - Fix post-test typo r288826 - Clean up SATA unimplemented cmd msg r289001 - Add -l option to specify userboot path Submitted by: Yamagi Burmeister Approved by: re (kib)
* Document SA-16:11.gjb2016-02-011-0/+8
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC revisions 294861,294863dteske2016-02-012-5/+14
| | | | | | | r294861: Add `-k' for dpv(3) `keep_tite' config option r294863: Bump copyright Approved by: re (gjb)
* MFC revisions 294860,294862,294892-294893,294922dteske2016-02-017-8/+20
| | | | | | | | | | r294860: Add keep_tite configuration option r294862: Bump copyrights r294892: Remove unused function prototype r294893: Fix a crash if `-D' is used without `-t title' r294922: Fix fatal warn when compiling under GCC 5.2.0 Approved by: re (marius)
* MFC r295051:smh2016-01-311-3/+3
| | | | | | | Fix phy interrupts setup for ixl Approved by: re (gjb) Sponsored by: Multiplay
* Fix clean target for sys/boot/efismh2016-01-301-0/+2
| | | | | | | | | | | Fix clean target breakage of sys/boot/efi introduced by r294981 specifically the MFC of r294029 without the related change introduced by r281114. This is direct commit to stable/10 as head uses src.opts.mk. Approved by: re (glebius) Sponsored by: Multiplay
* MFC r294691:sobomax2016-01-301-8/+16
| | | | | | Fix readpassphrase(3) when it's called with stdin being closed. Approved by: re (delphij)
* MFC r295006:bdrewery2016-01-291-5/+6
| | | | | | Fix -include .depend hack from r294370 for headers not in .PATH. Approved by: re (gjb)
* MFC r294578:smh2016-01-291-4/+10
| | | | | | | Fix ix advertise value after media change Approved by: re (gjb) Sponsored by: Multiplay
* MFC r294515:brooks2016-01-281-7/+21
| | | | | | | | | | | | | Fix the implementations of PSEUDO_NOERROR and PSEUDO. The PSEUDO* macros should not declare <syscall>, only _<syscall> and __sys_<syscall>. This was causing the interposing C wrappers to be ignored due to link order. Reviewed by: kib Obtained from: CheriBSD (4e8e13c90fc6a80e1520de44a6864cfd78b3b56d) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D4097
* MFC r294463:brooks2016-01-281-14/+15
| | | | | | | | | Shift saved floating point registers up in jmp_buf. sigmask_t is 128-bits so requires two slots. Obtained from: CheriBSD (93699cb9b6e73980ac369e379cea9772c9494ccc) Sponsored by: DARPA, AFRL
* MFC r294452:brooks2016-01-282-0/+96
| | | | | | Add a simple manpage for the cfi(4) and associated cfid(4) drivers. Sponsored by: DARPA, AFRL
* Merge OpenSSL 1.0.1r.jkim2016-01-28447-1089/+1518
| | | | Relnotes: yes
* MFC r294840hiren2016-01-284-2/+14
| | | | | | Persist timers TCPTV_PERSMIN and TCPTV_PERSMAX are hardcoded with 5 seconds and 60 seconds, respectively. Turn them into sysctls that can be tuned live. The default values of 5 seconds and 60 seconds have been retained.
* Fixed up version of r294061 that was reverted due to breakage of featuressbruno2016-01-287-194/+1590
| | | | | | | | | | | | | | | | | | | | | | | | | (netmap) and architectures(i386). <I'll take the pointyhat on that one> r283883 -- update to 3.1.0 r283893 -- update SRIOV API changes related to future possible MFC of SRIOV work r285590 -- Fix ixgbe(4) SRIOV VF initialization bugs r285591 -- Remove version check for FLOWID r285592 -- Update netmap support for ixgbe SRIOV VFs. r286238 -- Fixup MTU zeroing if INET/INET6 are undefined. Submitted by: kevin bowling <kevin.bowling@kev009.com> Differential Revision: https://reviews.freebsd.org/D4273
* MFC r293678:jimharris2016-01-281-2/+2
| | | | Update ismt(4) man page to reflect inclusion in upcoming 10.3 release.
* MFC r294068, r294265smh2016-01-2810-8/+377
| | | | | | | | | | | MFC r294068: Add EFI ZFS boot support MFC r294265: Fix broken DPRINTF and wire up EFI_DEBUG so -DEFI_DEBUG to make works. Relnotes: Yes Sponsored by: Multiplay
* MFC r281060, r294060, r294291, r294493, r294284:smh2016-01-288-221/+607
| | | | | | | | | | | | | | | | | | | MFC r281060: Remove an unnecessary space in a printf call MFC r294060: Modularise EFI boot loader MFC r294291 (by andrew): Reset the filesystem cache MFC r294493: Fix EFI UFS caching MFC r294284 (by emaste): boot1: correct typo in error message Sponsored by: Multiplay
* MFC r294506:smh2016-01-281-27/+66
| | | | | | Prevent loader.conf load failure due to unknown console entries Sponsored by: Multiplay
* MFC r293835:smh2016-01-283-11/+37
| | | | | | Improve non-interactive forth cmd error reporting Sponsored by: Multiplay
* MFC r286234 (by trasz):smh2016-01-281-0/+8
| | | | | | Fix a problem which made loader(8) load non-kld files twice. Sponsored by: Multiplay
* MFC r294059:smh2016-01-281-1/+8
| | | | | | Ensure boot fsread correctly probes all partitions Sponsored by: Multiplay
* MFC r281169, r293724, r293796, r294029, r294041, r294058smh2016-01-2840-130/+137
| | | | | | | | | | | | | | | | | | | | | | MFC r281169 (by andrew): Make global variabled only used in this file static MFC r294058: Make common boot file_loadraw name parameter const MFC r294041: Remove unused reg param from fdt_fixup_memory MFC r293724: Enable warnings in EFI boot code MFC r293796: Fix typo in libefi.c MFC r294029: Only build EFI components on supported compilers Sponsored by: Multiplay
* MFC r293831:smh2016-01-281-1/+1
| | | | | | | | | Increase efiboot.img size used in ISO creation This changes mkisoimages-uefi.sh instead of mkisoimages.sh in r293831 due to refactor not MFC'ed. Sponsored by: Multiplay
* MFC r293350:kib2016-01-287-89/+129
| | | | Convert sys/cam to use make_dev_s().
* MFC r293349:kib2016-01-281-52/+47
| | | | Convert tty common code to use make_dev_s().
* MFC r293346:kib2016-01-284-76/+235
| | | | Provide yet another KPI for cdev creation, make_dev_s(9).
* MFC r294040:smh2016-01-281-1/+7
| | | | | | Prevent bogus compiler in ZFS boot code. Sponsored by: Multiplay
OpenPOWER on IntegriCloud