/freebsd/tools/build/mk/ |
H A D | Makefile.boot | 1 CFLAGS+= -I${WORLDTMP}/legacy/usr/include 3 LDADD+= -legacy 4 LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib 7 # On MacOS using a non-mac ar will fail the build, similarly on Linux using 32 # Add various -Werror flags to catch missing function declarations 33 CFLAGS+= -Werror=implicit-function-declaration -Werror=implicit-int \ 34 -Werror=return-type -Wundef 35 CFLAGS+= -DHAVE_NBTOOL_CONFIG_H=1 36 # This is needed for code that compiles for pre-C11 C standards 37 CWARNFLAGS.clang+=-Wno-typedef-redefinition [all …]
|
/freebsd/contrib/libpcap/pcap/ |
H A D | sll.h | 1 /*- 40 * For captures on Linux cooked sockets, we construct a fake header 43 * a 2-byte "packet type" which is one of: 51 * a 2-byte Ethernet protocol field; 53 * a 2-byte link-layer type; 55 * a 2-byte link-layer address length; 57 * an 8-byte source link-layer address, whose actual length is 60 * All fields except for the link-layer address are in network byte order. 63 * LINUX_SLL_ values below. If you must change the link-layer header 64 * for a "cooked" Linux capture, introduce a new DLT_ type (ask [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_linux.cpp | 1 //===-- sanitizer_platform_limits_linux.cpp -------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // Sizes and layouts of linux kernel data structures. 12 //===----------------------------------------------------------------------===// 14 // This is a separate compilation unit for linux headers that conflict with 15 // userspace headers. 24 // For offsetof -> __builtin_offsetof definition. 28 // are not defined anywhere in userspace headers. Fake them. This seems to work 29 // fine with newer headers, too. [all …]
|
/freebsd/contrib/ldns/ |
H A D | README-Travis.md | 3 …s. Compilers include Clang and GCC; while platforms include Android, iOS, Linux, and OS X on AMD64… 5 …n builds LDNS. The testing is tailored for Android NDK-r19 and above, and includes NDK-r20 and NDK… 9 The LDNS Travis configuration file `.travis.yml` does not use top-level keys like `os:` and `compil… 13 …des AMD64, Aarch64, PowerPC and s390x. PowerPC is a little-endian platform, and s390x is a big-end… 16 - os: linux 17 name: GCC on Linux, Aarch64 21 - os: linux 22 name: Clang on Linux, Aarch64 37 - os: linux 38 name: UBsan, GCC on Linux, Amd64 [all …]
|
/freebsd/contrib/unbound/ |
H A D | README-Travis.md | 3 …s. Compilers include Clang and GCC; while platforms include Android, iOS, Linux, and OS X on AMD64… 5 …uilds Unbound. The testing is tailored for Android NDK-r19 and above, and includes NDK-r20 and NDK… 9 The Unbound Travis configuration file `.travis.yml` does not use top-level keys like `os:` and `com… 13 …des AMD64, Aarch64, PowerPC and s390x. PowerPC is a little-endian platform, and s390x is a big-end… 16 - os: linux 17 name: GCC on Linux, Aarch64 21 - os: linux 22 name: Clang on Linux, Aarch64 37 - os: linux 38 name: UBsan, GCC on Linux, Amd64 [all …]
|
/freebsd/sys/contrib/openzfs/contrib/debian/ |
H A D | control.modules.in | 1 Source: openzfs-linux 4 Maintainer: ZFS on Linux specific mailing list <zfs-discuss@list.zfsonlinux.org> 5 Build-Depends: debhelper-compat (= 10), 6 dkms (>> 2.1.1.2-5), 8 linux-headers-_KVERS_ | raspberrypi-kernel-headers 9 Standards-Version: 4.3.0 11 Vcs-Git: https://github.com/openzfs/zfs.git 12 Vcs-Browser: https://github.com/openzfs/zfs 14 Package: openzfs-zfs-modules-_KVERS_ 16 Provides: openzfs-zfs-modules [all …]
|
/freebsd/contrib/capsicum-test/ |
H A D | README.md | 4 object-capabilities. The tests exercise the syscall interface to a Capsicum-enabled operating syste… 5 currently either [FreeBSD >=10.x](http://www.freebsd.org) or a modified Linux kernel (the 6 [capsicum-linux](http://github.com/google/capsicum-linux) project). 16 - [unit tests](https://github.com/freebsd/freebsd/tree/master/tools/regression/security/cap_test) 18 …- [unit tests](http://git.chromium.org/gitweb/?p=chromiumos/third_party/kernel-capsicum.git;a=tree… 25 ### Linux subsection 29 - `CONFIG_SECURITY_CAPSICUM`: enable the Capsicum framework 30 - `CONFIG_PROCDESC`: enable Capsicum process-descriptor functionality 31 - `CONFIG_DEBUG_FS`: enable debug filesystem 32 - `CONFIG_IP_SCTP`: enable SCTP support [all …]
|
H A D | GNUmakefile | 5 ARCHFLAG=-m$(ARCH) 8 EXTRA_LIBS=-lprocstat 11 ifeq ($(OS),Linux) 12 PROCESSOR:=$(shell uname -p) 14 ifneq ($(wildcard /usr/lib/$(PROCESSOR)-linux-gnu),) 16 PLATFORM_LIBDIR=/usr/lib/$(PROCESSOR)-linux-gnu 19 PLATFORM_LIBDIR=$(shell gcc -v 2>&1 | grep "Configured with:" | sed 's/.*--libdir=\(\/usr\/[^ ]*\).… 24 # assumption that any installed version is 64-bit. 25 ifeq ($(ARCHFLAG),-m32) 30 ifeq ($(ARCHFLAG),-mx32) [all …]
|
/freebsd/contrib/libpcap/ |
H A D | CHANGES | 5 Mark pcap_vasprintf() as printf-like. 16 Avoid casting hack for the Windows cleanup-on-exit routine. 21 Remove the unused pcap-rpcap-int.h header file. 23 Make some static variables thread-local; fixes issue #1174. 33 Linux: 36 Avoid 32-bit unsigned integer overflow in USB captures. Fixes 49 Report {non-existent zone}/{interface} errors appropriately. 50 Allow attaching to links owned by a non-global zone. (Based on 55 in recent SDKs, including tagging pcap-namedb.h routines. 63 Report non-existent devices correctly. [all …]
|
H A D | configure.ac | 24 # These are the variables that are used in Makefile, pcap-config, and 42 # pcap-config, so that "pcap-config --libs --static" will report them. 45 # REQUIRES_PRIVATE: pkg-config package names for additional libraries 48 # so that "pkg-config --libs --static" will report them, and so that 52 # V_CCOPT: additional compiler flags other than -I and -D flags 56 # V_DEFS: additional -D compiler flags needed when compiling 59 # V_INCLS: additional -I compiler flags needed when compiling 63 # library needs to be linked. Used in Makefile; not used in pcap-config 66 # that dynamic library doesn't have to link with those libraries - 72 # in pcap-config, so that "pcap-config --libs --static" will report [all …]
|
H A D | pcap-filter.manmisc.in | 21 .TH PCAP-FILTER @MAN_MISC_INFO@ "13 June 2023" 23 pcap-filter \- packet filter syntax 54 E.g., `\fBhost\fP foo', `\fBnet\fP 128.3', `\fBport\fP 20', `\fBportrange\fP 6000-6008'. 75 E.g., `\fBsrc\fP foo', `\fBdst net\fP 128.3', `\fBsrc or dst port\fP ftp-data'. 106 `\fBudp portrange\fP 7000-7009', `\fBwlan addr2\fP 0:2:3:4:5:6'. 117 network interface''. FDDI headers contain Ethernet-like source 118 and destination addresses, and often contain Ethernet-like packet 121 FDDI headers also contain other fields, 125 paragraph's statements about FDDI headers also apply to Token Ring 126 and 802.11 wireless LAN headers. For 802.11 headers, the destination [all …]
|
H A D | pcap-util.c | 21 * pcap-util.c - common code for various files 26 #include <pcap-types.h> 33 #include "pcap-int.h" 35 #include "pcap-usb-linux-common.h" 37 #include "pcap-util.h" 41 * Most versions of the DLT_PFLOG pseudo-header have UID and PID fields 51 u_int caplen = hdr->caplen; in swap_pflog_header() 52 u_int length = hdr->len; in swap_pflog_header() 56 if (caplen < (u_int) (offsetof(struct pfloghdr, uid) + sizeof pflhdr->uid) || in swap_pflog_header() 57 length < (u_int) (offsetof(struct pfloghdr, uid) + sizeof pflhdr->uid)) { in swap_pflog_header() [all …]
|
/freebsd/tools/build/ |
H A D | Makefile | 11 # Also add ufs/ffs/msdosfs/disk headers to allow building makefs as a bootstrap tool 23 _XCODE_ROOT!=xcode-select -p 24 # since macOS 10.14 C headers are no longer installed in /usr but only 27 # Only command line tools installed -> host headers are in the SDKs directory 30 # Full XCode installed -> host headers are below Platforms/MacOSX.platform 35 .error You must install the macOS SDK (try xcode-select --install) 41 # Allow building libc-internal files (also on non-FreeBSD hosts) 42 CFLAGS+= -I${.CURDIR}/libc-bootstrap 43 # Symbol versioning is not required for -legacy (and macOS bootstrap) 46 _WITH_PWCACHEDB!= grep -c pwcache_groupdb ${HOST_INCLUDE_ROOT}/grp.h || true [all …]
|
/freebsd/contrib/openbsm/ |
H A D | INSTALL | 5 and Linux. Some components are built only if appropriate kernel audit 11 On Linux systems, OpenSSL headers may have to be installed to support 12 encryption of on-the-wire audit streams using auditdistd; the following 15 sudo apt-get install libssl-dev 22 configure of the location of the OpenSSL headers and library: 24 CFLAGS=-I/usr/local/opt/openssl/include \ 25 LDFLAGS=-L/usr/local/opt/openssl/lib \ 38 --prefix argument to configure. If installing to a specific directory, 42 ./configure --prefix=/home/rwatson/openbsm
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | AuxVector.h | 1 //===-- AuxVector.h ---------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 23 /// On Linux and FreeBSD, running "LD_SHOW_AUXV=1 ./executable" will spew AUX 24 /// information. Added AUXV prefix to avoid potential conflicts with system- 30 AUXV_AT_PHDR = 3, ///< Program headers. 32 AUXV_AT_PHNUM = 5, ///< Number of program headers. 43 // At this point Linux and FreeBSD diverge and many of the following values 44 // are Linux specific. If you use them make sure you are in Linux specific 56 AUXV_AT_SECURE = 23, ///< Boolean, was exec setuid-like? [all …]
|
/freebsd/sys/contrib/xz-embedded/linux/lib/ |
H A D | decompress_unxz.c | 2 * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd 11 * Important notes about in-place decompression 21 * The worst case for in-place decompression is that the beginning of 23 * incompressible. Thus, we must look for worst-case expansion when the 31 * Block Header (8-12) 33 * Block Padding (0-3) 35 * Index (8-20) 39 * 2-4 Blocks just in case. Because Stream Header and also Block Header 41 * data, we can ignore them from our calculations. Block Headers of possible 74 * - 128 bytes for the .xz file format headers; [all …]
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | kernel-stdarg.m4 | 2 dnl # Linux 5.15 gets rid of -isystem and external <stdarg.h> inclusion 3 dnl # and ships its own <linux/stdarg.h>. Check if this header file does 10 #include <linux/stdarg.h> 14 #error "<linux/stdarg.h> is invalid" 21 dnl # Linux 5.15 ships its own stdarg.h and doesn't allow to 22 dnl # include compiler headers. 24 AC_MSG_CHECKING([whether standalone <linux/stdarg.h> exists]) 28 [standalone <linux/stdarg.h> exists])
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
H A D | mount.h | 10 * or https://opensource.org/licenses/CDDL-1.0. 37 * Some old glibc headers don't define BLKGETSIZE64 38 * and we don't want to require the kernel headers 45 * Some old glibc headers don't correctly define MS_DIRSYNC and 47 * headers define MS_DIRSYNC to be S_WRITE. 54 * Some old glibc headers don't correctly define MS_POSIXACL and 55 * instead leave it undefined. When using these older headers define 68 * Older glibc <sys/mount.h> headers did not define all the available 85 * Overlay mount is default in Linux, but for solaris/zfs 87 * provide a flag (-O) to mount over a non empty directory.
|
/freebsd/lib/clang/include/clang/Config/ |
H A D | config.h | 1 /* This generated file is for internal use. Do not include it from headers. */ 11 /* Default to -fPIE and -pie on Linux. */ 29 /* Default OpenMP runtime used by -fopenmp. */ 41 /* Directories clang will search for headers */ 48 /* Default <path> to all compiler invocations for --sysroot=<path>. */ 69 /* pass --build-id to ld */ 75 /* Enable IEEE binary128 as default long double format on PowerPC Linux. */
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Linux.cpp | 1 //===--- Linux.h - Linux ToolChain Implementations --------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 #include "Linux.h" 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. 41 std::string Linux::getMultiarchTriple(const Driver &D, in getMultiarchTriple() 57 // common linux triples that don't quite match the Clang triple for both in getMultiarchTriple() 58 // 32-bit and 64-bit targets. Multiarch fixes its install triples to these in getMultiarchTriple() 63 return "arm-linux-androideabi"; in getMultiarchTriple() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
H A D | mount.h | 10 * or https://opensource.org/licenses/CDDL-1.0. 43 * Some old glibc headers don't correctly define MS_DIRSYNC and 45 * headers define MS_DIRSYNC to be S_WRITE. 52 * Some old glibc headers don't correctly define MS_POSIXACL and 53 * instead leave it undefined. When using these older headers define 74 * Older glibc <sys/mount.h> headers did not define all the available 91 * Overlay mount is default in Linux, but for solaris/zfs 93 * provide a flag (-O) to mount over a non empty directory.
|
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | qemu-3-deps-vm.sh | 9 set -eu 12 echo "##[group]Running pacman -Syu" 14 sudo pacman -Syu --noconfirm 18 sudo pacman -Sy --noconfirm base-devel bc cpio cryptsetup dhclient dkms \ 19 fakeroot fio gdb inetutils jq less linux linux-headers lsscsi nfs-utils \ 20 parted pax perf python-packaging python-setuptools qemu-guest-agent ksh \ 21 samba sysstat rng-tools rsync wget xxhash 28 echo "##[group]Running apt-get update+upgrade" 29 sudo apt-get update -y 30 sudo apt-get upgrade -y [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | trace.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 25 * Calls to DTRACE_PROBE* are mapped to standard Linux kernel trace points 35 * macros defined in the general tracing headers(see trace_vdev.h) and 37 * source files include the general tracing headers, e.g. 42 * tracing headers thereby defining all stub functions in one place via 58 #include <linux/tracepoint.h>
|
/freebsd/crypto/openssh/ |
H A D | README.platform | 20 than the build host then you can add "-DBROKEN_GETADDRINFO" to CFLAGS 21 to force the previous IPv4-only behaviour. 31 --with-ssl-dir=/opt/freeware --with-zlib=/opt/freeware 44 ------ 46 gcc, gcc-mingw-core, mingw-runtime, binutils, make, openssl, 47 openssl-devel, zlib, minres, minires-devel. 51 ------------------ 52 Darwin does not provide a tun(4) driver required for OpenSSH-based 57 Point-to-Point (Layer 3) and Ethernet (Layer 2) mode using a third 63 Linux [all …]
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | linux_wext.h | 2 * Driver interaction with generic Linux Wireless Extensions 3 * Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi> 16 * headers. 35 #include <linux/wireless.h>
|