Commit Graph

19275 Commits

Author SHA1 Message Date
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
Mike Pritchard 8c21e889fd Add motd(5).
Obtained from:  NetBSD
1997-02-13 18:03:23 +00:00
Mike Pritchard 15623f37d0 Typo fix.
Obtained from: NetBSD
1997-02-13 17:38:31 +00:00
Mike Pritchard d654cd00d6 Add psignal(9).
Obtained from: NetBSD
1997-02-13 17:19:50 +00:00
Mike Pritchard d46ebd5820 Add panic(9).
Obtained from: NetBSD
1997-02-13 17:02:28 +00:00
Andrey A. Chernov 9be55567d0 Under some circumstanes sendmail can loop forever collecting input.
Fix uninitialized character to prevent it.

Should go into 2.2
1997-02-13 15:48:35 +00:00
Thomas Gellekum f42b3f95de Add Jeffrey Wheat and Paulo Menezes for their ports. 1997-02-13 15:02:12 +00:00
Bruce Evans 8363c19687 Get defaults for the boot device (and flags) from the file
"boot.config" (relative to the root directory on the 'a' partition
on the first BSD slice) if it exists.  If it doesn't exist, then
the only visible changes should be that the kernel name isn't reset
to "/kernel" after looking it up fails and that the default name
is now "kernel".

The new function readfile() can be used for other things:
- reading help messages.
- reading splash screens.
- reading userconfig info.
1997-02-13 13:15:47 +00:00
Bruce Evans 30c218bf14 Print error messages to stderr, not to stdout.
Fixed usage message to match reality (-a was missing) and man page
(arg names were spelled differently).
1997-02-13 12:05:12 +00:00
Søren Schmidt cc5625f0ed Oops, cut/paste could be done on tthe WRONG vty :(
pointed out by Kazu.
1997-02-13 11:58:49 +00:00
Bruce Evans a7d00b5bf6 Moved definition of FUNCTION_ALIGNMENT to a machine-dependent place.
Changed it from 4 to 16 for i386's.  It can be anything for i386's,
but compiler options limit it to a power of 2, and assembler and
linker deficiencies limit it to a small power of 2 (<= 16).
We use 16 in the kernel to get smaller tables (see Makefile.i386 and
<machine/asmacros.h>).  We still use the default of 4 in user mode.

Use HISTCOUNTER instead of (*kcount) in the definition of KCOUNT()
for consistency with other macros.
1997-02-13 10:47:29 +00:00