Commit Graph

229248 Commits

Author SHA1 Message Date
joerg
f14316bcbc Update build glue for LLVM/Clang 3.6svn r215315. Changes include various
performance improvements across all backends and a much improved PPC32
backend.
2014-08-10 17:32:54 +00:00
joerg
20349482dc Mark files without llvm-215315 tag as dead. 2014-08-10 17:21:24 +00:00
joerg
91b24e612c Mark files without clang-215315 tag as dead. 2014-08-10 17:21:02 +00:00
wiz
eaf8a40ebe Markup simplifications and improvements. Bump date for previous. 2014-08-10 17:17:04 +00:00
wiz
d3df20dd66 Sync usage with manpage a bit more. 2014-08-10 17:13:14 +00:00
wiz
233b62b2e9 Sort options and mark them as optional.
Bump date for previous.
2014-08-10 17:13:02 +00:00
joerg
18ad5bbf2b Import clang 3.6svn r215315. 2014-08-10 17:07:09 +00:00
spz
916c5fdf56 OpenSSL man page refresh, adding one new manpage
note the import/update in doc
2014-08-10 17:07:03 +00:00
joerg
0937e35361 Import LLVM 3.6svn r215315. 2014-08-10 17:02:59 +00:00
martin
cc0e5017b6 Remove atoi() prototype 2014-08-10 16:53:22 +00:00
tls
ea6af427bd Merge tls-earlyentropy branch into HEAD. 2014-08-10 16:44:32 +00:00
joerg
c4d96b015d Drop impossible assert. 2014-08-10 16:13:27 +00:00
jmcneill
3d54b5f121 add missing COMPOSITE define 2014-08-10 14:50:21 +00:00
jmcneill
cc873f1290 use CLOCK_MONOTONIC instead of gettimeofday 2014-08-10 14:43:03 +00:00
martin
3f4482a092 Bump image size 2014-08-10 14:42:33 +00:00
jmcneill
710ef731ea define HAS_PIXMAN_GLYPHS=1 and HAS_PIXMAN_TRIANGLES=1 as the configure script would do 2014-08-10 14:17:19 +00:00
jmcneill
aa38d0e3ca USE_SSSE3 not USE_SSE3 2014-08-10 14:10:37 +00:00
isaki
ef13227625 Improve the code. %sp@(4) is already loaded in %fp0.
PR/49083 (2)
2014-08-10 13:30:43 +00:00
isaki
914e175cb7 Remove a meaningless conditional branch.
PR/49083 (1)
2014-08-10 13:29:10 +00:00
martin
e204327425 Do not set HAVE_FENV for arm as long as it misses feenableexcept(). 2014-08-10 12:01:57 +00:00
bad
aa4de98596 Build ubsec module only for i386 and amd64 and punt on the other arches. 2014-08-10 11:51:40 +00:00
bad
296c04e4e0 Revert most of rev 1.137. Build ubsec module only for i386 and amd64 and
punt on the other arches.
2014-08-10 11:50:15 +00:00
martin
41f262a02f Use the same condition for HAVE_FENV 2014-08-10 11:30:51 +00:00
joerg
604b984032 Add the not-yet-used IEEE quad support files. 2014-08-10 10:15:39 +00:00
joerg
190e92d8bd Import compiler-rt r215309. Extends 128bit IEEE support in soft-float,
uses Thumb mode by default on ARM when available and fixes a bug in the
division code for ARMs with hardware integer division.
2014-08-10 10:14:03 +00:00
hannken
265f1d8cdb Change hfs from hashlist to vcache.
- use (cnid, fork) as key.
- use pool for hfs nodes.
2014-08-10 08:53:22 +00:00
spz
dc4f4ea367 merge accident, fixed 2014-08-10 08:27:42 +00:00
spz
3beda0103f merge openssl 1.0.1i 2014-08-10 08:07:48 +00:00
isaki
7b2cf7659d Unify all arch/*/stand's atoi() to MI libsa.
lib/libsa/atoi.c was separated from lib/libsa/bootcfg.c.
PR/49084
2014-08-10 07:40:49 +00:00
spz
3104391aa0 Upstream changelog:
Changes between 1.0.1h and 1.0.1i [6 Aug 2014]

  *) Fix SRP buffer overrun vulnerability. Invalid parameters passed to the
     SRP code can be overrun an internal buffer. Add sanity check that
     g, A, B < N to SRP code.

     Thanks to Sean Devlin and Watson Ladd of Cryptography Services, NCC
     Group for discovering this issue.
     (CVE-2014-3512)
     [Steve Henson]

  *) A flaw in the OpenSSL SSL/TLS server code causes the server to negotiate
     TLS 1.0 instead of higher protocol versions when the ClientHello message
     is badly fragmented. This allows a man-in-the-middle attacker to force a
     downgrade to TLS 1.0 even if both the server and the client support a
     higher protocol version, by modifying the client's TLS records.

     Thanks to David Benjamin and Adam Langley (Google) for discovering and
     researching this issue.
     (CVE-2014-3511)
     [David Benjamin]

  *) OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject
     to a denial of service attack. A malicious server can crash the client
     with a null pointer dereference (read) by specifying an anonymous (EC)DH
     ciphersuite and sending carefully crafted handshake messages.

     Thanks to Felix Gröbert (Google) for discovering and researching this
     issue.
     (CVE-2014-3510)
     [Emilia Käsper]

  *) By sending carefully crafted DTLS packets an attacker could cause openssl
     to leak memory. This can be exploited through a Denial of Service attack.
     Thanks to Adam Langley for discovering and researching this issue.
     (CVE-2014-3507)
     [Adam Langley]

  *) An attacker can force openssl to consume large amounts of memory whilst
     processing DTLS handshake messages. This can be exploited through a
     Denial of Service attack.
     Thanks to Adam Langley for discovering and researching this issue.
     (CVE-2014-3506)
     [Adam Langley]

  *) An attacker can force an error condition which causes openssl to crash
     whilst processing DTLS packets due to memory being freed twice. This
     can be exploited through a Denial of Service attack.
     Thanks to Adam Langley and Wan-Teh Chang for discovering and researching
     this issue.
     (CVE-2014-3505)
     [Adam Langley]

  *) If a multithreaded client connects to a malicious server using a resumed
     session and the server sends an ec point format extension it could write
     up to 255 bytes to freed memory.

     Thanks to Gabor Tyukasz (LogMeIn Inc) for discovering and researching this
     issue.
     (CVE-2014-3509)
     [Gabor Tyukasz]

  *) A malicious server can crash an OpenSSL client with a null pointer
     dereference (read) by specifying an SRP ciphersuite even though it was not
     properly negotiated with the client. This can be exploited through a
     Denial of Service attack.

     Thanks to Joonas Kuorilehto and Riku Hietamäki (Codenomicon) for
     discovering and researching this issue.
     (CVE-2014-5139)
     [Steve Henson]

  *) A flaw in OBJ_obj2txt may cause pretty printing functions such as
     X509_name_oneline, X509_name_print_ex et al. to leak some information
     from the stack. Applications may be affected if they echo pretty printing
     output to the attacker.

     Thanks to Ivan Fratric (Google) for discovering this issue.
     (CVE-2014-3508)
     [Emilia Käsper, and Steve Henson]

  *) Fix ec_GFp_simple_points_make_affine (thus, EC_POINTs_mul etc.)
     for corner cases. (Certain input points at infinity could lead to
     bogus results, with non-infinity inputs mapped to infinity too.)
     [Bodo Moeller]
2014-08-10 07:33:40 +00:00
apb
a44c2d1c74 Move the arbitrary limit on number of files per commit into
#define MAXARGS.  The limit used to be 10000, but was changed to
1000000 earlier today.
2014-08-10 07:33:37 +00:00
spz
301bfd65f3 Upstream changelog:
Changes between 1.0.1h and 1.0.1i [6 Aug 2014]

  *) Fix SRP buffer overrun vulnerability. Invalid parameters passed to the
     SRP code can be overrun an internal buffer. Add sanity check that
     g, A, B < N to SRP code.

     Thanks to Sean Devlin and Watson Ladd of Cryptography Services, NCC
     Group for discovering this issue.
     (CVE-2014-3512)
     [Steve Henson]

  *) A flaw in the OpenSSL SSL/TLS server code causes the server to negotiate
     TLS 1.0 instead of higher protocol versions when the ClientHello message
     is badly fragmented. This allows a man-in-the-middle attacker to force a
     downgrade to TLS 1.0 even if both the server and the client support a
     higher protocol version, by modifying the client's TLS records.

     Thanks to David Benjamin and Adam Langley (Google) for discovering and
     researching this issue.
     (CVE-2014-3511)
     [David Benjamin]

  *) OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject
     to a denial of service attack. A malicious server can crash the client
     with a null pointer dereference (read) by specifying an anonymous (EC)DH
     ciphersuite and sending carefully crafted handshake messages.

     Thanks to Felix Gröbert (Google) for discovering and researching this
     issue.
     (CVE-2014-3510)
     [Emilia Käsper]

  *) By sending carefully crafted DTLS packets an attacker could cause openssl
     to leak memory. This can be exploited through a Denial of Service attack.
     Thanks to Adam Langley for discovering and researching this issue.
     (CVE-2014-3507)
     [Adam Langley]

  *) An attacker can force openssl to consume large amounts of memory whilst
     processing DTLS handshake messages. This can be exploited through a
     Denial of Service attack.
     Thanks to Adam Langley for discovering and researching this issue.
     (CVE-2014-3506)
     [Adam Langley]

  *) An attacker can force an error condition which causes openssl to crash
     whilst processing DTLS packets due to memory being freed twice. This
     can be exploited through a Denial of Service attack.
     Thanks to Adam Langley and Wan-Teh Chang for discovering and researching
     this issue.
     (CVE-2014-3505)
     [Adam Langley]

  *) If a multithreaded client connects to a malicious server using a resumed
     session and the server sends an ec point format extension it could write
     up to 255 bytes to freed memory.

     Thanks to Gabor Tyukasz (LogMeIn Inc) for discovering and researching this
     issue.
     (CVE-2014-3509)
     [Gabor Tyukasz]

  *) A malicious server can crash an OpenSSL client with a null pointer
     dereference (read) by specifying an SRP ciphersuite even though it was not
     properly negotiated with the client. This can be exploited through a
     Denial of Service attack.

     Thanks to Joonas Kuorilehto and Riku Hietamäki (Codenomicon) for
     discovering and researching this issue.
     (CVE-2014-5139)
     [Steve Henson]

  *) A flaw in OBJ_obj2txt may cause pretty printing functions such as
     X509_name_oneline, X509_name_print_ex et al. to leak some information
     from the stack. Applications may be affected if they echo pretty printing
     output to the attacker.

     Thanks to Ivan Fratric (Google) for discovering this issue.
     (CVE-2014-3508)
     [Emilia Käsper, and Steve Henson]

  *) Fix ec_GFp_simple_points_make_affine (thus, EC_POINTs_mul etc.)
     for corner cases. (Certain input points at infinity could lead to
     bogus results, with non-infinity inputs mapped to infinity too.)
     [Bodo Moeller]
2014-08-10 07:32:44 +00:00
tls
b9dfce9ac7 Relax arbitrary limit of 10,000 changed files per commit idiotically
introduced in CVS 1.11.17.
2014-08-10 07:09:51 +00:00
apb
fa05229ce5 Fix typo in "dreamcast" port name. 2014-08-10 06:48:51 +00:00
isaki
138fa825c9 Increase the image size to 1700KB.
At this point, the build succeeds if the build path is short,
but may fail if long.  Thanks for martin@ and tsutsui@.
2014-08-10 06:35:56 +00:00
matt
fcea236ea6 Correct _ARM_ARCH_8 instructions 2014-08-10 06:23:13 +00:00
matt
5918ad3796 #include <sys/cpu.h> 2014-08-10 06:22:06 +00:00
matt
547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt
beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
manu
ac7134332d - Make sure non root users cannot access system namespace attributes
- honour namespace specification when listing attributes
- Also fix message memory leak introduced by previous commit
2014-08-10 03:22:33 +00:00
riz
abe84671d3 empty() wants a variable name, not a value. This should un-break
the arm an mips arch builds which were broken by the previous
commit.
2014-08-09 22:10:35 +00:00
manu
6a9d039fd1 getextattr: fix attribute length being reported to caller. If buffer
is too small, return ENORANGE.

Caught by glusterFS regression tests
2014-08-09 19:06:50 +00:00
joerg
82ff1017b0 Update and simplify build glue for libc++ r215289. 2014-08-09 19:06:49 +00:00
joerg
093030cde1 Import libc++ r215289. This brings a number of bug fixes as well as
further changes from the upcoming C++14 like string_view.
2014-08-09 19:03:43 +00:00
apb
d303f202fd rescue(8): Add /rescue/ekermit. [apb 20140809] 2014-08-09 18:44:07 +00:00
apb
c5a47a1b14 Add rescue/ekermit. 2014-08-09 18:32:34 +00:00
apb
42f4829fe7 Delete src/share/zoneinfo. The files that previously lived here
have moved to src/external/public-domain/tz/{dist,bin/zoneinfo}.
2014-08-09 15:22:40 +00:00
jmcneill
a2a477ee93 increase WPI_RBUF_COUNT 2014-08-09 15:07:06 +00:00
jmcneill
06726bf7a3 IPL_VM -> IPL_SCHED to avoid taking kernel lock 2014-08-09 13:34:10 +00:00
jmcneill
cb692512cb remove unused mutex and cv 2014-08-09 13:33:43 +00:00