Go to file
Konstantin Belousov 8271d9b99a libsys: remove usage of pthread_once and _once_stub
that existed in auxv.c, use simple bool gate instead. This leaves a
small window if two threads try to call _elf_aux_info(3) simultaneously.
The situation is safe because auxv parsing is really idempotent. The
parsed data is the same, and we store atomic types (int/long/ptr) so
double-init does not matter.

Reviewed by:	brooks, imp
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D43985
2024-02-21 02:26:11 +02:00
.cirrus-ci
.github .github: Enable manually running github actions 2024-02-02 21:05:49 -07:00
bin ls: Fix -v and associated test 2024-02-19 09:50:04 -07:00
cddl dtrace: allow NULL interface pointer for ifinfo_t translator 2024-02-16 12:28:48 +01:00
contrib tzcode: Fix overflow handling in TZ parser. 2024-02-18 10:51:49 +01:00
crypto Revert "heimdal: CVE-2022-41916: Check for overflow in _gsskrb5_get_mech()" 2024-02-16 09:31:13 -08:00
etc Proactively remove /usr/lib/kgdb file that became a directory 2024-02-17 12:27:33 +01:00
gnu misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
include BRT: Fix FICLONE/FICLONERANGE shortened copy 2024-02-05 16:44:45 -08:00
kerberos5 kerberos5: Mitigate the possibility of using an old libcrypto 2024-01-18 07:12:14 -08:00
lib libsys: remove usage of pthread_once and _once_stub 2024-02-21 02:26:11 +02:00
libexec rtld: remove pointless "extern" 2024-02-21 02:26:10 +02:00
release release/tools: Add support for building armv7 vm 2024-02-19 00:49:52 +01:00
rescue rescue: Fix after zfsbootcfg addition 2024-02-12 15:59:14 -07:00
sbin md5: Untabify declarations. 2024-02-20 23:04:45 +01:00
secure caroot: routine update 2024-02-11 00:35:16 -06:00
share iwm.4: add iwlwifi cross-reference 2024-02-20 11:47:51 -05:00
stand loader: Make MK_LOADER_BIOS_TEXTONLY work 2024-02-17 23:29:07 -07:00
sys msdosfs: fix potential inode collision on FAT12 and FAT16 2024-02-20 13:02:24 +01:00
targets Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
tests tests/sigsys: initialize parameter passed to sysctlbyname() 2024-02-20 14:37:45 -08:00
tools tools/net80211/wlanwatch: Remove obsolete code. 2024-02-20 08:27:30 +00:00
usr.bin wc: Fix SIGINFO race with casper init. 2024-02-18 10:57:42 -08:00
usr.sbin arp: fix arp -s/-S 2024-02-20 10:31:05 -08:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml vendor/kyua: Update to snapshot 84c8ec8 2024-01-12 21:27:36 +01:00
.clang-format Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
.git-blame-ignore-revs git-blame-ignore-revs: OptionalObsoleteFiles.inc sorting commits 2023-11-15 17:47:02 +00:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore .gitignore: add sys/*/compile 2024-02-02 09:20:36 -07:00
.mailmap mailmap: Translate olce's personal address to olce@FreeBSD.org 2024-01-04 15:59:01 +01:00
CONTRIBUTING.md OpenSSL: Vendor import of OpenSSL 3.0.13 2024-02-02 01:48:38 -08:00
COPYRIGHT copyright: Bump the copyright date. 2023-12-31 23:15:43 -07:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS MAINTAINERS: change linuxkpi review Phabricator group. 2024-01-16 19:23:39 +00:00
Makefile Import tzcode 2024a 2024-02-13 19:30:52 +01:00
Makefile.inc1 libc: link libsys as a auxiliary filter library 2024-02-05 20:34:56 +00:00
Makefile.libcompat build{libcompat}: Pass UNIVERSE_TOOLCHAIN_PATH to the _lc_build-tools submake 2023-08-21 21:00:45 -07:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc caroot: routine update 2024-02-11 00:35:16 -06:00
README.md Vendor import of expat 2.6.0 2024-02-17 13:54:42 -08:00
RELNOTES RELNOTES: document powerd enable on RPI images 2024-01-30 14:16:51 -06:00
UPDATING libc: link libsys as a auxiliary filter library 2024-02-05 20:34:56 +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.

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.