svn commit: r357119 - in projects/clang1000-import: . etc etc/mtree include lib/libbe lib/libbe/tests lib/libc/gen lib/libc/stdlib libexec/rc/rc.d sbin/bectl sbin/ipfw secure/caroot secure/lib/libc...

Dimitry Andric dim at FreeBSD.org
Sat Jan 25 14:46:58 UTC 2020


Author: dim
Date: Sat Jan 25 14:46:52 2020
New Revision: 357119
URL: https://svnweb.freebsd.org/changeset/base/357119

Log:
  Merge ^/head r356931 through r357118.

Added:
  projects/clang1000-import/lib/libc/stdlib/random.h
     - copied unchanged from r357118, head/lib/libc/stdlib/random.h
  projects/clang1000-import/secure/lib/libcrypto/man/man3/
     - copied from r357118, head/secure/lib/libcrypto/man/man3/
  projects/clang1000-import/secure/lib/libcrypto/man/man5/
     - copied from r357118, head/secure/lib/libcrypto/man/man5/
  projects/clang1000-import/secure/lib/libcrypto/man/man7/
     - copied from r357118, head/secure/lib/libcrypto/man/man7/
  projects/clang1000-import/share/man/man4/hwpstate_intel.4
     - copied unchanged from r357118, head/share/man/man4/hwpstate_intel.4
  projects/clang1000-import/sys/dev/pci/pci_host_generic_acpi.h
     - copied unchanged from r357118, head/sys/dev/pci/pci_host_generic_acpi.h
  projects/clang1000-import/sys/net/route_temporal.c
     - copied unchanged from r357118, head/sys/net/route_temporal.c
  projects/clang1000-import/sys/x86/cpufreq/hwpstate_amd.c
     - copied unchanged from r357118, head/sys/x86/cpufreq/hwpstate_amd.c
  projects/clang1000-import/sys/x86/cpufreq/hwpstate_intel.c
     - copied unchanged from r357118, head/sys/x86/cpufreq/hwpstate_intel.c
  projects/clang1000-import/sys/x86/cpufreq/hwpstate_intel_internal.h
     - copied unchanged from r357118, head/sys/x86/cpufreq/hwpstate_intel_internal.h
  projects/clang1000-import/tests/sys/netinet/redirect.py
     - copied unchanged from r357118, head/tests/sys/netinet/redirect.py
  projects/clang1000-import/tests/sys/netinet/redirect.sh
     - copied unchanged from r357118, head/tests/sys/netinet/redirect.sh
  projects/clang1000-import/tests/sys/netinet6/redirect.py
     - copied unchanged from r357118, head/tests/sys/netinet6/redirect.py
  projects/clang1000-import/tests/sys/netinet6/redirect.sh
     - copied unchanged from r357118, head/tests/sys/netinet6/redirect.sh
Replaced:
  projects/clang1000-import/secure/lib/libcrypto/Makefile.man
     - copied unchanged from r357118, head/secure/lib/libcrypto/Makefile.man
Deleted:
  projects/clang1000-import/secure/lib/libcrypto/man/ADMISSIONS.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_INTEGER_get_int64.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_ITEM_lookup.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_OBJECT_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_STRING_TABLE_add.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_STRING_length.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_STRING_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_STRING_print_ex.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_TIME_set.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_TYPE_get.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASN1_generate_nconf.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASYNC_WAIT_CTX_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/ASYNC_start_job.3
  projects/clang1000-import/secure/lib/libcrypto/man/BF_encrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_ADDR.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_ADDRINFO.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_connect.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_ctrl.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_f_base64.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_f_buffer.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_f_cipher.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_f_md.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_f_null.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_f_ssl.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_find_type.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_get_data.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_get_ex_new_index.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_new_CMS.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_parse_hostserv.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_printf.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_push.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_read.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_accept.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_bio.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_connect.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_fd.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_file.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_mem.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_null.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_s_socket.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_set_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/BIO_should_retry.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_BLINDING_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_CTX_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_CTX_start.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_add.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_add_word.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_bn2bin.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_cmp.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_copy.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_generate_prime.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_mod_inverse.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_mod_mul_montgomery.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_mod_mul_reciprocal.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_num_bytes.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_rand.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_security_bits.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_set_bit.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_swap.3
  projects/clang1000-import/secure/lib/libcrypto/man/BN_zero.3
  projects/clang1000-import/secure/lib/libcrypto/man/BUF_MEM_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_add0_cert.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_add1_recipient_cert.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_add1_signer.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_compress.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_decrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_encrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_final.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_get0_RecipientInfos.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_get0_SignerInfos.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_get0_type.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_get1_ReceiptRequest.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_sign.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_sign_receipt.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_uncompress.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_verify.3
  projects/clang1000-import/secure/lib/libcrypto/man/CMS_verify_receipt.3
  projects/clang1000-import/secure/lib/libcrypto/man/CONF_modules_free.3
  projects/clang1000-import/secure/lib/libcrypto/man/CONF_modules_load_file.3
  projects/clang1000-import/secure/lib/libcrypto/man/CRYPTO_THREAD_run_once.3
  projects/clang1000-import/secure/lib/libcrypto/man/CRYPTO_get_ex_new_index.3
  projects/clang1000-import/secure/lib/libcrypto/man/CRYPTO_memcmp.3
  projects/clang1000-import/secure/lib/libcrypto/man/CTLOG_STORE_get0_log_by_id.3
  projects/clang1000-import/secure/lib/libcrypto/man/CTLOG_STORE_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/CTLOG_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/CT_POLICY_EVAL_CTX_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/DEFINE_STACK_OF.3
  projects/clang1000-import/secure/lib/libcrypto/man/DES_random_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_generate_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_generate_parameters.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_get0_pqg.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_get_1024_160.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_new_by_nid.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_set_method.3
  projects/clang1000-import/secure/lib/libcrypto/man/DH_size.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_SIG_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_do_sign.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_dup_DH.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_generate_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_generate_parameters.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_get0_pqg.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_set_method.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_sign.3
  projects/clang1000-import/secure/lib/libcrypto/man/DSA_size.3
  projects/clang1000-import/secure/lib/libcrypto/man/DTLS_get_data_mtu.3
  projects/clang1000-import/secure/lib/libcrypto/man/DTLS_set_timer_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/DTLSv1_listen.3
  projects/clang1000-import/secure/lib/libcrypto/man/ECDSA_SIG_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/ECPKParameters_print.3
  projects/clang1000-import/secure/lib/libcrypto/man/EC_GFp_simple_method.3
  projects/clang1000-import/secure/lib/libcrypto/man/EC_GROUP_copy.3
  projects/clang1000-import/secure/lib/libcrypto/man/EC_GROUP_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/EC_KEY_get_enc_flags.3
  projects/clang1000-import/secure/lib/libcrypto/man/EC_KEY_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/EC_POINT_add.3
  projects/clang1000-import/secure/lib/libcrypto/man/EC_POINT_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/ENGINE_add.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_GET_LIB.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_clear_error.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_error_string.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_get_error.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_load_crypto_strings.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_load_strings.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_print_errors.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_put_error.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_remove_state.3
  projects/clang1000-import/secure/lib/libcrypto/man/ERR_set_mark.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_BytesToKey.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_CIPHER_CTX_get_cipher_data.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_CIPHER_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_DigestInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_DigestSignInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_DigestVerifyInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_EncodeInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_EncryptInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_MD_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_OpenInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_ASN1_METHOD.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_CTX_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_CTX_set1_pbe_pass.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_CTX_set_hkdf_md.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_CTX_set_rsa_pss_keygen_md.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_CTX_set_scrypt_N.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_CTX_set_tls1_prf_md.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_asn1_get_count.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_cmp.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_decrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_derive.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_encrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_get_default_digest_nid.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_keygen.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_meth_get_count.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_print_private.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_set1_RSA.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_sign.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_verify.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_PKEY_verify_recover.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_SealInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_SignInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_VerifyInit.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_aes.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_aria.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_bf_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_blake2b512.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_camellia.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_cast5_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_chacha20.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_des.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_desx_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_idea_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_md2.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_md4.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_md5.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_mdc2.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_rc2_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_rc4.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_rc5_32_12_16_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_ripemd160.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_seed_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_sha1.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_sha224.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_sha3_224.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_sm3.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_sm4_cbc.3
  projects/clang1000-import/secure/lib/libcrypto/man/EVP_whirlpool.3
  projects/clang1000-import/secure/lib/libcrypto/man/HMAC.3
  projects/clang1000-import/secure/lib/libcrypto/man/MD5.3
  projects/clang1000-import/secure/lib/libcrypto/man/MDC2_Init.3
  projects/clang1000-import/secure/lib/libcrypto/man/OBJ_nid2obj.3
  projects/clang1000-import/secure/lib/libcrypto/man/OCSP_REQUEST_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/OCSP_cert_to_id.3
  projects/clang1000-import/secure/lib/libcrypto/man/OCSP_request_add1_nonce.3
  projects/clang1000-import/secure/lib/libcrypto/man/OCSP_resp_find_status.3
  projects/clang1000-import/secure/lib/libcrypto/man/OCSP_response_status.3
  projects/clang1000-import/secure/lib/libcrypto/man/OCSP_sendreq_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_Applink.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_LH_COMPFUNC.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_LH_stats.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_config.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_fork_prepare.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_ia32cap.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_init_crypto.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_init_ssl.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_instrument_bus.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_load_builtin_modules.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_malloc.3
  projects/clang1000-import/secure/lib/libcrypto/man/OPENSSL_secure_malloc.3
  projects/clang1000-import/secure/lib/libcrypto/man/OSSL_STORE_INFO.3
  projects/clang1000-import/secure/lib/libcrypto/man/OSSL_STORE_LOADER.3
  projects/clang1000-import/secure/lib/libcrypto/man/OSSL_STORE_SEARCH.3
  projects/clang1000-import/secure/lib/libcrypto/man/OSSL_STORE_expect.3
  projects/clang1000-import/secure/lib/libcrypto/man/OSSL_STORE_open.3
  projects/clang1000-import/secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
  projects/clang1000-import/secure/lib/libcrypto/man/PEM_bytes_read_bio.3
  projects/clang1000-import/secure/lib/libcrypto/man/PEM_read.3
  projects/clang1000-import/secure/lib/libcrypto/man/PEM_read_CMS.3
  projects/clang1000-import/secure/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
  projects/clang1000-import/secure/lib/libcrypto/man/PEM_read_bio_ex.3
  projects/clang1000-import/secure/lib/libcrypto/man/PEM_write_bio_CMS_stream.3
  projects/clang1000-import/secure/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS12_create.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS12_newpass.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS12_parse.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS7_decrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS7_encrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS7_sign.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS7_sign_add_signer.3
  projects/clang1000-import/secure/lib/libcrypto/man/PKCS7_verify.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_DRBG_generate.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_DRBG_get0_master.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_DRBG_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_DRBG_reseed.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_DRBG_set_callbacks.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_DRBG_set_ex_data.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_add.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_bytes.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_cleanup.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_egd.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_load_file.3
  projects/clang1000-import/secure/lib/libcrypto/man/RAND_set_rand_method.3
  projects/clang1000-import/secure/lib/libcrypto/man/RC4_set_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/RIPEMD160_Init.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_blinding_on.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_check_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_generate_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_get0_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_padding_add_PKCS1_type_1.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_print.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_private_encrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_public_encrypt.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_set_method.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_sign.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_sign_ASN1_OCTET_STRING.3
  projects/clang1000-import/secure/lib/libcrypto/man/RSA_size.3
  projects/clang1000-import/secure/lib/libcrypto/man/SCT_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/SCT_print.3
  projects/clang1000-import/secure/lib/libcrypto/man/SCT_validate.3
  projects/clang1000-import/secure/lib/libcrypto/man/SHA256_Init.3
  projects/clang1000-import/secure/lib/libcrypto/man/SMIME_read_CMS.3
  projects/clang1000-import/secure/lib/libcrypto/man/SMIME_read_PKCS7.3
  projects/clang1000-import/secure/lib/libcrypto/man/SMIME_write_CMS.3
  projects/clang1000-import/secure/lib/libcrypto/man/SMIME_write_PKCS7.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CIPHER_get_name.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_COMP_add_compression_method.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CONF_CTX_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CONF_CTX_set1_prefix.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CONF_CTX_set_flags.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CONF_CTX_set_ssl_ctx.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CONF_cmd.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CONF_cmd_argv.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_add1_chain_cert.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_add_extra_chain_cert.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_add_session.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_config.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_ctrl.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_dane_enable.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_flush_sessions.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_free.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_get0_param.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_get_verify_mode.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_has_client_custom_ext.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_load_verify_locations.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_sess_number.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_sess_set_cache_size.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_sess_set_get_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_sessions.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set0_CA_list.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set1_curves.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set1_sigalgs.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set1_verify_cert_store.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_alpn_select_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_cert_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_cert_store.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_cert_verify_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_cipher_list.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_client_cert_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_client_hello_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_ct_validation_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_ctlog_list_file.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_default_passwd_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_ex_data.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_generate_session_id.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_info_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_keylog_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_max_cert_list.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_min_proto_version.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_mode.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_msg_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_num_tickets.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_options.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_psk_client_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_quiet_shutdown.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_read_ahead.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_record_padding_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_security_level.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_session_cache_mode.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_session_id_context.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_session_ticket_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_split_send_fragment.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_ssl_version.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_stateless_cookie_generate_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_timeout.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_tlsext_servername_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_tlsext_status_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_tlsext_ticket_key_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_tlsext_use_srtp.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_tmp_dh_callback.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_set_verify.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_use_certificate.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_use_psk_identity_hint.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_CTX_use_serverinfo.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_free.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get0_cipher.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get0_hostname.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get0_id_context.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get0_peer.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get_compress_id.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get_ex_data.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get_protocol_version.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_get_time.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_has_ticket.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_is_resumable.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_print.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_SESSION_set1_id.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_accept.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_alert_type_string.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_alloc_buffers.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_check_chain.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_clear.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_connect.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_do_handshake.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_export_keying_material.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_extension_supported.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_free.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get0_peer_scts.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_SSL_CTX.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_all_async_fds.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_ciphers.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_client_random.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_current_cipher.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_default_timeout.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_error.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_extms_support.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_fd.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_peer_cert_chain.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_peer_certificate.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_peer_signature_nid.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_peer_tmp_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_psk_identity.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_rbio.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_session.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_shared_sigalgs.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_verify_result.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_get_version.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_in_init.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_key_update.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_library_init.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_load_client_CA_file.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_pending.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_read.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_read_early_data.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_rstate_string.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_session_reused.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_set1_host.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_set_bio.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_set_connect_state.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_set_fd.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_set_session.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_set_shutdown.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_set_verify_result.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_shutdown.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_state_string.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_want.3
  projects/clang1000-import/secure/lib/libcrypto/man/SSL_write.3
  projects/clang1000-import/secure/lib/libcrypto/man/UI_STRING.3
  projects/clang1000-import/secure/lib/libcrypto/man/UI_UTIL_read_pw.3
  projects/clang1000-import/secure/lib/libcrypto/man/UI_create_method.3
  projects/clang1000-import/secure/lib/libcrypto/man/UI_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509V3_get_d2i.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_ALGOR_dup.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_CRL_get0_by_serial.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_EXTENSION_set_object.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_LOOKUP_hash_dir.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_LOOKUP_meth_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_NAME_ENTRY_get_object.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_NAME_get0_der.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_NAME_get_index_by_NID.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_NAME_print_ex.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_PUBKEY_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_SIG_get0.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_STORE_CTX_get_error.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_STORE_CTX_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_STORE_CTX_set_verify_cb.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_STORE_add_cert.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_STORE_get0_param.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_STORE_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_STORE_set_verify_cb_func.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_check_ca.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_check_host.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_check_issued.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_check_private_key.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_cmp.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_cmp_time.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_digest.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_dup.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get0_notBefore.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get0_signature.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get0_uids.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get_extension_flags.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get_pubkey.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get_serialNumber.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get_subject_name.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_get_version.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_new.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_sign.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509_verify_cert.3
  projects/clang1000-import/secure/lib/libcrypto/man/X509v3_get_ext_by_NID.3
  projects/clang1000-import/secure/lib/libcrypto/man/d2i_DHparams.3
  projects/clang1000-import/secure/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
  projects/clang1000-import/secure/lib/libcrypto/man/d2i_PrivateKey.3
  projects/clang1000-import/secure/lib/libcrypto/man/d2i_SSL_SESSION.3
  projects/clang1000-import/secure/lib/libcrypto/man/d2i_X509.3
  projects/clang1000-import/secure/lib/libcrypto/man/i2d_CMS_bio_stream.3
  projects/clang1000-import/secure/lib/libcrypto/man/i2d_PKCS7_bio_stream.3
  projects/clang1000-import/secure/lib/libcrypto/man/i2d_re_X509_tbs.3
  projects/clang1000-import/secure/lib/libcrypto/man/o2i_SCT_LIST.3
  projects/clang1000-import/sys/x86/cpufreq/hwpstate.c
Modified:
  projects/clang1000-import/Makefile.inc1
  projects/clang1000-import/ObsoleteFiles.inc
  projects/clang1000-import/etc/Makefile
  projects/clang1000-import/etc/mtree/BSD.usr.dist
  projects/clang1000-import/include/unistd.h
  projects/clang1000-import/lib/libbe/be.c
  projects/clang1000-import/lib/libbe/be.h
  projects/clang1000-import/lib/libbe/be_access.c
  projects/clang1000-import/lib/libbe/be_error.c
  projects/clang1000-import/lib/libbe/be_impl.h
  projects/clang1000-import/lib/libbe/be_info.c
  projects/clang1000-import/lib/libbe/libbe.3
  projects/clang1000-import/lib/libbe/tests/target_prog.c
  projects/clang1000-import/lib/libc/gen/auxv.c
  projects/clang1000-import/lib/libc/gen/posix_spawn.c
  projects/clang1000-import/lib/libc/gen/ualarm.c
  projects/clang1000-import/lib/libc/stdlib/rand.c
  projects/clang1000-import/lib/libc/stdlib/random.3
  projects/clang1000-import/lib/libc/stdlib/random.c
  projects/clang1000-import/libexec/rc/rc.d/ipfw
  projects/clang1000-import/sbin/bectl/bectl.8
  projects/clang1000-import/sbin/bectl/bectl.c
  projects/clang1000-import/sbin/ipfw/ipfw.8
  projects/clang1000-import/sbin/ipfw/ipfw2.h
  projects/clang1000-import/sbin/ipfw/main.c
  projects/clang1000-import/sbin/ipfw/nat.c
  projects/clang1000-import/secure/caroot/Makefile
  projects/clang1000-import/secure/lib/libcrypto/Makefile
  projects/clang1000-import/share/man/man4/cpufreq.4
  projects/clang1000-import/share/man/man4/netmap.4
  projects/clang1000-import/share/man/man4/ng_nat.4
  projects/clang1000-import/share/man/man9/Makefile
  projects/clang1000-import/share/man/man9/callout.9
  projects/clang1000-import/share/man/man9/epoch.9
  projects/clang1000-import/share/man/man9/fetch.9
  projects/clang1000-import/share/termcap/Makefile
  projects/clang1000-import/stand/i386/libi386/bootinfo64.c
  projects/clang1000-import/stand/lua/config.lua
  projects/clang1000-import/stand/lua/loader.lua
  projects/clang1000-import/stand/usb/usbcore.mk
  projects/clang1000-import/sys/amd64/amd64/initcpu.c
  projects/clang1000-import/sys/amd64/linux32/linux32_machdep.c
  projects/clang1000-import/sys/amd64/linux32/linux32_proto.h
  projects/clang1000-import/sys/amd64/linux32/linux32_systrace_args.c
  projects/clang1000-import/sys/amd64/linux32/syscalls.master
  projects/clang1000-import/sys/arm64/arm64/elf_machdep.c
  projects/clang1000-import/sys/arm64/arm64/identcpu.c
  projects/clang1000-import/sys/arm64/arm64/mp_machdep.c
  projects/clang1000-import/sys/arm64/include/armreg.h
  projects/clang1000-import/sys/cam/cam_compat.h
  projects/clang1000-import/sys/compat/linux/linux_file.c
  projects/clang1000-import/sys/compat/linux/linux_mmap.c
  projects/clang1000-import/sys/compat/linux/linux_mmap.h
  projects/clang1000-import/sys/compat/linuxkpi/common/include/linux/mm_types.h
  projects/clang1000-import/sys/compat/ndis/ntoskrnl_var.h
  projects/clang1000-import/sys/conf/files
  projects/clang1000-import/sys/conf/files.riscv
  projects/clang1000-import/sys/conf/files.x86
  projects/clang1000-import/sys/conf/kern.post.mk
  projects/clang1000-import/sys/conf/sysent.mk
  projects/clang1000-import/sys/conf/systags.sh
  projects/clang1000-import/sys/dev/altera/atse/if_atse.c
  projects/clang1000-import/sys/dev/ath/if_ath_rx.c
  projects/clang1000-import/sys/dev/beri/virtio/network/if_vtbe.c
  projects/clang1000-import/sys/dev/bge/if_bge.c
  projects/clang1000-import/sys/dev/dpaa/if_dtsec.c
  projects/clang1000-import/sys/dev/hyperv/netvsc/if_hn.c
  projects/clang1000-import/sys/dev/if_ndis/if_ndis.c
  projects/clang1000-import/sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
  projects/clang1000-import/sys/dev/netmap/netmap.c
  projects/clang1000-import/sys/dev/ntb/if_ntb/if_ntb.c
  projects/clang1000-import/sys/dev/otus/if_otus.c
  projects/clang1000-import/sys/dev/pci/pci_host_generic.c
  projects/clang1000-import/sys/dev/pci/pci_host_generic.h
  projects/clang1000-import/sys/dev/pci/pci_host_generic_acpi.c
  projects/clang1000-import/sys/dev/re/if_re.c
  projects/clang1000-import/sys/dev/rtwn/usb/rtwn_usb_rx.c
  projects/clang1000-import/sys/dev/sbni/if_sbni.c
  projects/clang1000-import/sys/dev/spibus/spigen.c
  projects/clang1000-import/sys/dev/usb/serial/uslcom.c
  projects/clang1000-import/sys/dev/usb/usbdevs
  projects/clang1000-import/sys/dev/usb/wlan/if_rsu.c
  projects/clang1000-import/sys/dev/virtio/scsi/virtio_scsi.c
  projects/clang1000-import/sys/dev/virtio/scsi/virtio_scsivar.h
  projects/clang1000-import/sys/dev/vmware/vmxnet3/if_vmx.c
  projects/clang1000-import/sys/dev/vmware/vmxnet3/if_vmxvar.h
  projects/clang1000-import/sys/dev/xen/netback/netback.c
  projects/clang1000-import/sys/i386/i386/machdep.c
  projects/clang1000-import/sys/i386/linux/linux_machdep.c
  projects/clang1000-import/sys/kern/kern_cpu.c
  projects/clang1000-import/sys/kern/kern_intr.c
  projects/clang1000-import/sys/kern/kern_kcov.c
  projects/clang1000-import/sys/kern/kern_lock.c
  projects/clang1000-import/sys/kern/kern_poll.c
  projects/clang1000-import/sys/kern/kern_sendfile.c
  projects/clang1000-import/sys/kern/sched_ule.c
  projects/clang1000-import/sys/kern/uipc_ktls.c
  projects/clang1000-import/sys/kern/uipc_usrreq.c
  projects/clang1000-import/sys/kern/vfs_mount.c
  projects/clang1000-import/sys/kern/vfs_subr.c
  projects/clang1000-import/sys/mips/nlm/dev/net/xlpge.c
  projects/clang1000-import/sys/modules/cpufreq/Makefile
  projects/clang1000-import/sys/modules/usb/template/Makefile
  projects/clang1000-import/sys/modules/vmware/vmxnet3/Makefile
  projects/clang1000-import/sys/net/if.h
  projects/clang1000-import/sys/net/if_bridge.c
  projects/clang1000-import/sys/net/if_ethersubr.c
  projects/clang1000-import/sys/net/if_lagg.c
  projects/clang1000-import/sys/net/if_tuntap.c
  projects/clang1000-import/sys/net/if_vlan.c
  projects/clang1000-import/sys/net/iflib.c
  projects/clang1000-import/sys/net/netisr.c
  projects/clang1000-import/sys/net/pfil.c
  projects/clang1000-import/sys/net/route.c
  projects/clang1000-import/sys/net/route.h
  projects/clang1000-import/sys/net/route_var.h
  projects/clang1000-import/sys/netgraph/ng_nat.c
  projects/clang1000-import/sys/netinet/cc/cc_dctcp.c
  projects/clang1000-import/sys/netinet/in_pcb.c
  projects/clang1000-import/sys/netinet/in_rmx.c
  projects/clang1000-import/sys/netinet/in_var.h
  projects/clang1000-import/sys/netinet/ip_carp.c
  projects/clang1000-import/sys/netinet/ip_divert.c
  projects/clang1000-import/sys/netinet/ip_icmp.c
  projects/clang1000-import/sys/netinet/ip_output.c
  projects/clang1000-import/sys/netinet/libalias/alias.c
  projects/clang1000-import/sys/netinet/libalias/alias.h
  projects/clang1000-import/sys/netinet/libalias/libalias.3
  projects/clang1000-import/sys/netinet/raw_ip.c
  projects/clang1000-import/sys/netinet/sctp_os_bsd.h
  projects/clang1000-import/sys/netinet/tcp_input.c
  projects/clang1000-import/sys/netinet/tcp_output.c
  projects/clang1000-import/sys/netinet/tcp_stacks/bbr.c
  projects/clang1000-import/sys/netinet/tcp_stacks/rack.c
  projects/clang1000-import/sys/netinet/tcp_stacks/rack_bbr_common.c
  projects/clang1000-import/sys/netinet/tcp_subr.c
  projects/clang1000-import/sys/netinet/tcp_syncache.c
  projects/clang1000-import/sys/netinet/tcp_timer.c
  projects/clang1000-import/sys/netinet/tcp_usrreq.c
  projects/clang1000-import/sys/netinet/toecore.c
  projects/clang1000-import/sys/netinet/udp_usrreq.c
  projects/clang1000-import/sys/netinet6/icmp6.c
  projects/clang1000-import/sys/netinet6/in6_fib.c
  projects/clang1000-import/sys/netinet6/in6_proto.c
  projects/clang1000-import/sys/netinet6/in6_rmx.c
  projects/clang1000-import/sys/netinet6/in6_var.h
  projects/clang1000-import/sys/netinet6/ip6_mroute.c
  projects/clang1000-import/sys/netinet6/ip6_output.c
  projects/clang1000-import/sys/netinet6/mld6.c
  projects/clang1000-import/sys/netinet6/raw_ip6.c
  projects/clang1000-import/sys/netinet6/udp6_usrreq.c
  projects/clang1000-import/sys/netpfil/pf/if_pfsync.c
  projects/clang1000-import/sys/netpfil/pf/pf_if.c
  projects/clang1000-import/sys/powerpc/pseries/phyp_llan.c
  projects/clang1000-import/sys/riscv/conf/DEFAULTS
  projects/clang1000-import/sys/riscv/conf/GENERIC
  projects/clang1000-import/sys/riscv/include/resource.h
  projects/clang1000-import/sys/sparc64/sparc64/machdep.c
  projects/clang1000-import/sys/sparc64/sparc64/pmap.c
  projects/clang1000-import/sys/sys/callout.h
  projects/clang1000-import/sys/sys/cpu.h
  projects/clang1000-import/sys/sys/elf_common.h
  projects/clang1000-import/sys/sys/interrupt.h
  projects/clang1000-import/sys/sys/syscallsubr.h
  projects/clang1000-import/sys/sys/unpcb.h
  projects/clang1000-import/sys/ufs/ffs/ffs_snapshot.c
  projects/clang1000-import/sys/vm/uma_core.c
  projects/clang1000-import/sys/vm/vm_fault.c
  projects/clang1000-import/sys/vm/vm_glue.c
  projects/clang1000-import/sys/vm/vm_kern.c
  projects/clang1000-import/sys/vm/vm_map.c
  projects/clang1000-import/sys/vm/vm_object.c
  projects/clang1000-import/sys/vm/vm_param.h
  projects/clang1000-import/sys/x86/cpufreq/est.c
  projects/clang1000-import/sys/x86/include/cputypes.h
  projects/clang1000-import/sys/x86/include/specialreg.h
  projects/clang1000-import/sys/x86/x86/identcpu.c
  projects/clang1000-import/sys/x86/x86/local_apic.c
  projects/clang1000-import/sys/x86/x86/mca.c
  projects/clang1000-import/sys/x86/x86/mp_x86.c
  projects/clang1000-import/sys/x86/x86/msi.c
  projects/clang1000-import/sys/x86/x86/tsc.c
  projects/clang1000-import/tests/Makefile
  projects/clang1000-import/tests/sys/net/routing/Makefile
  projects/clang1000-import/tests/sys/net/routing/test_rtsock_l3.c
  projects/clang1000-import/tests/sys/netinet/Makefile
  projects/clang1000-import/tests/sys/netinet6/Makefile
  projects/clang1000-import/usr.sbin/ntp/libntpevent/Makefile
  projects/clang1000-import/usr.sbin/wpa/wpa_supplicant/Makefile
Directory Properties:
  projects/clang1000-import/   (props changed)

Modified: projects/clang1000-import/Makefile.inc1
==============================================================================
--- projects/clang1000-import/Makefile.inc1	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/Makefile.inc1	Sat Jan 25 14:46:52 2020	(r357119)
@@ -180,24 +180,6 @@ MK_SYSTEM_LINKER=	no
 .if defined(CROSS_TOOLCHAIN_PREFIX)
 CROSS_BINUTILS_PREFIX?=${CROSS_TOOLCHAIN_PREFIX}
 .endif
-# If we do not have a bootstrap binutils (because the in-tree one does not
-# support the target architecture), provide a default cross-binutils prefix.
-# This allows riscv64 builds, for example, to automatically use the
-# riscv64-binutils port or package.
-.if !make(showconfig) && !defined(_NO_INCLUDE_COMPILERMK)
-.if !empty(BROKEN_OPTIONS:MBINUTILS_BOOTSTRAP) && \
-    ${MK_LLD_BOOTSTRAP} == "no" && \
-    !defined(CROSS_BINUTILS_PREFIX)
-CROSS_BINUTILS_PREFIX=/usr/local/${TARGET_TRIPLE}/bin/
-.if !exists(${CROSS_BINUTILS_PREFIX})
-.if !empty(BROKEN_OPTIONS:MGCC_BOOTSTRAP) && ${MK_CLANG_BOOTSTRAP} == "no"
-.error In-tree toolchain does not support the ${TARGET_ARCH} architecture. Install the ${TARGET_ARCH}-xtoolchain-gcc port or package or set CROSS_TOOLCHAIN_PREFIX.
-.else
-.error In-tree binutils does not support the ${TARGET_ARCH} architecture. Install the ${TARGET_ARCH}-binutils port or package or set CROSS_BINUTILS_PREFIX.
-.endif
-.endif
-.endif
-.endif
 XBINUTILS=	AS AR LD NM OBJCOPY RANLIB SIZE STRINGS
 .for BINUTIL in ${XBINUTILS}
 .if defined(CROSS_BINUTILS_PREFIX) && \

Modified: projects/clang1000-import/ObsoleteFiles.inc
==============================================================================
--- projects/clang1000-import/ObsoleteFiles.inc	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/ObsoleteFiles.inc	Sat Jan 25 14:46:52 2020	(r357119)
@@ -282,6 +282,7 @@ OLD_DIRS+=usr/lib/clang/9.0.0
 # 20191214: Removal of sranddev(3)
 OLD_FILES+=usr/share/man/man3/sranddev.3.gz
 # 20191213: remove timeout(9)
+OLD_FILES+=usr/share/man/man9/callout_handle_init.9.gz
 OLD_FILES+=usr/share/man/man9/timeout.9.gz
 OLD_FILES+=usr/share/man/man9/untimeout.9.gz
 # 20191128: Removal of trm(4)

Modified: projects/clang1000-import/etc/Makefile
==============================================================================
--- projects/clang1000-import/etc/Makefile	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/etc/Makefile	Sat Jan 25 14:46:52 2020	(r357119)
@@ -57,7 +57,7 @@ distribution:
 	${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
 	${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
 	${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt
-	${INSTALL_SYMLINK} ../var/run/os-release \
+	${INSTALL_SYMLINK} -T "package=runtime" ../var/run/os-release \
 		${DESTDIR}/etc/os-release
 .if ${MK_UNBOUND} != "no"
 	if [ ! -e ${DESTDIR}/etc/unbound ]; then \
@@ -164,7 +164,8 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY
 .endif
 .if ${MK_NLS} != "no"
 .for alias nls in ${NLS_ALIASES}
-	${INSTALL_SYMLINK} "${nls}" "${DESTDIR}${SHAREDIR}/nls/${alias}"
+	${INSTALL_SYMLINK} -T "package=utilities" \
+	    "${nls}" "${DESTDIR}${SHAREDIR}/nls/${alias}"
 .endfor
 .endif
 

Modified: projects/clang1000-import/etc/mtree/BSD.usr.dist
==============================================================================
--- projects/clang1000-import/etc/mtree/BSD.usr.dist	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/etc/mtree/BSD.usr.dist	Sat Jan 25 14:46:52 2020	(r357119)
@@ -1176,6 +1176,10 @@
                 ..
                 man3
                 ..
+                man5
+                ..
+                man7
+                ..
             ..
         ..
         security

Modified: projects/clang1000-import/include/unistd.h
==============================================================================
--- projects/clang1000-import/include/unistd.h	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/include/unistd.h	Sat Jan 25 14:46:52 2020	(r357119)
@@ -552,7 +552,7 @@ char	*re_comp(const char *);
 int	 re_exec(const char *);
 int	 reboot(int);
 int	 revoke(const char *);
-pid_t	 rfork(int);
+pid_t	 rfork(int) __returns_twice;
 pid_t	 rfork_thread(int, void *, int (*)(void *), void *);
 int	 rresvport(int *);
 int	 rresvport_af(int *, int);

Modified: projects/clang1000-import/lib/libbe/be.c
==============================================================================
--- projects/clang1000-import/lib/libbe/be.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/be.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
  * Copyright (c) 2017 Kyle J. Kneitinger <kyle at kneit.in>
- * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/lib/libbe/be.h
==============================================================================
--- projects/clang1000-import/lib/libbe/be.h	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/be.h	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
  * Copyright (c) 2017 Kyle J. Kneitinger <kyle at kneit.in>
- * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/lib/libbe/be_access.c
==============================================================================
--- projects/clang1000-import/lib/libbe/be_access.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/be_access.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -4,7 +4,6 @@
  * Copyright (c) 2017 Kyle J. Kneitinger <kyle at kneit.in>
  * Copyright (c) 2018 Kyle Evans <kevans at FreeBSD.org>
  * Copyright (c) 2019 Wes Maag <wes at jwmaag.org>
- * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/lib/libbe/be_error.c
==============================================================================
--- projects/clang1000-import/lib/libbe/be_error.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/be_error.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
  * Copyright (c) 2017 Kyle J. Kneitinger <kyle at kneit.in>
- * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/lib/libbe/be_impl.h
==============================================================================
--- projects/clang1000-import/lib/libbe/be_impl.h	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/be_impl.h	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
  * Copyright (c) 2017 Kyle J. Kneitinger <kyle at kneit.in>
- * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/lib/libbe/be_info.c
==============================================================================
--- projects/clang1000-import/lib/libbe/be_info.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/be_info.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -3,7 +3,6 @@
  *
  * Copyright (c) 2017 Kyle J. Kneitinger <kyle at kneit.in>
  * Copyright (c) 2018 Kyle Evans <kevans at FreeBSD.org>
- * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/lib/libbe/libbe.3
==============================================================================
--- projects/clang1000-import/lib/libbe/libbe.3	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/libbe.3	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
 .\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
 .\"
 .\" Copyright (c) 2017 Kyle Kneitinger
-.\" All rights reserved.
 .\" Copyright (c) 2018 Kyle Evans <kevans at FreeBSD.org>
 .\"
 .\" Redistribution and use in source and binary forms, with or without

Modified: projects/clang1000-import/lib/libbe/tests/target_prog.c
==============================================================================
--- projects/clang1000-import/lib/libbe/tests/target_prog.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libbe/tests/target_prog.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
  * Copyright (c) 2019 Rob Wing
- * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/lib/libc/gen/auxv.c
==============================================================================
--- projects/clang1000-import/lib/libc/gen/auxv.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libc/gen/auxv.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -73,6 +73,12 @@ static char *canary, *pagesizes, *execpath;
 static void *timekeep;
 static u_long hwcap, hwcap2;
 
+#ifdef __powerpc__
+static int powerpc_new_auxv_format = 0;
+static void _init_aux_powerpc_fixup(void);
+int _powerpc_elf_aux_info(int, void *, int);
+#endif
+
 static void
 init_aux(void)
 {
@@ -125,11 +131,107 @@ init_aux(void)
 		case AT_TIMEKEEP:
 			timekeep = aux->a_un.a_ptr;
 			break;
+#ifdef __powerpc__
+		/*
+		 * Since AT_STACKPROT is always set, and the common
+		 * value 23 is mutually exclusive with the legacy powerpc
+		 * value 21, the existence of AT_STACKPROT proves we are
+		 * on the common format.
+		 */
+		case AT_STACKPROT:	/* 23 */
+			powerpc_new_auxv_format = 1;
+			break;
+#endif
 		}
 	}
+#ifdef __powerpc__
+	if (!powerpc_new_auxv_format)
+		_init_aux_powerpc_fixup();
+#endif
 }
 
+#ifdef __powerpc__
+static void
+_init_aux_powerpc_fixup(void)
+{
+	Elf_Auxinfo *aux;
+
+	/*
+	 * Before 1300070, PowerPC platforms had nonstandard numbering for
+	 * the aux vector. When running old binaries, the kernel will pass
+	 * the vector using the old numbering. Reload affected variables.
+	 */
+	for (aux = __elf_aux_vector; aux->a_type != AT_NULL; aux++) {
+		switch (aux->a_type) {
+		case AT_OLD_CANARY:
+			canary = (char *)(aux->a_un.a_ptr);
+			break;
+		case AT_OLD_CANARYLEN:
+			canary_len = aux->a_un.a_val;
+			break;
+		case AT_OLD_EXECPATH:
+			execpath = (char *)(aux->a_un.a_ptr);
+			break;
+		case AT_OLD_PAGESIZES:
+			pagesizes = (char *)(aux->a_un.a_ptr);
+			break;
+		case AT_OLD_PAGESIZESLEN:
+			pagesizes_len = aux->a_un.a_val;
+			break;
+		case AT_OLD_OSRELDATE:
+			osreldate = aux->a_un.a_val;
+			break;
+		case AT_OLD_NCPUS:
+			ncpus = aux->a_un.a_val;
+			break;
+		}
+	}
+}
+
+int
+_powerpc_elf_aux_info(int aux, void *buf, int buflen)
+{
+
+	/*
+	 * If we are in the old auxv format, we need to translate the aux
+	 * parameter of elf_aux_info() calls into the common auxv format.
+	 * Internal libc calls always use the common format, and they
+	 * directly call _elf_aux_info instead of using the weak symbol.
+	 */
+	if (!powerpc_new_auxv_format) {
+		switch (aux) {
+		case AT_OLD_EXECPATH:
+			aux = AT_EXECPATH;
+			break;
+		case AT_OLD_CANARY:
+			aux = AT_CANARY;
+			break;
+		case AT_OLD_CANARYLEN:
+			aux = AT_CANARYLEN;
+			break;
+		case AT_OLD_OSRELDATE:
+			aux = AT_OSRELDATE;
+			break;
+		case AT_OLD_NCPUS:
+			aux = AT_NCPUS;
+			break;
+		case AT_OLD_PAGESIZES:
+			aux = AT_PAGESIZES;
+			break;
+		case AT_OLD_PAGESIZESLEN:
+			aux = AT_PAGESIZESLEN;
+			break;
+		case AT_OLD_STACKPROT:
+			aux = AT_STACKPROT;
+			break;
+		}
+	}
+	return _elf_aux_info(aux, buf, buflen);
+}
+__weak_reference(_powerpc_elf_aux_info, elf_aux_info);
+#else
 __weak_reference(_elf_aux_info, elf_aux_info);
+#endif
 
 int
 _elf_aux_info(int aux, void *buf, int buflen)

Modified: projects/clang1000-import/lib/libc/gen/posix_spawn.c
==============================================================================
--- projects/clang1000-import/lib/libc/gen/posix_spawn.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libc/gen/posix_spawn.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -201,7 +201,7 @@ struct posix_spawn_args {
 	char * const * argv;
 	char * const * envp;
 	int use_env_path;
-	int error;
+	volatile int error;
 };
 
 #if defined(__i386__) || defined(__amd64__)

Modified: projects/clang1000-import/lib/libc/gen/ualarm.c
==============================================================================
--- projects/clang1000-import/lib/libc/gen/ualarm.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libc/gen/ualarm.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -56,6 +56,5 @@ ualarm(useconds_t usecs, useconds_t reload)
 
 	if (setitimer(ITIMER_REAL, &new, &old) == 0)
 		return (old.it_value.tv_sec * USPS + old.it_value.tv_usec);
-	/* else */
-		return (-1);
+	return (-1);
 }

Modified: projects/clang1000-import/lib/libc/stdlib/rand.c
==============================================================================
--- projects/clang1000-import/lib/libc/stdlib/rand.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libc/stdlib/rand.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -45,10 +45,6 @@ __FBSDID("$FreeBSD$");
 #include <syslog.h>
 #include "un-namespace.h"
 
-#ifdef TEST
-#include <stdio.h>
-#endif /* TEST */
-
 static int
 do_rand(unsigned long *ctx)
 {
@@ -116,33 +112,3 @@ __sranddev_fbsd12(void)
 	}
 }
 __sym_compat(sranddev, __sranddev_fbsd12, FBSD_1.0);
-
-
-#ifdef TEST
-
-main()
-{
-    int i;
-    unsigned myseed;
-
-    printf("seeding rand with 0x19610910: \n");
-    srand(0x19610910);
-
-    printf("generating three pseudo-random numbers:\n");
-    for (i = 0; i < 3; i++)
-    {
-	printf("next random number = %d\n", rand());
-    }
-
-    printf("generating the same sequence with rand_r:\n");
-    myseed = 0x19610910;
-    for (i = 0; i < 3; i++)
-    {
-	printf("next random number = %d\n", rand_r(&myseed));
-    }
-
-    return 0;
-}
-
-#endif /* TEST */
-

Modified: projects/clang1000-import/lib/libc/stdlib/random.3
==============================================================================
--- projects/clang1000-import/lib/libc/stdlib/random.3	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libc/stdlib/random.3	Sat Jan 25 14:46:52 2020	(r357119)
@@ -28,7 +28,7 @@
 .\"     @(#)random.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd April 22, 2019
+.Dd January 20, 2020
 .Dt RANDOM 3
 .Os
 .Sh NAME
@@ -60,7 +60,7 @@ Applications which require unpredictable random number
 instead.
 .Ef
 .Pp
-The
+Unless initialized with less than 32 bytes of state, the
 .Fn random
 function
 uses a non-linear additive feedback random number generator employing a
@@ -72,53 +72,51 @@ The period of this random number generator is very lar
 .if t 16\(mu(2\u\s731\s10\d\(mi1).
 .if n 16*((2**31)\(mi1).
 .Pp
+If initialized with less than 32 bytes of state,
+.Fn random
+uses the same poor-quality Park-Miller LCG as
+.Xr rand 3 .
+.Pp
 The
 .Fn random
 and
 .Fn srandom
-functions have (almost) the same calling sequence and initialization properties as the
+functions are analagous to
 .Xr rand 3
 and
-.Xr srand 3
-functions.
+.Xr srand 3 .
 The difference is that
 .Xr rand 3
-produces a much less random sequence \(em in fact, the low dozen bits
-generated by rand go through a cyclic pattern.
-All the bits generated by
-.Fn random
-are usable.
-For example,
-.Sq Li random()&01
-will produce a random binary
-value.
+is a worse pseudo-random number generator.
 .Pp
 Like
 .Xr rand 3 ,
 .Fn random
-will by default produce a sequence of numbers that can be duplicated
-by calling
-.Fn srandom
-with
-.Ql 1
-as the seed.
+is implicitly initialized as if
+.Fn srandom "1"
+had been invoked explicitly.
 .Pp
 The
 .Fn srandomdev
-routine initializes a state array using
-pseudo-random numbers obtained from the kernel.
-Note that this particular seeding
-procedure can generate states which are impossible to reproduce by
-calling
-.Fn srandom
-with any value, since the succeeding terms in the
-state buffer are no longer derived from the LC algorithm applied to
-a fixed seed.
+routine initializes the state array using random numbers obtained from the
+kernel.
+This can generate states which are impossible to reproduce by calling
+.Fn srandom ,
+because the succeeding terms in the state buffer are no longer derived from the
+Park-Miller LCG algorithm applied to a fixed seed.
 .Pp
 The
 .Fn initstate
-routine allows a state array, passed in as an argument, to be initialized
-for future use.
+routine initializes the provided state array of
+.Vt uint32_t
+values and uses it in future
+.Fn random
+invocations.
+(Despite the
+.Vt char *
+type of
+.Fa state ,
+the underlying object must be a naturally aligned array of 32-bit values.)
 The size of the state array (in bytes) is used by
 .Fn initstate
 to decide how sophisticated a random number generator it should use \(em the
@@ -127,26 +125,21 @@ more state, the better the random numbers will be.
 8, 32, 64, 128, and 256 bytes; other amounts will be rounded down to
 the nearest known amount.
 Using less than 8 bytes will cause an error.)
-The seed for the initialization (which specifies a starting point for
-the random number sequence, and provides for restarting at the same
-point) is also an argument.
 The
+.Fa seed
+is used as in
+.Fn srandom .
+The
 .Fn initstate
 function
 returns a pointer to the previous state information array.
 .Pp
-Once a state has been initialized, the
-.Fn setstate
-routine provides for rapid switching between states.
 The
 .Fn setstate
-function
-returns a pointer to the previous state array; its
-argument state array is used for further random number generation
-until the next call to
-.Fn initstate
-or
-.Fn setstate .
+routine switches
+.Fn random
+to using the provided state.
+It returns a pointer to the previous state.
 .Pp
 Once a state array has been initialized, it may be restarted at a
 different point either by calling

Modified: projects/clang1000-import/lib/libc/stdlib/random.c
==============================================================================
--- projects/clang1000-import/lib/libc/stdlib/random.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/lib/libc/stdlib/random.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -38,10 +38,13 @@ __FBSDID("$FreeBSD$");
 #include "namespace.h"
 #include <sys/param.h>
 #include <sys/sysctl.h>
+#include <errno.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include "un-namespace.h"
 
+#include "random.h"
+
 /*
  * random.c:
  *
@@ -157,52 +160,58 @@ static const int seps [MAX_TYPES] =	{ SEP_0, SEP_1, SE
  *
  *	MAX_TYPES * (rptr - state) + TYPE_3 == TYPE_3.
  */
+static struct __random_state implicit = {
+	.rst_randtbl = {
+		TYPE_3,
+		0x2cf41758, 0x27bb3711, 0x4916d4d1, 0x7b02f59f, 0x9b8e28eb, 0xc0e80269,
+		0x696f5c16, 0x878f1ff5, 0x52d9c07f, 0x916a06cd, 0xb50b3a20, 0x2776970a,
+		0xee4eb2a6, 0xe94640ec, 0xb1d65612, 0x9d1ed968, 0x1043f6b7, 0xa3432a76,
+		0x17eacbb9, 0x3c09e2eb, 0x4f8c2b3,  0x708a1f57, 0xee341814, 0x95d0e4d2,
+		0xb06f216c, 0x8bd2e72e, 0x8f7c38d7, 0xcfc6a8fc, 0x2a59495,  0xa20d2a69,
+		0xe29d12d1
+	},
 
-static uint32_t randtbl[DEG_3 + 1] = {
-	TYPE_3,
-	0x2cf41758, 0x27bb3711, 0x4916d4d1, 0x7b02f59f, 0x9b8e28eb, 0xc0e80269,
-	0x696f5c16, 0x878f1ff5, 0x52d9c07f, 0x916a06cd, 0xb50b3a20, 0x2776970a,
-	0xee4eb2a6, 0xe94640ec, 0xb1d65612, 0x9d1ed968, 0x1043f6b7, 0xa3432a76,
-	0x17eacbb9, 0x3c09e2eb, 0x4f8c2b3,  0x708a1f57, 0xee341814, 0x95d0e4d2,
-	0xb06f216c, 0x8bd2e72e, 0x8f7c38d7, 0xcfc6a8fc, 0x2a59495,  0xa20d2a69,
-	0xe29d12d1
+	/*
+	 * fptr and rptr are two pointers into the state info, a front and a rear
+	 * pointer.  These two pointers are always rand_sep places aparts, as they
+	 * cycle cyclically through the state information.  (Yes, this does mean we
+	 * could get away with just one pointer, but the code for random() is more
+	 * efficient this way).  The pointers are left positioned as they would be
+	 * from the call
+	 *
+	 *	initstate(1, randtbl, 128);
+	 *
+	 * (The position of the rear pointer, rptr, is really 0 (as explained above
+	 * in the initialization of randtbl) because the state table pointer is set
+	 * to point to randtbl[1] (as explained below).
+	 */
+	.rst_fptr = &implicit.rst_randtbl[SEP_3 + 1],
+	.rst_rptr = &implicit.rst_randtbl[1],
+
+	/*
+	 * The following things are the pointer to the state information table, the
+	 * type of the current generator, the degree of the current polynomial being
+	 * used, and the separation between the two pointers.  Note that for efficiency
+	 * of random(), we remember the first location of the state information, not
+	 * the zeroeth.  Hence it is valid to access state[-1], which is used to
+	 * store the type of the R.N.G.  Also, we remember the last location, since
+	 * this is more efficient than indexing every time to find the address of
+	 * the last element to see if the front and rear pointers have wrapped.
+	 */
+	.rst_state = &implicit.rst_randtbl[1],
+	.rst_type = TYPE_3,
+	.rst_deg = DEG_3,
+	.rst_sep = SEP_3,
+	.rst_end_ptr = &implicit.rst_randtbl[DEG_3 + 1],
 };
 
 /*
- * fptr and rptr are two pointers into the state info, a front and a rear
- * pointer.  These two pointers are always rand_sep places aparts, as they
- * cycle cyclically through the state information.  (Yes, this does mean we
- * could get away with just one pointer, but the code for random() is more
- * efficient this way).  The pointers are left positioned as they would be
- * from the call
- *
- *	initstate(1, randtbl, 128);
- *
- * (The position of the rear pointer, rptr, is really 0 (as explained above
- * in the initialization of randtbl) because the state table pointer is set
- * to point to randtbl[1] (as explained below).
+ * This is the same low quality PRNG used in rand(3) in FreeBSD 12 and prior.
+ * It may be sufficient for distributing bits and expanding a small seed
+ * integer into a larger state.
  */
-static uint32_t *fptr = &randtbl[SEP_3 + 1];
-static uint32_t *rptr = &randtbl[1];
-
-/*
- * The following things are the pointer to the state information table, the
- * type of the current generator, the degree of the current polynomial being
- * used, and the separation between the two pointers.  Note that for efficiency
- * of random(), we remember the first location of the state information, not
- * the zeroeth.  Hence it is valid to access state[-1], which is used to
- * store the type of the R.N.G.  Also, we remember the last location, since
- * this is more efficient than indexing every time to find the address of
- * the last element to see if the front and rear pointers have wrapped.
- */
-static uint32_t *state = &randtbl[1];
-static int rand_type = TYPE_3;
-static int rand_deg = DEG_3;
-static int rand_sep = SEP_3;
-static uint32_t *end_ptr = &randtbl[DEG_3 + 1];
-
 static inline uint32_t
-good_rand(uint32_t ctx)
+parkmiller32(uint32_t ctx)
 {
 /*
  * Compute x = (7^5 * x) mod (2^31 - 1)
@@ -238,24 +247,31 @@ good_rand(uint32_t ctx)
  * for default usage relies on values produced by this routine.
  */
 void
-srandom(unsigned int x)
+srandom_r(struct __random_state *estate, unsigned x)
 {
 	int i, lim;
 
-	state[0] = (uint32_t)x;
-	if (rand_type == TYPE_0)
+	estate->rst_state[0] = (uint32_t)x;
+	if (estate->rst_type == TYPE_0)
 		lim = NSHUFF;
 	else {
-		for (i = 1; i < rand_deg; i++)
-			state[i] = good_rand(state[i - 1]);
-		fptr = &state[rand_sep];
-		rptr = &state[0];
-		lim = 10 * rand_deg;
+		for (i = 1; i < estate->rst_deg; i++)
+			estate->rst_state[i] =
+			    parkmiller32(estate->rst_state[i - 1]);
+		estate->rst_fptr = &estate->rst_state[estate->rst_sep];
+		estate->rst_rptr = &estate->rst_state[0];
+		lim = 10 * estate->rst_deg;
 	}
 	for (i = 0; i < lim; i++)
-		(void)random();
+		(void)random_r(estate);
 }
 
+void
+srandom(unsigned x)
+{
+	srandom_r(&implicit, x);
+}
+
 /*
  * srandomdev:
  *
@@ -269,19 +285,21 @@ srandom(unsigned int x)
  * derived from the LC algorithm applied to a fixed seed.
  */
 void
-srandomdev(void)
+srandomdev_r(struct __random_state *estate)
 {
 	int mib[2];
 	size_t expected, len;
 
-	if (rand_type == TYPE_0)
-		expected = len = sizeof(state[0]);
+	if (estate->rst_type == TYPE_0)
+		len = sizeof(estate->rst_state[0]);
 	else
-		expected = len = rand_deg * sizeof(state[0]);
+		len = estate->rst_deg * sizeof(estate->rst_state[0]);
+	expected = len;
 
 	mib[0] = CTL_KERN;
 	mib[1] = KERN_ARND;
-	if (sysctl(mib, 2, state, &len, NULL, 0) == -1 || len != expected) {
+	if (sysctl(mib, 2, estate->rst_state, &len, NULL, 0) == -1 ||
+	    len != expected) {
 		/*
 		 * The sysctl cannot fail. If it does fail on some FreeBSD
 		 * derivative or after some future change, just abort so that
@@ -291,14 +309,20 @@ srandomdev(void)
 		abort();
 	}
 
-	if (rand_type != TYPE_0) {
-		fptr = &state[rand_sep];
-		rptr = &state[0];
+	if (estate->rst_type != TYPE_0) {
+		estate->rst_fptr = &estate->rst_state[estate->rst_sep];
+		estate->rst_rptr = &estate->rst_state[0];
 	}
 }
 
+void
+srandomdev(void)
+{
+	srandomdev_r(&implicit);
+}
+
 /*
- * initstate:
+ * initstate_r:
  *
  * Initialize the state information in the given array of n bytes for future
  * random number generation.  Based on the number of bytes we are given, and
@@ -306,60 +330,95 @@ srandomdev(void)
  * one we can and set things up for it.  srandom() is then called to
  * initialize the state information.
  *
- * Note that on return from srandom(), we set state[-1] to be the type
- * multiplexed with the current value of the rear pointer; this is so
- * successive calls to initstate() won't lose this information and will be
- * able to restart with setstate().
+ * Returns zero on success, or an error number on failure.
  *
+ * Note: There is no need for a setstate_r(); just use a new context.
+ */
+int
+initstate_r(struct __random_state *estate, unsigned seed, uint32_t *arg_state,
+    size_t sz)
+{
+	if (sz < BREAK_0)
+		return (EINVAL);
+
+	if (sz < BREAK_1) {
+		estate->rst_type = TYPE_0;
+		estate->rst_deg = DEG_0;
+		estate->rst_sep = SEP_0;
+	} else if (sz < BREAK_2) {
+		estate->rst_type = TYPE_1;
+		estate->rst_deg = DEG_1;
+		estate->rst_sep = SEP_1;
+	} else if (sz < BREAK_3) {
+		estate->rst_type = TYPE_2;
+		estate->rst_deg = DEG_2;
+		estate->rst_sep = SEP_2;
+	} else if (sz < BREAK_4) {
+		estate->rst_type = TYPE_3;
+		estate->rst_deg = DEG_3;
+		estate->rst_sep = SEP_3;
+	} else {
+		estate->rst_type = TYPE_4;
+		estate->rst_deg = DEG_4;
+		estate->rst_sep = SEP_4;
+	}
+	estate->rst_state = arg_state + 1;
+	estate->rst_end_ptr = &estate->rst_state[estate->rst_deg];
+	srandom_r(estate, seed);
+	return (0);
+}
+
+/*
+ * initstate:
+ *
  * Note: the first thing we do is save the current state, if any, just like
  * setstate() so that it doesn't matter when initstate is called.
  *
+ * Note that on return from initstate_r(), we set state[-1] to be the type
+ * multiplexed with the current value of the rear pointer; this is so
+ * successive calls to initstate() won't lose this information and will be able
+ * to restart with setstate().
+ *
  * Returns a pointer to the old state.
  *
- * Note: The Sparc platform requires that arg_state begin on an int
- * word boundary; otherwise a bus error will occur. Even so, lint will
- * complain about mis-alignment, but you should disregard these messages.
+ * Despite the misleading "char *" type, arg_state must alias an array of
+ * 32-bit unsigned integer values.  Naturally, such an array is 32-bit aligned.
+ * Usually objects are naturally aligned to at least 32-bits on all platforms,
+ * but if you treat the provided 'state' as char* you may inadvertently
+ * misalign it.  Don't do that.
  */
 char *
 initstate(unsigned int seed, char *arg_state, size_t n)
 {
-	char *ostate = (char *)(&state[-1]);
+	char *ostate = (char *)(&implicit.rst_state[-1]);
 	uint32_t *int_arg_state = (uint32_t *)arg_state;
+	int error;
 
-	if (n < BREAK_0)
+	/*
+	 * Persist rptr offset and rst_type in the first word of the prior
+	 * state we are replacing.
+	 */
+	if (implicit.rst_type == TYPE_0)
+		implicit.rst_state[-1] = implicit.rst_type;
+	else
+		implicit.rst_state[-1] = MAX_TYPES *
+		    (implicit.rst_rptr - implicit.rst_state) +
+		    implicit.rst_type;
+
+	error = initstate_r(&implicit, seed, int_arg_state, n);
+	if (error != 0)
 		return (NULL);
-	if (rand_type == TYPE_0)
-		state[-1] = rand_type;
+
+	/*
+	 * Persist rptr offset and rst_type of the new state in its first word.
+	 */
+	if (implicit.rst_type == TYPE_0)
+		int_arg_state[0] = implicit.rst_type;
 	else
-		state[-1] = MAX_TYPES * (rptr - state) + rand_type;
-	if (n < BREAK_1) {
-		rand_type = TYPE_0;
-		rand_deg = DEG_0;
-		rand_sep = SEP_0;
-	} else if (n < BREAK_2) {
-		rand_type = TYPE_1;
-		rand_deg = DEG_1;
-		rand_sep = SEP_1;
-	} else if (n < BREAK_3) {
-		rand_type = TYPE_2;
-		rand_deg = DEG_2;
-		rand_sep = SEP_2;
-	} else if (n < BREAK_4) {
-		rand_type = TYPE_3;
-		rand_deg = DEG_3;
-		rand_sep = SEP_3;
-	} else {
-		rand_type = TYPE_4;
-		rand_deg = DEG_4;
-		rand_sep = SEP_4;
-	}
-	state = int_arg_state + 1; /* first location */
-	end_ptr = &state[rand_deg];	/* must set end_ptr before srandom */
-	srandom(seed);
-	if (rand_type == TYPE_0)
-		int_arg_state[0] = rand_type;
-	else
-		int_arg_state[0] = MAX_TYPES * (rptr - state) + rand_type;
+		int_arg_state[0] = MAX_TYPES *
+		    (implicit.rst_rptr - implicit.rst_state) +
+		    implicit.rst_type;
+
 	return (ostate);
 }
 
@@ -388,23 +447,26 @@ setstate(char *arg_state)
 	uint32_t *new_state = (uint32_t *)arg_state;
 	uint32_t type = new_state[0] % MAX_TYPES;
 	uint32_t rear = new_state[0] / MAX_TYPES;
-	char *ostate = (char *)(&state[-1]);
+	char *ostate = (char *)(&implicit.rst_state[-1]);
 
 	if (type != TYPE_0 && rear >= degrees[type])
 		return (NULL);
-	if (rand_type == TYPE_0)
-		state[-1] = rand_type;
+	if (implicit.rst_type == TYPE_0)
+		implicit.rst_state[-1] = implicit.rst_type;
 	else
-		state[-1] = MAX_TYPES * (rptr - state) + rand_type;
-	rand_type = type;
-	rand_deg = degrees[type];
-	rand_sep = seps[type];
-	state = new_state + 1;
-	if (rand_type != TYPE_0) {
-		rptr = &state[rear];
-		fptr = &state[(rear + rand_sep) % rand_deg];
+		implicit.rst_state[-1] = MAX_TYPES *
+		    (implicit.rst_rptr - implicit.rst_state) +
+		    implicit.rst_type;
+	implicit.rst_type = type;
+	implicit.rst_deg = degrees[type];
+	implicit.rst_sep = seps[type];
+	implicit.rst_state = new_state + 1;
+	if (implicit.rst_type != TYPE_0) {
+		implicit.rst_rptr = &implicit.rst_state[rear];
+		implicit.rst_fptr = &implicit.rst_state[
+		    (rear + implicit.rst_sep) % implicit.rst_deg];
 	}
-	end_ptr = &state[rand_deg];		/* set end_ptr too */
+	implicit.rst_end_ptr = &implicit.rst_state[implicit.rst_deg];
 	return (ostate);
 }
 
@@ -426,30 +488,39 @@ setstate(char *arg_state)
  * Returns a 31-bit random number.
  */
 long
-random(void)
+random_r(struct __random_state *estate)
 {
 	uint32_t i;
 	uint32_t *f, *r;
 
-	if (rand_type == TYPE_0) {
-		i = state[0];
-		state[0] = i = good_rand(i);
+	if (estate->rst_type == TYPE_0) {
+		i = estate->rst_state[0];
+		i = parkmiller32(i);
+		estate->rst_state[0] = i;
 	} else {
 		/*
 		 * Use local variables rather than static variables for speed.
 		 */
-		f = fptr; r = rptr;
+		f = estate->rst_fptr;
+		r = estate->rst_rptr;
 		*f += *r;
 		i = *f >> 1;	/* chucking least random bit */
-		if (++f >= end_ptr) {
-			f = state;
+		if (++f >= estate->rst_end_ptr) {
+			f = estate->rst_state;
 			++r;
 		}
-		else if (++r >= end_ptr) {
-			r = state;
+		else if (++r >= estate->rst_end_ptr) {
+			r = estate->rst_state;
 		}
 
-		fptr = f; rptr = r;
+		estate->rst_fptr = f;
+		estate->rst_rptr = r;
 	}
 	return ((long)i);
+}
+
+long
+random(void)
+{
+	return (random_r(&implicit));
 }

Copied: projects/clang1000-import/lib/libc/stdlib/random.h (from r357118, head/lib/libc/stdlib/random.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang1000-import/lib/libc/stdlib/random.h	Sat Jan 25 14:46:52 2020	(r357119, copy of r357118, head/lib/libc/stdlib/random.h)
@@ -0,0 +1,46 @@
+/*-
+ * Copyright 2020 Conrad Meyer <cem at FreeBSD.org>.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#pragma once
+
+/* A full instance of the random(3) generator. */
+struct __random_state {
+	uint32_t	*rst_fptr;
+	uint32_t	*rst_rptr;
+	uint32_t	*rst_state;
+	int		rst_type;
+	int		rst_deg;
+	int		rst_sep;
+	uint32_t	*rst_end_ptr;
+	/* Flexible array member must be last. */
+	uint32_t	rst_randtbl[];
+};
+
+int initstate_r(struct __random_state *, unsigned, uint32_t *, size_t);
+long random_r(struct __random_state *);
+void srandom_r(struct __random_state *, unsigned);
+void srandomdev_r(struct __random_state *);

Modified: projects/clang1000-import/libexec/rc/rc.d/ipfw
==============================================================================
--- projects/clang1000-import/libexec/rc/rc.d/ipfw	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/libexec/rc/rc.d/ipfw	Sat Jan 25 14:46:52 2020	(r357119)
@@ -127,7 +127,11 @@ ipfw_stop()
 ipfw_status()
 {
 	status=$(sysctl -i -n net.inet.ip.fw.enable)
-	if [ ${status:-0} -eq 0 ]; then
+	: ${status:=0}
+	if afexists inet6; then
+		status=$((${status} + $(sysctl -i -n net.inet6.ip6.fw.enable)))
+	fi
+	if [ ${status} -eq 0 ]; then
 		echo "ipfw is not enabled"
 		exit 1
 	else

Modified: projects/clang1000-import/sbin/bectl/bectl.8
==============================================================================
--- projects/clang1000-import/sbin/bectl/bectl.8	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/sbin/bectl/bectl.8	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
 .\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
 .\"
 .\" Copyright (c) 2017 Kyle J. Kneitinger <kyle at kneit.in>
-.\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions

Modified: projects/clang1000-import/sbin/bectl/bectl.c
==============================================================================
--- projects/clang1000-import/sbin/bectl/bectl.c	Sat Jan 25 14:43:22 2020	(r357118)
+++ projects/clang1000-import/sbin/bectl/bectl.c	Sat Jan 25 14:46:52 2020	(r357119)
@@ -2,7 +2,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-src-projects mailing list