freebsd kernel with SKQ
Go to file
kib 7540fa5d76 ARM userspace accessors, e.g. {s,f}uword(9), copy{in,out}(9),
casuword(9) and others, use LDRT and STRT instructions to access
memory with the privileges of userspace.  If the *RT instruction
faults on the kernel address, then additional checks must be done to
not confuse the VM system with invalid kernel-mode faults.

Put ARM on line with other FreeBSD architectures and disallow usermode
buffers which intersect with the kernel address space in advance,
before any accesses are performed.  In other words, vm_fault(9) is no
longer called when e.g. suword(9) stores to invalid (i.e. not
userspace) address.

Also, switch ARM to use fueword(9) and casueword(9).

Note: there is a pending patch in D3617, which adds the special
processing for faults from LDRT and STRT.  The addition of the
processing is useful for potential other uses of the instructions and
for completeness, but standard userspace accessors are better served
by not allowing such faults beforehand.

Reviewed by:	andrew
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3816
MFC after:	2 weeks
2015-10-15 17:40:39 +00:00
bin Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
cddl MFV r289312: 2605 want to resume interrupted zfs send 2015-10-15 08:47:32 +00:00
contrib Apply r3505 (s/SIGQUIT/SIGTERM/ in man page) 2015-10-14 18:08:38 +00:00
crypto Fix OpenSSH multiple vulnerabilities by backporting three changes 2015-08-25 20:48:37 +00:00
etc Create /usr/tests *.debug file directory hierarchy 2015-10-15 01:46:55 +00:00
gnu Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
include resolver: automatically reload /etc/resolv.conf 2015-10-14 14:26:44 +00:00
kerberos5 Partially revert r288266: Remove SUBDIR_PARALLEL from kerberos5/lib. 2015-10-13 18:52:56 +00:00
lib For the Cortex-A8 use the a8 and not the a9 events table. 2015-10-14 16:56:25 +00:00
libexec Allow PT_NOTES segments to be located anywhere in the executable 2015-10-14 18:29:21 +00:00
release Deprecate MD5 checksum generation in favor of SHA512. 2015-10-14 22:33:11 +00:00
rescue META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
sbin newfs_msdos: rework option parsing to match NetBSD 2015-10-15 16:19:00 +00:00
secure Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
share /usr/tests is part of the base system (for *.debug files) 2015-10-15 02:52:30 +00:00
sys ARM userspace accessors, e.g. {s,f}uword(9), copy{in,out}(9), 2015-10-15 17:40:39 +00:00
targets All the games moved to usr.bin/ in r288485. 2015-10-02 17:58:16 +00:00
tests Integrate tools/regression/vfs into the FreeBSD test suite as tests/sys/vfs 2015-10-14 08:16:15 +00:00
tools Fix test-fenv:test_dfl_env when run on some amd64 CPUs 2015-10-14 20:22:12 +00:00
usr.bin mkimg: support fat16b partitions (MBR type 06h) 2015-10-15 01:09:14 +00:00
usr.sbin Add debug file extension to freebsd-update(8) after r288176 2015-10-15 01:48:52 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint
COPYRIGHT Bump copyright year. 2014-12-31 10:00:43 +00:00
LOCKS
MAINTAINERS
Makefile Consider top-level targets to be .PHONY as bmake won't build them 2015-10-15 05:32:56 +00:00
Makefile.inc1 Consider top-level targets to be .PHONY as bmake won't build them 2015-10-15 05:32:56 +00:00
ObsoleteFiles.inc Update dates in UPDATING and ObsoleteFiles.inc. 2015-10-06 16:26:07 +00:00
README Import OpenSSL 1.0.1p. 2015-07-09 16:41:34 +00:00
UPDATING Rewrap UPDATING entry from r265422 to 80 columns 2015-10-13 12:51:44 +00:00

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

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

The `buildkernel` and `installkernel` targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

Note: If you want to build and install the kernel with the
`buildkernel` and `installkernel` targets, you might need to build
world before.  More information is available in the handbook.

The kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


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.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		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.

sys		Kernel sources.

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:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html