aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* [SA-14:31] Fix multiple vulnerabilities in NTP suite.Dag-Erling Smørgrav2014-12-235-10/+38
| | | | | | | | | [EN-14:13] Fix directory deletion issue in freebsd-update. Approved by: so Notes: svn path=/releng/10.0/; revision=276158
* Fix unbound remote denial of service vulnerability.Xin LI2014-12-172-0/+50
| | | | | | | | | Security: FreeBSD-SA-14:30.unbound Security: CVE-2014-8602 Approved by: so Notes: svn path=/releng/10.0/; revision=275854
* Fix multiple vulnerabilities in file(1) and libmagic(3).Xin LI2014-12-103-12/+40
| | | | | | | | | Security: FreeBSD-SA-14:28.file Security: CVE-2014-3710, CVE-2014-8116, CVE-2014-8117 Approved by: so Notes: svn path=/releng/10.0/; revision=275671
* [SA-14:24] Fix denial of service attack against sshd(8).Dag-Erling Smørgrav2014-11-041-14/+22
| | | | | | | | | | | [SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2). [SA-14:26] Fix remote command execution in ftp(1). [EN-14:12] Fix NFSv4 and ZFS cache consistency issue. Approved by: so (des) Notes: svn path=/releng/10.0/; revision=274110
* Time zone data file update. [EN-14:10]Xin LI2014-10-2116-2129/+2618
| | | | | | | Approved by: so Notes: svn path=/releng/10.0/; revision=273439
* Fix iconv(3) NULL pointer dereference and out-of-bounds arrayXin LI2014-06-245-26/+37
| | | | | | | | | | | | | | | | | | access. [SA-14:15] Fix multiple vulnerabilities in file(1) and libmagic(3). [SA-14:16] Worked around bug with PCID implementation. [EN-14:07] Security: CVE-2014-3951 Security: FreeBSD-SA-14:15.iconv Security: CVE-2013-7345, CVE-2014-1943, CVE-2014-2270 Security: FreeBSD-SA-14:16.file Approved by: so Notes: svn path=/releng/10.0/; revision=267829
* Fix sendmail improper close-on-exec flag handling. [SA-14:11]Xin LI2014-06-032-9/+35
| | | | | | | | | | | Fix incorrect error handling in PAM policy parser. [SA-14:13] Fix triple-fault when executing from a threaded process. [EN-14:06] Approved by: so Notes: svn path=/releng/10.0/; revision=267017
* MFS r260639 (MFC r260637):Xin LI2014-01-141-0/+2
| | | | | | | | | | Disable 'monitor' feature in ntpd by default. Security: FreeBSD-SA-14:02.ntpd Approved by: re (gjb) Notes: svn path=/releng/10.0/; revision=260641
* MFS r260638 (MFC r260636):Xin LI2014-01-141-0/+5
| | | | | | | | | | | | | Fix bsnmpd remote denial of service vulnerability. Reported by: dinoex Submitted by: harti Security: FreeBSD-SA-14:01.bsnmpd Security: CVE-2014-1452 Approved by: re (gjb) Notes: svn path=/releng/10.0/; revision=260640
* Merge r259216 from stable/10 (head r259111):Dimitry Andric2013-12-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | Use correct casts in gcc's emmintrin.h for the first arguments of the following builtin functions: * __builtin_ia32_pslldi128() takes __v4si instead of __v8hi * __builtin_ia32_psllqi128() takes __v2di instead of __v8hi * __builtin_ia32_psradi128() takes __v4si instead of __v8hi This should fix the following errors when building the LINT kernel with gcc: sys/crypto/aesni/aesni_wrap.c:191: error: incompatible type for argument 1 of '__builtin_ia32_psradi128' sys/crypto/aesni/aesni_wrap.c:195: error: incompatible type for argument 1 of '__builtin_ia32_pslldi128' Approved by: re (glebius) Notes: svn path=/releng/10.0/; revision=259279
* Merge r259214 from stable/10 (head r259100):Dimitry Andric2013-12-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | Pull in r196658 from upstream clang trunk: CodeGen: Don't emit linkage on thunks that aren't emitted because they're vararg. This can happen when we're trying to emit a thunk with available_externally linkage with optimization enabled but bail because it doesn't make sense for vararg functions. [LLVM] PR18098. This should fix clang "Broken module found, compilation aborted" errors when building the qt4-based dvbcut port. Reported by: se Approved by: re (glebius) Notes: svn path=/releng/10.0/; revision=259278
* MFC r258663:Konstantin Belousov2013-12-031-12/+12
| | | | | | | | | | | Use sysctl KERN_PROC_SIGTRAMP to retrieve the signal trampoline location for the native amd64 ABI. This fixes unwinding over the signal frame after trampoline was moved to the shared page. Approved by: re (gjb) Notes: svn path=/stable/10/; revision=258887
* MFC r258620:Dimitry Andric2013-11-291-1/+1
| | | | | | | | | | | | | | | | | | | Pull in r195558 from upstream clang trunk: Fix a SSE2 intrinsics typo Full discourse at: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131104/092514.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-November/068124.html Patch by Dimitry Andric and Alexey Dokuchaev! Reported by: danfe Approved by: re (gjb) Notes: svn path=/stable/10/; revision=258747
* MFC r258437:Brooks Davis2013-11-263-52/+99
| | | | | | | | | | | | | Sync with NetBSD. The functional change is to make the output when comparing a directory to an mtree file more compatible with fmtree when FreeBSD 9 compatiblity mode is on. This output is clearly intended for humans not computers, but some tools such as mergemaster's -U option rely on it. Approved by: re (glebius) Notes: svn path=/stable/10/; revision=258655
* MFC r258350:Dimitry Andric2013-11-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | Pull in r191896 from upstream llvm trunk: CaptureTracking: Plug a loophole in the "too many uses" heuristic. The heuristic was added to avoid spending too much compile time in a specially crafted test case (PR17461, PR16474) with many uses on a select or bitcast instruction can still trigger the slow case. Add a check for that case. This only affects compile time, don't have a good way to test it. This fixes the excessive compile time spent on a specific file of the graphics/rawtherapee port. Reported by: mandree Approved by: re (gjb) Notes: svn path=/stable/10/; revision=258607
* MFC r258426: libexecinfo: Include terminating null in byte countEd Maste2013-11-251-1/+1
| | | | | | | | | | | | | Otherwise, a formatted string with a strlen equal to the remaining buffer space would have the last character omitted (because vsnprintf always null-terminates), and later the assert in backtrace_symbols_fmt would fail. Sponsored by: DARPA, AFRL Approved by: re (gjb) Notes: svn path=/stable/10/; revision=258558
* MFC r257999 (peter):Glen Barber2013-11-167-1203/+2339
| | | | | | | | | | | Merge nvi-2.1.1 -> 2.1.2 Approved by: re (???) Sponsored by: The FreeBSD Foundation Notes: svn path=/stable/10/; revision=258231
* Merge r257888, r258049 from head:Gleb Smirnoff2013-11-141-54/+38
| | | | | | | | | | | - Use system libiconv, instead of trying to dlopen() it. - Just disable recoding support in libsmb if built WITHOUT_ICONV. PR: 183153 Approved by: re (kib) Notes: svn path=/stable/10/; revision=258125
* MFC of 257681Edwin Groothuis2013-11-0511-245/+619
| | | | | | | | | | | | | | | | | | tzdata2013f - Jordan goes to winter time on the last Friday in October. - Tocantins in Brazil will not go into summer time in October. - Indonesian time zones renames. - Lots of cleanups in with regarding to links and historical data. tzdata2013h - Libya didn't go back to DST. - Fix Morocco 2038 issue. - Brazil/Acre and ?Western Amazonas are chaning timezones. Approved by: re (Gleb) Notes: svn path=/stable/10/; revision=257697
* MFC r257109:Steven Hartland2013-10-291-0/+2
| | | | | | | | | | | | | | Add clang-CC and CC to list of hints allowing clang to identify its operating mode as c++ instead of defaulting to c for the binary names CC and clang-CC. This fixes builds that use cmake which automatically sets CXX to /usr/bin/CC by default. PR: bin/182442 Approved by: re (glebius) Notes: svn path=/stable/10/; revision=257327
* MFC r257129:Colin Percival2013-10-282-5/+3
| | | | | | | | | | Remove time and date stamps from svn* binaries, in order to make the builds reproducible. Approved by: re (glebius) Notes: svn path=/stable/10/; revision=257286
* MFC r256687:Brooks Davis2013-10-234-27/+44
| | | | | | | | | | | | | | | | Upgrade to the latest version of mtree from NetBSD. This revision re-removes the printing of size for non-regular files, supports type-less root (.) entries as seen in a couple ports, and corrects a bug in -N that caused expanded Subversion $FreeBSD$ strings in comments to be processed as /etc/group entries. Includes one trivial portability fix (including <stdint.h> in three files) that has been committed upstream. Approved by: re (glebius) Notes: svn path=/stable/10/; revision=256996
* - Remove debugging from GENERIC* kernel configurationsGlen Barber2013-10-101-0/+2
| | | | | | | | | | | | | - Enable MALLOC_PRODUCTION - Default dumpdev=NO - Remove UPDATING entry regarding debugging features - Bump __FreeBSD_version to 1000500 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/stable/10/; revision=256283
* Add support for assembling and disassembling Intel Random NumberDimitry Andric2013-10-074-8/+40
| | | | | | | | | | | | Generator extensions (e.g. the 'rdrand' mnemonic) to our copy of binutils. Approved by: re (kib) Obtained from: OpenBSD, via pfg MFC after: 1 week Notes: svn path=/head/; revision=256112
* Pull in r192064 from upstream llvm trunk:Dimitry Andric2013-10-061-0/+4
| | | | | | | | | | | | | | | | | X86: Don't fold spills into SSE operations if the stack is unaligned. Regalloc can emit unaligned spills nowadays, but we can't fold the spills into SSE ops if we can't guarantee alignment. PR12250. This fixes unaligned SSE accesses (leading to a SIGBUS) which could occur in the ffmpeg ports. Approved by: re (kib) Reported by: tijl MFC after: 3 days Notes: svn path=/head/; revision=256090
* ename internal function test() to avoid name clashes withBernhard Froehlich2013-10-061-3/+3
| | | | | | | | | | | common macros. This fixes ports like mysql 5.6 which has an internal macro called test. Approved by: re (gjb) Discussed with: theraven Notes: svn path=/head/; revision=256082
* Pull in r189644 from upstream llvm trunk:Dimitry Andric2013-10-0321-30/+130
| | | | | | | | | | | | | | | Add ms_abi and sysv_abi attribute handling. Based on a patch by Benno Rice! This will help to develop EFI support. Approved by: re (kib) Verified by: benno MFC after: 1 week Notes: svn path=/head/; revision=256030
* Pull in r186338 from upstream llvm trunk:Dimitry Andric2013-10-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove invalid assert in DAGTypeLegalizer::RemapValue There is a comment at the top of DAGTypeLegalizer::PerformExpensiveChecks which, in part, says: // Note that these invariants may not hold momentarily when processing a node: // the node being processed may be put in a map before being marked Processed. Unfortunately, this assert would be valid only if the above-mentioned invariant held unconditionally. This was causing llc to assert when, in fact, everything was fine. Thanks to Richard Sandiford for investigating this issue! Fixes PR16562. This fixes assertions which could occur in the multimedia/ffmpeg1 and multimedia/ffmpeg2 ports. Approved by: re (hrs) Reported by: Matthias Apitz <guru@unixarea.de> MFC after: 3 days Notes: svn path=/head/; revision=256024
* Use correct size for MIPS .rld_map sectionEd Maste2013-10-021-1/+5
| | | | | | | | | | | | | On MIPS .dynamic is read-only and so a special section .rld_map is used to store the pointer to the rtld information for debuggers. This section had a hard coded size of 4 bytes which is not correct for mips64. (Note that FreeBSD's rtld does not yet populate .rld_map.) Sponsored by: DARPA, AFRL Approved by: re (delphij) Notes: svn path=/head/; revision=255982
* Pull in r191711 from upstream llvm trunk:Dimitry Andric2013-10-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | The X86FixupLEAs pass for Intel Atom must not call convertToThreeAddress on ADD16rr opcodes, if src1 != src, since that would cause convertToThreeAddress to try to create a virtual register. This is not permitted after register allocation, which is when the X86FixupLEAs pass runs. This patch fixes PR16785. Pull in r191715 from upstream llvm trunk: Forgot to add a break statement. This should enable building the x11-toolskits/libXaw port with CPUTYPE=atom. Approved by: re (gjb) Reported by: Kenta Suzumoto <kentas@hush.com> MFC after: 3 days Notes: svn path=/head/; revision=255978
* Remove BIND.Dag-Erling Smørgrav2013-09-301038-479398/+0
| | | | | | | Approved by: re (gjb) Notes: svn path=/head/; revision=255949
* Fix a bug in ld, where indirect symbols are not handled properly duringDimitry Andric2013-09-281-3/+19
| | | | | | | | | | | | linking of a shared library, leading to corrupt indexes in the dynamic symbol table. This should fix the multimedia/ffmpegthumbnailer port. Approved by: re (kib) Reported by: swills MFC after: 2 weeks Notes: svn path=/head/; revision=255931
* Fix Fx syntax.Simon J. Gerraty2013-09-271-1/+1
| | | | | | | | PR: 182269 Approved by: re@ Notes: svn path=/head/; revision=255916
* Add an elf note on ARM to store the MACHINE_ARCH an executable was builtAndrew Turner2013-09-262-0/+3
| | | | | | | | | | | | | for. This is useful for software needing to know which architecture a binary is built for as arm and armv6 have slight differences meaning only some binaries build for one will work as expected on the other. It is expected pkgng will be able to make use of this to simplify the logic to determine which package ABI to use. Approved by: re (kib) Notes: svn path=/head/; revision=255874
* Correct a NULL pointer deference in nslookup and nsupdate that wouldXin LI2013-09-252-2/+4
| | | | | | | | | | | cause the utility to crash in interactive mode when the user gives an EOF on standard input. MFC after: 3 days Approved by: re (gjb) Notes: svn path=/head/; revision=255873
* Update dialog to 1.2-20130923.Devin Teske2013-09-2433-1936/+4816
| | | | | | | Approved by: re (marius) Notes: svn path=/head/; revision=255852
* RegenerateDag-Erling Smørgrav2013-09-247-202/+120
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255840
* Regenerate the configure script before running it.Dag-Erling Smørgrav2013-09-241-1/+3
| | | | | | | | | Set the default config file to /var/unbound/unbound.conf. Approved by: re (blanket) Notes: svn path=/head/; revision=255839
* Don't include the build date or command-line arguments in the binary.Dag-Erling Smørgrav2013-09-242-15/+0
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255838
* Import a new libcxxrt. This fixes some potential crashing in the demangler.David Chisnall2013-09-233-17/+74
| | | | | | | | Approved by: re (gjb) MFC after: 1 week Notes: svn path=/head/; revision=255815
* Pull in r191165 from upstream llvm trunk:Dimitry Andric2013-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) Notes: svn path=/head/; revision=255804
* Build and install drill(1).Dag-Erling Smørgrav2013-09-222-0/+539
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255801
* Due to a missing command-line argument, yacc regenerated the parser butDag-Erling Smørgrav2013-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) Notes: svn path=/head/; revision=255795
* Set props and correct RCS ID tag.Dag-Erling Smørgrav2013-09-212-1/+4
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255779
* Remove redundant files.Cy Schubert2013-09-21529-30779/+0
| | | | | | | | Approved by: glebius (mentor) Approved by: re (blanket) Notes: svn path=/head/; revision=255762
* Check return code from inet_pton.Cy Schubert2013-09-211-1/+13
| | | | | | | | | Discovered by: Coverity. Approved by: glebius (mentor) Approved by: re (blanket) Notes: svn path=/head/; revision=255761
* Disable LLDB OSX ABI pluginEd Maste2013-09-201-6/+0
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255721
* Merge lldb man page from r188801 to contrib/llvm/tools/lldb/docs/Ed Maste2013-09-191-0/+119
| | | | | | | Approved by: re (gjb) Notes: svn path=/head/; revision=255682
* Remove duplicate function declaration.Dag-Erling Smørgrav2013-09-151-17/+0
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255600
* The Unbound developers have never met a pointer game they didn't like.Dag-Erling Smørgrav2013-09-151-2/+2
| | | | | | | | | Fix needless deconsting. Approved by: re (blanket) Notes: svn path=/head/; revision=255599