OPNsense - FreeBSD source
Find a file
Brooks Davis cda23fc36d Move mntopts(3) suppport into libutil
Many programs use this functionality so it should be available centrally
rather than compiled into each program independently.  This has the
modest downside of adding libutil dependencies to some mount_<foo>
programs, but many (plus mount(8)) already have those depndencies so
this shouldn't be a major imposition.

In commit 906c312bbf, Kirk said this could be done once the change was
merged to FreeBSD 13.  That happened in commit 668dfa0166 in 2023.

While here perform related tidying including removing SRCS where the
only entry is ${PROG}.c rendering it unnecessary.

Reviewed by:	olce, dim, emaste
Differential Revision:	https://reviews.freebsd.org/D49951
2025-04-22 22:51:42 +01:00
.cirrus-ci
.github Revert "WIP: Cross-build github action on for-main" 2025-04-08 11:59:48 +01:00
bin getfacl: implement --skip-base (-s) 2025-04-20 22:57:45 -05:00
cddl Note that bash(1) is from a port. 2025-04-19 20:13:22 +02:00
contrib wireguard-tools: ipc: freebsd: use AF_LOCAL for the control socket 2025-04-20 22:10:16 -05:00
crypto OpenSSH: Regen config.h for DSA retirement 2025-04-15 14:15:33 -04:00
etc tee: add some basic tests 2025-04-20 11:35:32 -05:00
gnu Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
include fts: Add blocks support. 2025-04-22 19:25:56 +02:00
kerberos5 kerberos5, libcom_err, others: append to LDFLAGS instead of replacing 2025-04-05 14:19:57 -07:00
lib Move mntopts(3) suppport into libutil 2025-04-22 22:51:42 +01:00
libexec flua: Add minimal man page 2025-04-21 15:16:42 -04:00
release EC2: Add AMI Builder AMI building 2025-04-22 13:35:03 -07:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin Move mntopts(3) suppport into libutil 2025-04-22 22:51:42 +01:00
secure secure: Add ssh-sk-client to all consumers of libssh 2025-04-21 22:05:28 -04:00
share bsd.compiler.mk: Add a blocks compiler feature. 2025-04-22 19:44:58 +02:00
stand kboot: Add support for UEFI booting amd64 2025-04-17 15:56:47 -06:00
sys LinuxKPI: 802.11: no need to lock during lkpi_lsta_alloc() 2025-04-22 20:03:31 +00:00
targets gvinum(8): Remove userland tool for managing vinum volumes 2025-01-23 11:20:43 -05:00
tests Move mntopts(3) suppport into libutil 2025-04-22 22:51:42 +01:00
tools ghpr: Make init a little more robust 2025-04-22 12:16:55 -06:00
usr.bin netstat: fix table header alignment for -x 2025-04-21 18:23:19 +02:00
usr.sbin Move mntopts(3) suppport into libutil 2025-04-22 22:51:42 +01: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 libedit: import snapshort 2025-01-03 2025-04-16 22:18:02 +02:00
Makefile.inc1 Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG 2025-04-18 20:32:12 +02: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 ObsoleteFiles: Remove mount_fusefs.8 entry 2025-04-19 12:53:56 -04:00
README.md Vendor import of expat 2.7.1 2025-04-02 12:16:50 +08:00
RELNOTES RELNOTES: mac_do(4): Change of rules syntax; Provide hints and pointers 2025-04-08 14:49:12 +02:00
UPDATING LinuxKPI: bump __FreeBSD_version to 1500037 for alloc routine changes 2025-04-12 20:49:20 +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.