From owner-svn-src-vendor@FreeBSD.ORG Mon Jan 5 14:55:57 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABEAB5FA; Mon, 5 Jan 2015 14:55:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 955B766EA3; Mon, 5 Jan 2015 14:55:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t05EtvOv059402; Mon, 5 Jan 2015 14:55:57 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t05Etr82059382; Mon, 5 Jan 2015 14:55:53 GMT (envelope-from des@FreeBSD.org) Message-Id: <201501051455.t05Etr82059382@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: des set sender to des@FreeBSD.org using -f From: Dag-Erling Smørgrav Date: Mon, 5 Jan 2015 14:55:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276698 - in vendor/unbound/dist: . daemon doc services smallapp util X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 14:55:57 -0000 Author: des Date: Mon Jan 5 14:55:52 2015 New Revision: 276698 URL: https://svnweb.freebsd.org/changeset/base/276698 Log: Add support for using a local socket for the remote control connection by specifying uts path instead of (or in addition to) an IP address as an argument to the control-interface configuration variable. Add support for unencrypted and unauthenticated control connections through a new configuration variable, control-use-cert. To avoid the complexity of supporting both SSL socket and plain socket descriptors in the same code, we just use an unencrypted SSL context and forego authentication. The downside is that we still have to perform DH kex when establishing the connection. This patch was derived (with significant modifications) from the contrib/unbound_unixsock.diff patch originally submitted by Ilya Bakulin of Genua mbH. Modified: vendor/unbound/dist/config.h.in vendor/unbound/dist/configure.ac vendor/unbound/dist/daemon/remote.c vendor/unbound/dist/daemon/remote.h vendor/unbound/dist/daemon/unbound.c vendor/unbound/dist/doc/unbound.conf.5.in vendor/unbound/dist/services/listen_dnsport.c vendor/unbound/dist/services/listen_dnsport.h vendor/unbound/dist/smallapp/unbound-checkconf.c vendor/unbound/dist/smallapp/unbound-control.c vendor/unbound/dist/util/config_file.c vendor/unbound/dist/util/config_file.h vendor/unbound/dist/util/configlexer.lex vendor/unbound/dist/util/configparser.y vendor/unbound/dist/util/net_help.c Modified: vendor/unbound/dist/config.h.in ============================================================================== --- vendor/unbound/dist/config.h.in Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/config.h.in Mon Jan 5 14:55:52 2015 (r276698) @@ -380,6 +380,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_UIO_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UN_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_WAIT_H Modified: vendor/unbound/dist/configure.ac ============================================================================== --- vendor/unbound/dist/configure.ac Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/configure.ac Mon Jan 5 14:55:52 2015 (r276698) @@ -266,7 +266,7 @@ AC_CHECK_TOOL(STRIP, strip) ACX_LIBTOOL_C_ONLY # Checks for header files. -AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h sys/param.h sys/socket.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h],,, [AC_INCLUDES_DEFAULT]) +AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h sys/param.h sys/socket.h sys/un.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h],,, [AC_INCLUDES_DEFAULT]) # check for types. # Using own tests for int64* because autoconf builtin only give 32bit. Modified: vendor/unbound/dist/daemon/remote.c ============================================================================== --- vendor/unbound/dist/daemon/remote.c Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/daemon/remote.c Mon Jan 5 14:55:52 2015 (r276698) @@ -46,6 +46,10 @@ #ifdef HAVE_OPENSSL_ERR_H #include #endif +#ifndef HEADER_DH_H +#include +#endif + #include #include "daemon/remote.h" #include "daemon/worker.h" @@ -82,6 +86,9 @@ #ifdef HAVE_SYS_TYPES_H # include #endif +#ifdef HAVE_SYS_STAT_H +#include +#endif #ifdef HAVE_NETDB_H #include #endif @@ -131,6 +138,39 @@ timeval_divide(struct timeval* avg, cons #endif } +/* + * The following function was generated using the openssl utility, using + * the command : "openssl dhparam -dsaparam -C 512" + */ +DH *get_dh512() +{ + static unsigned char dh512_p[]={ + 0xC9,0xD7,0x05,0xDA,0x5F,0xAB,0x14,0xE8,0x11,0x56,0x77,0x85, + 0xB1,0x24,0x2C,0x95,0x60,0xEA,0xE2,0x10,0x6F,0x0F,0x84,0xEC, + 0xF4,0x45,0xE8,0x90,0x7A,0xA7,0x03,0xFF,0x5B,0x88,0x53,0xDE, + 0xC4,0xDE,0xBC,0x42,0x78,0x71,0x23,0x7E,0x24,0xA5,0x5E,0x4E, + 0xEF,0x6F,0xFF,0x5F,0xAF,0xBE,0x8A,0x77,0x62,0xB4,0x65,0x82, + 0x7E,0xC9,0xED,0x2F, + }; + static unsigned char dh512_g[]={ + 0x8D,0x3A,0x52,0xBC,0x8A,0x71,0x94,0x33,0x2F,0xE1,0xE8,0x4C, + 0x73,0x47,0x03,0x4E,0x7D,0x40,0xE5,0x84,0xA0,0xB5,0x6D,0x10, + 0x6F,0x90,0x43,0x05,0x1A,0xF9,0x0B,0x6A,0xD1,0x2A,0x9C,0x25, + 0x0A,0xB9,0xD1,0x14,0xDC,0x35,0x1C,0x48,0x7C,0xC6,0x0C,0x6D, + 0x32,0x1D,0xD3,0xC8,0x10,0xA8,0x82,0x14,0xA2,0x1C,0xF4,0x53, + 0x23,0x3B,0x1C,0xB9, + }; + DH *dh; + + if ((dh=DH_new()) == NULL) return(NULL); + dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL); + dh->g=BN_bin2bn(dh512_g,sizeof(dh512_g),NULL); + if ((dh->p == NULL) || (dh->g == NULL)) + { DH_free(dh); return(NULL); } + dh->length = 160; + return(dh); +} + struct daemon_remote* daemon_remote_create(struct config_file* cfg) { @@ -165,6 +205,24 @@ daemon_remote_create(struct config_file* daemon_remote_delete(rc); return NULL; } + + if (cfg->remote_control_use_cert == 0) { + /* No certificates are requested */ + if(!SSL_CTX_set_cipher_list(rc->ctx, "aNULL")) { + log_crypto_err("Failed to set aNULL cipher list"); + return NULL; + } + + /* Since we have no certificates and hence no source of + * DH params, let's generate and set them + */ + if(!SSL_CTX_set_tmp_dh(rc->ctx,get_dh512())) { + log_crypto_err("Wanted to set DH param, but failed"); + return NULL; + } + return rc; + } + rc->use_cert = 1; s_cert = fname_after_chroot(cfg->server_cert_file, cfg, 1); s_key = fname_after_chroot(cfg->server_key_file, cfg, 1); if(!s_cert || !s_key) { @@ -244,7 +302,8 @@ void daemon_remote_delete(struct daemon_ * @return false on failure. */ static int -add_open(const char* ip, int nr, struct listen_port** list, int noproto_is_err) +add_open(const char* ip, int nr, struct listen_port** list, int noproto_is_err, + struct config_file* cfg) { struct addrinfo hints; struct addrinfo* res; @@ -255,29 +314,46 @@ add_open(const char* ip, int nr, struct snprintf(port, sizeof(port), "%d", nr); port[sizeof(port)-1]=0; memset(&hints, 0, sizeof(hints)); - hints.ai_socktype = SOCK_STREAM; - hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; - if((r = getaddrinfo(ip, port, &hints, &res)) != 0 || !res) { -#ifdef USE_WINSOCK - if(!noproto_is_err && r == EAI_NONAME) { - /* tried to lookup the address as name */ - return 1; /* return success, but do nothing */ + + if(ip[0] == '/') { + /* This looks like a local socket */ + fd = create_local_accept_sock(ip, &noproto); + /* + * Change socket ownership and permissions so users other + * than root can access it provided they are in the same + * group as the user we run as. + */ + if(fd != -1) { + if (cfg->username && cfg->username[0]) + chown(ip, cfg->uid, cfg->gid); + chmod(ip, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); } + } else { + hints.ai_socktype = SOCK_STREAM; + hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; + if((r = getaddrinfo(ip, port, &hints, &res)) != 0 || !res) { +#ifdef USE_WINSOCK + if(!noproto_is_err && r == EAI_NONAME) { + /* tried to lookup the address as name */ + return 1; /* return success, but do nothing */ + } #endif /* USE_WINSOCK */ - log_err("control interface %s:%s getaddrinfo: %s %s", - ip?ip:"default", port, gai_strerror(r), + log_err("control interface %s:%s getaddrinfo: %s %s", + ip?ip:"default", port, gai_strerror(r), #ifdef EAI_SYSTEM - r==EAI_SYSTEM?(char*)strerror(errno):"" + r==EAI_SYSTEM?(char*)strerror(errno):"" #else - "" + "" #endif ); - return 0; + return 0; + } + + /* open fd */ + fd = create_tcp_accept_sock(res, 1, &noproto, 0); + freeaddrinfo(res); } - /* open fd */ - fd = create_tcp_accept_sock(res, 1, &noproto, 0); - freeaddrinfo(res); if(fd == -1 && noproto) { if(!noproto_is_err) return 1; /* return success, but do nothing */ @@ -314,7 +390,7 @@ struct listen_port* daemon_remote_open_p if(cfg->control_ifs) { struct config_strlist* p; for(p = cfg->control_ifs; p; p = p->next) { - if(!add_open(p->str, cfg->control_port, &l, 1)) { + if(!add_open(p->str, cfg->control_port, &l, 1, cfg)) { listening_ports_free(l); return NULL; } @@ -322,12 +398,12 @@ struct listen_port* daemon_remote_open_p } else { /* defaults */ if(cfg->do_ip6 && - !add_open("::1", cfg->control_port, &l, 0)) { + !add_open("::1", cfg->control_port, &l, 0, cfg)) { listening_ports_free(l); return NULL; } if(cfg->do_ip4 && - !add_open("127.0.0.1", cfg->control_port, &l, 1)) { + !add_open("127.0.0.1", cfg->control_port, &l, 1, cfg)) { listening_ports_free(l); return NULL; } @@ -2434,7 +2510,9 @@ int remote_control_callback(struct comm_ s->shake_state = rc_none; /* once handshake has completed, check authentication */ - if(SSL_get_verify_result(s->ssl) == X509_V_OK) { + if (!rc->use_cert) { + verbose(VERB_ALGO, "unauthenticated remote control connection"); + } else if(SSL_get_verify_result(s->ssl) == X509_V_OK) { X509* x = SSL_get_peer_certificate(s->ssl); if(!x) { verbose(VERB_DETAIL, "remote control connection " Modified: vendor/unbound/dist/daemon/remote.h ============================================================================== --- vendor/unbound/dist/daemon/remote.h Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/daemon/remote.h Mon Jan 5 14:55:52 2015 (r276698) @@ -89,6 +89,8 @@ struct daemon_remote { struct worker* worker; /** commpoints for accepting remote control connections */ struct listen_list* accept_list; + /* if certificates are used */ + int use_cert; /** number of active commpoints that are handling remote control */ int active; /** max active commpoints */ Modified: vendor/unbound/dist/daemon/unbound.c ============================================================================== --- vendor/unbound/dist/daemon/unbound.c Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/daemon/unbound.c Mon Jan 5 14:55:52 2015 (r276698) @@ -441,20 +441,14 @@ static void perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, const char** cfgfile) { + log_assert(cfg); + #ifdef HAVE_GETPWNAM struct passwd *pwd = NULL; - uid_t uid; - gid_t gid; - /* initialize, but not to 0 (root) */ - memset(&uid, 112, sizeof(uid)); - memset(&gid, 112, sizeof(gid)); - log_assert(cfg); if(cfg->username && cfg->username[0]) { if((pwd = getpwnam(cfg->username)) == NULL) fatal_exit("user '%s' does not exist.", cfg->username); - uid = pwd->pw_uid; - gid = pwd->pw_gid; /* endpwent below, in case we need pwd for setusercontext */ } #endif @@ -511,18 +505,11 @@ perform_setup(struct daemon* daemon, str #ifdef HAVE_KILL if(cfg->pidfile && cfg->pidfile[0]) { writepid(daemon->pidfile, getpid()); - if(!(cfg->chrootdir && cfg->chrootdir[0]) || - (cfg->chrootdir && cfg->chrootdir[0] && - strncmp(daemon->pidfile, cfg->chrootdir, - strlen(cfg->chrootdir))==0)) { - /* delete of pidfile could potentially work, - * chown to get permissions */ - if(cfg->username && cfg->username[0]) { - if(chown(daemon->pidfile, uid, gid) == -1) { + if(cfg->username && cfg->username[0]) { + if(chown(daemon->pidfile, cfg->uid, cfg->gid) == -1) { log_err("cannot chown %u.%u %s: %s", - (unsigned)uid, (unsigned)gid, + (unsigned)cfg->uid, (unsigned)cfg->gid, daemon->pidfile, strerror(errno)); - } } } } @@ -537,7 +524,7 @@ perform_setup(struct daemon* daemon, str /* setusercontext does initgroups, setuid, setgid, and * also resource limits from login config, but we * still call setresuid, setresgid to be sure to set all uid*/ - if(setusercontext(NULL, pwd, uid, (unsigned) + if(setusercontext(NULL, pwd, cfg->uid, (unsigned) LOGIN_SETALL & ~LOGIN_SETUSER & ~LOGIN_SETGROUP) != 0) log_warn("unable to setusercontext %s: %s", cfg->username, strerror(errno)); @@ -601,27 +588,27 @@ perform_setup(struct daemon* daemon, str #ifdef HAVE_GETPWNAM if(cfg->username && cfg->username[0]) { # ifdef HAVE_INITGROUPS - if(initgroups(cfg->username, gid) != 0) + if(initgroups(cfg->username, cfg->gid) != 0) log_warn("unable to initgroups %s: %s", cfg->username, strerror(errno)); # endif /* HAVE_INITGROUPS */ endpwent(); #ifdef HAVE_SETRESGID - if(setresgid(gid,gid,gid) != 0) + if(setresgid(cfg->gid,cfg->gid,cfg->gid) != 0) #elif defined(HAVE_SETREGID) && !defined(DARWIN_BROKEN_SETREUID) - if(setregid(gid,gid) != 0) + if(setregid(cfg->gid,cfg->gid) != 0) #else /* use setgid */ - if(setgid(gid) != 0) + if(setgid(cfg->gid) != 0) #endif /* HAVE_SETRESGID */ fatal_exit("unable to set group id of %s: %s", cfg->username, strerror(errno)); #ifdef HAVE_SETRESUID - if(setresuid(uid,uid,uid) != 0) + if(setresuid(cfg->uid,cfg->uid,cfg->uid) != 0) #elif defined(HAVE_SETREUID) && !defined(DARWIN_BROKEN_SETREUID) - if(setreuid(uid,uid) != 0) + if(setreuid(cfg->uid,cfg->uid) != 0) #else /* use setuid */ - if(setuid(uid) != 0) + if(setuid(cfg->uid) != 0) #endif /* HAVE_SETRESUID */ fatal_exit("unable to set user id of %s: %s", cfg->username, strerror(errno)); Modified: vendor/unbound/dist/doc/unbound.conf.5.in ============================================================================== --- vendor/unbound/dist/doc/unbound.conf.5.in Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/doc/unbound.conf.5.in Mon Jan 5 14:55:52 2015 (r276698) @@ -958,36 +958,47 @@ to setup SSLv3 / TLSv1 security for the section for options. To setup the correct self\-signed certificates use the \fIunbound\-control\-setup\fR(8) utility. .TP 5 -.B control\-enable: \fI +.B control\-enable: \fI The option is used to enable remote control, default is "no". If turned off, the server does not listen for control commands. .TP 5 -.B control\-interface: -Give IPv4 or IPv6 addresses to listen on for control commands. +.B control\-interface: \fI +Give IPv4 or IPv6 addresses or local socket path to listen on for +control commands. By default localhost (127.0.0.1 and ::1) is listened to. Use 0.0.0.0 and ::0 to listen to all interfaces. +If you change this and permissions have been dropped, you must restart +the server for the change to take effect. .TP 5 -.B control\-port: -The port number to listen on for control commands, default is 8953. -If you change this port number, and permissions have been dropped, -a reload is not sufficient to open the port again, you must then restart. +.B control\-port: \fI +The port number to listen on for IPv4 or IPv6 control interfaces, +default is 8953. +If you change this and permissions have been dropped, you must restart +the server for the change to take effect. +.TP 5 +.B control-use-cert: \fI +Whether to require certificate authentication of control connections. +The default is "yes". +This should not be changed unless there are other mechanisms in place +to prevent untrusted users from accessing the remote control +interface. .TP 5 -.B server\-key\-file: "" +.B server\-key\-file: \fI Path to the server private key, by default unbound_server.key. This file is generated by the \fIunbound\-control\-setup\fR utility. This file is used by the unbound server, but not by \fIunbound\-control\fR. .TP 5 -.B server\-cert\-file: "" +.B server\-cert\-file: \fI Path to the server self signed certificate, by default unbound_server.pem. This file is generated by the \fIunbound\-control\-setup\fR utility. This file is used by the unbound server, and also by \fIunbound\-control\fR. .TP 5 -.B control\-key\-file: "" +.B control\-key\-file: \fI Path to the control client private key, by default unbound_control.key. This file is generated by the \fIunbound\-control\-setup\fR utility. This file is used by \fIunbound\-control\fR. .TP 5 -.B control\-cert\-file: "" +.B control\-cert\-file: \fI Path to the control client certificate, by default unbound_control.pem. This certificate has to be signed with the server certificate. This file is generated by the \fIunbound\-control\-setup\fR utility. Modified: vendor/unbound/dist/services/listen_dnsport.c ============================================================================== --- vendor/unbound/dist/services/listen_dnsport.c Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/services/listen_dnsport.c Mon Jan 5 14:55:52 2015 (r276698) @@ -56,6 +56,10 @@ #endif #include +#ifdef HAVE_SYS_UN_H +#include +#endif + /** number of queued TCP connections for listen() */ #define TCP_BACKLOG 256 @@ -571,6 +575,56 @@ create_tcp_accept_sock(struct addrinfo * return s; } +int +create_local_accept_sock(char *path, int* noproto) +{ +#ifdef HAVE_SYS_UN_H + int s; + struct sockaddr_un sun; + + sun.sun_len = sizeof(sun); + sun.sun_family = AF_LOCAL; + strlcpy(sun.sun_path, path, 104); + + if ((s = socket(PF_LOCAL, SOCK_STREAM, 0)) == -1) { + log_err("Cannot create local socket %s (%s)", + path, strerror(errno)); + return -1; + } + + if (unlink(path) && errno != ENOENT) { + /* The socket already exists and cannot be removed */ + log_err("Cannot remove old local socket %s (%s)", + path, strerror(errno)); + return -1; + } + + if (bind(s, (struct sockaddr *)&sun, + sizeof(struct sockaddr_un)) == -1) { + log_err("Cannot bind local socket %s (%s)", + path, strerror(errno)); + return -1; + } + + if (!fd_set_nonblock(s)) { + log_err("Cannot set non-blocking mode"); + return -1; + } + + if (listen(s, TCP_BACKLOG) == -1) { + log_err("can't listen: %s", strerror(errno)); + return -1; + } + + return s; +#else + log_err("Local sockets are not supported"); + *noproto = 1; + return -1; +#endif +} + + /** * Create socket from getaddrinfo results */ Modified: vendor/unbound/dist/services/listen_dnsport.h ============================================================================== --- vendor/unbound/dist/services/listen_dnsport.h Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/services/listen_dnsport.h Mon Jan 5 14:55:52 2015 (r276698) @@ -207,4 +207,13 @@ int create_udp_sock(int family, int sock int create_tcp_accept_sock(struct addrinfo *addr, int v6only, int* noproto, int* reuseport); +/** + * Create and bind local listening socket + * @param path: path to the socket. + * @param noproto: on error, this is set true if cause is that local sockets + * are not supported. + * @return: the socket. -1 on error. + */ +int create_local_accept_sock(char* path, int* noproto); + #endif /* LISTEN_DNSPORT_H */ Modified: vendor/unbound/dist/smallapp/unbound-checkconf.c ============================================================================== --- vendor/unbound/dist/smallapp/unbound-checkconf.c Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/smallapp/unbound-checkconf.c Mon Jan 5 14:55:52 2015 (r276698) @@ -416,7 +416,7 @@ morechecks(struct config_file* cfg, cons endpwent(); } #endif - if(cfg->remote_control_enable) { + if(cfg->remote_control_enable && cfg->remote_control_use_cert) { check_chroot_string("server-key-file", &cfg->server_key_file, cfg->chrootdir, cfg); check_chroot_string("server-cert-file", &cfg->server_cert_file, Modified: vendor/unbound/dist/smallapp/unbound-control.c ============================================================================== --- vendor/unbound/dist/smallapp/unbound-control.c Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/smallapp/unbound-control.c Mon Jan 5 14:55:52 2015 (r276698) @@ -59,6 +59,10 @@ #include "util/locks.h" #include "util/net_help.h" +#ifdef HAVE_SYS_UN_H +#include +#endif + /** Give unbound-control usage, and exit (1). */ static void usage() @@ -139,29 +143,37 @@ setup_ctx(struct config_file* cfg) char* s_cert, *c_key, *c_cert; SSL_CTX* ctx; - s_cert = fname_after_chroot(cfg->server_cert_file, cfg, 1); - c_key = fname_after_chroot(cfg->control_key_file, cfg, 1); - c_cert = fname_after_chroot(cfg->control_cert_file, cfg, 1); - if(!s_cert || !c_key || !c_cert) - fatal_exit("out of memory"); + if(cfg->remote_control_use_cert) { + s_cert = fname_after_chroot(cfg->server_cert_file, cfg, 1); + c_key = fname_after_chroot(cfg->control_key_file, cfg, 1); + c_cert = fname_after_chroot(cfg->control_cert_file, cfg, 1); + if(!s_cert || !c_key || !c_cert) + fatal_exit("out of memory"); + } ctx = SSL_CTX_new(SSLv23_client_method()); if(!ctx) ssl_err("could not allocate SSL_CTX pointer"); if(!(SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2) & SSL_OP_NO_SSLv2)) ssl_err("could not set SSL_OP_NO_SSLv2"); - if(!(SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv3) & SSL_OP_NO_SSLv3)) - ssl_err("could not set SSL_OP_NO_SSLv3"); - if(!SSL_CTX_use_certificate_file(ctx,c_cert,SSL_FILETYPE_PEM) || - !SSL_CTX_use_PrivateKey_file(ctx,c_key,SSL_FILETYPE_PEM) - || !SSL_CTX_check_private_key(ctx)) - ssl_err("Error setting up SSL_CTX client key and cert"); - if (SSL_CTX_load_verify_locations(ctx, s_cert, NULL) != 1) - ssl_err("Error setting up SSL_CTX verify, server cert"); - SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, NULL); - - free(s_cert); - free(c_key); - free(c_cert); + if(cfg->remote_control_use_cert) { + if(!(SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv3) & SSL_OP_NO_SSLv3)) + ssl_err("could not set SSL_OP_NO_SSLv3"); + if(!SSL_CTX_use_certificate_file(ctx,c_cert,SSL_FILETYPE_PEM) || + !SSL_CTX_use_PrivateKey_file(ctx,c_key,SSL_FILETYPE_PEM) + || !SSL_CTX_check_private_key(ctx)) + ssl_err("Error setting up SSL_CTX client key and cert"); + if (SSL_CTX_load_verify_locations(ctx, s_cert, NULL) != 1) + ssl_err("Error setting up SSL_CTX verify, server cert"); + SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, NULL); + + free(s_cert); + free(c_key); + free(c_cert); + } else { + /* Use ciphers that don't require authentication */ + if(!SSL_CTX_set_cipher_list(ctx, "aNULL")) + ssl_err("Error setting NULL cipher!"); + } return ctx; } @@ -171,6 +183,7 @@ contact_server(const char* svr, struct c { struct sockaddr_storage addr; socklen_t addrlen; + int addrfamily = 0; int fd; /* use svr or the first config entry */ if(!svr) { @@ -189,12 +202,23 @@ contact_server(const char* svr, struct c if(strchr(svr, '@')) { if(!extstrtoaddr(svr, &addr, &addrlen)) fatal_exit("could not parse IP@port: %s", svr); +#ifdef HAVE_SYS_UN_H + } else if(svr[0] == '/') { + struct sockaddr_un* sun = (struct sockaddr_un *) &addr; + sun->sun_family = AF_LOCAL; + sun->sun_len = sizeof(sun); + strlcpy(sun->sun_path, svr, 104); + addrlen = sizeof(struct sockaddr_un); + addrfamily = AF_LOCAL; +#endif } else { if(!ipstrtoaddr(svr, cfg->control_port, &addr, &addrlen)) fatal_exit("could not parse IP: %s", svr); } - fd = socket(addr_is_ip6(&addr, addrlen)?AF_INET6:AF_INET, - SOCK_STREAM, 0); + + if(addrfamily == 0) + addrfamily = addr_is_ip6(&addr, addrlen)?AF_INET6:AF_INET; + fd = socket(addrfamily, SOCK_STREAM, 0); if(fd == -1) { #ifndef USE_WINSOCK fatal_exit("socket: %s", strerror(errno)); @@ -223,7 +247,7 @@ contact_server(const char* svr, struct c /** setup SSL on the connection */ static SSL* -setup_ssl(SSL_CTX* ctx, int fd) +setup_ssl(SSL_CTX* ctx, int fd, struct config_file* cfg) { SSL* ssl; X509* x; @@ -249,10 +273,13 @@ setup_ssl(SSL_CTX* ctx, int fd) /* check authenticity of server */ if(SSL_get_verify_result(ssl) != X509_V_OK) ssl_err("SSL verification failed"); - x = SSL_get_peer_certificate(ssl); - if(!x) - ssl_err("Server presented no peer certificate"); - X509_free(x); + if(cfg->remote_control_use_cert) { + x = SSL_get_peer_certificate(ssl); + if(!x) + ssl_err("Server presented no peer certificate"); + X509_free(x); + } + return ssl; } @@ -330,11 +357,11 @@ go(const char* cfgfile, char* svr, int q if(!cfg->remote_control_enable) log_warn("control-enable is 'no' in the config file."); ctx = setup_ctx(cfg); - + /* contact server */ fd = contact_server(svr, cfg, argc>0&&strcmp(argv[0],"status")==0); - ssl = setup_ssl(ctx, fd); - + ssl = setup_ssl(ctx, fd, cfg); + /* send command */ ret = go_cmd(ssl, quiet, argc, argv); Modified: vendor/unbound/dist/util/config_file.c ============================================================================== --- vendor/unbound/dist/util/config_file.c Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/util/config_file.c Mon Jan 5 14:55:52 2015 (r276698) @@ -60,6 +60,9 @@ #ifdef HAVE_GLOB_H # include #endif +#ifdef HAVE_PWD_H +#include +#endif /** global config during parsing */ struct config_parser_state* cfg_parser = 0; @@ -131,6 +134,8 @@ config_create(void) goto error_exit; init_outgoing_availports(cfg->outgoing_avail_ports, 65536); if(!(cfg->username = strdup(UB_USERNAME))) goto error_exit; + cfg->uid = (uid_t)-1; + cfg->gid = (gid_t)-1; #ifdef HAVE_CHROOT if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit; #endif @@ -799,6 +804,17 @@ config_read(struct config_file* cfg, con errno=EINVAL; return 0; } + +#ifdef HAVE_GETPWNAM + /* translate username into uid and gid */ + if(cfg->username && cfg->username[0]) { + struct passwd *pwd; + if((pwd = getpwnam(cfg->username)) == NULL) + log_err("user '%s' does not exist.", cfg->username); + cfg->uid = pwd->pw_uid; + cfg->gid = pwd->pw_gid; + } +#endif return 1; } Modified: vendor/unbound/dist/util/config_file.h ============================================================================== --- vendor/unbound/dist/util/config_file.h Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/util/config_file.h Mon Jan 5 14:55:52 2015 (r276698) @@ -192,6 +192,8 @@ struct config_file { char* chrootdir; /** username to change to, if not "". */ char* username; + uid_t uid; + gid_t gid; /** working directory */ char* directory; /** filename to log to. */ @@ -282,6 +284,8 @@ struct config_file { struct config_strlist* control_ifs; /** port number for the control port */ int control_port; + /** use certificates for remote control */ + int remote_control_use_cert; /** private key file for server */ char* server_key_file; /** certificate file for server */ Modified: vendor/unbound/dist/util/configlexer.lex ============================================================================== --- vendor/unbound/dist/util/configlexer.lex Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/util/configlexer.lex Mon Jan 5 14:55:52 2015 (r276698) @@ -315,6 +315,7 @@ remote-control{COLON} { YDVAR(0, VAR_RE control-enable{COLON} { YDVAR(1, VAR_CONTROL_ENABLE) } control-interface{COLON} { YDVAR(1, VAR_CONTROL_INTERFACE) } control-port{COLON} { YDVAR(1, VAR_CONTROL_PORT) } +control-use-cert{COLON} { YDVAR(1, VAR_CONTROL_USE_CERT) } server-key-file{COLON} { YDVAR(1, VAR_SERVER_KEY_FILE) } server-cert-file{COLON} { YDVAR(1, VAR_SERVER_CERT_FILE) } control-key-file{COLON} { YDVAR(1, VAR_CONTROL_KEY_FILE) } Modified: vendor/unbound/dist/util/configparser.y ============================================================================== --- vendor/unbound/dist/util/configparser.y Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/util/configparser.y Mon Jan 5 14:55:52 2015 (r276698) @@ -95,6 +95,7 @@ extern struct config_parser_state* cfg_p %token VAR_PRIVATE_DOMAIN VAR_REMOTE_CONTROL VAR_CONTROL_ENABLE %token VAR_CONTROL_INTERFACE VAR_CONTROL_PORT VAR_SERVER_KEY_FILE %token VAR_SERVER_CERT_FILE VAR_CONTROL_KEY_FILE VAR_CONTROL_CERT_FILE +%token VAR_CONTROL_USE_CERT %token VAR_EXTENDED_STATISTICS VAR_LOCAL_DATA_PTR VAR_JOSTLE_TIMEOUT %token VAR_STUB_PRIME VAR_UNWANTED_REPLY_THRESHOLD VAR_LOG_TIME_ASCII %token VAR_DOMAIN_INSECURE VAR_PYTHON VAR_PYTHON_SCRIPT VAR_VAL_SIG_SKEW_MIN @@ -1270,7 +1271,7 @@ contents_rc: contents_rc content_rc | ; content_rc: rc_control_enable | rc_control_interface | rc_control_port | rc_server_key_file | rc_server_cert_file | rc_control_key_file | - rc_control_cert_file + rc_control_cert_file | rc_control_use_cert ; rc_control_enable: VAR_CONTROL_ENABLE STRING_ARG { @@ -1298,6 +1299,16 @@ rc_control_interface: VAR_CONTROL_INTERF yyerror("out of memory"); } ; +rc_control_use_cert: VAR_CONTROL_USE_CERT STRING_ARG + { + OUTYY(("P(control_use_cert:%s)\n", $2)); + if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) + yyerror("expected yes or no."); + else cfg_parser->cfg->remote_control_use_cert = + (strcmp($2, "yes")==0); + free($2); + } + ; rc_server_key_file: VAR_SERVER_KEY_FILE STRING_ARG { OUTYY(("P(rc_server_key_file:%s)\n", $2)); Modified: vendor/unbound/dist/util/net_help.c ============================================================================== --- vendor/unbound/dist/util/net_help.c Mon Jan 5 13:46:37 2015 (r276697) +++ vendor/unbound/dist/util/net_help.c Mon Jan 5 14:55:52 2015 (r276698) @@ -156,7 +156,7 @@ log_addr(enum verbosity_value v, const c case AF_INET6: family="ip6"; sinaddr = &((struct sockaddr_in6*)addr)->sin6_addr; break; - case AF_UNIX: family="unix"; break; + case AF_LOCAL: family="local"; break; default: break; } if(inet_ntop(af, sinaddr, dest, (socklen_t)sizeof(dest)) == 0) { @@ -313,7 +313,7 @@ void log_name_addr(enum verbosity_value case AF_INET6: family=""; sinaddr = &((struct sockaddr_in6*)addr)->sin6_addr; break; - case AF_UNIX: family="unix_family "; break; + case AF_LOCAL: family="local "; break; default: break; } if(inet_ntop(af, sinaddr, dest, (socklen_t)sizeof(dest)) == 0) { From owner-svn-src-vendor@FreeBSD.ORG Mon Jan 5 16:09:57 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41157BC2; Mon, 5 Jan 2015 16:09:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FFCE27B5; Mon, 5 Jan 2015 16:09:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t05G9ujp093331; Mon, 5 Jan 2015 16:09:56 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t05G9ubR093323; Mon, 5 Jan 2015 16:09:56 GMT (envelope-from des@FreeBSD.org) Message-Id: <201501051609.t05G9ubR093323@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: des set sender to des@FreeBSD.org using -f From: Dag-Erling Smørgrav Date: Mon, 5 Jan 2015 16:09:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276707 - in vendor-crypto/openssh/dist: . contrib/caldera contrib/cygwin contrib/redhat contrib/suse openbsd-compat openbsd-compat/regress regress regress/unittests regress/unittests/s... X-SVN-Group: vendor-crypto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 16:09:57 -0000 Author: des Date: Mon Jan 5 16:09:55 2015 New Revision: 276707 URL: https://svnweb.freebsd.org/changeset/base/276707 Log: Vendor import of OpenSSH 6.7p1. Added: vendor-crypto/openssh/dist/cipher-aesctr.c vendor-crypto/openssh/dist/cipher-aesctr.h vendor-crypto/openssh/dist/openbsd-compat/kludge-fd_set.c vendor-crypto/openssh/dist/openbsd-compat/regress/opensslvertest.c vendor-crypto/openssh/dist/regress/unittests/ vendor-crypto/openssh/dist/regress/unittests/Makefile vendor-crypto/openssh/dist/regress/unittests/Makefile.inc vendor-crypto/openssh/dist/regress/unittests/sshbuf/ vendor-crypto/openssh/dist/regress/unittests/sshbuf/Makefile vendor-crypto/openssh/dist/regress/unittests/sshbuf/test_sshbuf.c vendor-crypto/openssh/dist/regress/unittests/sshbuf/test_sshbuf_fixed.c vendor-crypto/openssh/dist/regress/unittests/sshbuf/test_sshbuf_fuzz.c vendor-crypto/openssh/dist/regress/unittests/sshbuf/test_sshbuf_getput_basic.c vendor-crypto/openssh/dist/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c vendor-crypto/openssh/dist/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c vendor-crypto/openssh/dist/regress/unittests/sshbuf/test_sshbuf_misc.c vendor-crypto/openssh/dist/regress/unittests/sshbuf/tests.c vendor-crypto/openssh/dist/regress/unittests/sshkey/ vendor-crypto/openssh/dist/regress/unittests/sshkey/Makefile vendor-crypto/openssh/dist/regress/unittests/sshkey/common.c vendor-crypto/openssh/dist/regress/unittests/sshkey/common.h vendor-crypto/openssh/dist/regress/unittests/sshkey/mktestdata.sh (contents, props changed) vendor-crypto/openssh/dist/regress/unittests/sshkey/test_file.c vendor-crypto/openssh/dist/regress/unittests/sshkey/test_fuzz.c vendor-crypto/openssh/dist/regress/unittests/sshkey/test_sshkey.c vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1-cert.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1-cert.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1.param.g vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1.param.priv vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1.param.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_1_pw vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_2 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_2.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_2.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_2.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_n vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/dsa_n_pw vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1-cert.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1-cert.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1.param.curve vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1.param.priv vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1.param.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_1_pw vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_2 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_2.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_2.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_2.param.curve vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_2.param.priv vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_2.param.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_2.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_n vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ecdsa_n_pw vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_1 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_1-cert.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_1-cert.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_1.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_1.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_1.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_1_pw vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_2 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_2.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_2.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/ed25519_2.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/pw vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_1 (contents, props changed) vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_1.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_1.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_1.param.n vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_1.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_1_pw (contents, props changed) vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_2 (contents, props changed) vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_2.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_2.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_2.param.n vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa1_2.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1-cert.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1-cert.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1.param.n vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1.param.p vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1.param.q vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_1_pw vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_2 vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_2.fp vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_2.fp.bb vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_2.param.n vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_2.param.p vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_2.param.q vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_2.pub vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_n vendor-crypto/openssh/dist/regress/unittests/sshkey/testdata/rsa_n_pw vendor-crypto/openssh/dist/regress/unittests/sshkey/tests.c vendor-crypto/openssh/dist/regress/unittests/test_helper/ vendor-crypto/openssh/dist/regress/unittests/test_helper/Makefile vendor-crypto/openssh/dist/regress/unittests/test_helper/fuzz.c vendor-crypto/openssh/dist/regress/unittests/test_helper/test_helper.c vendor-crypto/openssh/dist/regress/unittests/test_helper/test_helper.h vendor-crypto/openssh/dist/sshbuf-getput-basic.c vendor-crypto/openssh/dist/sshbuf-getput-crypto.c vendor-crypto/openssh/dist/sshbuf-misc.c vendor-crypto/openssh/dist/sshbuf.c vendor-crypto/openssh/dist/sshbuf.h vendor-crypto/openssh/dist/ssherr.c vendor-crypto/openssh/dist/ssherr.h vendor-crypto/openssh/dist/sshkey.c vendor-crypto/openssh/dist/sshkey.h Modified: vendor-crypto/openssh/dist/ChangeLog vendor-crypto/openssh/dist/INSTALL vendor-crypto/openssh/dist/Makefile.in vendor-crypto/openssh/dist/PROTOCOL vendor-crypto/openssh/dist/README vendor-crypto/openssh/dist/auth-bsdauth.c vendor-crypto/openssh/dist/auth-chall.c vendor-crypto/openssh/dist/auth-krb5.c vendor-crypto/openssh/dist/auth-options.c vendor-crypto/openssh/dist/auth-passwd.c vendor-crypto/openssh/dist/auth-rh-rsa.c vendor-crypto/openssh/dist/auth-rhosts.c vendor-crypto/openssh/dist/auth-rsa.c vendor-crypto/openssh/dist/auth.c vendor-crypto/openssh/dist/auth.h vendor-crypto/openssh/dist/auth1.c vendor-crypto/openssh/dist/auth2-chall.c vendor-crypto/openssh/dist/auth2-gss.c vendor-crypto/openssh/dist/auth2-hostbased.c vendor-crypto/openssh/dist/auth2-kbdint.c vendor-crypto/openssh/dist/auth2-none.c vendor-crypto/openssh/dist/auth2-passwd.c vendor-crypto/openssh/dist/auth2-pubkey.c vendor-crypto/openssh/dist/auth2.c vendor-crypto/openssh/dist/authfd.c vendor-crypto/openssh/dist/authfile.c vendor-crypto/openssh/dist/authfile.h vendor-crypto/openssh/dist/bufaux.c vendor-crypto/openssh/dist/bufbn.c vendor-crypto/openssh/dist/bufec.c vendor-crypto/openssh/dist/buffer.c vendor-crypto/openssh/dist/buffer.h vendor-crypto/openssh/dist/canohost.c vendor-crypto/openssh/dist/chacha.h vendor-crypto/openssh/dist/channels.c vendor-crypto/openssh/dist/channels.h vendor-crypto/openssh/dist/cipher-3des1.c vendor-crypto/openssh/dist/cipher-chachapoly.c vendor-crypto/openssh/dist/cipher-chachapoly.h vendor-crypto/openssh/dist/cipher.c vendor-crypto/openssh/dist/cipher.h vendor-crypto/openssh/dist/clientloop.c vendor-crypto/openssh/dist/compat.c vendor-crypto/openssh/dist/compat.h vendor-crypto/openssh/dist/config.h.in vendor-crypto/openssh/dist/configure vendor-crypto/openssh/dist/configure.ac vendor-crypto/openssh/dist/contrib/caldera/openssh.spec vendor-crypto/openssh/dist/contrib/cygwin/README vendor-crypto/openssh/dist/contrib/cygwin/ssh-host-config vendor-crypto/openssh/dist/contrib/redhat/openssh.spec vendor-crypto/openssh/dist/contrib/suse/openssh.spec vendor-crypto/openssh/dist/defines.h vendor-crypto/openssh/dist/digest-libc.c vendor-crypto/openssh/dist/digest-openssl.c vendor-crypto/openssh/dist/digest.h vendor-crypto/openssh/dist/dns.c vendor-crypto/openssh/dist/dns.h vendor-crypto/openssh/dist/entropy.c vendor-crypto/openssh/dist/gss-serv-krb5.c vendor-crypto/openssh/dist/gss-serv.c vendor-crypto/openssh/dist/hmac.h vendor-crypto/openssh/dist/hostfile.c vendor-crypto/openssh/dist/kex.c vendor-crypto/openssh/dist/kex.h vendor-crypto/openssh/dist/kexc25519.c vendor-crypto/openssh/dist/key.c vendor-crypto/openssh/dist/key.h vendor-crypto/openssh/dist/krl.c vendor-crypto/openssh/dist/mac.c vendor-crypto/openssh/dist/misc.c vendor-crypto/openssh/dist/misc.h vendor-crypto/openssh/dist/moduli.0 vendor-crypto/openssh/dist/monitor.c vendor-crypto/openssh/dist/monitor_fdpass.c vendor-crypto/openssh/dist/monitor_wrap.c vendor-crypto/openssh/dist/mux.c vendor-crypto/openssh/dist/myproposal.h vendor-crypto/openssh/dist/openbsd-compat/Makefile.in vendor-crypto/openssh/dist/openbsd-compat/arc4random.c vendor-crypto/openssh/dist/openbsd-compat/bsd-cygwin_util.c vendor-crypto/openssh/dist/openbsd-compat/bsd-cygwin_util.h vendor-crypto/openssh/dist/openbsd-compat/bsd-snprintf.c vendor-crypto/openssh/dist/openbsd-compat/explicit_bzero.c vendor-crypto/openssh/dist/openbsd-compat/openbsd-compat.h vendor-crypto/openssh/dist/openbsd-compat/openssl-compat.c vendor-crypto/openssh/dist/openbsd-compat/openssl-compat.h vendor-crypto/openssh/dist/openbsd-compat/port-uw.c vendor-crypto/openssh/dist/openbsd-compat/regress/Makefile.in vendor-crypto/openssh/dist/opensshd.init.in vendor-crypto/openssh/dist/packet.c vendor-crypto/openssh/dist/packet.h vendor-crypto/openssh/dist/platform.c vendor-crypto/openssh/dist/poly1305.h vendor-crypto/openssh/dist/readconf.c vendor-crypto/openssh/dist/readconf.h vendor-crypto/openssh/dist/regress/Makefile vendor-crypto/openssh/dist/regress/connect-privsep.sh vendor-crypto/openssh/dist/regress/dhgex.sh vendor-crypto/openssh/dist/regress/forwarding.sh vendor-crypto/openssh/dist/regress/integrity.sh vendor-crypto/openssh/dist/regress/kextype.sh vendor-crypto/openssh/dist/regress/krl.sh vendor-crypto/openssh/dist/regress/login-timeout.sh vendor-crypto/openssh/dist/regress/multiplex.sh vendor-crypto/openssh/dist/regress/proxy-connect.sh vendor-crypto/openssh/dist/regress/rekey.sh vendor-crypto/openssh/dist/regress/test-exec.sh vendor-crypto/openssh/dist/regress/try-ciphers.sh vendor-crypto/openssh/dist/rijndael.c vendor-crypto/openssh/dist/rijndael.h vendor-crypto/openssh/dist/roaming_client.c vendor-crypto/openssh/dist/rsa.c vendor-crypto/openssh/dist/rsa.h vendor-crypto/openssh/dist/sandbox-seccomp-filter.c vendor-crypto/openssh/dist/sandbox-systrace.c vendor-crypto/openssh/dist/scp.0 vendor-crypto/openssh/dist/scp.1 vendor-crypto/openssh/dist/scp.c vendor-crypto/openssh/dist/servconf.c vendor-crypto/openssh/dist/servconf.h vendor-crypto/openssh/dist/serverloop.c vendor-crypto/openssh/dist/session.c vendor-crypto/openssh/dist/sftp-client.c vendor-crypto/openssh/dist/sftp-client.h vendor-crypto/openssh/dist/sftp-server.0 vendor-crypto/openssh/dist/sftp-server.8 vendor-crypto/openssh/dist/sftp-server.c vendor-crypto/openssh/dist/sftp.0 vendor-crypto/openssh/dist/sftp.1 vendor-crypto/openssh/dist/sftp.c vendor-crypto/openssh/dist/ssh-add.0 vendor-crypto/openssh/dist/ssh-add.c vendor-crypto/openssh/dist/ssh-agent.0 vendor-crypto/openssh/dist/ssh-agent.1 vendor-crypto/openssh/dist/ssh-agent.c vendor-crypto/openssh/dist/ssh-dss.c vendor-crypto/openssh/dist/ssh-ecdsa.c vendor-crypto/openssh/dist/ssh-ed25519.c vendor-crypto/openssh/dist/ssh-keygen.0 vendor-crypto/openssh/dist/ssh-keygen.1 vendor-crypto/openssh/dist/ssh-keygen.c vendor-crypto/openssh/dist/ssh-keyscan.0 vendor-crypto/openssh/dist/ssh-keyscan.1 vendor-crypto/openssh/dist/ssh-keyscan.c vendor-crypto/openssh/dist/ssh-keysign.0 vendor-crypto/openssh/dist/ssh-keysign.c vendor-crypto/openssh/dist/ssh-pkcs11-client.c vendor-crypto/openssh/dist/ssh-pkcs11-helper.0 vendor-crypto/openssh/dist/ssh-pkcs11-helper.c vendor-crypto/openssh/dist/ssh-pkcs11.c vendor-crypto/openssh/dist/ssh-pkcs11.h vendor-crypto/openssh/dist/ssh-rsa.c vendor-crypto/openssh/dist/ssh.0 vendor-crypto/openssh/dist/ssh.1 vendor-crypto/openssh/dist/ssh.c vendor-crypto/openssh/dist/ssh_config.0 vendor-crypto/openssh/dist/ssh_config.5 vendor-crypto/openssh/dist/sshconnect.c vendor-crypto/openssh/dist/sshconnect1.c vendor-crypto/openssh/dist/sshconnect2.c vendor-crypto/openssh/dist/sshd.0 vendor-crypto/openssh/dist/sshd.8 vendor-crypto/openssh/dist/sshd.c vendor-crypto/openssh/dist/sshd_config.0 vendor-crypto/openssh/dist/sshd_config.5 vendor-crypto/openssh/dist/sshlogin.c vendor-crypto/openssh/dist/sshpty.c vendor-crypto/openssh/dist/umac.c vendor-crypto/openssh/dist/version.h Modified: vendor-crypto/openssh/dist/ChangeLog ============================================================================== --- vendor-crypto/openssh/dist/ChangeLog Mon Jan 5 16:09:51 2015 (r276706) +++ vendor-crypto/openssh/dist/ChangeLog Mon Jan 5 16:09:55 2015 (r276707) @@ -1,3 +1,934 @@ +20131006 + - (djm) Release OpenSSH-6.7 + +20141003 + - (djm) [sshd_config.5] typo; from Iain Morgan + +20141001 + - (djm) [openbsd-compat/Makefile.in openbsd-compat/kludge-fd_set.c] + [openbsd-compat/openbsd-compat.h] Kludge around bad glibc + _FORTIFY_SOURCE check that doesn't grok heap-allocated fd_sets; + ok dtucker@ + +20140910 + - (djm) [sandbox-seccomp-filter.c] Allow mremap and exit for DietLibc; + patch from Felix von Leitner; ok dtucker + +20140908 + - (dtucker) [INSTALL] Update info about egd. ok djm@ + +20140904 + - (djm) [openbsd-compat/arc4random.c] Zero seed after keying PRNG + +20140903 + - (djm) [defines.h sshbuf.c] Move __predict_true|false to defines.h and + conditionalise to avoid duplicate definition. + - (djm) [contrib/cygwin/ssh-host-config] Fix old code leading to + permissions/ACLs; from Corinna Vinschen + +20140830 + - (djm) [openbsd-compat/openssl-compat.h] add + OPENSSL_[RD]SA_MAX_MODULUS_BITS defines for OpenSSL that lacks them + - (djm) [misc.c] Missing newline between functions + - (djm) [openbsd-compat/openssl-compat.h] add include guard + - (djm) [Makefile.in] Make TEST_SHELL a variable; "good idea" tim@ + +20140827 + - (djm) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c] + [regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] + [regress/unittests/sshkey/common.c] + [regress/unittests/sshkey/test_file.c] + [regress/unittests/sshkey/test_fuzz.c] + [regress/unittests/sshkey/test_sshkey.c] Don't include openssl/ec.h + on !ECC OpenSSL systems + - (djm) [monitor.c sshd.c] SIGXFSZ needs to be ignored in postauth + monitor, not preauth; bz#2263 + - (djm) [openbsd-compat/explicit_bzero.c] implement explicit_bzero() + using memset_s() where possible; improve fallback to indirect bzero + via a volatile pointer to give it more of a chance to avoid being + optimised away. + +20140825 + - (djm) [bufec.c] Skip this file on !ECC OpenSSL + - (djm) [INSTALL] Recommend libcrypto be built -fPIC, mention LibreSSL, + update OpenSSL version requirement. + +20140824 + - (djm) [sftp-server.c] Some systems (e.g. Irix) have prctl() but not + PR_SET_DUMPABLE, so adjust ifdef; reported by Tom Christensen + +20140823 + - (djm) [sshd.c] Ignore SIGXFSZ in preauth monitor child; can explode on + lastlog writing on platforms with high UIDs; bz#2263 + - (djm) [configure.ac] We now require a working vsnprintf everywhere (not + just for systems that lack asprintf); check for it always and extend + test to catch more brokenness. Fixes builds on Solaris <= 9 + +20140822 + - (djm) [configure.ac] include leading zero characters in OpenSSL version + number; fixes test for unsupported versions + - (djm) [sshbuf-getput-crypto.c] Fix compilation when OpenSSL lacks ECC + - (djm) [openbsd-compat/bsd-snprintf.c] Fix compilation failure (prototype/ + definition mismatch) and warning for broken/missing snprintf case. + - (djm) [configure.ac] double braces to appease autoconf + +20140821 + - (djm) [Makefile.in] fix reference to libtest_helper.a in sshkey test too. + - (djm) [key.h] Fix ifdefs for no-ECC OpenSSL + - (djm) [regress/unittests/test_helper/test_helper.c] Fix for systems that + don't set __progname. Diagnosed by Tom Christensen. + +20140820 + - (djm) [configure.ac] Check OpenSSL version is supported at configure time; + suggested by Kevin Brott + - (djm) [Makefile.in] refer to libtest_helper.a by explicit path rather than + -L/-l; fixes linking problems on some platforms + - (djm) [sshkey.h] Fix compilation when OpenSSL lacks ECC + - (djm) [contrib/cygwin/README] Correct build instructions; from Corinna + +20140819 + - (djm) [serverloop.c] Fix syntax error on Cygwin; from Corinna Vinschen + - (djm) [sshbuf.h] Fix compilation on systems without OPENSSL_HAS_ECC. + - (djm) [ssh-dss.c] Include openssl/dsa.h for DSA_SIG + - (djm) [INSTALL contrib/caldera/openssh.spec contrib/cygwin/README] + [contrib/redhat/openssh.spec contrib/suse/openssh.spec] Remove mentions + of TCP wrappers. + +20140811 + - (djm) [myproposal.h] Make curve25519 KEX dependent on + HAVE_EVP_SHA256 instead of OPENSSL_HAS_ECC. + +20140810 + - (djm) [README contrib/caldera/openssh.spec] + [contrib/redhat/openssh.spec contrib/suse/openssh.spec] Update versions + +20140801 + - (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need + a better solution, but this will have to do for now. + - (djm) [regress/multiplex.sh] Instruct nc not to quit as soon as stdin + is closed; avoid regress failures when stdin is /dev/null + - (djm) [regress/multiplex.sh] Use -d (detach stdin) flag to disassociate + nc from stdin, it's more portable + +20140730 + - OpenBSD CVS Sync + - millert@cvs.openbsd.org 2014/07/24 22:57:10 + [ssh.1] + Mention UNIX-domain socket forwarding too. OK jmc@ deraadt@ + - dtucker@cvs.openbsd.org 2014/07/25 21:22:03 + [ssh-agent.c] + Clear buffer used for handling messages. This prevents keys being + left in memory after they have been expired or deleted in some cases + (but note that ssh-agent is setgid so you would still need root to + access them). Pointed out by Kevin Burns, ok deraadt + - schwarze@cvs.openbsd.org 2014/07/28 15:40:08 + [sftp-server.8 sshd_config.5] + some systems no longer need /dev/log; + issue noticed by jirib; + ok deraadt + +20140725 + - (djm) [regress/multiplex.sh] restore incorrectly deleted line; + pointed out by Christian Hesse + +20140722 + - (djm) [regress/multiplex.sh] ssh mux master lost -N somehow; + put it back + - (djm) [regress/multiplex.sh] change the test for still-open Unix + domain sockets to be robust against nc implementations that produce + error messages. + - (dtucker) [regress/unittests/sshkey/test_{file,fuzz,sshkey}.c] Wrap ecdsa- + specific tests inside OPENSSL_HAS_ECC. + - (dtucker) OpenBSD CVS Sync + - dtucker@cvs.openbsd.org 2014/07/22 01:18:50 + [key.c] + Prevent spam from key_load_private_pem during hostbased auth. ok djm@ + - guenther@cvs.openbsd.org 2014/07/22 07:13:42 + [umac.c] + Convert from to the shiney new + ok dtucker@, who also confirmed that -portable handles this already + (ID sync only, includes.h pulls in endian.h if available.) + - djm@cvs.openbsd.org 2014/07/22 01:32:12 + [regress/multiplex.sh] + change the test for still-open Unix domain sockets to be robust against + nc implementations that produce error messages. from -portable + (Id sync only) + - dtucker@cvs.openbsd.org 2014/07/22 23:23:22 + [regress/unittests/sshkey/mktestdata.sh] + Sign test certs with ed25519 instead of ecdsa so that they'll work in + -portable on platforms that don't have ECDSA in their OpenSSL. ok djm + - dtucker@cvs.openbsd.org 2014/07/22 23:57:40 + [regress/unittests/sshkey/mktestdata.sh] + Add $OpenBSD tag to make syncs easier + - dtucker@cvs.openbsd.org 2014/07/22 23:35:38 + [regress/unittests/sshkey/testdata/*] + Regenerate test keys with certs signed with ed25519 instead of ecdsa. + These can be used in -portable on platforms that don't support ECDSA. + +20140721 + - OpenBSD CVS Sync + - millert@cvs.openbsd.org 2014/07/15 15:54:15 + [forwarding.sh multiplex.sh] + Add support for Unix domain socket forwarding. A remote TCP port + may be forwarded to a local Unix domain socket and vice versa or + both ends may be a Unix domain socket. This is a reimplementation + of the streamlocal patches by William Ahern from: + http://www.25thandclement.com/~william/projects/streamlocal.html + OK djm@ markus@ + - (djm) [regress/multiplex.sh] Not all netcat accept the -N option. + - (dtucker) [sshkey.c] ifdef out unused variable when compiling without + OPENSSL_HAS_ECC. + +20140721 + - (dtucker) [cipher.c openbsd-compat/openssl-compat.h] Restore the bits + needed to build AES CTR mode against OpenSSL 0.9.8f and above. ok djm + - (dtucker) [regress/unittests/sshkey/ + {common,test_file,test_fuzz,test_sshkey}.c] Wrap stdint.h includes in + ifdefs. + +20140719 + - (tim) [openbsd-compat/port-uw.c] Include misc.h for fwd_opts, used + in servconf.h. + +20140718 + - OpenBSD CVS Sync + - millert@cvs.openbsd.org 2014/07/15 15:54:14 + [PROTOCOL auth-options.c auth-passwd.c auth-rh-rsa.c auth-rhosts.c] + [auth-rsa.c auth.c auth1.c auth2-hostbased.c auth2-kbdint.c auth2-none.c] + [auth2-passwd.c auth2-pubkey.c auth2.c canohost.c channels.c channels.h] + [clientloop.c misc.c misc.h monitor.c mux.c packet.c readconf.c] + [readconf.h servconf.c servconf.h serverloop.c session.c ssh-agent.c] + [ssh.c ssh_config.5 sshconnect.c sshconnect1.c sshconnect2.c sshd.c] + [sshd_config.5 sshlogin.c] + Add support for Unix domain socket forwarding. A remote TCP port + may be forwarded to a local Unix domain socket and vice versa or + both ends may be a Unix domain socket. This is a reimplementation + of the streamlocal patches by William Ahern from: + http://www.25thandclement.com/~william/projects/streamlocal.html + OK djm@ markus@ + - jmc@cvs.openbsd.org 2014/07/16 14:48:57 + [ssh.1] + add the streamlocal* options to ssh's -o list; millert says they're + irrelevant for scp/sftp; + ok markus millert + - djm@cvs.openbsd.org 2014/07/17 00:10:56 + [sandbox-systrace.c] + ifdef SYS_sendsyslog so this will compile without patching on -stable + - djm@cvs.openbsd.org 2014/07/17 00:10:18 + [mux.c] + preserve errno across syscall + - djm@cvs.openbsd.org 2014/07/17 00:12:03 + [key.c] + silence "incorrect passphrase" error spam; reported and ok dtucker@ + - djm@cvs.openbsd.org 2014/07/17 07:22:19 + [mux.c ssh.c] + reflect stdio-forward ("ssh -W host:port ...") failures in exit status. + previously we were always returning 0. bz#2255 reported by Brendan + Germain; ok dtucker + - djm@cvs.openbsd.org 2014/07/18 02:46:01 + [ssh-agent.c] + restore umask around listener socket creation (dropped in streamlocal patch + merge) + - (dtucker) [auth2-gss.c gss-serv-krb5.c] Include misc.h for fwd_opts, used + in servconf.h. + - (dtucker) [Makefile.in] Add a t-exec target to run just the executable + tests. + - (dtucker) [key.c sshkey.c] Put new ecdsa bits inside ifdef OPENSSL_HAS_ECC. + +20140717 + - (djm) [digest-openssl.c] Preserve array order when disabling digests. + Reported by Petr Lautrbach. + - OpenBSD CVS Sync + - deraadt@cvs.openbsd.org 2014/07/11 08:09:54 + [sandbox-systrace.c] + Permit use of SYS_sendsyslog from inside the sandbox. Clock is ticking, + update your kernels and sshd soon.. libc will start using sendsyslog() + in about 4 days. + - tedu@cvs.openbsd.org 2014/07/11 13:54:34 + [myproposal.h] + by popular demand, add back hamc-sha1 to server proposal for better compat + with many clients still in use. ok deraadt + +20140715 + - (djm) [configure.ac] Delay checks for arc4random* until after libcrypto + has been located; fixes builds agains libressl-portable + +20140711 + - OpenBSD CVS Sync + - benno@cvs.openbsd.org 2014/07/09 14:15:56 + [ssh-add.c] + fix ssh-add crash while loading more than one key + ok markus@ + +20140709 + - OpenBSD CVS Sync + - djm@cvs.openbsd.org 2014/07/07 08:19:12 + [ssh_config.5] + mention that ProxyCommand is executed using shell "exec" to avoid + a lingering process; bz#1977 + - djm@cvs.openbsd.org 2014/07/09 01:45:10 + [sftp.c] + more useful error message when GLOB_NOSPACE occurs; + bz#2254, patch from Orion Poplawski + - djm@cvs.openbsd.org 2014/07/09 03:02:15 + [key.c] + downgrade more error() to debug() to better match what old authfile.c + did; suppresses spurious errors with hostbased authentication enabled + - djm@cvs.openbsd.org 2014/07/06 07:42:03 + [multiplex.sh test-exec.sh] + add a hook to the cleanup() function to kill $SSH_PID if it is set + + use it to kill the mux master started in multiplex.sh (it was being left + around on fatal failures) + - djm@cvs.openbsd.org 2014/07/07 08:15:26 + [multiplex.sh] + remove forced-fatal that I stuck in there to test the new cleanup + logic and forgot to remove... + +20140706 + - OpenBSD CVS Sync + - djm@cvs.openbsd.org 2014/07/03 23:18:35 + [authfile.h] + remove leakmalloc droppings + - djm@cvs.openbsd.org 2014/07/05 23:11:48 + [channels.c] + fix remote-forward cancel regression; ok markus@ + +20140704 + - OpenBSD CVS Sync + - jsing@cvs.openbsd.org 2014/07/03 12:42:16 + [cipher-chachapoly.c] + Call chacha_ivsetup() immediately before chacha_encrypt_bytes() - this + makes it easier to verify that chacha_encrypt_bytes() is only called once + per chacha_ivsetup() call. + ok djm@ + - djm@cvs.openbsd.org 2014/07/03 22:23:46 + [sshconnect.c] + when rekeying, skip file/DNS lookup if it is the same as the key sent + during initial key exchange. bz#2154 patch from Iain Morgan; ok markus@ + - djm@cvs.openbsd.org 2014/07/03 22:33:41 + [channels.c] + allow explicit ::1 and 127.0.0.1 forwarding bind addresses when + GatewayPorts=no; allows client to choose address family; + bz#2222 ok markus@ + - djm@cvs.openbsd.org 2014/07/03 22:40:43 + [servconf.c servconf.h session.c sshd.8 sshd_config.5] + Add a sshd_config PermitUserRC option to control whether ~/.ssh/rc is + executed, mirroring the no-user-rc authorized_keys option; + bz#2160; ok markus@ + +20140703 + - (djm) [digest-openssl.c configure.ac] Disable RIPEMD160 if libcrypto + doesn't support it. + - (djm) [monitor_fdpass.c] Use sys/poll.h if poll.h doesn't exist; + bz#2237 + - OpenBSD CVS Sync + - djm@cvs.openbsd.org 2014/07/03 01:45:38 + [sshkey.c] + make Ed25519 keys' title fit properly in the randomart border; bz#2247 + based on patch from Christian Hesse + - djm@cvs.openbsd.org 2014/07/03 03:11:03 + [ssh-agent.c] + Only cleanup agent socket in the main agent process and not in any + subprocesses it may have started (e.g. forked askpass). Fixes + agent sockets being zapped when askpass processes fatal(); + bz#2236 patch from Dmitry V. Levin + - djm@cvs.openbsd.org 2014/07/03 03:15:01 + [ssh-add.c] + make stdout line-buffered; saves partial output getting lost when + ssh-add fatal()s part-way through (e.g. when listing keys from an + agent that supports key types that ssh-add doesn't); + bz#2234, reported by Phil Pennock + - djm@cvs.openbsd.org 2014/07/03 03:26:43 + [digest-openssl.c] + use EVP_Digest() for one-shot hash instead of creating, updating, + finalising and destroying a context. + bz#2231, based on patch from Timo Teras + - djm@cvs.openbsd.org 2014/07/03 03:34:09 + [gss-serv.c session.c ssh-keygen.c] + standardise on NI_MAXHOST for gethostname() string lengths; about + 1/2 the cases were using it already. Fixes bz#2239 en passant + - djm@cvs.openbsd.org 2014/07/03 03:47:27 + [ssh-keygen.c] + When hashing or removing hosts using ssh-keygen, don't choke on + @revoked markers and don't remove @cert-authority markers; + bz#2241, reported by mlindgren AT runelind.net + - djm@cvs.openbsd.org 2014/07/03 04:36:45 + [digest.h] + forward-declare struct sshbuf so consumers don't need to include sshbuf.h + - djm@cvs.openbsd.org 2014/07/03 05:32:36 + [ssh_config.5] + mention '%%' escape sequence in HostName directives and how it may + be used to specify IPv6 link-local addresses + - djm@cvs.openbsd.org 2014/07/03 05:38:17 + [ssh.1] + document that -g will only work in the multiplexed case if applied to + the mux master + - djm@cvs.openbsd.org 2014/07/03 06:39:19 + [ssh.c ssh_config.5] + Add a %C escape sequence for LocalCommand and ControlPath that expands + to a unique identifer based on a has of the tuple of (local host, + remote user, hostname, port). + + Helps avoid exceeding sockaddr_un's miserly pathname limits for mux + control paths. + + bz#2220, based on patch from mancha1 AT zoho.com; ok markus@ + - jmc@cvs.openbsd.org 2014/07/03 07:45:27 + [ssh_config.5] + escape %C since groff thinks it part of an Rs/Re block; + - djm@cvs.openbsd.org 2014/07/03 11:16:55 + [auth.c auth.h auth1.c auth2.c] + make the "Too many authentication failures" message include the + user, source address, port and protocol in a format similar to the + authentication success / failure messages; bz#2199, ok dtucker + +20140702 + - OpenBSD CVS Sync + - deraadt@cvs.openbsd.org 2014/06/13 08:26:29 + [sandbox-systrace.c] + permit SYS_getentropy + from matthew + - matthew@cvs.openbsd.org 2014/06/18 02:59:13 + [sandbox-systrace.c] + Now that we have a dedicated getentropy(2) system call for + arc4random(3), we can disallow __sysctl(2) in OpenSSH's systrace + sandbox. + + ok djm + - naddy@cvs.openbsd.org 2014/06/18 15:42:09 + [sshbuf-getput-crypto.c] + The ssh_get_bignum functions must accept the same range of bignums + the corresponding ssh_put_bignum functions create. This fixes the + use of 16384-bit RSA keys (bug reported by Eivind Evensen). + ok djm@ + - djm@cvs.openbsd.org 2014/06/24 00:52:02 + [krl.c] + fix bug in KRL generation: multiple consecutive revoked certificate + serial number ranges could be serialised to an invalid format. + + Readers of a broken KRL caused by this bug will fail closed, so no + should-have-been-revoked key will be accepted. + - djm@cvs.openbsd.org 2014/06/24 01:13:21 + [Makefile.in auth-bsdauth.c auth-chall.c auth-options.c auth-rsa.c + [auth2-none.c auth2-pubkey.c authfile.c authfile.h cipher-3des1.c + [cipher-chachapoly.c cipher-chachapoly.h cipher.c cipher.h + [digest-libc.c digest-openssl.c digest.h dns.c entropy.c hmac.h + [hostfile.c key.c key.h krl.c monitor.c packet.c rsa.c rsa.h + [ssh-add.c ssh-agent.c ssh-dss.c ssh-ecdsa.c ssh-ed25519.c + [ssh-keygen.c ssh-pkcs11-client.c ssh-pkcs11-helper.c ssh-pkcs11.c + [ssh-rsa.c sshbuf-misc.c sshbuf.h sshconnect.c sshconnect1.c + [sshconnect2.c sshd.c sshkey.c sshkey.h + [openbsd-compat/openssl-compat.c openbsd-compat/openssl-compat.h] + New key API: refactor key-related functions to be more library-like, + existing API is offered as a set of wrappers. + + with and ok markus@ + + Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew + Dempsky and Ron Bowes for a detailed review a few months ago. + NB. This commit also removes portable OpenSSH support for OpenSSL + <0.9.8e. + - djm@cvs.openbsd.org 2014/06/24 02:19:48 + [ssh.c] + don't fatal() when hostname canonicalisation fails with a + ProxyCommand in use; continue and allow the ProxyCommand to + connect anyway (e.g. to a host with a name outside the DNS + behind a bastion) + - djm@cvs.openbsd.org 2014/06/24 02:21:01 + [scp.c] + when copying local->remote fails during read, don't send uninitialised + heap to the remote end. Reported by Jann Horn + - deraadt@cvs.openbsd.org 2014/06/25 14:16:09 + [sshbuf.c] + unblock SIGSEGV before raising it + ok djm + - markus@cvs.openbsd.org 2014/06/27 16:41:56 + [channels.c channels.h clientloop.c ssh.c] + fix remote fwding with same listen port but different listen address + with gerhard@, ok djm@ + - markus@cvs.openbsd.org 2014/06/27 18:50:39 + [ssh-add.c] + fix loading of private keys + - djm@cvs.openbsd.org 2014/06/30 12:54:39 + [key.c] + suppress spurious error message when loading key with a passphrase; + reported by kettenis@ ok markus@ + - djm@cvs.openbsd.org 2014/07/02 04:59:06 + [cipher-3des1.c] + fix ssh protocol 1 on the server that regressed with the sshkey change + (sometimes fatal() after auth completed), make file return useful status + codes. + NB. Id sync only for these two. They were bundled into the sshkey merge + above, since it was easier to sync the entire file and then apply + portable-specific changed atop it. + - djm@cvs.openbsd.org 2014/04/30 05:32:00 + [regress/Makefile] + unit tests for new buffer API; including basic fuzz testing + NB. Id sync only. + - djm@cvs.openbsd.org 2014/05/21 07:04:21 + [regress/integrity.sh] + when failing because of unexpected output, show the offending output + - djm@cvs.openbsd.org 2014/06/24 01:04:43 + [regress/krl.sh] + regress test for broken consecutive revoked serial number ranges + - djm@cvs.openbsd.org 2014/06/24 01:14:17 + [Makefile.in regress/Makefile regress/unittests/Makefile] + [regress/unittests/sshkey/Makefile] + [regress/unittests/sshkey/common.c] + [regress/unittests/sshkey/common.h] + [regress/unittests/sshkey/mktestdata.sh] + [regress/unittests/sshkey/test_file.c] + [regress/unittests/sshkey/test_fuzz.c] + [regress/unittests/sshkey/test_sshkey.c] + [regress/unittests/sshkey/tests.c] + [regress/unittests/sshkey/testdata/dsa_1] + [regress/unittests/sshkey/testdata/dsa_1-cert.fp] + [regress/unittests/sshkey/testdata/dsa_1-cert.pub] + [regress/unittests/sshkey/testdata/dsa_1.fp] + [regress/unittests/sshkey/testdata/dsa_1.fp.bb] + [regress/unittests/sshkey/testdata/dsa_1.param.g] + [regress/unittests/sshkey/testdata/dsa_1.param.priv] + [regress/unittests/sshkey/testdata/dsa_1.param.pub] + [regress/unittests/sshkey/testdata/dsa_1.pub] + [regress/unittests/sshkey/testdata/dsa_1_pw] + [regress/unittests/sshkey/testdata/dsa_2] + [regress/unittests/sshkey/testdata/dsa_2.fp] + [regress/unittests/sshkey/testdata/dsa_2.fp.bb] + [regress/unittests/sshkey/testdata/dsa_2.pub] + [regress/unittests/sshkey/testdata/dsa_n] + [regress/unittests/sshkey/testdata/dsa_n_pw] + [regress/unittests/sshkey/testdata/ecdsa_1] + [regress/unittests/sshkey/testdata/ecdsa_1-cert.fp] + [regress/unittests/sshkey/testdata/ecdsa_1-cert.pub] + [regress/unittests/sshkey/testdata/ecdsa_1.fp] + [regress/unittests/sshkey/testdata/ecdsa_1.fp.bb] + [regress/unittests/sshkey/testdata/ecdsa_1.param.curve] + [regress/unittests/sshkey/testdata/ecdsa_1.param.priv] + [regress/unittests/sshkey/testdata/ecdsa_1.param.pub] + [regress/unittests/sshkey/testdata/ecdsa_1.pub] + [regress/unittests/sshkey/testdata/ecdsa_1_pw] + [regress/unittests/sshkey/testdata/ecdsa_2] + [regress/unittests/sshkey/testdata/ecdsa_2.fp] + [regress/unittests/sshkey/testdata/ecdsa_2.fp.bb] + [regress/unittests/sshkey/testdata/ecdsa_2.param.curve] + [regress/unittests/sshkey/testdata/ecdsa_2.param.priv] + [regress/unittests/sshkey/testdata/ecdsa_2.param.pub] + [regress/unittests/sshkey/testdata/ecdsa_2.pub] + [regress/unittests/sshkey/testdata/ecdsa_n] + [regress/unittests/sshkey/testdata/ecdsa_n_pw] + [regress/unittests/sshkey/testdata/ed25519_1] + [regress/unittests/sshkey/testdata/ed25519_1-cert.fp] + [regress/unittests/sshkey/testdata/ed25519_1-cert.pub] + [regress/unittests/sshkey/testdata/ed25519_1.fp] + [regress/unittests/sshkey/testdata/ed25519_1.fp.bb] + [regress/unittests/sshkey/testdata/ed25519_1.pub] + [regress/unittests/sshkey/testdata/ed25519_1_pw] + [regress/unittests/sshkey/testdata/ed25519_2] + [regress/unittests/sshkey/testdata/ed25519_2.fp] + [regress/unittests/sshkey/testdata/ed25519_2.fp.bb] + [regress/unittests/sshkey/testdata/ed25519_2.pub] + [regress/unittests/sshkey/testdata/pw] + [regress/unittests/sshkey/testdata/rsa1_1] + [regress/unittests/sshkey/testdata/rsa1_1.fp] + [regress/unittests/sshkey/testdata/rsa1_1.fp.bb] + [regress/unittests/sshkey/testdata/rsa1_1.param.n] + [regress/unittests/sshkey/testdata/rsa1_1.pub] + [regress/unittests/sshkey/testdata/rsa1_1_pw] + [regress/unittests/sshkey/testdata/rsa1_2] + [regress/unittests/sshkey/testdata/rsa1_2.fp] + [regress/unittests/sshkey/testdata/rsa1_2.fp.bb] + [regress/unittests/sshkey/testdata/rsa1_2.param.n] + [regress/unittests/sshkey/testdata/rsa1_2.pub] + [regress/unittests/sshkey/testdata/rsa_1] + [regress/unittests/sshkey/testdata/rsa_1-cert.fp] + [regress/unittests/sshkey/testdata/rsa_1-cert.pub] + [regress/unittests/sshkey/testdata/rsa_1.fp] + [regress/unittests/sshkey/testdata/rsa_1.fp.bb] + [regress/unittests/sshkey/testdata/rsa_1.param.n] + [regress/unittests/sshkey/testdata/rsa_1.param.p] + [regress/unittests/sshkey/testdata/rsa_1.param.q] + [regress/unittests/sshkey/testdata/rsa_1.pub] + [regress/unittests/sshkey/testdata/rsa_1_pw] + [regress/unittests/sshkey/testdata/rsa_2] + [regress/unittests/sshkey/testdata/rsa_2.fp] + [regress/unittests/sshkey/testdata/rsa_2.fp.bb] + [regress/unittests/sshkey/testdata/rsa_2.param.n] + [regress/unittests/sshkey/testdata/rsa_2.param.p] + [regress/unittests/sshkey/testdata/rsa_2.param.q] + [regress/unittests/sshkey/testdata/rsa_2.pub] + [regress/unittests/sshkey/testdata/rsa_n] + [regress/unittests/sshkey/testdata/rsa_n_pw] + unit and fuzz tests for new key API + - (djm) [sshkey.c] Conditionalise inclusion of util.h + - (djm) [regress/Makefile] fix execution of sshkey unit/fuzz test + +20140618 + - (tim) [openssh/session.c] Work around to get chroot sftp working on UnixWare + +20140617 + - (dtucker) [entropy.c openbsd-compat/openssl-compat.{c,h} + openbsd-compat/regress/{.cvsignore,Makefile.in,opensslvertest.c}] + Move the OpenSSL header/library version test into its own function and add + tests for it. Fix it to allow fix version upgrades (but not downgrades). + Prompted by chl@ via OpenSMTPD (issue #462) and Debian (bug #748150). + ok djm@ chl@ + +20140616 + - (dtucker) [defines.h] Fix undef of _PATH_MAILDIR. From rak at debian via + OpenSMTPD and chl@ + +20140612 + - (dtucker) [configure.ac] Remove tcpwrappers support, support has already + been removed from sshd.c. + +20140611 + - (dtucker) [defines.h] Add va_copy if we don't already have it, taken from + openbsd-compat/bsd-asprintf.c. + - (dtucker) [regress/unittests/sshbuf/*.c regress/unittests/test_helper/*] + Wrap stdlib.h include an ifdef for platforms that don't have it. + - (tim) [regress/unittests/test_helper/test_helper.h] Add includes.h for + u_intXX_t types. + +20140610 + - (dtucker) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c + regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] Only do NISTP256 + curve tests if OpenSSL has them. + - (dtucker) [myprosal.h] Don't include curve25519-sha256@libssh.org in + the proposal if the version of OpenSSL we're using doesn't support ECC. + - (dtucker) [regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] ifdef + ECC variable too. + - (dtucker) OpenBSD CVS Sync + - djm@cvs.openbsd.org 2014/06/05 22:17:50 + [sshconnect2.c] + fix inverted test that caused PKCS#11 keys that were explicitly listed + not to be preferred. Reported by Dirk-Willem van Gulik + - dtucker@cvs.openbsd.org 2014/06/10 21:46:11 + [sshbuf.h] + Group ECC functions together to make things a little easier in -portable. + "doesn't bother me" deraadt@ + - (dtucker) [sshbuf.h] Only declare ECC functions if building without + OpenSSL or if OpenSSL has ECC. + - (dtucker) [openbsd-compat/arc4random.c] Use explicit_bzero instead of an + assigment that might get optimized out. ok djm@ + - (dtucker) [bufaux.c bufbn.c bufec.c buffer.c] Pull in includes.h for + compat stuff, specifically whether or not OpenSSL has ECC. + +20140527 + - (djm) [cipher.c] Fix merge botch. + - (djm) [contrib/cygwin/ssh-host-config] Updated Cygwin ssh-host-config + from Corinna Vinschen, fixing a number of bugs and preparing for + Cygwin 1.7.30. + - (djm) [configure.ac openbsd-compat/bsd-cygwin_util.c] + [openbsd-compat/bsd-cygwin_util.h] On Cygwin, determine privilege + separation user at runtime, since it may need to be a domain account. + Patch from Corinna Vinschen. + +20140522 + - (djm) [Makefile.in] typo in path + +20140521 + - (djm) [commit configure.ac defines.h sshpty.c] don't attempt to use + vhangup on Linux. It doens't work for non-root users, and for them + it just messes up the tty settings. + - (djm) [misc.c] Use CLOCK_BOOTTIME in preference to CLOCK_MONOTONIC + when it is available. It takes into account time spent suspended, + thereby ensuring timeouts (e.g. for expiring agent keys) fire + correctly. bz#2228 reported by John Haxby + +20140519 + - (djm) [rijndael.c rijndael.h] Sync with newly-ressurected versions ine + OpenBSD + - OpenBSD CVS Sync + - logan@cvs.openbsd.org 2014/04/20 09:24:26 + [dns.c dns.h ssh-keygen.c] + Add support for SSHFP DNS records for ED25519 key types. + OK from djm@ + - logan@cvs.openbsd.org 2014/04/21 14:36:16 + [sftp-client.c sftp-client.h sftp.c] + Implement sftp upload resume support. + OK from djm@, with input from guenther@, mlarkin@ and + okan@ + - logan@cvs.openbsd.org 2014/04/22 10:07:12 + [sftp.c] + Sort the sftp command list. + OK from djm@ + - logan@cvs.openbsd.org 2014/04/22 12:42:04 + [sftp.1] + Document sftp upload resume. + OK from djm@, with feedback from okan@. + - jmc@cvs.openbsd.org 2014/04/22 14:16:30 + [sftp.1] + zap eol whitespace; + - djm@cvs.openbsd.org 2014/04/23 12:42:34 + [readconf.c] + don't record duplicate IdentityFiles + - djm@cvs.openbsd.org 2014/04/28 03:09:18 + [authfile.c bufaux.c buffer.h channels.c krl.c mux.c packet.c packet.h] + [ssh-keygen.c] + buffer_get_string_ptr's return should be const to remind + callers that futzing with it will futz with the actual buffer + contents + - djm@cvs.openbsd.org 2014/04/29 13:10:30 + [clientloop.c serverloop.c] + bz#1818 - don't send channel success/failre replies on channels that + have sent a close already; analysis and patch from Simon Tatham; + ok markus@ + - markus@cvs.openbsd.org 2014/04/29 18:01:49 + [auth.c authfd.c authfile.c bufaux.c cipher.c cipher.h hostfile.c] + [kex.c key.c mac.c monitor.c monitor_wrap.c myproposal.h packet.c] + [roaming_client.c ssh-agent.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c] + [ssh-pkcs11.h ssh.c sshconnect.c sshconnect2.c sshd.c] + make compiling against OpenSSL optional (make OPENSSL=no); + reduces algorithms to curve25519, aes-ctr, chacha, ed25519; + allows us to explore further options; with and ok djm + - dtucker@cvs.openbsd.org 2014/04/29 19:58:50 + [sftp.c] + Move nulling of variable next to where it's freed. ok markus@ + - dtucker@cvs.openbsd.org 2014/04/29 20:36:51 + [sftp.c] + Don't attempt to append a nul quote char to the filename. Should prevent + fatal'ing with "el_insertstr failed" when there's a single quote char + somewhere in the string. bz#2238, ok markus@ + - djm@cvs.openbsd.org 2014/04/30 05:29:56 + [bufaux.c bufbn.c bufec.c buffer.c buffer.h sshbuf-getput-basic.c] + [sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c sshbuf.h ssherr.c] + [ssherr.h] + New buffer API; the first installment of the conversion/replacement + of OpenSSH's internals to make them usable as a standalone library. + + This includes a set of wrappers to make it compatible with the + existing buffer API so replacement can occur incrementally. + + With and ok markus@ + + Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew + Dempsky and Ron Bowes for a detailed review. + - naddy@cvs.openbsd.org 2014/04/30 19:07:48 + [mac.c myproposal.h umac.c] + UMAC can use our local fallback implementation of AES when OpenSSL isn't + available. Glue code straight from Ted Krovetz's original umac.c. + ok markus@ + - djm@cvs.openbsd.org 2014/05/02 03:27:54 + [chacha.h cipher-chachapoly.h digest.h hmac.h kex.h kexc25519.c] + [misc.h poly1305.h ssh-pkcs11.c defines.h] + revert __bounded change; it causes way more problems for portable than + it solves; pointed out by dtucker@ + - markus@cvs.openbsd.org 2014/05/03 17:20:34 + [monitor.c packet.c packet.h] + unbreak compression, by re-init-ing the compression code in the + post-auth child. the new buffer code is more strict, and requires + buffer_init() while the old code was happy after a bzero(); + originally from djm@ + - logan@cvs.openbsd.org 2014/05/05 07:02:30 + [sftp.c] + Zap extra whitespace. + + OK from djm@ and dtucker@ + - (djm) [configure.ac] Unconditionally define WITH_OPENSSL until we write + portability glue to support building without libcrypto + - (djm) [Makefile.in configure.ac sshbuf-getput-basic.c] + [sshbuf-getput-crypto.c sshbuf.c] compilation and portability fixes + - OpenBSD CVS Sync + - djm@cvs.openbsd.org 2014/03/13 20:44:49 + [login-timeout.sh] + this test is a sorry mess of race conditions; add another sleep + to avoid a failure on slow machines (at least until I find a + better way) + - djm@cvs.openbsd.org 2014/04/21 22:15:37 + [dhgex.sh integrity.sh kextype.sh rekey.sh try-ciphers.sh] + repair regress tests broken by server-side default cipher/kex/mac changes + by ensuring that the option under test is included in the server's + algorithm list + - dtucker@cvs.openbsd.org 2014/05/03 18:46:14 + [proxy-connect.sh] + Add tests for with and without compression, with and without privsep. + - logan@cvs.openbsd.org 2014/05/04 10:40:59 + [connect-privsep.sh] + Remove the Z flag from the list of malloc options as it + was removed from malloc.c 10 days ago. + + OK from miod@ + - (djm) [regress/unittests/Makefile] + [regress/unittests/Makefile.inc] + [regress/unittests/sshbuf/Makefile] + [regress/unittests/sshbuf/test_sshbuf.c] + [regress/unittests/sshbuf/test_sshbuf_fixed.c] + [regress/unittests/sshbuf/test_sshbuf_fuzz.c] + [regress/unittests/sshbuf/test_sshbuf_getput_basic.c] + [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c] + [regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] + [regress/unittests/sshbuf/test_sshbuf_misc.c] + [regress/unittests/sshbuf/tests.c] + [regress/unittests/test_helper/Makefile] + [regress/unittests/test_helper/fuzz.c] + [regress/unittests/test_helper/test_helper.c] + [regress/unittests/test_helper/test_helper.h] + Import new unit tests from OpenBSD; not yet hooked up to build. + - (djm) [regress/Makefile Makefile.in] + [regress/unittests/sshbuf/test_sshbuf.c + [regress/unittests/sshbuf/test_sshbuf_fixed.c] + [regress/unittests/sshbuf/test_sshbuf_fuzz.c] + [regress/unittests/sshbuf/test_sshbuf_getput_basic.c] + [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c] + [regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] + [regress/unittests/sshbuf/test_sshbuf_misc.c] + [regress/unittests/sshbuf/tests.c] + [regress/unittests/test_helper/fuzz.c] + [regress/unittests/test_helper/test_helper.c] + Hook new unit tests into the build and "make tests" + - (djm) [sshbuf.c] need __predict_false + +20140430 + - (dtucker) [defines.h] Define __GNUC_PREREQ__ macro if we don't already + have it. Only attempt to use __attribute__(__bounded__) for gcc. + +20140420 + - OpenBSD CVS Sync + - djm@cvs.openbsd.org 2014/03/03 22:22:30 + [session.c] + ignore enviornment variables with embedded '=' or '\0' characters; + spotted by Jann Horn; ok deraadt@ + Id sync only - portable already has this. + - djm@cvs.openbsd.org 2014/03/12 04:44:58 + [ssh-keyscan.c] + scan for Ed25519 keys by default too + - djm@cvs.openbsd.org 2014/03/12 04:50:32 + [auth-bsdauth.c ssh-keygen.c] + don't count on things that accept arguments by reference to clear + things for us on error; most things do, but it's unsafe form. + - djm@cvs.openbsd.org 2014/03/12 04:51:12 + [authfile.c] + correct test that kdf name is not "none" or "bcrypt" + - naddy@cvs.openbsd.org 2014/03/12 13:06:59 + [ssh-keyscan.1] + scan for Ed25519 keys by default too + - deraadt@cvs.openbsd.org 2014/03/15 17:28:26 + [ssh-agent.c ssh-keygen.1 ssh-keygen.c] + Improve usage() and documentation towards the standard form. + In particular, this line saves a lot of man page reading time. + usage: ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa | rsa1] + [-N new_passphrase] [-C comment] [-f output_keyfile] + ok schwarze jmc + - tedu@cvs.openbsd.org 2014/03/17 19:44:10 + [ssh.1] + old descriptions of des and blowfish are old. maybe ok deraadt + - tedu@cvs.openbsd.org 2014/03/19 14:42:44 + [scp.1] + there is no need for rcp anymore + ok deraadt millert + - markus@cvs.openbsd.org 2014/03/25 09:40:03 + [myproposal.h] + trimm default proposals. + + This commit removes the weaker pre-SHA2 hashes, the broken ciphers + (arcfour), and the broken modes (CBC) from the default configuration + (the patch only changes the default, all the modes are still available + for the config files). + + ok djm@, reminded by tedu@ & naddy@ and discussed with many + - deraadt@cvs.openbsd.org 2014/03/26 17:16:26 + [myproposal.h] + The current sharing of myproposal[] between both client and server code + makes the previous diff highly unpallatable. We want to go in that + direction for the server, but not for the client. Sigh. + Brought up by naddy. + - markus@cvs.openbsd.org 2014/03/27 23:01:27 + [myproposal.h ssh-keyscan.c sshconnect2.c sshd.c] + disable weak proposals in sshd, but keep them in ssh; ok djm@ + - djm@cvs.openbsd.org 2014/03/26 04:55:35 + [chacha.h cipher-chachapoly.h digest.h hmac.h kex.h kexc25519.c + [misc.h poly1305.h ssh-pkcs11.c] + use __bounded(...) attribute recently added to sys/cdefs.h instead of + longform __attribute__(__bounded(...)); + + for brevity and a warning free compilation with llvm/clang + - tedu@cvs.openbsd.org 2014/03/26 19:58:37 + [sshd.8 sshd.c] + remove libwrap support. ok deraadt djm mfriedl + - naddy@cvs.openbsd.org 2014/03/28 05:17:11 + [ssh_config.5 sshd_config.5] + sync available and default algorithms, improve algorithm list formatting + help from jmc@ and schwarze@, ok deraadt@ + - jmc@cvs.openbsd.org 2014/03/31 13:39:34 + [ssh-keygen.1] + the text for the -K option was inserted in the wrong place in -r1.108; + fix From: Matthew Clarke + - djm@cvs.openbsd.org 2014/04/01 02:05:27 + [ssh-keysign.c] + include fingerprint of key not found + use arc4random_buf() instead of loop+arc4random() + - djm@cvs.openbsd.org 2014/04/01 03:34:10 + [sshconnect.c] + When using VerifyHostKeyDNS with a DNSSEC resolver, down-convert any + certificate keys to plain keys and attempt SSHFP resolution. + + Prevents a server from skipping SSHFP lookup and forcing a new-hostkey + dialog by offering only certificate keys. + + Reported by mcv21 AT cam.ac.uk + - djm@cvs.openbsd.org 2014/04/01 05:32:57 + [packet.c] + demote a debug3 to PACKET_DEBUG; ok markus@ + - djm@cvs.openbsd.org 2014/04/12 04:55:53 + [sshd.c] + avoid crash at exit: check that pmonitor!=NULL before dereferencing; + bz#2225, patch from kavi AT juniper.net + - djm@cvs.openbsd.org 2014/04/16 23:22:45 + [bufaux.c] + skip leading zero bytes in buffer_put_bignum2_from_string(); + reported by jan AT mojzis.com; ok markus@ + - djm@cvs.openbsd.org 2014/04/16 23:28:12 + [ssh-agent.1] + remove the identity files from this manpage - ssh-agent doesn't deal + with them at all and the same information is duplicated in ssh-add.1 + (which does deal with them); prodded by deraadt@ + - djm@cvs.openbsd.org 2014/04/18 23:52:25 + [compat.c compat.h sshconnect2.c sshd.c version.h] + OpenSSH 6.5 and 6.6 have a bug that causes ~0.2% of connections + using the curve25519-sha256@libssh.org KEX exchange method to fail + when connecting with something that implements the spec properly. + + Disable this KEX method when speaking to one of the affected + versions. + + reported by Aris Adamantiadis; ok markus@ + - djm@cvs.openbsd.org 2014/04/19 05:54:59 + [compat.c] + missing wildcard; pointed out by naddy@ + - tedu@cvs.openbsd.org 2014/04/19 14:53:48 + [ssh-keysign.c sshd.c] + Delete futile calls to RAND_seed. ok djm + NB. Id sync only. This only applies to OpenBSD's libcrypto slashathon + - tedu@cvs.openbsd.org 2014/04/19 18:15:16 + [sshd.8] + remove some really old rsh references + - tedu@cvs.openbsd.org 2014/04/19 18:42:19 + [ssh.1] + delete .xr to hosts.equiv. there's still an unfortunate amount of + documentation referring to rhosts equivalency in here. + - djm@cvs.openbsd.org 2014/04/20 02:30:25 + [misc.c misc.h umac.c] + use get/put_u32 to load values rather than *((UINT32 *)p) that breaks on + strict-alignment architectures; reported by and ok stsp@ + - djm@cvs.openbsd.org 2014/04/20 02:49:32 + [compat.c] + add a canonical 6.6 + curve25519 bignum fix fake version that I can + recommend people use ahead of the openssh-6.7 release + +20140401 + - (djm) On platforms that support it, use prctl() to prevent sftp-server + from accessing /proc/self/{mem,maps}; patch from jann AT thejh.net + - (djm) Use full release (e.g. 6.5p1) in debug output rather than just + version. From des@des.no + +20140317 + - (djm) [sandbox-seccomp-filter.c] Soft-fail stat() syscalls. Add XXX to + remind myself to add sandbox violation logging via the log socket. + +20140314 + - (tim) [opensshd.init.in] Add support for ed25519 + 20140313 - (djm) Release OpenSSH 6.6 @@ -2884,4 +3815,3 @@ [contrib/suse/openssh.spec] Update for release 6.0 - (djm) [README] Update URL to release notes. - (djm) Release openssh-6.0 - Modified: vendor-crypto/openssh/dist/INSTALL ============================================================================== --- vendor-crypto/openssh/dist/INSTALL Mon Jan 5 16:09:51 2015 (r276706) +++ vendor-crypto/openssh/dist/INSTALL Mon Jan 5 16:09:55 2015 (r276707) @@ -1,22 +1,26 @@ 1. Prerequisites ---------------- -You will need working installations of Zlib and OpenSSL. +You will need working installations of Zlib and libcrypto (LibreSSL / +OpenSSL) Zlib 1.1.4 or 1.2.1.2 or greater (ealier 1.2.x versions have problems): http://www.gzip.org/zlib/ -OpenSSL 0.9.6 or greater: -http://www.openssl.org/ - -(OpenSSL 0.9.5a is partially supported, but some ciphers (SSH protocol 1 -Blowfish) do not work correctly.) +libcrypto (LibreSSL or OpenSSL >= 0.9.8f) +LibreSSL http://www.libressl.org/ ; or +OpenSSL http://www.openssl.org/ + +LibreSSL/OpenSSL should be compiled as a position-independent library +(i.e. with -fPIC) otherwise OpenSSH will not be able to link with it. +If you must use a non-position-independent libcrypto, then you may need +to configure OpenSSH --without-pie. The remaining items are optional. NB. If you operating system supports /dev/random, you should configure -OpenSSL to use it. OpenSSH relies on OpenSSL's direct support of -/dev/random, or failing that, either prngd or egd +libcrypto (LibreSSL/OpenSSL) to use it. OpenSSH relies on libcrypto's +direct support of /dev/random, or failing that, either prngd or egd PRNGD: @@ -27,10 +31,10 @@ http://prngd.sourceforge.net/ EGD: -The Entropy Gathering Daemon (EGD) is supported if you have a system which -lacks /dev/random and don't want to use OpenSSH's internal entropy collection. +If the kernel lacks /dev/random the Entropy Gathering Daemon (EGD) is +supported only if libcrypto supports it. -http://www.lothar.com/tech/crypto/ +http://egd.sourceforge.net/ PAM: @@ -55,15 +59,6 @@ passphrase requester. This is maintained http://www.jmknoble.net/software/x11-ssh-askpass/ -TCP Wrappers: - -If you wish to use the TCP wrappers functionality you will need at least *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Mon Jan 5 16:10:51 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B725CFA; Mon, 5 Jan 2015 16:10:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D12DF27CD; Mon, 5 Jan 2015 16:10:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t05GAoWx095444; Mon, 5 Jan 2015 16:10:50 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t05GAobE095443; Mon, 5 Jan 2015 16:10:50 GMT (envelope-from des@FreeBSD.org) Message-Id: <201501051610.t05GAobE095443@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: des set sender to des@FreeBSD.org using -f From: Dag-Erling Smørgrav Date: Mon, 5 Jan 2015 16:10:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276708 - vendor-crypto/openssh/6.7p1 X-SVN-Group: vendor-crypto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 16:10:51 -0000 Author: des Date: Mon Jan 5 16:10:50 2015 New Revision: 276708 URL: https://svnweb.freebsd.org/changeset/base/276708 Log: Tag OpenSSH 6.7p1. Added: vendor-crypto/openssh/6.7p1/ - copied from r276707, vendor-crypto/openssh/dist/ From owner-svn-src-vendor@FreeBSD.ORG Tue Jan 6 20:04:12 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF98564D; Tue, 6 Jan 2015 20:04:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79C4864710; Tue, 6 Jan 2015 18:59:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t06IxEJ8068380; Tue, 6 Jan 2015 18:59:14 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t06IxEC7068379; Tue, 6 Jan 2015 18:59:14 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201501061859.t06IxEC7068379@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Tue, 6 Jan 2015 18:59:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276760 - vendor/libpcap/1.6.2 X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 20:04:12 -0000 Author: delphij Date: Tue Jan 6 18:59:13 2015 New Revision: 276760 URL: https://svnweb.freebsd.org/changeset/base/276760 Log: Tag libpcap 1.6.2. Added: vendor/libpcap/1.6.2/ - copied from r276759, vendor/libpcap/dist/ From owner-svn-src-vendor@FreeBSD.ORG Tue Jan 6 20:04:32 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF4F3EB2; Tue, 6 Jan 2015 20:04:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0DA3B64972; Tue, 6 Jan 2015 19:03:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t06J3apc072618; Tue, 6 Jan 2015 19:03:36 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t06J3aB3072617; Tue, 6 Jan 2015 19:03:36 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201501061903.t06J3aB3072617@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Tue, 6 Jan 2015 19:03:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276762 - vendor/tcpdump/4.6.2 X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 20:04:33 -0000 Author: delphij Date: Tue Jan 6 19:03:36 2015 New Revision: 276762 URL: https://svnweb.freebsd.org/changeset/base/276762 Log: Tag tcpdump 4.6.2. Added: vendor/tcpdump/4.6.2/ - copied from r276761, vendor/tcpdump/dist/ From owner-svn-src-vendor@FreeBSD.ORG Tue Jan 6 20:04:54 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F640748; Tue, 6 Jan 2015 20:04:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8443364963; Tue, 6 Jan 2015 19:03:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t06J3Exj072520; Tue, 6 Jan 2015 19:03:14 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t06J3C6l072509; Tue, 6 Jan 2015 19:03:12 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201501061903.t06J3C6l072509@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Tue, 6 Jan 2015 19:03:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276761 - in vendor/tcpdump/dist: . lbl missing tests win32/Include win32/Src win32/prj X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 20:04:54 -0000 Author: delphij Date: Tue Jan 6 19:03:11 2015 New Revision: 276761 URL: https://svnweb.freebsd.org/changeset/base/276761 Log: Vendor import of tcpdump 4.6.2. Added: vendor/tcpdump/dist/README.md - copied, changed from r276757, vendor/tcpdump/dist/README vendor/tcpdump/dist/getopt_long.h (contents, props changed) vendor/tcpdump/dist/missing/getopt_long.c (contents, props changed) vendor/tcpdump/dist/openflow.h (contents, props changed) vendor/tcpdump/dist/print-ahcp.c (contents, props changed) vendor/tcpdump/dist/print-aoe.c (contents, props changed) vendor/tcpdump/dist/print-calm-fast.c (contents, props changed) vendor/tcpdump/dist/print-geonet.c (contents, props changed) vendor/tcpdump/dist/print-loopback.c (contents, props changed) vendor/tcpdump/dist/print-m3ua.c (contents, props changed) vendor/tcpdump/dist/print-mptcp.c (contents, props changed) vendor/tcpdump/dist/print-nflog.c (contents, props changed) vendor/tcpdump/dist/print-openflow-1.0.c (contents, props changed) vendor/tcpdump/dist/print-openflow.c (contents, props changed) vendor/tcpdump/dist/print-pktap.c (contents, props changed) vendor/tcpdump/dist/rpl.h (contents, props changed) vendor/tcpdump/dist/tests/3560_CDP.pcap (contents, props changed) vendor/tcpdump/dist/tests/802.1D_spanning_tree.pcap (contents, props changed) vendor/tcpdump/dist/tests/802.1w_rapid_STP.pcap (contents, props changed) vendor/tcpdump/dist/tests/AoE_Linux.pcap (contents, props changed) vendor/tcpdump/dist/tests/DECnet_Phone.pcap (contents, props changed) vendor/tcpdump/dist/tests/DTP.pcap (contents, props changed) vendor/tcpdump/dist/tests/EIGRP_adjacency.pcap (contents, props changed) vendor/tcpdump/dist/tests/EIGRP_goodbye.pcap (contents, props changed) vendor/tcpdump/dist/tests/EIGRP_subnet_down.pcap (contents, props changed) vendor/tcpdump/dist/tests/EIGRP_subnet_up.pcap (contents, props changed) vendor/tcpdump/dist/tests/HDLC.pcap (contents, props changed) vendor/tcpdump/dist/tests/HSRP_coup.pcap (contents, props changed) vendor/tcpdump/dist/tests/HSRP_election.pcap (contents, props changed) vendor/tcpdump/dist/tests/HSRP_failover.pcap (contents, props changed) vendor/tcpdump/dist/tests/IGMP_V1.pcap (contents, props changed) vendor/tcpdump/dist/tests/IGMP_V2.pcap (contents, props changed) vendor/tcpdump/dist/tests/ISAKMP_sa_setup.pcap (contents, props changed) vendor/tcpdump/dist/tests/ISIS_external_lsp.pcap (contents, props changed) vendor/tcpdump/dist/tests/ISIS_level1_adjacency.pcap (contents, props changed) vendor/tcpdump/dist/tests/ISIS_level2_adjacency.pcap (contents, props changed) vendor/tcpdump/dist/tests/ISIS_p2p_adjacency.pcap (contents, props changed) vendor/tcpdump/dist/tests/LACP.pcap (contents, props changed) vendor/tcpdump/dist/tests/LLDP_and_CDP.pcap (contents, props changed) vendor/tcpdump/dist/tests/MSTP_Intra-Region_BPDUs.pcap (contents, props changed) vendor/tcpdump/dist/tests/OSPFv3_NBMA_adjacencies.pcap (contents, props changed) vendor/tcpdump/dist/tests/OSPFv3_broadcast_adjacency.pcap (contents, props changed) vendor/tcpdump/dist/tests/OSPFv3_multipoint_adjacencies.pcap (contents, props changed) vendor/tcpdump/dist/tests/OSPFv3_with_AH.pcap (contents, props changed) vendor/tcpdump/dist/tests/PIM-DM_pruning.pcap (contents, props changed) vendor/tcpdump/dist/tests/PIM-SM_join_prune.pcap (contents, props changed) vendor/tcpdump/dist/tests/PIM_register_register-stop.pcap (contents, props changed) vendor/tcpdump/dist/tests/PIMv2_bootstrap.pcap (contents, props changed) vendor/tcpdump/dist/tests/PIMv2_hellos.pcap (contents, props changed) vendor/tcpdump/dist/tests/RADIUS.pcap (contents, props changed) vendor/tcpdump/dist/tests/UDLD.pcap (contents, props changed) vendor/tcpdump/dist/tests/ahcp-vv.out vendor/tcpdump/dist/tests/ahcp.pcap (contents, props changed) vendor/tcpdump/dist/tests/aoe_1-v.out vendor/tcpdump/dist/tests/aoe_1.out vendor/tcpdump/dist/tests/babel_pad1.out vendor/tcpdump/dist/tests/babel_pad1.pcap (contents, props changed) vendor/tcpdump/dist/tests/babel_rtt.out vendor/tcpdump/dist/tests/babel_rtt.pcap (contents, props changed) vendor/tcpdump/dist/tests/bgp_infloop-v.out vendor/tcpdump/dist/tests/cdp-v.out vendor/tcpdump/dist/tests/crypto.sh (contents, props changed) vendor/tcpdump/dist/tests/dcb_ets.out vendor/tcpdump/dist/tests/dcb_ets.pcap (contents, props changed) vendor/tcpdump/dist/tests/dcb_pfc.out vendor/tcpdump/dist/tests/dcb_pfc.pcap (contents, props changed) vendor/tcpdump/dist/tests/dcb_qcn.out vendor/tcpdump/dist/tests/dcb_qcn.pcap (contents, props changed) vendor/tcpdump/dist/tests/dccp_partial_csum_v4_longer.out vendor/tcpdump/dist/tests/dccp_partial_csum_v4_longer.pcap (contents, props changed) vendor/tcpdump/dist/tests/dccp_partial_csum_v4_simple.out vendor/tcpdump/dist/tests/dccp_partial_csum_v4_simple.pcap (contents, props changed) vendor/tcpdump/dist/tests/dccp_partial_csum_v6_longer.out vendor/tcpdump/dist/tests/dccp_partial_csum_v6_longer.pcap (contents, props changed) vendor/tcpdump/dist/tests/dccp_partial_csum_v6_simple.out vendor/tcpdump/dist/tests/dccp_partial_csum_v6_simple.pcap (contents, props changed) vendor/tcpdump/dist/tests/decnet.out vendor/tcpdump/dist/tests/dhcpv6-domain-list.out vendor/tcpdump/dist/tests/dhcpv6-domain-list.pcap (contents, props changed) vendor/tcpdump/dist/tests/dhcpv6-ntp-server.out vendor/tcpdump/dist/tests/dhcpv6-ntp-server.pcap (contents, props changed) vendor/tcpdump/dist/tests/dhcpv6-sip-server-d.out vendor/tcpdump/dist/tests/dhcpv6-sip-server-d.pcap (contents, props changed) vendor/tcpdump/dist/tests/dtp-v.out vendor/tcpdump/dist/tests/dvmrp.out vendor/tcpdump/dist/tests/eigrp1-v.out vendor/tcpdump/dist/tests/eigrp2-v.out vendor/tcpdump/dist/tests/eigrp3-v.out vendor/tcpdump/dist/tests/eigrp4-v.out vendor/tcpdump/dist/tests/epgm_zmtp1.pcap (contents, props changed) vendor/tcpdump/dist/tests/epgm_zmtp1v.out vendor/tcpdump/dist/tests/epgmv.out vendor/tcpdump/dist/tests/evb.out vendor/tcpdump/dist/tests/evb.pcap (contents, props changed) vendor/tcpdump/dist/tests/geonet_and_calm_fast.out vendor/tcpdump/dist/tests/geonet_and_calm_fast.pcap (contents, props changed) vendor/tcpdump/dist/tests/hdlc1.out vendor/tcpdump/dist/tests/hdlc2.out vendor/tcpdump/dist/tests/hdlc3.out vendor/tcpdump/dist/tests/hdlc4.out vendor/tcpdump/dist/tests/hdlc_slarp.pcap (contents, props changed) vendor/tcpdump/dist/tests/hsrp_1-v.out vendor/tcpdump/dist/tests/hsrp_1.out vendor/tcpdump/dist/tests/hsrp_2-v.out vendor/tcpdump/dist/tests/hsrp_3-v.out vendor/tcpdump/dist/tests/icmpv6_opt24-v.out vendor/tcpdump/dist/tests/icmpv6_opt24.pcap (contents, props changed) vendor/tcpdump/dist/tests/ieee802.11_exthdr.out vendor/tcpdump/dist/tests/ieee802.11_exthdr.pcap (contents, props changed) vendor/tcpdump/dist/tests/ieee802.11_rx-stbc.out vendor/tcpdump/dist/tests/ieee802.11_rx-stbc.pcap (contents, props changed) vendor/tcpdump/dist/tests/igmpv1.out vendor/tcpdump/dist/tests/igmpv2.out vendor/tcpdump/dist/tests/ipv6-bad-version.out vendor/tcpdump/dist/tests/ipv6-bad-version.pcap (contents, props changed) vendor/tcpdump/dist/tests/ipv6-routing-header.out vendor/tcpdump/dist/tests/ipv6-routing-header.pcap (contents, props changed) vendor/tcpdump/dist/tests/isakmp5-v.out vendor/tcpdump/dist/tests/isis_1-v.out vendor/tcpdump/dist/tests/isis_1.out vendor/tcpdump/dist/tests/isis_2-v.out vendor/tcpdump/dist/tests/isis_3-v.out vendor/tcpdump/dist/tests/isis_4-v.out vendor/tcpdump/dist/tests/isis_infloop-v.out vendor/tcpdump/dist/tests/isup.out vendor/tcpdump/dist/tests/isup.pcap (contents, props changed) vendor/tcpdump/dist/tests/isupvv.out vendor/tcpdump/dist/tests/lacp-ev.out vendor/tcpdump/dist/tests/ldp_infloop.out vendor/tcpdump/dist/tests/lldp_cdp-ev.out vendor/tcpdump/dist/tests/lmp-v.out vendor/tcpdump/dist/tests/lmp-v.sh (contents, props changed) vendor/tcpdump/dist/tests/loopback.out vendor/tcpdump/dist/tests/loopback.pcap (contents, props changed) vendor/tcpdump/dist/tests/mptcp-fclose.out vendor/tcpdump/dist/tests/mptcp-fclose.pcap (contents, props changed) vendor/tcpdump/dist/tests/mptcp.out vendor/tcpdump/dist/tests/mptcp.pcap (contents, props changed) vendor/tcpdump/dist/tests/mrinfo_query.pcap (contents, props changed) vendor/tcpdump/dist/tests/mstp-v.out vendor/tcpdump/dist/tests/mtrace.out vendor/tcpdump/dist/tests/mtrace.pcap (contents, props changed) vendor/tcpdump/dist/tests/nflog-e.out vendor/tcpdump/dist/tests/nflog-e.sh (contents, props changed) vendor/tcpdump/dist/tests/nflog.pcap (contents, props changed) vendor/tcpdump/dist/tests/of10_7050q-v.out vendor/tcpdump/dist/tests/of10_7050q.pcap (contents, props changed) vendor/tcpdump/dist/tests/of10_p3295-vv.out vendor/tcpdump/dist/tests/of10_p3295.pcap (contents, props changed) vendor/tcpdump/dist/tests/of10_pf5240-vv.out vendor/tcpdump/dist/tests/of10_pf5240.pcap (contents, props changed) vendor/tcpdump/dist/tests/of10_s4810-vvvv.out vendor/tcpdump/dist/tests/of10_s4810.pcap (contents, props changed) vendor/tcpdump/dist/tests/ospf3_ah-vv.out vendor/tcpdump/dist/tests/ospf3_auth-vv.out vendor/tcpdump/dist/tests/ospf3_auth.pcap (contents, props changed) vendor/tcpdump/dist/tests/ospf3_bc-vv.out vendor/tcpdump/dist/tests/ospf3_mp-vv.out vendor/tcpdump/dist/tests/ospf3_nbma-vv.out vendor/tcpdump/dist/tests/pgm_zmtp1.pcap (contents, props changed) vendor/tcpdump/dist/tests/pgm_zmtp1v.out vendor/tcpdump/dist/tests/pgmv.out vendor/tcpdump/dist/tests/pimv2_bootstrap-v.out vendor/tcpdump/dist/tests/pimv2_dm-v.out vendor/tcpdump/dist/tests/pimv2_hellos-v.out vendor/tcpdump/dist/tests/pimv2_register-v.out vendor/tcpdump/dist/tests/pimv2_sm-v.out vendor/tcpdump/dist/tests/pppoes.out vendor/tcpdump/dist/tests/pppoes.pcap (contents, props changed) vendor/tcpdump/dist/tests/pppoes_id.out vendor/tcpdump/dist/tests/radius-v.out vendor/tcpdump/dist/tests/rpl-14-dao.pcap (contents, props changed) vendor/tcpdump/dist/tests/rpl-14-daovvv.out vendor/tcpdump/dist/tests/rpl-19-pickdag.out vendor/tcpdump/dist/tests/rpl-19-pickdag.pcap (contents, props changed) vendor/tcpdump/dist/tests/rpl-19-pickdagvvv.out vendor/tcpdump/dist/tests/rpl-26-senddaoack.pcap (contents, props changed) vendor/tcpdump/dist/tests/rpl-26-senddaovv.out vendor/tcpdump/dist/tests/rpvst-v.out vendor/tcpdump/dist/tests/rpvstp-trunk-native-vid5.pcap (contents, props changed) vendor/tcpdump/dist/tests/rstp-v.out vendor/tcpdump/dist/tests/rsvp_infloop-v.out vendor/tcpdump/dist/tests/sflow_multiple_counter_30_pdus-nv.out vendor/tcpdump/dist/tests/stp-v.out vendor/tcpdump/dist/tests/syslog-v.out vendor/tcpdump/dist/tests/syslog_udp.pcap (contents, props changed) vendor/tcpdump/dist/tests/tfo-5c1fa7f9ae91.pcap (contents, props changed) vendor/tcpdump/dist/tests/tfo.out vendor/tcpdump/dist/tests/udld-v.out vendor/tcpdump/dist/tests/vrrp-v.out vendor/tcpdump/dist/tests/vrrp.out vendor/tcpdump/dist/tests/vrrp.pcap (contents, props changed) Deleted: vendor/tcpdump/dist/README vendor/tcpdump/dist/acconfig.h vendor/tcpdump/dist/aodv.h vendor/tcpdump/dist/arcnet.h vendor/tcpdump/dist/bgp.h vendor/tcpdump/dist/dccp.h vendor/tcpdump/dist/decnet.h vendor/tcpdump/dist/decode_prefix.h vendor/tcpdump/dist/enc.h vendor/tcpdump/dist/esp.h vendor/tcpdump/dist/fddi.h vendor/tcpdump/dist/forces.h vendor/tcpdump/dist/icmp6.h vendor/tcpdump/dist/ieee802_11.h vendor/tcpdump/dist/ieee802_11_radio.h vendor/tcpdump/dist/igrp.h vendor/tcpdump/dist/ipfc.h vendor/tcpdump/dist/ipnet.h vendor/tcpdump/dist/ipsec_doi.h vendor/tcpdump/dist/ipx.h vendor/tcpdump/dist/isakmp.h vendor/tcpdump/dist/l2tp.h vendor/tcpdump/dist/lane.h vendor/tcpdump/dist/missing/sockstorage.h vendor/tcpdump/dist/netbios.h vendor/tcpdump/dist/ntp.h vendor/tcpdump/dist/oakley.h vendor/tcpdump/dist/ospf6.h vendor/tcpdump/dist/pmap_prot.h vendor/tcpdump/dist/ppi.h vendor/tcpdump/dist/print-netbios.c vendor/tcpdump/dist/route6d.h vendor/tcpdump/dist/rx.h vendor/tcpdump/dist/sctpConstants.h vendor/tcpdump/dist/sctpHeader.h vendor/tcpdump/dist/slip.h vendor/tcpdump/dist/sll.h vendor/tcpdump/dist/telnet.h vendor/tcpdump/dist/tests/dio.out vendor/tcpdump/dist/tests/dio.pcap vendor/tcpdump/dist/tests/empty.uu vendor/tcpdump/dist/tests/lmp.new vendor/tcpdump/dist/tests/lmp.sh vendor/tcpdump/dist/tests/print-flags.sh vendor/tcpdump/dist/tftp.h vendor/tcpdump/dist/timed.h vendor/tcpdump/dist/token.h vendor/tcpdump/dist/win32/Include/bittypes.h vendor/tcpdump/dist/win32/Include/errno.h vendor/tcpdump/dist/win32/Include/getopt.h vendor/tcpdump/dist/win32/Src/getopt.c Modified: vendor/tcpdump/dist/CHANGES vendor/tcpdump/dist/CREDITS vendor/tcpdump/dist/INSTALL.txt vendor/tcpdump/dist/Makefile-devel-adds vendor/tcpdump/dist/Makefile.in vendor/tcpdump/dist/VERSION vendor/tcpdump/dist/aclocal.m4 vendor/tcpdump/dist/addrtoname.c vendor/tcpdump/dist/addrtoname.h vendor/tcpdump/dist/af.c vendor/tcpdump/dist/af.h vendor/tcpdump/dist/ah.h vendor/tcpdump/dist/appletalk.h vendor/tcpdump/dist/atm.h vendor/tcpdump/dist/atmuni31.h vendor/tcpdump/dist/bootp.h vendor/tcpdump/dist/bpf_dump.c vendor/tcpdump/dist/chdlc.h vendor/tcpdump/dist/checksum.c vendor/tcpdump/dist/config.guess vendor/tcpdump/dist/config.h.in vendor/tcpdump/dist/config.sub vendor/tcpdump/dist/configure vendor/tcpdump/dist/configure.in vendor/tcpdump/dist/cpack.c vendor/tcpdump/dist/cpack.h vendor/tcpdump/dist/ether.h vendor/tcpdump/dist/ethertype.h vendor/tcpdump/dist/extract.h vendor/tcpdump/dist/gmpls.c vendor/tcpdump/dist/gmpls.h vendor/tcpdump/dist/gmt2local.c vendor/tcpdump/dist/gmt2local.h vendor/tcpdump/dist/in_cksum.c vendor/tcpdump/dist/install-sh vendor/tcpdump/dist/interface.h vendor/tcpdump/dist/ip.h vendor/tcpdump/dist/ip6.h vendor/tcpdump/dist/ipproto.c vendor/tcpdump/dist/ipproto.h vendor/tcpdump/dist/l2vpn.c vendor/tcpdump/dist/l2vpn.h vendor/tcpdump/dist/lbl/os-osf4.h vendor/tcpdump/dist/lbl/os-solaris2.h vendor/tcpdump/dist/lbl/os-sunos4.h vendor/tcpdump/dist/lbl/os-ultrix4.h vendor/tcpdump/dist/llc.h vendor/tcpdump/dist/machdep.c vendor/tcpdump/dist/machdep.h vendor/tcpdump/dist/makemib vendor/tcpdump/dist/missing/addrinfo.h vendor/tcpdump/dist/missing/datalinks.c vendor/tcpdump/dist/missing/dlnames.c vendor/tcpdump/dist/missing/getnameinfo.c vendor/tcpdump/dist/missing/inet_aton.c vendor/tcpdump/dist/missing/inet_ntop.c vendor/tcpdump/dist/missing/inet_pton.c vendor/tcpdump/dist/missing/snprintf.c vendor/tcpdump/dist/missing/strdup.c vendor/tcpdump/dist/missing/strlcat.c vendor/tcpdump/dist/missing/strlcpy.c vendor/tcpdump/dist/missing/strsep.c vendor/tcpdump/dist/mkdep vendor/tcpdump/dist/mpls.h vendor/tcpdump/dist/nameser.h vendor/tcpdump/dist/netdissect.h vendor/tcpdump/dist/nfs.h vendor/tcpdump/dist/nfsfh.h vendor/tcpdump/dist/nlpid.c vendor/tcpdump/dist/nlpid.h vendor/tcpdump/dist/ospf.h vendor/tcpdump/dist/oui.c vendor/tcpdump/dist/oui.h vendor/tcpdump/dist/parsenfsfh.c vendor/tcpdump/dist/pcap-missing.h vendor/tcpdump/dist/pcap_dump_ftell.c vendor/tcpdump/dist/ppp.h vendor/tcpdump/dist/print-802_11.c vendor/tcpdump/dist/print-802_15_4.c vendor/tcpdump/dist/print-ah.c vendor/tcpdump/dist/print-aodv.c vendor/tcpdump/dist/print-ap1394.c vendor/tcpdump/dist/print-arcnet.c vendor/tcpdump/dist/print-arp.c vendor/tcpdump/dist/print-ascii.c vendor/tcpdump/dist/print-atalk.c vendor/tcpdump/dist/print-atm.c vendor/tcpdump/dist/print-babel.c vendor/tcpdump/dist/print-beep.c vendor/tcpdump/dist/print-bfd.c vendor/tcpdump/dist/print-bgp.c vendor/tcpdump/dist/print-bootp.c vendor/tcpdump/dist/print-bt.c vendor/tcpdump/dist/print-carp.c vendor/tcpdump/dist/print-cdp.c vendor/tcpdump/dist/print-cfm.c vendor/tcpdump/dist/print-chdlc.c vendor/tcpdump/dist/print-cip.c vendor/tcpdump/dist/print-cnfp.c vendor/tcpdump/dist/print-dccp.c vendor/tcpdump/dist/print-decnet.c vendor/tcpdump/dist/print-dhcp6.c vendor/tcpdump/dist/print-domain.c vendor/tcpdump/dist/print-dtp.c vendor/tcpdump/dist/print-dvmrp.c vendor/tcpdump/dist/print-eap.c vendor/tcpdump/dist/print-egp.c vendor/tcpdump/dist/print-eigrp.c vendor/tcpdump/dist/print-enc.c vendor/tcpdump/dist/print-esp.c vendor/tcpdump/dist/print-ether.c vendor/tcpdump/dist/print-fddi.c vendor/tcpdump/dist/print-forces.c vendor/tcpdump/dist/print-fr.c vendor/tcpdump/dist/print-frag6.c vendor/tcpdump/dist/print-gre.c vendor/tcpdump/dist/print-hsrp.c vendor/tcpdump/dist/print-icmp.c vendor/tcpdump/dist/print-icmp6.c vendor/tcpdump/dist/print-igmp.c vendor/tcpdump/dist/print-igrp.c vendor/tcpdump/dist/print-ip.c vendor/tcpdump/dist/print-ip6.c vendor/tcpdump/dist/print-ip6opts.c vendor/tcpdump/dist/print-ipcomp.c vendor/tcpdump/dist/print-ipfc.c vendor/tcpdump/dist/print-ipnet.c vendor/tcpdump/dist/print-ipx.c vendor/tcpdump/dist/print-isakmp.c vendor/tcpdump/dist/print-isoclns.c vendor/tcpdump/dist/print-juniper.c vendor/tcpdump/dist/print-krb.c vendor/tcpdump/dist/print-l2tp.c vendor/tcpdump/dist/print-lane.c vendor/tcpdump/dist/print-ldp.c vendor/tcpdump/dist/print-llc.c vendor/tcpdump/dist/print-lldp.c vendor/tcpdump/dist/print-lmp.c vendor/tcpdump/dist/print-lspping.c vendor/tcpdump/dist/print-lwapp.c vendor/tcpdump/dist/print-lwres.c vendor/tcpdump/dist/print-mobile.c vendor/tcpdump/dist/print-mobility.c vendor/tcpdump/dist/print-mpcp.c vendor/tcpdump/dist/print-mpls.c vendor/tcpdump/dist/print-msdp.c vendor/tcpdump/dist/print-msnlb.c vendor/tcpdump/dist/print-nfs.c vendor/tcpdump/dist/print-ntp.c vendor/tcpdump/dist/print-null.c vendor/tcpdump/dist/print-olsr.c vendor/tcpdump/dist/print-ospf.c vendor/tcpdump/dist/print-ospf6.c vendor/tcpdump/dist/print-otv.c vendor/tcpdump/dist/print-pflog.c vendor/tcpdump/dist/print-pgm.c vendor/tcpdump/dist/print-pim.c vendor/tcpdump/dist/print-ppi.c vendor/tcpdump/dist/print-ppp.c vendor/tcpdump/dist/print-pppoe.c vendor/tcpdump/dist/print-pptp.c vendor/tcpdump/dist/print-radius.c vendor/tcpdump/dist/print-raw.c vendor/tcpdump/dist/print-rip.c vendor/tcpdump/dist/print-ripng.c vendor/tcpdump/dist/print-rpki-rtr.c vendor/tcpdump/dist/print-rrcp.c vendor/tcpdump/dist/print-rsvp.c vendor/tcpdump/dist/print-rt6.c vendor/tcpdump/dist/print-rx.c vendor/tcpdump/dist/print-sctp.c vendor/tcpdump/dist/print-sflow.c vendor/tcpdump/dist/print-sip.c vendor/tcpdump/dist/print-sl.c vendor/tcpdump/dist/print-sll.c vendor/tcpdump/dist/print-slow.c vendor/tcpdump/dist/print-smb.c vendor/tcpdump/dist/print-snmp.c vendor/tcpdump/dist/print-stp.c vendor/tcpdump/dist/print-sunatm.c vendor/tcpdump/dist/print-sunrpc.c vendor/tcpdump/dist/print-symantec.c vendor/tcpdump/dist/print-syslog.c vendor/tcpdump/dist/print-tcp.c vendor/tcpdump/dist/print-telnet.c vendor/tcpdump/dist/print-tftp.c vendor/tcpdump/dist/print-timed.c vendor/tcpdump/dist/print-tipc.c vendor/tcpdump/dist/print-token.c vendor/tcpdump/dist/print-udld.c vendor/tcpdump/dist/print-udp.c vendor/tcpdump/dist/print-usb.c vendor/tcpdump/dist/print-vjc.c vendor/tcpdump/dist/print-vqp.c vendor/tcpdump/dist/print-vrrp.c vendor/tcpdump/dist/print-vtp.c vendor/tcpdump/dist/print-vxlan.c vendor/tcpdump/dist/print-wb.c vendor/tcpdump/dist/print-zephyr.c vendor/tcpdump/dist/print-zeromq.c vendor/tcpdump/dist/rpc_auth.h vendor/tcpdump/dist/rpc_msg.h vendor/tcpdump/dist/setsignal.c vendor/tcpdump/dist/setsignal.h vendor/tcpdump/dist/signature.c vendor/tcpdump/dist/signature.h vendor/tcpdump/dist/slcompress.h vendor/tcpdump/dist/smb.h vendor/tcpdump/dist/smbutil.c vendor/tcpdump/dist/strcasecmp.c vendor/tcpdump/dist/tcp.h vendor/tcpdump/dist/tcpdump-stdinc.h vendor/tcpdump/dist/tcpdump.1.in vendor/tcpdump/dist/tcpdump.c vendor/tcpdump/dist/tests/TESTLIST vendor/tcpdump/dist/tests/TESTonce vendor/tcpdump/dist/tests/TESTrun.sh vendor/tcpdump/dist/tests/babel1.out vendor/tcpdump/dist/tests/babel1v.out vendor/tcpdump/dist/tests/babel_auth.out vendor/tcpdump/dist/tests/lmp.out vendor/tcpdump/dist/tests/print-A.out vendor/tcpdump/dist/tests/print-AA.out vendor/tcpdump/dist/tests/print-capX.out vendor/tcpdump/dist/tests/print-capXX.out vendor/tcpdump/dist/tests/print-x.out vendor/tcpdump/dist/tests/print-xx.out vendor/tcpdump/dist/udp.h vendor/tcpdump/dist/util.c vendor/tcpdump/dist/vfprintf.c vendor/tcpdump/dist/win32/prj/GNUmakefile vendor/tcpdump/dist/win32/prj/WinDump.dsp Modified: vendor/tcpdump/dist/CHANGES ============================================================================== --- vendor/tcpdump/dist/CHANGES Tue Jan 6 18:59:13 2015 (r276760) +++ vendor/tcpdump/dist/CHANGES Tue Jan 6 19:03:11 2015 (r276761) @@ -1,4 +1,61 @@ -Thursday February 19, 2013 guy@alum.mit.edu. +Tuesday Sep. 2, 2014 mcr@sandelman.ca + fix out-of-source-tree builds: find libpcap that is out of source + better configure check for libsmi + +Saturday Jul. 19, 2014 mcr@sandelman.ca + Summary for 4.6.1 tcpdump release + added FreeBSD capsicum + add a short option '#', same as long option '--number' + +Wednesday Jul. 2, 2014 mcr@sandelman.ca + Summary for 4.6.0 tcpdump release + all of tcpdump is now using the new "NDO" code base (Thanks Denis!) + nflog, mobile, forces, pptp, AODV, AHCP, IPv6, OSPFv4, RPL, DHCPv6 enhancements/fixes + M3UA decode added. + many new test cases: 82 in 4.5.1 to 133 in 4.6.0 + many improvements to travis continuous integration system: OSX, and Coverity options + cleaned up some unnecessary header files + Added bittok2str(). + a number of unaligned access faults fixed + -A flag does not consider CR to be printable anymore + fx.lebail took over coverity baby sitting + default snapshot size increased to 256K for accomodate USB captures + WARNING: this release contains a lot of very worthwhile code churn. + +Wednesday Jan. 15, 2014 guy@alum.mit.edu + Summary for 4.5.2 tcpdump release + Man page fix + Fix crashes on SPARC + +Monday Nov. 11, 2013 mcr@sandelman.ca + Summary for 4.5.1 tcpdump release + CREDITS file fixes + +Thursday Nov. 7, 2013 mcr@sandelman.ca and guy@alum.mit.edu. + Summary for 4.5.0 tcpdump release + some NFSv4 fixes for printing + fix printing of unknown TCP options, and tcp fast-open + fixes for syslog parser + some gcc-version-specific flag tuning + adopt MacOS deprecation workarounds for openssl + improvements to babel printing + add OpenFlow 1.0 (no SSL) and test cases + GeoNet printer. + added STBC Rx support + improvements to DHCPv6 decoder + clarify which autoconf is needed + Point users to the the-tcpdump-group repository on GitHub rather + than the mcr repository + Add MSDP printer. + Fixed IPv6 check on Solaris and other OSes requiring extra + networking libraries. + Add support for VXLAN (draft-mahalingam-dutt-dcops-vxlan-03), + and add "vxlan" as an option for -T. + Add support for OTV (draft-hasmit-otv-04). + fixes for DLT_IEEE802_11_RADIO datalink types + added MPTCP decoder + +Saturday April 6, 2013 guy@alum.mit.edu. Summary for 4.4.0 tcpdump release RPKI-RTR (RFC6810) is now official (TCP Port 323) Fix detection of OpenSSL libcrypto. @@ -16,6 +73,8 @@ Thursday February 19, 2013 guy@alum.mit On Linux systems with cap-ng.h, drop root privileges using Linux Capabilities. Add support for reading multiple files. + Add MS NLB heartbeat printer. + Separate multiple nexthops in BGP. Wednesday November 28, 2012 guy@alum.mit.edu. Summary for 4.3.1 tcpdump release @@ -32,7 +91,7 @@ Wednesday November 28, 2012 guy@alum.mi Use the right maximum path length Don't treat 192_1_2, when passed to -i, as an interface number -Friday April 3, 2011. mcr@sandelman.ca. +Friday April 3, 2012. mcr@sandelman.ca. Summary for 4.3.0 tcpdump release fixes for forces: SPARSE data (per RFC 5810) some more test cases added @@ -113,7 +172,7 @@ Thu. April 1, 2010. guy@alum.mit.edu. Summary for 4.1.1 tcpdump release Fix build on systems with PF, such as FreeBSD and OpenBSD. Don't blow up if a zero-length link-layer address is passed to - linkaddr_string(). + linkaddr_string(). Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. Summary for 4.1.0 tcpdump release @@ -142,7 +201,7 @@ Thu. March 11, 2010. ken@netfunctional. Add printer for ForCES Handle frames with an FCS Handle 802.11n Control Wrapper, Block Acq Req and Block Ack frames - Fix TCP sequence number printing + Fix TCP sequence number printing Report 802.2 packets as 802.2 instead of 802.3 Don't include -L/usr/lib in LDFLAGS On x86_64 Linux, look in lib64 directory too @@ -178,13 +237,13 @@ Mon. September 10, 2007. ken@xeleran Converted print-isakmp.c to NETDISSECT Moved AF specific stuff into af.h Test subsystem now table driven, and saves outputs and diffs to one place - Require for pf definitions - allows reading of pflog formatted + Require for pf definitions - allows reading of pflog formatted libpcap files on an OS other than where the file was generated Wed. July 23, 2007. mcr@xelerance.com. Summary for 3.9.7 libpcap release - NFS: Print unsigned values as such. + NFS: Print unsigned values as such. RX: parse safely. BGP: fixes for IPv6-less builds. 801.1ag: use standard codepoint. @@ -194,7 +253,7 @@ Wed. July 23, 2007. mcr@xelerance.com. smb: squelch an uninitialized complaint from coverity. NFS: from NetBSD; don't interpret the reply as a possible NFS reply if it got MSG_DENIED. - BGP: don't print TLV values that didn't fit, from www.digit-labs.org. + BGP: don't print TLV values that didn't fit, from www.digit-labs.org. revised INSTALL.txt about libpcap dependancy. Wed. April 25, 2007. ken@xelerance.com. Summary for 3.9.6 tcpdump release @@ -212,11 +271,11 @@ Wed. April 25, 2007. ken@xelerance.com. Add support for 802.3ah loopback ctrl msg Add support for Multiple-STP as per 802.1s Add support for rapid-SPT as per 802.1w - Add support for CFM Link-trace msg, Link-trace-Reply msg, + Add support for CFM Link-trace msg, Link-trace-Reply msg, Sender-ID tlv, private tlv, port, interface status Add support for unidirectional link detection as per http://www.ietf.org/internet-drafts/draft-foschiano-udld-02.txt - Add support for the olsr protocol as per RFC 3626 plus the LQ + Add support for the olsr protocol as per RFC 3626 plus the LQ extensions from olsr.org Add support for variable-length checksum in DCCP, as per section 9 of RFC 4340. @@ -228,7 +287,7 @@ Wed. April 25, 2007. ken@xelerance.com. Tue. September 19, 2006. ken@xelerance.com. Summary for 3.9.5 tcpdump release - + Fix compiling on AIX (, at end of ENUM) Updated list of DNS RR typecodes Use local Ethernet defs on WIN32 @@ -243,7 +302,7 @@ Tue. September 19, 2006. ken@xelerance.c Add support for BGP signaled VPLS Cleanup the bootp printer Add support for PPP over Frame-Relay - Add some bounds checking to the IP options code, and clean up + Add some bounds checking to the IP options code, and clean up the options output a bit. Add additional modp groups to ISAKMP printer Add support for Address-Withdraw and Label-Withdraw Msgs Modified: vendor/tcpdump/dist/CREDITS ============================================================================== --- vendor/tcpdump/dist/CREDITS Tue Jan 6 18:59:13 2015 (r276760) +++ vendor/tcpdump/dist/CREDITS Tue Jan 6 19:03:11 2015 (r276761) @@ -2,18 +2,20 @@ This file lists people who have contribu The current maintainers: Bill Fenner - David Young + Denis Ovsienko Fulvio Risso Guy Harris Hannes Gredler Michael Richardson + Francois-Xavier Le Bail Additional people who have contributed patches: - A Costa Aaron Campbell - Alfredo Andres + A Costa Albert Chin + Alexandra Kossovsky + Alfredo Andres Ananth Suryanarayana Andrea Bittau Andrew Brown @@ -26,17 +28,19 @@ Additional people who have contributed p Arkadiusz Miskiewicz Armando L. Caro Jr. Arnaldo Carvalho de Melo - Ben Byer Atsushi Onoe + Baptiste Jonglez + Ben Byer Ben Smithurst Bert Vermeulen Bjoern A. Zeeb + Bram Brent L. Bates Brian Ginsbach Bruce M. Simpson Carles Kishimoto Bisbe - Charlie Lenahan Charles M. Hannum + Charlie Lenahan Chris Cogdon Chris G. Demetriou Chris Jepeway @@ -52,7 +56,7 @@ Additional people who have contributed p David Horn David Smith David Young - Denis Ovsienko + Dmitrij Tejblum Dmitry Eremin-Solenikov Don Ebright Eddie Kohler @@ -60,22 +64,24 @@ Additional people who have contributed p Fang Wang Florent Drouin Florian Forster - Francis Dupont + fra + Francesco Fondelli Francisco Matias Cuenca-Acuna - Francois-Xavier Le Bail + Francis Dupont Frank Volf Fulvio Risso George Bakos Gerald Combs Gerrit Renker Gert Doering + Gilbert Ramirez Jr. + Gisle Vanem Greg Minshall + Grégoire Henry + Gregory Detal Greg Stark - Grégoire Henry - Gilbert Ramirez Jr. - Gisle Vanem - Hannes Viertel Hank Leininger + Hannes Viertel Harry Raaymakers Heinz-Ado Arnolds Hendrik Scholz @@ -90,34 +96,37 @@ Additional people who have contributed p Jeffrey Hutzelman Jesper Peterson Jim Hutchins - Jonathan Heusser - Tatuya Jinmei João Medeiros - Joerg Mayer - Jørgen Thomsen + Joerg Mayer + Jonathan Heusser + Jorge Boncompte [DTI2] + Jørgen Thomsen Julian Cowley - Juliusz Chroboczek + Juliusz Chroboczek Kaarthik Sivakumar Kaladhar Musunuru Karl Norby Kazushi Sugyo Kelly Carmichael Ken Hornstein - Kevin Steves Kenichi Maehashi + Kevin Steves Klaus Klein Kris Kennaway Krzysztof Halasa Larry Lile Lennert Buytenhek + Loganaden Velvindron + Longinus00 Loris Degioanni Love Hörnquist-Ã…strand Lucas C. Villa Real Luis MartinGarcia Maciej W. Rozycki Manu Pathak - Marc Binderberger + Marc Abramowitz Marc A. Lehmann + Marc Binderberger Mark Ellzey Thomas Marko Kiiskila Markus Schöpflin @@ -136,14 +145,16 @@ Additional people who have contributed p Minto Jeyananth Monroe Williams Motonori Shindo - Nathan J. Williams Nathaniel Couper-Noles + Nathan J. Williams Neil T. Spring - Niels Provos Nickolai Zeldovich Nicolas Ferrero + Niels Provos Noritoshi Demizu Olaf Kirch + Ola Martin Lykkja + Oleksij Rempel Onno van der Linden Paolo Abeni Pascal Hennequin @@ -153,11 +164,12 @@ Additional people who have contributed p Paul S. Traina Pavlin Radoslavov Pawel Worach - Pekka Savola + Pekka Savola + Petar Alilovic Peter Fales Peter Jeremy - Peter Volkov + Phil Wood Rafal Maszkowski Randy Sofia @@ -169,9 +181,10 @@ Additional people who have contributed p Robert Edmonds Roderick Schertler Romain Francoise + Ruben Kerkhof Sagun Shakya Sami Farin - Scott Mcmillan + Scott Mcmillan Scott Rose Sebastian Krahmer Sebastien Raveau @@ -181,20 +194,27 @@ Additional people who have contributed p Shinsuke Suzuki Simon Ruderich Steinar Haug + Stephane Bortzmeyer Swaminathan Chandrasekaran + Swaathi Vetrivel Takashi Yamamoto + Tatuya Jinmei Terry Kennedy + Thomas Jacob Timo Koskiahde Tony Li Toshihiro Kanda + Udayakumar Uns Lider Victor Oppleman + Vyacheslav Trushkin Weesan Lee Wesley Griffin Wesley Shields Wilbert de Graaf Will Drewry William J. Hulley + Wim Torfs Yen Yen Lim Yoshifumi Nishida @@ -204,4 +224,4 @@ The original LBL crew: Van Jacobson Past maintainers: - Jun-ichiro itojun Hagino + Jun-ichiro itojun Hagino Also see: http://www.wide.ad.jp/itojun-award/ Modified: vendor/tcpdump/dist/INSTALL.txt ============================================================================== --- vendor/tcpdump/dist/INSTALL.txt Tue Jan 6 18:59:13 2015 (r276760) +++ vendor/tcpdump/dist/INSTALL.txt Tue Jan 6 19:03:11 2015 (r276761) @@ -1,5 +1,3 @@ -@(#) $Header: /tcpdump/master/tcpdump/INSTALL.txt,v 1.2 2008-02-06 10:47:53 guy Exp $ (LBL) - If you have not built libpcap, and your system does not have libpcap installed, install libpcap first. Your system might provide a version of libpcap that can be installed; if so, to compile tcpdump you might @@ -9,9 +7,7 @@ libpcap; see the README file in this dir You will need an ANSI C compiler to build tcpdump. The configure script will abort if your compiler is not ANSI compliant. If this happens, use -the GNU C compiler, available via anonymous ftp: - - ftp://ftp.gnu.org/pub/gnu/gcc/ +the generally available GNU C compiler (GCC). After libpcap has been built (either install it with "make install" or make sure both the libpcap and tcpdump source trees are in the same @@ -42,25 +38,20 @@ FILES ----- CHANGES - description of differences between releases CREDITS - people that have helped tcpdump along -FILES - list of files exported as part of the distribution INSTALL.txt - this file LICENSE - the license under which tcpdump is distributed Makefile.in - compilation rules (input to the configure script) README - description of distribution Readme.Win32 - notes on building tcpdump on Win32 systems (with WinPcap) VERSION - version of this release -acconfig.h - autoconf input aclocal.m4 - autoconf macros addrtoname.c - address to hostname routines addrtoname.h - address to hostname definitions ah.h - IPSEC Authentication Header definitions -aodv.h - AODV definitions appletalk.h - AppleTalk definitions -arcnet.h - ARCNET definitions atime.awk - TCP ack awk script atm.h - ATM traffic type definitions atmuni31.h - ATM Q.2931 definitions -bgp.h - BGP declarations bootp.h - BOOTP definitions bpf_dump.c - BPF program printing routines, in case libpcap doesn't have them @@ -72,37 +63,21 @@ config.h.in - autoconf input config.sub - autoconf support configure - configure script (run this first) configure.in - configure script source -dccp.h - DCCP definitions -decnet.h - DECnet definitions -decode_prefix.h - Declarations of "decode_prefix{4,6}()" -enc.h - OpenBSD IPsec encapsulation BPF layer definitions -esp.h - IPSEC Encapsulating Security Payload definitions ether.h - Ethernet definitions ethertype.h - Ethernet type value definitions extract.h - alignment definitions -fddi.h - Fiber Distributed Data Interface definitions gmpls.c - GMPLS definitions gmpls.h - GMPLS declarations gmt2local.c - time conversion routines gmt2local.h - time conversion prototypes -icmp6.h - ICMPv6 definitiions -ieee802_11.h - IEEE 802.11 definitions -ieee802_11_radio.h - radiotap header definitions -igrp.h - Interior Gateway Routing Protocol definitions install-sh - BSD style install script interface.h - globals, prototypes and definitions ip.h - IP definitions ip6.h - IPv6 definitions -ipfc.h - IP-over-Fibre Channel definitions ipproto.c - IP protocol type value-to-name table ipproto.h - IP protocol type value definitions -ipsec_doi.h - ISAKMP packet definitions - RFC2407 -ipx.h - IPX definitions -isakmp.h - ISAKMP packet definitions - RFC2408 l2vpn.c - L2VPN encapsulation value-to-name table l2vpn.h - L2VPN encapsulation definitions -l2tp.h - Layer Two Tunneling Protocol definitions -lane.h - ATM LANE definitions lbl/os-*.h - OS-dependent defines and prototypes llc.h - LLC definitions machdep.c - machine dependent routines @@ -113,23 +88,18 @@ missing/* - replacements for missing lib mkdep - construct Makefile dependency list mpls.h - MPLS definitions nameser.h - DNS definitions -netbios.h - NETBIOS definitions netdissect.h - definitions and declarations for tcpdump-as-library (under development) nfs.h - Network File System V2 definitions nfsfh.h - Network File System file handle definitions nlpid.c - OSI NLPID value-to-name table nlpid.h - OSI NLPID definitions -ntp.h - Network Time Protocol definitions -oakley.h - ISAKMP packet definitions - RFC2409 ospf.h - Open Shortest Path First definitions -ospf6.h - IPv6 Open Shortest Path First definitions packetdat.awk - TCP chunk summary awk script parsenfsfh.c - Network File System file parser routines pcap_dump_ftell.c - pcap_dump_ftell() implementation, in case libpcap doesn't have it pcap-missing.h - declarations of functions possibly missing from libpcap -pmap_prot.h - definitions for ONC RPC portmapper protocol ppp.h - Point to Point Protocol definitions print-802_11.c - IEEE 802.11 printer routines print-ap1394.c - Apple IP-over-IEEE 1394 printer routines @@ -184,7 +154,6 @@ print-mobile.c - IPv4 mobility printer r print-mobility.c - IPv6 mobility printer routines print-mpls.c - Multi-Protocol Label Switching printer routines print-msdp.c - Multicast Source Discovery Protocol printer routines -print-netbios.c - NetBIOS frame protocol printer routines print-nfs.c - Network File System printer routines print-ntp.c - Network Time Protocol printer routines print-null.c - BSD loopback device printer routines @@ -226,18 +195,12 @@ print-vjc.c - PPP Van Jacobson compressi print-vrrp.c - Virtual Router Redundancy Protocol print-wb.c - White Board printer routines print-zephyr.c - Zephyr printer routines -route6d.h - packet definition for IPv6 Routing Information Protocol rpc_auth.h - definitions for ONC RPC authentication rpc_msg.h - definitions for ONC RPC messages -rx.h - AFS RX definitions -sctpConstants.h - Stream Control Transmission Protocol constant definitions -sctpHeader.h - Stream Control Transmission Protocol packet definitions send-ack.awk - unidirectional tcp send/ack awk script setsignal.c - OS-independent signal routines setsignal.h - OS-independent signal prototypes slcompress.h - SLIP/PPP Van Jacobson compression (RFC1144) definitions -slip.h - SLIP definitions -sll.h - Linux "cooked" capture definitions smb.h - SMB/CIFS definitions smbutil.c - SMB/CIFS utility routines stime.awk - TCP send awk script @@ -245,10 +208,6 @@ strcasecmp.c - missing routine tcp.h - TCP definitions tcpdump.1 - manual entry tcpdump.c - main program -telnet.h - Telnet definitions -tftp.h - TFTP definitions -timed.h - BSD time daemon protocol definitions -token.h - Token Ring definitions udp.h - UDP definitions util.c - utility routines vfprintf.c - emulation routine Modified: vendor/tcpdump/dist/Makefile-devel-adds ============================================================================== --- vendor/tcpdump/dist/Makefile-devel-adds Tue Jan 6 18:59:13 2015 (r276760) +++ vendor/tcpdump/dist/Makefile-devel-adds Tue Jan 6 19:03:11 2015 (r276761) @@ -2,12 +2,12 @@ # Auto-regenerate configure script or Makefile when things change. # From autoconf.info . Works best with GNU Make. # -${srcdir}/configure: configure.in +${srcdir}/configure: configure.in aclocal.m4 cd ${srcdir} && autoconf # autoheader might not change config.h.in, so touch a stamp file. ${srcdir}/config.h.in: ${srcdir}/stamp-h.in -${srcdir}/stamp-h.in: configure.in acconfig.h +${srcdir}/stamp-h.in: configure.in aclocal.m4 cd ${srcdir} && autoheader echo timestamp > ${srcdir}/stamp-h.in Modified: vendor/tcpdump/dist/Makefile.in ============================================================================== --- vendor/tcpdump/dist/Makefile.in Tue Jan 6 18:59:13 2015 (r276760) +++ vendor/tcpdump/dist/Makefile.in Tue Jan 6 19:03:11 2015 (r276761) @@ -16,8 +16,6 @@ # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.325 2008-11-21 23:17:26 guy Exp $ (LBL) # # Various configurable paths (remember to edit Makefile.in, not Makefile) @@ -41,6 +39,8 @@ VPATH = @srcdir@ # CC = @CC@ +AR = @AR@ +MKDEP = @MKDEP@ PROG = tcpdump CCOPT = @V_CCOPT@ INCLS = -I. @V_INCLS@ @@ -61,6 +61,8 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ RANLIB = @RANLIB@ +DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@ + # Explicitly define compilation rule since SunOS 4's make doesn't like gcc. # Also, gcc does not remove the .o before forking 'as', which can be a # problem if you don't own the file but can write to the directory. @@ -68,126 +70,205 @@ RANLIB = @RANLIB@ @rm -f $@ $(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c -CSRC = addrtoname.c af.c checksum.c cpack.c gmpls.c oui.c gmt2local.c ipproto.c \ - nlpid.c l2vpn.c machdep.c parsenfsfh.c in_cksum.c \ - print-802_11.c print-802_15_4.c print-ap1394.c print-ah.c \ - print-arcnet.c print-aodv.c print-arp.c print-ascii.c print-atalk.c \ - print-atm.c print-beep.c print-bfd.c print-bgp.c \ - print-bootp.c print-bt.c print-carp.c print-cdp.c print-cfm.c \ - print-chdlc.c print-cip.c print-cnfp.c print-dccp.c print-decnet.c \ - print-domain.c print-dtp.c print-dvmrp.c print-enc.c print-egp.c \ - print-eap.c print-eigrp.c\ - print-esp.c print-ether.c print-fddi.c print-forces.c print-fr.c \ - print-gre.c print-hsrp.c print-icmp.c print-igmp.c \ - print-igrp.c print-ip.c print-ipcomp.c print-ipfc.c print-ipnet.c \ - print-ipx.c print-isoclns.c print-juniper.c print-krb.c \ - print-l2tp.c print-lane.c print-ldp.c print-lldp.c print-llc.c \ - print-lmp.c print-lspping.c print-lwapp.c \ - print-lwres.c print-mobile.c print-mpcp.c print-mpls.c print-msdp.c \ - print-msnlb.c print-nfs.c print-ntp.c print-null.c print-olsr.c print-ospf.c \ - print-pgm.c print-pim.c \ - print-ppi.c print-ppp.c print-pppoe.c print-pptp.c \ - print-radius.c print-raw.c print-rip.c print-rpki-rtr.c print-rrcp.c print-rsvp.c \ - print-rx.c print-sctp.c print-sflow.c print-sip.c print-sl.c print-sll.c \ - print-slow.c print-snmp.c print-stp.c print-sunatm.c print-sunrpc.c \ - print-symantec.c print-syslog.c print-tcp.c print-telnet.c print-tftp.c \ - print-timed.c print-tipc.c print-token.c print-udld.c print-udp.c \ - print-usb.c print-vjc.c print-vqp.c print-vrrp.c print-vtp.c \ - print-wb.c print-zephyr.c print-zeromq.c print-vxlan.c print-otv.c signature.c setsignal.c tcpdump.c util.c +CSRC = setsignal.c tcpdump.c -LIBNETDISSECT_SRC=print-isakmp.c -LIBNETDISSECT_OBJ=$(LIBNETDISSECT_SRC:.c=.o) -LIBNETDISSECT=libnetdissect.a +LIBNETDISSECT_SRC=\ + addrtoname.c \ + af.c \ + checksum.c \ + cpack.c \ + gmpls.c \ + gmt2local.c \ + in_cksum.c \ + ipproto.c \ + l2vpn.c \ + machdep.c \ + nlpid.c \ + oui.c \ + parsenfsfh.c \ + print-802_11.c \ + print-802_15_4.c \ + print-ah.c \ + print-ahcp.c \ + print-aodv.c \ + print-aoe.c \ + print-ap1394.c \ + print-arcnet.c \ + print-arp.c \ + print-ascii.c \ + print-atalk.c \ + print-atm.c \ + print-beep.c \ + print-bfd.c \ + print-bgp.c \ + print-bootp.c \ + print-bt.c \ + print-calm-fast.c \ + print-carp.c \ + print-cdp.c \ + print-cfm.c \ + print-chdlc.c \ + print-cip.c \ + print-cnfp.c \ + print-dccp.c \ + print-decnet.c \ + print-domain.c \ + print-dtp.c \ + print-dvmrp.c \ + print-eap.c \ + print-egp.c \ + print-eigrp.c \ + print-enc.c \ + print-esp.c \ + print-ether.c \ + print-fddi.c \ + print-forces.c \ + print-fr.c \ + print-geonet.c \ + print-gre.c \ + print-hsrp.c \ + print-icmp.c \ + print-igmp.c \ + print-igrp.c \ + print-ip.c \ + print-ipcomp.c \ + print-ipfc.c \ + print-ipnet.c \ + print-ipx.c \ + print-isakmp.c \ + print-isoclns.c \ + print-juniper.c \ + print-krb.c \ + print-l2tp.c \ + print-lane.c \ + print-ldp.c \ + print-llc.c \ + print-lldp.c \ + print-lmp.c \ + print-loopback.c \ + print-lspping.c \ + print-lwapp.c \ + print-lwres.c \ + print-m3ua.c \ + print-mobile.c \ + print-mpcp.c \ + print-mpls.c \ + print-mptcp.c \ + print-msdp.c \ + print-msnlb.c \ + print-nflog.c \ + print-nfs.c \ + print-ntp.c \ + print-null.c \ + print-olsr.c \ + print-openflow-1.0.c \ + print-openflow.c \ + print-ospf.c \ + print-otv.c \ + print-pgm.c \ + print-pim.c \ + print-pktap.c \ + print-ppi.c \ + print-ppp.c \ + print-pppoe.c \ + print-pptp.c \ + print-radius.c \ + print-raw.c \ + print-rip.c \ + print-rpki-rtr.c \ + print-rrcp.c \ + print-rsvp.c \ + print-rx.c \ + print-sctp.c \ + print-sflow.c \ + print-sip.c \ + print-sl.c \ + print-sll.c \ + print-slow.c \ + print-snmp.c \ + print-stp.c \ + print-sunatm.c \ + print-sunrpc.c \ + print-symantec.c \ + print-syslog.c \ + print-tcp.c \ + print-telnet.c \ + print-tftp.c \ + print-timed.c \ + print-tipc.c \ + print-token.c \ + print-udld.c \ + print-udp.c \ + print-usb.c \ + print-vjc.c \ + print-vqp.c \ + print-vrrp.c \ + print-vtp.c \ + print-vxlan.c \ + print-wb.c \ + print-zephyr.c \ + print-zeromq.c \ + signature.c \ + util.c LOCALSRC = @LOCALSRC@ GENSRC = version.c LIBOBJS = @LIBOBJS@ +LIBNETDISSECT_OBJ=$(LIBNETDISSECT_SRC:.c=.o) ${LOCALSRC:.c=.o} ${LIBOBJS} +LIBNETDISSECT=libnetdissect.a + + SRC = $(CSRC) $(GENSRC) $(LOCALSRC) $(LIBNETDISSECT_SRC) # We would like to say "OBJ = $(SRC:.c=.o)" but Ultrix's make cannot # hack the extra indirection -OBJ = $(CSRC:.c=.o) $(GENSRC:.c=.o) $(LOCALSRC:.c=.o) $(LIBOBJS) $(LIBNETDISSECT_OBJ) +OBJ = $(CSRC:.c=.o) $(GENSRC:.c=.o) $(LIBNETDISSECT_OBJ) HDR = \ - acconfig.h \ addrtoname.h \ af.h \ ah.h \ - aodv.h \ appletalk.h \ - arcnet.h \ atm.h \ atmuni31.h \ bootp.h \ - bgp.h \ chdlc.h \ cpack.h \ - dccp.h \ - decnet.h \ - decode_prefix.h \ - enc.h \ - esp.h \ ether.h \ ethertype.h \ extract.h \ - fddi.h \ - forces.h \ + getopt_long.h \ gmpls.h \ gmt2local.h \ - icmp6.h \ - ieee802_11.h \ - ieee802_11_radio.h \ - igrp.h \ interface.h \ interface.h \ ip.h \ ip6.h \ - ipfc.h \ - ipnet.h \ ipproto.h \ - ipsec_doi.h \ - ipx.h \ - isakmp.h \ - l2tp.h \ l2vpn.h \ - lane.h \ llc.h \ machdep.h \ mib.h \ mpls.h \ nameser.h \ - netbios.h \ netdissect.h \ nfs.h \ nfsfh.h \ nlpid.h \ - ntp.h \ - oakley.h \ + openflow.h \ ospf.h \ - ospf6.h \ oui.h \ pcap-missing.h \ - pmap_prot.h \ - ppi.h \ ppp.h \ - route6d.h \ rpc_auth.h \ rpc_msg.h \ - rx.h \ - sctpConstants.h \ - sctpHeader.h \ + rpl.h \ setsignal.h \ signature.h \ slcompress.h \ - slip.h \ - sll.h \ smb.h \ tcp.h \ tcpdump-stdinc.h \ - telnet.h \ - tftp.h \ - timed.h \ - token.h \ udp.h TAGHDR = \ @@ -212,7 +293,7 @@ EXTRA_DIST = \ LICENSE \ Makefile.in \ Makefile-devel-adds \ - README \ + README.md \ Readme.Win32 \ VERSION \ aclocal.m4 \ @@ -233,11 +314,11 @@ EXTRA_DIST = \ missing/dlnames.c \ missing/datalinks.c \ missing/getnameinfo.c \ + missing/getopt_long.c \ missing/inet_aton.c \ missing/inet_ntop.c \ missing/inet_pton.c \ missing/snprintf.c \ - missing/sockstorage.h \ missing/strdup.c \ missing/strlcat.c \ missing/strlcpy.c \ @@ -252,7 +333,6 @@ EXTRA_DIST = \ print-ip6.c \ print-ip6opts.c \ print-mobility.c \ - print-netbios.c \ print-ospf6.c \ print-pflog.c \ print-ripng.c \ @@ -264,18 +344,14 @@ EXTRA_DIST = \ strcasecmp.c \ tcpdump.1.in \ vfprintf.c \ - win32/Include/bittypes.h \ - win32/Include/errno.h \ - win32/Include/getopt.h \ win32/Include/w32_fzs.h \ - win32/Src/getopt.c \ win32/prj/GNUmakefile \ win32/prj/WinDump.dsp \ win32/prj/WinDump.dsw TEST_DIST= `find tests \( -name 'DIFF' -prune \) -o \( -name NEW -prune \) -o -type f \! -name '.*' \! -name '*~' -print` -all: $(PROG) +all: $(PROG) $(LIBNETDISSECT) $(PROG): $(OBJ) @V_PCAPDEP@ @rm -f $@ @@ -283,7 +359,7 @@ $(PROG): $(OBJ) @V_PCAPDEP@ $(LIBNETDISSECT): $(LIBNETDISSECT_OBJ) @rm -f $@ - $(AR) cr $@ $(LIBNETDISSECT_OBJ) + $(AR) cr $@ $(LIBNETDISSECT_OBJ) $(RANLIB) $@ datalinks.o: $(srcdir)/missing/datalinks.c @@ -292,8 +368,8 @@ dlnames.o: $(srcdir)/missing/dlnames.c $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/dlnames.c getnameinfo.o: $(srcdir)/missing/getnameinfo.c $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getnameinfo.c -getaddrinfo.o: $(srcdir)/missing/getaddrinfo.c - $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getaddrinfo.c +getopt_long.o: $(srcdir)/missing/getopt_long.c + $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getopt_long.c inet_pton.o: $(srcdir)/missing/inet_pton.c $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_pton.c inet_ntop.o: $(srcdir)/missing/inet_ntop.c @@ -302,6 +378,8 @@ inet_aton.o: $(srcdir)/missing/inet_aton $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_aton.c snprintf.o: $(srcdir)/missing/snprintf.c $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c +strdup.o: $(srcdir)/missing/strdup.c + $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strdup.c strlcat.o: $(srcdir)/missing/strlcat.c $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strlcat.c strlcpy.o: $(srcdir)/missing/strlcpy.c @@ -345,8 +423,10 @@ clean: distclean: rm -f $(CLEANFILES) Makefile config.cache config.log config.status \ - config.h gnuc.h os-proto.h stamp-h stamp-h.in $(PROG).1 - rm -rf autom4te.cache + config.h gnuc.h os-proto.h stamp-h stamp-h.in $(PROG).1 \ + libnetdissect.a tests/.failed tests/.passed \ + tests/failure-outputs.txt + rm -rf autom4te.cache tests/DIFF tests/NEW check: tcpdump (cd tests && ./TESTrun.sh) @@ -368,4 +448,4 @@ testlist: echo $(TEST_DIST) depend: $(GENSRC) - ${srcdir}/mkdep -c $(CC) $(DEFS) $(INCLS) $(SRC) + $(MKDEP) -c $(CC) -m $(DEPENDENCY_CFLAG) $(DEFS) $(INCLS) $(SRC) Copied and modified: vendor/tcpdump/dist/README.md (from r276757, vendor/tcpdump/dist/README) ============================================================================== --- vendor/tcpdump/dist/README Tue Jan 6 18:25:10 2015 (r276757, copy source) +++ vendor/tcpdump/dist/README.md Tue Jan 6 19:03:11 2015 (r276761) @@ -1,33 +1,35 @@ -@(#) $Header: /tcpdump/master/tcpdump/README,v 1.68 2008-12-15 00:05:27 guy Exp $ (LBL) +# tcpdump -TCPDUMP 4.x.y -Now maintained by "The Tcpdump Group" -See www.tcpdump.org +[![Build +Status](https://travis-ci.org/the-tcpdump-group/tcpdump.png)](https://travis-ci.org/the-tcpdump-group/tcpdump) + +TCPDUMP 4.x.y +Now maintained by "The Tcpdump Group" +See www.tcpdump.org Please send inquiries/comments/reports to: - tcpdump-workers@lists.tcpdump.org + +* tcpdump-workers@lists.tcpdump.org Anonymous Git is available via: - git clone git://bpf.tcpdump.org/tcpdump -Version 4.x.y of TCPDUMP can be retrieved with the CVS tag "tcpdump_4_xrely": - cvs -d :pserver:cvs.tcpdump.org:/tcpdump/master checkout -r tcpdump_4_xrely tcpdump + git clone git://bpf.tcpdump.org/tcpdump -Please submit patches by forking the branch on GitHub at +Please submit patches by forking the branch on GitHub at: - http://github.com/mcr/tcpdump/tree/master +* http://github.com/the-tcpdump-group/tcpdump/tree/master and issuing a pull request. -formerly from Lawrence Berkeley National Laboratory - Network Research Group - ftp://ftp.ee.lbl.gov/tcpdump.tar.Z (3.4) +formerly from Lawrence Berkeley National Laboratory + Network Research Group + ftp://ftp.ee.lbl.gov/old/tcpdump.tar.Z (3.4) This directory contains source code for tcpdump, a tool for network monitoring and data acquisition. This software was originally developed by the Network Research Group at the Lawrence Berkeley National Laboratory. The original distribution is available via -anonymous ftp to ftp.ee.lbl.gov, in tcpdump.tar.Z. More recent +anonymous ftp to `ftp.ee.lbl.gov`, in `tcpdump.tar.Z`. More recent development is performed at tcpdump.org, http://www.tcpdump.org/ Tcpdump uses libpcap, a system-independent interface for user-level @@ -36,7 +38,7 @@ build libpcap, also originally from LBL tcpdump.org; see http://www.tcpdump.org/ . Once libpcap is built (either install it or make sure it's in -../libpcap), you can build tcpdump using the procedure in the INSTALL +`../libpcap`), you can build tcpdump using the procedure in the `INSTALL.txt` file. The program is loosely based on SMI's "etherfind" although none of the @@ -50,20 +52,20 @@ manual entry, with no access to the sour Over the past few years, tcpdump has been steadily improved by the excellent contributions from the Internet community (just browse -through the CHANGES file). We are grateful for all the input. *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Tue Jan 6 20:04:57 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8515846; Tue, 6 Jan 2015 20:04:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C1BB646FB; Tue, 6 Jan 2015 18:58:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t06Iwa24068224; Tue, 6 Jan 2015 18:58:36 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t06IwW8k068204; Tue, 6 Jan 2015 18:58:32 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201501061858.t06IwW8k068204@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Tue, 6 Jan 2015 18:58:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276759 - in vendor/libpcap/dist: . Win32/Include Win32/Src bpf/net lbl missing msdos pcap tests X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 20:04:57 -0000 Author: delphij Date: Tue Jan 6 18:58:31 2015 New Revision: 276759 URL: https://svnweb.freebsd.org/changeset/base/276759 Log: Vendor import of libpcap 1.6.2. Added: vendor/libpcap/dist/Makefile-devel-adds (contents, props changed) vendor/libpcap/dist/pcap-bt-monitor-linux.c (contents, props changed) vendor/libpcap/dist/pcap-bt-monitor-linux.h (contents, props changed) vendor/libpcap/dist/pcap-dbus.c (contents, props changed) vendor/libpcap/dist/pcap-dbus.h (contents, props changed) vendor/libpcap/dist/pcap/nflog.h (contents, props changed) vendor/libpcap/dist/pcap_get_tstamp_precision.3pcap.in (contents, props changed) vendor/libpcap/dist/pcap_set_immediate_mode.3pcap vendor/libpcap/dist/pcap_set_tstamp_precision.3pcap.in (contents, props changed) vendor/libpcap/dist/tests/capturetest.c (contents, props changed) vendor/libpcap/dist/tests/valgrindtest.c (contents, props changed) Deleted: vendor/libpcap/dist/tests/nonblocktest.c Modified: vendor/libpcap/dist/CHANGES vendor/libpcap/dist/CREDITS vendor/libpcap/dist/INSTALL.txt vendor/libpcap/dist/Makefile.in vendor/libpcap/dist/README vendor/libpcap/dist/README.aix vendor/libpcap/dist/VERSION vendor/libpcap/dist/Win32/Include/Gnuc.h vendor/libpcap/dist/Win32/Include/addrinfo.h vendor/libpcap/dist/Win32/Include/ip6_misc.h vendor/libpcap/dist/Win32/Src/getaddrinfo.c vendor/libpcap/dist/Win32/Src/inet_aton.c vendor/libpcap/dist/Win32/Src/inet_pton.c vendor/libpcap/dist/aclocal.m4 vendor/libpcap/dist/arcnet.h vendor/libpcap/dist/atmuni31.h vendor/libpcap/dist/bpf/net/bpf_filter.c vendor/libpcap/dist/bpf_dump.c vendor/libpcap/dist/bpf_image.c vendor/libpcap/dist/config.guess vendor/libpcap/dist/config.h.in vendor/libpcap/dist/config.sub vendor/libpcap/dist/configure vendor/libpcap/dist/configure.in vendor/libpcap/dist/dlpisubs.c vendor/libpcap/dist/dlpisubs.h vendor/libpcap/dist/etherent.c vendor/libpcap/dist/ethertype.h vendor/libpcap/dist/fad-getad.c vendor/libpcap/dist/fad-gifc.c vendor/libpcap/dist/fad-glifc.c vendor/libpcap/dist/fad-null.c vendor/libpcap/dist/fad-sita.c vendor/libpcap/dist/fad-win32.c vendor/libpcap/dist/gencode.c vendor/libpcap/dist/gencode.h vendor/libpcap/dist/grammar.y vendor/libpcap/dist/inet.c vendor/libpcap/dist/lbl/os-aix4.h vendor/libpcap/dist/lbl/os-hpux11.h vendor/libpcap/dist/lbl/os-osf4.h vendor/libpcap/dist/lbl/os-osf5.h vendor/libpcap/dist/lbl/os-solaris2.h vendor/libpcap/dist/lbl/os-sunos4.h vendor/libpcap/dist/lbl/os-ultrix4.h vendor/libpcap/dist/llc.h vendor/libpcap/dist/missing/snprintf.c vendor/libpcap/dist/mkdep vendor/libpcap/dist/msdos/common.dj vendor/libpcap/dist/msdos/makefile.dj vendor/libpcap/dist/msdos/readme.dos vendor/libpcap/dist/nametoaddr.c vendor/libpcap/dist/nlpid.h vendor/libpcap/dist/optimize.c vendor/libpcap/dist/pcap-bpf.c vendor/libpcap/dist/pcap-bpf.h vendor/libpcap/dist/pcap-bt-linux.c vendor/libpcap/dist/pcap-bt-linux.h vendor/libpcap/dist/pcap-can-linux.c vendor/libpcap/dist/pcap-canusb-linux.c vendor/libpcap/dist/pcap-common.c vendor/libpcap/dist/pcap-common.h vendor/libpcap/dist/pcap-config.1 vendor/libpcap/dist/pcap-dag.c vendor/libpcap/dist/pcap-dag.h vendor/libpcap/dist/pcap-dlpi.c vendor/libpcap/dist/pcap-dos.c vendor/libpcap/dist/pcap-dos.h vendor/libpcap/dist/pcap-enet.c vendor/libpcap/dist/pcap-filter.manmisc.in vendor/libpcap/dist/pcap-int.h vendor/libpcap/dist/pcap-libdlpi.c vendor/libpcap/dist/pcap-linktype.manmisc.in vendor/libpcap/dist/pcap-linux.c vendor/libpcap/dist/pcap-namedb.h vendor/libpcap/dist/pcap-netfilter-linux.c vendor/libpcap/dist/pcap-nit.c vendor/libpcap/dist/pcap-null.c vendor/libpcap/dist/pcap-pf.c vendor/libpcap/dist/pcap-savefile.manfile.in vendor/libpcap/dist/pcap-septel.c vendor/libpcap/dist/pcap-septel.h vendor/libpcap/dist/pcap-sita.c vendor/libpcap/dist/pcap-sita.h vendor/libpcap/dist/pcap-snf.c vendor/libpcap/dist/pcap-snit.c vendor/libpcap/dist/pcap-snoop.c vendor/libpcap/dist/pcap-stdinc.h vendor/libpcap/dist/pcap-tstamp.manmisc.in vendor/libpcap/dist/pcap-usb-linux.c vendor/libpcap/dist/pcap-usb-linux.h vendor/libpcap/dist/pcap-win32.c vendor/libpcap/dist/pcap.3pcap.in vendor/libpcap/dist/pcap.c vendor/libpcap/dist/pcap.h vendor/libpcap/dist/pcap/bluetooth.h vendor/libpcap/dist/pcap/bpf.h vendor/libpcap/dist/pcap/namedb.h vendor/libpcap/dist/pcap/pcap.h vendor/libpcap/dist/pcap/sll.h vendor/libpcap/dist/pcap/usb.h vendor/libpcap/dist/pcap/vlan.h vendor/libpcap/dist/pcap_activate.3pcap vendor/libpcap/dist/pcap_breakloop.3pcap vendor/libpcap/dist/pcap_can_set_rfmon.3pcap vendor/libpcap/dist/pcap_close.3pcap vendor/libpcap/dist/pcap_compile.3pcap.in vendor/libpcap/dist/pcap_create.3pcap vendor/libpcap/dist/pcap_datalink.3pcap.in vendor/libpcap/dist/pcap_datalink_name_to_val.3pcap vendor/libpcap/dist/pcap_datalink_val_to_name.3pcap vendor/libpcap/dist/pcap_dump.3pcap vendor/libpcap/dist/pcap_dump_close.3pcap vendor/libpcap/dist/pcap_dump_file.3pcap vendor/libpcap/dist/pcap_dump_flush.3pcap vendor/libpcap/dist/pcap_dump_ftell.3pcap vendor/libpcap/dist/pcap_dump_open.3pcap.in vendor/libpcap/dist/pcap_file.3pcap vendor/libpcap/dist/pcap_fileno.3pcap vendor/libpcap/dist/pcap_findalldevs.3pcap vendor/libpcap/dist/pcap_freecode.3pcap vendor/libpcap/dist/pcap_get_selectable_fd.3pcap vendor/libpcap/dist/pcap_geterr.3pcap vendor/libpcap/dist/pcap_inject.3pcap vendor/libpcap/dist/pcap_is_swapped.3pcap vendor/libpcap/dist/pcap_lib_version.3pcap vendor/libpcap/dist/pcap_list_datalinks.3pcap.in vendor/libpcap/dist/pcap_lookupdev.3pcap vendor/libpcap/dist/pcap_lookupnet.3pcap vendor/libpcap/dist/pcap_loop.3pcap vendor/libpcap/dist/pcap_major_version.3pcap vendor/libpcap/dist/pcap_next_ex.3pcap vendor/libpcap/dist/pcap_offline_filter.3pcap vendor/libpcap/dist/pcap_open_dead.3pcap.in vendor/libpcap/dist/pcap_open_live.3pcap vendor/libpcap/dist/pcap_open_offline.3pcap.in vendor/libpcap/dist/pcap_set_buffer_size.3pcap vendor/libpcap/dist/pcap_set_datalink.3pcap vendor/libpcap/dist/pcap_set_promisc.3pcap vendor/libpcap/dist/pcap_set_rfmon.3pcap vendor/libpcap/dist/pcap_set_snaplen.3pcap vendor/libpcap/dist/pcap_set_timeout.3pcap vendor/libpcap/dist/pcap_setdirection.3pcap vendor/libpcap/dist/pcap_setfilter.3pcap vendor/libpcap/dist/pcap_setnonblock.3pcap vendor/libpcap/dist/pcap_snapshot.3pcap vendor/libpcap/dist/pcap_stats.3pcap vendor/libpcap/dist/pcap_statustostr.3pcap vendor/libpcap/dist/pcap_strerror.3pcap vendor/libpcap/dist/pcap_tstamp_type_val_to_name.3pcap vendor/libpcap/dist/ppp.h vendor/libpcap/dist/runlex.sh vendor/libpcap/dist/savefile.c vendor/libpcap/dist/scanner.l vendor/libpcap/dist/sf-pcap-ng.c vendor/libpcap/dist/sf-pcap-ng.h vendor/libpcap/dist/sf-pcap.c vendor/libpcap/dist/sf-pcap.h vendor/libpcap/dist/sunatmpos.h vendor/libpcap/dist/tests/filtertest.c Modified: vendor/libpcap/dist/CHANGES ============================================================================== --- vendor/libpcap/dist/CHANGES Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/CHANGES Tue Jan 6 18:58:31 2015 (r276759) @@ -1,9 +1,66 @@ -Monday March 18, 2013 guy@alum.mit.edu +Monday Aug. 12, 2014 guy@alum.mit.edu + Summary for 1.6.2 tcpdump release + Don't crash on filters testing a non-existent link-layer type + field. + Fix sending in non-blocking mode on Linux with memory-mapped + capture. + Fix timestamps when reading pcap-ng files on big-endian + machines. + +Saturday Jul. 19, 2014 mcr@sandelman.ca + Summary for 1.6.1 tcpdump release + some fixes for the any device + changes for how --enable-XXX works + +Wednesday Jul. 2, 2014 mcr@sandelman.ca + Summary for 1.6.0 tcpdump release + Don't support D-Bus sniffing on OS X + fixes for byte order issues with NFLOG captures + Handle using cooked mode for DLT_NETLINK in activate_new(). + on platforms where you can not capture on down interfaces, do not list them + but: do list interfaces which are down, if you can capture on them! + +Wednesday December 18, 2013 guy@alum.mit.edu +Summary for 1.5.3 libpcap release + Don't let packets that don't match the current filter get to the + application when TPACKET_V3 is used. (GitHub issue #331) + Fix handling of pcap_loop()/pcap_dispatch() with a packet count + of 0 on some platforms (including Linux with TPACKET_V3). + (GitHub issue #333) + Work around TPACKET_V3 deficiency that causes packets to be lost + when a timeout of 0 is specified. (GitHub issue #335) + Man page formatting fixes. + +Wednesday December 4, 2013 guy@alum.mit.edu +Summary for 1.5.2 libpcap release + Fix libpcap to work when compiled with TPACKET_V3 support and + running on a kernel without TPACKET_V3 support. (GitHub + issue #329) + +Wednesday November 20, 2013 guy@alum.mit.edu +Summary for 1.5.1 libpcap release + Report an error, rather than crashing, if an IPv6 address is + used for link-layer filtering. (Wireshark bug 9376) + +Wednesday October 30, 2013 guy@alum.mit.edu +Summary for 1.5.0 libpcap release + TPACKET_V3 support added for Linux + Point users to the the-tcpdump-group repository on GitHub rather + than the mcr repository + Checks added for malloc()/realloc()/etc. failures + Fixed build on Solaris 11 + Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A + Use "ln -s" to link man pages by default + Add support for getting nanosecond-resolution time stamps when + capturing and reading capture files + Many changes to autoconf to deal better with non-GCC compilers + added many new DLT types + +Saturday April 6, 2013 guy@alum.mit.edu Summary for 1.4.0 libpcap release Add netfilter/nfqueue interface. If we don't have support for IPv6 address resolution, support, in filter expressions, what IPv6 stuff we can. - Checks added for malloc()/realloc()/etc. failures. Fix pcap-config to include -lpthread if canusb support is present Try to fix "pcap_parse not defined" problems when --without-flex @@ -29,6 +86,7 @@ Summary for 1.4.0 libpcap release kernels, for VLAN tag valid flag Clean up some man pages Support libnl3 as well as libnl1 and libnl2 on Linux + Fix handling of Bluetooth devices on 3.x Linux kernels Friday March 30, 2012. mcr@sandelman.ca Summary for 1.3.0 libpcap release @@ -208,7 +266,7 @@ Mon. October 27, 2008. ken@netfuncti DLT: Add JUNIPER_ST 802.15.4 support Variable length 802.11 header support - X2E data type support + X2E data type support SITA ACN Interface support - see README.sita Support for memory-mapped capture on Linux Support for zerocopy BPF on platforms that support it @@ -220,7 +278,7 @@ Mon. October 27, 2008. ken@netfuncti can print better diagnostic information Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so applications can tell the user they need to go play with permissions - On Linux, ignore ENETDOWN so we can continue to capture packets if the + On Linux, ignore ENETDOWN so we can continue to capture packets if the interface goes down and comes back up again. On Linux, support new tpacket frame headers (2.6.27+) On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist @@ -233,14 +291,14 @@ Mon. September 10, 2007. ken@xeleran Change build process to put public libpcap headers into pcap subir DLT: Add value for IPMI IPMB packets DLT: Add value for u10 Networks boards - Require for pf definitions - allows reading of pflog formatted + Require for pf definitions - allows reading of pflog formatted libpcap files on an OS other than where the file was generated Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release Put the public libpcap headers into a pcap subdirectory in both the source directory and the target include directory, and have include - files at the top-level directory to include those headers, for + files at the top-level directory to include those headers, for backwards compatibility. Add Bluetooth support Add USB capturing support on Linux @@ -248,30 +306,30 @@ Wed. April 25, 2007. ken@xelerance.com. Add support for new FreeBSD BIOCSDIRECTION ioctl Add additional filter operations for 802.11 frame types Add support for filtering on MTP2 frame types - Propagate some changes from the main branch, so the x.9 branch has + Propagate some changes from the main branch, so the x.9 branch has all the DLT_ and LINKTYPE_ values that the main branch does - Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) + Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) encapsulated packets - Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done + Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done by Linux drivers Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer Add DLT for Bluetooth HCI UART transport layer When building a shared library, build with "-fPIC" on Linux to support x86_64 - Link with "$(CC) -shared" rather than "ld -shared" when building a + Link with "$(CC) -shared" rather than "ld -shared" when building a ".so" shared library Add support for autoconf 2.60 Fixes to discard unread packets when changing filters - Changes to handle name changes in the DAG library resulting from + Changes to handle name changes in the DAG library resulting from switching to libtool. Add support for new DAG ERF types. - Add an explicit "-ldag" when building the shared library, so the DAG + Add an explicit "-ldag" when building the shared library, so the DAG library dependency is explicit. Mac OSX fixes for dealing with "wlt" devices Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating device lists Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter - was not checked. + was not checked. Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release @@ -283,19 +341,19 @@ Tue. September 19, 2006. ken@xelerance.c OP_PACKET now matches the beginning of the packet, instead of beginning+link-layer Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay - Fix allocation of buffer for list of link-layer types + Fix allocation of buffer for list of link-layer types Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). Added definition for DLT_A429 and LINKTYPE_A429 as #184. Added a new DLT and LINKTYPE value for CAN v2.0B frames. Add support for DLT_JUNIPER_VP. - Don't double-count received packets on Linux systems that - support the PACKET_STATISTICS getsockopt() argument on + Don't double-count received packets on Linux systems that + support the PACKET_STATISTICS getsockopt() argument on PF_PACKET sockets. - Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link + Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link layers in Windows - Add support to build libpcap.lib and wpcap.dll under Cygnus and + Add support to build libpcap.lib and wpcap.dll under Cygnus and MingW32. Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release Modified: vendor/libpcap/dist/CREDITS ============================================================================== --- vendor/libpcap/dist/CREDITS Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/CREDITS Tue Jan 6 18:58:31 2015 (r276759) @@ -2,6 +2,7 @@ This file lists people who have contribu The current maintainers: Bill Fenner + Denis Ovsienko Fulvio Risso Guy Harris Hannes Gredler @@ -9,20 +10,24 @@ The current maintainers: Additional people who have contributed patches: + Akos Vandra Alan Bawden Albert Chin Alexander 'Leo' Bergolth Alexey Kuznetsov Alon Bar-Lev + Andres Perera Andrew Brown + Ani Sinha Antti Kantee Arien Vijn Arkadiusz Miskiewicz Armando L. Caro Jr. Assar Westerlund + Bill Parker + Brent Cook Brian Ginsbach - Bill Parker Charles M. Hannum Chris G. Demetriou Chris Lightfoot @@ -30,15 +35,21 @@ Additional people who have contributed p Chris Pepper Christian Bell Christian Peron + Christian Svensson Daniele Orlandi + Darren Lim Darren Reed + David Clark David Kaelbling + David Ward David Young Dean Gaudet dhruv Don Ebright Dug Song Dustin Spicuzza + dzejarczech + Edward Sheldrake Eric Anderson Erik de Castro Lopo Felix Obenhuber @@ -47,15 +58,18 @@ Additional people who have contributed p frederich Fulko Hew Fumiyuki Shimizu + Gabor Tatarka Garrett Cooper + George Neville-Neil Gianluca Varenni Gilbert Hoyek Gisle Vanem Graeme Hewson + Gregor Maier Greg Stark Greg Troxel - Gregor Maier Guillaume Pelat + Gustavo Zacarias Hagen Paul Pfeifer Henri Doreau Hyung Sik Yoon @@ -64,15 +78,17 @@ Additional people who have contributed p Jan-Philip Velders Jason R. Thorpe Javier Achirica + Jean-Louis Charton Jean Tourrilhes - Jean-Louis Charton Jefferson Ogata Jesper Dangaard Brouer Jesper Peterson + Jiri Slaby Joerg Mayer John Bankier Jon Lindgren Jon Smirl + Jorge Boncompte [DTI2] Juergen Schoenwaelder Julien Moutinho Jung-uk Kim @@ -86,6 +102,7 @@ Additional people who have contributed p Love Hörnquist-Ã…strand Luis MartinGarcia Maciej W. Rozycki + Mansour Behabadi Marcus Felipe Pereira Mark C. Brown Mark Pizzolato @@ -94,14 +111,17 @@ Additional people who have contributed p Márton Németh Matthew Luckie Max Laier + Michal Labedzki + Michal Sekletar Mike Frysinger Mike Kershaw Mike Wiacek Miroslav Lichvar Monroe Williams - - N. Leiten Nicolas Dade + Niko Delarich + N. Leiten + Octavian Cerna Olaf Kirch Ollie Wild @@ -145,8 +165,8 @@ Additional people who have contributed p Xianjie Zhang Xin Li Yen Yen Lim - Yvan Vanhullebus Yoann Vandoorselaere + Yvan Vanhullebus The original LBL crew: Steve McCanne Modified: vendor/libpcap/dist/INSTALL.txt ============================================================================== --- vendor/libpcap/dist/INSTALL.txt Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/INSTALL.txt Tue Jan 6 18:58:31 2015 (r276759) @@ -1,5 +1,3 @@ -@(#) $Header: /tcpdump/master/libpcap/INSTALL.txt,v 1.29 2008-06-12 20:21:51 guy Exp $ (LBL) - To build libpcap, run "./configure" (a shell script). The configure script will determine your system attributes and generate an appropriate Makefile from Makefile.in. Next run "make". If everything @@ -31,19 +29,14 @@ where the configure scripts fails to det You will need an ANSI C compiler to build libpcap. The configure script will abort if your compiler is not ANSI compliant. If this happens, use -the GNU C compiler, available via anonymous ftp: - - ftp://ftp.gnu.org/pub/gnu/gcc/ +the generally available GNU C compiler (GCC). If you use flex, you must use version 2.4.6 or higher. The configure script automatically detects the version of flex and will not use it unless it is new enough. You can use "flex -V" to see what version you have (unless it's really old). The current version of flex is available -via anonymous ftp: - - ftp://ftp.ee.lbl.gov/flex-*.tar.Z - -As of this writing, the current version is 2.5.4. +at flex.sourceforge.net and often comes packaged by means of the OS. +As of this writing, the current version is 2.5.37. If you use bison, you must use flex (and visa versa). The configure script automatically falls back to lex and yacc if both flex and bison Added: vendor/libpcap/dist/Makefile-devel-adds ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/libpcap/dist/Makefile-devel-adds Tue Jan 6 18:58:31 2015 (r276759) @@ -0,0 +1,22 @@ +# +# Auto-regenerate configure script or Makefile when things change. +# From autoconf.info . Works best with GNU Make. +# +${srcdir}/configure: configure.in aclocal.m4 + cd ${srcdir} && autoconf + +# autoheader might not change config.h.in, so touch a stamp file. +${srcdir}/config.h.in: ${srcdir}/stamp-h.in +${srcdir}/stamp-h.in: configure.in aclocal.m4 + cd ${srcdir} && autoheader + echo timestamp > ${srcdir}/stamp-h.in + +config.h: stamp-h +stamp-h: ${srcdir}/config.h.in config.status + ./config.status + +Makefile: Makefile.in config.status + ./config.status + +config.status: ${srcdir}/configure + ./config.status --recheck Modified: vendor/libpcap/dist/Makefile.in ============================================================================== --- vendor/libpcap/dist/Makefile.in Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/Makefile.in Tue Jan 6 18:58:31 2015 (r276759) @@ -16,8 +16,6 @@ # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#) $Header: /tcpdump/master/libpcap/Makefile.in,v 1.142 2008-11-22 17:30:24 guy Exp $ (LBL) # # Various configurable paths (remember to edit Makefile.in, not Makefile) @@ -47,6 +45,8 @@ VPATH = @srcdir@ LD = /usr/bin/ld CC = @CC@ AR = @AR@ +LN_S = @LN_S@ +MKDEP = @MKDEP@ CCOPT = @V_CCOPT@ INCLS = -I. @V_INCLS@ DEFS = @DEFS@ @V_DEFS@ @@ -57,6 +57,7 @@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ DYEXT = @DYEXT@ V_RPATH_OPT = @V_RPATH_OPT@ +DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@ PROG=libpcap # Standard CFLAGS @@ -82,7 +83,7 @@ YACC = @V_YACC@ @rm -f $@ $(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c -PSRC = pcap-@V_PCAP@.c @USB_SRC@ @BT_SRC@ @CAN_SRC@ @NETFILTER_SRC@ @CANUSB_SRC@ +PSRC = pcap-@V_PCAP@.c @USB_SRC@ @BT_SRC@ @BT_MONITOR_SRC@ @CAN_SRC@ @NETFILTER_SRC@ @CANUSB_SRC@ @DBUS_SRC@ FSRC = fad-@V_FINDALLDEVS@.c SSRC = @SSRC@ CSRC = pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \ @@ -104,6 +105,7 @@ PUBHDR = \ pcap/bluetooth.h \ pcap/ipnet.h \ pcap/namedb.h \ + pcap/nflog.h \ pcap/pcap.h \ pcap/sll.h \ pcap/vlan.h \ @@ -126,19 +128,21 @@ HDR = $(PUBHDR) \ sunatmpos.h TESTS = \ + capturetest \ filtertest \ findalldevstest \ - nonblocktest \ opentest \ - selpolltest + selpolltest \ + valgrindtest TESTS_SRC = \ + tests/capturetest.c \ tests/filtertest.c \ tests/findalldevstest.c \ - tests/nonblocktest.c \ tests/opentest.c \ tests/reactivatetest.c \ - tests/selpolltest.c + tests/selpolltest.c \ + tests/valgrindtest.c GENHDR = \ scanner.h tokdefs.h version.h @@ -157,10 +161,12 @@ MAN3PCAP_EXPAND = \ pcap_compile.3pcap.in \ pcap_datalink.3pcap.in \ pcap_dump_open.3pcap.in \ + pcap_get_tstamp_precision.3pcap.in \ pcap_list_datalinks.3pcap.in \ pcap_list_tstamp_types.3pcap.in \ pcap_open_dead.3pcap.in \ pcap_open_offline.3pcap.in \ + pcap_set_tstamp_precision.3pcap.in \ pcap_set_tstamp_type.3pcap.in MAN3PCAP_NOEXPAND = \ @@ -194,6 +200,7 @@ MAN3PCAP_NOEXPAND = \ pcap_open_live.3pcap \ pcap_set_buffer_size.3pcap \ pcap_set_datalink.3pcap \ + pcap_set_immediate_mode.3pcap \ pcap_set_promisc.3pcap \ pcap_set_rfmon.3pcap \ pcap_set_snaplen.3pcap \ @@ -227,6 +234,7 @@ EXTRA_DIST = \ INSTALL.txt \ LICENSE \ Makefile.in \ + Makefile-devel-adds \ README \ README.aix \ README.dag \ @@ -287,6 +295,8 @@ EXTRA_DIST = \ pcap-bpf.c \ pcap-bt-linux.c \ pcap-bt-linux.h \ + pcap-bt-monitor-linux.c \ + pcap-bt-monitor-linux.h \ pcap-can-linux.c \ pcap-can-linux.h \ pcap-canusb-linux.c \ @@ -294,6 +304,8 @@ EXTRA_DIST = \ pcap-config.in \ pcap-dag.c \ pcap-dag.h \ + pcap-dbus.c \ + pcap-dbus.h \ pcap-dlpi.c \ pcap-dos.c \ pcap-dos.h \ @@ -515,21 +527,24 @@ pcap-config: $(srcdir)/pcap-config.in ./ # tests: $(TESTS) +capturetest: tests/capturetest.c libpcap.a + $(CC) $(FULL_CFLAGS) -I. -L. -o capturetest $(srcdir)/tests/capturetest.c libpcap.a $(LIBS) + filtertest: tests/filtertest.c libpcap.a $(CC) $(FULL_CFLAGS) -I. -L. -o filtertest $(srcdir)/tests/filtertest.c libpcap.a $(LIBS) findalldevstest: tests/findalldevstest.c libpcap.a $(CC) $(FULL_CFLAGS) -I. -L. -o findalldevstest $(srcdir)/tests/findalldevstest.c libpcap.a $(LIBS) -nonblocktest: tests/nonblocktest.c libpcap.a - $(CC) $(FULL_CFLAGS) -I. -L. -o nonblocktest $(srcdir)/tests/nonblocktest.c libpcap.a $(LIBS) - opentest: tests/opentest.c libpcap.a $(CC) $(FULL_CFLAGS) -I. -L. -o opentest $(srcdir)/tests/opentest.c libpcap.a $(LIBS) selpolltest: tests/selpolltest.c libpcap.a $(CC) $(FULL_CFLAGS) -I. -L. -o selpolltest $(srcdir)/tests/selpolltest.c libpcap.a $(LIBS) +valgrindtest: tests/valgrindtest.c libpcap.a + $(CC) $(FULL_CFLAGS) -I. -L. -o valgrindtest $(srcdir)/tests/valgrindtest.c libpcap.a $(LIBS) + install: install-shared install-archive pcap-config [ -d $(DESTDIR)$(libdir) ] || \ (mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir)) @@ -560,42 +575,41 @@ install: install-shared install-archive for i in $(MAN3PCAP_EXPAND:.in=); do \ $(INSTALL_DATA) $$i \ $(DESTDIR)$(mandir)/man3/$$i; done - rm -f $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_name.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_dump_open.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_freealldevs.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_findalldevs.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_freealldevs.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_geterr.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_inject.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_free_datalinks.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_list_datalinks.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_free_datalinks.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_free_tstamp_types.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_list_tstamp_types.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_free_tstamp_types.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_loop.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_major_version.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_next.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_next_ex.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_next.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_open_offline.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap - rm -f $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap - ln $(DESTDIR)$(mandir)/man3/pcap_setnonblock.3pcap \ - $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap + (cd $(DESTDIR)$(mandir)/man3 && \ + rm -f pcap_datalink_val_to_description.3pcap && \ + $(LN_S) pcap_datalink_val_to_name.3pcap \ + pcap_datalink_val_to_description.3pcap && \ + rm -f pcap_dump_fopen.3pcap && \ + $(LN_S) pcap_dump_open.3pcap pcap_dump_fopen.3pcap && \ + rm -f pcap_freealldevs.3pcap && \ + $(LN_S) pcap_findalldevs.3pcap pcap_freealldevs.3pcap && \ + rm -f pcap_perror.3pcap && \ + $(LN_S) pcap_geterr.3pcap pcap_perror.3pcap && \ + rm -f pcap_sendpacket.3pcap && \ + $(LN_S) pcap_inject.3pcap pcap_sendpacket.3pcap && \ + rm -f pcap_free_datalinks.3pcap && \ + $(LN_S) pcap_list_datalinks.3pcap pcap_free_datalinks.3pcap && \ + rm -f pcap_free_tstamp_types.3pcap && \ + $(LN_S) pcap_list_tstamp_types.3pcap pcap_free_tstamp_types.3pcap && \ + rm -f pcap_dispatch.3pcap && \ + $(LN_S) pcap_loop.3pcap pcap_dispatch.3pcap && \ + rm -f pcap_minor_version.3pcap && \ + $(LN_S) pcap_major_version.3pcap pcap_minor_version.3pcap && \ + rm -f pcap_next.3pcap && \ + $(LN_S) pcap_next_ex.3pcap pcap_next.3pcap && \ + rm -f pcap_open_dead_with_tstamp_precision.3pcap && \ + $(LN_S) pcap_open_dead.3pcap \ + pcap_open_dead_with_tstamp_precision.3pcap && \ + rm -f pcap_open_offline_with_tstamp_precision.3pcap && \ + $(LN_S) pcap_open_offline.3pcap pcap_open_offline_with_tstamp_precision.3pcap && \ + rm -f pcap_fopen_offline.3pcap && \ + $(LN_S) pcap_open_offline.3pcap pcap_fopen_offline.3pcap && \ + rm -f pcap_fopen_offline_with_tstamp_precision.3pcap && \ + $(LN_S) pcap_open_offline.3pcap pcap_fopen_offline_with_tstamp_precision.3pcap && \ + rm -f pcap_tstamp_type_val_to_description.3pcap && \ + $(LN_S) pcap_tstamp_type_val_to_name.3pcap pcap_tstamp_type_val_to_description.3pcap && \ + rm -f pcap_getnonblock.3pcap && \ + $(LN_S) pcap_setnonblock.3pcap pcap_getnonblock.3pcap) for i in $(MANFILE); do \ $(INSTALL_DATA) `echo $$i | sed 's/.manfile.in/.manfile/'` \ $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done @@ -672,8 +686,12 @@ uninstall: uninstall-shared rm -f $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap rm -f $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap rm -f $(DESTDIR)$(mandir)/man3/pcap_next.3pcap + rm -f $(DESTDIR)$(mandir)/man3/pcap_open_dead_with_tstamp_precision.3pcap + rm -f $(DESTDIR)$(mandir)/man3/pcap_open_offline_with_tstamp_precision.3pcap rm -f $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap + rm -f $(DESTDIR)$(mandir)/man3/pcap_fopen_offline_with_tstamp_precision.3pcap rm -f $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap + rm -f $(DESTDIR)$(mandir)/man3/pcap_tstamp_type_val_to_description.3pcap for i in $(MANFILE); do \ rm -f $(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done for i in $(MANMISC); do \ @@ -717,7 +735,7 @@ packaging/pcap.spec: packaging/pcap.spec RPMVERSION=`cat VERSION | sed s/-.*//g`; \ sed -e s/@VERSION@/$$RPMVERSION/ -e s/@NAME@/libpcap-`cat VERSION`/ $< > $@ -releasetar: +releasetar: @cwd=`pwd` ; dir=`basename $$cwd` ; name=$(PROG)-`cat VERSION` ; \ mkdir $$name; \ tar cf - $(CSRC) $(HDR) $(MAN1) $(MAN3PCAP_EXPAND) \ @@ -727,9 +745,4 @@ releasetar: rm -rf $$name depend: $(GENSRC) $(GENHDR) bpf_filter.c - ./mkdep -c $(CC) $(DEFS) $(INCLS) $(SRC) - -Makefile: Makefile.in config.status - ./config.status - @echo your Makefile was out of date, now run $(MAKE) again - exit 1 + $(MKDEP) -c $(CC) -m $(CFLAGS) $(DEPENDENCY_CFLAG) $(DEFS) $(INCLS) $(SRC) Modified: vendor/libpcap/dist/README ============================================================================== --- vendor/libpcap/dist/README Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/README Tue Jan 6 18:58:31 2015 (r276759) @@ -1,5 +1,3 @@ -@(#) $Header: /tcpdump/master/libpcap/README,v 1.34 2008-12-14 19:44:14 guy Exp $ (LBL) - LIBPCAP 1.x.y www.tcpdump.org @@ -10,18 +8,15 @@ Please send inquiries/comments/reports t Anonymous Git is available via: git clone git://bpf.tcpdump.org/libpcap -Version 1.x.y of LIBPCAP can be retrieved with the CVS tag "libpcap_1_{x}rel{y}": - cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout -r libpcap_1_{x}rel{y} libpcap - Please submit patches by forking the branch on GitHub at - http://github.com/mcr/libpcap/tree/master + http://github.com/the-tcpdump-group/libpcap/tree/master and issuing a pull request. formerly from Lawrence Berkeley National Laboratory Network Research Group - ftp://ftp.ee.lbl.gov/libpcap.tar.Z (0.4) + ftp://ftp.ee.lbl.gov/old/libpcap-0.4a7.tar.Z This directory contains source code for libpcap, a system-independent interface for user-level packet capture. libpcap provides a portable @@ -97,12 +92,12 @@ to the address "tcpdump-workers@lists.tc requests, and feature requests may also be submitted on the GitHub issue tracker for libpcap at - https://github.com/mcr/libpcap/issues + https://github.com/the-tcpdump-group/libpcap/issues Source code contributions, etc. should be sent to the email address above or submitted by forking the branch on GitHub at - http://github.com/mcr/libpcap/tree/master + http://github.com/the-tcpdump-group/libpcap/tree/master and issuing a pull request. Modified: vendor/libpcap/dist/README.aix ============================================================================== --- vendor/libpcap/dist/README.aix Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/README.aix Tue Jan 6 18:58:31 2015 (r276759) @@ -11,6 +11,11 @@ Using BPF: same, and the configure script should detect that it's on an AIX system and choose BPF even if the devices aren't there. + Also note that tcpdump _binary_ compiled on AIX 4 may have a problem + doing the initial loading of the BPF driver if copied to AIX 5 and + run there (GH #52). tcpdump binary natively compiled on AIX 5 should + not have this issue. + (2) If libpcap doesn't compile on your machine when configured to use BPF, or if the workarounds fail to make it work correctly, you should send to tcpdump-workers@lists.tcpdump.org a detailed bug @@ -22,7 +27,7 @@ Using BPF: If you fix the problems yourself, please submit a patch by forking the branch at - https://github.com/mcr/libpcap/issues + https://github.com/the-tcpdump-group/libpcap/issues and issuing a pull request, so we can incorporate the fixes into the next release. Modified: vendor/libpcap/dist/VERSION ============================================================================== --- vendor/libpcap/dist/VERSION Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/VERSION Tue Jan 6 18:58:31 2015 (r276759) @@ -1 +1 @@ -1.4.0 +1.6.2 Modified: vendor/libpcap/dist/Win32/Include/Gnuc.h ============================================================================== --- vendor/libpcap/dist/Win32/Include/Gnuc.h Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/Win32/Include/Gnuc.h Tue Jan 6 18:58:31 2015 (r276759) @@ -1,5 +1,3 @@ -/* @(#) $Header: /tcpdump/master/libpcap/Win32/Include/Gnuc.h,v 1.1 2002-08-01 08:33:05 risso Exp $ (LBL) */ - /* Define __P() macro, if necessary */ #ifndef __P Modified: vendor/libpcap/dist/Win32/Include/addrinfo.h ============================================================================== --- vendor/libpcap/dist/Win32/Include/addrinfo.h Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/Win32/Include/addrinfo.h Tue Jan 6 18:58:31 2015 (r276759) @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -/* $Id: addrinfo.h,v 1.1 2002-08-01 08:33:05 risso Exp $ */ - #ifndef HAVE_ADDRINFO /* Modified: vendor/libpcap/dist/Win32/Include/ip6_misc.h ============================================================================== --- vendor/libpcap/dist/Win32/Include/ip6_misc.h Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/Win32/Include/ip6_misc.h Tue Jan 6 18:58:31 2015 (r276759) @@ -17,8 +17,6 @@ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - * - * @(#) $Header: /tcpdump/master/libpcap/Win32/Include/ip6_misc.h,v 1.5 2006-01-22 18:02:18 gianluca Exp $ (LBL) */ /* Modified: vendor/libpcap/dist/Win32/Src/getaddrinfo.c ============================================================================== --- vendor/libpcap/dist/Win32/Src/getaddrinfo.c Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/Win32/Src/getaddrinfo.c Tue Jan 6 18:58:31 2015 (r276759) @@ -55,11 +55,6 @@ #include #endif -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/Win32/Src/getaddrinfo.c,v 1.3 2008-09-15 23:37:51 guy Exp $"; -#endif - #include #if 0 #include Modified: vendor/libpcap/dist/Win32/Src/inet_aton.c ============================================================================== --- vendor/libpcap/dist/Win32/Src/inet_aton.c Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/Win32/Src/inet_aton.c Tue Jan 6 18:58:31 2015 (r276759) @@ -36,13 +36,6 @@ * SUCH DAMAGE. */ -/* $Id: inet_aton.c,v 1.2 2003-11-15 23:24:06 guy Exp $ */ - -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/Win32/Src/inet_aton.c,v 1.2 2003-11-15 23:24:06 guy Exp $"; -#endif - #include #include Modified: vendor/libpcap/dist/Win32/Src/inet_pton.c ============================================================================== --- vendor/libpcap/dist/Win32/Src/inet_pton.c Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/Win32/Src/inet_pton.c Tue Jan 6 18:58:31 2015 (r276759) @@ -36,13 +36,6 @@ * SUCH DAMAGE. */ -/* $Id: inet_pton.c,v 1.3 2007-09-27 18:02:20 gianluca Exp $ */ - -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/Win32/Src/inet_pton.c,v 1.3 2007-09-27 18:02:20 gianluca Exp $"; -#endif - #include #ifdef WIN32 Modified: vendor/libpcap/dist/aclocal.m4 ============================================================================== --- vendor/libpcap/dist/aclocal.m4 Tue Jan 6 18:53:09 2015 (r276758) +++ vendor/libpcap/dist/aclocal.m4 Tue Jan 6 18:58:31 2015 (r276759) @@ -1,5 +1,3 @@ -dnl @(#) $Header: /tcpdump/master/libpcap/aclocal.m4,v 1.93 2008-11-18 07:29:48 guy Exp $ (LBL) -dnl dnl Copyright (c) 1995, 1996, 1997, 1998 dnl The Regents of the University of California. All rights reserved. dnl @@ -38,16 +36,15 @@ dnl AC_LBL_C_INIT. Now, we run AC_LBL_C dnl and AC_LBL_C_INIT at the top level. dnl AC_DEFUN(AC_LBL_C_INIT_BEFORE_CC, - [AC_PREREQ(2.50) +[ AC_BEFORE([$0], [AC_LBL_C_INIT]) AC_BEFORE([$0], [AC_PROG_CC]) AC_BEFORE([$0], [AC_LBL_FIXINCLUDES]) AC_BEFORE([$0], [AC_LBL_DEVEL]) AC_ARG_WITH(gcc, [ --without-gcc don't use gcc]) - $1="-O" - $2="" + $1="" if test "${srcdir}" != "." ; then - $2="-I\$(srcdir)" + $1="-I\$(srcdir)" fi if test "${CFLAGS+set}" = set; then LBL_CFLAGS="$CFLAGS" @@ -73,9 +70,15 @@ AC_DEFUN(AC_LBL_C_INIT_BEFORE_CC, dnl dnl Determine which compiler we're using (cc or gcc) dnl If using gcc, determine the version number -dnl If using cc, require that it support ansi prototypes -dnl If using gcc, use -O2 (otherwise use -O) -dnl If using cc, explicitly specify /usr/local/include +dnl If using cc: +dnl require that it support ansi prototypes +dnl use -O (AC_PROG_CC will use -g -O2 on gcc, so we don't need to +dnl do that ourselves for gcc) +dnl add -g flags, as appropriate +dnl explicitly specify /usr/local/include +dnl +dnl NOTE WELL: with newer versions of autoconf, "gcc" means any compiler +dnl that defines __GNUC__, which means clang, for example, counts as "gcc". dnl dnl usage: dnl @@ -87,102 +90,106 @@ dnl $1 (copt set) dnl $2 (incls set) dnl CC dnl LDFLAGS -dnl ac_cv_lbl_gcc_vers dnl LBL_CFLAGS dnl AC_DEFUN(AC_LBL_C_INIT, - [AC_PREREQ(2.50) +[ AC_BEFORE([$0], [AC_LBL_FIXINCLUDES]) AC_BEFORE([$0], [AC_LBL_DEVEL]) AC_BEFORE([$0], [AC_LBL_SHLIBS_INIT]) if test "$GCC" = yes ; then - if test "$SHLICC2" = yes ; then - ac_cv_lbl_gcc_vers=2 - $1="-O2" - else - AC_MSG_CHECKING(gcc version) - AC_CACHE_VAL(ac_cv_lbl_gcc_vers, - ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \ - sed -e '/^gcc version /!d' \ - -e 's/^gcc version //' \ - -e 's/ .*//' -e 's/^[[[^0-9]]]*//' \ - -e 's/\..*//'`) - AC_MSG_RESULT($ac_cv_lbl_gcc_vers) - if test $ac_cv_lbl_gcc_vers -gt 1 ; then - $1="-O2" - fi - fi + # + # -Werror forces warnings to be errors. + # + ac_lbl_cc_force_warning_errors=-Werror else - AC_MSG_CHECKING(that $CC handles ansi prototypes) - AC_CACHE_VAL(ac_cv_lbl_cc_ansi_prototypes, - AC_TRY_COMPILE( - [#include ], - [int frob(int, char *)], - ac_cv_lbl_cc_ansi_prototypes=yes, - ac_cv_lbl_cc_ansi_prototypes=no)) - AC_MSG_RESULT($ac_cv_lbl_cc_ansi_prototypes) - if test $ac_cv_lbl_cc_ansi_prototypes = no ; then - case "$host_os" in - - hpux*) - AC_MSG_CHECKING(for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)) - savedcflags="$CFLAGS" - CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS" - AC_CACHE_VAL(ac_cv_lbl_cc_hpux_cc_aa, - AC_TRY_COMPILE( - [#include ], - [int frob(int, char *)], - ac_cv_lbl_cc_hpux_cc_aa=yes, - ac_cv_lbl_cc_hpux_cc_aa=no)) - AC_MSG_RESULT($ac_cv_lbl_cc_hpux_cc_aa) - if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then - AC_MSG_ERROR(see the INSTALL doc for more info) - fi - CFLAGS="$savedcflags" - $1="-Aa $$1" - AC_DEFINE(_HPUX_SOURCE,1,[needed on HP-UX]) - ;; - - osf*) - AC_MSG_CHECKING(for ansi mode in DEC compiler ($CC -std1)) - savedcflags="$CFLAGS" - CFLAGS="-std1" - AC_CACHE_VAL(ac_cv_lbl_cc_osf1_cc_std1, - AC_TRY_COMPILE( - [#include ], - [int frob(int, char *)], - ac_cv_lbl_cc_osf1_cc_std1=yes, - ac_cv_lbl_cc_osf1_cc_std1=no)) - AC_MSG_RESULT($ac_cv_lbl_cc_osf1_cc_std1) - if test $ac_cv_lbl_cc_osf1_cc_std1 = no ; then - AC_MSG_ERROR(see the INSTALL doc for more info) - fi - CFLAGS="$savedcflags" - $1="-std1 $$1" - ;; - - *) - AC_MSG_ERROR(see the INSTALL doc for more info) - ;; - esac - fi $2="$$2 -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" case "$host_os" in + darwin*) + # + # This is assumed either to be GCC or clang, both + # of which use -Werror to force warnings to be errors. + # + ac_lbl_cc_force_warning_errors=-Werror + ;; + + hpux*) + # + # HP C, which is what we presume we're using, doesn't + # exit with a non-zero exit status if we hand it an + # invalid -W flag, can't be forced to do so even with + # +We, and doesn't handle GCC-style -W flags, so we + # don't want to try using GCC-style -W flags. + # + ac_lbl_cc_dont_try_gcc_dashW=yes + ;; + irix*) + # + # MIPS C, which is what we presume we're using, doesn't + # necessarily exit with a non-zero exit status if we + # hand it an invalid -W flag, can't be forced to do + # so, and doesn't handle GCC-style -W flags, so we + # don't want to try using GCC-style -W flags. + # + ac_lbl_cc_dont_try_gcc_dashW=yes + # + # It also, apparently, defaults to "char" being + # unsigned, unlike most other C implementations; + # I suppose we could say "signed char" whenever + # we want to guarantee a signed "char", but let's + # just force signed chars. + # + # -xansi is normally the default, but the + # configure script was setting it; perhaps -cckr + # was the default in the Old Days. (Then again, + # that would probably be for backwards compatibility + # in the days when ANSI C was Shiny and New, i.e. + # 1989 and the early '90's, so maybe we can just + # drop support for those compilers.) + # + # -g is equivalent to -g2, which turns off + # optimization; we choose -g3, which generates + # debugging information but doesn't turn off + # optimization (even if the optimization would + # cause inaccuracies in debugging). + # $1="$$1 -xansi -signed -g3" ;; osf*) - # + # # Presumed to be DEC OSF/1, Digital UNIX, or # Tru64 UNIX. # + # The DEC C compiler, which is what we presume we're + # using, doesn't exit with a non-zero exit status if we + # hand it an invalid -W flag, can't be forced to do + # so, and doesn't handle GCC-style -W flags, so we + # don't want to try using GCC-style -W flags. + # + ac_lbl_cc_dont_try_gcc_dashW=yes + # + # -g is equivalent to -g2, which turns off + # optimization; we choose -g3, which generates + # debugging information but doesn't turn off + # optimization (even if the optimization would + # cause inaccuracies in debugging). + # $1="$$1 -g3" ;; + solaris*) + # + # Assumed to be Sun C, which requires -errwarn to force + # warnings to be treated as errors. + # + ac_lbl_cc_force_warning_errors=-errwarn + ;; + ultrix*) AC_MSG_CHECKING(that Ultrix $CC hacks const in prototypes) AC_CACHE_VAL(ac_cv_lbl_cc_const_proto, @@ -199,10 +206,179 @@ AC_DEFUN(AC_LBL_C_INIT, *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Wed Jan 7 19:55:42 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80F79FB0; Wed, 7 Jan 2015 19:55:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 66F44138B; Wed, 7 Jan 2015 19:55:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t07Jtgpf076205; Wed, 7 Jan 2015 19:55:42 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t07Jtd23076191; Wed, 7 Jan 2015 19:55:39 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201501071955.t07Jtd23076191@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 7 Jan 2015 19:55:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276789 - in vendor/compiler-rt/dist: . BlocksRuntime SDKs/darwin SDKs/darwin/usr/include SDKs/darwin/usr/include/sys SDKs/linux/usr/include cmake cmake/Modules include include/sanitize... X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 19:55:42 -0000 Author: dim Date: Wed Jan 7 19:55:37 2015 New Revision: 276789 URL: https://svnweb.freebsd.org/changeset/base/276789 Log: Import compiler-rt trunk r224034. https://llvm.org/svn/llvm-project/compiler-rt/trunk@224034 Added: vendor/compiler-rt/dist/CODE_OWNERS.TXT (contents, props changed) vendor/compiler-rt/dist/cmake/config-ix.cmake vendor/compiler-rt/dist/include/sanitizer/allocator_interface.h (contents, props changed) vendor/compiler-rt/dist/include/sanitizer/tsan_interface_atomic.h (contents, props changed) vendor/compiler-rt/dist/lib/BlocksRuntime/ vendor/compiler-rt/dist/lib/BlocksRuntime/Block.h (contents, props changed) vendor/compiler-rt/dist/lib/BlocksRuntime/Block_private.h (contents, props changed) vendor/compiler-rt/dist/lib/BlocksRuntime/data.c (contents, props changed) vendor/compiler-rt/dist/lib/BlocksRuntime/runtime.c (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_activation.cc (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_activation.h (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_debugging.cc (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_init_version.h (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_suppressions.cc (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_suppressions.h (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_win_dll_thunk.cc (contents, props changed) vendor/compiler-rt/dist/lib/asan/asan_win_dynamic_runtime_thunk.cc (contents, props changed) vendor/compiler-rt/dist/lib/asan/scripts/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/lib/asan/scripts/asan_device_setup (contents, props changed) vendor/compiler-rt/dist/lib/asan/tests/asan_asm_test.cc (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ vendor/compiler-rt/dist/lib/builtins/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/lib/builtins/Makefile.mk (contents, props changed) vendor/compiler-rt/dist/lib/builtins/README.txt (contents, props changed) vendor/compiler-rt/dist/lib/builtins/absvdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/absvsi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/absvti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/adddf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/addsf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/addtf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/addvdi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/addvsi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/addvti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/apple_versioning.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/ vendor/compiler-rt/dist/lib/builtins/arm/Makefile.mk (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/adddf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/addsf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_dcmp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_div0.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_fcmp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_idivmod.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_ldivmod.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memcmp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memcpy.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memmove.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memset.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_uidivmod.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/aeabi_uldivmod.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/bswapdi2.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/bswapsi2.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/clzdi2.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/clzsi2.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/comparesf2.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/divdf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/divmodsi4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/divsf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/divsi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/eqdf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/eqsf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/extendsfdf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/fixdfsivfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/fixsfsivfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/fixunsdfsivfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/fixunssfsivfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/floatsidfvfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/floatsisfvfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/floatunssidfvfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/floatunssisfvfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/gedf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/gesf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/gtdf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/gtsf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/ledf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/lesf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/ltdf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/ltsf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/modsi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/muldf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/mulsf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/nedf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/negdf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/negsf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/nesf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/restore_vfp_d8_d15_regs.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/save_vfp_d8_d15_regs.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/softfloat-alias.list vendor/compiler-rt/dist/lib/builtins/arm/subdf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/subsf3vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/switch16.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/switch32.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/switch8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/switchu8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync-ops.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_add_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_add_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_and_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_and_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_max_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_max_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_min_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_min_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_nand_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_nand_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_or_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_or_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_sub_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_sub_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_umax_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_umax_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_umin_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_umin_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_xor_4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_fetch_and_xor_8.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/sync_synchronize.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/truncdfsf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/udivmodsi4.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/udivsi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/umodsi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/unorddf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm/unordsf2vfp.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/arm64/ vendor/compiler-rt/dist/lib/builtins/arm64/Makefile.mk (contents, props changed) vendor/compiler-rt/dist/lib/builtins/armv6m/ vendor/compiler-rt/dist/lib/builtins/armv6m/Makefile.mk (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ashldi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ashlti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ashrdi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ashrti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/assembly.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/atomic.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/clear_cache.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/clzdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/clzsi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/clzti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/cmpdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/cmpti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/comparedf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/comparesf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/comparetf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ctzdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ctzsi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ctzti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divdc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divdf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divdi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divmoddi4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divmodsi4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divsc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divsf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divsi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divtf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/divxc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/enable_execute_stack.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/eprintf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/extenddftf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/extendsfdf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/extendsftf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ffsdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ffsti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixdfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixdfsi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixdfti.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixsfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixsfsi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixsfti.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunsdfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunsdfsi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunsdfti.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunssfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunssfsi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunssfti.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunsxfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunsxfsi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixunsxfti.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixxfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fixxfti.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatdidf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatdisf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatdixf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatsidf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatsisf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatsitf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floattidf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floattisf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floattixf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatundidf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatundisf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatundixf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatunsidf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatunsisf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatunsitf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatuntidf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatuntisf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/floatuntixf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fp_add_impl.inc (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fp_extend.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fp_extend_impl.inc (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fp_lib.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fp_mul_impl.inc (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fp_trunc.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/fp_trunc_impl.inc (contents, props changed) vendor/compiler-rt/dist/lib/builtins/gcc_personality_v0.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/ vendor/compiler-rt/dist/lib/builtins/i386/Makefile.mk (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/ashldi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/ashrdi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/divdi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/floatdidf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/floatdisf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/floatdixf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/floatundidf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/floatundisf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/floatundixf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/lshrdi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/moddi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/muldi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/udivdi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/i386/umoddi3.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/int_endianness.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/int_lib.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/int_math.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/int_types.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/int_util.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/int_util.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/lshrdi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/lshrti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/moddi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/modsi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/modti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/muldc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/muldf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/muldi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulodi4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulosi4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/muloti4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulsc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulsf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/multf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/multi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulvdi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulvsi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulvti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/mulxc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/negdf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/negdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/negsf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/negti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/negvdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/negvsi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/negvti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/paritydi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/paritysi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/parityti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/popcountdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/popcountsi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/popcountti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/powidf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/powisf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/powitf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/powixf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/ vendor/compiler-rt/dist/lib/builtins/ppc/DD.h (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/Makefile.mk (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/divtc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/fixtfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/fixunstfdi.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/floatditf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/floatunditf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/gcc_qadd.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/gcc_qdiv.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/gcc_qmul.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/gcc_qsub.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/multc3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/restFP.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ppc/saveFP.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/subdf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/subsf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/subtf3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/subvdi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/subvsi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/subvti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/trampoline_setup.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/truncdfsf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/trunctfdf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/trunctfsf2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ucmpdi2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/ucmpti2.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/udivdi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/udivmoddi4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/udivmodsi4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/udivmodti4.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/udivsi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/udivti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/umoddi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/umodsi3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/umodti3.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/x86_64/ vendor/compiler-rt/dist/lib/builtins/x86_64/Makefile.mk (contents, props changed) vendor/compiler-rt/dist/lib/builtins/x86_64/floatdidf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/x86_64/floatdisf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/x86_64/floatdixf.c (contents, props changed) vendor/compiler-rt/dist/lib/builtins/x86_64/floatundidf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/x86_64/floatundisf.S (contents, props changed) vendor/compiler-rt/dist/lib/builtins/x86_64/floatundixf.S (contents, props changed) vendor/compiler-rt/dist/lib/dfsan/libc_ubuntu1404_abilist.txt (contents, props changed) vendor/compiler-rt/dist/lib/dfsan/scripts/check_custom_wrappers.sh (contents, props changed) vendor/compiler-rt/dist/lib/msan/msan_allocator.h (contents, props changed) vendor/compiler-rt/dist/lib/msan/msan_chained_origin_depot.cc (contents, props changed) vendor/compiler-rt/dist/lib/msan/msan_chained_origin_depot.h (contents, props changed) vendor/compiler-rt/dist/lib/msan/msan_origin.h (contents, props changed) vendor/compiler-rt/dist/lib/msan/msan_thread.cc (contents, props changed) vendor/compiler-rt/dist/lib/msan/msan_thread.h (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfiling.c (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfiling.h (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfilingBuffer.c (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfilingFile.c (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfilingInternal.h (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfilingPlatformDarwin.c (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfilingPlatformOther.c (contents, props changed) vendor/compiler-rt/dist/lib/profile/InstrProfilingRuntime.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_addrhashmap.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_interface.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_asm.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_atomic_clang_other.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_atomic_clang_x86.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_bitvector.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_bvgraph.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_interceptors_format.inc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_coverage_libcdep.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_coverage_mapping_libcdep.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector1.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector2.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector_interface.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_freebsd.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_mac.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_persistent_allocator.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_persistent_allocator.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_common.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_freebsd.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_linux.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_mac.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stackdepotbase.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stacktrace_printer.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stacktrace_printer.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_tls_get_addr.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_tls_get_addr.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_unwind_posix_libcdep.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/scripts/litlint.py (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/scripts/litlint_test.py (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_bitvector_test.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_bvgraph_test.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_deadlock_detector_test.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_format_interceptor_test.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_pthread_wrappers.h (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_stacktrace_printer_test.cc (contents, props changed) vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_test_config.h (contents, props changed) vendor/compiler-rt/dist/lib/tsan/check_memcpy.sh (contents, props changed) vendor/compiler-rt/dist/lib/tsan/dd/ vendor/compiler-rt/dist/lib/tsan/dd/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/lib/tsan/dd/dd_interceptors.cc (contents, props changed) vendor/compiler-rt/dist/lib/tsan/dd/dd_rtl.cc (contents, props changed) vendor/compiler-rt/dist/lib/tsan/dd/dd_rtl.h (contents, props changed) vendor/compiler-rt/dist/lib/tsan/go/build.bat vendor/compiler-rt/dist/lib/tsan/rtl/tsan_dense_alloc.h (contents, props changed) vendor/compiler-rt/dist/lib/tsan/rtl/tsan_ignoreset.cc (contents, props changed) vendor/compiler-rt/dist/lib/tsan/rtl/tsan_ignoreset.h (contents, props changed) vendor/compiler-rt/dist/lib/tsan/rtl/tsan_stack_trace.cc (contents, props changed) vendor/compiler-rt/dist/lib/tsan/rtl/tsan_stack_trace.h (contents, props changed) vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_dense_alloc_test.cc (contents, props changed) vendor/compiler-rt/dist/lib/ubsan/ubsan_flags.cc (contents, props changed) vendor/compiler-rt/dist/lib/ubsan/ubsan_flags.h (contents, props changed) vendor/compiler-rt/dist/lib/ubsan/ubsan_init.cc (contents, props changed) vendor/compiler-rt/dist/lib/ubsan/ubsan_init.h (contents, props changed) vendor/compiler-rt/dist/make/platform/clang_macho_embedded.mk (contents, props changed) vendor/compiler-rt/dist/make/platform/clang_macho_embedded_test_input.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/ vendor/compiler-rt/dist/test/BlocksRuntime/block-static.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/blockimport.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefaccess.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefcopy.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefcopycopy.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefcopyinner.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefcopyint.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefcopystack.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefsanity.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/byrefstruct.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/c99.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/cast.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/constassign.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/copy-block-literal-rdar6439600.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/copyconstructor.C (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/copynull.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/dispatch_async.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/dispatch_call_Block_with_release.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/fail.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/flagsisa.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/globalexpression.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/goto.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/hasdescriptor.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/josh.C (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/k-and-r.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/large-struct.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/localisglobal.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/macro.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/makefile (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/modglobal.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/nestedimport.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/nullblockisa.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/objectRRGC.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/objectassign.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/orbars.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/rdar6396238.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/rdar6405500.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/rdar6414583.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/recursive-block.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/recursive-test.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/recursiveassign.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/reference.C (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/rettypepromotion.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/returnfunctionptr.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/shorthandexpression.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/sizeof.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/small-struct.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/structmember.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/testfilerunner.h (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/testfilerunner.m vendor/compiler-rt/dist/test/BlocksRuntime/varargs-bad-assign.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/varargs.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/variadic.c (contents, props changed) vendor/compiler-rt/dist/test/BlocksRuntime/voidarg.c (contents, props changed) vendor/compiler-rt/dist/test/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/asan/ vendor/compiler-rt/dist/test/asan/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/ vendor/compiler-rt/dist/test/asan/TestCases/Android/ vendor/compiler-rt/dist/test/asan/TestCases/Android/coverage-android.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Android/lit.local.cfg vendor/compiler-rt/dist/test/asan/TestCases/Darwin/ vendor/compiler-rt/dist/test/asan/TestCases/Darwin/asan_gen_prefixes.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/cstring_literals_regtest.mm vendor/compiler-rt/dist/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/interception-in-shared-lib-test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/interface_symbols_darwin.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/lit.local.cfg vendor/compiler-rt/dist/test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/malloc_zone-protected.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/objc-odr.mm vendor/compiler-rt/dist/test/asan/TestCases/Darwin/reexec-insert-libraries-env.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/suppressions-darwin.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Darwin/unset-insert-libraries-on-exec.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/ vendor/compiler-rt/dist/test/asan/TestCases/Helpers/blacklist-extra.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/echo-env.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/init-order-atexit-extra.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/init-order-pthread-create-extra.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/initialization-blacklist-extra.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/initialization-blacklist-extra2.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/initialization-blacklist.txt (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/initialization-bug-extra.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/initialization-bug-extra2.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/initialization-constexpr-extra.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/initialization-nobug-extra.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Helpers/lit.local.cfg vendor/compiler-rt/dist/test/asan/TestCases/Linux/ vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan-asm-stacktrace-test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_dlopen_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_prelink_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_preload_test-1.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_preload_test-2.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_rt_confict_test-1.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_rt_confict_test-2.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/clang_gcc_abi.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/clone_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-and-lsan.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-caller-callee-total-count.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-caller-callee.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-direct-large.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-direct.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-disabled.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-fork-direct.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-fork.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-levels.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-maybe-open-file.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-module-unloaded.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-sandboxing.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage-tracing.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/coverage.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/function-sections-are-bad.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/globals-gc-sections.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/initialization-bug-any-order.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/interception-in-shared-lib-test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/interception_malloc_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/interception_readdir_r_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/interception_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/interface_symbols_linux.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/kernel-area.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/leak.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/lit.local.cfg vendor/compiler-rt/dist/test/asan/TestCases/Linux/malloc-in-qsort.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/malloc_delete_mismatch.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/odr-violation.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/overflow-in-qsort.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/preinit_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/ptrace.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/rlimit_mmap_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/shmctl.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/sized_delete_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/stack-trace-dlclose.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/stress_dtls.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/swapcontext_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/syscalls.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/uar_signals.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Linux/unpoison_tls.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/ vendor/compiler-rt/dist/test/asan/TestCases/Posix/allow_user_segv.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/asprintf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/assign_large_valloc_to_global.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/glob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/glob_test_root/ vendor/compiler-rt/dist/test/asan/TestCases/Posix/glob_test_root/aa vendor/compiler-rt/dist/test/asan/TestCases/Posix/glob_test_root/ab vendor/compiler-rt/dist/test/asan/TestCases/Posix/glob_test_root/ba vendor/compiler-rt/dist/test/asan/TestCases/Posix/init-order-dlopen.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/ioctl.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/large_allocator_unpoisons_on_free.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/lit.local.cfg vendor/compiler-rt/dist/test/asan/TestCases/Posix/new_array_cookie_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/readv.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/shared-lib-test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/start-deactivated.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/strerror_r_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/tsd_dtor_leak.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/wait.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/wait4.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Posix/waitid.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/ vendor/compiler-rt/dist/test/asan/TestCases/Windows/aligned_mallocs.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/allocators_sanity.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/beginthreadex.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/bitfield.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/bitfield_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/calloc_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/calloc_right_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/calloc_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/crt_initializers.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/demangled_names.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_aligned_mallocs.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_allocators_sanity.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_and_lib.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_cerr.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_host.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_intercept_memchr.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_intercept_memcpy.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_intercept_memset.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_intercept_strlen.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_large_function.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_malloc_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_malloc_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_noreturn.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_null_deref.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_operator_array_new_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_poison_unpoison.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_seh.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_stack_use_after_return.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/dll_thread_stack_array_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/double_free.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/double_operator_delete.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/global_const_string.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/global_const_string_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/hello_world.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/intercept_memcpy.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/intercept_strdup.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/intercept_strlen.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/lit.local.cfg vendor/compiler-rt/dist/test/asan/TestCases/Windows/longjmp.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/malloc_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/malloc_right_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/malloc_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/null_deref.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/null_deref_multiple_dlls.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_array_new_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_array_new_right_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_array_new_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_delete_wrong_argument.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_new_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_new_right_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/operator_new_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/realloc_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/realloc_right_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/realloc_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/report_after_syminitialize.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/seh.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/stack_array_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/stack_array_right_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/stack_array_sanity.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/stack_use_after_return.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/thread_simple.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/thread_stack_array_left_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/thread_stack_array_right_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/thread_stack_reuse.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/thread_stress.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/throw_catch.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/use_after_realloc.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/use_after_return_linkage.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/windows_h.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/wrong_downcast_on_heap.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/Windows/wrong_downcast_on_stack.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/alloca_big_alignment.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/alloca_detect_custom_size_.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/alloca_instruments_all_paddings.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/alloca_overflow_partial.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/alloca_overflow_right.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/alloca_safe_access.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/alloca_underflow_left.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/allocator_returns_null.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/asan_and_llvm_coverage_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/atexit_stats.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/blacklist.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/contiguous_container.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/contiguous_container_crash.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/current_allocated_bytes.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/debug_locate.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/debug_mapping.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/debug_ppc64_mapping.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/debug_report.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/debug_stacks.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/deep_call_stack.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/deep_stack_uaf.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/deep_tail_call.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/deep_thread_stack.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/default_blacklist.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/default_options.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/describe_address.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/dlclose-test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/double-free.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/dump_instruction_bytes.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/force_inline_opt0.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/free_hook_realloc.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/frexp_interceptor.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/gc-test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/global-demangle.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/global-location.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/global-overflow.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/heap-overflow-large.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/heap-overflow.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/heavy_uar_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/huge_negative_hea_oob.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/init-order-atexit.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/init-order-pthread-create.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/initialization-blacklist.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/initialization-bug.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/initialization-constexpr.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/initialization-nobug.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/inline.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/interception_failure_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/interface_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/intra-object-overflow.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/invalid-free.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/large_func_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/log-path_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/log_path_fork_test.cc.disabled vendor/compiler-rt/dist/test/asan/TestCases/longjmp.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/lsan_annotations.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/malloc_context_size.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/malloc_fill.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/max_redzone.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/memcmp_strict_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/memcmp_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/memset_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/mmap_limit_mb.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/no_asan_gen_globals.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/null_deref.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/on_error_callback.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/partial_right.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/poison_partial.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/print_summary.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/printf-1.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/printf-2.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/printf-3.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/printf-4.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/printf-5.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/sanity_check_pure_c.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/sleep_before_dying.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/stack-buffer-overflow-with-position.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/stack-buffer-overflow.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/stack-frame-demangle.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/stack-oob-frames.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/stack-overflow.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/stack-use-after-return.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/strdup_oob_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/strip_path_prefix.c (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/strncpy-overflow.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/suppressions-function.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/suppressions-interceptor.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/suppressions-library.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/throw_call_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/throw_catch.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/throw_invoke_test.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/time_interceptor.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/uar_and_exceptions.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/unaligned_loads_and_stores.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-delete.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-free-right.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-free.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-poison.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-scope-dtor-order.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-scope-inlined.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-scope-nobug.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-scope-temp.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/use-after-scope.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/TestCases/zero_page_pc.cc (contents, props changed) vendor/compiler-rt/dist/test/asan/Unit/ vendor/compiler-rt/dist/test/asan/Unit/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/asan/android_commands/ vendor/compiler-rt/dist/test/asan/android_commands/android_common.py (contents, props changed) vendor/compiler-rt/dist/test/asan/android_commands/android_compile.py (contents, props changed) vendor/compiler-rt/dist/test/asan/android_commands/android_run.py (contents, props changed) vendor/compiler-rt/dist/test/asan/lit.cfg vendor/compiler-rt/dist/test/asan/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/builtins/ vendor/compiler-rt/dist/test/builtins/Unit/ vendor/compiler-rt/dist/test/builtins/Unit/absvdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/absvsi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/absvti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/adddf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/addsf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/addtf3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/addvdi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/addvsi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/addvti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ashldi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ashlti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ashrdi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ashrti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/bswapdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/bswapsi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/clear_cache_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/clzdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/clzsi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/clzti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/cmpdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/cmpti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/comparedf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/comparesf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ctzdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ctzsi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ctzti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divdc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divdf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divdi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divmodsi4_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divsc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divsf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divsi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divtc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divtf3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/divxc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/enable_execute_stack_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/endianness.h (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/eqdf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/eqsf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/eqtf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/extebdsfdf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/extenddftf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/extendsftf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ffsdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ffsti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixdfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixdfsivfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixdfti_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixsfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixsfsivfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixsfti_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunsdfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunsdfsi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunsdfsivfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunsdfti_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunssfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunssfsi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunssfsivfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunssfti_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunstfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunsxfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunsxfsi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixunsxfti_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixxfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fixxfti_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatdidf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatdisf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatdixf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatsidfvfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatsisfvfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatsitf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floattidf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floattisf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floattixf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatundidf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatundisf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatundixf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatunsitf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatunssidfvfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatunssisfvfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatuntidf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatuntisf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/floatuntixf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/fp_test.h (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/gcc_personality_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/gcc_personality_test_helper.cxx (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/gedf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/gesf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/getf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/gtdf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/gtsf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/gttf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ledf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/lesf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/letf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/lshrdi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/lshrti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ltdf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ltsf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/lttf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/moddi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/modsi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/modti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/muldc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/muldf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/muldi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulodi4_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulosi4_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/muloti4_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulsc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulsf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/multc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/multf3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/multi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulvdi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulvsi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulvti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/mulxc3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/nedf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/negdf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/negdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/negsf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/negti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/negvdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/negvsi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/negvti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/nesf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/netf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/paritydi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/paritysi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/parityti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/popcountdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/popcountsi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/popcountti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/powidf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/powisf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/powitf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/powixf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/ vendor/compiler-rt/dist/test/builtins/Unit/ppc/DD.h (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/fixtfdi_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/floatditf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/floatditf_test.h (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/floatunditf_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/floatunditf_test.h (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/qadd_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/qdiv_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/qmul_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/qsub_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ppc/test (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/subdf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/subsf3vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/subtf3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/subvdi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/subvsi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/subvti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/test (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/trampoline_setup_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/truncdfsf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/trunctfdf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/trunctfsf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ucmpdi2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/ucmpti2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/udivdi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/udivmoddi4_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/udivmodsi4_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/udivmodti4_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/udivsi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/udivti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/umoddi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/umodsi3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/umodti3_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/unorddf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/unordsf2vfp_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/Unit/unordtf2_test.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/ vendor/compiler-rt/dist/test/builtins/timing/ashldi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/ashrdi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/divdi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/floatdidf.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/floatdisf.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/floatdixf.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/floatundidf.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/floatundisf.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/floatundixf.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/lshrdi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/moddi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/modsi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/muldi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/negdi2.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/time (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/timing.h (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/udivdi3.c (contents, props changed) vendor/compiler-rt/dist/test/builtins/timing/umoddi3.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/ vendor/compiler-rt/dist/test/dfsan/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/dfsan/Inputs/ vendor/compiler-rt/dist/test/dfsan/Inputs/flags_abilist.txt (contents, props changed) vendor/compiler-rt/dist/test/dfsan/basic.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/custom.cc (contents, props changed) vendor/compiler-rt/dist/test/dfsan/dump_labels.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/flags.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/fncall.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/label_count.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/lit.cfg vendor/compiler-rt/dist/test/dfsan/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/dfsan/propagate.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/vararg.c (contents, props changed) vendor/compiler-rt/dist/test/dfsan/write_callback.c (contents, props changed) vendor/compiler-rt/dist/test/lit.common.cfg vendor/compiler-rt/dist/test/lit.common.configured.in (contents, props changed) vendor/compiler-rt/dist/test/lsan/ vendor/compiler-rt/dist/test/lsan/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/ vendor/compiler-rt/dist/test/lsan/TestCases/cleanup_in_tsd_destructor.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/disabler.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/disabler_in_tsd_destructor.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/do_leak_check_override.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/fork.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/fork_threaded.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/high_allocator_contention.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/ignore_object.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/ignore_object_errors.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/large_allocation_leak.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/leak_check_at_exit.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/leak_check_before_thread_started.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/link_turned_off.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/new_array_with_dtor_0.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/pointer_to_self.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/print_suppressions.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/register_root_region.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/sanity_check_pure_c.c (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/stale_stack_leak.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/suppressions_default.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/suppressions_file.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/swapcontext.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_after_return.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_globals_initialized.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_globals_uninitialized.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_poisoned_asan.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_registers.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_stacks.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_stacks_threaded.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_tls_dynamic.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_tls_pthread_specific_dynamic.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_tls_pthread_specific_static.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_tls_static.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/TestCases/use_unaligned.cc (contents, props changed) vendor/compiler-rt/dist/test/lsan/lit.common.cfg vendor/compiler-rt/dist/test/lsan/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/msan/ vendor/compiler-rt/dist/test/msan/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/ vendor/compiler-rt/dist/test/msan/Linux/getresid.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/glob.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/glob_altdirfunc.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/glob_nomatch.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/glob_test_root/ vendor/compiler-rt/dist/test/msan/Linux/glob_test_root/aa vendor/compiler-rt/dist/test/msan/Linux/glob_test_root/ab vendor/compiler-rt/dist/test/msan/Linux/glob_test_root/ba vendor/compiler-rt/dist/test/msan/Linux/lit.local.cfg vendor/compiler-rt/dist/test/msan/Linux/sunrpc.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/sunrpc_bytes.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/sunrpc_string.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/syscalls.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/tcgetattr.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/xattr.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/Linux/xattr_test_root/ vendor/compiler-rt/dist/test/msan/Linux/xattr_test_root/a vendor/compiler-rt/dist/test/msan/Unit/ vendor/compiler-rt/dist/test/msan/Unit/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/msan/allocator_returns_null.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/backtrace.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/c-strdup.c (contents, props changed) vendor/compiler-rt/dist/test/msan/chained_origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/chained_origin_empty_stack.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/chained_origin_limits.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/chained_origin_memcpy.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/chained_origin_with_signals.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/check_mem_is_initialized.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/coverage-levels.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/cxa_atexit.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/death-callback.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/default_blacklist.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/dlerror.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/dso-origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/dtls_test.c (contents, props changed) vendor/compiler-rt/dist/test/msan/errno.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/fork.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/ftime.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/getaddrinfo-positive.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/getaddrinfo.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/getc_unlocked.c (contents, props changed) vendor/compiler-rt/dist/test/msan/getline.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/heap-origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/iconv.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/if_indextoname.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/ifaddrs.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/initgroups.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/inline.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/insertvalue_origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/ioctl.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/ioctl_custom.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/ioctl_sound.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/keep-going-dso.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/keep-going.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/lit.cfg vendor/compiler-rt/dist/test/msan/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/msan/mallinfo.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/mktime.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/mmap_below_shadow.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/msan_check_mem_is_initialized.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/msan_dump_shadow.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/msan_print_shadow.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/msan_print_shadow2.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/msan_print_shadow3.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/mul_by_const.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/no_sanitize_memory.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/no_sanitize_memory_prop.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/obstack.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/param_tls_limit.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/poison_in_free.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/print_stats.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/pthread_getattr_np_deadlock.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/rand_r.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/readdir64.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/report-demangling.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/scandir.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/scandir_null.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/scandir_test_root/ vendor/compiler-rt/dist/test/msan/scandir_test_root/aaa vendor/compiler-rt/dist/test/msan/scandir_test_root/aab vendor/compiler-rt/dist/test/msan/scandir_test_root/bbb vendor/compiler-rt/dist/test/msan/select.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/select_float_origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/select_origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/setlocale.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/signal_stress_test.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/sigwait.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/sigwaitinfo.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/stack-origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/stack-origin2.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/strerror_r-non-gnu.c (contents, props changed) vendor/compiler-rt/dist/test/msan/strlen_of_shadow.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/strxfrm.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/sync_lock_set_and_test.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/textdomain.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/times.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/tls_reuse.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/tsearch.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/tzset.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/unaligned_read_origin.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/unpoison_string.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/use-after-free.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/vector_cvt.cc (contents, props changed) vendor/compiler-rt/dist/test/msan/vector_select.cc (contents, props changed) vendor/compiler-rt/dist/test/profile/ vendor/compiler-rt/dist/test/profile/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/profile/Inputs/ vendor/compiler-rt/dist/test/profile/Inputs/instrprof-dlopen-func.c (contents, props changed) vendor/compiler-rt/dist/test/profile/Inputs/instrprof-dlopen-func2.c (contents, props changed) vendor/compiler-rt/dist/test/profile/Inputs/instrprof-dlopen-main.c (contents, props changed) vendor/compiler-rt/dist/test/profile/Inputs/instrprof-dynamic-a.cpp (contents, props changed) vendor/compiler-rt/dist/test/profile/Inputs/instrprof-dynamic-b.cpp (contents, props changed) vendor/compiler-rt/dist/test/profile/Inputs/instrprof-dynamic-header.h (contents, props changed) vendor/compiler-rt/dist/test/profile/Inputs/instrprof-dynamic-main.cpp (contents, props changed) vendor/compiler-rt/dist/test/profile/instrprof-basic.c (contents, props changed) vendor/compiler-rt/dist/test/profile/instrprof-dlopen.test vendor/compiler-rt/dist/test/profile/instrprof-dynamic-one-shared.test vendor/compiler-rt/dist/test/profile/instrprof-dynamic-two-shared.test vendor/compiler-rt/dist/test/profile/instrprof-reset-counters.c (contents, props changed) vendor/compiler-rt/dist/test/profile/instrprof-set-filename.c (contents, props changed) vendor/compiler-rt/dist/test/profile/instrprof-without-libc.c (contents, props changed) vendor/compiler-rt/dist/test/profile/instrprof-write-file-atexit-explicitly.c (contents, props changed) vendor/compiler-rt/dist/test/profile/instrprof-write-file-only.c (contents, props changed) vendor/compiler-rt/dist/test/profile/instrprof-write-file.c (contents, props changed) vendor/compiler-rt/dist/test/profile/lit.cfg vendor/compiler-rt/dist/test/profile/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/ vendor/compiler-rt/dist/test/sanitizer_common/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/ vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/ vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/aligned_alloc.c (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/clock_gettime.c (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/getpass.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/lit.local.cfg vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/mlock_test.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/open_memstream.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/ptrace.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/timerfd.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/corelimit.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/malloc_hook.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/print-stack-trace.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/TestCases/pthread_mutexattr_get.cc (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/Unit/ vendor/compiler-rt/dist/test/sanitizer_common/Unit/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/sanitizer_common/lit.common.cfg vendor/compiler-rt/dist/test/sanitizer_common/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/tsan/ vendor/compiler-rt/dist/test/tsan/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/tsan/Linux/ vendor/compiler-rt/dist/test/tsan/Linux/lit.local.cfg vendor/compiler-rt/dist/test/tsan/Linux/mutex_robust.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/Linux/mutex_robust2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/Linux/user_fopen.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/Linux/user_malloc.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/Unit/ vendor/compiler-rt/dist/test/tsan/Unit/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/tsan/aligned_vs_unaligned_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/allocator_returns_null.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/atexit.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/atexit2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/atomic_free.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/atomic_free2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/atomic_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/atomic_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/atomic_stack.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/barrier.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench.h (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_acquire_only.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_acquire_release.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_local_mutex.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_mutex.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_release_only.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_rwmutex.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_shadow_flush.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_single_writer.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/bench_ten_mutexes.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/benign_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/blacklist.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/blacklist2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/cond.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/cond_cancel.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/cond_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/cond_version.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/deadlock_detector_stress_test.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/deep_stack1.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/default_options.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/deflake.bash (contents, props changed) vendor/compiler-rt/dist/test/tsan/dlclose.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_close_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_close_norace2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_dup_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_location.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_pipe_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_pipe_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_socket_connect_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_socket_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_socketpair_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fd_stdout_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fork_atexit.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fork_deadlock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fork_multithreaded.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/fork_multithreaded3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/free_race.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/free_race.c.supp vendor/compiler-rt/dist/test/tsan/free_race2.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/getline_nohang.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/global_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/global_race2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/global_race3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/halt_on_error.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/heap_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_free.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_lib0.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_lib0.cc.supp vendor/compiler-rt/dist/test/tsan/ignore_lib1.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_lib1.cc.supp vendor/compiler-rt/dist/test/tsan/ignore_lib2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_lib2.cc.supp vendor/compiler-rt/dist/test/tsan/ignore_lib3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_lib3.cc.supp vendor/compiler-rt/dist/test/tsan/ignore_lib_lib.h (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_malloc.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/ignore_sync.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/inlined_memcpy_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/inlined_memcpy_race2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/interface_atomic_test.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/java.h (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_alloc.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_finalizer.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_lock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_lock_move.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_lock_rec.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_lock_rec_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_move_overlap.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_move_overlap_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_race_move.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/java_rwlock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/libcxx/ vendor/compiler-rt/dist/test/tsan/libcxx/lit.local.cfg vendor/compiler-rt/dist/test/tsan/libcxx/std_shared_ptr.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/lit.cfg vendor/compiler-rt/dist/test/tsan/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/test/tsan/load_shared_lib.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/longjmp.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/longjmp2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/longjmp3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/longjmp4.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/malloc_overflow.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/malloc_stack.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/map32bit.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/memcpy_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mmap_large.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mop_with_offset.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mop_with_offset2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/must_deadlock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutex_bad_read_lock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutex_bad_read_unlock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutex_bad_unlock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutex_cycle2.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutex_destroy_locked.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutex_double_lock.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset1.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset4.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset5.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset6.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset7.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/mutexset8.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/printf-1.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/process_sleep.h (contents, props changed) vendor/compiler-rt/dist/test/tsan/pthread_atfork_deadlock.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_barrier.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_barrier2.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_heap.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_mutex.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_mutex2.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_puts.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_read.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_speculative_load.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_on_write.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/race_with_finished_thread.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/signal_errno.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/signal_longjmp.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/signal_malloc.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/signal_recursive.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/signal_sync.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/signal_write.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/sigsuspend.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/simple_race.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/simple_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/simple_stack.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/simple_stack2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/sleep_sync.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/sleep_sync2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/stack_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/stack_race2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/static_init1.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/static_init2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/static_init3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/static_init4.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/static_init5.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/static_init6.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/sunrpc.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/suppress_same_address.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/suppress_same_stacks.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/suppressions_global.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/suppressions_global.cc.supp vendor/compiler-rt/dist/test/tsan/suppressions_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/suppressions_race.cc.supp vendor/compiler-rt/dist/test/tsan/suppressions_race2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/suppressions_race2.cc.supp vendor/compiler-rt/dist/test/tsan/test_output.sh (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_detach.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_end_with_ignore.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_end_with_ignore2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_end_with_ignore3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_leak.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_leak2.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_leak3.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_leak4.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_leak5.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_name.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/thread_name2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/tiny_race.c (contents, props changed) vendor/compiler-rt/dist/test/tsan/tls_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/tls_race2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/tsan-vs-gvn.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/unaligned_norace.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/unaligned_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/vfork.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/virtual_inheritance_compile_bug.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/vptr_benign_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/vptr_harmful_race.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/vptr_harmful_race2.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/vptr_harmful_race3.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/vptr_harmful_race4.cc (contents, props changed) vendor/compiler-rt/dist/test/tsan/write_in_reader_lock.cc (contents, props changed) vendor/compiler-rt/dist/test/ubsan/ vendor/compiler-rt/dist/test/ubsan/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/ vendor/compiler-rt/dist/test/ubsan/TestCases/Float/ vendor/compiler-rt/dist/test/ubsan/TestCases/Float/cast-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/ vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/add-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/div-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/div-zero.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/incdec-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/mul-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/negate-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/no-recover.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/shift.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/sub-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/summary.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/uadd-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/uincdec-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/umul-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/usub-overflow.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/ vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/bool.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/bounds.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/deduplication.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/enum.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/missing_return.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/nonnull-arg.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/nonnull.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/unreachable.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/vla.c (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/ vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/Function/ vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/Function/function.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/Function/lit.local.cfg vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/misaligned.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/null.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/vptr.cpp (contents, props changed) vendor/compiler-rt/dist/test/ubsan/lit.common.cfg vendor/compiler-rt/dist/test/ubsan/lit.site.cfg.in (contents, props changed) vendor/compiler-rt/dist/unittests/ vendor/compiler-rt/dist/unittests/CMakeLists.txt (contents, props changed) vendor/compiler-rt/dist/unittests/lit.common.unit.cfg vendor/compiler-rt/dist/unittests/lit.common.unit.configured.in (contents, props changed) Deleted: vendor/compiler-rt/dist/BlocksRuntime/ vendor/compiler-rt/dist/SDKs/darwin/README.txt vendor/compiler-rt/dist/SDKs/darwin/usr/include/errno.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/fcntl.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/limits.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/stdio.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/stdlib.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/string.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/sys/errno.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/sys/fcntl.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/sys/mman.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/sys/stat.h vendor/compiler-rt/dist/SDKs/darwin/usr/include/sys/types.h vendor/compiler-rt/dist/lib/absvdi2.c vendor/compiler-rt/dist/lib/absvsi2.c vendor/compiler-rt/dist/lib/absvti2.c vendor/compiler-rt/dist/lib/adddf3.c vendor/compiler-rt/dist/lib/addsf3.c vendor/compiler-rt/dist/lib/addvdi3.c vendor/compiler-rt/dist/lib/addvsi3.c vendor/compiler-rt/dist/lib/addvti3.c vendor/compiler-rt/dist/lib/apple_versioning.c vendor/compiler-rt/dist/lib/arm/ vendor/compiler-rt/dist/lib/asan/asan_dll_thunk.cc vendor/compiler-rt/dist/lib/asan/asan_intercepted_functions.h vendor/compiler-rt/dist/lib/asan/asan_mac.h vendor/compiler-rt/dist/lib/asan/lit_tests/ vendor/compiler-rt/dist/lib/ashldi3.c vendor/compiler-rt/dist/lib/ashlti3.c vendor/compiler-rt/dist/lib/ashrdi3.c vendor/compiler-rt/dist/lib/ashrti3.c vendor/compiler-rt/dist/lib/assembly.h vendor/compiler-rt/dist/lib/atomic.c vendor/compiler-rt/dist/lib/clear_cache.c vendor/compiler-rt/dist/lib/clzdi2.c vendor/compiler-rt/dist/lib/clzsi2.c vendor/compiler-rt/dist/lib/clzti2.c vendor/compiler-rt/dist/lib/cmpdi2.c vendor/compiler-rt/dist/lib/cmpti2.c vendor/compiler-rt/dist/lib/comparedf2.c vendor/compiler-rt/dist/lib/comparesf2.c vendor/compiler-rt/dist/lib/ctzdi2.c vendor/compiler-rt/dist/lib/ctzsi2.c vendor/compiler-rt/dist/lib/ctzti2.c vendor/compiler-rt/dist/lib/dfsan/libc_ubuntu1204_abilist.txt vendor/compiler-rt/dist/lib/dfsan/lit_tests/ vendor/compiler-rt/dist/lib/divdc3.c vendor/compiler-rt/dist/lib/divdf3.c vendor/compiler-rt/dist/lib/divdi3.c vendor/compiler-rt/dist/lib/divmoddi4.c vendor/compiler-rt/dist/lib/divmodsi4.c vendor/compiler-rt/dist/lib/divsc3.c vendor/compiler-rt/dist/lib/divsf3.c vendor/compiler-rt/dist/lib/divsi3.c vendor/compiler-rt/dist/lib/divti3.c vendor/compiler-rt/dist/lib/divxc3.c vendor/compiler-rt/dist/lib/enable_execute_stack.c vendor/compiler-rt/dist/lib/eprintf.c vendor/compiler-rt/dist/lib/extendsfdf2.c vendor/compiler-rt/dist/lib/ffsdi2.c vendor/compiler-rt/dist/lib/ffsti2.c vendor/compiler-rt/dist/lib/fixdfdi.c vendor/compiler-rt/dist/lib/fixdfsi.c vendor/compiler-rt/dist/lib/fixdfti.c vendor/compiler-rt/dist/lib/fixsfdi.c vendor/compiler-rt/dist/lib/fixsfsi.c vendor/compiler-rt/dist/lib/fixsfti.c vendor/compiler-rt/dist/lib/fixunsdfdi.c vendor/compiler-rt/dist/lib/fixunsdfsi.c vendor/compiler-rt/dist/lib/fixunsdfti.c vendor/compiler-rt/dist/lib/fixunssfdi.c vendor/compiler-rt/dist/lib/fixunssfsi.c vendor/compiler-rt/dist/lib/fixunssfti.c vendor/compiler-rt/dist/lib/fixunsxfdi.c vendor/compiler-rt/dist/lib/fixunsxfsi.c vendor/compiler-rt/dist/lib/fixunsxfti.c vendor/compiler-rt/dist/lib/fixxfdi.c vendor/compiler-rt/dist/lib/fixxfti.c vendor/compiler-rt/dist/lib/floatdidf.c vendor/compiler-rt/dist/lib/floatdisf.c vendor/compiler-rt/dist/lib/floatdixf.c vendor/compiler-rt/dist/lib/floatsidf.c vendor/compiler-rt/dist/lib/floatsisf.c vendor/compiler-rt/dist/lib/floattidf.c vendor/compiler-rt/dist/lib/floattisf.c vendor/compiler-rt/dist/lib/floattixf.c vendor/compiler-rt/dist/lib/floatundidf.c vendor/compiler-rt/dist/lib/floatundisf.c vendor/compiler-rt/dist/lib/floatundixf.c vendor/compiler-rt/dist/lib/floatunsidf.c vendor/compiler-rt/dist/lib/floatunsisf.c vendor/compiler-rt/dist/lib/floatuntidf.c vendor/compiler-rt/dist/lib/floatuntisf.c vendor/compiler-rt/dist/lib/floatuntixf.c vendor/compiler-rt/dist/lib/fp_lib.h vendor/compiler-rt/dist/lib/gcc_personality_v0.c vendor/compiler-rt/dist/lib/i386/ vendor/compiler-rt/dist/lib/int_endianness.h vendor/compiler-rt/dist/lib/int_lib.h vendor/compiler-rt/dist/lib/int_math.h vendor/compiler-rt/dist/lib/int_types.h vendor/compiler-rt/dist/lib/int_util.c vendor/compiler-rt/dist/lib/int_util.h vendor/compiler-rt/dist/lib/lit.common.cfg vendor/compiler-rt/dist/lib/lit.common.configured.in vendor/compiler-rt/dist/lib/lit.common.unit.cfg vendor/compiler-rt/dist/lib/lit.common.unit.configured.in vendor/compiler-rt/dist/lib/lsan/lit_tests/ vendor/compiler-rt/dist/lib/lsan/tests/ vendor/compiler-rt/dist/lib/lshrdi3.c vendor/compiler-rt/dist/lib/lshrti3.c vendor/compiler-rt/dist/lib/moddi3.c vendor/compiler-rt/dist/lib/modsi3.c vendor/compiler-rt/dist/lib/modti3.c vendor/compiler-rt/dist/lib/msan/lit_tests/ vendor/compiler-rt/dist/lib/msan/tests/msandr_test_so.cc vendor/compiler-rt/dist/lib/msan/tests/msandr_test_so.h vendor/compiler-rt/dist/lib/msandr/ vendor/compiler-rt/dist/lib/muldc3.c vendor/compiler-rt/dist/lib/muldf3.c vendor/compiler-rt/dist/lib/muldi3.c vendor/compiler-rt/dist/lib/mulodi4.c vendor/compiler-rt/dist/lib/mulosi4.c vendor/compiler-rt/dist/lib/muloti4.c vendor/compiler-rt/dist/lib/mulsc3.c vendor/compiler-rt/dist/lib/mulsf3.c vendor/compiler-rt/dist/lib/multi3.c vendor/compiler-rt/dist/lib/mulvdi3.c vendor/compiler-rt/dist/lib/mulvsi3.c vendor/compiler-rt/dist/lib/mulvti3.c vendor/compiler-rt/dist/lib/mulxc3.c vendor/compiler-rt/dist/lib/negdf2.c vendor/compiler-rt/dist/lib/negdi2.c vendor/compiler-rt/dist/lib/negsf2.c vendor/compiler-rt/dist/lib/negti2.c vendor/compiler-rt/dist/lib/negvdi2.c vendor/compiler-rt/dist/lib/negvsi2.c vendor/compiler-rt/dist/lib/negvti2.c vendor/compiler-rt/dist/lib/paritydi2.c vendor/compiler-rt/dist/lib/paritysi2.c vendor/compiler-rt/dist/lib/parityti2.c vendor/compiler-rt/dist/lib/popcountdi2.c vendor/compiler-rt/dist/lib/popcountsi2.c vendor/compiler-rt/dist/lib/popcountti2.c vendor/compiler-rt/dist/lib/powidf2.c vendor/compiler-rt/dist/lib/powisf2.c vendor/compiler-rt/dist/lib/powitf2.c vendor/compiler-rt/dist/lib/powixf2.c vendor/compiler-rt/dist/lib/ppc/ vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_interceptors_scanf.inc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_coverage.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/lit.site.cfg.in vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc vendor/compiler-rt/dist/lib/sparc64/ vendor/compiler-rt/dist/lib/subdf3.c vendor/compiler-rt/dist/lib/subsf3.c vendor/compiler-rt/dist/lib/subvdi3.c vendor/compiler-rt/dist/lib/subvsi3.c vendor/compiler-rt/dist/lib/subvti3.c vendor/compiler-rt/dist/lib/trampoline_setup.c vendor/compiler-rt/dist/lib/truncdfsf2.c vendor/compiler-rt/dist/lib/tsan/lit_tests/ vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interface_atomic.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_symbolize_addr2line_linux.cc vendor/compiler-rt/dist/lib/ubsan/lit_tests/ vendor/compiler-rt/dist/lib/ucmpdi2.c vendor/compiler-rt/dist/lib/ucmpti2.c vendor/compiler-rt/dist/lib/udivdi3.c vendor/compiler-rt/dist/lib/udivmoddi4.c vendor/compiler-rt/dist/lib/udivmodsi4.c vendor/compiler-rt/dist/lib/udivmodti4.c vendor/compiler-rt/dist/lib/udivsi3.c vendor/compiler-rt/dist/lib/udivti3.c vendor/compiler-rt/dist/lib/umoddi3.c vendor/compiler-rt/dist/lib/umodsi3.c vendor/compiler-rt/dist/lib/umodti3.c vendor/compiler-rt/dist/lib/x86_64/ vendor/compiler-rt/dist/make/platform/clang_darwin_embedded.mk vendor/compiler-rt/dist/test/Unit/ vendor/compiler-rt/dist/test/timing/ Modified: vendor/compiler-rt/dist/.arcconfig vendor/compiler-rt/dist/.gitignore vendor/compiler-rt/dist/CMakeLists.txt vendor/compiler-rt/dist/CREDITS.TXT vendor/compiler-rt/dist/LICENSE.TXT vendor/compiler-rt/dist/Makefile vendor/compiler-rt/dist/README.txt vendor/compiler-rt/dist/SDKs/linux/usr/include/stdio.h vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake vendor/compiler-rt/dist/cmake/Modules/CompilerRTCompile.cmake vendor/compiler-rt/dist/cmake/Modules/CompilerRTLink.cmake vendor/compiler-rt/dist/cmake/Modules/CompilerRTUtils.cmake vendor/compiler-rt/dist/cmake/Modules/SanitizerUtils.cmake vendor/compiler-rt/dist/include/CMakeLists.txt vendor/compiler-rt/dist/include/sanitizer/asan_interface.h vendor/compiler-rt/dist/include/sanitizer/common_interface_defs.h vendor/compiler-rt/dist/include/sanitizer/dfsan_interface.h vendor/compiler-rt/dist/include/sanitizer/lsan_interface.h vendor/compiler-rt/dist/include/sanitizer/msan_interface.h vendor/compiler-rt/dist/lib/CMakeLists.txt vendor/compiler-rt/dist/lib/Makefile.mk vendor/compiler-rt/dist/lib/asan/CMakeLists.txt vendor/compiler-rt/dist/lib/asan/Makefile.mk vendor/compiler-rt/dist/lib/asan/README.txt vendor/compiler-rt/dist/lib/asan/asan_allocator.h vendor/compiler-rt/dist/lib/asan/asan_allocator2.cc vendor/compiler-rt/dist/lib/asan/asan_blacklist.txt vendor/compiler-rt/dist/lib/asan/asan_fake_stack.cc vendor/compiler-rt/dist/lib/asan/asan_fake_stack.h vendor/compiler-rt/dist/lib/asan/asan_flags.h vendor/compiler-rt/dist/lib/asan/asan_globals.cc vendor/compiler-rt/dist/lib/asan/asan_interceptors.cc vendor/compiler-rt/dist/lib/asan/asan_interceptors.h vendor/compiler-rt/dist/lib/asan/asan_interface_internal.h vendor/compiler-rt/dist/lib/asan/asan_internal.h vendor/compiler-rt/dist/lib/asan/asan_linux.cc vendor/compiler-rt/dist/lib/asan/asan_mac.cc vendor/compiler-rt/dist/lib/asan/asan_malloc_linux.cc vendor/compiler-rt/dist/lib/asan/asan_malloc_mac.cc vendor/compiler-rt/dist/lib/asan/asan_malloc_win.cc vendor/compiler-rt/dist/lib/asan/asan_mapping.h vendor/compiler-rt/dist/lib/asan/asan_new_delete.cc vendor/compiler-rt/dist/lib/asan/asan_poisoning.cc vendor/compiler-rt/dist/lib/asan/asan_poisoning.h vendor/compiler-rt/dist/lib/asan/asan_posix.cc vendor/compiler-rt/dist/lib/asan/asan_preinit.cc vendor/compiler-rt/dist/lib/asan/asan_report.cc vendor/compiler-rt/dist/lib/asan/asan_report.h vendor/compiler-rt/dist/lib/asan/asan_rtl.cc vendor/compiler-rt/dist/lib/asan/asan_stack.cc vendor/compiler-rt/dist/lib/asan/asan_stack.h vendor/compiler-rt/dist/lib/asan/asan_stats.cc vendor/compiler-rt/dist/lib/asan/asan_stats.h vendor/compiler-rt/dist/lib/asan/asan_thread.cc vendor/compiler-rt/dist/lib/asan/asan_thread.h vendor/compiler-rt/dist/lib/asan/asan_win.cc vendor/compiler-rt/dist/lib/asan/scripts/asan_symbolize.py vendor/compiler-rt/dist/lib/asan/tests/CMakeLists.txt vendor/compiler-rt/dist/lib/asan/tests/asan_fake_stack_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_interface_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_mem_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_noinst_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_oob_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_racy_double_free_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_str_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_test.cc vendor/compiler-rt/dist/lib/asan/tests/asan_test_config.h vendor/compiler-rt/dist/lib/asan/tests/asan_test_utils.h vendor/compiler-rt/dist/lib/dfsan/CMakeLists.txt vendor/compiler-rt/dist/lib/dfsan/dfsan.cc vendor/compiler-rt/dist/lib/dfsan/dfsan.h vendor/compiler-rt/dist/lib/dfsan/dfsan_custom.cc vendor/compiler-rt/dist/lib/dfsan/done_abilist.txt vendor/compiler-rt/dist/lib/dfsan/scripts/build-libc-list.py vendor/compiler-rt/dist/lib/interception/CMakeLists.txt vendor/compiler-rt/dist/lib/interception/interception.h vendor/compiler-rt/dist/lib/interception/interception_linux.cc vendor/compiler-rt/dist/lib/interception/interception_linux.h vendor/compiler-rt/dist/lib/interception/interception_type_test.cc vendor/compiler-rt/dist/lib/interception/interception_win.cc vendor/compiler-rt/dist/lib/interception/interception_win.h vendor/compiler-rt/dist/lib/lsan/CMakeLists.txt vendor/compiler-rt/dist/lib/lsan/lsan.cc vendor/compiler-rt/dist/lib/lsan/lsan.h vendor/compiler-rt/dist/lib/lsan/lsan_allocator.cc vendor/compiler-rt/dist/lib/lsan/lsan_allocator.h vendor/compiler-rt/dist/lib/lsan/lsan_common.cc vendor/compiler-rt/dist/lib/lsan/lsan_common.h vendor/compiler-rt/dist/lib/lsan/lsan_common_linux.cc vendor/compiler-rt/dist/lib/lsan/lsan_interceptors.cc vendor/compiler-rt/dist/lib/lsan/lsan_preinit.cc vendor/compiler-rt/dist/lib/msan/CMakeLists.txt vendor/compiler-rt/dist/lib/msan/msan.cc vendor/compiler-rt/dist/lib/msan/msan.h vendor/compiler-rt/dist/lib/msan/msan_allocator.cc vendor/compiler-rt/dist/lib/msan/msan_flags.h vendor/compiler-rt/dist/lib/msan/msan_interceptors.cc vendor/compiler-rt/dist/lib/msan/msan_interface_internal.h vendor/compiler-rt/dist/lib/msan/msan_linux.cc vendor/compiler-rt/dist/lib/msan/msan_new_delete.cc vendor/compiler-rt/dist/lib/msan/msan_report.cc vendor/compiler-rt/dist/lib/msan/tests/CMakeLists.txt vendor/compiler-rt/dist/lib/msan/tests/msan_loadable.cc vendor/compiler-rt/dist/lib/msan/tests/msan_test.cc vendor/compiler-rt/dist/lib/profile/CMakeLists.txt vendor/compiler-rt/dist/lib/profile/GCDAProfiling.c vendor/compiler-rt/dist/lib/profile/Makefile.mk vendor/compiler-rt/dist/lib/sanitizer_common/CMakeLists.txt vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_internal.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_atomic.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_atomic_clang.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_atomic_msvc.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_interceptors.inc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_libcdep.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_syscalls.inc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_flags.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_flags.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_internal_defs.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_libc.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_libc.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_libignore.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_linux.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_linux.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_linux_libcdep.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_list.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_mac.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_mutex.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_interceptors.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_linux.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_posix.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_printf.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_report_decorator.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stackdepot.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stackdepot.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stacktrace.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stacktrace.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_suppressions.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_suppressions.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_win.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_syscall_generic.inc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_syscall_linux_x86_64.inc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_thread_registry.cc vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_thread_registry.h vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_win.cc vendor/compiler-rt/dist/lib/sanitizer_common/scripts/check_lint.sh vendor/compiler-rt/dist/lib/sanitizer_common/scripts/cpplint.py vendor/compiler-rt/dist/lib/sanitizer_common/scripts/gen_dynamic_list.py vendor/compiler-rt/dist/lib/sanitizer_common/scripts/sancov.py vendor/compiler-rt/dist/lib/sanitizer_common/tests/CMakeLists.txt vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_allocator_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_atomic_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_common_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_flags_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_ioctl_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_libc_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_mutex_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_posix_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_printf_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_procmaps_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_suppressions_test.cc vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_test_utils.h vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cc vendor/compiler-rt/dist/lib/tsan/CMakeLists.txt vendor/compiler-rt/dist/lib/tsan/Makefile.old vendor/compiler-rt/dist/lib/tsan/check_analyze.sh vendor/compiler-rt/dist/lib/tsan/check_cmake.sh vendor/compiler-rt/dist/lib/tsan/go/buildgo.sh vendor/compiler-rt/dist/lib/tsan/go/test.c vendor/compiler-rt/dist/lib/tsan/go/tsan_go.cc vendor/compiler-rt/dist/lib/tsan/rtl/Makefile.old vendor/compiler-rt/dist/lib/tsan/rtl/tsan_clock.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_clock.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_defs.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_fd.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_fd.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_flags.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_flags.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interceptors.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interface_ann.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interface_atomic.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interface_java.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interface_java.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_md5.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_mman.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_mman.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_mutex.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_mutex.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_mutexset.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_platform.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_platform_linux.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_platform_mac.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_platform_windows.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_report.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_report.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_amd64.S vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_mutex.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_report.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_thread.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_stat.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_stat.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_suppressions.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_suppressions.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_symbolize.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_symbolize.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_sync.cc vendor/compiler-rt/dist/lib/tsan/rtl/tsan_sync.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_trace.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_update_shadow_word_inl.h vendor/compiler-rt/dist/lib/tsan/rtl/tsan_vector.h vendor/compiler-rt/dist/lib/tsan/tests/CMakeLists.txt vendor/compiler-rt/dist/lib/tsan/tests/rtl/tsan_test.cc vendor/compiler-rt/dist/lib/tsan/tests/rtl/tsan_test_util.h vendor/compiler-rt/dist/lib/tsan/tests/rtl/tsan_test_util_linux.cc vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_clock_test.cc vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_flags_test.cc vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_mman_test.cc vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_stack_test.cc vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_sync_test.cc vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_vector_test.cc vendor/compiler-rt/dist/lib/ubsan/CMakeLists.txt vendor/compiler-rt/dist/lib/ubsan/ubsan_diag.cc vendor/compiler-rt/dist/lib/ubsan/ubsan_diag.h vendor/compiler-rt/dist/lib/ubsan/ubsan_handlers.cc vendor/compiler-rt/dist/lib/ubsan/ubsan_handlers.h vendor/compiler-rt/dist/lib/ubsan/ubsan_handlers_cxx.cc vendor/compiler-rt/dist/lib/ubsan/ubsan_type_hash.cc vendor/compiler-rt/dist/lib/ubsan/ubsan_value.cc vendor/compiler-rt/dist/lib/ubsan/ubsan_value.h vendor/compiler-rt/dist/make/config.mk vendor/compiler-rt/dist/make/platform/clang_darwin.mk vendor/compiler-rt/dist/make/platform/clang_linux.mk vendor/compiler-rt/dist/make/platform/darwin_bni.mk vendor/compiler-rt/dist/make/platform/darwin_fat.mk vendor/compiler-rt/dist/make/subdir.mk vendor/compiler-rt/dist/www/index.html Modified: vendor/compiler-rt/dist/.arcconfig ============================================================================== --- vendor/compiler-rt/dist/.arcconfig Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/.arcconfig Wed Jan 7 19:55:37 2015 (r276789) @@ -1,4 +1,4 @@ { "project_id" : "compiler-rt", - "conduit_uri" : "http://llvm-reviews.chandlerc.com/" + "conduit_uri" : "http://reviews.llvm.org/" } Modified: vendor/compiler-rt/dist/.gitignore ============================================================================== --- vendor/compiler-rt/dist/.gitignore Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/.gitignore Wed Jan 7 19:55:37 2015 (r276789) @@ -2,3 +2,4 @@ darwin_fat clang_darwin multi_arch +*.sw? Modified: vendor/compiler-rt/dist/CMakeLists.txt ============================================================================== --- vendor/compiler-rt/dist/CMakeLists.txt Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/CMakeLists.txt Wed Jan 7 19:55:37 2015 (r276789) @@ -1,49 +1,166 @@ # CMake build for CompilerRT. # # This build assumes that CompilerRT is checked out into the -# 'projects/compiler-rt' inside of an LLVM tree, it is not a stand-alone build -# system. +# 'projects/compiler-rt' inside of an LLVM tree. +# Standalone build system for CompilerRT is not yet ready. # # An important constraint of the build is that it only produces libraries # based on the ability of the host toolchain to target various platforms. -include(LLVMParseArguments) +# Check if compiler-rt is built as a standalone project. +if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) + project(CompilerRT C CXX) + set(COMPILER_RT_STANDALONE_BUILD TRUE) +else() + set(COMPILER_RT_STANDALONE_BUILD FALSE) +endif() # The CompilerRT build system requires CMake version 2.8.8 or higher in order # to use its support for building convenience "libraries" as a collection of # .o files. This is particularly useful in producing larger, more complex # runtime libraries. -cmake_minimum_required(VERSION 2.8.8) +if (NOT MSVC) + cmake_minimum_required(VERSION 2.8.8) +else() + # Version 2.8.12.1 is required to build with Visual Studion 2013. + cmake_minimum_required(VERSION 2.8.12.1) +endif() + +# FIXME: It may be removed when we use 2.8.12. +if(CMAKE_VERSION VERSION_LESS 2.8.12) + # Invalidate a couple of keywords. + set(cmake_2_8_12_INTERFACE) + set(cmake_2_8_12_PRIVATE) +else() + # Use ${cmake_2_8_12_KEYWORD} intead of KEYWORD in target_link_libraries(). + set(cmake_2_8_12_INTERFACE INTERFACE) + set(cmake_2_8_12_PRIVATE PRIVATE) + if(POLICY CMP0022) + cmake_policy(SET CMP0022 NEW) # automatic when 2.8.12 is required + endif() +endif() # Top level target used to build all compiler-rt libraries. -add_custom_target(compiler-rt) +add_custom_target(compiler-rt ALL) + +if (NOT COMPILER_RT_STANDALONE_BUILD) + # Compute the Clang version from the LLVM version. + # FIXME: We should be able to reuse CLANG_VERSION variable calculated + # in Clang cmake files, instead of copying the rules here. + string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION + ${PACKAGE_VERSION}) + # Setup the paths where compiler-rt runtimes and headers should be stored. + set(COMPILER_RT_OUTPUT_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION}) + set(COMPILER_RT_EXEC_OUTPUT_DIR ${LLVM_RUNTIME_OUTPUT_INTDIR}) + set(COMPILER_RT_INSTALL_PATH lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}) + option(COMPILER_RT_INCLUDE_TESTS "Generate and build compiler-rt unit tests." + ${LLVM_INCLUDE_TESTS}) + option(COMPILER_RT_ENABLE_WERROR "Fail and stop if warning is triggered" + ${LLVM_ENABLE_WERROR}) + # Use just-built Clang to compile/link tests on all platforms, except for + # Windows where we need to use clang-cl instead. + if(NOT MSVC) + set(COMPILER_RT_TEST_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang) + else() + set(COMPILER_RT_TEST_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang.exe) + endif() +else() + # Take output dir and install path from the user. + set(COMPILER_RT_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH + "Path where built compiler-rt libraries should be stored.") + set(COMPILER_RT_EXEC_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/bin CACHE PATH + "Path where built compiler-rt executables should be stored.") + set(COMPILER_RT_INSTALL_PATH ${CMAKE_INSTALL_PREFIX} CACHE PATH + "Path where built compiler-rt libraries should be installed.") + option(COMPILER_RT_INCLUDE_TESTS "Generate and build compiler-rt unit tests." OFF) + option(COMPILER_RT_ENABLE_WERROR "Fail and stop if warning is triggered" OFF) + # Use a host compiler to compile/link tests. + set(COMPILER_RT_TEST_COMPILER ${CMAKE_C_COMPILER} CACHE PATH "Compiler to use for testing") + + if (NOT LLVM_CONFIG_PATH) + find_program(LLVM_CONFIG_PATH "llvm-config" + DOC "Path to llvm-config binary") + if (NOT LLVM_CONFIG_PATH) + message(FATAL_ERROR "llvm-config not found: specify LLVM_CONFIG_PATH") + endif() + endif() + execute_process( + COMMAND ${LLVM_CONFIG_PATH} "--obj-root" "--bindir" "--libdir" "--src-root" + RESULT_VARIABLE HAD_ERROR + OUTPUT_VARIABLE CONFIG_OUTPUT) + if (HAD_ERROR) + message(FATAL_ERROR "llvm-config failed with status ${HAD_ERROR}") + endif() + string(REGEX REPLACE "[ \t]*[\r\n]+[ \t]*" ";" CONFIG_OUTPUT ${CONFIG_OUTPUT}) + list(GET CONFIG_OUTPUT 0 LLVM_BINARY_DIR) + list(GET CONFIG_OUTPUT 1 LLVM_TOOLS_BINARY_DIR) + list(GET CONFIG_OUTPUT 2 LLVM_LIBRARY_DIR) + list(GET CONFIG_OUTPUT 3 LLVM_MAIN_SRC_DIR) + + # Make use of LLVM CMake modules. + file(TO_CMAKE_PATH ${LLVM_BINARY_DIR} LLVM_BINARY_DIR_CMAKE_STYLE) + set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/share/llvm/cmake") + list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}") + # Get some LLVM variables from LLVMConfig. + include("${LLVM_CMAKE_PATH}/LLVMConfig.cmake") + + set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib) + + # Find Python interpreter. + set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5) + include(FindPythonInterp) + if(NOT PYTHONINTERP_FOUND) + message(FATAL_ERROR " + Unable to find Python interpreter required testing. Please install Python + or specify the PYTHON_EXECUTABLE CMake variable.") + endif() + + # Define default arguments to lit. + set(LIT_ARGS_DEFAULT "-sv") + if (MSVC OR XCODE) + set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar") + endif() + set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit") +endif() + +if("${COMPILER_RT_TEST_COMPILER}" MATCHES "clang[+]*$") + set(COMPILER_RT_TEST_COMPILER_ID Clang) +elseif("${COMPILER_RT_TEST_COMPILER}" MATCHES "clang.*.exe$") + set(COMPILER_RT_TEST_COMPILER_ID Clang) +else() + set(COMPILER_RT_TEST_COMPILER_ID GNU) +endif() + +# Tests using XFAIL use the first value in COMPILER_RT_TEST_TARGET_TRIPLE +set(COMPILER_RT_TEST_TARGET_TRIPLE ${TARGET_TRIPLE} CACHE STRING + "Default triple for cross-compiled executables") +string(REPLACE "-" ";" TARGET_TRIPLE_LIST ${COMPILER_RT_TEST_TARGET_TRIPLE}) +list(GET TARGET_TRIPLE_LIST 0 COMPILER_RT_TEST_TARGET_ARCH) +list(GET TARGET_TRIPLE_LIST 1 COMPILER_RT_TEST_TARGET_OS) +list(GET TARGET_TRIPLE_LIST 2 COMPILER_RT_TEST_TARGET_ABI) + +if ("${COMPILER_RT_TEST_TARGET_ABI}" STREQUAL "androideabi") + set(ANDROID 1) +endif() -# Compute the Clang version from the LLVM version. -# FIXME: We should be able to reuse CLANG_VERSION variable calculated -# in Clang cmake files, instead of copying the rules here. -string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION - ${PACKAGE_VERSION}) -# Setup the paths where compiler-rt runtimes and headers should be stored. -set(LIBCLANG_INSTALL_PATH lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}) -string(TOLOWER ${CMAKE_SYSTEM_NAME} LIBCLANG_OS_DIR) -set(CLANG_RESOURCE_DIR ${LLVM_BINARY_DIR}/lib/clang/${CLANG_VERSION}) -set(COMPILER_RT_LIBRARY_OUTPUT_DIR ${CLANG_RESOURCE_DIR}/lib/${LIBCLANG_OS_DIR}) +string(TOLOWER ${CMAKE_SYSTEM_NAME} COMPILER_RT_OS_DIR) +set(COMPILER_RT_LIBRARY_OUTPUT_DIR + ${COMPILER_RT_OUTPUT_DIR}/lib/${COMPILER_RT_OS_DIR}) set(COMPILER_RT_LIBRARY_INSTALL_DIR - ${LIBCLANG_INSTALL_PATH}/lib/${LIBCLANG_OS_DIR}) + ${COMPILER_RT_INSTALL_PATH}/lib/${COMPILER_RT_OS_DIR}) -# Add path for custom modules +# Add path for custom compiler-rt modules. set(CMAKE_MODULE_PATH - ${CMAKE_MODULE_PATH} + "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules" + ${CMAKE_MODULE_PATH} ) -include(AddCompilerRT) +include(CompilerRTUtils) set(COMPILER_RT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(COMPILER_RT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) # Setup custom SDK sysroots. -set(COMPILER_RT_DARWIN_SDK_SYSROOT ${COMPILER_RT_SOURCE_DIR}/SDKs/darwin) set(COMPILER_RT_LINUX_SDK_SYSROOT ${COMPILER_RT_SOURCE_DIR}/SDKs/linux) -include(SanitizerUtils) # Detect whether the current target platform is 32-bit or 64-bit, and setup # the correct commandline flags needed to attempt to target 32-bit and 64-bit. @@ -59,9 +176,6 @@ else() set(TARGET_32_BIT_CFLAGS "") endif() -# List of architectures we can target. -set(COMPILER_RT_SUPPORTED_ARCH) - function(get_target_flags_for_arch arch out_var) list(FIND COMPILER_RT_SUPPORTED_ARCH ${arch} ARCH_INDEX) if(ARCH_INDEX EQUAL -1) @@ -71,115 +185,103 @@ function(get_target_flags_for_arch arch endif() endfunction() -# Try to compile a very simple source file to ensure we can target the given -# platform. We use the results of these tests to build only the various target -# runtime libraries supported by our current compilers cross-compiling -# abilities. -set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.c) -file(WRITE ${SIMPLE_SOURCE} "#include \nint main() {}") - -# test_target_arch( ) -# Sets the target flags for a given architecture and determines if this -# architecture is supported by trying to build a simple file. -macro(test_target_arch arch) - set(TARGET_${arch}_CFLAGS ${ARGN}) - try_compile(CAN_TARGET_${arch} ${CMAKE_BINARY_DIR} ${SIMPLE_SOURCE} - COMPILE_DEFINITIONS "${TARGET_${arch}_CFLAGS}" - CMAKE_FLAGS "-DCMAKE_EXE_LINKER_FLAGS:STRING=${TARGET_${arch}_CFLAGS}") - if(${CAN_TARGET_${arch}}) - list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch}) - endif() -endmacro() - -if("${LLVM_NATIVE_ARCH}" STREQUAL "X86") - if (NOT MSVC) - test_target_arch(x86_64 ${TARGET_64_BIT_CFLAGS}) - endif() - test_target_arch(i386 ${TARGET_32_BIT_CFLAGS}) -elseif("${LLVM_NATIVE_ARCH}" STREQUAL "PowerPC") - test_target_arch(powerpc64 ${TARGET_64_BIT_CFLAGS}) -endif() - -# We only support running instrumented tests when we're not cross compiling -# and target a unix-like system. On Android we define the rules for building -# unit tests, but don't execute them. -if("${CMAKE_HOST_SYSTEM}" STREQUAL "${CMAKE_SYSTEM}" AND UNIX AND NOT ANDROID) +# We support running instrumented tests when we're not cross compiling +# and target a UNIX-like system or Windows. +# We can run tests on Android even when we are cross-compiling. +if(("${CMAKE_HOST_SYSTEM}" STREQUAL "${CMAKE_SYSTEM}" AND (UNIX OR MSVC)) OR ANDROID + OR COMPILER_RT_EMULATOR) option(COMPILER_RT_CAN_EXECUTE_TESTS "Can we execute instrumented tests" ON) else() option(COMPILER_RT_CAN_EXECUTE_TESTS "Can we execute instrumented tests" OFF) endif() -# Check if compiler-rt is built with libc++. -find_flag_in_string("${CMAKE_CXX_FLAGS}" "-stdlib=libc++" - COMPILER_RT_USES_LIBCXX) - -function(filter_available_targets out_var) - set(archs) - foreach(arch ${ARGN}) - list(FIND COMPILER_RT_SUPPORTED_ARCH ${arch} ARCH_INDEX) - if(NOT (ARCH_INDEX EQUAL -1) AND CAN_TARGET_${arch}) - list(APPEND archs ${arch}) - endif() - endforeach() - set(${out_var} ${archs} PARENT_SCOPE) -endfunction() - option(COMPILER_RT_DEBUG "Build runtimes with full debug info" OFF) - # COMPILER_RT_DEBUG_PYBOOL is used by lit.common.configured.in. pythonize_bool(COMPILER_RT_DEBUG) -# Provide some common commmandline flags for Sanitizer runtimes. -if (NOT MSVC) - set(SANITIZER_COMMON_CFLAGS - -fPIC - -fno-builtin - -fno-exceptions - -fomit-frame-pointer - -funwind-tables - -fno-stack-protector - -Wno-gnu # Variadic macros with 0 arguments for ... - -fvisibility=hidden - ) - if (NOT COMPILER_RT_DEBUG) - list(APPEND SANITIZER_COMMON_CFLAGS -O3) - endif() -else() - set(SANITIZER_COMMON_CFLAGS - /MT - /Zi - /Oy- - /GS- - /wd4722 - ) +# We have to support both static and dynamic/shared runtime on Windows. +# Android only works with dynamic runtime. +if(WIN32 OR ANDROID) +option(COMPILER_RT_BUILD_SHARED_ASAN "Build shared version of AddressSanitizer runtime" ON) +else() +option(COMPILER_RT_BUILD_SHARED_ASAN "Build shared version of AddressSanitizer runtime" OFF) endif() -# Build sanitizer runtimes with debug info. (MSVC gets /Zi above) -if (NOT MSVC) - check_cxx_compiler_flag(-gline-tables-only SUPPORTS_GLINE_TABLES_ONLY_FLAG) - if(SUPPORTS_GLINE_TABLES_ONLY_FLAG AND NOT COMPILER_RT_DEBUG) - list(APPEND SANITIZER_COMMON_CFLAGS -gline-tables-only) - else() - list(APPEND SANITIZER_COMMON_CFLAGS -g) - endif() + +#================================ +# Setup Compiler Flags +#================================ +include(config-ix) + +if(MSVC) + append_string_if(COMPILER_RT_HAS_W3_FLAG /W3 CMAKE_C_FLAGS CMAKE_CXX_FLAGS) +else() + append_string_if(COMPILER_RT_HAS_WALL_FLAG -Wall CMAKE_C_FLAGS CMAKE_CXX_FLAGS) endif() -# Warnings suppressions. -check_cxx_compiler_flag(-Wno-variadic-macros SUPPORTS_NO_VARIADIC_MACROS_FLAG) -if(SUPPORTS_NO_VARIADIC_MACROS_FLAG) - list(APPEND SANITIZER_COMMON_CFLAGS -Wno-variadic-macros) -endif() -check_cxx_compiler_flag(-Wno-c99-extensions SUPPORTS_NO_C99_EXTENSIONS_FLAG) -if(SUPPORTS_NO_C99_EXTENSIONS_FLAG) - list(APPEND SANITIZER_COMMON_CFLAGS -Wno-c99-extensions) -endif() -# Sanitizer may not have libstdc++, so we can have problems with virtual -# destructors. -check_cxx_compiler_flag(-Wno-non-virtual-dtor SUPPORTS_NO_NON_VIRTUAL_DTOR_FLAG) -if (SUPPORTS_NO_NON_VIRTUAL_DTOR_FLAG) - list(APPEND SANITIZER_COMMON_CFLAGS -Wno-non-virtual-dtor) +if(COMPILER_RT_ENABLE_WERROR) + append_string_if(COMPILER_RT_HAS_WERROR_FLAG -Werror CMAKE_C_FLAGS CMAKE_CXX_FLAGS) + append_string_if(COMPILER_RT_HAS_WX_FLAG /WX CMAKE_C_FLAGS CMAKE_CXX_FLAGS) endif() -check_cxx_compiler_flag(-Wglobal-constructors SUPPORTS_GLOBAL_CONSTRUCTORS_FLAG) -# Not all sanitizers forbid global constructors. +append_string_if(COMPILER_RT_HAS_STD_CXX11_FLAG -std=c++11 CMAKE_CXX_FLAGS) + +# Emulate C99 and C++11's __func__ for MSVC prior to 2013 CTP. +if(NOT COMPILER_RT_HAS_FUNC_SYMBOL) + add_definitions(-D__func__=__FUNCTION__) +endif() + +# Provide some common commmandline flags for Sanitizer runtimes. +append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FNO_BUILTIN_FLAG -fno-builtin SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG -fno-exceptions SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -fomit-frame-pointer SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -funwind-tables SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -fno-stack-protector SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -fvisibility=hidden SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -fno-function-sections SANITIZER_COMMON_CFLAGS) + +if(MSVC) + # Replace the /MD[d] flags with /MT. + # FIXME: In fact, sanitizers should support both /MT and /MD, see PR20214. + if(COMPILER_RT_HAS_MT_FLAG) + foreach(flag_var + CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE + CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) + if(${flag_var} MATCHES "/MD") + string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}") + elseif(${flag_var} MATCHES "/MDd") + string(REGEX REPLACE "/MDd" "/MT" ${flag_var} "${${flag_var}}") + endif() + endforeach() + endif() + append_list_if(COMPILER_RT_HAS_Oy_FLAG /Oy- SANITIZER_COMMON_CFLAGS) + append_list_if(COMPILER_RT_HAS_GS_FLAG /GS- SANITIZER_COMMON_CFLAGS) +endif() + +# Build with optimization, unless we're in debug mode. If we're using MSVC, +# always respect the optimization flags set by CMAKE_BUILD_TYPE instead. +if(NOT COMPILER_RT_DEBUG AND NOT MSVC) + list(APPEND SANITIZER_COMMON_CFLAGS -O3) +endif() + +# Build sanitizer runtimes with debug info. +if(COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG) + list(APPEND SANITIZER_COMMON_CFLAGS -gline-tables-only) +elseif(COMPILER_RT_HAS_G_FLAG) + list(APPEND SANITIZER_COMMON_CFLAGS -g) +elseif(COMPILER_RT_HAS_Zi_FLAG) + list(APPEND SANITIZER_COMMON_CFLAGS /Zi) +endif() + +# Turn off several warnings. +append_list_if(COMPILER_RT_HAS_WGNU_FLAG -Wno-gnu SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG -Wno-variadic-macros SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG -Wno-c99-extensions SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG -Wno-non-virtual-dtor SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WD4146_FLAG /wd4146 SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WD4291_FLAG /wd4291 SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WD4391_FLAG /wd4391 SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WD4722_FLAG /wd4722 SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_HAS_WD4800_FLAG /wd4800 SANITIZER_COMMON_CFLAGS) if(APPLE) # Obtain the iOS Simulator SDK path from xcodebuild. execute_process( @@ -187,18 +289,17 @@ if(APPLE) OUTPUT_VARIABLE IOSSIM_SDK_DIR OUTPUT_STRIP_TRAILING_WHITESPACE ) + string(REGEX MATCH "-mmacosx-version-min=" + MACOSX_VERSION_MIN_FLAG "${CMAKE_CXX_FLAGS}") set(SANITIZER_COMMON_SUPPORTED_DARWIN_OS osx) - if (IOSSIM_SDK_DIR) + if (IOSSIM_SDK_DIR AND NOT MACOSX_VERSION_MIN_FLAG) list(APPEND SANITIZER_COMMON_SUPPORTED_DARWIN_OS iossim) endif() - if(COMPILER_RT_USES_LIBCXX) - set(SANITIZER_MIN_OSX_VERSION 10.7) - else() - set(SANITIZER_MIN_OSX_VERSION 10.6) - endif() + set(SANITIZER_MIN_OSX_VERSION 10.7) + set(CMAKE_OSX_DEPLOYMENT_TARGET "") # We're setting the flag manually below. set(DARWIN_osx_CFLAGS -mmacosx-version-min=${SANITIZER_MIN_OSX_VERSION}) - set(DARWIN_iossim_CFLAGS + set(DARWIN_iossim_CFLAGS -mios-simulator-version-min=7.0 -isysroot ${IOSSIM_SDK_DIR}) set(DARWIN_osx_LINKFLAGS) set(DARWIN_iossim_LINKFLAGS @@ -207,26 +308,18 @@ if(APPLE) -isysroot ${IOSSIM_SDK_DIR}) endif() -# Architectures supported by Sanitizer runtimes. Specific sanitizers may -# support only subset of these (e.g. TSan works on x86_64 only). -filter_available_targets(SANITIZER_COMMON_SUPPORTED_ARCH - x86_64 i386 powerpc64) - add_subdirectory(include) -set(SANITIZER_COMMON_LIT_TEST_DEPS - clang clang-headers FileCheck count not llvm-nm llvm-symbolizer - compiler-rt-headers) -# Check code style when running lit tests for sanitizers. -if(UNIX) - list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS SanitizerLintCheck) +set(COMPILER_RT_LIBCXX_PATH ${LLVM_MAIN_SRC_DIR}/projects/libcxx) +if(EXISTS ${COMPILER_RT_LIBCXX_PATH}/) + set(COMPILER_RT_HAS_LIBCXX_SOURCES TRUE) +else() + set(COMPILER_RT_HAS_LIBCXX_SOURCES FALSE) endif() add_subdirectory(lib) -if(LLVM_INCLUDE_TESTS) - # Currently the tests have not been ported to CMake, so disable this - # directory. - # - #add_subdirectory(test) +if(COMPILER_RT_INCLUDE_TESTS) + add_subdirectory(unittests) endif() +add_subdirectory(test) Added: vendor/compiler-rt/dist/CODE_OWNERS.TXT ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/compiler-rt/dist/CODE_OWNERS.TXT Wed Jan 7 19:55:37 2015 (r276789) @@ -0,0 +1,57 @@ +This file is a list of the people responsible for ensuring that patches for a +particular part of compiler-rt are reviewed, either by themself or by +someone else. They are also the gatekeepers for their part of compiler-rt, with +the final word on what goes in or not. + +The list is sorted by surname and formatted to allow easy grepping and +beautification by scripts. The fields are: name (N), email (E), web-address +(W), PGP key ID and fingerprint (P), description (D), and snail-mail address +(S). + +N: Peter Collingbourne +E: peter@pcc.me.uk +D: DataFlowSanitizer + +N: Daniel Dunbar +E: daniel@zuster.org +D: Makefile build + +N: Timur Iskhodzhanov +E: timurrrr@google.com +D: AddressSanitizer for Windows + +N: Howard Hinnant +E: howard.hinnant@gmail.com +D: builtins library + +N: Sergey Matveev +E: earthdok@google.com +D: LeakSanitizer + +N: Alexander Potapenko +E: glider@google.com +D: MacOS/iOS port of sanitizers + +N: Alexey Samsonov +E: samsonov@google.com +D: CMake build, test suite + +N: Kostya Serebryany +E: kcc@google.com +D: AddressSanitizer, sanitizer_common, porting sanitizers to another platforms + +N: Richard Smith +E: richard-llvm@metafoo.co.uk +D: UndefinedBehaviorSanitizer + +N: Evgeniy Stepanov +E: eugenis@google.com +D: MemorySanitizer, Android port of sanitizers + +N: Dmitry Vyukov +E: dvyukov@google.com +D: ThreadSanitizer + +N: Bill Wendling +E: isanbard@gmail.com +D: Profile runtime library Modified: vendor/compiler-rt/dist/CREDITS.TXT ============================================================================== --- vendor/compiler-rt/dist/CREDITS.TXT Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/CREDITS.TXT Wed Jan 7 19:55:37 2015 (r276789) @@ -22,3 +22,15 @@ D: Maintain Solaris & AuroraUX ports of N: Howard Hinnant E: hhinnant@apple.com D: Architect and primary author of compiler-rt + +N: Guan-Hong Liu +E: koviankevin@hotmail.com +D: IEEE Quad-precision functions + +N: Joerg Sonnenberger +E: joerg@NetBSD.org +D: Maintains NetBSD port. + +N: Matt Thomas +E: matt@NetBSD.org +D: ARM improvements. Modified: vendor/compiler-rt/dist/LICENSE.TXT ============================================================================== --- vendor/compiler-rt/dist/LICENSE.TXT Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/LICENSE.TXT Wed Jan 7 19:55:37 2015 (r276789) @@ -14,7 +14,7 @@ Full text of the relevant licenses is in University of Illinois/NCSA Open Source License -Copyright (c) 2009-2013 by the contributors listed in CREDITS.TXT +Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT All rights reserved. @@ -55,7 +55,7 @@ SOFTWARE. ============================================================================== -Copyright (c) 2009-2013 by the contributors listed in CREDITS.TXT +Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -89,9 +89,3 @@ other licenses gives permission to use t University of Illinois to endorse or promote products derived from this Software. -The following pieces of software have additional or alternate copyrights, -licenses, and/or restrictions: - -Program Directory -------- --------- -mach_override lib/interception/mach_override Modified: vendor/compiler-rt/dist/Makefile ============================================================================== --- vendor/compiler-rt/dist/Makefile Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/Makefile Wed Jan 7 19:55:37 2015 (r276789) @@ -249,10 +249,10 @@ $(call Set,Tmp.CFLAGS,$(strip \ $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.s $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir $(Summary) " ASSEMBLE: $(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch): $$<" - $(Verb) $(Tmp.CC) $(Tmp.CFLAGS) -c -o $$@ $$< + $(Verb) $(Tmp.CC) $(COMMON_ASMFLAGS) $(Tmp.CFLAGS) -c -o $$@ $$< $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.S $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir $(Summary) " ASSEMBLE: $(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch): $$<" - $(Verb) $(Tmp.CC) $(Tmp.CFLAGS) -c -o $$@ $$< + $(Verb) $(Tmp.CC) $(COMMON_ASMFLAGS) $(Tmp.CFLAGS) -c -o $$@ $$< $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.c $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir $(Summary) " COMPILE: $(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch): $$<" $(Verb) $(Tmp.CC) $(COMMON_CFLAGS) $(Tmp.CFLAGS) -c -o $$@ $$< Modified: vendor/compiler-rt/dist/README.txt ============================================================================== --- vendor/compiler-rt/dist/README.txt Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/README.txt Wed Jan 7 19:55:37 2015 (r276789) @@ -9,335 +9,3 @@ terms of the license agreement found in ================================ -This is a replacement library for libgcc. Each function is contained -in its own file. Each function has a corresponding unit test under -test/Unit. - -A rudimentary script to test each file is in the file called -test/Unit/test. - -Here is the specification for this library: - -http://gcc.gnu.org/onlinedocs/gccint/Libgcc.html#Libgcc - -Here is a synopsis of the contents of this library: - -typedef int si_int; -typedef unsigned su_int; - -typedef long long di_int; -typedef unsigned long long du_int; - -// Integral bit manipulation - -di_int __ashldi3(di_int a, si_int b); // a << b -ti_int __ashlti3(ti_int a, si_int b); // a << b - -di_int __ashrdi3(di_int a, si_int b); // a >> b arithmetic (sign fill) -ti_int __ashrti3(ti_int a, si_int b); // a >> b arithmetic (sign fill) -di_int __lshrdi3(di_int a, si_int b); // a >> b logical (zero fill) -ti_int __lshrti3(ti_int a, si_int b); // a >> b logical (zero fill) - -si_int __clzsi2(si_int a); // count leading zeros -si_int __clzdi2(di_int a); // count leading zeros -si_int __clzti2(ti_int a); // count leading zeros -si_int __ctzsi2(si_int a); // count trailing zeros -si_int __ctzdi2(di_int a); // count trailing zeros -si_int __ctzti2(ti_int a); // count trailing zeros - -si_int __ffsdi2(di_int a); // find least significant 1 bit -si_int __ffsti2(ti_int a); // find least significant 1 bit - -si_int __paritysi2(si_int a); // bit parity -si_int __paritydi2(di_int a); // bit parity -si_int __parityti2(ti_int a); // bit parity - -si_int __popcountsi2(si_int a); // bit population -si_int __popcountdi2(di_int a); // bit population -si_int __popcountti2(ti_int a); // bit population - -uint32_t __bswapsi2(uint32_t a); // a byteswapped, arm only -uint64_t __bswapdi2(uint64_t a); // a byteswapped, arm only - -// Integral arithmetic - -di_int __negdi2 (di_int a); // -a -ti_int __negti2 (ti_int a); // -a -di_int __muldi3 (di_int a, di_int b); // a * b -ti_int __multi3 (ti_int a, ti_int b); // a * b -si_int __divsi3 (si_int a, si_int b); // a / b signed -di_int __divdi3 (di_int a, di_int b); // a / b signed -ti_int __divti3 (ti_int a, ti_int b); // a / b signed -su_int __udivsi3 (su_int n, su_int d); // a / b unsigned -du_int __udivdi3 (du_int a, du_int b); // a / b unsigned -tu_int __udivti3 (tu_int a, tu_int b); // a / b unsigned -si_int __modsi3 (si_int a, si_int b); // a % b signed -di_int __moddi3 (di_int a, di_int b); // a % b signed -ti_int __modti3 (ti_int a, ti_int b); // a % b signed -su_int __umodsi3 (su_int a, su_int b); // a % b unsigned -du_int __umoddi3 (du_int a, du_int b); // a % b unsigned -tu_int __umodti3 (tu_int a, tu_int b); // a % b unsigned -du_int __udivmoddi4(du_int a, du_int b, du_int* rem); // a / b, *rem = a % b unsigned -tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem); // a / b, *rem = a % b unsigned -su_int __udivmodsi4(su_int a, su_int b, su_int* rem); // a / b, *rem = a % b unsigned -si_int __divmodsi4(si_int a, si_int b, si_int* rem); // a / b, *rem = a % b signed - - - -// Integral arithmetic with trapping overflow - -si_int __absvsi2(si_int a); // abs(a) -di_int __absvdi2(di_int a); // abs(a) -ti_int __absvti2(ti_int a); // abs(a) - -si_int __negvsi2(si_int a); // -a -di_int __negvdi2(di_int a); // -a -ti_int __negvti2(ti_int a); // -a - -si_int __addvsi3(si_int a, si_int b); // a + b -di_int __addvdi3(di_int a, di_int b); // a + b -ti_int __addvti3(ti_int a, ti_int b); // a + b - -si_int __subvsi3(si_int a, si_int b); // a - b -di_int __subvdi3(di_int a, di_int b); // a - b -ti_int __subvti3(ti_int a, ti_int b); // a - b - -si_int __mulvsi3(si_int a, si_int b); // a * b -di_int __mulvdi3(di_int a, di_int b); // a * b -ti_int __mulvti3(ti_int a, ti_int b); // a * b - - -// Integral arithmetic which returns if overflow - -si_int __mulosi4(si_int a, si_int b, int* overflow); // a * b, overflow set to one if result not in signed range -di_int __mulodi4(di_int a, di_int b, int* overflow); // a * b, overflow set to one if result not in signed range -ti_int __muloti4(ti_int a, ti_int b, int* overflow); // a * b, overflow set to - one if result not in signed range - - -// Integral comparison: a < b -> 0 -// a == b -> 1 -// a > b -> 2 - -si_int __cmpdi2 (di_int a, di_int b); -si_int __cmpti2 (ti_int a, ti_int b); -si_int __ucmpdi2(du_int a, du_int b); -si_int __ucmpti2(tu_int a, tu_int b); - -// Integral / floating point conversion - -di_int __fixsfdi( float a); -di_int __fixdfdi( double a); -di_int __fixxfdi(long double a); - -ti_int __fixsfti( float a); -ti_int __fixdfti( double a); -ti_int __fixxfti(long double a); -uint64_t __fixtfdi(long double input); // ppc only, doesn't match documentation - -su_int __fixunssfsi( float a); -su_int __fixunsdfsi( double a); -su_int __fixunsxfsi(long double a); - -du_int __fixunssfdi( float a); -du_int __fixunsdfdi( double a); -du_int __fixunsxfdi(long double a); - -tu_int __fixunssfti( float a); -tu_int __fixunsdfti( double a); -tu_int __fixunsxfti(long double a); -uint64_t __fixunstfdi(long double input); // ppc only - -float __floatdisf(di_int a); -double __floatdidf(di_int a); -long double __floatdixf(di_int a); -long double __floatditf(int64_t a); // ppc only - -float __floattisf(ti_int a); -double __floattidf(ti_int a); -long double __floattixf(ti_int a); - -float __floatundisf(du_int a); -double __floatundidf(du_int a); -long double __floatundixf(du_int a); -long double __floatunditf(uint64_t a); // ppc only - -float __floatuntisf(tu_int a); -double __floatuntidf(tu_int a); -long double __floatuntixf(tu_int a); - -// Floating point raised to integer power - -float __powisf2( float a, si_int b); // a ^ b -double __powidf2( double a, si_int b); // a ^ b -long double __powixf2(long double a, si_int b); // a ^ b -long double __powitf2(long double a, si_int b); // ppc only, a ^ b - -// Complex arithmetic - -// (a + ib) * (c + id) - - float _Complex __mulsc3( float a, float b, float c, float d); - double _Complex __muldc3(double a, double b, double c, double d); -long double _Complex __mulxc3(long double a, long double b, - long double c, long double d); -long double _Complex __multc3(long double a, long double b, - long double c, long double d); // ppc only - -// (a + ib) / (c + id) - - float _Complex __divsc3( float a, float b, float c, float d); - double _Complex __divdc3(double a, double b, double c, double d); -long double _Complex __divxc3(long double a, long double b, - long double c, long double d); -long double _Complex __divtc3(long double a, long double b, - long double c, long double d); // ppc only - - -// Runtime support - -// __clear_cache() is used to tell process that new instructions have been -// written to an address range. Necessary on processors that do not have -// a unified instuction and data cache. -void __clear_cache(void* start, void* end); - -// __enable_execute_stack() is used with nested functions when a trampoline -// function is written onto the stack and that page range needs to be made -// executable. -void __enable_execute_stack(void* addr); - -// __gcc_personality_v0() is normally only called by the system unwinder. -// C code (as opposed to C++) normally does not need a personality function -// because there are no catch clauses or destructors to be run. But there -// is a C language extension __attribute__((cleanup(func))) which marks local -// variables as needing the cleanup function "func" to be run when the -// variable goes out of scope. That includes when an exception is thrown, -// so a personality handler is needed. -_Unwind_Reason_Code __gcc_personality_v0(int version, _Unwind_Action actions, - uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject, - _Unwind_Context_t context); - -// for use with some implementations of assert() in -void __eprintf(const char* format, const char* assertion_expression, - const char* line, const char* file); - - - -// Power PC specific functions - -// There is no C interface to the saveFP/restFP functions. They are helper -// functions called by the prolog and epilog of functions that need to save -// a number of non-volatile float point registers. -saveFP -restFP - -// PowerPC has a standard template for trampoline functions. This function -// generates a custom trampoline function with the specific realFunc -// and localsPtr values. -void __trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated, - const void* realFunc, void* localsPtr); - -// adds two 128-bit double-double precision values ( x + y ) -long double __gcc_qadd(long double x, long double y); - -// subtracts two 128-bit double-double precision values ( x - y ) -long double __gcc_qsub(long double x, long double y); - -// multiples two 128-bit double-double precision values ( x * y ) -long double __gcc_qmul(long double x, long double y); - -// divides two 128-bit double-double precision values ( x / y ) -long double __gcc_qdiv(long double a, long double b); - - -// ARM specific functions - -// There is no C interface to the switch* functions. These helper functions -// are only needed by Thumb1 code for efficient switch table generation. -switch16 -switch32 -switch8 -switchu8 - -// There is no C interface to the *_vfp_d8_d15_regs functions. There are -// called in the prolog and epilog of Thumb1 functions. When the C++ ABI use -// SJLJ for exceptions, each function with a catch clause or destuctors needs -// to save and restore all registers in it prolog and epliog. But there is -// no way to access vector and high float registers from thumb1 code, so the -// compiler must add call outs to these helper functions in the prolog and -// epilog. -restore_vfp_d8_d15_regs -save_vfp_d8_d15_regs - - -// Note: long ago ARM processors did not have floating point hardware support. -// Floating point was done in software and floating point parameters were -// passed in integer registers. When hardware support was added for floating -// point, new *vfp functions were added to do the same operations but with -// floating point parameters in floating point registers. - -// Undocumented functions - -float __addsf3vfp(float a, float b); // Appears to return a + b -double __adddf3vfp(double a, double b); // Appears to return a + b -float __divsf3vfp(float a, float b); // Appears to return a / b -double __divdf3vfp(double a, double b); // Appears to return a / b -int __eqsf2vfp(float a, float b); // Appears to return one - // iff a == b and neither is NaN. -int __eqdf2vfp(double a, double b); // Appears to return one - // iff a == b and neither is NaN. -double __extendsfdf2vfp(float a); // Appears to convert from - // float to double. -int __fixdfsivfp(double a); // Appears to convert from - // double to int. -int __fixsfsivfp(float a); // Appears to convert from - // float to int. -unsigned int __fixunssfsivfp(float a); // Appears to convert from - // float to unsigned int. -unsigned int __fixunsdfsivfp(double a); // Appears to convert from - // double to unsigned int. -double __floatsidfvfp(int a); // Appears to convert from - // int to double. -float __floatsisfvfp(int a); // Appears to convert from - // int to float. -double __floatunssidfvfp(unsigned int a); // Appears to convert from - // unisgned int to double. -float __floatunssisfvfp(unsigned int a); // Appears to convert from - // unisgned int to float. -int __gedf2vfp(double a, double b); // Appears to return __gedf2 - // (a >= b) -int __gesf2vfp(float a, float b); // Appears to return __gesf2 - // (a >= b) -int __gtdf2vfp(double a, double b); // Appears to return __gtdf2 - // (a > b) -int __gtsf2vfp(float a, float b); // Appears to return __gtsf2 - // (a > b) -int __ledf2vfp(double a, double b); // Appears to return __ledf2 - // (a <= b) -int __lesf2vfp(float a, float b); // Appears to return __lesf2 - // (a <= b) -int __ltdf2vfp(double a, double b); // Appears to return __ltdf2 - // (a < b) -int __ltsf2vfp(float a, float b); // Appears to return __ltsf2 - // (a < b) -double __muldf3vfp(double a, double b); // Appears to return a * b -float __mulsf3vfp(float a, float b); // Appears to return a * b -int __nedf2vfp(double a, double b); // Appears to return __nedf2 - // (a != b) -double __negdf2vfp(double a); // Appears to return -a -float __negsf2vfp(float a); // Appears to return -a -float __negsf2vfp(float a); // Appears to return -a -double __subdf3vfp(double a, double b); // Appears to return a - b -float __subsf3vfp(float a, float b); // Appears to return a - b -float __truncdfsf2vfp(double a); // Appears to convert from - // double to float. -int __unorddf2vfp(double a, double b); // Appears to return __unorddf2 -int __unordsf2vfp(float a, float b); // Appears to return __unordsf2 - - -Preconditions are listed for each function at the definition when there are any. -Any preconditions reflect the specification at -http://gcc.gnu.org/onlinedocs/gccint/Libgcc.html#Libgcc. - -Assumptions are listed in "int_lib.h", and in individual files. Where possible -assumptions are checked at compile time. Modified: vendor/compiler-rt/dist/SDKs/linux/usr/include/stdio.h ============================================================================== --- vendor/compiler-rt/dist/SDKs/linux/usr/include/stdio.h Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/SDKs/linux/usr/include/stdio.h Wed Jan 7 19:55:37 2015 (r276789) @@ -35,6 +35,7 @@ extern int fflush(FILE *); extern FILE *fopen(const char * restrict, const char * restrict); extern FILE *fdopen(int, const char * restrict); extern int fprintf(FILE * restrict, const char * restrict, ...); +extern int fputc(int, FILE *); extern size_t fwrite(const void * restrict, size_t, size_t, FILE * restrict); extern size_t fread(void * restrict, size_t, size_t, FILE * restrict); extern long ftell(FILE *); Modified: vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake ============================================================================== --- vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake Wed Jan 7 19:55:18 2015 (r276788) +++ vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake Wed Jan 7 19:55:37 2015 (r276789) @@ -1,4 +1,5 @@ include(AddLLVM) +include(ExternalProject) include(LLVMParseArguments) include(CompilerRTUtils) @@ -13,7 +14,7 @@ macro(add_compiler_rt_object_library nam parse_arguments(LIB "SOURCES;CFLAGS;DEFS" "" ${ARGN}) add_library(${name}.${arch} OBJECT ${LIB_SOURCES}) set_target_compile_flags(${name}.${arch} - ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS}) + ${CMAKE_CXX_FLAGS} ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS}) set_property(TARGET ${name}.${arch} APPEND PROPERTY COMPILE_DEFINITIONS ${LIB_DEFS}) else() @@ -37,34 +38,47 @@ macro(add_compiler_rt_darwin_object_libr COMPILE_DEFINITIONS ${LIB_DEFS}) endmacro() -# Adds static runtime for a given architecture and puts it in the proper -# directory in the build and install trees. -# add_compiler_rt_static_runtime( -# SOURCES -# CFLAGS -# DEFS ) -macro(add_compiler_rt_static_runtime name arch) +# Adds static or shared runtime for a given architecture and puts it in the +# proper directory in the build and install trees. +# add_compiler_rt_runtime( {STATIC,SHARED} +# SOURCES +# CFLAGS +# DEFS +# OUTPUT_NAME ) +macro(add_compiler_rt_runtime name arch type) if(CAN_TARGET_${arch}) - parse_arguments(LIB "SOURCES;CFLAGS;DEFS" "" ${ARGN}) - add_library(${name} STATIC ${LIB_SOURCES}) + parse_arguments(LIB "SOURCES;CFLAGS;DEFS;OUTPUT_NAME" "" ${ARGN}) + add_library(${name} ${type} ${LIB_SOURCES}) # Setup compile flags and definitions. set_target_compile_flags(${name} ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS}) + set_target_link_flags(${name} + ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS}) set_property(TARGET ${name} APPEND PROPERTY COMPILE_DEFINITIONS ${LIB_DEFS}) # Setup correct output directory in the build tree. set_target_properties(${name} PROPERTIES - ARCHIVE_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}) + ARCHIVE_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR} + LIBRARY_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR} + RUNTIME_OUTPUT_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}) *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Wed Jan 7 19:56:42 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9DA8298; Wed, 7 Jan 2015 19:56:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADC6213B1; Wed, 7 Jan 2015 19:56:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t07Jugdi076521; Wed, 7 Jan 2015 19:56:42 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t07JugBo076520; Wed, 7 Jan 2015 19:56:42 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201501071956.t07JugBo076520@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 7 Jan 2015 19:56:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276790 - vendor/compiler-rt/compiler-rt-r224034 X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 19:56:43 -0000 Author: dim Date: Wed Jan 7 19:56:42 2015 New Revision: 276790 URL: https://svnweb.freebsd.org/changeset/base/276790 Log: Tag compiler-rt trunk r224034. Added: vendor/compiler-rt/compiler-rt-r224034/ - copied from r276789, vendor/compiler-rt/dist/ From owner-svn-src-vendor@FreeBSD.ORG Wed Jan 7 21:08:06 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D90F9AE; Wed, 7 Jan 2015 21:08:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3841F1F6C; Wed, 7 Jan 2015 21:08:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t07L869X010733; Wed, 7 Jan 2015 21:08:06 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t07L82C1010710; Wed, 7 Jan 2015 21:08:02 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201501072108.t07L82C1010710@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 7 Jan 2015 21:08:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276792 - in vendor/libc++/dist: . include include/experimental include/ext src X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 21:08:06 -0000 Author: dim Date: Wed Jan 7 21:08:01 2015 New Revision: 276792 URL: https://svnweb.freebsd.org/changeset/base/276792 Log: Vendor import of libc++ trunk r224926: https://llvm.org/svn/llvm-project/libcxx/trunk@224926 Added: vendor/libc++/dist/include/__refstring vendor/libc++/dist/include/experimental/__config vendor/libc++/dist/include/experimental/string_view vendor/libc++/dist/include/experimental/type_traits vendor/libc++/dist/include/experimental/utility vendor/libc++/dist/include/module.modulemap Modified: vendor/libc++/dist/CREDITS.TXT vendor/libc++/dist/LICENSE.TXT vendor/libc++/dist/include/__bit_reference vendor/libc++/dist/include/__config vendor/libc++/dist/include/__debug vendor/libc++/dist/include/__functional_03 vendor/libc++/dist/include/__functional_base vendor/libc++/dist/include/__functional_base_03 vendor/libc++/dist/include/__hash_table vendor/libc++/dist/include/__locale vendor/libc++/dist/include/__mutex_base vendor/libc++/dist/include/__sso_allocator vendor/libc++/dist/include/__tree vendor/libc++/dist/include/__tuple vendor/libc++/dist/include/algorithm vendor/libc++/dist/include/atomic vendor/libc++/dist/include/bitset vendor/libc++/dist/include/chrono vendor/libc++/dist/include/cmath vendor/libc++/dist/include/condition_variable vendor/libc++/dist/include/cstddef vendor/libc++/dist/include/deque vendor/libc++/dist/include/experimental/dynarray vendor/libc++/dist/include/experimental/optional vendor/libc++/dist/include/ext/__hash vendor/libc++/dist/include/ext/hash_map vendor/libc++/dist/include/forward_list vendor/libc++/dist/include/functional vendor/libc++/dist/include/future vendor/libc++/dist/include/iomanip vendor/libc++/dist/include/ios vendor/libc++/dist/include/istream vendor/libc++/dist/include/iterator vendor/libc++/dist/include/limits vendor/libc++/dist/include/list vendor/libc++/dist/include/locale vendor/libc++/dist/include/map vendor/libc++/dist/include/memory vendor/libc++/dist/include/mutex vendor/libc++/dist/include/new vendor/libc++/dist/include/numeric vendor/libc++/dist/include/ostream vendor/libc++/dist/include/random vendor/libc++/dist/include/regex vendor/libc++/dist/include/set vendor/libc++/dist/include/shared_mutex vendor/libc++/dist/include/sstream vendor/libc++/dist/include/stdexcept vendor/libc++/dist/include/string vendor/libc++/dist/include/thread vendor/libc++/dist/include/tuple vendor/libc++/dist/include/type_traits vendor/libc++/dist/include/typeinfo vendor/libc++/dist/include/unordered_map vendor/libc++/dist/include/unordered_set vendor/libc++/dist/include/utility vendor/libc++/dist/include/valarray vendor/libc++/dist/include/vector vendor/libc++/dist/src/algorithm.cpp vendor/libc++/dist/src/chrono.cpp vendor/libc++/dist/src/condition_variable.cpp vendor/libc++/dist/src/debug.cpp vendor/libc++/dist/src/exception.cpp vendor/libc++/dist/src/future.cpp vendor/libc++/dist/src/hash.cpp vendor/libc++/dist/src/ios.cpp vendor/libc++/dist/src/locale.cpp vendor/libc++/dist/src/memory.cpp vendor/libc++/dist/src/mutex.cpp vendor/libc++/dist/src/new.cpp vendor/libc++/dist/src/optional.cpp vendor/libc++/dist/src/random.cpp vendor/libc++/dist/src/regex.cpp vendor/libc++/dist/src/shared_mutex.cpp vendor/libc++/dist/src/stdexcept.cpp vendor/libc++/dist/src/string.cpp vendor/libc++/dist/src/strstream.cpp vendor/libc++/dist/src/system_error.cpp vendor/libc++/dist/src/thread.cpp vendor/libc++/dist/src/valarray.cpp Modified: vendor/libc++/dist/CREDITS.TXT ============================================================================== --- vendor/libc++/dist/CREDITS.TXT Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/CREDITS.TXT Wed Jan 7 21:08:01 2015 (r276792) @@ -33,6 +33,10 @@ E: mclow.lists@gmail.com E: marshall@idio.com D: C++14 support, patches and bug fixes. +N: Eric Fiselier +E: eric@efcs.ca +D: LFTS support, patches and bug fixes. + N: Bill Fisher E: william.w.fisher@gmail.com D: Regex bug fixes. Modified: vendor/libc++/dist/LICENSE.TXT ============================================================================== --- vendor/libc++/dist/LICENSE.TXT Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/LICENSE.TXT Wed Jan 7 21:08:01 2015 (r276792) @@ -14,7 +14,7 @@ Full text of the relevant licenses is in University of Illinois/NCSA Open Source License -Copyright (c) 2009-2013 by the contributors listed in CREDITS.TXT +Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT All rights reserved. @@ -55,7 +55,7 @@ SOFTWARE. ============================================================================== -Copyright (c) 2009-2013 by the contributors listed in CREDITS.TXT +Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal Modified: vendor/libc++/dist/include/__bit_reference ============================================================================== --- vendor/libc++/dist/include/__bit_reference Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__bit_reference Wed Jan 7 21:08:01 2015 (r276792) @@ -174,7 +174,7 @@ __find_bool_true(__bit_iterator<_Cp, _Is if (__b) return _It(__first.__seg_, static_cast(_VSTD::__ctz(__b))); if (__n == __dn) - return _It(__first.__seg_, __first.__ctz_ + __n); + return __first + __n; __n -= __dn; ++__first.__seg_; } @@ -210,7 +210,7 @@ __find_bool_false(__bit_iterator<_Cp, _I if (__b) return _It(__first.__seg_, static_cast(_VSTD::__ctz(__b))); if (__n == __dn) - return _It(__first.__seg_, __first.__ctz_ + __n); + return __first + __n; __n -= __dn; ++__first.__seg_; } @@ -705,7 +705,7 @@ inline _LIBCPP_INLINE_VISIBILITY __bit_iterator<_Cp, false> move_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_Cp, false> __result) { - return _VSTD::copy(__first, __last, __result); + return _VSTD::copy_backward(__first, __last, __result); } // swap_ranges Modified: vendor/libc++/dist/include/__config ============================================================================== --- vendor/libc++/dist/include/__config Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__config Wed Jan 7 21:08:01 2015 (r276792) @@ -19,6 +19,11 @@ #define _GNUC_VER (__GNUC__ * 100 + __GNUC_MINOR__) #endif +#if !_WIN32 +#include +#include // for ELAST on FreeBSD +#endif + #define _LIBCPP_VERSION 1101 #define _LIBCPP_ABI_VERSION 1 @@ -106,6 +111,13 @@ # endif #endif // __sun__ +#if defined(__native_client__) + // NaCl's sandbox (which PNaCl also runs in) doesn't allow filesystem access, + // including accesses to the special files under /dev. C++11's + // std::random_device is instead exposed through a NaCl syscall. +# define _LIBCPP_USING_NACL_RANDOM +#endif // defined(__native_client__) + #if !defined(_LIBCPP_LITTLE_ENDIAN) || !defined(_LIBCPP_BIG_ENDIAN) # include # if __BYTE_ORDER == __LITTLE_ENDIAN @@ -194,7 +206,7 @@ #endif #ifndef _LIBCPP_EXCEPTION_ABI -#define _LIBCPP_EXCEPTION_ABI _LIBCPP_TYPE_VIS +#define _LIBCPP_EXCEPTION_ABI __attribute__ ((__visibility__("default"))) #endif #ifndef _LIBCPP_ALWAYS_INLINE @@ -203,6 +215,11 @@ #if defined(__clang__) +#if defined(__APPLE__) && !defined(__i386__) && !defined(__x86_64__) && \ + !defined(__arm__) +#define _LIBCPP_ALTERNATE_STRING_LAYOUT +#endif + #if __has_feature(cxx_alignas) # define _ALIGNAS_TYPE(x) alignas(x) # define _ALIGNAS(x) alignas(x) @@ -215,14 +232,10 @@ #define _LIBCPP_HAS_NO_TEMPLATE_ALIASES #endif -#ifndef __GXX_EXPERIMENTAL_CXX0X__ -#ifdef __linux__ -#define _LIBCPP_HAS_NO_UNICODE_CHARS -#else +#if __cplusplus < 201103L typedef __char16_t char16_t; typedef __char32_t char32_t; #endif -#endif #if !(__has_feature(cxx_exceptions)) #define _LIBCPP_NO_EXCEPTIONS @@ -308,10 +321,16 @@ typedef __char32_t char32_t; #define _LIBCPP_HAS_NO_CONSTEXPR #endif +#if !(__has_feature(cxx_relaxed_constexpr)) +#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR +#endif + #if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L #if defined(__FreeBSD__) #define _LIBCPP_HAS_QUICK_EXIT #define _LIBCPP_HAS_C11_FEATURES +#elif defined(__ANDROID__) +#define _LIBCPP_HAS_QUICK_EXIT #elif defined(__linux__) #include #if __GLIBC_PREREQ(2, 15) @@ -326,13 +345,19 @@ typedef __char32_t char32_t; #if (__has_feature(cxx_noexcept)) # define _NOEXCEPT noexcept # define _NOEXCEPT_(x) noexcept(x) +# define _NOEXCEPT_OR_FALSE(x) noexcept(x) #else # define _NOEXCEPT throw() # define _NOEXCEPT_(x) +# define _NOEXCEPT_OR_FALSE(x) false #endif #if __has_feature(underlying_type) -# define _LIBCXX_UNDERLYING_TYPE(T) __underlying_type(T) +# define _LIBCPP_UNDERLYING_TYPE(T) __underlying_type(T) +#endif + +#if __has_feature(is_literal) +# define _LIBCPP_IS_LITERAL(T) __is_literal(T) #endif // Inline namespaces are available in Clang regardless of C++ dialect. @@ -345,6 +370,10 @@ namespace std { } } +#if !defined(_LIBCPP_HAS_NO_ASAN) && !__has_feature(address_sanitizer) +#define _LIBCPP_HAS_NO_ASAN +#endif + #elif defined(__GNUC__) #define _ALIGNAS(x) __attribute__((__aligned__(x))) @@ -352,15 +381,31 @@ namespace std { #define _LIBCPP_NORETURN __attribute__((noreturn)) +#if _GNUC_VER >= 407 +#define _LIBCPP_UNDERLYING_TYPE(T) __underlying_type(T) +#define _LIBCPP_IS_LITERAL(T) __is_literal_type(T) +#endif + #if !__EXCEPTIONS #define _LIBCPP_NO_EXCEPTIONS #endif #define _LIBCPP_HAS_NO_TEMPLATE_ALIASES + +// constexpr was added to GCC in 4.6. +#if _GNUC_VER < 406 #define _LIBCPP_HAS_NO_CONSTEXPR +// Can only use constexpr in c++11 mode. +#elif !defined(__GXX_EXPERIMENTAL_CXX0X__) && __cplusplus < 201103L +#define _LIBCPP_HAS_NO_CONSTEXPR +#endif + +// No version of GCC supports relaxed constexpr rules +#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR #define _NOEXCEPT throw() #define _NOEXCEPT_(x) +#define _NOEXCEPT_OR_FALSE(x) false #ifndef __GXX_EXPERIMENTAL_CXX0X__ @@ -374,6 +419,7 @@ namespace std { #define _LIBCPP_HAS_NO_VARIADICS #define _LIBCPP_HAS_NO_RVALUE_REFERENCES #define _LIBCPP_HAS_NO_ALWAYS_INLINE_VARIADICS +#define _LIBCPP_HAS_NO_STRONG_ENUMS #else // __GXX_EXPERIMENTAL_CXX0X__ @@ -389,9 +435,7 @@ namespace std { #endif #if _GNUC_VER < 404 -#define _LIBCPP_HAS_NO_ADVANCED_SFINAE #define _LIBCPP_HAS_NO_DECLTYPE -#define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS #define _LIBCPP_HAS_NO_DELETED_FUNCTIONS #define _LIBCPP_HAS_NO_UNICODE_CHARS #define _LIBCPP_HAS_NO_VARIADICS @@ -402,6 +446,11 @@ namespace std { #define _LIBCPP_HAS_NO_NULLPTR #endif +#if _GNUC_VER < 407 +#define _LIBCPP_HAS_NO_ADVANCED_SFINAE +#define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS +#endif + #endif // __GXX_EXPERIMENTAL_CXX0X__ #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std { namespace _LIBCPP_NAMESPACE { @@ -414,11 +463,16 @@ namespace _LIBCPP_NAMESPACE { using namespace _LIBCPP_NAMESPACE __attribute__((__strong__)); } +#if !defined(_LIBCPP_HAS_NO_ASAN) && !defined(__SANITIZE_ADDRESS__) +#define _LIBCPP_HAS_NO_ASAN +#endif + #elif defined(_LIBCPP_MSVC) #define _LIBCPP_HAS_NO_TEMPLATE_ALIASES #define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER #define _LIBCPP_HAS_NO_CONSTEXPR +#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR #define _LIBCPP_HAS_NO_UNICODE_CHARS #define _LIBCPP_HAS_NO_DELETED_FUNCTIONS #define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS @@ -427,8 +481,9 @@ using namespace _LIBCPP_NAMESPACE __attr #define _ALIGNAS(x) __declspec(align(x)) #define _LIBCPP_HAS_NO_VARIADICS -#define _NOEXCEPT throw() +#define _NOEXCEPT throw () #define _NOEXCEPT_(x) +#define _NOEXCEPT_OR_FALSE(x) false #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std { #define _LIBCPP_END_NAMESPACE_STD } @@ -438,6 +493,8 @@ using namespace _LIBCPP_NAMESPACE __attr namespace std { } +#define _LIBCPP_HAS_NO_ASAN + #elif defined(__IBMCPP__) #define _ALIGNAS(x) __attribute__((__aligned__(x))) @@ -447,6 +504,7 @@ namespace std { #define _NOEXCEPT throw() #define _NOEXCEPT_(x) +#define _NOEXCEPT_OR_FALSE(x) false #define _LIBCPP_HAS_NO_TEMPLATE_ALIASES #define _LIBCPP_HAS_NO_ADVANCED_SFINAE @@ -454,7 +512,6 @@ namespace std { #define _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS #define _LIBCPP_HAS_NO_NULLPTR #define _LIBCPP_HAS_NO_UNICODE_CHARS -#define _LIBCPP_HAS_NO_STRONG_ENUMS #define _LIBCPP_HAS_IS_BASE_OF #if defined(_AIX) @@ -470,13 +527,19 @@ namespace std { } } -#endif // __clang__ || __GNUC___ || _MSC_VER || __IBMCPP__ +#define _LIBCPP_HAS_NO_ASAN + +#endif // __clang__ || __GNUC__ || _MSC_VER || __IBMCPP__ #ifdef _LIBCPP_HAS_NO_UNICODE_CHARS typedef unsigned short char16_t; typedef unsigned int char32_t; #endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#ifndef __SIZEOF_INT128__ +#define _LIBCPP_HAS_NO_INT128 +#endif + #ifdef _LIBCPP_HAS_NO_STATIC_ASSERT template struct __static_assert_test; @@ -514,12 +577,20 @@ template struct __static_asse #define __has_feature(__x) 0 #endif -#if __has_feature(cxx_explicit_conversions) +#ifndef __has_builtin +#define __has_builtin(__x) 0 +#endif + +#if __has_feature(cxx_explicit_conversions) || defined(__IBMCPP__) # define _LIBCPP_EXPLICIT explicit #else # define _LIBCPP_EXPLICIT #endif +#if !__has_builtin(__builtin_operator_new) || !__has_builtin(__builtin_operator_delete) +# define _LIBCPP_HAS_NO_BUILTIN_OPERATOR_NEW_DELETE +#endif + #ifdef _LIBCPP_HAS_NO_STRONG_ENUMS #define _LIBCPP_DECLARE_STRONG_ENUM(x) struct _LIBCPP_TYPE_VIS x { enum __lx #define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x) \ @@ -545,16 +616,21 @@ template struct __static_asse #endif #ifndef _LIBCPP_EXTERN_TEMPLATE -#define _LIBCPP_EXTERN_TEMPLATE(...) +#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; #endif #ifndef _LIBCPP_EXTERN_TEMPLATE2 #define _LIBCPP_EXTERN_TEMPLATE2(...) extern template __VA_ARGS__; #endif +#if defined(__APPLE__) && defined(__LP64__) && !defined(__x86_64__) +#define _LIBCPP_NONUNIQUE_RTTI_BIT (1ULL << 63) +#endif + #if defined(__APPLE__) || defined(__FreeBSD__) || defined(_WIN32) || defined(__sun__) || defined(__NetBSD__) #define _LIBCPP_LOCALE__L_EXTENSIONS 1 #endif + #ifdef __FreeBSD__ #define _DECLARE_C99_LDBL_MATH 1 #endif @@ -567,10 +643,19 @@ template struct __static_asse #define _LIBCPP_WCTYPE_IS_MASK #endif -#if defined(__APPLE__) -#ifndef _LIBCPP_TRIVIAL_PAIR_COPY_CTOR -# define _LIBCPP_TRIVIAL_PAIR_COPY_CTOR 0 -#endif +#if defined(ELAST) +#define _LIBCPP_ELAST ELAST +#elif defined(__linux__) +#define _LIBCPP_ELAST 4095 +#elif defined(_NEWLIB_VERSION) +#define _LIBCPP_ELAST __ELASTERROR +#elif defined(__APPLE__) +// Not _LIBCPP_ELAST needed on Apple +#elif defined(__sun__) +#define _LIBCPP_ELAST ESTALE +#else +// Warn here so that the person doing the libcxx port has an easier time: +#warning This platform's ELAST hasn't been ported yet #endif #ifndef _LIBCPP_TRIVIAL_PAIR_COPY_CTOR @@ -580,8 +665,10 @@ template struct __static_asse #ifndef _LIBCPP_STD_VER # if __cplusplus <= 201103L # define _LIBCPP_STD_VER 11 +# elif __cplusplus <= 201402L +# define _LIBCPP_STD_VER 14 # else -# define _LIBCPP_STD_VER 13 // current year, or date of c++14 ratification +# define _LIBCPP_STD_VER 15 // current year, or date of c++17 ratification # endif #endif // _LIBCPP_STD_VER @@ -592,21 +679,30 @@ template struct __static_asse #endif #if _LIBCPP_STD_VER <= 11 -#define _LIBCPP_CONSTEXPR_AFTER_CXX11 #define _LIBCPP_EXPLICIT_AFTER_CXX11 #define _LIBCPP_DEPRECATED_AFTER_CXX11 #else -#define _LIBCPP_CONSTEXPR_AFTER_CXX11 constexpr #define _LIBCPP_EXPLICIT_AFTER_CXX11 explicit #define _LIBCPP_DEPRECATED_AFTER_CXX11 [[deprecated]] #endif +#if _LIBCPP_STD_VER > 11 && !defined(_LIBCPP_HAS_NO_CXX14_CONSTEXPR) +#define _LIBCPP_CONSTEXPR_AFTER_CXX11 constexpr +#else +#define _LIBCPP_CONSTEXPR_AFTER_CXX11 +#endif + +#ifndef _LIBCPP_HAS_NO_ASAN +extern "C" void __sanitizer_annotate_contiguous_container( + const void *, const void *, const void *, const void *); +#endif + // Try to find out if RTTI is disabled. // g++ and cl.exe have RTTI on by default and define a macro when it is. // g++ only defines the macro in 4.3.2 and onwards. #if !defined(_LIBCPP_NO_RTTI) -# if defined(__GNUG__) && (__GNUC__ >= 4 && \ - (__GNUC_MINOR__ >= 3 || __GNUC_PATCHLEVEL__ >= 2)) && !defined(__GXX_RTTI) +# if defined(__GNUG__) && ((__GNUC__ >= 5) || (__GNUC__ == 4 && \ + (__GNUC_MINOR__ >= 3 || __GNUC_PATCHLEVEL__ >= 2))) && !defined(__GXX_RTTI) # define _LIBCPP_NO_RTTI # elif (defined(_MSC_VER) && !defined(__clang__)) && !defined(_CPPRTTI) # define _LIBCPP_NO_RTTI @@ -617,4 +713,9 @@ template struct __static_asse # define _LIBCPP_WEAK __attribute__((__weak__)) #endif +#if defined(_LIBCPP_HAS_NO_MONOTONIC_CLOCK) && !defined(_LIBCPP_HAS_NO_THREADS) +# error _LIBCPP_HAS_NO_MONOTONIC_CLOCK may only be defined when \ + _LIBCPP_HAS_NO_THREADS is defined. +#endif + #endif // _LIBCPP_CONFIG Modified: vendor/libc++/dist/include/__debug ============================================================================== --- vendor/libc++/dist/include/__debug Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__debug Wed Jan 7 21:08:01 2015 (r276792) @@ -11,19 +11,23 @@ #ifndef _LIBCPP_DEBUG_H #define _LIBCPP_DEBUG_H +#include <__config> + #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif #if _LIBCPP_DEBUG_LEVEL >= 1 - # include # include # include # ifndef _LIBCPP_ASSERT # define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : (_VSTD::printf("%s\n", m), _VSTD::abort())) # endif +#endif +#ifndef _LIBCPP_ASSERT +# define _LIBCPP_ASSERT(x, m) ((void)0) #endif #if _LIBCPP_DEBUG_LEVEL >= 2 Modified: vendor/libc++/dist/include/__functional_03 ============================================================================== --- vendor/libc++/dist/include/__functional_03 Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__functional_03 Wed Jan 7 21:08:01 2015 (r276792) @@ -33,28 +33,28 @@ public: // invoke typename __invoke_return::type - operator() () + operator() () const { return __invoke(__f_); } template typename __invoke_return0::type - operator() (_A0& __a0) + operator() (_A0& __a0) const { return __invoke(__f_, __a0); } template typename __invoke_return1::type - operator() (_A0& __a0, _A1& __a1) + operator() (_A0& __a0, _A1& __a1) const { return __invoke(__f_, __a0, __a1); } template typename __invoke_return2::type - operator() (_A0& __a0, _A1& __a1, _A2& __a2) + operator() (_A0& __a0, _A1& __a1, _A2& __a2) const { return __invoke(__f_, __a0, __a1, __a2); } @@ -651,9 +651,14 @@ class _LIBCPP_TYPE_VIS_ONLY function<_Rp __base* __f_; template + _LIBCPP_INLINE_VISIBILITY static bool __not_null(const _Fp&) {return true;} template - static bool __not_null(const function<_Rp()>& __p) {return __p;} + _LIBCPP_INLINE_VISIBILITY + static bool __not_null(_R2 (*__p)()) {return __p;} + template + _LIBCPP_INLINE_VISIBILITY + static bool __not_null(const function<_R2()>& __p) {return __p;} public: typedef _Rp result_type; @@ -955,7 +960,7 @@ class _LIBCPP_TYPE_VIS_ONLY function<_Rp static bool __not_null(_R2 (_Cp::*__p)() const volatile) {return __p;} template _LIBCPP_INLINE_VISIBILITY - static bool __not_null(const function<_Rp(_B0)>& __p) {return __p;} + static bool __not_null(const function<_R2(_B0)>& __p) {return __p;} public: typedef _Rp result_type; @@ -1257,7 +1262,7 @@ class _LIBCPP_TYPE_VIS_ONLY function<_Rp static bool __not_null(_R2 (_Cp::*__p)(_B1) const volatile) {return __p;} template _LIBCPP_INLINE_VISIBILITY - static bool __not_null(const function<_Rp(_B0, _B1)>& __p) {return __p;} + static bool __not_null(const function<_R2(_B0, _B1)>& __p) {return __p;} public: typedef _Rp result_type; @@ -1558,7 +1563,7 @@ class _LIBCPP_TYPE_VIS_ONLY function<_Rp static bool __not_null(_R2 (_Cp::*__p)(_B1, _B2) const volatile) {return __p;} template _LIBCPP_INLINE_VISIBILITY - static bool __not_null(const function<_Rp(_B0, _B1, _B2)>& __p) {return __p;} + static bool __not_null(const function<_R2(_B0, _B1, _B2)>& __p) {return __p;} public: typedef _Rp result_type; @@ -1911,7 +1916,7 @@ inline _LIBCPP_INLINE_VISIBILITY typename __mu_return1::type __mu_expand(_Ti& __ti, tuple<_Uj...>&& __uj, __tuple_indices<_Indx...>) { - __ti(_VSTD::forward::type>(get<_Indx>(__uj))...); + __ti(_VSTD::forward::type>(_VSTD::get<_Indx>(__uj))...); } template @@ -1947,9 +1952,9 @@ __mu(_Ti&, _Uj& __uj) { const size_t _Indx = is_placeholder<_Ti>::value - 1; // compiler bug workaround - typename tuple_element<_Indx, _Uj>::type __t = get<_Indx>(__uj); + typename tuple_element<_Indx, _Uj>::type __t = _VSTD::get<_Indx>(__uj); return __t; -// return _VSTD::forward::type>(get<_Indx>(__uj)); +// return _VSTD::forward::type>(_VSTD::get<_Indx>(__uj)); } template @@ -2040,7 +2045,7 @@ typename __bind_return<_Fp, _BoundArgs, __apply_functor(_Fp& __f, _BoundArgs& __bound_args, __tuple_indices<_Indx...>, _Args&& __args) { - return __invoke(__f, __mu(get<_Indx>(__bound_args), __args)...); + return __invoke(__f, __mu(_VSTD::get<_Indx>(__bound_args), __args)...); } template Modified: vendor/libc++/dist/include/__functional_base ============================================================================== --- vendor/libc++/dist/include/__functional_base Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__functional_base Wed Jan 7 21:08:01 2015 (r276792) @@ -451,10 +451,10 @@ public: } }; -template struct ____is_reference_wrapper : public false_type {}; -template struct ____is_reference_wrapper > : public true_type {}; +template struct __is_reference_wrapper_impl : public false_type {}; +template struct __is_reference_wrapper_impl > : public true_type {}; template struct __is_reference_wrapper - : public ____is_reference_wrapper::type> {}; + : public __is_reference_wrapper_impl::type> {}; template inline _LIBCPP_INLINE_VISIBILITY Modified: vendor/libc++/dist/include/__functional_base_03 ============================================================================== --- vendor/libc++/dist/include/__functional_base_03 Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__functional_base_03 Wed Jan 7 21:08:01 2015 (r276792) @@ -1027,7 +1027,7 @@ public: typename __invoke_return0::type operator() (_A0& __a0) const { - return __invoke(get(), __a0); + return __invoke(get(), __a0); } template @@ -1035,7 +1035,7 @@ public: typename __invoke_return1::type operator() (_A0& __a0, _A1& __a1) const { - return __invoke(get(), __a0, __a1); + return __invoke(get(), __a0, __a1); } template @@ -1043,14 +1043,14 @@ public: typename __invoke_return2::type operator() (_A0& __a0, _A1& __a1, _A2& __a2) const { - return __invoke(get(), __a0, __a1, __a2); + return __invoke(get(), __a0, __a1, __a2); } }; -template struct ____is_reference_wrapper : public false_type {}; -template struct ____is_reference_wrapper > : public true_type {}; +template struct __is_reference_wrapper_impl : public false_type {}; +template struct __is_reference_wrapper_impl > : public true_type {}; template struct __is_reference_wrapper - : public ____is_reference_wrapper::type> {}; + : public __is_reference_wrapper_impl::type> {}; template inline _LIBCPP_INLINE_VISIBILITY Modified: vendor/libc++/dist/include/__hash_table ============================================================================== --- vendor/libc++/dist/include/__hash_table Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__hash_table Wed Jan 7 21:08:01 2015 (r276792) @@ -20,11 +20,7 @@ #include <__undef_min_max> -#ifdef _LIBCPP_DEBUG -# include <__debug> -#else -# define _LIBCPP_ASSERT(x, m) ((void)0) -#endif +#include <__debug> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header Modified: vendor/libc++/dist/include/__locale ============================================================================== --- vendor/libc++/dist/include/__locale Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__locale Wed Jan 7 21:08:01 2015 (r276792) @@ -21,11 +21,22 @@ #include #if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__) # include -#elif _AIX +#elif defined(_AIX) # include -#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__)) || defined(__EMSCRIPTEN__) || defined(__IBMCPP__) +#elif defined(__ANDROID__) +// Android gained the locale aware functions in L (API level 21) +# include +# if __ANDROID_API__ <= 20 +# include +# endif +#elif defined(__sun__) +# include +#elif defined(_NEWLIB_VERSION) +# include +#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) \ + || defined(__EMSCRIPTEN__) || defined(__IBMCPP__)) # include -#endif // _WIN32 || __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__ +#endif // __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header @@ -341,13 +352,15 @@ public: static const mask punct = _PUNCT; static const mask xdigit = _HEX; static const mask blank = _BLANK; -#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) || defined(__NetBSD__) +#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) || defined(__NetBSD__) || defined(__ANDROID__) #ifdef __APPLE__ typedef __uint32_t mask; #elif defined(__FreeBSD__) typedef unsigned long mask; #elif defined(__EMSCRIPTEN__) || defined(__NetBSD__) typedef unsigned short mask; +#elif defined(__ANDROID__) + typedef unsigned char mask; #endif static const mask space = _CTYPE_S; static const mask print = _CTYPE_R; @@ -357,7 +370,12 @@ public: static const mask alpha = _CTYPE_A; static const mask digit = _CTYPE_D; static const mask punct = _CTYPE_P; +# if defined(__ANDROID__) + static const mask xdigit = _CTYPE_X | _CTYPE_D; +# else static const mask xdigit = _CTYPE_X; +# endif + # if defined(__NetBSD__) static const mask blank = _CTYPE_BL; # else Modified: vendor/libc++/dist/include/__mutex_base ============================================================================== --- vendor/libc++/dist/include/__mutex_base Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__mutex_base Wed Jan 7 21:08:01 2015 (r276792) @@ -22,6 +22,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD +#ifndef _LIBCPP_HAS_NO_THREADS + class _LIBCPP_TYPE_VIS mutex { pthread_mutex_t __m_; @@ -254,19 +256,13 @@ void swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) _NOEXCEPT {__x.swap(__y);} -struct _LIBCPP_TYPE_VIS cv_status +//enum class cv_status +_LIBCPP_DECLARE_STRONG_ENUM(cv_status) { - enum __lx { - no_timeout, - timeout - }; - - __lx __v_; - - _LIBCPP_INLINE_VISIBILITY cv_status(__lx __v) : __v_(__v) {} - _LIBCPP_INLINE_VISIBILITY operator int() const {return __v_;} - + no_timeout, + timeout }; +_LIBCPP_DECLARE_STRONG_ENUM_EPILOG(cv_status) class _LIBCPP_TYPE_VIS condition_variable { @@ -288,7 +284,7 @@ public: void notify_one() _NOEXCEPT; void notify_all() _NOEXCEPT; - void wait(unique_lock& __lk); + void wait(unique_lock& __lk) _NOEXCEPT; template void wait(unique_lock& __lk, _Predicate __pred); @@ -319,8 +315,9 @@ public: private: void __do_timed_wait(unique_lock& __lk, - chrono::time_point); + chrono::time_point) _NOEXCEPT; }; +#endif // !_LIBCPP_HAS_NO_THREADS template inline _LIBCPP_INLINE_VISIBILITY @@ -338,6 +335,7 @@ __ceil(chrono::duration<_Rep, _Period> _ return __r; } +#ifndef _LIBCPP_HAS_NO_THREADS template void condition_variable::wait(unique_lock& __lk, _Predicate __pred) @@ -402,6 +400,8 @@ condition_variable::wait_for(unique_lock _VSTD::move(__pred)); } +#endif // !_LIBCPP_HAS_NO_THREADS + _LIBCPP_END_NAMESPACE_STD #endif // _LIBCPP___MUTEX_BASE Added: vendor/libc++/dist/include/__refstring ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/libc++/dist/include/__refstring Wed Jan 7 21:08:01 2015 (r276792) @@ -0,0 +1,139 @@ +//===------------------------ __refstring ---------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef _LIBCPP___REFSTRING +#define _LIBCPP___REFSTRING + +#include <__config> +#include +#include +#if __APPLE__ +#include +#include +#endif + +_LIBCPP_BEGIN_NAMESPACE_STD + +class _LIBCPP_HIDDEN __libcpp_refstring +{ +private: + const char* str_; + + typedef int count_t; + + struct _Rep_base + { + std::size_t len; + std::size_t cap; + count_t count; + }; + + static + _Rep_base* + rep_from_data(const char *data_) _NOEXCEPT + { + char *data = const_cast(data_); + return reinterpret_cast<_Rep_base *>(data - sizeof(_Rep_base)); + } + static + char * + data_from_rep(_Rep_base *rep) _NOEXCEPT + { + char *data = reinterpret_cast(rep); + return data + sizeof(*rep); + } + +#if __APPLE__ + static + const char* + compute_gcc_empty_string_storage() _NOEXCEPT + { + void* handle = dlopen("/usr/lib/libstdc++.6.dylib", RTLD_NOLOAD); + if (handle == nullptr) + return nullptr; + void* sym = dlsym(handle, "_ZNSs4_Rep20_S_empty_rep_storageE"); + if (sym == nullptr) + return nullptr; + return data_from_rep(reinterpret_cast<_Rep_base *>(sym)); + } + + static + const char* + get_gcc_empty_string_storage() _NOEXCEPT + { + static const char* p = compute_gcc_empty_string_storage(); + return p; + } + + bool + uses_refcount() const + { + return str_ != get_gcc_empty_string_storage(); + } +#else + bool + uses_refcount() const + { + return true; + } +#endif + +public: + explicit __libcpp_refstring(const char* msg) { + std::size_t len = strlen(msg); + _Rep_base* rep = static_cast<_Rep_base *>(::operator new(sizeof(*rep) + len + 1)); + rep->len = len; + rep->cap = len; + rep->count = 0; + char *data = data_from_rep(rep); + std::memcpy(data, msg, len + 1); + str_ = data; + } + + __libcpp_refstring(const __libcpp_refstring& s) _NOEXCEPT : str_(s.str_) + { + if (uses_refcount()) + __sync_add_and_fetch(&rep_from_data(str_)->count, 1); + } + + __libcpp_refstring& operator=(const __libcpp_refstring& s) _NOEXCEPT + { + bool adjust_old_count = uses_refcount(); + struct _Rep_base *old_rep = rep_from_data(str_); + str_ = s.str_; + if (uses_refcount()) + __sync_add_and_fetch(&rep_from_data(str_)->count, 1); + if (adjust_old_count) + { + if (__sync_add_and_fetch(&old_rep->count, count_t(-1)) < 0) + { + ::operator delete(old_rep); + } + } + return *this; + } + + ~__libcpp_refstring() + { + if (uses_refcount()) + { + _Rep_base* rep = rep_from_data(str_); + if (__sync_add_and_fetch(&rep->count, count_t(-1)) < 0) + { + ::operator delete(rep); + } + } + } + + const char* c_str() const _NOEXCEPT {return str_;} +}; + +_LIBCPP_END_NAMESPACE_STD + +#endif //_LIBCPP___REFSTRING Modified: vendor/libc++/dist/include/__sso_allocator ============================================================================== --- vendor/libc++/dist/include/__sso_allocator Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__sso_allocator Wed Jan 7 21:08:01 2015 (r276792) @@ -55,14 +55,14 @@ public: __allocated_ = true; return (pointer)&buf_; } - return static_cast(::operator new(__n * sizeof(_Tp))); + return static_cast(_VSTD::__allocate(__n * sizeof(_Tp))); } _LIBCPP_INLINE_VISIBILITY void deallocate(pointer __p, size_type) { if (__p == (pointer)&buf_) __allocated_ = false; else - ::operator delete(__p); + _VSTD::__deallocate(__p); } _LIBCPP_INLINE_VISIBILITY size_type max_size() const throw() {return size_type(~0) / sizeof(_Tp);} Modified: vendor/libc++/dist/include/__tree ============================================================================== --- vendor/libc++/dist/include/__tree Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__tree Wed Jan 7 21:08:01 2015 (r276792) @@ -1980,9 +1980,9 @@ __tree<_Tp, _Compare, _Allocator>::erase __begin_node() = __r.__ptr_; --size(); __node_allocator& __na = __node_alloc(); - __node_traits::destroy(__na, const_cast(_VSTD::addressof(*__p))); __tree_remove(__end_node()->__left_, static_cast<__node_base_pointer>(__np)); + __node_traits::destroy(__na, const_cast(_VSTD::addressof(*__p))); __node_traits::deallocate(__na, __np, 1); return __r; } Modified: vendor/libc++/dist/include/__tuple ============================================================================== --- vendor/libc++/dist/include/__tuple Wed Jan 7 20:01:15 2015 (r276791) +++ vendor/libc++/dist/include/__tuple Wed Jan 7 21:08:01 2015 (r276792) @@ -27,6 +27,32 @@ _LIBCPP_BEGIN_NAMESPACE_STD +// __lazy_and + +template +struct __lazy_and_impl; + +template +struct __lazy_and_impl : false_type {}; + +template <> +struct __lazy_and_impl : true_type {}; + +template +struct __lazy_and_impl : integral_constant {}; + +template +struct __lazy_and_impl : __lazy_and_impl<_Hp::type::value, _Tp...> {}; + +template +struct __lazy_and : __lazy_and_impl<_P1::type::value, _Pr...> {}; + +// __lazy_not + +template +struct __lazy_not : integral_constant {}; + + template class _LIBCPP_TYPE_VIS_ONLY tuple_size; template @@ -219,19 +245,30 @@ struct __make_tuple_types // __tuple_convertible -template +template struct __tuple_convertible_imp : public false_type {}; template -struct __tuple_convertible_imp, __tuple_types<_Up0, _Up...> > +struct __tuple_convertible_imp<__tuple_types<_Tp0, _Tp...>, __tuple_types<_Up0, _Up...> > : public integral_constant::value && - __tuple_convertible_imp, __tuple_types<_Up...> >::value> {}; + __tuple_convertible_imp<__tuple_types<_Tp...>, __tuple_types<_Up...> >::value> {}; template <> *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Wed Jan 7 21:09:26 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4954FAE4; Wed, 7 Jan 2015 21:09:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BBD61F7C; Wed, 7 Jan 2015 21:09:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t07L9PZX010937; Wed, 7 Jan 2015 21:09:25 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t07L9Pjr010936; Wed, 7 Jan 2015 21:09:25 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201501072109.t07L9Pjr010936@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 7 Jan 2015 21:09:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276793 - vendor/libc++/r224926 X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 21:09:26 -0000 Author: dim Date: Wed Jan 7 21:09:25 2015 New Revision: 276793 URL: https://svnweb.freebsd.org/changeset/base/276793 Log: Tag libc++ trunk r224926. Added: vendor/libc++/r224926/ - copied from r276792, vendor/libc++/dist/ From owner-svn-src-vendor@FreeBSD.ORG Thu Jan 8 22:40:47 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B052A978; Thu, 8 Jan 2015 22:40:47 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98480398; Thu, 8 Jan 2015 22:40:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t08MeltX046799; Thu, 8 Jan 2015 22:40:47 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t08Meerr046304; Thu, 8 Jan 2015 22:40:40 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201501082240.t08Meerr046304@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Thu, 8 Jan 2015 22:40:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276856 - in vendor-crypto/openssl/dist: . apps crypto crypto/aes/asm crypto/asn1 crypto/bio crypto/bn crypto/bn/asm crypto/dsa crypto/dso crypto/ec crypto/ecdsa crypto/engine crypto/ev... X-SVN-Group: vendor-crypto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 22:40:47 -0000 Author: jkim Date: Thu Jan 8 22:40:39 2015 New Revision: 276856 URL: https://svnweb.freebsd.org/changeset/base/276856 Log: Import OpenSSL 1.0.1k. Added: vendor-crypto/openssl/dist/util/mkbuildinf.pl (contents, props changed) Deleted: vendor-crypto/openssl/dist/crypto/bn/asm/mips3.s Modified: vendor-crypto/openssl/dist/CHANGES vendor-crypto/openssl/dist/Configure vendor-crypto/openssl/dist/FREEBSD-upgrade vendor-crypto/openssl/dist/Makefile vendor-crypto/openssl/dist/NEWS vendor-crypto/openssl/dist/README vendor-crypto/openssl/dist/apps/ca.c vendor-crypto/openssl/dist/apps/dgst.c vendor-crypto/openssl/dist/apps/ocsp.c vendor-crypto/openssl/dist/apps/openssl.c vendor-crypto/openssl/dist/apps/s_client.c vendor-crypto/openssl/dist/apps/s_server.c vendor-crypto/openssl/dist/apps/s_time.c vendor-crypto/openssl/dist/apps/speed.c vendor-crypto/openssl/dist/crypto/Makefile vendor-crypto/openssl/dist/crypto/aes/asm/aes-mips.pl vendor-crypto/openssl/dist/crypto/asn1/a_bitstr.c vendor-crypto/openssl/dist/crypto/asn1/a_type.c vendor-crypto/openssl/dist/crypto/asn1/a_verify.c vendor-crypto/openssl/dist/crypto/asn1/asn1.h vendor-crypto/openssl/dist/crypto/asn1/asn1_err.c vendor-crypto/openssl/dist/crypto/asn1/tasn_dec.c vendor-crypto/openssl/dist/crypto/asn1/x_algor.c vendor-crypto/openssl/dist/crypto/asn1/x_name.c vendor-crypto/openssl/dist/crypto/bio/bio.h vendor-crypto/openssl/dist/crypto/bio/bss_dgram.c vendor-crypto/openssl/dist/crypto/bn/asm/mips.pl vendor-crypto/openssl/dist/crypto/bn/asm/x86_64-gcc.c vendor-crypto/openssl/dist/crypto/bn/bn.h vendor-crypto/openssl/dist/crypto/bn/bn_asm.c vendor-crypto/openssl/dist/crypto/bn/bn_ctx.c vendor-crypto/openssl/dist/crypto/bn/bn_div.c vendor-crypto/openssl/dist/crypto/bn/bntest.c vendor-crypto/openssl/dist/crypto/constant_time_locl.h vendor-crypto/openssl/dist/crypto/cversion.c vendor-crypto/openssl/dist/crypto/dsa/dsa_asn1.c vendor-crypto/openssl/dist/crypto/dso/dso_dlfcn.c vendor-crypto/openssl/dist/crypto/ec/ec_lib.c vendor-crypto/openssl/dist/crypto/ec/ec_mult.c vendor-crypto/openssl/dist/crypto/ec/ec_pmeth.c vendor-crypto/openssl/dist/crypto/ec/ecp_nistp256.c vendor-crypto/openssl/dist/crypto/ec/ectest.c vendor-crypto/openssl/dist/crypto/ecdsa/Makefile vendor-crypto/openssl/dist/crypto/ecdsa/ecs_vrf.c vendor-crypto/openssl/dist/crypto/engine/eng_dyn.c vendor-crypto/openssl/dist/crypto/evp/Makefile vendor-crypto/openssl/dist/crypto/evp/e_des3.c vendor-crypto/openssl/dist/crypto/evp/evp_enc.c vendor-crypto/openssl/dist/crypto/md32_common.h vendor-crypto/openssl/dist/crypto/mem.c vendor-crypto/openssl/dist/crypto/objects/obj_xref.h vendor-crypto/openssl/dist/crypto/objects/objxref.pl vendor-crypto/openssl/dist/crypto/opensslv.h vendor-crypto/openssl/dist/crypto/sha/asm/sha1-mips.pl vendor-crypto/openssl/dist/crypto/sha/asm/sha512-mips.pl vendor-crypto/openssl/dist/crypto/ts/ts_rsp_sign.c vendor-crypto/openssl/dist/crypto/x509/x509.h vendor-crypto/openssl/dist/crypto/x509/x509_vpm.c vendor-crypto/openssl/dist/crypto/x509/x_all.c vendor-crypto/openssl/dist/doc/HOWTO/certificates.txt vendor-crypto/openssl/dist/doc/HOWTO/proxy_certificates.txt vendor-crypto/openssl/dist/doc/apps/dgst.pod vendor-crypto/openssl/dist/doc/apps/ocsp.pod vendor-crypto/openssl/dist/doc/crypto/EVP_EncryptInit.pod vendor-crypto/openssl/dist/doc/crypto/EVP_PKEY_encrypt.pod vendor-crypto/openssl/dist/doc/crypto/X509_NAME_add_entry_by_txt.pod vendor-crypto/openssl/dist/doc/crypto/X509_NAME_get_index_by_NID.pod vendor-crypto/openssl/dist/doc/ssl/SSL_CTX_set_mode.pod vendor-crypto/openssl/dist/doc/ssl/SSL_CTX_set_options.pod vendor-crypto/openssl/dist/doc/ssl/SSL_CTX_set_tmp_rsa_callback.pod vendor-crypto/openssl/dist/e_os.h vendor-crypto/openssl/dist/engines/e_padlock.c vendor-crypto/openssl/dist/ssl/d1_both.c vendor-crypto/openssl/dist/ssl/d1_clnt.c vendor-crypto/openssl/dist/ssl/d1_enc.c vendor-crypto/openssl/dist/ssl/d1_lib.c vendor-crypto/openssl/dist/ssl/d1_pkt.c vendor-crypto/openssl/dist/ssl/d1_srvr.c vendor-crypto/openssl/dist/ssl/dtls1.h vendor-crypto/openssl/dist/ssl/kssl.c vendor-crypto/openssl/dist/ssl/s23_srvr.c vendor-crypto/openssl/dist/ssl/s2_enc.c vendor-crypto/openssl/dist/ssl/s2_pkt.c vendor-crypto/openssl/dist/ssl/s2_srvr.c vendor-crypto/openssl/dist/ssl/s3_both.c vendor-crypto/openssl/dist/ssl/s3_clnt.c vendor-crypto/openssl/dist/ssl/s3_enc.c vendor-crypto/openssl/dist/ssl/s3_lib.c vendor-crypto/openssl/dist/ssl/s3_meth.c vendor-crypto/openssl/dist/ssl/s3_pkt.c vendor-crypto/openssl/dist/ssl/s3_srvr.c vendor-crypto/openssl/dist/ssl/srtp.h vendor-crypto/openssl/dist/ssl/ssl.h vendor-crypto/openssl/dist/ssl/ssl3.h vendor-crypto/openssl/dist/ssl/ssl_cert.c vendor-crypto/openssl/dist/ssl/ssl_ciph.c vendor-crypto/openssl/dist/ssl/ssl_lib.c vendor-crypto/openssl/dist/ssl/ssl_locl.h vendor-crypto/openssl/dist/ssl/ssl_sess.c vendor-crypto/openssl/dist/ssl/ssltest.c vendor-crypto/openssl/dist/ssl/t1_enc.c vendor-crypto/openssl/dist/ssl/t1_lib.c vendor-crypto/openssl/dist/util/libeay.num vendor-crypto/openssl/dist/util/mk1mf.pl vendor-crypto/openssl/dist/util/mkdef.pl vendor-crypto/openssl/dist/util/pl/netware.pl vendor-crypto/openssl/dist/util/ssleay.num Modified: vendor-crypto/openssl/dist/CHANGES ============================================================================== --- vendor-crypto/openssl/dist/CHANGES Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/CHANGES Thu Jan 8 22:40:39 2015 (r276856) @@ -2,6 +2,136 @@ OpenSSL CHANGES _______________ + Changes between 1.0.1j and 1.0.1k [8 Jan 2015] + + *) Fix DTLS segmentation fault in dtls1_get_record. A carefully crafted DTLS + message can cause a segmentation fault in OpenSSL due to a NULL pointer + dereference. This could lead to a Denial Of Service attack. Thanks to + Markus Stenberg of Cisco Systems, Inc. for reporting this issue. + (CVE-2014-3571) + [Steve Henson] + + *) Fix DTLS memory leak in dtls1_buffer_record. A memory leak can occur in the + dtls1_buffer_record function under certain conditions. In particular this + could occur if an attacker sent repeated DTLS records with the same + sequence number but for the next epoch. The memory leak could be exploited + by an attacker in a Denial of Service attack through memory exhaustion. + Thanks to Chris Mueller for reporting this issue. + (CVE-2015-0206) + [Matt Caswell] + + *) Fix issue where no-ssl3 configuration sets method to NULL. When openssl is + built with the no-ssl3 option and a SSL v3 ClientHello is received the ssl + method would be set to NULL which could later result in a NULL pointer + dereference. Thanks to Frank Schmirler for reporting this issue. + (CVE-2014-3569) + [Kurt Roeckx] + + *) Abort handshake if server key exchange message is omitted for ephemeral + ECDH ciphersuites. + + Thanks to Karthikeyan Bhargavan of the PROSECCO team at INRIA for + reporting this issue. + (CVE-2014-3572) + [Steve Henson] + + *) Remove non-export ephemeral RSA code on client and server. This code + violated the TLS standard by allowing the use of temporary RSA keys in + non-export ciphersuites and could be used by a server to effectively + downgrade the RSA key length used to a value smaller than the server + certificate. Thanks for Karthikeyan Bhargavan of the PROSECCO team at + INRIA or reporting this issue. + (CVE-2015-0204) + [Steve Henson] + + *) Fixed issue where DH client certificates are accepted without verification. + An OpenSSL server will accept a DH certificate for client authentication + without the certificate verify message. This effectively allows a client to + authenticate without the use of a private key. This only affects servers + which trust a client certificate authority which issues certificates + containing DH keys: these are extremely rare and hardly ever encountered. + Thanks for Karthikeyan Bhargavan of the PROSECCO team at INRIA or reporting + this issue. + (CVE-2015-0205) + [Steve Henson] + + *) Ensure that the session ID context of an SSL is updated when its + SSL_CTX is updated via SSL_set_SSL_CTX. + + The session ID context is typically set from the parent SSL_CTX, + and can vary with the CTX. + [Adam Langley] + + *) Fix various certificate fingerprint issues. + + By using non-DER or invalid encodings outside the signed portion of a + certificate the fingerprint can be changed without breaking the signature. + Although no details of the signed portion of the certificate can be changed + this can cause problems with some applications: e.g. those using the + certificate fingerprint for blacklists. + + 1. Reject signatures with non zero unused bits. + + If the BIT STRING containing the signature has non zero unused bits reject + the signature. All current signature algorithms require zero unused bits. + + 2. Check certificate algorithm consistency. + + Check the AlgorithmIdentifier inside TBS matches the one in the + certificate signature. NB: this will result in signature failure + errors for some broken certificates. + + Thanks to Konrad Kraszewski from Google for reporting this issue. + + 3. Check DSA/ECDSA signatures use DER. + + Reencode DSA/ECDSA signatures and compare with the original received + signature. Return an error if there is a mismatch. + + This will reject various cases including garbage after signature + (thanks to Antti Karjalainen and Tuomo Untinen from the Codenomicon CROSS + program for discovering this case) and use of BER or invalid ASN.1 INTEGERs + (negative or with leading zeroes). + + Further analysis was conducted and fixes were developed by Stephen Henson + of the OpenSSL core team. + + (CVE-2014-8275) + [Steve Henson] + + *) Correct Bignum squaring. Bignum squaring (BN_sqr) may produce incorrect + results on some platforms, including x86_64. This bug occurs at random + with a very low probability, and is not known to be exploitable in any + way, though its exact impact is difficult to determine. Thanks to Pieter + Wuille (Blockstream) who reported this issue and also suggested an initial + fix. Further analysis was conducted by the OpenSSL development team and + Adam Langley of Google. The final fix was developed by Andy Polyakov of + the OpenSSL core team. + (CVE-2014-3570) + [Andy Polyakov] + + *) Do not resume sessions on the server if the negotiated protocol + version does not match the session's version. Resuming with a different + version, while not strictly forbidden by the RFC, is of questionable + sanity and breaks all known clients. + [David Benjamin, Emilia Käsper] + + *) Tighten handling of the ChangeCipherSpec (CCS) message: reject + early CCS messages during renegotiation. (Note that because + renegotiation is encrypted, this early CCS was not exploitable.) + [Emilia Käsper] + + *) Tighten client-side session ticket handling during renegotiation: + ensure that the client only accepts a session ticket if the server sends + the extension anew in the ServerHello. Previously, a TLS client would + reuse the old extension state and thus accept a session ticket if one was + announced in the initial ServerHello. + + Similarly, ensure that the client requires a session ticket if one + was advertised in the ServerHello. Previously, a TLS client would + ignore a missing NewSessionTicket message. + [Emilia Käsper] + Changes between 1.0.1i and 1.0.1j [15 Oct 2014] *) SRTP Memory Leak. Modified: vendor-crypto/openssl/dist/Configure ============================================================================== --- vendor-crypto/openssl/dist/Configure Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/Configure Thu Jan 8 22:40:39 2015 (r276856) @@ -804,6 +804,11 @@ PROCESS_ARGS: { $disabled{"tls1"} = "option(tls)" } + elsif ($1 eq "ssl3-method") + { + $disabled{"ssl3-method"} = "option(ssl)"; + $disabled{"ssl3"} = "option(ssl)"; + } else { $disabled{$1} = "option"; Modified: vendor-crypto/openssl/dist/FREEBSD-upgrade ============================================================================== --- vendor-crypto/openssl/dist/FREEBSD-upgrade Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/FREEBSD-upgrade Thu Jan 8 22:40:39 2015 (r276856) @@ -11,8 +11,8 @@ First, read http://wiki.freebsd.org/Subv # Xlist setenv XLIST /FreeBSD/work/openssl/svn-FREEBSD-files/FREEBSD-Xlist setenv FSVN "svn+ssh://svn.freebsd.org/base" -setenv OSSLVER 1.0.1j -# OSSLTAG format: v1_0_1j +setenv OSSLVER 1.0.1k +# OSSLTAG format: v1_0_1k ###setenv OSSLTAG v`echo ${OSSLVER} | tr . _` Modified: vendor-crypto/openssl/dist/Makefile ============================================================================== --- vendor-crypto/openssl/dist/Makefile Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/Makefile Thu Jan 8 22:40:39 2015 (r276856) @@ -4,7 +4,7 @@ ## Makefile for OpenSSL ## -VERSION=1.0.1j +VERSION=1.0.1k MAJOR=1 MINOR=0.1 SHLIB_VERSION_NUMBER=1.0.0 Modified: vendor-crypto/openssl/dist/NEWS ============================================================================== --- vendor-crypto/openssl/dist/NEWS Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/NEWS Thu Jan 8 22:40:39 2015 (r276856) @@ -5,6 +5,17 @@ This file gives a brief overview of the major changes between each OpenSSL release. For more details please read the CHANGES file. + Major changes between OpenSSL 1.0.1j and OpenSSL 1.0.1k [8 Jan 2015] + + o Fix for CVE-2014-3571 + o Fix for CVE-2015-0206 + o Fix for CVE-2014-3569 + o Fix for CVE-2014-3572 + o Fix for CVE-2015-0204 + o Fix for CVE-2015-0205 + o Fix for CVE-2014-8275 + o Fix for CVE-2014-3570 + Major changes between OpenSSL 1.0.1i and OpenSSL 1.0.1j [15 Oct 2014] o Fix for CVE-2014-3513 Modified: vendor-crypto/openssl/dist/README ============================================================================== --- vendor-crypto/openssl/dist/README Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/README Thu Jan 8 22:40:39 2015 (r276856) @@ -1,5 +1,5 @@ - OpenSSL 1.0.1j 15 Oct 2014 + OpenSSL 1.0.1k 8 Jan 2015 Copyright (c) 1998-2011 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson Modified: vendor-crypto/openssl/dist/apps/ca.c ============================================================================== --- vendor-crypto/openssl/dist/apps/ca.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/ca.c Thu Jan 8 22:40:39 2015 (r276856) @@ -703,7 +703,7 @@ bad: ERR_clear_error(); #ifdef RL_DEBUG if (!p) - BIO_printf(bio_err, "DEBUG: unique_subject undefined\n", p); + BIO_printf(bio_err, "DEBUG: unique_subject undefined\n"); #endif #ifdef RL_DEBUG BIO_printf(bio_err, "DEBUG: configured unique_subject is %d\n", Modified: vendor-crypto/openssl/dist/apps/dgst.c ============================================================================== --- vendor-crypto/openssl/dist/apps/dgst.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/dgst.c Thu Jan 8 22:40:39 2015 (r276856) @@ -273,6 +273,8 @@ int MAIN(int argc, char **argv) BIO_printf(bio_err,"-d to output debug info\n"); BIO_printf(bio_err,"-hex output as hex dump\n"); BIO_printf(bio_err,"-binary output in binary form\n"); + BIO_printf(bio_err,"-hmac arg set the HMAC key to arg\n"); + BIO_printf(bio_err,"-non-fips-allow allow use of non FIPS digest\n"); BIO_printf(bio_err,"-sign file sign digest using private key in file\n"); BIO_printf(bio_err,"-verify file verify a signature using public key in file\n"); BIO_printf(bio_err,"-prverify file verify a signature using private key in file\n"); Modified: vendor-crypto/openssl/dist/apps/ocsp.c ============================================================================== --- vendor-crypto/openssl/dist/apps/ocsp.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/ocsp.c Thu Jan 8 22:40:39 2015 (r276856) @@ -583,51 +583,52 @@ int MAIN(int argc, char **argv) BIO_printf (bio_err, "OCSP utility\n"); BIO_printf (bio_err, "Usage ocsp [options]\n"); BIO_printf (bio_err, "where options are\n"); - BIO_printf (bio_err, "-out file output filename\n"); - BIO_printf (bio_err, "-issuer file issuer certificate\n"); - BIO_printf (bio_err, "-cert file certificate to check\n"); - BIO_printf (bio_err, "-serial n serial number to check\n"); - BIO_printf (bio_err, "-signer file certificate to sign OCSP request with\n"); - BIO_printf (bio_err, "-signkey file private key to sign OCSP request with\n"); - BIO_printf (bio_err, "-sign_other file additional certificates to include in signed request\n"); - BIO_printf (bio_err, "-no_certs don't include any certificates in signed request\n"); - BIO_printf (bio_err, "-req_text print text form of request\n"); - BIO_printf (bio_err, "-resp_text print text form of response\n"); - BIO_printf (bio_err, "-text print text form of request and response\n"); - BIO_printf (bio_err, "-reqout file write DER encoded OCSP request to \"file\"\n"); - BIO_printf (bio_err, "-respout file write DER encoded OCSP reponse to \"file\"\n"); - BIO_printf (bio_err, "-reqin file read DER encoded OCSP request from \"file\"\n"); - BIO_printf (bio_err, "-respin file read DER encoded OCSP reponse from \"file\"\n"); - BIO_printf (bio_err, "-nonce add OCSP nonce to request\n"); - BIO_printf (bio_err, "-no_nonce don't add OCSP nonce to request\n"); - BIO_printf (bio_err, "-url URL OCSP responder URL\n"); - BIO_printf (bio_err, "-host host:n send OCSP request to host on port n\n"); - BIO_printf (bio_err, "-path path to use in OCSP request\n"); - BIO_printf (bio_err, "-CApath dir trusted certificates directory\n"); - BIO_printf (bio_err, "-CAfile file trusted certificates file\n"); - BIO_printf (bio_err, "-VAfile file validator certificates file\n"); - BIO_printf (bio_err, "-validity_period n maximum validity discrepancy in seconds\n"); - BIO_printf (bio_err, "-status_age n maximum status age in seconds\n"); - BIO_printf (bio_err, "-noverify don't verify response at all\n"); - BIO_printf (bio_err, "-verify_other file additional certificates to search for signer\n"); - BIO_printf (bio_err, "-trust_other don't verify additional certificates\n"); - BIO_printf (bio_err, "-no_intern don't search certificates contained in response for signer\n"); + BIO_printf (bio_err, "-out file output filename\n"); + BIO_printf (bio_err, "-issuer file issuer certificate\n"); + BIO_printf (bio_err, "-cert file certificate to check\n"); + BIO_printf (bio_err, "-serial n serial number to check\n"); + BIO_printf (bio_err, "-signer file certificate to sign OCSP request with\n"); + BIO_printf (bio_err, "-signkey file private key to sign OCSP request with\n"); + BIO_printf (bio_err, "-sign_other file additional certificates to include in signed request\n"); + BIO_printf (bio_err, "-no_certs don't include any certificates in signed request\n"); + BIO_printf (bio_err, "-req_text print text form of request\n"); + BIO_printf (bio_err, "-resp_text print text form of response\n"); + BIO_printf (bio_err, "-text print text form of request and response\n"); + BIO_printf (bio_err, "-reqout file write DER encoded OCSP request to \"file\"\n"); + BIO_printf (bio_err, "-respout file write DER encoded OCSP reponse to \"file\"\n"); + BIO_printf (bio_err, "-reqin file read DER encoded OCSP request from \"file\"\n"); + BIO_printf (bio_err, "-respin file read DER encoded OCSP reponse from \"file\"\n"); + BIO_printf (bio_err, "-nonce add OCSP nonce to request\n"); + BIO_printf (bio_err, "-no_nonce don't add OCSP nonce to request\n"); + BIO_printf (bio_err, "-url URL OCSP responder URL\n"); + BIO_printf (bio_err, "-host host:n send OCSP request to host on port n\n"); + BIO_printf (bio_err, "-path path to use in OCSP request\n"); + BIO_printf (bio_err, "-CApath dir trusted certificates directory\n"); + BIO_printf (bio_err, "-CAfile file trusted certificates file\n"); + BIO_printf (bio_err, "-VAfile file validator certificates file\n"); + BIO_printf (bio_err, "-validity_period n maximum validity discrepancy in seconds\n"); + BIO_printf (bio_err, "-status_age n maximum status age in seconds\n"); + BIO_printf (bio_err, "-noverify don't verify response at all\n"); + BIO_printf (bio_err, "-verify_other file additional certificates to search for signer\n"); + BIO_printf (bio_err, "-trust_other don't verify additional certificates\n"); + BIO_printf (bio_err, "-no_intern don't search certificates contained in response for signer\n"); BIO_printf (bio_err, "-no_signature_verify don't check signature on response\n"); - BIO_printf (bio_err, "-no_cert_verify don't check signing certificate\n"); - BIO_printf (bio_err, "-no_chain don't chain verify response\n"); - BIO_printf (bio_err, "-no_cert_checks don't do additional checks on signing certificate\n"); - BIO_printf (bio_err, "-port num port to run responder on\n"); - BIO_printf (bio_err, "-index file certificate status index file\n"); - BIO_printf (bio_err, "-CA file CA certificate\n"); - BIO_printf (bio_err, "-rsigner file responder certificate to sign responses with\n"); - BIO_printf (bio_err, "-rkey file responder key to sign responses with\n"); - BIO_printf (bio_err, "-rother file other certificates to include in response\n"); - BIO_printf (bio_err, "-resp_no_certs don't include any certificates in response\n"); - BIO_printf (bio_err, "-nmin n number of minutes before next update\n"); - BIO_printf (bio_err, "-ndays n number of days before next update\n"); - BIO_printf (bio_err, "-resp_key_id identify reponse by signing certificate key ID\n"); - BIO_printf (bio_err, "-nrequest n number of requests to accept (default unlimited)\n"); - BIO_printf (bio_err, "- use specified digest in the request\n"); + BIO_printf (bio_err, "-no_cert_verify don't check signing certificate\n"); + BIO_printf (bio_err, "-no_chain don't chain verify response\n"); + BIO_printf (bio_err, "-no_cert_checks don't do additional checks on signing certificate\n"); + BIO_printf (bio_err, "-port num port to run responder on\n"); + BIO_printf (bio_err, "-index file certificate status index file\n"); + BIO_printf (bio_err, "-CA file CA certificate\n"); + BIO_printf (bio_err, "-rsigner file responder certificate to sign responses with\n"); + BIO_printf (bio_err, "-rkey file responder key to sign responses with\n"); + BIO_printf (bio_err, "-rother file other certificates to include in response\n"); + BIO_printf (bio_err, "-resp_no_certs don't include any certificates in response\n"); + BIO_printf (bio_err, "-nmin n number of minutes before next update\n"); + BIO_printf (bio_err, "-ndays n number of days before next update\n"); + BIO_printf (bio_err, "-resp_key_id identify reponse by signing certificate key ID\n"); + BIO_printf (bio_err, "-nrequest n number of requests to accept (default unlimited)\n"); + BIO_printf (bio_err, "- use specified digest in the request\n"); + BIO_printf (bio_err, "-timeout n timeout connection to OCSP responder after n seconds\n"); goto end; } @@ -1398,16 +1399,7 @@ OCSP_RESPONSE *process_responder(BIO *er if (use_ssl == 1) { BIO *sbio; -#if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3) ctx = SSL_CTX_new(SSLv23_client_method()); -#elif !defined(OPENSSL_NO_SSL3) - ctx = SSL_CTX_new(SSLv3_client_method()); -#elif !defined(OPENSSL_NO_SSL2) - ctx = SSL_CTX_new(SSLv2_client_method()); -#else - BIO_printf(err, "SSL is disabled\n"); - goto end; -#endif if (ctx == NULL) { BIO_printf(err, "Error creating SSL context.\n"); Modified: vendor-crypto/openssl/dist/apps/openssl.c ============================================================================== --- vendor-crypto/openssl/dist/apps/openssl.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/openssl.c Thu Jan 8 22:40:39 2015 (r276856) @@ -435,9 +435,7 @@ end: if (prog != NULL) lh_FUNCTION_free(prog); if (arg.data != NULL) OPENSSL_free(arg.data); - apps_shutdown(); - CRYPTO_mem_leaks(bio_err); if (bio_err != NULL) { BIO_free(bio_err); @@ -450,6 +448,9 @@ end: OPENSSL_free(Argv); } #endif + apps_shutdown(); + CRYPTO_mem_leaks(bio_err); + OPENSSL_EXIT(ret); } Modified: vendor-crypto/openssl/dist/apps/s_client.c ============================================================================== --- vendor-crypto/openssl/dist/apps/s_client.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/s_client.c Thu Jan 8 22:40:39 2015 (r276856) @@ -329,10 +329,12 @@ static void sc_usage(void) BIO_printf(bio_err," -srppass arg - password for 'user'\n"); BIO_printf(bio_err," -srp_lateuser - SRP username into second ClientHello message\n"); BIO_printf(bio_err," -srp_moregroups - Tolerate other than the known g N values.\n"); - BIO_printf(bio_err," -srp_strength int - minimal mength in bits for N (default %d).\n",SRP_MINIMAL_N); + BIO_printf(bio_err," -srp_strength int - minimal length in bits for N (default %d).\n",SRP_MINIMAL_N); #endif BIO_printf(bio_err," -ssl2 - just use SSLv2\n"); +#ifndef OPENSSL_NO_SSL3_METHOD BIO_printf(bio_err," -ssl3 - just use SSLv3\n"); +#endif BIO_printf(bio_err," -tls1_2 - just use TLSv1.2\n"); BIO_printf(bio_err," -tls1_1 - just use TLSv1.1\n"); BIO_printf(bio_err," -tls1 - just use TLSv1\n"); @@ -807,7 +809,7 @@ int MAIN(int argc, char **argv) else if (strcmp(*argv,"-ssl2") == 0) meth=SSLv2_client_method(); #endif -#ifndef OPENSSL_NO_SSL3 +#ifndef OPENSSL_NO_SSL3_METHOD else if (strcmp(*argv,"-ssl3") == 0) meth=SSLv3_client_method(); #endif @@ -1319,10 +1321,22 @@ re_start: BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout); } - if (socket_mtu > 28) + if (socket_mtu) { + if(socket_mtu < DTLS_get_link_min_mtu(con)) + { + BIO_printf(bio_err,"MTU too small. Must be at least %ld\n", + DTLS_get_link_min_mtu(con)); + BIO_free(sbio); + goto shut; + } SSL_set_options(con, SSL_OP_NO_QUERY_MTU); - SSL_set_mtu(con, socket_mtu - 28); + if(!DTLS_set_link_mtu(con, socket_mtu)) + { + BIO_printf(bio_err, "Failed to set MTU\n"); + BIO_free(sbio); + goto shut; + } } else /* want to do MTU discovery */ Modified: vendor-crypto/openssl/dist/apps/s_server.c ============================================================================== --- vendor-crypto/openssl/dist/apps/s_server.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/s_server.c Thu Jan 8 22:40:39 2015 (r276856) @@ -515,7 +515,9 @@ static void sv_usage(void) BIO_printf(bio_err," -srpuserseed string - A seed string for a default user salt.\n"); #endif BIO_printf(bio_err," -ssl2 - Just talk SSLv2\n"); +#ifndef OPENSSL_NO_SSL3_METHOD BIO_printf(bio_err," -ssl3 - Just talk SSLv3\n"); +#endif BIO_printf(bio_err," -tls1_2 - Just talk TLSv1.2\n"); BIO_printf(bio_err," -tls1_1 - Just talk TLSv1.1\n"); BIO_printf(bio_err," -tls1 - Just talk TLSv1\n"); @@ -1251,7 +1253,7 @@ int MAIN(int argc, char *argv[]) else if (strcmp(*argv,"-ssl2") == 0) { meth=SSLv2_server_method(); } #endif -#ifndef OPENSSL_NO_SSL3 +#ifndef OPENSSL_NO_SSL3_METHOD else if (strcmp(*argv,"-ssl3") == 0) { meth=SSLv3_server_method(); } #endif @@ -2049,10 +2051,24 @@ static int sv_body(char *hostname, int s BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout); } - if (socket_mtu > 28) + if (socket_mtu) { + if(socket_mtu < DTLS_get_link_min_mtu(con)) + { + BIO_printf(bio_err,"MTU too small. Must be at least %ld\n", + DTLS_get_link_min_mtu(con)); + ret = -1; + BIO_free(sbio); + goto err; + } SSL_set_options(con, SSL_OP_NO_QUERY_MTU); - SSL_set_mtu(con, socket_mtu - 28); + if(!DTLS_set_link_mtu(con, socket_mtu)) + { + BIO_printf(bio_err, "Failed to set MTU\n"); + ret = -1; + BIO_free(sbio); + goto err; + } } else /* want to do MTU discovery */ Modified: vendor-crypto/openssl/dist/apps/s_time.c ============================================================================== --- vendor-crypto/openssl/dist/apps/s_time.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/s_time.c Thu Jan 8 22:40:39 2015 (r276856) @@ -349,13 +349,7 @@ int MAIN(int argc, char **argv) if (bio_err == NULL) bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); -#if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3) s_time_meth=SSLv23_client_method(); -#elif !defined(OPENSSL_NO_SSL3) - s_time_meth=SSLv3_client_method(); -#elif !defined(OPENSSL_NO_SSL2) - s_time_meth=SSLv2_client_method(); -#endif /* parse the command line arguments */ if( parseArgs( argc, argv ) < 0 ) Modified: vendor-crypto/openssl/dist/apps/speed.c ============================================================================== --- vendor-crypto/openssl/dist/apps/speed.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/apps/speed.c Thu Jan 8 22:40:39 2015 (r276856) @@ -225,7 +225,7 @@ #undef BUFSIZE #define BUFSIZE ((long)1024*8+1) -int run=0; +static volatile int run=0; static int mr=0; static int usertime=1; @@ -2739,27 +2739,6 @@ static int do_multi(int multi) else rsa_results[k][1]=d; } - else if(!strncmp(buf,"+F2:",4)) - { - int k; - double d; - - p=buf+4; - k=atoi(sstrsep(&p,sep)); - sstrsep(&p,sep); - - d=atof(sstrsep(&p,sep)); - if(n) - rsa_results[k][0]=1/(1/rsa_results[k][0]+1/d); - else - rsa_results[k][0]=d; - - d=atof(sstrsep(&p,sep)); - if(n) - rsa_results[k][1]=1/(1/rsa_results[k][1]+1/d); - else - rsa_results[k][1]=d; - } #ifndef OPENSSL_NO_DSA else if(!strncmp(buf,"+F3:",4)) { Modified: vendor-crypto/openssl/dist/crypto/Makefile ============================================================================== --- vendor-crypto/openssl/dist/crypto/Makefile Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/Makefile Thu Jan 8 22:40:39 2015 (r276856) @@ -55,12 +55,7 @@ top: all: shared buildinf.h: ../Makefile - ( echo "#ifndef MK1MF_BUILD"; \ - echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \ - echo ' #define CFLAGS "$(CC) $(CFLAG)"'; \ - echo ' #define PLATFORM "$(PLATFORM)"'; \ - echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ - echo '#endif' ) >buildinf.h + $(PERL) $(TOP)/util/mkbuildinf.pl "$(CFLAGS)" "$(PLATFORM)" >buildinf.h x86cpuid.s: x86cpuid.pl perlasm/x86asm.pl $(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ Modified: vendor-crypto/openssl/dist/crypto/aes/asm/aes-mips.pl ============================================================================== --- vendor-crypto/openssl/dist/crypto/aes/asm/aes-mips.pl Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/aes/asm/aes-mips.pl Thu Jan 8 22:40:39 2015 (r276856) @@ -70,7 +70,7 @@ $pf = ($flavour =~ /nubi/i) ? $t0 : $t2; # ###################################################################### -$big_endian=(`echo MIPSEL | $ENV{CC} -E -P -`=~/MIPSEL/)?1:0; +$big_endian=(`echo MIPSEL | $ENV{CC} -E -`=~/MIPSEL/)?1:0 if ($ENV{CC}); for (@ARGV) { $output=$_ if (/^\w[\w\-]*\.\w+$/); } open STDOUT,">$output"; Modified: vendor-crypto/openssl/dist/crypto/asn1/a_bitstr.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/a_bitstr.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/a_bitstr.c Thu Jan 8 22:40:39 2015 (r276856) @@ -136,11 +136,16 @@ ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN p= *pp; i= *(p++); + if (i > 7) + { + i=ASN1_R_INVALID_BIT_STRING_BITS_LEFT; + goto err; + } /* We do this to preserve the settings. If we modify * the settings, via the _set_bit function, we will recalculate * on output */ ret->flags&= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); /* clear */ - ret->flags|=(ASN1_STRING_FLAG_BITS_LEFT|(i&0x07)); /* set */ + ret->flags|=(ASN1_STRING_FLAG_BITS_LEFT|i); /* set */ if (len-- > 1) /* using one because of the bits left byte */ { Modified: vendor-crypto/openssl/dist/crypto/asn1/a_type.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/a_type.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/a_type.c Thu Jan 8 22:40:39 2015 (r276856) @@ -113,7 +113,7 @@ IMPLEMENT_STACK_OF(ASN1_TYPE) IMPLEMENT_ASN1_SET_OF(ASN1_TYPE) /* Returns 0 if they are equal, != 0 otherwise. */ -int ASN1_TYPE_cmp(ASN1_TYPE *a, ASN1_TYPE *b) +int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b) { int result = -1; Modified: vendor-crypto/openssl/dist/crypto/asn1/a_verify.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/a_verify.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/a_verify.c Thu Jan 8 22:40:39 2015 (r276856) @@ -90,6 +90,12 @@ int ASN1_verify(i2d_of_void *i2d, X509_A ASN1err(ASN1_F_ASN1_VERIFY,ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM); goto err; } + + if (signature->type == V_ASN1_BIT_STRING && signature->flags & 0x7) + { + ASN1err(ASN1_F_ASN1_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT); + goto err; + } inl=i2d(data,NULL); buf_in=OPENSSL_malloc((unsigned int)inl); @@ -146,6 +152,12 @@ int ASN1_item_verify(const ASN1_ITEM *it return -1; } + if (signature->type == V_ASN1_BIT_STRING && signature->flags & 0x7) + { + ASN1err(ASN1_F_ASN1_ITEM_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT); + return -1; + } + EVP_MD_CTX_init(&ctx); /* Convert signature OID into digest and public key OIDs */ Modified: vendor-crypto/openssl/dist/crypto/asn1/asn1.h ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/asn1.h Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/asn1.h Thu Jan 8 22:40:39 2015 (r276856) @@ -776,7 +776,7 @@ DECLARE_ASN1_FUNCTIONS_fname(ASN1_TYPE, int ASN1_TYPE_get(ASN1_TYPE *a); void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value); -int ASN1_TYPE_cmp(ASN1_TYPE *a, ASN1_TYPE *b); +int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b); ASN1_OBJECT * ASN1_OBJECT_new(void ); void ASN1_OBJECT_free(ASN1_OBJECT *a); @@ -1329,6 +1329,7 @@ void ERR_load_ASN1_strings(void); #define ASN1_R_ILLEGAL_TIME_VALUE 184 #define ASN1_R_INTEGER_NOT_ASCII_FORMAT 185 #define ASN1_R_INTEGER_TOO_LARGE_FOR_LONG 128 +#define ASN1_R_INVALID_BIT_STRING_BITS_LEFT 220 #define ASN1_R_INVALID_BMPSTRING_LENGTH 129 #define ASN1_R_INVALID_DIGIT 130 #define ASN1_R_INVALID_MIME_TYPE 205 @@ -1378,6 +1379,7 @@ void ERR_load_ASN1_strings(void); #define ASN1_R_TIME_NOT_ASCII_FORMAT 193 #define ASN1_R_TOO_LONG 155 #define ASN1_R_TYPE_NOT_CONSTRUCTED 156 +#define ASN1_R_TYPE_NOT_PRIMITIVE 218 #define ASN1_R_UNABLE_TO_DECODE_RSA_KEY 157 #define ASN1_R_UNABLE_TO_DECODE_RSA_PRIVATE_KEY 158 #define ASN1_R_UNEXPECTED_EOC 159 Modified: vendor-crypto/openssl/dist/crypto/asn1/asn1_err.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/asn1_err.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/asn1_err.c Thu Jan 8 22:40:39 2015 (r276856) @@ -1,6 +1,6 @@ /* crypto/asn1/asn1_err.c */ /* ==================================================================== - * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. + * Copyright (c) 1999-2014 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -246,6 +246,7 @@ static ERR_STRING_DATA ASN1_str_reasons[ {ERR_REASON(ASN1_R_ILLEGAL_TIME_VALUE) ,"illegal time value"}, {ERR_REASON(ASN1_R_INTEGER_NOT_ASCII_FORMAT),"integer not ascii format"}, {ERR_REASON(ASN1_R_INTEGER_TOO_LARGE_FOR_LONG),"integer too large for long"}, +{ERR_REASON(ASN1_R_INVALID_BIT_STRING_BITS_LEFT),"invalid bit string bits left"}, {ERR_REASON(ASN1_R_INVALID_BMPSTRING_LENGTH),"invalid bmpstring length"}, {ERR_REASON(ASN1_R_INVALID_DIGIT) ,"invalid digit"}, {ERR_REASON(ASN1_R_INVALID_MIME_TYPE) ,"invalid mime type"}, @@ -295,6 +296,7 @@ static ERR_STRING_DATA ASN1_str_reasons[ {ERR_REASON(ASN1_R_TIME_NOT_ASCII_FORMAT),"time not ascii format"}, {ERR_REASON(ASN1_R_TOO_LONG) ,"too long"}, {ERR_REASON(ASN1_R_TYPE_NOT_CONSTRUCTED) ,"type not constructed"}, +{ERR_REASON(ASN1_R_TYPE_NOT_PRIMITIVE) ,"type not primitive"}, {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_KEY),"unable to decode rsa key"}, {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_PRIVATE_KEY),"unable to decode rsa private key"}, {ERR_REASON(ASN1_R_UNEXPECTED_EOC) ,"unexpected eoc"}, Modified: vendor-crypto/openssl/dist/crypto/asn1/tasn_dec.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/tasn_dec.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/tasn_dec.c Thu Jan 8 22:40:39 2015 (r276856) @@ -870,6 +870,14 @@ static int asn1_d2i_ex_primitive(ASN1_VA } else if (cst) { + if (utype == V_ASN1_NULL || utype == V_ASN1_BOOLEAN + || utype == V_ASN1_OBJECT || utype == V_ASN1_INTEGER + || utype == V_ASN1_ENUMERATED) + { + ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, + ASN1_R_TYPE_NOT_PRIMITIVE); + return 0; + } buf.length = 0; buf.max = 0; buf.data = NULL; Modified: vendor-crypto/openssl/dist/crypto/asn1/x_algor.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/x_algor.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/x_algor.c Thu Jan 8 22:40:39 2015 (r276856) @@ -142,3 +142,14 @@ void X509_ALGOR_set_md(X509_ALGOR *alg, X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_MD_type(md)), param_type, NULL); } + +int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b) + { + int rv; + rv = OBJ_cmp(a->algorithm, b->algorithm); + if (rv) + return rv; + if (!a->parameter && !b->parameter) + return 0; + return ASN1_TYPE_cmp(a->parameter, b->parameter); + } Modified: vendor-crypto/openssl/dist/crypto/asn1/x_name.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/asn1/x_name.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/asn1/x_name.c Thu Jan 8 22:40:39 2015 (r276856) @@ -350,6 +350,8 @@ static int x509_name_canon(X509_NAME *a) set = entry->set; } tmpentry = X509_NAME_ENTRY_new(); + if (!tmpentry) + goto err; tmpentry->object = OBJ_dup(entry->object); if (!asn1_string_canon(tmpentry->value, entry->value)) goto err; Modified: vendor-crypto/openssl/dist/crypto/bio/bio.h ============================================================================== --- vendor-crypto/openssl/dist/crypto/bio/bio.h Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/bio/bio.h Thu Jan 8 22:40:39 2015 (r276856) @@ -175,6 +175,8 @@ extern "C" { #define BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT 45 /* Next DTLS handshake timeout to * adjust socket timeouts */ +#define BIO_CTRL_DGRAM_GET_MTU_OVERHEAD 49 + #ifndef OPENSSL_NO_SCTP /* SCTP stuff */ #define BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE 50 @@ -607,6 +609,8 @@ int BIO_ctrl_reset_read_request(BIO *b); (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_PEER, 0, (char *)peer) #define BIO_dgram_set_peer(b,peer) \ (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_PEER, 0, (char *)peer) +#define BIO_dgram_get_mtu_overhead(b) \ + (unsigned int)BIO_ctrl((b), BIO_CTRL_DGRAM_GET_MTU_OVERHEAD, 0, NULL) /* These two aren't currently implemented */ /* int BIO_get_ex_num(BIO *bio); */ Modified: vendor-crypto/openssl/dist/crypto/bio/bss_dgram.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/bio/bss_dgram.c Thu Jan 8 21:46:28 2015 (r276855) +++ vendor-crypto/openssl/dist/crypto/bio/bss_dgram.c Thu Jan 8 22:40:39 2015 (r276856) @@ -454,6 +454,36 @@ static int dgram_write(BIO *b, const cha return(ret); } +static long dgram_get_mtu_overhead(bio_dgram_data *data) + { + long ret; + + switch (data->peer.sa.sa_family) + { + case AF_INET: + /* Assume this is UDP - 20 bytes for IP, 8 bytes for UDP */ + ret = 28; + break; +#if OPENSSL_USE_IPV6 + case AF_INET6: +#ifdef IN6_IS_ADDR_V4MAPPED + if (IN6_IS_ADDR_V4MAPPED(&data->peer.sa_in6.sin6_addr)) + /* Assume this is UDP - 20 bytes for IP, 8 bytes for UDP */ + ret = 28; + else +#endif + /* Assume this is UDP - 40 bytes for IP, 8 bytes for UDP */ + ret = 48; + break; +#endif + default: + /* We don't know. Go with the historical default */ + ret = 28; + break; + } + return ret; + } + static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr) { long ret=1; @@ -630,23 +660,24 @@ static long dgram_ctrl(BIO *b, int cmd, #endif break; case BIO_CTRL_DGRAM_GET_FALLBACK_MTU: + ret = -dgram_get_mtu_overhead(data); switch (data->peer.sa.sa_family) { case AF_INET: - ret = 576 - 20 - 8; + ret += 576; break; #if OPENSSL_USE_IPV6 case AF_INET6: #ifdef IN6_IS_ADDR_V4MAPPED if (IN6_IS_ADDR_V4MAPPED(&data->peer.sa_in6.sin6_addr)) - ret = 576 - 20 - 8; + ret += 576; else #endif - ret = 1280 - 40 - 8; + ret += 1280; break; #endif default: - ret = 576 - 20 - 8; + ret += 576; break; } break; @@ -847,6 +878,9 @@ static long dgram_ctrl(BIO *b, int cmd, ret = 0; break; #endif + case BIO_CTRL_DGRAM_GET_MTU_OVERHEAD: + ret = dgram_get_mtu_overhead(data); + break; default: ret=0; break; @@ -893,10 +927,18 @@ BIO *BIO_new_dgram_sctp(int fd, int clos /* Activate SCTP-AUTH for DATA and FORWARD-TSN chunks */ auth.sauth_chunk = OPENSSL_SCTP_DATA_CHUNK_TYPE; ret = setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, sizeof(struct sctp_authchunk)); - OPENSSL_assert(ret >= 0); + if (ret < 0) + { + BIO_vfree(bio); + return(NULL); + } auth.sauth_chunk = OPENSSL_SCTP_FORWARD_CUM_TSN_CHUNK_TYPE; ret = setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, sizeof(struct sctp_authchunk)); - OPENSSL_assert(ret >= 0); + if (ret < 0) + { + BIO_vfree(bio); + return(NULL); + } /* Test if activation was successful. When using accept(), * SCTP-AUTH has to be activated for the listening socket @@ -905,7 +947,13 @@ BIO *BIO_new_dgram_sctp(int fd, int clos authchunks = OPENSSL_malloc(sockopt_len); memset(authchunks, 0, sizeof(sockopt_len)); ret = getsockopt(fd, IPPROTO_SCTP, SCTP_LOCAL_AUTH_CHUNKS, authchunks, &sockopt_len); - OPENSSL_assert(ret >= 0); + + if (ret < 0) + { + OPENSSL_free(authchunks); + BIO_vfree(bio); + return(NULL); + } for (p = (unsigned char*) authchunks->gauth_chunks; p < (unsigned char*) authchunks + sockopt_len; @@ -927,16 +975,28 @@ BIO *BIO_new_dgram_sctp(int fd, int clos event.se_type = SCTP_AUTHENTICATION_EVENT; event.se_on = 1; ret = setsockopt(fd, IPPROTO_SCTP, SCTP_EVENT, &event, sizeof(struct sctp_event)); - OPENSSL_assert(ret >= 0); + if (ret < 0) + { + BIO_vfree(bio); + return(NULL); + } #else sockopt_len = (socklen_t) sizeof(struct sctp_event_subscribe); ret = getsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, &sockopt_len); - OPENSSL_assert(ret >= 0); + if (ret < 0) + { + BIO_vfree(bio); + return(NULL); + } event.sctp_authentication_event = 1; ret = setsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, sizeof(struct sctp_event_subscribe)); - OPENSSL_assert(ret >= 0); + if (ret < 0) + { + BIO_vfree(bio); + return(NULL); + } #endif #endif @@ -944,7 +1004,11 @@ BIO *BIO_new_dgram_sctp(int fd, int clos * larger than the max record size of 2^14 + 2048 + 13 */ ret = setsockopt(fd, IPPROTO_SCTP, SCTP_PARTIAL_DELIVERY_POINT, &optval, sizeof(optval)); - OPENSSL_assert(ret >= 0); + if (ret < 0) + { + BIO_vfree(bio); + return(NULL); + } return(bio); } @@ -982,7 +1046,12 @@ static int dgram_sctp_free(BIO *a) return 0; data = (bio_dgram_sctp_data *)a->ptr; - if(data != NULL) OPENSSL_free(data); + if(data != NULL) + { + if(data->saved_message.data != NULL) + OPENSSL_free(data->saved_message.data); + OPENSSL_free(data); + } return(1); } @@ -1034,6 +1103,13 @@ static int dgram_sctp_read(BIO *b, char msg.msg_flags = 0; n = recvmsg(b->num, &msg, 0); + if (n <= 0) + { + if (n < 0) + ret = n; + break; + } + if (msg.msg_controllen > 0) { for (cmsg = CMSG_FIRSTHDR(&msg); cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) @@ -1073,13 +1149,6 @@ static int dgram_sctp_read(BIO *b, char } } - if (n <= 0) - { - if (n < 0) - ret = n; - break; - } - if (msg.msg_flags & MSG_NOTIFICATION) { snp = (union sctp_notification*) out; @@ -1099,6 +1168,7 @@ static int dgram_sctp_read(BIO *b, char dgram_sctp_write(data->saved_message.bio, data->saved_message.data, data->saved_message.length); OPENSSL_free(data->saved_message.data); + data->saved_message.data = NULL; data->saved_message.length = 0; } @@ -1109,16 +1179,28 @@ static int dgram_sctp_read(BIO *b, char event.se_type = SCTP_SENDER_DRY_EVENT; event.se_on = 0; i = setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENT, &event, sizeof(struct sctp_event)); - OPENSSL_assert(i >= 0); + if (i < 0) + { + ret = i; + break; + } #else eventsize = sizeof(struct sctp_event_subscribe); i = getsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, &eventsize); - OPENSSL_assert(i >= 0); + if (i < 0) + { + ret = i; + break; + } event.sctp_sender_dry_event = 0; i = setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, sizeof(struct sctp_event_subscribe)); - OPENSSL_assert(i >= 0); + if (i < 0) + { + ret = i; + break; + } #endif } @@ -1151,8 +1233,8 @@ static int dgram_sctp_read(BIO *b, char */ optlen = (socklen_t) sizeof(int); ret = getsockopt(b->num, SOL_SOCKET, SO_RCVBUF, &optval, &optlen); - OPENSSL_assert(ret >= 0); - OPENSSL_assert(optval >= 18445); + if (ret >= 0) + OPENSSL_assert(optval >= 18445); /* Test if SCTP doesn't partially deliver below * max record size (2^14 + 2048 + 13) @@ -1160,8 +1242,8 @@ static int dgram_sctp_read(BIO *b, char optlen = (socklen_t) sizeof(int); ret = getsockopt(b->num, IPPROTO_SCTP, SCTP_PARTIAL_DELIVERY_POINT, &optval, &optlen); - OPENSSL_assert(ret >= 0); - OPENSSL_assert(optval >= 18445); + if (ret >= 0) + OPENSSL_assert(optval >= 18445); /* Partially delivered notification??? Probably a bug.... */ OPENSSL_assert(!(msg.msg_flags & MSG_NOTIFICATION)); @@ -1195,15 +1277,15 @@ static int dgram_sctp_read(BIO *b, char authchunks = OPENSSL_malloc(optlen); memset(authchunks, 0, sizeof(optlen)); ii = getsockopt(b->num, IPPROTO_SCTP, SCTP_PEER_AUTH_CHUNKS, authchunks, &optlen); - OPENSSL_assert(ii >= 0); - for (p = (unsigned char*) authchunks->gauth_chunks; - p < (unsigned char*) authchunks + optlen; - p += sizeof(uint8_t)) - { - if (*p == OPENSSL_SCTP_DATA_CHUNK_TYPE) auth_data = 1; - if (*p == OPENSSL_SCTP_FORWARD_CUM_TSN_CHUNK_TYPE) auth_forward = 1; - } + if (ii >= 0) *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Thu Jan 8 22:41:42 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF73BC69; Thu, 8 Jan 2015 22:41:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E6943C4; Thu, 8 Jan 2015 22:41:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t08MfgIw047519; Thu, 8 Jan 2015 22:41:42 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t08MfgCa047518; Thu, 8 Jan 2015 22:41:42 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201501082241.t08MfgCa047518@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Thu, 8 Jan 2015 22:41:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276858 - vendor-crypto/openssl/1.0.1k X-SVN-Group: vendor-crypto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 22:41:42 -0000 Author: jkim Date: Thu Jan 8 22:41:41 2015 New Revision: 276858 URL: https://svnweb.freebsd.org/changeset/base/276858 Log: Tag OpenSSL 1.0.1k. Added: vendor-crypto/openssl/1.0.1k/ - copied from r276857, vendor-crypto/openssl/dist/ From owner-svn-src-vendor@FreeBSD.ORG Thu Jan 8 22:50:49 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E58AF279; Thu, 8 Jan 2015 22:50:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CDDEF7B0; Thu, 8 Jan 2015 22:50:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t08Momco050716; Thu, 8 Jan 2015 22:50:48 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t08MojRM050689; Thu, 8 Jan 2015 22:50:45 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201501082250.t08MojRM050689@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Thu, 8 Jan 2015 22:50:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276859 - in vendor-crypto/openssl/dist-0.9.8: . crypto crypto/asn1 crypto/bn crypto/bn/asm crypto/dsa crypto/ecdsa crypto/evp crypto/rsa crypto/x509 doc/ssl ssl util X-SVN-Group: vendor-crypto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 22:50:49 -0000 Author: jkim Date: Thu Jan 8 22:50:44 2015 New Revision: 276859 URL: https://svnweb.freebsd.org/changeset/base/276859 Log: Import OpenSSL 0.9.8zd. Modified: vendor-crypto/openssl/dist-0.9.8/CHANGES vendor-crypto/openssl/dist-0.9.8/FREEBSD-upgrade vendor-crypto/openssl/dist-0.9.8/Makefile vendor-crypto/openssl/dist-0.9.8/NEWS vendor-crypto/openssl/dist-0.9.8/README vendor-crypto/openssl/dist-0.9.8/crypto/Makefile vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_bitstr.c vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_type.c vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_verify.c vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1.h vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1_err.c vendor-crypto/openssl/dist-0.9.8/crypto/asn1/tasn_dec.c vendor-crypto/openssl/dist-0.9.8/crypto/asn1/x_algor.c vendor-crypto/openssl/dist-0.9.8/crypto/bn/asm/mips3.s vendor-crypto/openssl/dist-0.9.8/crypto/bn/asm/x86_64-gcc.c vendor-crypto/openssl/dist-0.9.8/crypto/bn/bn_asm.c vendor-crypto/openssl/dist-0.9.8/crypto/bn/bntest.c vendor-crypto/openssl/dist-0.9.8/crypto/bn/exptest.c vendor-crypto/openssl/dist-0.9.8/crypto/constant_time_locl.h vendor-crypto/openssl/dist-0.9.8/crypto/dsa/dsa_asn1.c vendor-crypto/openssl/dist-0.9.8/crypto/ecdsa/Makefile vendor-crypto/openssl/dist-0.9.8/crypto/ecdsa/ecs_vrf.c vendor-crypto/openssl/dist-0.9.8/crypto/evp/Makefile vendor-crypto/openssl/dist-0.9.8/crypto/evp/evp_enc.c vendor-crypto/openssl/dist-0.9.8/crypto/md32_common.h vendor-crypto/openssl/dist-0.9.8/crypto/opensslv.h vendor-crypto/openssl/dist-0.9.8/crypto/rsa/rsa_oaep.c vendor-crypto/openssl/dist-0.9.8/crypto/rsa/rsa_pk1.c vendor-crypto/openssl/dist-0.9.8/crypto/x509/x509.h vendor-crypto/openssl/dist-0.9.8/crypto/x509/x_all.c vendor-crypto/openssl/dist-0.9.8/doc/ssl/SSL_CTX_set_mode.pod vendor-crypto/openssl/dist-0.9.8/doc/ssl/SSL_CTX_set_options.pod vendor-crypto/openssl/dist-0.9.8/doc/ssl/SSL_CTX_set_tmp_rsa_callback.pod vendor-crypto/openssl/dist-0.9.8/e_os.h vendor-crypto/openssl/dist-0.9.8/openssl.spec vendor-crypto/openssl/dist-0.9.8/ssl/d1_pkt.c vendor-crypto/openssl/dist-0.9.8/ssl/d1_srvr.c vendor-crypto/openssl/dist-0.9.8/ssl/s23_srvr.c vendor-crypto/openssl/dist-0.9.8/ssl/s3_clnt.c vendor-crypto/openssl/dist-0.9.8/ssl/s3_pkt.c vendor-crypto/openssl/dist-0.9.8/ssl/s3_srvr.c vendor-crypto/openssl/dist-0.9.8/ssl/ssl.h vendor-crypto/openssl/dist-0.9.8/ssl/ssl_lib.c vendor-crypto/openssl/dist-0.9.8/util/libeay.num vendor-crypto/openssl/dist-0.9.8/util/mk1mf.pl Modified: vendor-crypto/openssl/dist-0.9.8/CHANGES ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/CHANGES Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/CHANGES Thu Jan 8 22:50:44 2015 (r276859) @@ -2,6 +2,87 @@ OpenSSL CHANGES _______________ + Changes between 0.9.8zc and 0.9.8zd [8 Jan 2015] + + *) Fix DTLS segmentation fault in dtls1_get_record. A carefully crafted DTLS + message can cause a segmentation fault in OpenSSL due to a NULL pointer + dereference. This could lead to a Denial Of Service attack. Thanks to + Markus Stenberg of Cisco Systems, Inc. for reporting this issue. + (CVE-2014-3571) + [Steve Henson] + + *) Fix issue where no-ssl3 configuration sets method to NULL. When openssl is + built with the no-ssl3 option and a SSL v3 ClientHello is received the ssl + method would be set to NULL which could later result in a NULL pointer + dereference. Thanks to Frank Schmirler for reporting this issue. + (CVE-2014-3569) + [Kurt Roeckx] + + *) Abort handshake if server key exchange message is omitted for ephemeral + ECDH ciphersuites. + + Thanks to Karthikeyan Bhargavan of the PROSECCO team at INRIA for + reporting this issue. + (CVE-2014-3572) + [Steve Henson] + + *) Remove non-export ephemeral RSA code on client and server. This code + violated the TLS standard by allowing the use of temporary RSA keys in + non-export ciphersuites and could be used by a server to effectively + downgrade the RSA key length used to a value smaller than the server + certificate. Thanks for Karthikeyan Bhargavan of the PROSECCO team at + INRIA or reporting this issue. + (CVE-2015-0204) + [Steve Henson] + + *) Fix various certificate fingerprint issues. + + By using non-DER or invalid encodings outside the signed portion of a + certificate the fingerprint can be changed without breaking the signature. + Although no details of the signed portion of the certificate can be changed + this can cause problems with some applications: e.g. those using the + certificate fingerprint for blacklists. + + 1. Reject signatures with non zero unused bits. + + If the BIT STRING containing the signature has non zero unused bits reject + the signature. All current signature algorithms require zero unused bits. + + 2. Check certificate algorithm consistency. + + Check the AlgorithmIdentifier inside TBS matches the one in the + certificate signature. NB: this will result in signature failure + errors for some broken certificates. + + Thanks to Konrad Kraszewski from Google for reporting this issue. + + 3. Check DSA/ECDSA signatures use DER. + + Reencode DSA/ECDSA signatures and compare with the original received + signature. Return an error if there is a mismatch. + + This will reject various cases including garbage after signature + (thanks to Antti Karjalainen and Tuomo Untinen from the Codenomicon CROSS + program for discovering this case) and use of BER or invalid ASN.1 INTEGERs + (negative or with leading zeroes). + + Further analysis was conducted and fixes were developed by Stephen Henson + of the OpenSSL core team. + + (CVE-2014-8275) + [Steve Henson] + + *) Correct Bignum squaring. Bignum squaring (BN_sqr) may produce incorrect + results on some platforms, including x86_64. This bug occurs at random + with a very low probability, and is not known to be exploitable in any + way, though its exact impact is difficult to determine. Thanks to Pieter + Wuille (Blockstream) who reported this issue and also suggested an initial + fix. Further analysis was conducted by the OpenSSL development team and + Adam Langley of Google. The final fix was developed by Andy Polyakov of + the OpenSSL core team. + (CVE-2014-3570) + [Andy Polyakov] + Changes between 0.9.8zb and 0.9.8zc [15 Oct 2014] *) Session Ticket Memory Leak. Modified: vendor-crypto/openssl/dist-0.9.8/FREEBSD-upgrade ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/FREEBSD-upgrade Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/FREEBSD-upgrade Thu Jan 8 22:50:44 2015 (r276859) @@ -11,8 +11,8 @@ First, read http://wiki.freebsd.org/Subv # Xlist setenv XLIST /FreeBSD/work/openssl/svn-FREEBSD-files/FREEBSD-Xlist setenv FSVN "svn+ssh://svn.freebsd.org/base" -setenv OSSLVER 0.9.8zc -# OSSLTAG format: v0_9_8zc +setenv OSSLVER 0.9.8zd +# OSSLTAG format: v0_9_8zd ###setenv OSSLTAG v`echo ${OSSLVER} | tr . _` Modified: vendor-crypto/openssl/dist-0.9.8/Makefile ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/Makefile Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/Makefile Thu Jan 8 22:50:44 2015 (r276859) @@ -4,7 +4,7 @@ ## Makefile for OpenSSL ## -VERSION=0.9.8zc +VERSION=0.9.8zd MAJOR=0 MINOR=9.8 SHLIB_VERSION_NUMBER=0.9.8 Modified: vendor-crypto/openssl/dist-0.9.8/NEWS ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/NEWS Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/NEWS Thu Jan 8 22:50:44 2015 (r276859) @@ -5,6 +5,15 @@ This file gives a brief overview of the major changes between each OpenSSL release. For more details please read the CHANGES file. + Major changes between OpenSSL 0.9.8zc and OpenSSL 0.9.8zd [8 Jan 2015] + + o Fix for CVE-2014-3571 + o Fix for CVE-2014-3569 + o Fix for CVE-2014-3572 + o Fix for CVE-2015-0204 + o Fix for CVE-2014-8275 + o Fix for CVE-2014-3570 + Major changes between OpenSSL 0.9.8zb and OpenSSL 0.9.8zc [15 Oct 2014]: o Fix for CVE-2014-3513 Modified: vendor-crypto/openssl/dist-0.9.8/README ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/README Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/README Thu Jan 8 22:50:44 2015 (r276859) @@ -1,5 +1,5 @@ - OpenSSL 0.9.8zc 15 Oct 2014 + OpenSSL 0.9.8zd 8 Jan 2015 Copyright (c) 1998-2011 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson Modified: vendor-crypto/openssl/dist-0.9.8/crypto/Makefile ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/Makefile Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/Makefile Thu Jan 8 22:50:44 2015 (r276859) @@ -41,7 +41,8 @@ SRC= $(LIBSRC) EXHEADER= crypto.h tmdiff.h opensslv.h opensslconf.h ebcdic.h symhacks.h \ ossl_typ.h -HEADER= cryptlib.h buildinf.h md32_common.h o_time.h o_str.h o_dir.h $(EXHEADER) +HEADER= cryptlib.h buildinf.h md32_common.h o_time.h o_str.h o_dir.h \ + constant_time_locl.h $(EXHEADER) ALL= $(GENERAL) $(SRC) $(HEADER) Modified: vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_bitstr.c ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_bitstr.c Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_bitstr.c Thu Jan 8 22:50:44 2015 (r276859) @@ -136,11 +136,16 @@ ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN p= *pp; i= *(p++); + if (i > 7) + { + i=ASN1_R_INVALID_BIT_STRING_BITS_LEFT; + goto err; + } /* We do this to preserve the settings. If we modify * the settings, via the _set_bit function, we will recalculate * on output */ ret->flags&= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); /* clear */ - ret->flags|=(ASN1_STRING_FLAG_BITS_LEFT|(i&0x07)); /* set */ + ret->flags|=(ASN1_STRING_FLAG_BITS_LEFT|i); /* set */ if (len-- > 1) /* using one because of the bits left byte */ { Modified: vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_type.c ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_type.c Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_type.c Thu Jan 8 22:50:44 2015 (r276859) @@ -108,3 +108,49 @@ int ASN1_TYPE_set1(ASN1_TYPE *a, int typ IMPLEMENT_STACK_OF(ASN1_TYPE) IMPLEMENT_ASN1_SET_OF(ASN1_TYPE) + +/* Returns 0 if they are equal, != 0 otherwise. */ +int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b) + { + int result = -1; + + if (!a || !b || a->type != b->type) return -1; + + switch (a->type) + { + case V_ASN1_OBJECT: + result = OBJ_cmp(a->value.object, b->value.object); + break; + case V_ASN1_NULL: + result = 0; /* They do not have content. */ + break; + case V_ASN1_INTEGER: + case V_ASN1_NEG_INTEGER: + case V_ASN1_ENUMERATED: + case V_ASN1_NEG_ENUMERATED: + case V_ASN1_BIT_STRING: + case V_ASN1_OCTET_STRING: + case V_ASN1_SEQUENCE: + case V_ASN1_SET: + case V_ASN1_NUMERICSTRING: + case V_ASN1_PRINTABLESTRING: + case V_ASN1_T61STRING: + case V_ASN1_VIDEOTEXSTRING: + case V_ASN1_IA5STRING: + case V_ASN1_UTCTIME: + case V_ASN1_GENERALIZEDTIME: + case V_ASN1_GRAPHICSTRING: + case V_ASN1_VISIBLESTRING: + case V_ASN1_GENERALSTRING: + case V_ASN1_UNIVERSALSTRING: + case V_ASN1_BMPSTRING: + case V_ASN1_UTF8STRING: + case V_ASN1_OTHER: + default: + result = ASN1_STRING_cmp((ASN1_STRING *) a->value.ptr, + (ASN1_STRING *) b->value.ptr); + break; + } + + return result; + } Modified: vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_verify.c ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_verify.c Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/asn1/a_verify.c Thu Jan 8 22:50:44 2015 (r276859) @@ -89,6 +89,12 @@ int ASN1_verify(i2d_of_void *i2d, X509_A ASN1err(ASN1_F_ASN1_VERIFY,ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM); goto err; } + + if (signature->type == V_ASN1_BIT_STRING && signature->flags & 0x7) + { + ASN1err(ASN1_F_ASN1_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT); + goto err; + } inl=i2d(data,NULL); buf_in=OPENSSL_malloc((unsigned int)inl); @@ -144,6 +150,12 @@ int ASN1_item_verify(const ASN1_ITEM *it return -1; } + if (signature->type == V_ASN1_BIT_STRING && signature->flags & 0x7) + { + ASN1err(ASN1_F_ASN1_ITEM_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT); + return -1; + } + EVP_MD_CTX_init(&ctx); i=OBJ_obj2nid(a->algorithm); type=EVP_get_digestbyname(OBJ_nid2sn(i)); Modified: vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1.h ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1.h Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1.h Thu Jan 8 22:50:44 2015 (r276859) @@ -769,6 +769,7 @@ DECLARE_ASN1_FUNCTIONS_fname(ASN1_TYPE, int ASN1_TYPE_get(ASN1_TYPE *a); void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value); +int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b); ASN1_OBJECT * ASN1_OBJECT_new(void ); void ASN1_OBJECT_free(ASN1_OBJECT *a); @@ -1260,6 +1261,7 @@ void ERR_load_ASN1_strings(void); #define ASN1_R_ILLEGAL_TIME_VALUE 184 #define ASN1_R_INTEGER_NOT_ASCII_FORMAT 185 #define ASN1_R_INTEGER_TOO_LARGE_FOR_LONG 128 +#define ASN1_R_INVALID_BIT_STRING_BITS_LEFT 220 #define ASN1_R_INVALID_BMPSTRING_LENGTH 129 #define ASN1_R_INVALID_DIGIT 130 #define ASN1_R_INVALID_MIME_TYPE 200 @@ -1308,6 +1310,7 @@ void ERR_load_ASN1_strings(void); #define ASN1_R_TIME_NOT_ASCII_FORMAT 193 #define ASN1_R_TOO_LONG 155 #define ASN1_R_TYPE_NOT_CONSTRUCTED 156 +#define ASN1_R_TYPE_NOT_PRIMITIVE 218 #define ASN1_R_UNABLE_TO_DECODE_RSA_KEY 157 #define ASN1_R_UNABLE_TO_DECODE_RSA_PRIVATE_KEY 158 #define ASN1_R_UNEXPECTED_EOC 159 Modified: vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1_err.c ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1_err.c Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/asn1/asn1_err.c Thu Jan 8 22:50:44 2015 (r276859) @@ -1,6 +1,6 @@ /* crypto/asn1/asn1_err.c */ /* ==================================================================== - * Copyright (c) 1999-2008 The OpenSSL Project. All rights reserved. + * Copyright (c) 1999-2014 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -235,6 +235,7 @@ static ERR_STRING_DATA ASN1_str_reasons[ {ERR_REASON(ASN1_R_ILLEGAL_TIME_VALUE) ,"illegal time value"}, {ERR_REASON(ASN1_R_INTEGER_NOT_ASCII_FORMAT),"integer not ascii format"}, {ERR_REASON(ASN1_R_INTEGER_TOO_LARGE_FOR_LONG),"integer too large for long"}, +{ERR_REASON(ASN1_R_INVALID_BIT_STRING_BITS_LEFT),"invalid bit string bits left"}, {ERR_REASON(ASN1_R_INVALID_BMPSTRING_LENGTH),"invalid bmpstring length"}, {ERR_REASON(ASN1_R_INVALID_DIGIT) ,"invalid digit"}, {ERR_REASON(ASN1_R_INVALID_MIME_TYPE) ,"invalid mime type"}, @@ -283,6 +284,7 @@ static ERR_STRING_DATA ASN1_str_reasons[ {ERR_REASON(ASN1_R_TIME_NOT_ASCII_FORMAT),"time not ascii format"}, {ERR_REASON(ASN1_R_TOO_LONG) ,"too long"}, {ERR_REASON(ASN1_R_TYPE_NOT_CONSTRUCTED) ,"type not constructed"}, +{ERR_REASON(ASN1_R_TYPE_NOT_PRIMITIVE) ,"type not primitive"}, {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_KEY),"unable to decode rsa key"}, {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_PRIVATE_KEY),"unable to decode rsa private key"}, {ERR_REASON(ASN1_R_UNEXPECTED_EOC) ,"unexpected eoc"}, Modified: vendor-crypto/openssl/dist-0.9.8/crypto/asn1/tasn_dec.c ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/asn1/tasn_dec.c Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/asn1/tasn_dec.c Thu Jan 8 22:50:44 2015 (r276859) @@ -866,6 +866,14 @@ static int asn1_d2i_ex_primitive(ASN1_VA } else if (cst) { + if (utype == V_ASN1_NULL || utype == V_ASN1_BOOLEAN + || utype == V_ASN1_OBJECT || utype == V_ASN1_INTEGER + || utype == V_ASN1_ENUMERATED) + { + ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, + ASN1_R_TYPE_NOT_PRIMITIVE); + return 0; + } buf.length = 0; buf.max = 0; buf.data = NULL; Modified: vendor-crypto/openssl/dist-0.9.8/crypto/asn1/x_algor.c ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/asn1/x_algor.c Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/asn1/x_algor.c Thu Jan 8 22:50:44 2015 (r276859) @@ -128,3 +128,13 @@ void X509_ALGOR_get0(ASN1_OBJECT **paobj } } +int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b) + { + int rv; + rv = OBJ_cmp(a->algorithm, b->algorithm); + if (rv) + return rv; + if (!a->parameter && !b->parameter) + return 0; + return ASN1_TYPE_cmp(a->parameter, b->parameter); + } Modified: vendor-crypto/openssl/dist-0.9.8/crypto/bn/asm/mips3.s ============================================================================== --- vendor-crypto/openssl/dist-0.9.8/crypto/bn/asm/mips3.s Thu Jan 8 22:41:41 2015 (r276858) +++ vendor-crypto/openssl/dist-0.9.8/crypto/bn/asm/mips3.s Thu Jan 8 22:50:44 2015 (r276859) @@ -1584,17 +1584,17 @@ LEAF(bn_sqr_comba8) dmultu a_2,a_0 /* mul_add_c2(a[2],b[0],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt c_2,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu c_2,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 - daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 dmultu a_1,a_1 /* mul_add_c(a[1],b[1],c3,c1,c2); */ mflo t_1 mfhi t_2 @@ -1609,63 +1609,63 @@ LEAF(bn_sqr_comba8) dmultu a_0,a_3 /* mul_add_c2(a[0],b[3],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt c_3,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu c_3,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 - daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 dmultu a_1,a_2 /* mul_add_c2(a[1],b[2],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_3,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu AT,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 sd c_1,24(a0) dmultu a_4,a_0 /* mul_add_c2(a[4],b[0],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt c_1,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu c_1,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 - daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 dmultu a_3,a_1 /* mul_add_c2(a[3],b[1],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_1,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu AT,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 dmultu a_2,a_2 /* mul_add_c(a[2],b[2],c2,c3,c1); */ mflo t_1 mfhi t_2 @@ -1680,93 +1680,93 @@ LEAF(bn_sqr_comba8) dmultu a_0,a_5 /* mul_add_c2(a[0],b[5],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt c_2,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu c_2,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 - daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 dmultu a_1,a_4 /* mul_add_c2(a[1],b[4],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_2,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu AT,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 dmultu a_2,a_3 /* mul_add_c2(a[2],b[3],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_2,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu AT,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 sd c_3,40(a0) dmultu a_6,a_0 /* mul_add_c2(a[6],b[0],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt c_3,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu c_3,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 - daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 dmultu a_5,a_1 /* mul_add_c2(a[5],b[1],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_3,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu AT,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 dmultu a_4,a_2 /* mul_add_c2(a[4],b[2],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_3,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu AT,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 dmultu a_3,a_3 /* mul_add_c(a[3],b[3],c1,c2,c3); */ mflo t_1 mfhi t_2 @@ -1781,108 +1781,108 @@ LEAF(bn_sqr_comba8) dmultu a_0,a_7 /* mul_add_c2(a[0],b[7],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt c_1,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu c_1,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 - daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 dmultu a_1,a_6 /* mul_add_c2(a[1],b[6],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_1,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu AT,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 dmultu a_2,a_5 /* mul_add_c2(a[2],b[5],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_1,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu AT,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 dmultu a_3,a_4 /* mul_add_c2(a[3],b[4],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_1,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu AT,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 sd c_2,56(a0) dmultu a_7,a_1 /* mul_add_c2(a[7],b[1],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt c_2,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu c_2,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 - daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 dmultu a_6,a_2 /* mul_add_c2(a[6],b[2],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_2,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu AT,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 dmultu a_5,a_3 /* mul_add_c2(a[5],b[3],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_2,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu AT,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 dmultu a_4,a_4 /* mul_add_c(a[4],b[4],c3,c1,c2); */ mflo t_1 mfhi t_2 @@ -1897,78 +1897,78 @@ LEAF(bn_sqr_comba8) dmultu a_2,a_7 /* mul_add_c2(a[2],b[7],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt c_3,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu c_3,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 - daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 dmultu a_3,a_6 /* mul_add_c2(a[3],b[6],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_3,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu AT,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 dmultu a_4,a_5 /* mul_add_c2(a[4],b[5],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_3,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu AT,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 sd c_1,72(a0) dmultu a_7,a_3 /* mul_add_c2(a[7],b[3],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt c_1,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu c_1,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 - daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 dmultu a_6,a_4 /* mul_add_c2(a[6],b[4],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_1,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu AT,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 dmultu a_5,a_5 /* mul_add_c(a[5],b[5],c2,c3,c1); */ mflo t_1 mfhi t_2 @@ -1983,48 +1983,48 @@ LEAF(bn_sqr_comba8) dmultu a_4,a_7 /* mul_add_c2(a[4],b[7],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt c_2,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu c_2,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 - daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 dmultu a_5,a_6 /* mul_add_c2(a[5],b[6],c3,c1,c2); */ mflo t_1 mfhi t_2 - slt AT,t_2,zero - daddu c_2,AT - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_3,t_1 sltu AT,c_3,t_1 - daddu t_2,AT + daddu c_3,t_1 + daddu AT,t_2 + sltu t_1,c_3,t_1 + daddu c_1,AT + daddu t_2,t_1 + sltu AT,c_1,AT daddu c_1,t_2 - sltu AT,c_1,t_2 daddu c_2,AT + sltu t_2,c_1,t_2 + daddu c_2,t_2 sd c_3,88(a0) dmultu a_7,a_5 /* mul_add_c2(a[7],b[5],c1,c2,c3); */ mflo t_1 mfhi t_2 - slt c_3,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_1,t_1 sltu AT,c_1,t_1 - daddu t_2,AT + daddu c_1,t_1 + daddu AT,t_2 + sltu t_1,c_1,t_1 + daddu c_2,AT + daddu t_2,t_1 + sltu c_3,c_2,AT daddu c_2,t_2 - sltu AT,c_2,t_2 - daddu c_3,AT + sltu t_2,c_2,t_2 + daddu c_3,t_2 dmultu a_6,a_6 /* mul_add_c(a[6],b[6],c1,c2,c3); */ mflo t_1 mfhi t_2 @@ -2039,17 +2039,17 @@ LEAF(bn_sqr_comba8) dmultu a_6,a_7 /* mul_add_c2(a[6],b[7],c2,c3,c1); */ mflo t_1 mfhi t_2 - slt c_1,t_2,zero - dsll t_2,1 - slt a2,t_1,zero - daddu t_2,a2 - dsll t_1,1 daddu c_2,t_1 sltu AT,c_2,t_1 - daddu t_2,AT + daddu c_2,t_1 + daddu AT,t_2 + sltu t_1,c_2,t_1 + daddu c_3,AT + daddu t_2,t_1 + sltu c_1,c_3,AT daddu c_3,t_2 - sltu AT,c_3,t_2 - daddu c_1,AT + sltu t_2,c_3,t_2 + daddu c_1,t_2 sd c_2,104(a0) dmultu a_7,a_7 /* mul_add_c(a[7],b[7],c3,c1,c2); */ @@ -2070,9 +2070,9 @@ LEAF(bn_sqr_comba4) .set reorder ld a_0,0(a1) ld a_1,8(a1) + dmultu a_0,a_0 /* mul_add_c(a[0],b[0],c1,c2,c3); */ ld a_2,16(a1) ld a_3,24(a1) - dmultu a_0,a_0 /* mul_add_c(a[0],b[0],c1,c2,c3); */ mflo c_1 mfhi c_2 sd c_1,0(a0) @@ -2093,17 +2093,17 @@ LEAF(bn_sqr_comba4) dmultu a_2,a_0 /* mul_add_c2(a[2],b[0],c3,c1,c2); */ *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Thu Jan 8 22:53:11 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 663733DB; Thu, 8 Jan 2015 22:53:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38ACE7D3; Thu, 8 Jan 2015 22:53:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t08MrBIi052580; Thu, 8 Jan 2015 22:53:11 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t08MrBPt052579; Thu, 8 Jan 2015 22:53:11 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201501082253.t08MrBPt052579@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Thu, 8 Jan 2015 22:53:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276860 - vendor-crypto/openssl/0.9.8zd X-SVN-Group: vendor-crypto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 22:53:11 -0000 Author: jkim Date: Thu Jan 8 22:53:10 2015 New Revision: 276860 URL: https://svnweb.freebsd.org/changeset/base/276860 Log: Tag OpenSSL 0.9.8zd. Added: vendor-crypto/openssl/0.9.8zd/ - copied from r276859, vendor-crypto/openssl/dist-0.9.8/ From owner-svn-src-vendor@FreeBSD.ORG Fri Jan 9 00:12:21 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 978C89CF; Fri, 9 Jan 2015 00:12:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83324F69; Fri, 9 Jan 2015 00:12:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t090CLHK091684; Fri, 9 Jan 2015 00:12:21 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t090CLMT091682; Fri, 9 Jan 2015 00:12:21 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201501090012.t090CLMT091682@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Fri, 9 Jan 2015 00:12:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276862 - in vendor-crypto/openssl/dist: crypto util X-SVN-Group: vendor-crypto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 00:12:21 -0000 Author: jkim Date: Fri Jan 9 00:12:20 2015 New Revision: 276862 URL: https://svnweb.freebsd.org/changeset/base/276862 Log: Fix build failure on Windows due to undefined cflags identifier. https://github.com/openssl/openssl/commit/5c5e7e1a7eb114cf136e1ae4b6a413bc48ba41eb Modified: vendor-crypto/openssl/dist/crypto/cversion.c vendor-crypto/openssl/dist/util/mkbuildinf.pl Modified: vendor-crypto/openssl/dist/crypto/cversion.c ============================================================================== --- vendor-crypto/openssl/dist/crypto/cversion.c Thu Jan 8 23:42:41 2015 (r276861) +++ vendor-crypto/openssl/dist/crypto/cversion.c Fri Jan 9 00:12:20 2015 (r276862) @@ -77,7 +77,7 @@ const char *SSLeay_version(int t) if (t == SSLEAY_CFLAGS) { #ifdef CFLAGS - return(cflags); + return(CFLAGS); #else return("compiler: information not available"); #endif Modified: vendor-crypto/openssl/dist/util/mkbuildinf.pl ============================================================================== --- vendor-crypto/openssl/dist/util/mkbuildinf.pl Thu Jan 8 23:42:41 2015 (r276861) +++ vendor-crypto/openssl/dist/util/mkbuildinf.pl Fri Jan 9 00:12:20 2015 (r276862) @@ -7,7 +7,7 @@ $date = localtime(); print <<"END_OUTPUT"; #ifndef MK1MF_BUILD /* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */ - #define CFLAGS + #define CFLAGS cflags /* * Generate CFLAGS as an array of individual characters. This is a * workaround for the situation where CFLAGS gets too long for a C90 string From owner-svn-src-vendor@FreeBSD.ORG Sat Jan 10 00:07:35 2015 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29869871; Sat, 10 Jan 2015 00:07:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 157931C3; Sat, 10 Jan 2015 00:07:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0A07YEj069454; Sat, 10 Jan 2015 00:07:34 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0A07Y8V069453; Sat, 10 Jan 2015 00:07:34 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201501100007.t0A07Y8V069453@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sat, 10 Jan 2015 00:07:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r276897 - vendor/xz/dist/src/liblzma X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 00:07:35 -0000 Author: bapt Date: Sat Jan 10 00:07:34 2015 New Revision: 276897 URL: https://svnweb.freebsd.org/changeset/base/276897 Log: Import the lzma pc file Added: vendor/xz/dist/src/liblzma/liblzma.pc.in (contents, props changed) Added: vendor/xz/dist/src/liblzma/liblzma.pc.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/xz/dist/src/liblzma/liblzma.pc.in Sat Jan 10 00:07:34 2015 (r276897) @@ -0,0 +1,19 @@ +# +# Author: Lasse Collin +# +# This file has been put into the public domain. +# You can do whatever you want with this file. +# + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: liblzma +Description: General purpose data compression library +URL: @PACKAGE_URL@ +Version: @PACKAGE_VERSION@ +Cflags: -I${includedir} +Libs: -L${libdir} -llzma +Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@