Commit graph

18402 commits

Author SHA1 Message Date
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
David Nugent 65fa0ae191 Commit the right version this time. :-) 1997-01-07 13:32:04 +00:00
David Nugent 2dc7d862d8 Fix for login_getclass(NULL) case. 1997-01-07 13:29:21 +00:00
Masafumi Max NAKANE 455d60734b Added proff@suburbia.net (Julian Assange) for doing strobe port. 1997-01-07 13:11:58 +00:00
David Nugent 587151228b Typo fix. 1997-01-07 13:04:38 +00:00
Satoshi Asami f654421bef Typo, "%d" -> "%s". This caused tar to print things like
tar: Can't change to directory 282656 : No such file or directory
1997-01-07 10:43:40 +00:00
Andrey A. Chernov 5e572a7e34 Fix bugs in runes data handling
Should go into 2.2
Submitted by: Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-01-07 09:58:32 +00:00
Jordan K. Hubbard 1e97817fad Remove bogus redeclaration of setenv().
Fixes make world failure #3 for today (part of an ongoing series).
1997-01-07 06:26:19 +00:00
Bill Paul 9c171de035 yp_server.c:
- Fail YPPROC_ALL requests when we hit the child process limit. This
  is a little harsh, but it helps prevent the parent from blocking
  and causing other requests to time out.

yp_dnslookup.c:
- Check for duplicate RPC transaction IDs that indicate duplicate
  requests sent due to RPC retransmissions. We don't want to send
  a second DNS request for the same data while an existing request
  is in progress.

- Fix small formatting bogon in snprintf() in yp_async_lookup_addr().
1997-01-07 06:07:21 +00:00
Jordan K. Hubbard 655ad55f9c Fix bogosity with gdb documentation path.
Submitted-By: Chuck Robey <chuckr@glue.umd.edu> (with fix from me)
1997-01-07 04:41:18 +00:00