Commit Graph
52 Commits
Author SHA1 Message Date
Ruslan Ermilov 48ba00dfa5 MFC: MAN[1-9] -> MAN. 2001-04-25 10:42:22 +00:00
Ruslan Ermilov a84e15bbe1 MFC: recent mdoc(7) fixes. 2001-03-05 18:22:01 +00:00
Kris Kennaway 966dde0e53 MFC: Constify 2001-03-05 10:58:59 +00:00
Kris Kennaway e6fd7a291e MFC: 1.7: fix typos 2001-03-05 10:54:15 +00:00
Ruslan Ermilov f210dbaa18 MFC: man(7) -> mdoc(7). 2001-01-16 13:14:38 +00:00
Ruslan Ermilov c6904839fa MFC: .Os CMU -> .Os, split author names. 2000-12-12 15:34:19 +00:00
Ruslan Ermilov d9891373ec MFC: use canonical form of .Dd macro. 2000-12-12 10:02:35 +00:00
David E. O'Brien 6034d13a9e MFC: add /dev/zero and use PATH_* where possible. 2000-12-11 01:03:42 +00:00
Ruslan Ermilov 20456d91bc MFC: recent mdoc(7) fixes. 2000-12-08 13:53:03 +00:00
Dirk Froemberg 7e70e76779 MFC: Fix to=auto in bootptab.
Approved by:	jkh
2000-11-11 00:10:41 +00:00
Jordan K. Hubbard 4d8b243464 MFC: get at errno properly. 2000-09-20 09:55:34 +00:00
Marcel Moolenaar 8ef94ce860 Fix bootpd for Alpha.
bptypes.h originally defined int32 to be of type long. This obviously
doesn't work on the Alpha. By defining int32 (and u_int32) in terms of
int32_t (and u_int32_t) it now is what it says it should be.

Two occurrences of 'unsigned int32' have been changed to 'u_int32' for
consistency.

Submitted by: Wilko Bulte <[email protected]>
1999-11-12 10:11:48 +00:00
Mike Pritchard 229494cb51 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <[email protected]>
1999-08-28 23:10:20 +00:00
Peter Wemm 7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Mike Pritchard 2dd1e9f4e1 Fix a couple of typos.
PR:		12610
Submitted by:	Seth <[email protected]>
1999-07-12 18:37:48 +00:00
Warner Losh 859663719d More egcs warning fixes:
o main returns int not void
	o use return 0 at end of main when needed
	o use braces to avoid potentially ambiguous else
	o don't default to type int (and also remove a useless register
	  modifier).

Reviewed by: obrien and chuckr
1999-04-25 22:23:38 +00:00
Brian Somers 9e9a43bdec Ensure that things returned by gethostname() and
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)

Prompted by: bde
1999-04-07 08:27:45 +00:00
Eivind Eklund d284feaa7b Block for buffer overflow. 1998-12-13 21:02:28 +00:00
Matthew Dillon 3a3c0cf418 PR: bin/9031
Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit
1998-12-12 20:56:53 +00:00
Bruce Evans 74b5e3ebd1 Don't assume that time_t is long. Fixed printf format errors. 1998-06-29 16:47:08 +00:00
Joerg Wunsch 09caeadeda Use gethostname(3) to obtain the local host name, as opposed to uname(3).
Otherwise the length of the name is limited to 32 characters only.
1998-06-03 20:01:28 +00:00
Joseph Koshy 9595a75afa Spelling corrections.
PR: 6829
Submitted by: Josh Gilliam <[email protected]>
1998-06-03 04:21:41 +00:00
Philippe Charnier 81389de071 Convert to mdoc. Header -> Id. Typo. 1998-02-03 07:30:22 +00:00
Bruce Evans cc03533c8d Removed most unused includes of <net/if_var.h> outside the kernel. 1998-01-16 17:38:56 +00:00
Masafumi Max NAKANE b1d9db7283 Typo fix: bootgw -> bootpgw 1997-12-29 13:59:28 +00:00
Warner Losh 9bc34f7ce1 Use snprintf rather than printf out of paranoia
Obtained from:	OpenBSD
1997-12-24 18:56:03 +00:00
Joerg Wunsch 71c971334b Fix description of -t option.
PR:		3382
Submitted by:	[email protected] (Atsushi Furuta)
1997-08-24 18:21:34 +00:00
Poul-Henning Kamp 798c69cd78 Don't rely on stderr to report bad news. 1997-05-11 14:27:03 +00:00
Peter Wemm 9e522f7a18 Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
Jordan K. Hubbard 9a969423ea Fix a hop count datatype bogon pointed out in PR#2642 (though my fix
was slightly different than the one submitted).
Submitted by:	Elmar Bartel <[email protected]>
1997-02-07 20:03:49 +00:00
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Garrett Wollman 702a1d0148 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
Garrett Wollman 628d2ac1b0 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
Poul-Henning Kamp 9649260fa5 doc/1994: spelling error.
Submitted by:	David Leonard David Leonard <[email protected]>
1996-11-12 13:32:49 +00:00
Wolfram Schneider 148531ef1e add forgotten $Id$ 1996-09-22 21:56:57 +00:00
Poul-Henning Kamp d3e560a1d3 Make the inetd suggestion slightly less confusing. 1996-09-19 08:21:18 +00:00
Paul Traina 86ca32cd60 bootpd.dump is in /tmp 1996-09-11 01:37:24 +00:00
Mike Pritchard 5ea43fd200 Add some missing manual page links. 1996-02-02 17:48:46 +00:00
Paul Traina 4f5241c655 Fix getif() to work under 4.3bsd and later 1996-01-23 09:44:45 +00:00
Paul Traina 6e159bbc62 Merge back in 4.4bsd ARP changes by hand 1996-01-23 02:22:16 +00:00
Paul Traina 0490e2a765 Add bootpgw makefile 1996-01-23 02:02:03 +00:00
Paul Traina d1c0e75921 Fix conflicts from 2.4.3 merge 1996-01-23 01:58:00 +00:00
Paul Traina e08ac58bbe Import bootpd-2.4.3 from ftp.mc.com 1996-01-23 01:35:04 +00:00
Paul Traina ee3ee9eeaa Minor cleanups from NetBSD-current.
Obtained from: NetBSD
1996-01-23 00:57:19 +00:00
Bruce Evans 9987ab26d8 Fix SRCS (.c's were .o's) so that `make depend' works. 1995-09-28 17:33:16 +00:00
Bill Paul 017eb962e0 Uncomment 'CFLAGS+=ETC_ETHERS' -- we have support for this as of 2.0.5. 1995-07-25 23:38:40 +00:00
Rodney W. Grimes 6c06b4e2aa Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
Gary Palmer fa877a53cb The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct the
references in the man page.
1995-04-12 00:24:48 +00:00
Doug Rabson 7cb18415b8 Discard any messages which are buffered on the routing socket before using
it otherwise the response to one of our routing messages could be lost due
to buffer overflow.
1995-01-30 11:11:43 +00:00
Doug Rabson c48edefb3c Change to use RTM_CHANGE when an arp entry already exists. This closes
problem bin/57 which was caused when an incomplete entry was present for the
host which was booting.
1995-01-16 18:57:45 +00:00