No description
Find a file
Dimitry Andric eb1b6ec7a7 zfs: emit .note.GNU-stack section for all ELF targets
On FreeBSD, linking the zfs kernel module with binutils ld 2.44 shows
the following warning:

    ld: warning: aesni-gcm-avx2-vaes.o: missing .note.GNU-stack section implies executable stack
    ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

Some of the `.S` files under `module/icp/asm-x86_64/modes` check whether
to emit the `.note.GNU-stack` section using:

    #if defined(__linux__) && defined(__ELF__)

We could add `&& defined(__FreeBSD__)` to the test, but since all other
`.S` files in the OpenZFS tree use:

    #ifdef __ELF__

it would seem more logical to use that instead. Any recent ELF platform
should support these note sections by now.

Reviewed by:	emaste, kib, imp
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D54578
2026-01-08 09:51:36 +01:00
.cirrus-ci
.github Update vendor/libarchive to 3.8.5 2026-01-05 21:10:21 +01:00
bin sh.1: Restore missing builtin commands 2026-01-06 12:31:32 -05:00
cddl dtrace: Add definitiosn for the cam dtrace provider 2026-01-07 23:20:28 -07:00
contrib libarchive: merge from vendor branch 2026-01-05 21:16:19 +01:00
crypto crypto/openssl: update vendor update instructions 2026-01-04 01:20:13 -08:00
etc unionfs: Support renaming symbolic links 2025-12-17 23:40:59 +01:00
gnu diff3: Move to own package 2025-10-01 09:23:40 -04:00
include stdbool.h: Update for C23 2026-01-06 20:26:59 -05:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-05 09:18:35 -07:00
krb5 krb5: Remove extraneous exports file 2025-12-18 10:16:39 -08:00
lib mips: remove mips leftovers 2026-01-06 12:56:50 -05:00
libexec nuageinit: only create the default user when needed 2026-01-07 13:29:58 +01:00
release release: stop disabling sendmail 2026-01-07 15:19:43 +01:00
rescue zfs: world changes after 89f729dcc merge 2025-12-07 23:09:12 +01:00
sbin pfctl: remove duplicate "va" entry 2025-12-30 23:09:15 +01:00
secure libcrypto: Install tests in the tests package 2025-11-05 21:17:31 +00:00
share cam: Add probes for xpt actions 2026-01-07 23:19:10 -07:00
stand loader: Only warn when we have neither FDT nor ACPI 2026-01-07 22:34:28 -07:00
sys zfs: emit .note.GNU-stack section for all ELF targets 2026-01-08 09:51:36 +01:00
targets usr.bin: Remove intrinsic utilities 2025-12-19 18:15:40 +01:00
tests tests: Increase timeout 2026-01-07 17:52:26 +00:00
tools tools/cam: Start to add the testing tools for CAM 2026-01-07 23:20:34 -07:00
usr.bin netstat: fix a segfault with --libxo 2026-01-07 07:35:13 -07:00
usr.sbin bhyve: improve console error reporting on arm64 2026-01-07 18:06:45 +01:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Update vendor/libarchive to 3.8.5 2026-01-05 21:10:21 +01:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.git-blame-ignore-revs git-blame-ignore-revs: sys/bus.h style(9) fixes 2025-09-12 12:55:53 +08:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore src.sys.mk: Support src.conf in SRCTOP 2025-09-10 18:58:30 +02:00
.mailmap mailmap: add my Raptor Engineering address 2025-12-03 08:58:33 -06:00
CONTRIBUTING.md CONTRIBUTING: Tweak the language 2025-08-08 11:16:13 -06:00
COPYRIGHT copyright: Happy New Year 2026! 2026-01-01 00:29:23 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS MAINTAINERS: Add myself to ufshci 2025-10-23 03:14:22 +00:00
Makefile Makefile: Force DISTDIR=/ for (update-)packages 2025-10-08 04:22:32 +01:00
Makefile.inc1 Makefile.inc1: Fix INSTALLEXTRAKERNELS for one-kernel case 2026-01-06 01:48:04 +00:00
Makefile.libcompat Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools 2025-08-22 21:46:15 +01:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc Resurrect standalone command 2025-12-23 11:36:39 +01:00
README.md Update vendor/libarchive to 3.8.5 2026-01-05 21:10:21 +01:00
RELNOTES RELNOTES: Add an entry for 8e3fd450cc and friends 2025-12-22 18:51:41 -08:00
UPDATING zstd: Move to a new zstd package 2026-01-06 04:24:59 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.