HardenedBSD src tree
Go to file
Shawn Webb 76ff3adeab HBSD: Support toggling insecure kmod loading with filesystem extended attributes
Add hbsdcontrol support for toggling the loading of individual kernel
modules that were deemed insecure or untrustworthy. This makes it so
that users can still rely on the global `hardening.insecure_kmod` sysctl
tunable yet still load certain insecure/untrustworthy modules.

An example hbsdcontrol invocation for permitting the load of a kernel
module previously marked insecure/untrustworthy:

hbsdcontrol pax disable insecure_kmod /boot/kernel/linux_common.ko

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
Issue:		#79
MFC-to:		13-STABLE
2022-04-28 17:56:25 -04:00
.cirrus-ci
.github
bin
cddl Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-21 12:02:10 -04:00
contrib HBSD: Support toggling insecure kmod loading with filesystem extended attributes 2022-04-28 17:56:25 -04:00
crypto Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-24 00:02:17 -04:00
etc Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-18 06:02:07 -04:00
gnu
include vendor/bc: import version 5.2.4 2022-04-17 13:20:54 +02:00
kerberos5
lib Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master 2022-04-27 11:31:28 -04:00
libexec Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-22 18:02:09 -04:00
release Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master 2022-04-27 11:31:28 -04:00
rescue
sbin Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-27 18:02:18 -04:00
secure
share Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master 2022-04-28 09:41:42 -04:00
stand Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-21 18:02:20 -04:00
sys HBSD: Support toggling insecure kmod loading with filesystem extended attributes 2022-04-28 17:56:25 -04:00
targets Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-18 06:02:07 -04:00
tests Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master 2022-04-27 11:31:28 -04:00
tools Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master 2022-04-28 09:41:42 -04:00
usr.bin Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-24 06:02:10 -04:00
usr.sbin Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-28 12:01:58 -04:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.gitattributes
.gitignore Vendor import of BearSSL at 2022-04-18 hash d40d23b 2022-04-18 11:05:13 -07:00
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1 Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-18 06:02:07 -04:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc Merge branch 'freebsd/current/main' into hardened/current/master 2022-04-18 06:02:07 -04:00
README.md
RELNOTES
UPDATING
UPDATING-HardenedBSD

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.

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.
sys/arch/conf Kernel configuration files. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries.
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.