Mono Gateway (NXP LS1046A) fork of OPNsense src: DPAA/LS1046A kernel support, rebased on upstream release tags
Find a file
John Baldwin dcdb18bd3c bluetooth: Don't use a non-string to initialize NG_HCI_BDADDR_ANY
Explicitly use an array of 6 zeroes instead of a C string containing
nul characters.  GCC 15 warns about the truncation, but this is
cleaner regardless.

In file included from /usr/obj/.../amd64.amd64/tmp/usr/include/bluetooth.h:51,
                 from usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c:45:
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c: In function 'register_sdp':
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c:96:13: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (7 chars into 6 available) [-Werror=unterminated-string-initialization]
   96 |             NG_HCI_BDADDR_ANY, (const uint8_t *)&record, sizeof(record),
      |             ^~~~~~~~~~~~~~~~~

Reviewed by:	dim
Differential Revision:	https://reviews.freebsd.org/D54869

(cherry picked from commit 72a6991b80c6e6c47a3b84337f62f0a02bd30391)
2026-01-30 18:30:10 +02:00
.cirrus-ci
.github .github: Use make.py's --cross-toolchain option on macOS 2025-08-06 16:14:37 -04:00
bin sh: avoid warnings about too-long initializer strings 2026-01-02 21:40:38 +01:00
cddl ctfmerge: fix segfault when building on macOS 2025-12-15 14:22:54 -08:00
contrib libc++ inttypes.h: define __STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS 2026-01-26 09:41:28 +01:00
crypto openssl: Fix multiple vulnerabilities 2026-01-27 19:14:40 +00:00
etc gdb: Add missing mtree debug entry 2026-01-21 01:50:01 +00:00
gnu diff3: Move to own package 2025-10-03 09:52:43 -07:00
include libthr: add pthread_tryjoin_np() 2026-01-25 02:23:35 +02:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-07 18:47:21 -07:00
krb5 krb5: Remove extraneous exports file 2026-01-05 12:00:01 -08:00
lib lib/virtual_oss: don't (over)link to libsamplerate 2026-01-30 18:30:06 +02:00
libexec src.opts: Introduce MK_SOUND 2026-01-21 18:06:42 +02:00
release vmimage.subr: Install pkg on pkgbase images 2026-01-27 15:15:40 -08:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin pfctl: allow new page character (^L) in pf.conf 2026-01-28 10:08:06 +01:00
secure libcrypto: Install tests in the tests package 2025-11-07 05:16:08 +00:00
share vt.4: Document that hw.vga.textmode does not apply for UEFI(8) boot 2026-01-27 16:15:26 +01:00
stand lualoader: fix pruning of non-existent default kernel 2026-01-19 22:04:46 -06:00
sys bluetooth: Don't use a non-string to initialize NG_HCI_BDADDR_ANY 2026-01-30 18:30:10 +02:00
targets blocklist: Rename blacklist to blocklist 2025-10-14 00:53:16 +00:00
tests if_ovpn: add interface counters 2026-01-28 10:09:10 +01:00
tools OptionalObsoleteFiles.inc: Treat compat runtime loaders as libraries 2026-01-28 19:06:58 -05:00
usr.bin mkimg(1): Sync mkimg(1) and usage() with the implementation 2026-01-26 12:26:12 -05:00
usr.sbin virtual_oss: build system tidying 2026-01-30 18:29:56 +02:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: Switch back to tzst packages, but use level 1 2025-10-14 20:47:10 -04: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: witness white space cleanup and style(9) tweeks 2025-08-29 18:01:43 +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-16 13:27:43 +00:00
.mailmap mailmap: Add Joyu Liao 2025-06-26 14:13:21 +02:00
CONTRIBUTING.md CONTRIBUTING: Tweak the language 2025-08-08 11:16:13 -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 Makefile: Force DISTDIR=/ for (update-)packages 2025-10-10 05:29:35 +01:00
Makefile.inc1 depend-cleanup: Force a clean build when options change 2026-01-12 17:18:21 +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 apm(8): Drop MLINK to apmconf(8) 2025-12-18 17:50:14 -05:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: Add entry for 256d05617c 2026-01-12 11:01:11 -07:00
UPDATING UPDATING: Add an entry for f27afc4765 2025-11-23 12:39:46 -08: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.