No description
Find a file
John Baldwin faae895fec fusefs tests: Use memcpy to work around a -Wstrlcpy-strlcast-size warning
tests/sys/fs/fusefs/xattr.cc:572:50: error: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Werror,-Wstrlcpy-strlcat-size]
  572 |                         strlcpy((char*)out.body.bytes, attrs1, sizeof(attrs1));
      |                                                                ~~~~~~~^~~~~~~

The warning is correct in that the size is the size of the source, but
that is intended in this case.  Use memcpy() instead of strlcpy() to
match the same code in the size_only_race_smaller test above.

Differential Revision:	https://reviews.freebsd.org/D49786
2025-04-11 15:12:58 -04:00
.cirrus-ci
.github Revert "WIP: Cross-build github action on for-main" 2025-04-08 11:59:48 +01:00
bin ps.1: Use ISO/IEC byte units 2025-03-28 13:59:00 -04:00
cddl libdtrace: Fix an off-by-one in CPU ID handling 2025-03-09 23:00:59 -04:00
contrib wpa: add support for CCMP-256/GMCP-256 2025-04-07 18:35:22 -07:00
crypto OpenSSH: Fix logic error in DisableForwarding option 2025-04-09 11:03:29 -04:00
etc bpf: avoid panic on multiple readers 2025-04-09 09:39:01 +02:00
gnu Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
include fts: Move private flags away from public ones. 2025-04-10 13:35:46 +02:00
kerberos5 kerberos5, libcom_err, others: append to LDFLAGS instead of replacing 2025-04-05 14:19:57 -07:00
lib kinfo_getfile: Add a comment explaining 4/3 ratio 2025-04-11 14:42:44 -04:00
libexec src: Use gnu++17 as the default C++ standard 2025-04-11 09:53:50 -04:00
release release: Pass PKG_INSTALL_EPOCH to vmimage.subr 2025-04-10 08:58:11 -07:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin pfctl: route-to, dup-to, reply-to should not override the block action 2025-04-09 21:30:17 +02:00
secure openssh: Request the OpenSSL 1.1 API 2025-03-27 00:19:14 +00:00
share src: Use gnu++17 as the default C++ standard 2025-04-11 09:53:50 -04:00
stand loader: Add the CPU identification string to the data which is visible 2025-04-10 21:01:55 -07:00
sys tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN 2025-04-11 13:02:06 -04:00
targets gvinum(8): Remove userland tool for managing vinum volumes 2025-01-23 11:20:43 -05:00
tests fusefs tests: Use memcpy to work around a -Wstrlcpy-strlcast-size warning 2025-04-11 15:12:58 -04:00
tools Fix build under current. 2025-04-10 15:41:02 +02:00
usr.bin src: Use gnu++17 as the default C++ standard 2025-04-11 09:53:50 -04:00
usr.sbin ctld: Do not remove item from an nvlist while iterating it 2025-04-11 10:02:48 -04:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml .cirrus-ci: Update the non-manual GCC build job to GCC 14 2025-03-03 11:51:47 -05:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.git-blame-ignore-revs .git-blame-ignore-revs: one more revision for rtld 2025-03-18 03:36:05 +02: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 my personal address 2024-06-22 08:57:56 +02:00
CONTRIBUTING.md CONTRIBUTING.md/style: spring cleaning 2024-05-10 15:07:03 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
Makefile universe: Update the default GCC toolchain to GCC 14 2025-03-03 11:51:53 -05:00
Makefile.inc1 Makefile.inc1: Rework ELF Tool Chain bootstrapping 2025-03-27 12:38:25 -04:00
Makefile.libcompat Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc iwlwififw: remove Intel iwlwifi firmware from src.git 2025-04-10 13:32:49 +00:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: mac_do(4): Change of rules syntax; Provide hints and pointers 2025-04-08 14:49:12 +02:00
UPDATING iwlwififw: remove Intel iwlwifi firmware from src.git 2025-04-10 14:59:40 +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.