summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use the pv lists generation count to read-lock the pvh_global_lock inkib2013-09-241-5/+30
| | | | | | | | | pmap_clear_modify(). Noted and reviewed by: alc Tested by: pho Sponsored by: The FreeBSD Foundation Approved by: re (marius)
* Ensure that the ERESTART return from the syscall reloads thekib2013-09-241-0/+4
| | | | | | | | | | | registers, to make the restarted syscall instruction pass the correct arguments. PR: kern/182161 Reported by: Russ Cox <rsc@swtch.com> Sponsored by: The FreeBSD Foundation MFC after: 3 days Approved by: re (marius)
* Forgotten in r255825: NETWORKING requires local_unbound.des2013-09-241-1/+1
| | | | Approved by: re (blanket)
* Replace the unused /etc/unbound directory with a symlink to /var/unbound.des2013-09-242-2/+5
| | | | Approved by: re (blanket)
* Regeneratedes2013-09-247-202/+120
| | | | Approved by: re (blanket)
* Regenerate the configure script before running it.des2013-09-241-1/+3
| | | | | | Set the default config file to /var/unbound/unbound.conf. Approved by: re (blanket)
* Don't include the build date or command-line arguments in the binary.des2013-09-242-15/+0
| | | | Approved by: re (blanket)
* Fix a few instances of M_WAITOK in threads marked as prohibited from sleep,trasz2013-09-241-2/+16
| | | | | | | missed in r255824. Approved by: re (kib) Sponsored by: FreeBSD Foundation
* Make load average sampling asynchronous to hardclock ticks. This improvesmav2013-09-241-2/+2
| | | | | | | | | | | | | measurement of load caused by time-related events still using hardclock. For example, without this change dummynet, scheduling events each hardclock tick, was always miscounted as load of 1. There is still aliasing with events delayed by the new precision mechanism, but it probably can't be avoided without moving this sampling from using callout to some lower-level code or handling it in some other special way. Reviewed by: davide Approved by: re (marius)
* - Add myself as port commiter and my mentors relationship.danilo2013-09-242-1/+5
| | | | | | - Add myself to calendar.freebsd. Approved by: re (gjb), wg (mentor)
* Unbreak the WITHOUT_KERBEROS build and try to reduce the odds of ades2013-09-239-21/+76
| | | | | | | | | repeat performance by introducing a script that runs configure with and without Kerberos, diffs the result and generates krb5_config.h, which contains the preprocessor macros that need to be defined in the Kerberos case and undefined otherwise. Approved by: re (marius)
* Correcting EXAMPLES section.hiren2013-09-231-5/+5
| | | | Approved by: re (gjb)
* Free both KVA and backing pages when freeing TSS memory.kib2013-09-232-2/+2
| | | | | | Reported and tested by: pho Sponsored by: The FreeBSD Foundation Approved by: re (marius)
* Prevent resolvconf from updating /etc/resolv.conf. As Jakob Schlyterdes2013-09-231-5/+3
| | | | | | | | | | pointed out, having additional nameservers listed in /etc/resolv.conf can break DNSSEC verification by providing a false positive if unbound returns SERVFAIL due to an invalid signature. The downside is that the domain / search path won't get updated either, but we can live with that. Approved by: re (blanket)
* Move local_unbound up in the rc order.des2013-09-231-1/+1
| | | | Approved by: re (blanket)
* Don't use M_WAITOK when running from context where sleeping is prohibited,trasz2013-09-232-5/+26
| | | | | | | such as callout or a geom thread. Approved by: re (marius) Sponsored by: FreeBSD Foundation
* Fix coredump on 'arp -d'.glebius2013-09-231-1/+4
| | | | | Submitted by: az Approved by: re (kib)
* Ensure that resolvconf(8) preserves the edns0 setting.des2013-09-231-0/+1
| | | | Approved by: re (blanket)
* Fix a bug in HTTP checking/fetching.dteske2013-09-234-4/+38
| | | | | | | | | | Fix a bug in HTTP checking/fetching. Add Main Site to HTTP menu. Add new example script browse_packages_http.sh and move existing example script browse_packages.sh -> browse_packages_ftp.sh Reviewed by: gjb, brd Approved by: re (gjb), clusteradm (brd) MFC after: 3 days
* Add installer support for CHRP/PAPR PowerPC systems that use MBR+BSDnwhitehorn2013-09-232-2/+4
| | | | | | | formatting, like x86, but with an additional MBR slice containing a raw boot partition. Approved by: re (gjb)
* Fix DELAY() on RPi, the wrong math was making it take twice it should.loos2013-09-231-1/+1
| | | | | | Reported by: Alexander <sht@ropnet.ru> Approved by: adrian (mentor) Approved by: re (gjb)
* Import a new libcxxrt. This fixes some potential crashing in the demangler.theraven2013-09-233-17/+74
| | | | | Approved by: re (gjb) MFC after: 1 week
* Prevent "lock (iscsi) sx does not match earlier (sleep mutex) lock" panictrasz2013-09-231-1/+1
| | | | | | | triggered by "kldload iscsi_initiator; kldunload iscsi_initiator; kldload iscsi". Approved by: re (marius)
* 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)
OpenPOWER on IntegriCloud