FreeBSD src
Go to file
Marcel Moolenaar 652f47436e o Introduce private types for use in linux syscalls for two reasons:
1. establish type independence for ease in porting and,
   2. provide a visual queue as to which syscalls have proper
      prototypes to further cleanup the i386/alpha split.
   Linuxulator types are prefixed by 'l_'. void and char have not
   been "virtualized".

o  Provide dummy functions for all unimplemented syscalls, except for
   the osf1 syscalls. This can only be done if the osfulator
   implements at least all syscalls used by the linuxulator. Remove
   dummy functions for syscalls that are now truely unimplemented.

o  Set the syscall namespace as follows: Mark a syscall as OSF1 if
   the Linux kernel has prefixed the syscall with 'osf_' and has
   provided special implementations for it. Otherwise mark the
   syscall as LINUX by default. Some of the LINUX syscalls remain
   marked as BSD or POSIX.

o  Rename syscalls so they match the names used in the Linux kernel.
   Also, provide more accurate prototypes. This generally improves
   cross-referencing and reduces head-scratching.

o  Fix the (g|s)etresuid syscalls. They mapped to (g|s)etresgid.

o  Sanitize the the shm*, sem* and msg* syscalls. Their prototypes
   were dictated by the way these syscalls were used in the i386
   code. That has been fixed. NOTE: linux_semctl now passes it's
   'arg' parameter by value and not by reference.

o  Fix prototype of linux_utime. It takes a struct timeval, not a
   struct utimbuf.

o  Fix the linux_sysfs syscall. It's index is not 255, but 254.

o  Implement the following syscalls:
     linux_sysctl

o  Add the following new syscalls:
     (g|s)etresgid
     linux_pivot_root (dummy)
     linux_mincore (dummy)
     linux_pciconfig_iobase (dummy)
     linux_getdents64
2001-09-08 18:49:31 +00:00
bin Enable BSD style color ls support. 2001-09-05 22:56:58 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r83098, 2001-09-05 17:49:32 +00:00
crypto fix renamed options in some of the code that was #ifdef AFS 2001-09-04 13:27:04 +00:00
etc Allow group network to read ppp.log & slip.log. 2001-09-03 11:35:17 +00:00
games list' should be an extern'd char **', not a local `char *' which we 2001-09-03 14:19:46 +00:00
gnu Fix the upgrade path from 4.1 and earlier. 2001-09-06 22:59:31 +00:00
include Sort FILES. 2001-09-06 07:27:03 +00:00
kerberos5 style fixes (by the way of bde) 2001-08-27 13:25:43 +00:00
kerberosIV Diff reduce all the crypto telnet Makefiles. 2001-08-20 12:32:45 +00:00
lib 1) If __SAPP stream is not seekable, remove __SAPP flag on first call instead 2001-09-07 17:16:02 +00:00
libexec Do the best we can with respect to fixing command-line option disorder 2001-09-04 09:22:21 +00:00
release Add a bit of background to the ACPI release note. 2001-09-07 15:30:18 +00:00
sbin * Switch from doing compress(1)ed crashdumps with the -z flag to using 2001-09-06 09:30:09 +00:00
secure Fixed world breakage in rev.1.13. -lpam must never be used directly since 2001-08-29 07:07:48 +00:00
share Driver supports CS4280 rather than CS428x. 2001-09-07 16:44:13 +00:00
sys o Introduce private types for use in linux syscalls for two reasons: 2001-09-08 18:49:31 +00:00
tools ISO_ -> ISO 2001-06-11 01:29:40 +00:00
usr.bin If the local file does not exist, or is a regular file, and we're not trying 2001-09-08 15:17:15 +00:00
usr.sbin Fixes problem with pkg_add -r when adding multiple pkgs. 2001-09-07 22:32:37 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 Fixed world breakage. mkdir was not copied to ${INSTALLTMP}, but it is 2001-08-29 09:11:03 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Use Brian Sommers' named entry 2001-08-24 21:43:35 +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
``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/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 have to build
world before.  More information is available in the handbook.

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 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.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

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