Commit Graph

19734 Commits

Author SHA1 Message Date
peter
4e357feeb8 Revert $FreeBSD$ back to $Id$ 1997-02-22 13:06:56 +00:00
joerg
3ff7a4f4f2 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
cdca48ec7b Regenerate to include correct Id string 1997-02-22 12:52:35 +00:00
peter
1db7fe2fb1 Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
peter
1cfd0ea44b Back out an easy $FreeBSD$ 1997-02-22 11:38:21 +00:00
peter
701f1d4c2d Urk, there were two $FreeBSD$'s in this file... 1997-02-22 11:35:10 +00:00
peter
b1e25f9931 back out an easy $FreeBSD$ (file already left vendor branch) 1997-02-22 11:34:03 +00:00
peter
89d8d139e1 Back out an easy $FreeBSD$ (file already left vendor branch) 1997-02-22 10:53:59 +00:00
peter
b041645f92 Back out easy $FreeBSD$ (file already left vendor branch) 1997-02-22 10:52:38 +00:00
peter
840513f2ec Back out some easy $FreeBSD$ changes. These files already left the vendor
branch.
1997-02-22 10:50:16 +00:00
peter
94b6d72794 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
jkh
dd2a6abaa8 Clean up a rather incorrectly phrased
set of instructions on lndir usage.
1997-02-22 09:37:19 +00:00
phk
5891cb4ba7 Make it possible to substitute INTERFACE when executing commands. 1997-02-22 09:12:36 +00:00
mpp
67fb7190df 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
ache
83182e50d0 Increase FD_SETSIZE back to 1024, select code fixed now 1997-02-21 23:15:17 +00:00
wollman
2a1bcb29be Properly notice error returns from if_allmulti(). 1997-02-21 18:34:58 +00:00
wollman
15658f03db 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
00632c9a58 Argh, this time get the parentheses right. This hasn't been a good day for me. 1997-02-21 05:46:57 +00:00
jdp
edb50f92b9 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
5bd7bd7fd0 Whoops, make sure we have enough parenthesis.
Pointed out by:	bde
1997-02-21 01:29:32 +00:00
jdp
f20c59e7de 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
mpp
58f212920d #include <string.h> to help silence -Wall. 1997-02-20 23:11:22 +00:00
roberto
ed1608278d 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
wollman
1affb81d5a Fix the parameters of a call to in_setsockaddr(). 1997-02-20 18:39:33 +00:00
jkh
8eb357fcb0 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
jmg
8a1a9ae6d7 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
bde
a9570d9f94 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
bde
0071d9dabb Removed misplaced duplicate of comment about implementation details. 1997-02-20 13:14:06 +00:00
bde
d9c878777f 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
bde
301b9cec88 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
danny
eea0e3ea97 Typogrammatical error 'with' -> 'when'.
This could be put into 2.2.
1997-02-20 06:50:31 +00:00
hanai
911e329be4 Update the ``Original revision:'' fields and fix the typo of translation date
in install.sgml
1997-02-20 04:00:10 +00:00
erich
d1d1b1cbed 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
27eb6d09a0 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
jfieber
1a5d9e17d0 Fix the rawrite.exe URL. 1997-02-19 21:57:02 +00:00
jfieber
dacdeaf0af Fix the url for rawrite.exe. 1997-02-19 21:54:44 +00:00
wollman
a81210e4a9 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
jkh
9469bcb933 ARGH!! Fix obligatory 12th hour fumble. :-( 1997-02-19 16:57:30 +00:00
jfieber
5a1f3b8495 Latest release is 2.1.7.
Someone who knows Japanese ought to update the date.
1997-02-19 16:44:22 +00:00
jfieber
c5e18de6d3 Latest release is 2.1.7. 1997-02-19 16:41:47 +00:00
kato
8b48eaa9ab 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
darrenr
9b267ed013 change IP Filter hooks to match new 3.1.8 patches for FreeBSD 1997-02-19 14:02:27 +00:00
kato
712f3a716a Synchronize with sys/i386/isa/wd.c revision 1.124. 1997-02-19 13:19:08 +00:00
kato
b365ed7700 Synchronize with sys/i386/boot/biosboot/boot.h revision 1.16. 1997-02-19 13:06:03 +00:00
dg
d71873490f 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
mpp
ebf34cb494 Use the .Bx macro in the HISTORY section. 1997-02-19 07:14:30 +00:00
asami
e14e57c697 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
dg
965388b530 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
5ce9637600 updated entries for France
added entries for former Soviet territories matching "*stan"
1997-02-19 02:56:43 +00:00
brian
43a90c7d71 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