Commit Graph

18411 Commits

Author SHA1 Message Date
Garrett Wollman 97d1e20ef9 If the RTM_NEWMADDR and RTM_DELMADDR messages are defined
(in <net/route.h>), then interpret them appropriately.  This has
no effect until I commit the changes to multicast group
management (awaiting review).
1997-01-09 21:34:03 +00:00
Wolfram Schneider c15a12df0f add cross reference to cd(1), where CDPATH variable is explained 1997-01-09 21:04:10 +00:00
John Polstra ae06cb4d32 On failure, return various exit codes from <sysexits.h>. In particular,
return EX_TEMPFAIL if the file was already locked.  This makes it easier
to distinguish between lock collisions and failures within the command
being executed.

Also, don't complain if the unlink() fails in the cleanup handler.  It
doesn't matter anyway, and it obscured the exit status returned from
the command that was executed.
1997-01-09 19:53:21 +00:00
John Fieber 5ef6c2c373 Lots more squashing of bugs, in particular making sure generated
HTML is compliant with the 3.2 DTD.

Sanity preservation and bug prevention - define frequently used
constructs as entities.

What remains to be done is better hypertextification which includes
breaking large documents into managable chunks, and managing links.
There are currently some (easy to avioid) situations that result
in multiple anchors with the same name, or links nested within other
links.  :(
1997-01-09 18:30:15 +00:00
Peter Wemm f809a5f8dd Correct logic braino when attempting to exclude loopback addresses on
the first pass.

Submitted by: Greg Lehey <grog@lemis.de>
1997-01-09 16:38:05 +00:00
Peter Wemm 45eccbb217 Two minor changes to try and make it more robust in the face of many
interfaces, until it's redone to use sysctl().
- bump the SIOCGIFCONF buffer size from 1K to 8K
- if we didn't find a suitable address, return a failure.  Previously
  if it didn't find anything it left the return address uninitialised.
  Perhaps it would be better to return AF_INET/111/127.0.0.1 rather than
  failing?
1997-01-09 14:55:15 +00:00
Mike Pritchard 00f7ecb490 Fix some file descriptor leaks. Closes PR# 2392.
2.2 candidate.
1997-01-09 14:50:42 +00:00
KATO Takenori fbb488e831 Synchronize with sys/i386/isa/isa.c rev. 1.75. 1997-01-09 13:13:38 +00:00
Poul-Henning Kamp 2a66b46b42 i386/2427: 2.2-BETA ft driver panics when there're no floppy drives
Reviewed by:	phk
Submitted by:	hosokawa@jp.FreeBSD.org
1997-01-09 12:50:07 +00:00
Mike Pritchard 4fc96a56f5 Fix a couple of typos in a comment and in the usage output. 1997-01-09 07:36:14 +00:00
Mike Pritchard 9d2592273f Update the copyright notices to match our bsd-copyright example. 1997-01-09 07:26:05 +00:00
Mike Pritchard 32e43d391c Minor mdoc style fixes. 1997-01-09 07:12:09 +00:00
Mike Pritchard 9d16a728b6 Make the man page agree with the actual vmstat output
and options.
1997-01-09 06:49:33 +00:00
Mike Pritchard 81fba91b52 Add some real example diagnostics to example.[14]
Add all of the possible errno's to example.3.

Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros
in the various HISTORY sections.

Add some .Rs/.Re (used for referencing things other
than man pages) in the SEE ALSO sections.

Suggested by: wollman
1997-01-09 06:32:22 +00:00
David Nugent e0f530a531 Internationalise "authorize". 1997-01-09 04:16:18 +00:00
John Polstra 1a809a51b0 The error returned when F_SETLK collides with an existing lock is
EAGAIN, not EACCES.  POSIX says that either one is OK.
2.2 candidate.
1997-01-08 23:48:02 +00:00
Wolfram Schneider 80001b55bd bring section LIMITS back; reviewed by: mpp 1997-01-08 22:57:15 +00:00
John Polstra 8e42672199 Enable lockf. 1997-01-08 20:19:22 +00:00
John Polstra c8929a4926 Initial import of the lockf utility. It executes an arbitrary command
while holding an exclusive lock on a file.
1997-01-08 20:12:59 +00:00
Nate Williams 62ce633d36 Make the code more consistant by using the INTR*MASK macros througout the
code.

Reviewed by:	bde

[
Bruce suggest removing the macros completely, but I'm not up to that
task quite yet.
]
1997-01-08 16:12:56 +00:00
Garrett Wollman b20531189a Fix typo. I hate waking up at 4:45 in the morning... 1997-01-08 15:23:17 +00:00
Garrett Wollman 4f079e2ff0 Correctly account for header length in m_pkthdr.len when sending
packets through BPF.

Submitted by:	seki@sysrap.cs.fujitsu.co.jp in PR#2415
1997-01-08 14:17:27 +00:00
Garrett Wollman e76da59456 Delete -D_POSIX_MODE and -D_MULTI_LIBM from CFLAGS. They never had any effect
because _IEEE_LIBM always takes priority, so the definition just served
to confuse.

Reviewed by:	bde
1997-01-08 13:22:28 +00:00
Garrett Wollman 373f88ed5c Fix a few oversights in the new multicast membership interface. 1997-01-08 13:20:25 +00:00
Andrey A. Chernov 07a7a2c487 Fix fake failures on the short names which looks like hexadecimal numbers
Submitted by: paul@vix.com
1997-01-08 13:06:14 +00:00
Joerg Wunsch ca4967cbda Document the various reasons for EINVAL.
Document the flaw that `offset' is required to be page-aligned, in the
BUGS section.
1997-01-08 12:02:15 +00:00
Joerg Wunsch c28065c606 Our mmap(2) has a limitation where the `offset' parameter must be
page-aligned.  cmp(1) should know about this flaw, and work around it.

While i was at it, fixed an uninitialized variable as reported by
-Wall.
1997-01-08 12:00:55 +00:00
Andrey A. Chernov b8b15e71f7 Build ebones/telnetd only if MAKE_EBONES defined 1997-01-08 11:46:23 +00:00
Andrey A. Chernov 1f18743134 Make eBones/telnet only if MAKE_EBONES defined 1997-01-08 11:38:33 +00:00
Andrey A. Chernov c4be7158c8 Build ebones/libtelnet only if MAKE_EBONES defined 1997-01-08 11:34:32 +00:00
Mike Pritchard 5f169eef3e Remove an extra tab. 1997-01-08 07:24:52 +00:00
Mike Pritchard 0fd3140e80 Correct some misleading text.
Submitted by:	Klaus Klein <kleink@layla.inka.de>
Obtained from: NetBSD-bugs PR#3089
1997-01-08 07:12:47 +00:00
Mike Pritchard 7bc9296d98 Fix some typos and remove a couple of duplicate
fortunes.  Closes PR#s 2358 and 2402.

Submitted by:	John-Mark Gurney <gurney_j@efn.org>
1997-01-08 07:04:44 +00:00
Mike Pritchard 717feb32a0 Man page police. 1997-01-08 06:51:32 +00:00
Mike Pritchard c0d4d042e9 Fix some formatting problems. Closed PR# 2377.
Pointed out by: David O'Brien
1997-01-08 06:42:27 +00:00
Nate Williams 7323d74ac0 Changed magic # 0xa0000 -> ISA_HOLE_START since it's now defined. 1997-01-08 05:56:55 +00:00
Peter Wemm 9e0dc595f6 Fix double typo 1997-01-08 03:00:42 +00:00
John Fieber 945a701173 Add an "else" clause to _followrel.
This should be in 2.2.
1997-01-08 01:40:52 +00:00
Nate Williams 22d0d81b71 - Added PCIC resume function
- Cleaned up VLSI-PCIC work-around code

Submitted by:	nate & the Nomads
1997-01-08 00:22:58 +00:00
Andrey A. Chernov e0e0f71abc Rename vt*-em entries to vt*-nac entries
Add vt*-pf entries with k1-k4 as pf1-pf4 and make it non-default
1997-01-07 21:12:05 +00:00
Warner Losh f5dcc2f1e6 Fix many buffer overflows, correct usage of strcat and implement
$TAPE.  Inspired by OpenBSD's work in this area.

Reviewed by:	Peter Wemm, Guido van Rooij and Jordan Hubbard.
Obtained from: OpenBSD
1997-01-07 20:48:24 +00:00
Paul Traina aa01094fb0 Added Tor Egge to contributor's list 1997-01-07 20:22:17 +00:00
Paul Traina 71fbc63c69 bin/1789: dump estimates a negative number of tapes needed for huge dumps 1997-01-07 20:15:04 +00:00
Paul Traina e1fb4daa3e TCP statistics are unsigned counters.
Tor Egge reports counter wrap and requests and update to quad_t sized
counters, which is also a good thing to do,  but I'm unhappy about adding
two more instructions into the  code path every time we doink a counter.

Maybe with or after the Lite2 merge...
Submitted by:	Tor Egge <Tor.Egge@idt.ntnu.no>
1997-01-07 20:09:28 +00:00
Paul Traina b833b30221 Import a few relatively minor fixes from current Borman telnet.
Add some buffer overrun fixes from OpenBSD and myself.
Add skey calculator kludge from OpenBSD.

TODO: do a real merge of dab's sources... probably just make telnet and
	telnetd contrib software.

Obtained from: OpenBSD, dab@bsdi.com
1997-01-07 19:47:58 +00:00
Garrett Wollman 1158dfb736 Checkpoint the beginnings of the new kernel interface for
multicast group memberships.  This is not actually operative
at the moment (a lot of other code still needs to be changed), but
this seemed like a useful reference point to check in so that
others (i.e. Bill Fenner) have fair warning of where we are going.
1997-01-07 19:15:32 +00:00
Paul Traina a29e4eaa60 Some buffer overrun fixes and removed check for username starting with "-"
(replacied it with a getopt stopper (--) instead, which is more correct).

Obtained from: OpenBSD
1997-01-07 19:00:52 +00:00
David Nugent 1c594de59d Various bugfixes. 1997-01-07 16:28:12 +00:00
Nate Williams 58eb96aa43 > The extra include of <sys/time.h> is because apm uses microtime() and my
> <sys/param.h> doesn't include <sys/time.h>
>
> I removed the NAPM check since it's wasteful to check twice.  apmprobe()
> checks the unit number, and that's the right check.

Submitted by:	bde
1997-01-07 15:36:34 +00:00
David Nugent 273b52cea1 Consistency check: refs to ~/.login.conf should be ~/.login_conf. 1997-01-07 14:29:50 +00:00