HardenedBSD src tree
Go to file
Kyle Evans 5af6fbd727 ssp: appease -Wgnu-statement-expression-from-macro-expansion
It's a stupid warning, but some ports enable it by default and were
already defining _FORTIFY_SOURCE, thus exposing the new macros
immediately.  This at least fixes the libfido2 build, perhaps others as
well.

While we're here, fix a fresh build of stand w/ FORTIFY_SOURCE enabled
by not pulling in the ssp headers if _STANDALONE is defined.  We do not
have runtime support in libsa as of the time of writing.

Reported by:	netchild
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
2024-05-14 18:22:18 -05:00
.cirrus-ci
.github
bin /bin/rmdir: Exit with status 2 for invalid arguments 2024-05-11 13:13:28 -06:00
cddl
contrib awk: Merge in bsd-feature branch of OTA from 20240422 (31bb33a32f71) 2024-05-14 12:17:55 -06:00
crypto
etc Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
gnu
include ssp: appease -Wgnu-statement-expression-from-macro-expansion 2024-05-14 18:22:18 -05:00
kerberos5
lib Fix the GCC build after _FORTIFY_SOURCE import 2024-05-13 11:21:38 -05:00
libexec nuageinit: by default to not enable nuageinit 2024-05-14 14:16:45 +02:00
release
rescue
sbin ifconfig: Add format shortcuts. 2024-05-14 08:51:50 +02:00
secure
share usb_vendors: update to 2024.03.18 2024-05-14 14:18:52 +02:00
stand stand: Spell LUA_COMPILE_SET correctly. 2024-05-11 12:09:51 -06:00
sys AMD CPUs: update bits and data from CPUID 0x8000_0008 2024-05-15 02:06:23 +03:00
targets
tests if_ovpn: cope with loops 2024-05-13 12:11:06 +02:00
tools Add a build knob for _FORTIFY_SOURCE 2024-05-13 00:23:50 -05:00
usr.bin Merge bmake-20240508 2024-05-13 22:19:20 -07:00
usr.sbin bsdinstall: Remove unused variables in fetchmissingdists 2024-05-12 19:25:06 +02:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore
.mailmap
CONTRIBUTING.md CONTRIBUTING.md/style: spring cleaning 2024-05-10 15:07:03 -06:00
COPYRIGHT
LOCKS
MAINTAINERS
Makefile Update example from gcc6 to gcc13 2024-05-09 08:16:15 -06:00
Makefile.inc1
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc Stop removing ssp headers 2024-05-13 17:45:55 -05:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES
UPDATING

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.