freebsd kernel with SKQ
Go to file
Konstantin Belousov af582aaed1 When matching brand to the ELF binary by notes, try to find a brand
with interpreter name exactly matching one wanted by the binary.  If
no such brand exists, return first brand which accepted the binary by
note.

The change fixes a regression after r292749, where e.g. our two ia32
compat brands, ia32_brand_info and ia32_brand_oinfo, only differ by
the interpeter path and binary matches to a brand by linkage order.
Then old binaries which require /usr/libexec/ld-elf.so.1 but matched
against ia32_brand_info with interp_path /libexec/ld-elf.so.1, were
considered requiring non-standard interpreter name, and magic to force
ld-elf32.so.1 did not happen.

Note that it might make sense to apply the same selection of brands
for other matching criteria, SCO EI_OSABI and 3.x string.

Reported and tested by:	dwmalone
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2016-02-04 20:55:49 +00:00
bin Add 't' and 'p' postfixes to dd(1). 2016-02-04 15:21:01 +00:00
cddl MFV 295046: 6358 A faulted pool with only unavailable vdevs triggers 2016-01-29 17:20:59 +00:00
contrib Try to fix a bug introduced in r228623. We started to copy the ifa_msghdr 2016-02-03 11:03:44 +00:00
crypto Document our modified default value for PermitRootLogin. 2016-02-02 10:02:38 +00:00
etc Fix grammar in error statement 2016-02-04 17:09:43 +00:00
gnu Make .debug file for libgcc_s.so.1 more useful. 2016-01-27 20:20:35 +00:00
include Provide new socket option TCP_CCALGOOPT, which stands for TCP congestion 2016-01-22 02:07:48 +00:00
kerberos5 DIRDEPS_BUILD: Update dependencies. 2015-12-07 23:53:01 +00:00
lib - connect(2) Clarify namelen 2016-02-04 18:03:06 +00:00
libexec Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on 2016-01-30 17:54:18 +00:00
release Increase efiboot.img size used in ISO creation 2016-01-13 14:47:13 +00:00
rescue Fix the build after ifconfig was converted over to lib80211 in r291470 2015-11-30 16:34:13 +00:00
sbin Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9 2016-02-01 08:06:17 +00:00
secure Merge OpenSSL 1.0.2f. 2016-01-28 20:15:22 +00:00
share Make sure to enable aliases for SHIFT_JIS. 2016-02-04 05:03:35 +00:00
sys When matching brand to the ELF binary by notes, try to find a brand 2016-02-04 20:55:49 +00:00
targets Add in DIRDEPS_BUILD support. 2016-01-07 00:19:30 +00:00
tests Use the pidfile support added to ggated(8) in r294973 to ensure that the 2016-02-01 06:27:59 +00:00
tools Preliminary EFI support. Based, in part, on patches from Andy Turner. 2016-01-30 07:00:36 +00:00
usr.bin Increase max allowed backlog for listen sockets 2016-02-02 05:57:59 +00:00
usr.sbin Add an additional, libucl-based configuration file parser to ctld. 2016-02-03 15:45:13 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint phabricator related changes: 2015-04-20 20:33:22 +00:00
COPYRIGHT Bump copyright year. 2015-12-31 11:21:45 +00:00
LOCKS
MAINTAINERS Add interests/maintainerships + notes 2015-12-28 19:29:05 +00:00
Makefile Add order for installworld/distribution. 2016-02-02 20:50:06 +00:00
Makefile.inc1 Deduplicate distrib-dirs logic from r289086 in distribution. 2016-02-03 20:24:21 +00:00
ObsoleteFiles.inc Remove leading slashes added to ObsoleteFiles.inc in r294113. 2016-01-17 00:52:28 +00:00
README Import OpenSSL 1.0.2f. 2016-01-28 18:41:59 +00:00
UPDATING Add a sysctl to allow ZFS pools backed by zvols 2016-01-29 17:08:26 +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