1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
Commit Graph

14743 Commits

Author SHA1 Message Date
Garrett Wollman
2c37256e5a Modify the kernel to use the new pr_usrreqs interface rather than the old
pr_usrreq mechanism which was poorly designed and error-prone.  This
commit renames pr_usrreq to pr_ousrreq so that old code which depended on it
would break in an obvious manner.  This commit also implements the new
interface for TCP, although the old function is left as an example
(#ifdef'ed out).  This commit ALSO fixes a longstanding bug in the
TCP timer processing (introduced by davidg on 1995/04/12) which caused
timer processing on a TCB to always stop after a single timer had
expired (because it misinterpreted the return value from tcp_usrreq()
to indicate that the TCB had been deleted).  Finally, some code
related to polling has been deleted from if.c because it is not
relevant t -current and doesn't look at all like my current code.
1996-07-11 16:32:50 +00:00
Nate Williams
2bbddfe5ae Added Johann Tonsing <jtonsing@mikom.csir.co.za> for his PCCARD
submission.
1996-07-11 15:08:41 +00:00
Nate Williams
fd87c5bd16 In num_tok, allow the user to specify '0' as plain '0' instead of
forcing them to use '00', and/or '0x0'.

Submitted by:	Johann Tonsing <jtonsing@mikom.csir.co.za>
1996-07-11 15:04:43 +00:00
Jordan K. Hubbard
0375cce8bc Merge. 1996-07-11 11:18:45 +00:00
Jordan K. Hubbard
1cca289947 Fix a couple of whoopers which somehow went undetected until now. 1996-07-11 11:15:28 +00:00
Nate Williams
9e35b336a3 Added my name as a co-ordinator for the APM/PCCARD stuff, and updated
the entrys to reflect more current reality.
1996-07-11 06:08:52 +00:00
Mike Pritchard
d3df5ce12e Another man page with a messed up .Dd line. 1996-07-11 02:57:03 +00:00
Mike Pritchard
dcd937eeb0 Use the correct format for the ".Dd" (man page date) line. 1996-07-11 02:47:00 +00:00
Mike Pritchard
b805452cc8 A *QUICK* pass through this man page to make it conform to mdoc
standards and to clean up some of the English.  The job is
nowhere complete.

This man page would be a good project for someone who knows
something about the firewall software, and would like to
contribute to the documentation effort.  Many of the things
in this man page are out of date and do not reflect reality.
1996-07-11 02:37:59 +00:00
Mike Pritchard
09b4b08649 Fix some spelling errors. 1996-07-11 02:08:31 +00:00
Mike Pritchard
adcdb5c26b Add divert.4 to the list of man pages that are installed. 1996-07-11 01:52:46 +00:00
Mike Pritchard
836760b9f4 Fix a spelling error. 1996-07-11 01:20:45 +00:00
Mike Pritchard
7ed2691105 Add a man page for the "aic" deive (Adaptec AIC 6260/6360 SCSI controller
chips).

Obtained from: NetBSD
1996-07-11 01:11:12 +00:00
Mike Pritchard
69bf862ef8 Add a man page for the "wt" device (Archive/Wangtec QIC-02 & QIC-36
interface boards).

Submitted by:	NetBSD
1996-07-11 00:37:13 +00:00
Mike Pritchard
ae828f7be5 Minor style fixup. 1996-07-11 00:31:57 +00:00
Mike Pritchard
0ee08fdda0 Add a man page for the "ncr" device (NCR 53C810 & 5C825 SCSI controllers).
Obtained from: NetBSD
1996-07-11 00:30:51 +00:00
Mike Pritchard
f1bf0d576f Add a man page for the "ep" device (3com 3c5x9 ethernet card).
Obtained from: NetBSD
1996-07-11 00:22:46 +00:00
Mike Pritchard
e165a77b17 Add a man page for the "el" device (3com 3c501 ethernet card).
Obtained from: NetBSD
1996-07-11 00:19:22 +00:00
Mike Pritchard
61ab736492 Add a man page for the "eg" device (3com 3c505).
Obtained from: NetBSD
1996-07-11 00:16:46 +00:00
Mike Pritchard
39d5249727 Fix a minor formatting problem. 1996-07-10 23:54:15 +00:00
Mike Pritchard
834c252e5c Teach the mdoc .Os and .Fx macros about the FreeBSD 2.1.5 release. 1996-07-10 23:53:13 +00:00
Wolfram Schneider
8583318ed8 import removeuser from Guy Helmer
see file TODO for known problems
1996-07-10 22:29:30 +00:00
Julian Elischer
93e0e11657 Adding changes to ipfw and the kernel to support ip packet diversion..
This stuff should not be too destructive if the IPDIVERT is not compiled in..
 be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
Nate Williams
265c33c027 Now that we have a manpage, don't have the 'clean' target be a NO-OP. 1996-07-10 18:36:41 +00:00
James Raynard
c6e5a0b23b Added an entry for ``mail loops back to myself''.
Suggested by: Gary Palmer
1996-07-10 17:09:20 +00:00
Nate Williams
6bbd6071a7 Added dave edmondson <davided@sco.com> for his work on the APM stuff. 1996-07-10 15:13:12 +00:00
Nate Williams
6774cdb846 Whee. Fix two bugs which ended up cancelling each other out.
apm_setup.s was storing apm_cs16_base and apm_cs32_base addresses in
each others slots, and apm.c was reversing the result so the bugs
cancelled out, but the code looked wrong.

No functional differences unfortunately.

Submitted by:	dave edmondson <davided@sco.com>
1996-07-10 15:09:48 +00:00
Jordan K. Hubbard
a0e34b44a2 Better error checking in helpfile expander.
Tart up some of the output a little.
1996-07-10 11:38:29 +00:00
Satoshi Asami
f3202ab687 Add Andrey Zakhvatov (andy@cgu.chel.su&gt) for cal port, and
Dave Bodenstab (imdave@synet.net) for xpl port.
1996-07-10 10:31:28 +00:00
Jordan K. Hubbard
8d8c0ae3e6 Document new GENERIC 1996-07-10 09:41:18 +00:00
Mark Murray
e90e57c0ce libgcc.so.261.0 is moving to the compat20 dist.
OKed by: jkh
1996-07-10 06:36:33 +00:00
Jordan K. Hubbard
04577962b1 Put samba configuration in the right place. 1996-07-10 04:52:27 +00:00
Jordan K. Hubbard
9f5c1d518e Clean out some historical cruft. 1996-07-10 03:35:59 +00:00
Bill Fenner
1db1fffa03 Disallow host routes that point to themselves. These routes serve no
purpose, other than to get in the way of the ARP table and cause
"can't allocate llinfo" errors.

This change may cause gated or routed to start complaining when adding
such routes.  If so, these programs will need to be fixed to not try
to add these routes.

Reviewed by:	wollman
1996-07-10 01:34:36 +00:00
Nate Williams
dd30d06c45 Add sm_inter.h to DPSRCS so that make depend is not required to build
this.
1996-07-09 22:40:39 +00:00
James Raynard
b7903b6ac0 * Move questions re mounting CDROMs together
(suggested by Darryl Okahata).

* Add explanation of what virtual consoles are
  (suggested by Francisco Reyes)

* Minor formatting change to fix docs/1378 (could some kind person
  close this for me? Thanks!)

* Removed references to obsolete /usr/share/FAQ/Text directory.

* Added details of UK supplier of FreeBSD CDs.

* Made the consequences of running ``make world'' more explicit.

* More cleaning and tidying up.
1996-07-09 22:37:38 +00:00
Nate Williams
bce2d3379e Functionality for IPFIREWALL_VERBOSE logging:
- State when we've reached the limit on a particular rule in the kernel logfile
- State when a rule or all rules have been zero'd.

This gives a log of all actions that occur w/regard to the firewall
occurances, and can explain why a particular break-in attempt might not
get logged due to the limit being reached.

Reviewed by:	alex
1996-07-09 20:49:38 +00:00
Garrett Wollman
1e4ad9ce28 This is a proposal-in-code for a substantial modification of the way
the high kernel calls into a protocol stack to perform requests on the
user's behalf.  We replace the pr_usrreq() entry in struct protosw with a
pointer to a structure containing pointers to functions which implement
the various reuqests; each function is declared with the correct type and
number of arguments.  (This is unlike the current scheme in which a quarter
of the requests take arguments of type other than (struct mbuf *) and the
difference is papered over with casts.)  There are a few benefits to this
new scheme:

1) Arguments are passed with their correct types, and null-pointer dummies
   are no longer necessary.

2) There should be slightly better caching effects from eliminating
   the prximity to extraneous code and th switch in pr_usrreq().

3) It becomes much easier to change the types of the arguments to something
   other than `struct mbuf *' (e.g.,pushing the work of sosend() into
   the protocol as advocated by Van Jacobson).

There is one principal drawback: existing protocol stacks need to
be modified.  This is alleviated by compatibility code in
uipc_socket2.c and uipc_domain.c which emulates the new interface
in terms of the old and vice versa.

This idea is not original to me.  I  read about what Jacobson did
in one of his papers and have tried to implement  the first steps
towards something like that here.  Much work remains to be done.
1996-07-09 19:12:53 +00:00
Julian Elischer
144b35344c changes to allow route to manipulate appletalk routes. 1996-07-09 19:02:28 +00:00
Andrey A. Chernov
3d1b21c689 Log not exited signal only, but the fact that core dumped (or not) too 1996-07-09 18:12:37 +00:00
Andrey A. Chernov
af83607cd1 Dump core on SIGSEGV instead of silent exiting. I saw SIGSEGV few times,
but they are VERY rare to tracking down this bug. I hope core
helps to track it down.
1996-07-09 17:40:36 +00:00
Jordan K. Hubbard
7e2ea12650 Try to prevent the status line from jumping around quite so much. 1996-07-09 16:57:14 +00:00
Jordan K. Hubbard
ae33fac50c Some release changes I've had to make in dealing with the floppy space
crisis.
1996-07-09 16:52:53 +00:00
Garrett Wollman
5c17ec631e Quiet a couple of -Wunused warnings. 1996-07-09 16:51:18 +00:00
Jordan K. Hubbard
2126fabccf Take compat dists out of the canned set - they seem to do more harm
than good, actually, and those who actually need them can select them.
1996-07-09 16:29:00 +00:00
Andrey A. Chernov
149fed7719 Add netatalk symlink, ifconfig not compiled in other case 1996-07-09 15:48:20 +00:00
Andrey A. Chernov
21045c6802 Restore my backed out changes (writting cats) because they was
not reviewed by pst in claimed period (1 week) and over 3 weeks passed.
CONSTRUCTIVE complaints welcome!
1996-07-09 15:37:26 +00:00
Jordan K. Hubbard
758aa0bcd0 Update docs to match. 1996-07-09 14:34:58 +00:00
Jordan K. Hubbard
8658743f95 A number of improvements in the way statistics are printed, add a "chroot"
option for installing distributions and/or packages to somewhere other than /,
say for a case where you're installing to an external disk on some other
machine's behalf.  More miscellaneous fixes to various problems I stumbled
across while adding this stuff.
1996-07-09 14:28:22 +00:00
Jordan K. Hubbard
aa6e3d23d0 Cast lseek arguments appropriately.
Submitted-By: "Frank ten Wolde" <franky@pinewood.nl>
1996-07-09 12:17:46 +00:00