FreeBSD src
Go to file
Warner Losh 633f93bee5 Fix crashes on card eject for pccard modems. We check for NULL when
we get the com address.  If so, we go ahead and return.  Bruce thinks
there's a bug in the pccard layer that it terminates devices with
extreme prejustice rather than letting them deside for themselves when
to terminate (and he's likely right).  This fix doesn't change that,
but instead works around it by checking for NULL pointers at more
places than before.

The detach routine still calls functions at interrupt level that
aren't reentrant.  In theory this could cause a problem, but none
showed up in practice.  Future versions should correct this problem,
likely by making the detach process a thread/process at the pccard
level.  NEWCARD will do this, and the current pccard layer should
likely be modified to that as well, should it live long enough.

A few style nits of the same form that were in my original patch sent
off to bde were also fixed as part of this process.  Mostly use of
!ptr and return ENOPARENS.

This should prevent a crash on suspend with an active ppp link as
well, but that wasn't tested.

Reviewed by:	bde
Approved by:	jkh
2000-03-11 20:22:09 +00:00
bin Correct confusing description of the -r option. 2000-03-07 20:54:17 +00:00
contrib Merge conflicts. 2000-03-09 10:11:08 +00:00
crypto - typos 2000-03-10 11:48:49 +00:00
etc Prevent multicast packets from being sent over stf0 interface, 2000-03-11 20:10:39 +00:00
games Fix typo. 2000-03-09 22:53:13 +00:00
gnu Considerable upgrade to the way perl links to shared objects. This 2000-03-08 15:45:14 +00:00
include Do not conditionalize function prototype definition for functions we 2000-02-20 07:40:25 +00:00
kerberos5 Point SDIR at ${.CURDIR}/../secure so that ssh and sshd can be found when 2000-03-03 20:37:15 +00:00
kerberosIV Use libcrypto in place of libdes. 2000-02-24 20:57:04 +00:00
lib Fix fd leak in libdisk's Disk_Names() 2000-03-10 22:54:04 +00:00
libexec Use libcrypto instead of libdes. 2000-02-24 21:18:08 +00:00
release Note FPU exceptions default change 2000-03-11 18:31:21 +00:00
sbin -e -> -I change. 2000-03-10 22:03:00 +00:00
secure Make LOGIN_CAP work properly. 2000-03-09 14:54:00 +00:00
share Correct man page title. 2000-03-10 20:38:24 +00:00
sys Fix crashes on card eject for pccard modems. We check for NULL when 2000-03-11 20:22:09 +00:00
tools Correct grammar in the synoptic comment. 2000-03-03 09:25:00 +00:00
usr.bin Add a flag to the usage display. 2000-03-11 20:14:08 +00:00
usr.sbin Make inetd compilable without INET6. 2000-03-11 11:28:08 +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 Buildworld fixes for NO_OPENSSH and NO_OPENSSL 2000-03-09 06:29:05 +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 Add blurb about perl modules needing recompiling. 2000-03-09 07:34:46 +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