Commit Graph

15546 Commits

Author SHA1 Message Date
Peter Wemm
b12e5e82b6 The socketpair(0 syscall is bogusly returning the fd numbers through
the primary and secondary return codes, causing it to not behave as
documented.  This probably originates from the ancient BSD kernels that
had pipe(2) implemented by socketpair(2), there are no binaries left that
we can run that do this.

Pointed out by: Robert Withrow <witr@rwwa.com>, PR#731
1996-08-24 03:35:13 +00:00
Peter Wemm
3bd9f6db7a Unconditionally null-terminate string read into spkr driver.
Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp>, PR#1488, but using
	Bruce Evans <bde@zeta.org.au>'s fix.
1996-08-24 03:24:39 +00:00
Peter Wemm
3271a3a4f3 route.c:RTM_ADD does not check for a netmask before doing a tree walk
like it does elsewhere.  This is probably only happens when incorrect
args are given to route(8), or when running with non-IPv4 stacks but
incorrect args to the route command is no excuse for panicing!

Submitted by: Michael Clay <mclay@weareb.org>, PR#1532
1996-08-24 03:11:13 +00:00
Julian Elischer
47be746682 Add support to halt, to allow it to request that the power be turned off
(the RB_POWEROFF flag)
1996-08-24 01:40:02 +00:00
Jordan K. Hubbard
67cebbd1da Make it possible to turn the depend pass off entirely with a NO_DEPEND
variable.
Requested-By: wollman
1996-08-23 22:33:33 +00:00
Mike Pritchard
1c1f145f2b Convert to mdoc format. 1996-08-23 21:40:59 +00:00
Mike Pritchard
6c65d95969 Some minor man page cleanup. 1996-08-23 20:52:53 +00:00
Mike Pritchard
c0b0bcf4d3 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
Poul-Henning Kamp
8d612dd2fc Try to make netstat more smart about port numbers.
Feedback most welcome.
1996-08-23 19:05:34 +00:00
Poul-Henning Kamp
321a284625 Mark sockets where the kernel chose the port# for.
This can be used by netstat to behave more intelligently.
1996-08-23 18:59:07 +00:00
Jordan K. Hubbard
5f87a4a8a6 Get rid of all the explicit calls to make depend. 1996-08-23 16:50:27 +00:00
Jordan K. Hubbard
8d26610d5f Add depend to all target so that it's explicit. It's only done once,
even if make all is run multiple times, since the depend rule looks for
an existing .depend file.
1996-08-23 16:49:06 +00:00
Poul-Henning Kamp
b2420a13ab Fix a couple of file-descriptor leaks. 1996-08-23 09:33:32 +00:00
Jordan K. Hubbard
fc8cb16597 Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +00:00
Thomas Gellekum
55d423f3ad Add tim Vanderhoek for his uulib and uudeview ports. 1996-08-23 07:00:33 +00:00
Jordan K. Hubbard
89fc51f330 Don't make -l warn when it's not used, so we can potentially set it
all the time if we want to use "link" behavior for file URLs (and not
have fetch whine at us when they're not).
1996-08-23 06:21:17 +00:00
John Dyson
4acf48dabc Another attempt at making multi-sector mode work. 1996-08-23 02:52:44 +00:00
Mike Pritchard
0f7785061e Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
Mike Pritchard
85cf659a76 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
Mike Pritchard
7a5396c1b0 Typo police. 1996-08-23 00:26:01 +00:00
Mike Pritchard
46f84fcb84 Use the .Fx macro to specify FreeBSD version where appropriate. 1996-08-22 23:51:58 +00:00
Mike Pritchard
21421932f5 Use the .Bx macro where appropriate. 1996-08-22 23:39:32 +00:00
Mike Pritchard
7bdf80e571 Correctly use .Fn instead of .Nm to reference function names
in a bunch of man pages.

Use the correct .Bx  (BSD UNIX) or .At (AT&T UNIX) macros
instead of explicitly specifying the version in the text
in a bunch of man pages.
1996-08-22 23:31:07 +00:00
Jordan K. Hubbard
f0abcb4154 Print the correct thing when interrupted by a signal. 1996-08-22 23:25:24 +00:00
Mike Pritchard
bf5a138ec4 Update a bunch of man pages to use .Fn instead
of .Nm when referencing funciton names.
1996-08-22 22:05:59 +00:00
Paul Traina
0982f4916f Add zephyr 1996-08-22 21:37:19 +00:00
Jordan K. Hubbard
fc6fcbf9fc 1. Understand file:/path style URLs.
2. Add a -l flag for symlinking to rather than copying file:/path style URLs.
3. Add a -T flag for setting the timeout interval (overrides FTP_TIMEOUT if set)
1996-08-22 21:30:51 +00:00
Mike Pritchard
d9cd459bc6 List all of the include files required for getpeername and getsockname.
Closes PR# 1170.

Submitted by:	James Raynard <jraynard@dial.pipex.com>
1996-08-22 20:49:57 +00:00
Wolfram Schneider
7ec1929d53 code cleanup 1996-08-22 18:46:13 +00:00
Wolfram Schneider
aa7e9146d7 bye, bye 1996-08-22 17:41:22 +00:00
Wolfram Schneider
1b133036d3 add FreeBSD Inc. to copyright string 1996-08-22 17:37:02 +00:00
Wolfram Schneider
7416827fb1 add copyright, $Id$
remove case '?', if '?' is not in getopt(), it should
not be in the switch statement
1996-08-22 16:55:15 +00:00
Wolfram Schneider
a09e5604c5 [HISTORY]
cat command appeared in Version 1 AT&T UNIX, not Version 6
	Apparently the cat man page was the first written man page

	Obtained from: A Quarter Century of UNIX, Peter H. Salus
[BUGS]
	fix a typo
1996-08-22 16:54:12 +00:00
Satoshi Asami
cb9b679415 Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese
kanji input servers.
1996-08-22 10:29:28 +00:00
Julian Elischer
37dc8bea84 slight cleanup of the floppy building stuff to take into account
the new OBJdir system.
quite a bit to go yet.

cd /usr/src; make world
cd release
cd sysinstall;make obj; cd ..
cd floppies; make obj; make
1996-08-22 09:45:46 +00:00
Julian Elischer
5eaf55414c Submitted by: john birell (jb@cimlogic.com.au)
fixups for makefiles
and for Thread-safe sycalls
1996-08-22 04:25:09 +00:00
Julian Elischer
e0d898b48e Some cleanups to the callout lists recently added.
note that at_shutdown has a new parameter to indicate When
during a shutdown the callout should be made. also
add a RB_POWEROFF flag to reboot "howto" parameter..
tells the reboot code in our at_shutdown module to turn off the UPS
and kill the power. bound to be useful eventually on laptops
1996-08-22 03:50:33 +00:00
Jordan K. Hubbard
d37f8acb71 Add a new "swapfile" variable so that you can add a file as a additional
swap as the system is coming up.
1996-08-21 23:15:37 +00:00
Mike Pritchard
e2fbcabdcb Fix a spelling error. 1996-08-21 22:38:20 +00:00
Mike Pritchard
ef73b229f0 Add my own zipcode, since it seems to be missing, along with
some other ones that NetBSD has in their zipcode file that we
don't.
1996-08-21 22:32:54 +00:00
Mike Pritchard
1d95ac95a8 Update the area code for St. Cloud, MN, since it received a new
one this year.

Also move one entry that was out of place into the correct sort order.
1996-08-21 22:18:21 +00:00
Mike Pritchard
a2d402aa3c Update some more man pages to use the .Fx macro. 1996-08-21 22:10:36 +00:00
Mike Pritchard
400d45a39a Update a bunch of man pages to use the .Fx macro to specify FreeBSD versions. 1996-08-21 22:01:49 +00:00
John Dyson
6476c0d204 Even though this looks like it, this is not a complex code change.
The interface into the "VMIO" system has changed to be more consistant
and robust.  Essentially, it is now no longer necessary to call vn_open
to get merged VM/Buffer cache operation, and exceptional conditions
such as merged operation of VBLK devices is simpler and more correct.

This code corrects a potentially large set of problems including the
problems with ktrace output and loaded systems, file create/deletes,
etc.

Most of the changes to NFS are cosmetic and name changes, eliminating
a layer of subroutine calls.  The direct calls to vput/vrele have
been re-instituted for better cross platform compatibility.

Reviewed by: davidg
1996-08-21 21:56:23 +00:00
Mike Pritchard
fe6869c2d0 Use the .Fx macro to reference FreeBSD versions in several newer man
pages.

For those of you that don't know, here is an example of how the .Fx
macro is used:

The xyzzy command first appeared in
.Fx 2.2 .

Will expand to:

The xyzzy command first appeared in FreeBSD 2.2.
1996-08-21 21:43:28 +00:00
Paul Traina
6ea43f98e3 Fix typo in last commit...sigh 1996-08-21 21:39:44 +00:00
Søren Schmidt
fed1c7e9e4 Add hooks for an IP NAT module, much like the firewall stuff...
Move the sockopt definitions for the firewall code from
ip_fw.h to in.h where it belongs.
1996-08-21 21:37:07 +00:00
Mike Pritchard
1702c53ed2 Improve some poor wording. 1996-08-21 21:30:02 +00:00
Mike Pritchard
c119f6297f Fix up the NAME lines forthe ceil and floor man pages to be
less confusing.

Reviewed by:	bde
Partially obtained from: NetBSD-bugs
1996-08-21 21:23:47 +00:00
Mike Pritchard
c200bf2b82 Add the -o option to the usage line. 1996-08-21 20:54:38 +00:00