Commit graph

90 commits

Author SHA1 Message Date
Jacques Vidrine c19c8e606f Check for FD_SET overruns.
Obtained from:	NetBSD
2002-09-09 15:45:28 +00:00
Maxim Sobolev 62f7648682 Increase size of ifnet.if_flags from 16 bits (short) to 32 bits (int). To avoid
breaking application ABI use unused ifreq.ifru_flags[1] for upper 16 bits in
SIOCSIFFLAGS and SIOCGIFFLAGS ioctl's.

Reviewed by:	-hackers, -net
2002-08-18 07:05:00 +00:00
Philippe Charnier 490d5836b5 The .Nm utility 2002-07-14 14:47:15 +00:00
Ruslan Ermilov 423e9124d9 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
Dima Dorfman 9bbb043ee9 Beware the log demon! (Fix typo: s/demon/daemon/)
Submitted by:	zhuravlev alexander <zaa@ulstu.ru>
2002-05-11 05:16:02 +00:00
Ruslan Ermilov cda2a9b2f0 Set BINOWN=root explicitly for setuid root binaries.
This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
2001-09-13 06:48:18 +00:00
Ruslan Ermilov c75526d5a0 mdoc(7) police: fixed the "new sentence" bogons. 2001-08-10 15:03:10 +00:00
David E. O'Brien 90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Dima Dorfman f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Kris Kennaway a595684e1d Mark some functions as __printflike()
MFC after:	1 week
2001-07-05 09:28:13 +00:00
Kris Kennaway 21af2aa18e Remove spurious extra format string argument. 2001-04-17 07:32:37 +00:00
Ruslan Ermilov 345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Jeroen Ruigrok van der Werven 1a6e52d0e9 Fix typo: seperate -> separate.
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
Ruslan Ermilov 610a5778c5 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:44:04 +00:00
Ruslan Ermilov 8b5c4af3ff Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
Ruslan Ermilov 88544700ca mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
David E. O'Brien 1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Ruslan Ermilov f4d874a1db mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
Ruslan Ermilov e97407b4f2 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
Ruslan Ermilov 251c176f41 mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
Ruslan Ermilov 726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
Kris Kennaway aed217b4c6 String buffer safety cleanup. I don't think any of these were exploitable
remotely, but they would be if e.g. it happened to call the logging
function using a DNS hostname.

Also replace random() by arc4random() - only one of these is arguably
required since it's directly used in the protocol, but we might as
well replace both to avoid using two different PRNGs.

Reviewed by:	green, alex
2000-10-09 06:08:00 +00:00
Philippe Charnier 694f3216ba 1000000 usec -> 1 sec 0 usec; fix. 2000-03-26 14:44:34 +00:00
Sheldon Hearn f2e366a105 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
Mike Pritchard 49364d3cb3 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:23:38 +00:00
Peter Wemm 97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Nik Clayton 414a35e60a Add $Id$, to make it simpler for members of the translation teams to
track.

The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:12:29 +00:00
Bill Fumerola bb7b64a35e Use the proper mdoc macro
PR:		docs/9892
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-03-20 04:26:57 +00:00
Andrzej Bialecki bd5dcdaf0a Patch to make mrouted more friendly with crunchgen.
Reviewed by:	fenner, wollman
Submitted by:	luigi
1999-02-08 21:48:31 +00:00
Bill Fenner ec114097dd Merge conflicts from 3.9-beta3+IOS12. The conflicts were huge; cvs's
merge algorithm failed on several files, and the translation of the
mrouted man page to mdoc didn't help...
1999-01-20 07:55:57 +00:00
Bill Fenner b8d4f311c5 This commit was generated by cvs2svn to compensate for changes in r42888,
which included commits to RCS files with non-trunk default branches.
1999-01-20 07:44:18 +00:00
Bill Fenner 1f25327484 Import mrouted version 3.9-beta3+IOS12 . This is a version of 3.9-beta3
with minor changes to work around a bug in Cisco's IOS version 12.0 .
3.9-beta3 is much improved over 3.8, and is only labelled "beta" because
of missing features, as opposed to instability or known bugs.
1999-01-20 07:44:18 +00:00
Bill Fenner bc32f7a3d2 Resolve conflicts. 1999-01-20 05:13:42 +00:00
Bill Fenner ce595def07 Import mtrace release 5.2
ftp://ftp.parc.xerox.com/pub/net-research/ipmulti/mtrace-5.2.tar.gz
1999-01-20 05:11:48 +00:00
Bill Fenner 665a129826 This commit was generated by cvs2svn to compensate for changes in r42881,
which included commits to RCS files with non-trunk default branches.
1999-01-20 05:11:48 +00:00
Joseph Koshy 1504bb5cd9 Correct use of nonexistent `.SS' macro.
PR: 		docs/8039
Submitted by:	Issei Hirayama <iss@mail.wbs.ne.jp>
1998-09-29 01:42:07 +00:00
David E. O'Brien 2887f586f0 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
Wolfram Schneider acd8019083 Sort cross references. 1998-08-31 16:41:09 +00:00
Bruce Evans 7040dc3f37 Don't assume that time_t is long. Fixed printf format errors (don't
assume that ntohl() returns long).
1998-06-29 17:51:39 +00:00
Bruce Evans 890f10cd58 Don't assume that time_t is long. 1998-06-29 17:38:35 +00:00
Warner Losh f520b5e894 use strncpy correctly
use strncat correctly
check buffer size in graph_name
Change paths from /tmp to /var/run for server sockets

This has been building in my tree for ages, but has remained lightly
tested.
Reviewed by:	jkh ages ago
1998-06-09 05:01:38 +00:00
Bruce Evans a9e1ae4a62 Don't generate y.tab.h, since it is not used. 1998-05-05 13:19:13 +00:00
Bruce Evans 3e75029a9b Simplified by using new yacc rules. 1998-05-04 19:54:56 +00:00
Philippe Charnier f12a14713b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
Bruce Evans b5f50e3158 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
Override the default it it is wrong.

Don't override defaults when the defaults are correct.

Don't give absolute paths to man page sources.
1998-03-07 09:49:12 +00:00
Philippe Charnier aa05c002fa Add rcsid. Change exit(-1). Use err() instead of warn()/exit(). 1998-01-16 07:17:45 +00:00
Bruce Evans f34b67af93 Don't use LDDESTDIR. Just put the -L arg in LDADD. 1997-12-17 15:11:43 +00:00
Philippe Charnier 6ee8ae607a Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
Paul Traina 72b4ef7179 NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00