FreeBSD src
Go to file
Martin Matuska 8d87b396f8 Import changes from OpenSolaris that provide
- better ACL caching and speedup of ACL permission checks
- faster handling of stat()
- lowered mutex contention in the read/writer lock (rrwlock)
- several related bugfixes

Detailed information (OpenSolaris onnv changesets and Bug IDs):

9749:105f407a2680
6802734	Support for Access Based Enumeration (not used on FreeBSD)
6844861	inconsistent xattr readdir behavior with too-small buffer

9866:ddc5f1d8eb4e
6848431	zfs with rstchown=0 or file_chown_self privilege allows user to "take" ownership

9981:b4907297e740
6775100	stat() performance on files on zfs should be improved
6827779	rrwlock is overly protective of its counters

10143:d2d432dfe597
6857433	memory leaks found at: zfs_acl_alloc/zfs_acl_node_alloc
6860318	truncate() on zfsroot succeeds when file has a component of its path set without access permission

10232:f37b85f7e03e
6865875	zfs sometimes incorrectly giving search access to a dir

10250:b179ceb34b62
6867395	zpool_upgrade_007_pos testcase panic'd with BAD TRAP: type=e (#pf Page fault)

10269:2788675568fd
6868276	zfs_rezget() can be hazardous when znode has a cached ACL

10295:f7a18a1e9610
6870564	panic in zfs_getsecattr

Approved by:	delphij (mentor)
Obtained from:	OpenSolaris (multiple Bug IDs)
MFC after:	2 weeks
2010-08-28 09:24:11 +00:00
bin Fix an off-by-one error where we try to split a path name that's 2010-08-27 08:54:40 +00:00
cddl Update ZFS metaslab code from OpenSolaris. 2010-08-28 08:59:55 +00:00
contrib Mark __DTOR_LIST__, __EH_FRAME_BEGIN__ and __CTOR_END__ as used to avoid 2010-08-26 13:04:16 +00:00
crypto More commas 2010-06-01 22:46:57 +00:00
etc o Correct typo. 2010-08-25 08:37:18 +00:00
games "whereis netscape" gives empty output for quite a long time already. 2010-08-09 09:26:17 +00:00
gnu Create a checklist and call one of the *printw() functions from the 2010-08-24 06:30:46 +00:00
include MFtbemd: 2010-08-23 22:24:11 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib Do not call __pthread_cxa_finalize with invalid struct dl_phdr_info. 2010-08-27 19:57:17 +00:00
libexec Make RTLD work on powerpc64 again. If there is a sub-directory named 2010-08-24 23:19:14 +00:00
release Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c: 2010-08-08 16:55:27 +00:00
rescue MFtbemd: 2010-08-23 22:24:11 +00:00
sbin When SIGTERM or SIGINT is received, terminate worker processes. 2010-08-27 21:28:02 +00:00
secure MFtbemd: 2010-08-23 22:24:11 +00:00
share - Regen after adding WITH_BSD_GREP and removing WITH_GNU_GREP 2010-08-25 09:48:21 +00:00
sys Import changes from OpenSolaris that provide 2010-08-28 09:24:11 +00:00
tools - Change default grep back to GNU version. BSD grep can be built with the 2010-08-23 10:04:26 +00:00
usr.bin Add one more new memory day for Russian Federation: the end of Second World War. 2010-08-25 18:11:01 +00:00
usr.sbin Make sure TARGET_ABI is defined. TARGET_ABI will die a horrible death 2010-08-26 15:49:52 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS
MAINTAINERS Add a comment to MAINTAINERS indicating that sbin/routed is in fact 2010-04-10 12:29:09 +00:00
Makefile Connect FDT infrastructure to the build system. 2010-06-13 13:02:43 +00:00
Makefile.inc1 The order was correct before. I'd talked to Nathan about this before, 2010-08-24 16:29:09 +00:00
Makefile.mips Guard against TARGET_ABI being undefined (TARGET_ABI will go away soon) 2010-08-26 14:54:12 +00:00
ObsoleteFiles.inc Tie up some loose ends r88509 left behind: 2010-08-15 21:25:52 +00:00
README Vendor import of OpenSSH 5.5p1 2010-04-28 08:37:00 +00:00
UPDATING Mention the removal of acpi_aiboost. 2010-07-25 18:32:59 +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, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
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, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
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 sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

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.

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