FreeBSD src
Go to file
Warner Losh 3d1783b6c8 MFC r203710:
When you have multiple addresses on the same network on different
  interfaces (such as when you are part of a carp pool), and you run
  rpcbind -h to restrict which interfaces have rpc services, rpcbind can
  none-the-less return addresses that aren't in the -h list.  This patch
  enforces the rule that when you specify -h on the command line, then
  services returned from rpcbind must be to one of the addresses listed
  in -h, or be a loopback address (since localhost is implicit when
  running -h).

  The root cause of this is the assumption in addrmerge that there can
  be only one interface that matches a given network IP address.  This
  turns out not to be the case.  To retain historical behavior, I didn't
  try to fix the routine to prefer the address that the request came
  into, since I didn't know the side effects that might cause in the
  normal case.  My quick analysis suggests that it wouldn't be a
  problem, but since this code is tricky I opted for the more
  conservative patch of only restricting the reply when -h is in effect.

  Hence, this change will have no effect when you are running rpcbind
  without -h.

  Reviewed by:	alfred@
  Sponsored by:	iX Systems
  MFC after:	2 weeks
2010-04-13 00:48:54 +00:00
bin MFC r204755: 2010-03-19 10:25:59 +00:00
cddl Merge r205659: 2010-04-06 21:39:18 +00:00
contrib MFC r205702: 2010-03-29 18:24:08 +00:00
crypto MFC r201444: 2010-01-12 07:33:33 +00:00
etc MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375: 2010-04-07 19:04:36 +00:00
games MFC r203760: Improve time precision for grdc(6): 2010-03-12 00:51:13 +00:00
gnu MFC r205702: 2010-03-29 18:24:08 +00:00
include MFC r205606 2010-03-31 13:51:31 +00:00
kerberos5 Merge r201919 to stable/8: 2010-02-13 17:41:22 +00:00
lib MFC r206178: ibc/db/hash: cap auto-tuned block size 2010-04-12 21:12:03 +00:00
libexec MFC r205656: 2010-04-01 00:38:38 +00:00
release Merge r204044: 2010-04-06 17:57:27 +00:00
rescue Add the "vnet" and "-vnet" options, to allow moving interfaces between 2009-06-24 18:21:37 +00:00
sbin MFC r206266: Set net.inet6.ip6.fw.enable as well. 2010-04-11 15:17:52 +00:00
secure MFC r201210: 2010-04-06 10:32:26 +00:00
share MFC r206102,206103,206175,206176: add example indent.pro file 2010-04-12 21:18:58 +00:00
sys MFC r206128: ffs_mount: remove redundant assignment of to devvp.v_bufobj 2010-04-12 21:07:58 +00:00
tools MFC: r197542: 2010-04-01 02:03:28 +00:00
usr.bin MFC r205989: indent(1): new option, -ta, to treat all *_t identifiers as types 2010-04-12 21:04:35 +00:00
usr.sbin MFC r203710: 2010-04-13 00:48:54 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:49 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS - pkg_install is maintained by portmgr. 2009-07-06 11:46:18 +00:00
Makefile MFC r205290: 2010-03-29 01:24:20 +00:00
Makefile.inc1 Merge r200413 and r202755 from head to stable/8: 2010-02-21 11:22:01 +00:00
ObsoleteFiles.inc MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375: 2010-04-07 19:04:36 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375: 2010-04-07 19:04:36 +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