freebsd with flexible iflib nic queues
Go to file
Brian Feldman 42ebfbf227 Modify ktrace's general I/O tracing, ktrgenio(), to use a struct uio *
instead of a struct iovec * array and int len.  Get rid of stupidly trying
to allocate all of the memory and copyin()ing the entire iovec[], and
instead just do the proper VOP_WRITE() in ktrwrite() using a copy of
the struct uio that the syscall originally used.

This solves the DoS which could easily be performed; to work around the
DoS, one could also remove "options KTRACE" from the kernel.  This is
a very strong MFC candidate for 4.1.

Found by:	art@OpenBSD.org
2000-07-02 08:08:09 +00:00
bin Various cleanups are made to reduce warnings and make code prettier :) 2000-07-01 05:36:25 +00:00
contrib Change $FreeBSD$ placement. 2000-06-26 23:03:37 +00:00
crypto So /this/ is what has made OpenSSH's SSHv2 support never work right! 2000-06-27 21:16:06 +00:00
etc Update cons* entries from termcap 2000-06-30 14:01:49 +00:00
games add a real prototype for printit() 2000-06-30 03:17:42 +00:00
gnu Fix manpath for new perl 2000-07-02 03:17:31 +00:00
include Add URI encoding to the vis/unvis routines courtesy of VIS_HTTPSTYLE. 2000-07-01 15:55:49 +00:00
kerberos5 Properly separate the K5-only buld from K4. 2000-03-23 14:56:47 +00:00
kerberosIV Remove the last vestiges of libRSAglue now that it's an empty stub. 2000-03-11 22:34:10 +00:00
lib Style fixes. 2000-07-01 17:49:34 +00:00
libexec Only punctuation is an allowed argument type for open-close macros 2000-06-30 06:30:53 +00:00
release - Build modules with world so that modules are back in the bin dist. 2000-07-01 21:48:05 +00:00
sbin Print the correct speed when speed is less than 1MB/s. 2000-07-01 21:28:49 +00:00
secure MFI. This is a documentation-only, diffreducing patch, that if 2000-06-24 06:50:58 +00:00
share Use consistent markup for literals and quoted metasyntactic variables. 2000-06-30 15:59:48 +00:00
sys Modify ktrace's general I/O tracing, ktrgenio(), to use a struct uio * 2000-07-02 08:08:09 +00:00
tools Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
usr.bin fix fd leak by close(fd) at end of loop. 2000-07-02 03:34:08 +00:00
usr.sbin Call login_close() to prevent parent from memory leaking in some 2000-07-02 04:15:15 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile We have a new world order in libraries. 2000-02-24 23:03:16 +00:00
Makefile.inc1 Rearrange Perl's build priority; it needs to get made earlier. 2000-06-25 15:02:18 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
UPDATING Note des' libfetch/fetch changes. 2000-06-30 17:19:07 +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 and the contents of /etc.  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 with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/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 LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


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

contrib		Packages contributed by 3rd parties.

crypto		Export controlled 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.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

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/handbook/synching.html