summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a setup script for unbound(8) called local-unbound-setup. Itdes2013-09-2311-4/+488
| | | | | | | | | | | | | | | | | | | | | | | | | generates a configuration suitable for running unbound as a caching forwarding resolver, and configures resolvconf(8) to update unbound's list of forwarders in addition to /etc/resolv.conf. The initial list is taken from the existing resolv.conf, which is rewritten to point to localhost. Alternatively, a list of forwarders can be provided on the command line. To assist this script, add an rc.subr command called "enabled" which does nothing except return 0 if the service is enabled and 1 if it is not, without going through the usual checks. We should consider doing the same for "status", which is currently pointless. Add an rc script for unbound, called local_unbound. If there is no configuration file, the rc script runs local-unbound-setup to generate one. Note that these scripts place the unbound configuration files in /var/unbound rather than /etc/unbound. This is necessary so that unbound can reload its configuration while chrooted. We should probably provide symlinks in /etc. Approved by: re (blanket)
* Launch the bourne shell using "sh" rather than "${SHELL}", as the latterian2013-09-231-1/+1
| | | | | | | | | | may come in from the environment and reflect the user's interactive shell. Using bare "sh" is the dominant pattern in existing makefiles. MFC this together with r255775. Approved by: re () MFC after: 2 weeks
* Export two new DCMD enums. These allow set/get of the mfi_ctrl_propertiessbruno2013-09-221-0/+2
| | | | | | | | | | structure in the driver. Having these in 10.0 means that mfiutil can be modified to take adavantage of new updates without a kernel recompile. Approved by: re (gjb) MFC after: 2 weeks
* Always request zeroed memory, in case we're dumb enough to leak it later.des2013-09-221-2/+2
| | | | Approved by: re (gjb)
* Pull in r191165 from upstream llvm trunk:dim2013-09-2212-10/+26
| | | | | | | | | | | | | | | | | | | | | | | ISelDAG: spot chain cycles involving MachineNodes Previously, the DAGISel function WalkChainUsers was spotting that it had entered already-selected territory by whether a node was a MachineNode (amongst other things). Since it's fairly common practice to insert MachineNodes during ISelLowering, this was not the correct check. Looking around, it seems that other nodes get their NodeId set to -1 upon selection, so this makes sure the same thing happens to all MachineNodes and uses that characteristic to determine whether we should stop looking for a loop during selection. This should fix PR15840. Specifically, this fixes the long-standing assertion failure when compiling the multimedia/gstreamer port on i386. Thanks to Tijl Coosemans for his help in getting upstream to fix it. Approved by: re (marius)
* Remove drill(1) if MK_LDNS_UTILS is false.des2013-09-221-2/+9
| | | | | | Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false. Approved by: re (blanket)
* Build and install drill(1).des2013-09-224-0/+559
| | | | Approved by: re (blanket)
* Revert r255797. The LK_UPGRADE | LK_NOWAIT drops the lock.kib2013-09-221-14/+2
| | | | Approved by: re (marius, implicit)
* Pre-acquire the filedesc sx when a possibility exists that the laterkib2013-09-221-3/+30
| | | | | | | | | | | | code could need to remove a kqueue from the filedesc list. Global lock is already locked, which causes sleepable after non-sleepable lock acquisition. Reported and tested by: pho Reviewed by: jmg Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Approved by: re (gjb)
* Increase the chance of the buffer write from the bufdaemon helperkib2013-09-221-2/+14
| | | | | | | | | | | | context to succeed. If the locked vnode which owns the buffer to be written is shared locked, try the non-blocking upgrade of the lock to exclusive. PR: kern/178997 Reported and tested by: Klaus Weber <fbsd-bugs-2013-1@unix-admin.de> Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (marius)
* Launch the shell, passing it the path to the mk-osreldate script, ratherian2013-09-221-1/+1
| | | | | | | | | | than launching the script directly and relying on #! to launch the shell. This avoids problems when the source is mounted with the noexec flag. MFC this together with r255775. Approved by: re (kib) MFC after: 2 weeks
* Due to a missing command-line argument, yacc regenerated the parser butdes2013-09-222-339/+135
| | | | | | | not its header file, resulting in a mismatch between the lexer and parser and strange errors when reading the configuration file. Approved by: re (blanket)
* Fix indentation.des2013-09-221-1/+1
| | | | Approved by: re (blanket)
* Both the vm_map and vmspace zones are defined as "no free". So, there is noalc2013-09-221-23/+2
| | | | | | | | point in defining a fini function for these zones. Reviewed by: kib Approved by: re (glebius) Sponsored by: EMC / Isilon Storage Division
* Update comment from draft to RFC number.bz2013-09-221-3/+2
| | | | | | Submitted by: Loganaden Velvindron (logan elandsys.com) Approved by: re (gjb) MFC after: 6 days
* Consistently use the same value to indicate exclusively-held anddavide2013-09-222-8/+8
| | | | | | | | | | shared-held locks for all the primitives in lc_lock/lc_unlock routines. This fixes the problems introduced in r255747, which indeed introduced an inversion in the logic. Reported by: many Tested by: bdrewery, pho, lme, Adam McDougall, O. Hartmann Approved by: re (glebius)
* - Create kern.ipc.sendfile namespace, and put the new "readhead" OIDglebius2013-09-228-24/+81
| | | | | | | | | there as "kern.ipc.sendfile.readahead". - Push all nsfbuf related tunables into MD code. Don't move them to new namespace in favor of POLA. Reviewed by: scottl Approved by: re (gjb)
* Remove the armv6eb architecture as it is unused, and almost certainlyandrew2013-09-222-2/+2
| | | | | | | | broken. None of our kernels can boot armv6eb. The little-endian kernels do not have the required code to be able to switch endian when running a big-endian executable. Approved by: re (gjb)
* Fix ia64 and mips kernel builds due to XENHVM=>GENERIC integration ingibbs2013-09-221-0/+4
| | | | | | | | | | | revision 255744. sys/kern/subr_smp.c: IPI_SUSPEND is only available on amd64 and i386. Protect new uses of this constant with #ifdefs to avoid impacting other platforms. Approved by: re (blanket Xen)
* Fix compilation of the i386 PAE kernel config.gibbs2013-09-221-2/+0
| | | | | | | sys/i386/include/xen/xenvar.h: Provide vtomach() when PAE is defined. Approved by: re (blanket Xen)
* Remove autoprops.des2013-09-210-0/+0
| | | | Approved by: re (blanket)
* Set props and correct RCS ID tag.des2013-09-212-1/+4
| | | | Approved by: re (blanket)
* Regenerate syscall argument strings after r255777.markj2013-09-212-24/+24
| | | | | Approved by: re (gjb) MFC after: 1 week
* Omit "__restrict" when generating syscall argument strings. DTrace doesn'tmarkj2013-09-211-6/+8
| | | | | | | handle it and cannot determine the argument type when it's present. Approved by: re (gjb) MFC after: 1 week
* Give argtype struct names a different prefix than probe struct names.markj2013-09-211-2/+2
| | | | | | | | Otherwise it's possible to declare SDT probes in such a way that a name collision occurs, causing an unexpected compilation error. Approved by: re (gjb) MFC after: 1 week
* Create a separate script to generate osreldate.h rather than sourcingian2013-09-212-13/+59
| | | | | | | | | | | | | | | | | newvers.sh into a temporary subshell with inline make rules. Using a separate script fixes a variety of problems, including establishing the correct dependencies in the makefiles. It also eliminates a problem with the way newvers.sh uses `realpath $0`, because $0 expands differently within a script sourced into a rule in a makefile depending on the version of make and of /bin/sh being used. The latter can cause build breakage in a cross-build environment, and can also make it difficult to compile 10.0 on older pre-10.0 systems. PR: 160646 174422 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> Approved by: re (gjb) MFC after: 2 weeks
* Pull in all the OpenSSH bits that we'd previously left out because wedes2013-09-21146-0/+43001
|\ | | | | | | | | | | | | didn't use them. This will make future merges from the vendor tree much easier. Approved by: re (gjb)
* | Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI porthselasky2013-09-213-25/+66
| | | | | | | | | | | | | | | | | | | | routing if we get certain errors. Poll for command completion upon command timeouts. The XHCI error events might not generate interrupts. MFC after: 1 week Reported by: Daniel Gerzo <danger@rulez.sk>, Antonis Anastasiadis <anastasiadis@datalive.gr> PR: usb/181159 Approved by: re (gjb)
* | Upgrade to 6.3p1.des2013-09-21154-2393/+4264
|\ \ | |/ | | | | Approved by: re (gjb)
| * Vendor import of OpenSSH 6.3p1des2013-09-18221-3170/+5464
| |
* | Ditch the random seeding code, which never really worked as intended.des2013-09-211-66/+39
| | | | | | | | | | | | | | | | Add config variables to enable / disable individual host key algorithms. Clean up the host key generation code. Approved by: re (gjb) MFC after: 3 weeks
* | Make the directory mapping functionality, which was previously onlydes2013-09-214-86/+78
| | | | | | | | | | | | | | | | | | available in 32-bit compatibility mode, unconditional. Overhaul the man page, which had evolved more by accretion than by design. Approved by: re (gjb) MFC after: 3 weeks
* | Fix the AR933x CPU UART support by using the correct clock when calculatingadrian2013-09-211-2/+8
| | | | | | | | | | | | | | | | | | | | the UART frequency. Tested: * AR933x (carambola 2 board), UART now works again Approved by: re
* | Remove redundant files.cy2013-09-21529-30779/+0
| | | | | | | | | | Approved by: glebius (mentor) Approved by: re (blanket)
* | Check return code from inet_pton.cy2013-09-211-1/+13
| | | | | | | | | | | | Discovered by: Coverity. Approved by: glebius (mentor) Approved by: re (blanket)
* | Replace claims that DES is a strong cryptosystem with a warning statingdes2013-09-211-28/+7
| | | | | | | | | | | | that it should no longer be considered secure. Approved by: re (gjb)
* | Introduce spares in the TCP syncache and timewait structuresbz2013-09-212-1/+4
| | | | | | | | | | | | | | | | | | so that fixed TCP_SIGNATURE handling can later be merged. This is derived from follow-up work to SVN r183001 posted to net@ on Sep 13 2008. Approved by: re (gjb)
* | Address double init of ip_log mutex, fixing a panic after ipfilter iscy2013-09-211-1/+1
| | | | | | | | | | | | | | re-enabled following it being disabled. Approved by: glebius (mentor) Approved by: re (blanket)
* | Enable main ipfilter sysctl MIBs.cy2013-09-211-28/+26
| | | | | | | | | | Approved by: glebius (mentor) Approved by: re (blanket)
* | Convert ipfilter from timeout(9) to callout(9).cy2013-09-212-4/+14
| | | | | | | | | | | | Submitted by: jhb Approved by: glebius (mentor) Approved by: re (blanket)
* | Remove additional non-FreeBSD code.cy2013-09-211-25/+2
| | | | | | | | | | Approved by: glebius (mentor) Approved by: re (blanket)
* | Optimize the block size used on ZFS cache devices as is already donegibbs2013-09-211-0/+2
| | | | | | | | | | | | | | | | | | | | for data and log devices. Reported by: Dmitryy Makarov Submitted by: smh Reviewed by: gibbs Approved by: re (delphij) MFC after: 2 weeks
* | Put 'device hyperv' back in amd64/GENERIC, incorrectly removed withgjb2013-09-211-0/+3
| | | | | | | | | | | | | | | | r255736. Pointed out by: gibbs Approved by: re (delphij) Sponsored by: The FreeBSD Foundation
* | Reorder/regroup the vmm ioctl api definitions to allow somegrehan2013-09-211-21/+35
| | | | | | | | | | | | | | | | | | semblance of API stability and growth during the 10.* timeframe. Userland/kernel bhyve will have to be recompiled after this. Reviewed by: neel Approved by: re@ (blanket)
* | MFV r254750:delphij2013-09-2115-61/+430
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support of Illumos dumps on zvol over RAID-Z. Note that this only adds the features. FreeBSD would still need more work to support dumping on zvols. Illumos ZFS issues: 2932 support crash dumps to raidz, etc. pools MFC after: 1 month Approved by: re (ZFS blanket)
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-08-2312-47/+366
| | | | | | | | | | | | | | | | | | | | | to 14159:dc75c925d8aa: Illumos ZFS issues: 2932 support crash dumps to raidz, etc. pools
| * | Update vendor-sys/illumos/dist to 14157:85f7bb2246ca:delphij2013-08-232-38/+14
| | | | | | | | | | | | | | | Illumos ZFS issues: 4046 dsl_dataset_t ds_dir->dd_lock is highly contended
| * | Update vendor-sys/illumos/dist to 14151:189ec27885ae:delphij2013-08-238-89/+97
| | | | | | | | | | | | | | | Illumos DTrace issues: 4047 panic from dbuf_free_range() from dmu_free_object() while doing zfs receive
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-08-161-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 14143:42d090a37218: Illumos DTrace issues: 3089 want ::typedef 3094 libctf should support removing a dynamic type 3095 libctf does not validate arrays correctly 3096 libctf does not validate function types correctly
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-08-163-14/+28
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 14137:f7523d207d74: Illumos ZFS issues: 3996 want a libzfs_core API to rollback to latest snapshot
OpenPOWER on IntegriCloud