OPNsense - FreeBSD source
Find a file
Jason A. Harmening fa4e4d55b3 Clean up a couple of MD warts in vm_fault_populate():
--Eliminate a big ifdef that encompassed all currently-supported
architectures except mips and powerpc32.  This applied to the case
in which we've allocated a superpage but the pager-populated range
is insufficient for a superpage mapping.  For platforms that don't
support superpages the check should be inexpensive as we shouldn't
get a superpage in the first place.  Make the normal-page fallback
logic identical for all platforms and provide a simple implementation
of pmap_ps_enabled() for MIPS and Book-E/AIM32 powerpc.

--Apply the logic for handling pmap_enter() failure if a superpage
mapping can't be supported due to additional protection policy.
Use KERN_PROTECTION_FAILURE instead of KERN_FAILURE for this case,
and note Intel PKU on amd64 as the first example of such protection
policy.

Reviewed by:	kib, markj, bdragon

(cherry picked from commit 8dc8feb53d)
2021-12-27 19:35:55 -05:00
.cirrus-ci Cirrus-CI: retry pkg installation on failure 2021-06-10 08:54:52 -04:00
.github/workflows .github: Attempt to un-break Clang 9 action 2021-05-29 04:38:07 +01:00
bin src/bin/sh: Fix spelling errors 2021-11-18 21:52:21 -07:00
cddl dtrace: Disable getf() as it is broken on FreeBSD 2021-12-26 19:15:07 -05:00
contrib Apply clang fix for crash or assertion failure compiling part of llvm 2021-12-27 11:19:41 +01:00
crypto OpenSSL: Merge OpenSSL 1.1.1m 2021-12-14 17:42:45 -05:00
etc Add idle priority scheduling privilege group to MAC/priority 2021-12-19 04:42:51 +02:00
gnu Bump shared library versions after ncurses bump in 13. 2021-02-04 17:51:45 -08:00
include swapoff: add one more variant of the syscall 2021-12-20 02:29:11 +02:00
kerberos5 kerberos5: Silence compiler warnings 2021-03-17 09:53:08 +00:00
lib libpmc: Update some x86 event definitions. 2021-12-25 14:56:22 -05:00
libexec hostapd: Fix wlan interfaces not UP/RUNNING 2021-12-21 15:34:39 -08:00
release release: riscv64 - increase GENERICSD image size 2021-12-21 11:30:16 -05:00
rescue Fix building rescue/rescue when sanitizers are enabled 2021-08-05 09:59:51 +01:00
sbin swapon(8): adapt to the new swapoff(2) interface 2021-12-20 02:29:11 +02:00
secure OpenSSL: Merge OpenSSL 1.1.1m 2021-12-14 17:43:19 -05:00
share ahci(4): Allow enclosure emulation without hardware. 2021-12-23 20:05:10 -05:00
stand gfx_fb: Fix a typo in a source code comment 2021-12-25 11:40:36 +01:00
sys Clean up a couple of MD warts in vm_fault_populate(): 2021-12-27 19:35:55 -05:00
targets Fix bootstrapping to actually build lldb-tblgen for later use 2021-09-07 13:08:18 +01:00
tests tests/libalias: Make inline functions static inline 2021-12-27 11:19:31 +01:00
tools depend-cleanup.sh: Make the output message more precise 2021-12-13 08:27:31 -05:00
usr.bin Fix 'make bmake' top-level bootstrapping. 2021-12-21 14:44:51 +01:00
usr.sbin bhyve: Only snapshot initialized VirtIO queues 2021-12-26 19:15:00 -05:00
.arcconfig arcconfig: add callsign again 2020-11-23 04:39:29 +00:00
.arclint
.cirrus.yml Cirrus-CI: add a manually triggered arm64 task 2021-12-12 17:45:48 -05:00
.clang-format clang-format: Add bitset loop macros 2021-11-01 09:20:11 -04:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore Revert "bc: Vendor import of Gavin Howard's bc version 3.2.6" 2021-02-05 20:53:34 +01:00
COPYRIGHT copyrights: Happy New Year 2021 2020-12-31 10:29:44 -05:00
LOCKS LOCKS: update current locks 2018-06-09 03:08:04 +00:00
MAINTAINERS Add a pointer to csprng@ for the CSPRNG driver. This is enforced anyway by 2020-09-01 08:02:12 +00:00
Makefile Fix 'make bmake' top-level bootstrapping. 2021-12-21 14:44:51 +01:00
Makefile.inc1 kern.pre.mk: allow to use and customize elfdump during kernel build 2021-12-13 02:58:22 +02:00
Makefile.libcompat Prefer MK_SSP=no to SSP_CFLAGS= 2021-08-11 13:56:28 -03:00
Makefile.sys.inc
ObsoleteFiles.inc libefivar(3): efi_set_variables_supported.3 should be efi_variables_supported.3 2021-12-24 14:49:37 +08:00
README README.md: update gnu directory description 2021-12-19 21:01:53 -05:00
README.md README.md: update gnu directory description 2021-12-19 21:01:53 -05:00
RELNOTES RELNOTES: Add comment about WiFi 6 support 2021-11-22 10:42:11 -08:00
UPDATING UPDATING: Add an entry for commit 18f5b477ee 2021-12-18 14:48:20 -08:00

FreeBSD Source:

This is the top level of the FreeBSD source directory. This file was last revised on: FreeBSD

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), https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html for more information, including setting make(1) variables.

Source Roadmap:

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* 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:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html