Commit Graph

19335 Commits

Author SHA1 Message Date
Joerg Wunsch
d41229fcaa Plug a security hole involving $ENV forwarding over telnet. Sigh, i
thought i've long since done this.
1997-02-15 10:15:49 +00:00
Daniel O'Callaghan
d53ec6c0d0 Reviewed by: Bruce Evans <bde@freebsd.org>
Guard against possible buffer overrun in filename passed.
Another candidate for 2.2.
1997-02-15 07:10:26 +00:00
Masafumi Max NAKANE
21bef06373 Added an option `-h' which gives you usage info.
(According to the original man page, giving `-' by itself as the argument
is supposed to do this, but it seems that it never worked that way.)
1997-02-15 06:12:07 +00:00
David Nugent
a60c8a80bc Allow commonly-used "insecure" as a valid keyword in /etc/ttys.
This prevents keywords after "insecure" occurs being errnoeously
parsed as comments.
1997-02-15 05:45:00 +00:00
Bruce Evans
ec7d3a3282 Disabled the i387 version if log1p(). It just evaluates log(1 + x).
This defeats the point of log1p().  ucbtest reports errors of +-5e+15
ULPs.  A correct version would use the i387 fyl2xp1 instruction for
small x and maybe scale to small x.  The C version does the scaling
reasonably efficiently, and fyl2px1 is slow (at least on P5s), so not
much is lost by always using the C version (only 25% for small x even
with the broken i387 version; 50% for large x).
1997-02-15 05:21:16 +00:00
John-Mark Gurney
c8ab81b886 mdoc'ify man page 1997-02-15 03:35:55 +00:00
Jordan K. Hubbard
3a28079136 Don't bogotify pkg_add's stderr. 1997-02-14 23:00:01 +00:00
John Polstra
39a2443fbd Add jdp's pgp key.
I will sync up -2.2 to this point (except Id->FreeBSD).
1997-02-14 22:00:36 +00:00
Jordan K. Hubbard
a85842ff23 Revert some of the previous change - on second thought... 1997-02-14 21:59:26 +00:00
Jordan K. Hubbard
ea7c446076 Add better quote elimination (and fix a bug). 1997-02-14 21:17:00 +00:00
Jordan K. Hubbard
c5566bcff7 o Try to be more aggressive about reading in old configuration data
so that we're more useful in multi-user mode.  This is still not
  100%, but it pulls in a lot more than it used to.  Some of the "composite"
  variables in /etc/sysconfig are going to take more work.

o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do
  so.

o Reset media properly when reselecting.  Longstanding bogon.

o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle
  this differently shortly.

o Fix bug where cancel in TCP setup dialog still checked data fields.
  I think this closes a PR, but I will have to go look.
1997-02-14 20:59:07 +00:00
John-Mark Gurney
88e8266d80 Modified the display() function to recognize when the output it going to a
file.  When it is don't do the percentage update, but still display the file
size and rate.

Closes PR#2725

Reviewed by:	wollman
1997-02-14 19:08:18 +00:00
Garrett Wollman
d0390e0570 Fix the mechanism for choosing wehether to save the slow-start threshold
in the route.  This allows us to remove the unconditional setting of the
pipesize in the route, which should mean that SO_SNDBUF and SO_RCVBUF
should actually work again.  While we're at it:

- Convert udp_usrreq from `mondo switch statement from Hell' to new-style.
- Delete old TCP mondo switch statement from Hell, which had previously
  been diked out.
1997-02-14 18:15:53 +00:00
Garrett Wollman
4a26224c8d Send RTM_IFINFO messages whenever promiscuous and all-multicast
modes are enabled or disabled.
1997-02-14 15:30:54 +00:00
Andrey A. Chernov
c5d50e135a Replace my EOF fix with better one from sendmail-bugs discussion
Should go into 2.2
1997-02-14 13:57:37 +00:00
Bruce Evans
b416939d71 Moved definitions of PIC macros from SYS.h to DEFS.h so that SYS.h
doesn't need to be included in files that have nothing to do with
syscalls.

Added missing `.text' to START_ENTRY so that ENTRY() works when
invoked in the data section.
1997-02-14 10:57:07 +00:00
Mike Pritchard
6e768644e1 Style fixes. 1997-02-14 07:47:37 +00:00
Hiroyuki Hanai
a99965e29d Reviewed by:
Submitted by:
Obtained from:
1997-02-14 07:26:36 +00:00
Mike Pritchard
e334931601 Xref boot(9). 1997-02-14 07:08:17 +00:00
Mike Pritchard
4c14d8be74 Style fix. 1997-02-14 07:07:13 +00:00
Mike Pritchard
2f581b2bfa Add boot(9) Obtained from NetBSD w/modifications by me. 1997-02-14 07:06:26 +00:00
Mike Pritchard
88fc18877d Add MD5(9).
Obtained from: OpenBSD
1997-02-14 06:42:21 +00:00
Mike Pritchard
a195100836 Oops. I accidently removed fpa.4 from the install list (it is
a pending change...grr)

Submitted by:	bde
1997-02-14 05:18:02 +00:00
John Polstra
261003872e In the "cleanobj" target, always remove the old-style "${.CURDIR}/obj"
links if they exist.  The old-style links confused make and caused
problems when upgrading from a 2.1.5 or 2.1.6 system.

I will merge this into -2.2.
1997-02-14 05:09:07 +00:00
John-Mark Gurney
4a093a9156 some stylistic changes... "you name here" and "you name" to "your name"
2.2 Candidate
1997-02-14 04:16:19 +00:00
David Greenman
0305f20493 Changed timeout for requesting sense from 100ms to 1 second.
Submitted by:	gibbs
1997-02-14 03:13:37 +00:00
Jordan K. Hubbard
6858c47aeb It's not an error to call configResolv() early. 1997-02-14 02:55:25 +00:00
Andrey A. Chernov
8ae5bda5aa Back out clearerr fix after discussion in sendmail-bugs,
it gains nothing
1997-02-14 02:44:45 +00:00
Jordan K. Hubbard
06b547f87f Put back @owner/@group/@mode behavior I took out way back when.
Submitted-By: pst
1997-02-14 01:52:38 +00:00
Jean-Marc Zucconi
10a84c544f Fix a typo in the .s.o rule: asssembler -> assembler 1997-02-14 01:42:29 +00:00
Wolfram Schneider
ce56c5f8e6 Bye Bye. 1997-02-14 01:22:54 +00:00
Masafumi Max NAKANE
96fda39374 Merge 1.209 -> 1.210 changes. 1997-02-13 23:01:21 +00:00
Bruce Evans
661e2ccd94 Changed #include order to match better order in 2.2. 1997-02-13 22:48:19 +00:00
Masafumi Max NAKANE
bdc52b3ffd Merge 1.61 -> 1.62 changes. 1997-02-13 22:02:42 +00:00
Masafumi Max NAKANE
996d53a586 Typo fix. 1997-02-13 22:01:39 +00:00
Masafumi Max NAKANE
6fb9bea400 Merge 1.4 -> 1.5 changes.
Submitted by:	iwasaki@jp.freebsd.org
1997-02-13 21:55:57 +00:00
Masafumi Max NAKANE
078d274aee Merge 1.206 -> 1.209 changes. 1997-02-13 21:52:37 +00:00
Andrey A. Chernov
85456c29cc clearerr() clears both EOF and error flags, so do it only for
error and not for EOF or loop test becomes while(1)

Should go into 2.2
Submitted by: Gregory Neil Shapiro <gshapiro@WPI.EDU>
1997-02-13 21:45:20 +00:00
Joerg Wunsch
77457cfda5 Do what i usually forget to do:
Add John-Mark Gurney (jmg@FreeBSD.org) to the list of committers.
1997-02-13 21:20:19 +00:00
John-Mark Gurney
53e3a4a22c Fix a problem with patch in that is will always default, even when the
controlling terminal is closed.  Now the function ask() will return 1 when th
input is known to come from a file or terminal, or it will return 0 when ther
was a read error.

Modified the question "Skip patch?" so that on an error from ask it will skip
the patch instead of looping.

Closes PR#777

2.2 candidate
1997-02-13 21:10:45 +00:00
Garrett Wollman
39191c8eb8 Provide PRC_IFDOWN and PRC_IFUP support for IP. Now, when an interface
is administratively downed, all routes to that interface (including the
interface route itself) which are not static will be deleted.  When
it comes back up, and addresses remaining will have their interface routes
re-added.  This solves the problem where, for example, an Ethernet interface
is downed by traffic continues to flow by way of ARP entries.
1997-02-13 19:46:45 +00:00
Garrett Wollman
30f700e9c7 Provide an alternative mbuf cluster allocator which permits use of
clusters greater than one page in length by calling contigmalloc1().
This uses a helper process `mclalloc' to do the allocation if
the system runs out at interrupt time to avoid calling contigmalloc
at high spl.  It is not yet clear to me whether this works.
1997-02-13 19:41:40 +00:00
Garrett Wollman
10825343b0 Provide an alternative interface to contigmalloc() which allows a specific
map to be used when allocating the kernel va (e.g., mb_map).  The VM
gurus may want to look this over.
1997-02-13 19:37:40 +00:00
Guido van Rooij
c65c314e66 Actually allow the -R flag. 1997-02-13 19:24:25 +00:00
Mike Pritchard
d79e37a33e Xref the new vn(4) man page. 1997-02-13 18:50:52 +00:00
Mike Pritchard
3586b410dc Add sl(4) and ppp(4).
Obtained from: NetBSD
1997-02-13 18:48:25 +00:00
KATO Takenori
def9b7665d Synchronize with sys/i386/isa/syscons.c revision 1.201. 1997-02-13 18:43:50 +00:00
KATO Takenori
8ea8b7549d Synchronize with sys/i386/boot/biosboot/boot.c revision 1.62. 1997-02-13 18:41:03 +00:00
Mike Pritchard
9a16c56614 Add vn(4) to document vn pseudo-devices.
Obtained from: NetBSD
1997-02-13 18:29:30 +00:00
Garrett Wollman
5bee01c83f For large values of sb_max or MCLBYTES, it was possible for the expression
sb_max * MCLBYTES / (MSIZE + MCLBYTES)
used in sbreserve() to overflow, causing all socket creation attempts
to fail.  Force the calculation to use u_quad_t's, which makes overflow
less likely.
1997-02-13 18:05:46 +00:00