| /freebsd/contrib/libfido2/windows/ |
| H A D | cygwin.ps1 | 2 # Use of this source code is governed by a BSD-style 4 # SPDX-License-Identifier: BSD-2-Clause 16 $Setup = 'setup-x86_64.exe' variable 18 $Packages = 'gcc-core,pkg-config,cmake,make,libcbor-devel,libssl-devel,zlib-devel' 25 $GPG = $(Get-Command gpg -ErrorAction Ignore | ` 26 Select-Object -ExpandProperty Source) 30 if (-Not (Test-Path $GPG)) { 34 Write-Host "Config: $Config" 35 Write-Host "GPG: $GPG" 38 New-Item -Type Directory "${Cygwin}" -Force [all …]
|
| /freebsd/crypto/openssl/ |
| H A D | NOTES-ANDROID.md | 5 ------------------- 15 ------------- 17 Android is a cross-compiled target and you can't rely on `./Configure` 19 target explicitly; there are `android-arm`, `android-arm64`, `android-mips`, 20 `android-mip64`, `android-x86`, `android-x86_64` and `android-riscv64` 23 Do not pass --cross-compile-prefix (as you might be tempted), as it 30 to point at the `NDK` directory. If you're using a side-by-side NDK the path 31 will look something like `/some/where/android-sdk/ndk/<ver>`, and for a 32 standalone NDK the path will be something like `/some/where/android-ndk-<ver>`. 34 The NDK customarily supports multiple Android API levels, e.g. `android-14`, [all …]
|
| /freebsd/crypto/openssl/fuzz/ |
| H A D | README.md | 7 --------- 13 ----------------------------------- 15 Install `clang`, which [ships with `libfuzzer`](http://llvm.org/docs/LibFuzzer.html#fuzzer-usage) 18 sudo apt-get install clang 23 `/usr/lib/llvm-7/lib/clang/7.0.1/lib/linux/libclang_rt.fuzzer-x86_64.a`. 25 CC=clang ./config enable-fuzz-libfuzzer \ 26 --with-fuzzer-lib=$PATH_TO_LIBFUZZER \ 27 -DPEDANTIC enable-asan enable-ubsan no-shared \ 28 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION \ 29 -fsanitize=fuzzer-no-link \ [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86IndirectThunks.cpp | 1 //==- X86IndirectThunks.cpp - Construct indirect call/jump thunks for x86 --=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 /// channels such as CVE-2017-5715. 16 /// - Retpoline -- A RET-implemented trampoline that lowers indirect calls 17 /// - LVI Thunk -- A CALL/JMP-implemented thunk that forces load serialization 27 //===----------------------------------------------------------------------===// 49 #define DEBUG_TYPE "x86-retpoline-thunks" 90 Entry->clear(); in populateThunk() 101 BuildMI(&MF.front(), DebugLoc(), TII->get(X86::LFENCE)); in populateThunk() [all …]
|
| /freebsd/sys/contrib/zstd/ |
| H A D | appveyor.yml | 4 - 8 - release 9 - master 10 - /appveyor*/ 11 - /visual*/ 14 - COMPILER: "gcc" 17 SCRIPT: "make allzstd MOREFLAGS=-static" 20 - COMPILER: "gcc" 23 SCRIPT: "make allzstd MOREFLAGS=-static" 27 - COMPILER: "clang-cl" [all …]
|
| /freebsd/sys/contrib/openzfs/scripts/ |
| H A D | spdxcheck.pl | 3 # SPDX-License-Identifier: MIT 37 # - if the file's full path is explicity listed in $tagged_patterns, then the 40 # - if the file's full path is explicitly listed in $untagged_patterns, then 43 # - if the filename matches a pattern in $tagged_patterns, and does not match a 46 # - otherwise, the file is untagged. 48 # The patterns do a simple glob-like match over the entire path relative to the 91 etc/init.d/zfs-import.in 92 etc/init.d/zfs-load-key.in 93 etc/init.d/zfs-mount.in 94 etc/init.d/zfs-share.in [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | MinGW.cpp | 1 //===--- MinGW.cpp - MinGWToolChain Implementation ------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 39 CmdArgs.push_back("--32"); in ConstructJob() 40 } else if (getToolChain().getArch() == llvm::Triple::x86_64) { in ConstructJob() 41 CmdArgs.push_back("--64"); in ConstructJob() 46 CmdArgs.push_back("-o"); in ConstructJob() 64 CmdArgs.push_back("-lmingwthrd"); in AddLibGCC() 65 CmdArgs.push_back("-lmingw32"); in AddLibGCC() 67 // Make use of compiler-rt if --rtlib option is used in AddLibGCC() [all …]
|
| H A D | Linux.cpp | 1 //===--- Linux.h - Linux ToolChain Implementations --------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 37 /// Debian-based systems are starting to use a multiarch setup where they use 38 /// a target-triple directory in the library and header search paths. 58 // 32-bit and 64-bit targets. Multiarch fixes its install triples to these in getMultiarchTriple() 63 return "arm-linux-androideabi"; in getMultiarchTriple() 67 return "arm-linux-gnueabihf"; in getMultiarchTriple() 68 return "arm-linux-gnueabi"; in getMultiarchTriple() 74 return "armeb-linux-gnueabihf"; in getMultiarchTriple() [all …]
|
| /freebsd/contrib/kyua/examples/ |
| H A D | syntax_test.cpp | 33 #include <atf-c++.hpp> 95 "x86_64", in ATF_TEST_CASE_BODY() 127 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY() 131 ATF_REQUIRE(::symlink(source_path.c_str(), "root/Kyuafile") != -1); in ATF_TEST_CASE_BODY() 154 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY() 158 ATF_REQUIRE(::symlink(source_path.c_str(), "root/Kyuafile") != -1); in ATF_TEST_CASE_BODY()
|
| /freebsd/share/mk/ |
| H A D | bsd.compiler.mk | 2 # Setup variables for the compiler 5 # automatic detection. Other compiler types can be shoe-horned in, but require 21 # - c++17: supports full (or nearly full) C++17 programming environment. 22 # - c++14: supports full (or nearly full) C++14 programming environment. 23 # - c++11: supports full (or nearly full) C++11 programming environment. 24 # - retpoline: supports the retpoline speculative execution vulnerability 26 # - init-all: supports stack variable initialization. 27 # - stackclash:supports stack clash protection 28 # - zeroregs: supports zeroing used registers on return 29 # - aarch64-sha512: supports the AArch64 sha512 intrinsic functions. [all …]
|
| /freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
| H A D | qemu-5-setup.sh | 7 set -eu 13 PID=$(pidof /usr/bin/qemu-system-x86_64) 14 tail --pid=$PID -f /dev/null 15 sudo virsh undefine --nvram openzfs 20 # additional options for virt-install 32 OPTS[0]="--boot" 33 OPTS[1]="firmware=efi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no" 44 # setup the testing vm's 52 sudo zfs clone zpool/openzfs@now zpool/vm$i-system 53 sudo zfs create -ps -b 64k -V 64g zpool/vm$i-tests [all …]
|
| H A D | qemu-3-deps-vm.sh | 11 set -eu 14 echo "##[group]Running pacman -Syu" 16 sudo pacman -Syu --noconfirm 20 sudo pacman -Sy --noconfirm base-devel bc cpio cryptsetup dhclient dkms \ 21 fakeroot fio gdb inetutils jq less linux linux-headers lsscsi nfs-utils \ 22 parted pax perf python-packaging python-setuptools qemu-guest-agent ksh \ 23 samba strace sysstat rng-tools rsync wget xxhash 30 echo "##[group]Running apt-get update+upgrade" 31 sudo sed -i '/[[:alpha:]]-backports/d' /etc/apt/sources.list 32 sudo apt-get update -y [all …]
|
| /freebsd/crypto/openssl/Configurations/ |
| H A D | 10-main.conf | 1 ## -*- mode: perl; -*- 8 if (`nasm -v 2>NUL` =~ /NASM version ([0-9]+\.[0-9]+)/ && $1 >= 2.0) { 10 ASFLAGS => "-g", 11 asflags => "-Ox -f win64 -DNEAR", 12 asoutflag => "-o ", 22 $die->("NASM not found - make sure it's installed and available on %PATH%\n"); 36 my $ver=`nasm -v 2>NUL`; 37 my $vew=`nasmw -v 2>NUL`; 41 asflags => "-f win32", 42 asoutflag => "-o ", [all …]
|
| /freebsd/tools/boot/ |
| H A D | full-test.sh | 4 # cache - Cached binaries that we have downloaded 5 # trees - binary trees that we use to make image 7 # images - bootable images that we use to test 9 # bios - cached bios images (as well as 'vars' files when we start testing 11 # scripts - generated scripts that uses images to run the tests. 16 # use qemu-system-XXXX to boot. They all boot the same thing at the moment: 23 # eg https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-amd64-b… 25 : ${STAND_ROOT:="${HOME}/stand-test-root"} 38 if [ -f ${t}/tools/build/make.py ]; then 40 case $(uname -m) in [all …]
|
| H A D | rootgen.sh | 10 # Builds all the bat-shit crazy combinations we support booting from, 18 # This assumes an external program install-boot.sh which will install 25 . $(dirname $0)/install-boot.sh 32 (cd $src ; tar cf - .) | (cd $dst; tar xf -) 48 makefs -t ffs -B little -s 200m -o label=root ${img}.p2 ${src} 49 mkimg -s gpt -b ${src}/boot/pmbr \ 50 -p freebsd-boot:=${src}/boot/gptboot \ 51 -p freebsd-ufs:=${img}.p2 -o ${img} 52 rm -f ${src}/etc/fstab 61 makefs -t ffs -B little -s 200m -o label=root ${img}.p2 ${src} [all …]
|
| /freebsd/contrib/ncurses/ |
| H A D | README.MinGW | 1 ------------------------------------------------------------------------------- 2 -- Copyright 2020 Thomas E. Dickey -- 3 -- Copyright 2008-2011,2012 Free Software Foundation, Inc. -- 4 -- -- 5 -- Permission is hereby granted, free of charge, to any person obtaining a -- 6 -- copy of this software and associated documentation files (the -- 7 -- "Software"), to deal in the Software without restriction, including -- 8 -- without limitation the rights to use, copy, modify, merge, publish, -- 9 -- distribute, distribute with modifications, sublicense, and/or sell copies -- 10 -- of the Software, and to permit persons to whom the Software is furnished -- [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | crypto_test.c | 2 * SPDX-License-Identifier: MIT 28 * "correctness" (-c <testfile>): 34 * "performance" (-p <alg>) 36 * encrypt() on a range of power-2 sizes of input data from 2^10 (1K) to 64 * Generally the ICP expects zero-length data to still require a valid 65 * (non-NULL) pointer, even though it will never read from it. This is a 93 /* what to output; driven by -v switch */ 213 const char *filename = &filepath[strlen(filepath)-1]; in load_tests() 219 filename--; in load_tests() 232 while ((nread = getline(&buf, &buflen, fh)) != -1 || errno == 0) { in load_tests() [all …]
|
| /freebsd/contrib/ldns/packaging/fedora/ |
| H A D | ldns.spec | 4 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_py… 5 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_… 14 Source: http://www.nlnetlabs.nl/downloads/%{%name}/%{name}-%{version}.tar.gz 16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 17 BuildRequires: perl, libpcap-devel, openssl-devel , gcc-c++, doxygen, 22 BuildRequires: python-devel, swig 34 Requires: %{name} = %{version}-%{release} 43 Requires: %{name} = %{version}-%{release} 50 %setup -q 54 # libtoolize -c [all …]
|
| /freebsd/ |
| H A D | ObsoleteFiles.inc | 9 # delete-old-libs target, whereas OLD_FILES and OLD_DIRS are removed by the 10 # delete-old target. This separation allows users to avoid deleting old 18 # For files listed in OLD_FILES, OLD_LIBS, and MOVED_LIBS, the check-old* 19 # and delete-old* targets will also delete associated debug symbols from 34 # ( grep '+=' /usr/src/ObsoleteFiles.inc | sort -u ; \ 35 # grep '+=' /usr/src/tools/build/mk/OptionalObsoleteFiles.inc | sort -u) | \ 36 # sort | uniq -d 40 # for t in `make -V TARGETS universe`; do 41 # __MAKE_CONF=/dev/null make -f Makefile.inc1 TARGET=$t \ 42 # -V OLD_FILES -V OLD_LIBS -V MOVED_LIBS -V OLD_DIRS check-old | \ [all …]
|
| /freebsd/crypto/openssl/crypto/camellia/asm/ |
| H A D | cmll-x86_64.pl | 2 # Copyright 2008-2024 The OpenSSL Project Authors. All Rights Reserved. 25 # -evp camellia-128-ecb 16.7 21.0 22.7 28 # camellia-128-cbc 15.7 20.4 21.1 30 # 128-bit key setup 128 216 205 cycles/key 34 # generated code. Key setup timings are impressive on AMD and Core2 35 # thanks to 64-bit operations being covertly deployed. Improvement on 36 # EM64T, pre-Core2 Intel x86_64 CPU, is not as impressive, because it 37 # apparently emulates some of 64-bit operations in [32-bit] microcode. 47 ( $xlate="${dir}x86_64-xlate.pl" and -f $xlate ) or 48 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or [all …]
|
| /freebsd/sys/contrib/zlib/contrib/gcc_gvmat64/ |
| H A D | gvmat64.S | 6 ; gvmat64.S -- Asm portion of the optimized longest_match for 32 bits x86_64 10 ; Copyright (C) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant. 13 ; from Jean-loup Gailly in deflate.c of zLib and infoZip zip. 17 ; This software is provided 'as-is', without any express or implied 38 ; gcc -c -arch x86_64 gvmat64.S 73 #define chainlenwmask (rsp + 8 - LocalVarsSize) 74 #define nicematch (rsp + 16 - LocalVarsSize) 76 #define save_rdi (rsp + 24 - LocalVarsSize) 77 #define save_rsi (rsp + 32 - LocalVarsSize) 78 #define save_rbx (rsp + 40 - LocalVarsSize) [all …]
|
| /freebsd/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Driver.cpp | 1 //===-- Driver.cpp ----------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 67 std::size(NAME##_init) - 1); 132 command_set->push_back(InitialCmdEntry(command, is_file)); in AddInitialCommand() 136 command_set->push_back(InitialCmdEntry(final_path, is_file)); in AddInitialCommand() 139 "file specified in --source (-s) option doesn't exist: '%s'", in AddInitialCommand() 142 command_set->push_back(InitialCmdEntry(command, is_file)); in AddInitialCommand() 165 strm.Printf("command source -s %i '%s'\n", in WriteCommandsForSourcing() 183 // the flags back to "read them in" here, and then if we see the "-n" flag, in ProcessArgs() [all …]
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | SyntheticSections.h | 1 //===- SyntheticSections.h -------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 48 return sec->kind() == SyntheticKind; in classof() 62 align = target->wordSize; in LinkEditSection() 65 // Implementations of this method can assume that the regular (non-__LINKEDIT) 77 // __LINKEDIT ends where the next one starts -- no gaps are permitted. We 81 // zero-valued bytes. 85 // The header of the Mach-O file, which must have a file offset of zero. 106 bool isNeeded() const override { return target->pageZeroSize != 0; } in isNeeded() [all …]
|
| /freebsd/contrib/pam-krb5/ |
| H A D | NEWS | 1 User-Visible pam-krb5 Changes 3 pam-krb5 4.11 (2021-10-17) 13 Linux systems when --prefix is set to /usr and instead document that 14 --libdir will probably need to be set explicitly. The previous logic 18 Update to rra-c-util 10.0: 23 pam-krb5 4.10 (2021-03-20) 25 When re-retrieving the authenticated principal from the current cache, 31 Update to rra-c-util 9.0: 42 pam-krb5 4.9 (2020-03-30) 47 (CVE-2020-10595) [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/ |
| H A D | x86AssemblyInspectionEngine.cpp | 1 //===-- x86AssemblyInspectionEngine.cpp -----------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 #include "llvm-c/Disassembler.h" 32 m_cpu(k_cpu_unspecified), m_wordsize(-1), in x86AssemblyInspectionEngine() 45 m_wordsize = -1; in Initialize() 51 else if (cpu == llvm::Triple::x86_64) in Initialize() 132 const RegisterInfo *ri = reg_ctx->GetRegisterInfoByName(it->second.name); in Initialize() 134 it->second.lldb_regnum = ri->kinds[eRegisterKindLLDB]; in Initialize() 153 m_wordsize = -1; in Initialize() [all …]
|