Commit Graph

7769 Commits

Author SHA1 Message Date
Poul-Henning Kamp
21ee4ab688 Add inline functions {be,le}{16,32,64}{enc,dec}() for encoding decoding
into byte strings of unknown alignment.
2003-04-03 08:58:04 +00:00
Matthew N. Dodd
2c56e246fa Back out support for RFC3514.
RFC3514 poses an unacceptale risk to compliant systems.
2003-04-02 20:14:44 +00:00
Matthew N. Dodd
09139a4537 Implement support for RFC 3514 (The Security Flag in the IPv4 Header).
(See: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt)

This fulfills the host requirements for userland support by
way of the setsockopt() IP_EVIL_INTENT message.

There are three sysctl tunables provided to govern system behavior.

	net.inet.ip.rfc3514:

		Enables support for rfc3514.  As this is an
		Informational RFC and support is not yet widespread
		this option is disabled by default.

	net.inet.ip.hear_no_evil

		 If set the host will discard all received evil packets.

	net.inet.ip.speak_no_evil

		If set the host will discard all transmitted evil packets.

The IP statistics counter 'ips_evil' (available via 'netstat') provides
information on the number of 'evil' packets recieved.

For reference, the '-E' option to 'ping' has been provided to demonstrate
and test the implementation.
2003-04-01 08:21:44 +00:00
Ruslan Ermilov
effd19ed24 Enable cpp(1) warnings in system headers. GCC is oriented on
glibc which is externally maintained, so GCC ships with these
warnings turned off by default.  This is also consistent with
the src/contrib/gcc/c-lex.c,v 1.2 change.
2003-03-31 13:10:51 +00:00
Chris Costello
a508b2a6c1 Document the new mac_portacl(4) policy.
Sponsored by:   DARPA, Network Associates Laboratories
Obtained from:  TrustedBSD Project
2003-03-31 08:10:10 +00:00
Chris Costello
0c6e926f49 Document the new mac_portacl(4) policy.
Sponsored by:	DARPA, Network Associates Laboratories
Obtained from:	TrustedBSD Project
2003-03-31 08:08:59 +00:00
Warner Losh
4e6e1b8646 rid is not a pointer to int, but rather just a plain int. 2003-03-30 00:30:29 +00:00
Warner Losh
d082b08904 Document what bus_set_resource(9) does. It is used by bus drivers to
bind resources that client drivers later access.
2003-03-30 00:25:23 +00:00
Kris Kennaway
6a897e3f7e Correct a typo in previous commit 2003-03-29 10:12:15 +00:00
Warner Losh
f8fb8dbd70 Note: this is OLDCARD, and tweak comment about clpd 6729/30. 2003-03-29 05:44:49 +00:00
Warner Losh
ec33f2d50f Add a new man page for bus_activate_resource and
bus_deactivate_resource.  It could use some improvement, and others
are welcomed to do so :-)
2003-03-29 05:16:15 +00:00
Warner Losh
1aa895cd3f Clearify what happens with the cookiep in various cases. 2003-03-29 05:11:14 +00:00
Warner Losh
c4ac3bc51d Fix some typos:
race->rare
rman_activate_resource -> bus_activate_resource

Add xref to bus_activate_resource
Minor markup changes for the start/end/count parameters.
2003-03-29 05:09:15 +00:00
David E. O'Brien
dde8112b23 Globally use -mieee in /usr/src for Alpha. 2003-03-29 03:14:24 +00:00
David E. O'Brien
44db0c5c9a Reduce "code duplication" for AMD CPU's. 2003-03-29 03:13:19 +00:00
Warner Losh
d1636fcf4e Expound a little bit about the softc, where its size is found and a
caution against emulating legacy softc methods used in the tree.
2003-03-28 07:28:31 +00:00
Warner Losh
78515472cb Remove bogus card.4, and replace it with a link to oldcard.4. ru
pointed this out a while ago, and I'm just now getting back to it.  It
obsoletes one of ru's changes, but since oldcard.4 is so much better,
that doesn't matter.

Submitted by: ru
2003-03-28 07:14:12 +00:00
Warner Losh
9b89e63ce7 Create a man page for bus_child_present(9), a function to see if a
given device is considered accessible by its parent device bus driver
(or its parent, etc).
2003-03-28 07:09:17 +00:00
Takeshi Shibagaki
a94c7d66aa Add an information and fix typo. 2003-03-27 19:33:22 +00:00
Giorgos Keramidas
e40f1e0cb6 Fix typo in the version of the diff that I committed.
Submitted by:	Simon L. Nielsen <simon@nitro.dk>
2003-03-26 17:32:45 +00:00
Giorgos Keramidas
2524b0b29b Document mountd_flags.
PR:		50023
Submitted by:	Simon L.Nielsen <simon@nitro.dk>
2003-03-26 01:39:29 +00:00
Giorgos Keramidas
13301127c8 Update amr(4) to note that LSILogic MegaRAID 320-[1/2] cards work.
PR:		50139
Submitted by:	asmodai
2003-03-26 01:34:23 +00:00
Giorgos Keramidas
743ccf1f36 Add missing Danish (doc/da_*) language doc subdirectory
PR:		docs/50290
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
2003-03-26 01:25:39 +00:00
John Baldwin
e7561407e2 Revert previous commit which accidentally snuck in with some unrelated
changes.

Reported by:	bde
2003-03-25 19:46:55 +00:00
Tom Rhodes
ab199d7ca6 Fix a typo in msmith's email address.
Noticed by:	Jesus R. Camou <jcamou@azstarnet.com>
2003-03-25 18:13:20 +00:00
Paul Saab
b4cb26bfd2 Add some HP cards to the supported list of cards. Also mention
that 1000BaseTX only supports full-duplex.

Submitted by:	John Cagle <john.cagle@hp.com>
2003-03-25 18:08:57 +00:00
Tom Rhodes
7ca75716dc Remove MAKEDEV rot.
PR:		50286, 50285
Submitted by:	Sergey A. Osokin <soa@FreeBSD.org.ru>
2003-03-25 18:08:50 +00:00
John Baldwin
7313b3d87e Remove obsolete at_fork() and at_exit() manpages. Curiously, at_exec()
didn't have a manpage.

Reminded by:	ru
2003-03-25 16:36:47 +00:00
Christian Brueffer
f3dab005a8 Remove reference to MAKEDEV 2003-03-25 15:12:07 +00:00
Giorgos Keramidas
2ff5429d8f Add a tiny manpage to make sure users aren't surprised when they
search for MAKEDEV, now that it's deprecated.
2003-03-25 15:07:01 +00:00
Giorgos Keramidas
f0adacd705 Delete MAKEDEV references
PR:		50284
Submitted by:	Sergey A.Osokin <osa@FreeBSD.org.ru>
2003-03-25 15:01:10 +00:00
Giorgos Keramidas
5eef84809c Delete MAKEDEV references and update the text about /dev/foo control
devices that return the next available device when opened.

PR:		50280, 50281, 50282, 50283
Submitted by:	Sergey A.Osokin <osa@FreeBSD.org.ru>
2003-03-25 14:49:02 +00:00
Giorgos Keramidas
12c63b8e4b Delete MAKEDEV references and add small blurb that points to devfs(5)
and devd(8).

PR:		docs/50278
Submitted by:	Sergey A.Osokin <osa@FreeBSD.org.ru>
2003-03-25 14:35:27 +00:00
Giorgos Keramidas
55be6e6c7f Delete MAKEDEV reference.
PR:		docs/50277
Submitted by:	Sergey A.Osokin <osa@FreeBSD.org.ru>
2003-03-25 14:26:33 +00:00
Giorgos Keramidas
494a5dab55 Delete MAKEDEV traces 2003-03-25 12:09:06 +00:00
Philippe Charnier
9d09157a0f The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
Christian Brueffer
980243565f Remove MAKEDEV.8. MAKEDEV itself has been nuked some time ago.
Approved by:		ceri (mentor), phk
Not objected by:	ru
2003-03-23 19:02:41 +00:00
Ruslan Ermilov
75eb8a4350 Sync types with headers. 2003-03-23 08:23:43 +00:00
David E. O'Brien
919b002617 s/loaded as a module/available as a module/g
Submitted by:	ru
2003-03-23 04:23:10 +00:00
Nate Lawson
f82fb1a862 Clarify the proper bitmask for target mode with another example. 2003-03-23 00:56:20 +00:00
Ruslan Ermilov
7726f76f80 Document the net.inet.icmp branch of the sysctl(3) MIB.
Submitted by:	mdodd
2003-03-22 13:47:28 +00:00
Ruslan Ermilov
e91fabac7b mdoc(7) police: Tidy up the formatting. 2003-03-22 13:43:06 +00:00
Ruslan Ermilov
c6885e2617 Added GEOM library to the bsd.libnames.mk namespace. 2003-03-21 14:31:51 +00:00
Ceri Davies
a6f87194d6 Correct typo in function declaration (s/if_dont/if_done).
PR:		docs/50136
Submitted by:	Scott Mitchell <scott+freebsd@fishballoon.org>
MFC After:	4.8
2003-03-19 22:27:21 +00:00
Crist J. Clark
5d75ba3db9 A new rc-ng script to build linker.hints files with kldxref(8)
automatically at boot time. Associated rc.conf(5) knobs and
documentation are included.
2003-03-17 23:15:53 +00:00
David E. O'Brien
3ea0ca53aa Make PREFETCHDISTFILES the default. Set NO_PREFETCHDISTFILES if you don't
like this.  Also make it easier to issue the distfile fetching on command.
2003-03-16 22:59:00 +00:00
Jeffrey Hsu
01f98321e6 Document the net.inet.tcp.rfc3390 sysctl variable. 2003-03-13 01:44:58 +00:00
Jeffrey Hsu
edcd017d67 Document the net.inet.tcp.rfc3042 sysctl variable. 2003-03-12 20:44:06 +00:00
Ruslan Ermilov
6f63bc577d Record the sudden death of bsd.kern.mk and bsd.sgml.mk. 2003-03-12 14:31:36 +00:00
Sean Chittenden
99c24e2b2c Update sendfile.2 to include a TUNING section that documents the
various tunables that are applicable to sendfile(2).  Update tuning.7
to mention a reference to sendfile.2.

Approved by:	keramida
2003-03-12 09:28:44 +00:00