aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Do not overallocate on the stack. Threaded code might use custom stackKonstantin Belousov2011-09-191-43/+69
| | | | | | | | | | | | | size. Reported by: many Tested by: Jeremie Le Hen <jeremie@le-hen.org> (previous version) Reviewed by: jilles Approved by: re (bz) MFC after: 2 weeks Notes: svn path=/head/; revision=225677
* Bump .Dd date for previous revision.Xin LI2011-09-171-1/+1
| | | | | | | Approved by: re (follow up commit fixing trivial issue) Notes: svn path=/head/; revision=225644
* Change the example of using smbfs in fstab to a password-less one,Xin LI2011-09-171-3/+3
| | | | | | | | | | | | which is less likely to block a remote system from boot. Submitted by: Garrett Cooper <yanegomi@gmail.com> PR: doc/160775 MFC after: 1 month Approved by: re (kib) Notes: svn path=/head/; revision=225643
* Merge from openresolv 3.4.4 in the vendor branch.Hiroki Sato2011-09-136-47/+55
| | | | | | | Approved by: re (kib) Notes: svn path=/head/; revision=225524
* Upgrade to BIND version 9.8.1. Release notes at:Doug Barton2011-09-03212-8393/+12060
|\ | | | | | | | | | | | | | | | | | | | | https://deepthought.isc.org/article/AA-00446/81/ or /usr/src/contrib/bind9/ Approved by: re (kib) Notes: svn path=/head/; revision=225361
* \ - Merged awk upstream that includes a fix for a bug exposed by kmod_syms.mk.Ruslan Ermilov2011-08-113-3/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | - Provide a build aid for those who already have a buggy awk(1) installed. Approved by: re (kib) Notes: svn path=/head/; revision=224776
* | | Update to a 7-Aug-2011 release.Ruslan Ermilov2011-08-0910-43/+98
|\| | | | | | | | | | | | | | | | | | | | Approved by: re (kib) Notes: svn path=/head/; revision=224731
* | | Implement functions necessary for compiling fbsd-threads.c.Marius Strobl2011-08-062-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: marcel Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=224686
* | | Fix broken mdoc.Ulrich Spörlein2011-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Found by: manlint Approved by: re (kib) Notes: svn path=/head/; revision=224584
* | | Fix accidential dos-style endings to unix-style line endingsMartin Matuska2011-07-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | from last commit (r224523) to match the version approved by re@ Approved by: re (implicit) Notes: svn path=/head/; revision=224524
* | | Fix invalid assertion of C++ external static data member declarationsMartin Matuska2011-07-302-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as anonymous namespaces are local to the current translation. GCC PR: c++/33094 Reviewed by: uqs Approved by: re (kib) Obtained from: gcc (branches/redhat/gcc-4_1-branch, rev. 129554, GPLv2) MFC after: 1 week Notes: svn path=/head/; revision=224523
* | | Rework the dynamic per-CPU stats code a bit. Always set 'statics->ncpus'John Baldwin2011-07-182-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the maximum number of CPUs to ensure that lcpustates[] array is always allocated to the maximum size. Previously, if top was started without per-CPU stats it would allocate a smaller lcpustates[] array. When per-CPU stats were then enabled, it would overflow the array and trash the cpustates_columns[] array causing the CPU stats to be printed in the wrong locations. Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=224205
* | | Tweak the interactive description of CPU vs WCPU.John Baldwin2011-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: bin/158819 Submitted by: arundel Approved by: re (kib) Notes: svn path=/head/; revision=224204
* | | Upgrade our copy of llvm/clang to r135360, from upstream's trunk.Dimitry Andric2011-07-171081-36368/+62045
| | | | | | | | | | | | Notes: svn path=/head/; revision=224145
* | | Correct the description of struct pfioc_state_kill.Bjoern A. Zeeb2011-07-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | PR: kern/158997 Submitted by: ohauer Notes: svn path=/head/; revision=224141
* | | Upgrade to version 9.8.0-P4Doug Barton2011-07-16609-17302/+75304
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | This version has many new features, see /usr/share/doc/bind9/README for details. Notes: svn path=/head/; revision=224092
* | | Update dialog to 1.1-20110707.Nathan Whitehorn2011-07-1443-1548/+3750
| | | | | | | | | | | | Notes: svn path=/head/; revision=224014
* | | Add a leading space to the status messages output after toggling theJohn Baldwin2011-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'C' and 'H' flags at runtime. This matches messages output for other toggles which leave the first column in the message blank to hold the cursor. PR: bin/158775 Submitted by: arundel MFC after: 3 days Notes: svn path=/head/; revision=223937
* | | Allow per-CPU statistics to be toggled at runtime via the 'P' key.John Baldwin2011-07-114-8/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While here, make -P a toggle similar to other options such as -I. Reviewed by: arundel MFC after: 1 week Notes: svn path=/head/; revision=223936
* | | Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3)Martin Matuska2011-07-1150-270/+2375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For architectures with __NO_STRICT_ALIGNMENT define TUKLIB_FAST_UNALIGNED_ACCESS MFC after: 2 weeks Notes: svn path=/head/; revision=223935
* | | Note that -a, -C, -H, -j, and -z are also toggles.John Baldwin2011-07-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: bin/158682 Reported by: arundel MFC after: 3 days Notes: svn path=/head/; revision=223870
* | | Note the PF version.David E. O'Brien2011-07-071-2/+7
| | | | | | | | | | | | | | | | | | | | | Discussed with: bz Notes: svn path=/head/; revision=223849
* | | Update to version 9.6-ESV-R4-P3Doug Barton2011-07-0613-64/+96
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ALL BIND USERS ARE ENCOURAGED TO UPGRADE IMMEDIATELY This update addresses the following vulnerability: CVE-2011-2464 ============= Severity: High Exploitable: Remotely Description: A defect in the affected BIND 9 versions allows an attacker to remotely cause the "named" process to exit using a specially crafted packet. This defect affects both recursive and authoritative servers. The code location of the defect makes it impossible to protect BIND using ACLs configured within named.conf or by disabling any features at compile-time or run-time. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2464 https://www.isc.org/software/bind/advisories/cve-2011-2464 Notes: svn path=/head/; revision=223812
* | | Apply bug fixesDoug Barton2011-07-061-10/+9
| | | | | | | | | | | | | | | | | | | | | Submitted by: marius Notes: svn path=/head/; revision=223811
* | | - Fix typo in check_for_nested_with_variably_modified presentUlrich Spörlein2011-07-014-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement -Wvariable-decl. - Port -Wtrampolines support from gcc3. (all three also via OpenBSD) PR: gnu/127136, gnu/157019 Submitted by: Henning Petersen, Pedro Giffuni MFC after: 6 weeks Notes: svn path=/head/; revision=223715
* | | Make lukemftpd properly set login class and cpumask.Edward Tomasz Napierala2011-06-301-5/+5
| | | | | | | | | | | | Notes: svn path=/head/; revision=223702
* | | Make Sendmail properly set login class and cpumask.Edward Tomasz Napierala2011-06-301-0/+6
| | | | | | | | | | | | Notes: svn path=/head/; revision=223701
* | | In case ntp cannot resolve a hostname on startup it will queue the entryBjoern A. Zeeb2011-06-292-20/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for resolving by a child process that, upon success, will add the entry to the config of the running running parent process. Unfortunately there are a couple of bugs with this, fixed in various later versions of upstream in potentially different ways due to other code changes: 1) Upon server [-46] <FQDN> the [-46] are used as FQDN for later resolving which does not work. Make sure we always pass the name (or IP there). 2) The intermediate file to carry the information to the child process does not know about -4/-6 restrictions, so that a dual-stacked host could resolve to an IPv6 address but that might be unreachable (see r223626) leading to no working synchronization ignoring a IPv4 record. Thus alter the intermediate format to also pass the address family (AF_UNSPEC (default), AF_INET or AF_INET6) to the child process depending on -4 or -6. 3) Make the child process to parse the new intermediate file format and save the address family for getaddrinfo() hints flags. 4) Change child to always reload resolv.conf calling res_init() before trying to resolve names. This will pick up resolv.conf changes or new resolv.confs should they have not existed or been empty or unusable on ntp startup. This fix is more conditional in upstream versions but given FreeBSD has res_init there is no need for the configure logic as well. Approved by: roberto Sponsored by: Sandvine Incorporated MFC after: 9 days Notes: svn path=/head/; revision=223667
* | | Update packet filter (pf) code to OpenBSD 4.5.Bjoern A. Zeeb2011-06-2829-1298/+2189
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You need to update userland (world and ports) tools to be in sync with the kernel. Submitted by: mlaier Submitted by: eri Notes: svn path=/head/; revision=223637
| * | | Flatten out the pf userland vendor areaMax Laier2008-12-1051-31319/+0
| | | | | | | | | | | | | | | | Notes: svn path=/vendor/pf/dist/; revision=185872
* | | | MFV of tzdata2011h, r223627Edwin Groothuis2011-06-285-34/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Russia scraps DST in 2011 - Remove Netherlands Antilles, add Bonaire, Curacao, Sint Maarten Notes: svn path=/head/; revision=223629
* | | | Compare port numbers correctly. They are stored by SRCPORT()Bjoern A. Zeeb2011-06-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in host byte order, so we need to compare them as such. Properly compare IPv6 addresses as well. This allows the, by default, 8 badaddrs slots per address family to work correctly and only print sendto() errors once. The change is no longer applicable to any latest upstream versions. Approved by: roberto Sponsored by: Sandvine Incorporated MFC after: 1 week Notes: svn path=/head/; revision=223626
* | | | Incorporate vendor commit ecdc5c0a7f7591a7cd4a:Xin LI2011-06-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In userland, sign extend the offset for JA instructions. We currently use that to implement "ip6 protochain", and "pc" might be wider than "pc->k", in which case we need to arrange that "pc->k" be sign-extended, by casting it to bpf_int32. PR: kern/157188 Submitted by: plosher MFC after: 2 weeks Notes: svn path=/head/; revision=223616
* | | | For some reason, contrib/traceroute/traceroute.c ensures MAXHOSTNAMELENDimitry Andric2011-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is defined, but then proceeds to use a hardcoded maximum hostname length of 64 anyway. Fix this by checking against MAXHOSTNAMELEN instead. PR: bin/157732 MFC after: 3 days Notes: svn path=/head/; revision=223579
* | | | Make GNU as recognize the ARM 'rrx' mnemonic, which can be generated byDimitry Andric2011-06-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang for certain expressions. Code taken from Apple cctools (GPLv2). Submitted by: damjan.marion@gmail.com Notes: svn path=/head/; revision=223484
* | | | Revert r214857 pursudant to 9.0-RELEASE cycle.Xin LI2011-06-202-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: jh Notes: svn path=/head/; revision=223342
* | | | Merge tnftp-20100108 from the vendor branch into head.Gavin Atkinson2011-06-2071-36288/+4900
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: bin/112288 bin/120256 bin/129014 bin/145528 MFC after: 1 month Notes: svn path=/head/; revision=223328
| * | | | Bootstrap lukemftp vendor areavendor/NetBSD/lukemftpGavin Atkinson2011-06-1935-26026/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/lukemftp/dist/; revision=223300
* | | | | Copy lukemftp to its new home, tnftp. I'm doing this in stages so as toGavin Atkinson2011-06-1934-0/+24972
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not confuse the CVS exporter. Notes: svn path=/head/; revision=223308
* | | | | Don't #undef curses ERR in dialog.h. Otherwise, the macro will beJaakko Heinonen2011-06-191-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unavailable if curses.h is included before dialog.h. PR: bin/156601 Obtained from: Thomas E. Dickey (upstream maintainer) Discussed with: nwhitehorn Notes: svn path=/head/; revision=223289
* | | | | Fix clang warnings.Ben Laurie2011-06-1815-33/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: philip (mentor) Notes: svn path=/head/; revision=223262
* | | | | - Check on target wordsize instead of compile time define if we build onAndreas Tobler2011-06-141-61/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64-bit PowerPC or 32-bit PowerPC. - Make gdb work on powerpc64, the code for this is obtained from ppc-linux-tdep.c. - Remove non-elf core read functionality. Implement core read functionality similar like other FreeBSD targets. - Set long double limitations. Notes: svn path=/head/; revision=223082
* | | | | Update notes regarding FreeBSD importGregory Neil Shapiro2011-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=223071
* | | | | Merge sendmail 8.14.5 to HEADGregory Neil Shapiro2011-06-1443-398/+880
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 4 days Notes: svn path=/head/; revision=223067
| * | | | | Import sendmail 8.14.5Gregory Neil Shapiro2011-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/sendmail/dist/; revision=223063
* | | | | | Add a new option -P to suppress getservbyport(3) calls when printing rules.Bjoern A. Zeeb2011-06-135-19/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows one to force consistent printing of numeric port numbers like we do with -n for other tools like netstat (just that -n was already taken) rather than the service names. -P is currently unused in OpenBSD so the change is eligible for upstreaming. PR: misc/151015 Submitted by: Matt Koivisto (mkoivisto sandvine.com) Sponsored by: Sandvine Incorporated MFC after: 1 week Notes: svn path=/head/; revision=223057
* | | | | | Upgrade our copy of llvm/clang to r132879, from upstream's trunk.Dimitry Andric2011-06-12670-19827/+35411
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=223017
* | | | | | MFV: Update to less v444.Xin LI2011-06-0913-45/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=222906
* | | | | | | Pull up all vendor changes to mdoc(7).Ruslan Ermilov2011-06-083-4/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also replaces the local fix in r219209 that made .Ac emit ASCII angle quotes with an official fix. In the official fix, ASCII quotes are output when using the .Aq, .Ao and .Ac calls, but only when nested into the .An macro. PR: gnu/154822 Notes: svn path=/head/; revision=222852
* | | | | | | Upgrade libcompiler_rt from revision 117047 to 132478.Ed Schouten2011-06-03201-536/+1346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems there have only been a small amount to the compiler-rt source code in the mean time. I'd rather have the code in sync as much as possible by the time we release 9.0. Changes: - The libcompiler_rt library is now dual licensed under both the University of Illinois "BSD-Like" license and the MIT license. - Our local modifications for using .hidden instead of .private_extern have been upstreamed, meaning our changes to lib/assembly.h can now be reverted. - A possible endless recursion in __modsi3() has been fixed. - Support for ARM EABI has been added, but it has no effect on FreeBSD (yet). - The functions __udivmodsi4 and __divmodsi4 have been added. Requested by: many, including bf@ and Pedro Giffuni Notes: svn path=/head/; revision=222656