Commit Graph

19446 Commits

Author SHA1 Message Date
Joerg Wunsch
5fadfc4ce7 The "burn-in" phase has finished: this set of patches seems to run
stable now at a customer's site.

Finally add the ability to syslogd to pipe particular messages through
an arbitrary filtering command.  Idea stolen from IRIX.

This code is courtesy of the interface business GmbH, Dresden.

Comment about whether to also merge this into 2.2 or not, please.

Reviewed by:	(long ago) peter
1997-02-22 12:59:36 +00:00
Peter Wemm
d050e1a8a0 Regenerate to include correct Id string 1997-02-22 12:52:35 +00:00
Peter Wemm
4a0f765fbf Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
Peter Wemm
57ece64fc6 Back out an easy $FreeBSD$ 1997-02-22 11:38:21 +00:00
Peter Wemm
d1b41eefd9 Urk, there were two $FreeBSD$'s in this file... 1997-02-22 11:35:10 +00:00
Peter Wemm
fda8ea94b5 back out an easy $FreeBSD$ (file already left vendor branch) 1997-02-22 11:34:03 +00:00
Peter Wemm
99a60da8f1 Back out an easy $FreeBSD$ (file already left vendor branch) 1997-02-22 10:53:59 +00:00
Peter Wemm
dc92c6d1cb Back out easy $FreeBSD$ (file already left vendor branch) 1997-02-22 10:52:38 +00:00
Peter Wemm
8ac63d3976 Back out some easy $FreeBSD$ changes. These files already left the vendor
branch.
1997-02-22 10:50:16 +00:00
Peter Wemm
6875d25465 Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not
ready for it yet.
1997-02-22 09:48:43 +00:00
Jordan K. Hubbard
b0cd3c3ef2 Clean up a rather incorrectly phrased
set of instructions on lndir usage.
1997-02-22 09:37:19 +00:00
Poul-Henning Kamp
017a5a7f59 Make it possible to substitute INTERFACE when executing commands. 1997-02-22 09:12:36 +00:00
Mike Pritchard
77bf994fe8 Support the installation of character devices via an lkm.
Closes PR# 1716

Submitted by:	jpt@magic.net
1997-02-22 01:20:57 +00:00
Andrey A. Chernov
faad6f1e34 Increase FD_SETSIZE back to 1024, select code fixed now 1997-02-21 23:15:17 +00:00
Garrett Wollman
cf4dae1061 Properly notice error returns from if_allmulti(). 1997-02-21 18:34:58 +00:00
Garrett Wollman
ef53690bb4 Fix potential crash where a user attempts to perform an implied
connect in TCP while sending urgent data.  It is not clear what
purpose is served by doing this, but there's no good reason why it
shouldn't work.

Submitted by:	tjevans@raleigh.ibm.com via wpaul
1997-02-21 16:30:31 +00:00
Nate Williams
5d156f4397 Argh, this time get the parentheses right. This hasn't been a good day for me. 1997-02-21 05:46:57 +00:00
John Polstra
a7204231eb Add a section describing the available CVSup collections. I'm not
wild about the way it looks, but at least the information is there.
1997-02-21 03:43:24 +00:00
Nate Williams
9de5530881 Whoops, make sure we have enough parenthesis.
Pointed out by:	bde
1997-02-21 01:29:32 +00:00
John Polstra
de33f84772 Split the "Obtaining FreeBSD" appendix into four sections, for
CD-ROM, FTP, CTM, and CVSup.  Adjust cross-references accordingly.
Add a list of CVSup mirror sites, and reference it from the CVSup
tutorial.

Also, fix a spelling error in the porting document.
1997-02-21 01:02:46 +00:00
Mike Pritchard
90ac6cd46a #include <string.h> to help silence -Wall. 1997-02-20 23:11:22 +00:00
Ollivier Robert
a14390ccec Security patch from OpenBSD: fixes potential buffer overflow in a static
buffer (so more difficult to exploit but better safe than sorry). Found
by comparing FreeBSD & OpenBSD sources/logs for the auditing process.

Reviewed by:	Warner Losh
Obtained from:	OpenBSD
1997-02-20 22:16:39 +00:00
Garrett Wollman
7e05e70c2c Fix the parameters of a call to in_setsockaddr(). 1997-02-20 18:39:33 +00:00
Jordan K. Hubbard
46da72bdf7 Change handling of bad signals; there are reasons why this is actually
not such a great idea.
1997-02-20 16:29:12 +00:00
John-Mark Gurney
f79219c3ea added man page for /dev/sysmouse. (and activate it)
plus add appropriate xrefs now that we have {cd,sd,st}.9
1997-02-20 15:14:59 +00:00
Bruce Evans
2e6184e901 Split up the Bessel function wrapper files so that most wrapper functions
are in their own file.
1997-02-20 13:35:15 +00:00
Bruce Evans
5ddc00e218 Removed misplaced duplicate of comment about implementation details. 1997-02-20 13:14:06 +00:00
Bruce Evans
487ddb8fa4 Compute (1 - x^2) as ((1 - x) * (1 + x)) instead of as (1 - x * x) to
avoid easily avoidable loss of precision when |x| is nearly 1.

Extended (64-bit) precision only moves the meaning of "nearly" here.

This probably could be done better by splitting up the range into
|x| <= 0.5 and |x| > 0.5 like the C version.  However, ucbtest
does't report any errors in this version.  Perhaps the C version
should be used anyway.  It's only 25% slower now on a P5, provided
the C version of sqrt() isn't used, and the C version could be
optimized better.

Errors checked by:	ucbtest
1997-02-20 12:37:49 +00:00
Bruce Evans
d5e4d7e154 Improved select():
- avoid malloc() if the number of fds is small.
- pack the bits better so that `small' is quite large.
- don't waste time generating zero bits for null fd_set pointers or
  scanning these bits.

Possibly improved select():
- free malloc()ed storage before returning.  This is simpler and I
  think huge select()s aren't worth optimizing since they are rare,
  relative gain would be small and there would be tiny costs for all
  selects().

Reviewed by:	ache (first version by him too)
1997-02-20 11:51:52 +00:00
Daniel O'Callaghan
589dde865b Typogrammatical error 'with' -> 'when'.
This could be put into 2.2.
1997-02-20 06:50:31 +00:00
Hiroyuki Hanai
72b225c118 Update the ``Original revision:'' fields and fix the typo of translation date
in install.sgml
1997-02-20 04:00:10 +00:00
Eric L. Hernes
dcda1aeb2f fix an `off by one' accounting error.
This fixes the sysinstall core-dump!
Submitted by:	HOSOBUCHI Noriyuki <hoso@buchi.tama.or.jp>
1997-02-20 03:22:30 +00:00
Eivind Eklund
c52e467e03 Remove buffer overflow and tempfile race, remove <sys/time.h> hack (and
need for it), change definition of setbit() macro and friends to be
compatible with <sys/param.h>.
The bugs were discovered and fixed as a result of the FreeBSD code audit.

Submitted by:	Aaron Bornstein <aaronb@j51.com>, Mark Huizer <xaa@stack.nl>
1997-02-20 03:04:54 +00:00
John Fieber
2745e1ab7e Fix the rawrite.exe URL. 1997-02-19 21:57:02 +00:00
John Fieber
9893efffef Fix the url for rawrite.exe. 1997-02-19 21:54:44 +00:00
Garrett Wollman
b1396a353b Make the operation of sonewconn1() a bit clearer by calling
pru_attach() before putting the new connection on the
connection queue.
1997-02-19 19:15:43 +00:00
Jordan K. Hubbard
0495a9d2d7 ARGH!! Fix obligatory 12th hour fumble. :-( 1997-02-19 16:57:30 +00:00
John Fieber
15c6dfe8e6 Latest release is 2.1.7.
Someone who knows Japanese ought to update the date.
1997-02-19 16:44:22 +00:00
John Fieber
d3a39bfb6e Latest release is 2.1.7. 1997-02-19 16:41:47 +00:00
KATO Takenori
7fc3f77fbc Moved nqnfs_vop_lease_check() inside #ifndef NFS_NOSERVER.
So, NFS_NOSERVER kernel can be compiled again.
1997-02-19 14:30:41 +00:00
Darren Reed
f1743588c7 change IP Filter hooks to match new 3.1.8 patches for FreeBSD 1997-02-19 14:02:27 +00:00
KATO Takenori
655c4c9dab Synchronize with sys/i386/isa/wd.c revision 1.124. 1997-02-19 13:19:08 +00:00
KATO Takenori
b18cdf97dd Synchronize with sys/i386/boot/biosboot/boot.h revision 1.16. 1997-02-19 13:06:03 +00:00
David Greenman
33a20f8291 Protect from stack overrun via /etc/ttys, which could possibly allow a
root user to change the securelevel. Pointed out by Thomas H. Ptacek
<tqbf@enteract.com>.
1997-02-19 08:04:58 +00:00
Mike Pritchard
c8da9b756d Use the .Bx macro in the HISTORY section. 1997-02-19 07:14:30 +00:00
Satoshi Asami
1e0a4ffa26 Set RELDATE=300000. With the parallel version development, it has
become impractical to distinguish versions using "real" release dates, so
might as well make it correspond to real version number (-current is
on the 3.0 branch) so at least the feature increments are guaranteed to
be linear.

Silently approved by:	current list
1997-02-19 06:05:48 +00:00
David Greenman
e47bda0730 Fix from PR #2757:
execve() clears the P_SUGID process flag in execve() if the binary
executed does not have suid or sgid permission bits set.

This also happens when the effective uid is different from the real
uid or the effective gid is different from the real gid. Under
these circumstances, the process still has set id privileges and
the P_SUGID flag should not be cleared.

Submitted by:	Tor Egge <Tor.Egge@idt.ntnu.no>
1997-02-19 03:51:34 +00:00
Adam David
5dfbf82ffb updated entries for France
added entries for former Soviet territories matching "*stan"
1997-02-19 02:56:43 +00:00
Brian Somers
52cc0880db Tidy up signal handling.
All signal() calls have been changed to pending_signal() calls.
pending_signal() is defined in the new sig.c file.  It remembers
the handler and traps the signal with a function that will remember
the signal.

main.c now calls handle_signals() to actually call the required
handlers (if the above handler was called).

If this doesn't close PR2662 (was PR2347), I'll cry.

Joerg, I think this should go into 2.2, but I havn't done anything
about it because I'm bound to botch it with the new sig.[ch] files.

I've just "cvs add"'d sig.[ch] so far.... can you update to 2.2 and
tell me what you did ?  Thanks.
1997-02-19 01:14:41 +00:00
Justin T. Gibbs
4d04269a37 Fix some more problems in the recovery code.
Cleanup of the disconnected list was broken in the SCB paging case
    (confusion of NULLand SCB_LIST_NULL)
Implement a clean mechanism for determining that we have exited the timeout
    state and test for this in ahc_done instead of all over the place.
Bring back the use of AAP (Auto Access Pause) I don't think it was the
    true cause of the bus hangs people were reporting.
We want to reset the bus if we've been through an Abort action, not if
    we are a recovery SCB (one implies the other, but not vice-versa).
1997-02-19 01:00:51 +00:00