Commit Graph

4222 Commits

Author SHA1 Message Date
Ruslan Ermilov
1a084f197d Fixed the race caused by not checking the result of fgets(3):
/usr/bin/env MALLOC_OPTIONS=J banner </dev/null

PR:		bin/29074

Fixed the problem when banner(6) would eat last character:

	echo -n a | banner

MFC after:	1 week
2001-07-19 08:07:09 +00:00
Kris Kennaway
c0e30a2b1f Embed $FreeBSD$ as an rcsid[] 2001-07-19 01:39:12 +00:00
Dag-Erling Smørgrav
04d12c9900 If we're writing to stdout, we don't care about the size.
Submitted by:	wollman
2001-07-17 21:23:43 +00:00
Dag-Erling Smørgrav
91404f38f0 WARNS cleanup + remove an unused macro and an unused function argument. 2001-07-17 21:22:32 +00:00
Mike Barcroft
6c56da4a27 Re-write the logic that finds the whois server to query.
[This fixes a bug where one would type 'whois foo.bar.'
and get an error because of the trailing period.]

PR:		28880
Approved by:	des
2001-07-17 20:40:41 +00:00
Ruslan Ermilov
f72acdd4c9 Clarify that MAKEOBJDIR and MAKEOBJDIRPREFIX are environment variables.
Submitted by:	bde
2001-07-16 15:33:34 +00:00
Kris Kennaway
8b16780ac8 Add myself 2001-07-16 00:17:48 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Mark Murray
9061237999 Switch on SHA1 hashing. 2001-07-14 08:34:26 +00:00
Ruslan Ermilov
e8b02a428d mdoc(7) police: -xwidth has been fold into -width. 2001-07-13 09:09:52 +00:00
Ruslan Ermilov
7d20bafcad Generate top.local.h and manpage dynamically, with sed(1) script.
The generated manpage will now describe the actual behavior of
top(1) WRT how many processes it displays.  This also eliminates
all troff(1) warnings.
2001-07-12 15:07:30 +00:00
Maxim Sobolev
2d68ab234d Build/install bzip2 documentation (info page). 2001-07-12 14:44:17 +00:00
Ruslan Ermilov
63914212f0 Eliminate troff(1) warnings that were hiding some useful text. 2001-07-12 14:29:59 +00:00
Ruslan Ermilov
96e0c91959 Eliminate troff(1) warnings that were hiding some useful text. 2001-07-12 14:16:48 +00:00
Ruslan Ermilov
eb89426722 mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
Ruslan Ermilov
625003720a mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
Ruslan Ermilov
63919764c2 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
David E. O'Brien
fb8d590c0e style nit 2001-07-09 23:12:23 +00:00
Mark Murray
8509234471 Remove the S/Key key-handling apps, which are no longer needed, as
they are replaced by opiepasswd, opieinfo and opiekey.
2001-07-09 17:40:57 +00:00
Mark Murray
875afe974f Provide a WANT_INSECURE_OPIE compile-time option, which is useful if
you encrypt all traffic routinely, and is also useful for debugging.

Also, (properly) set SUID bit on relevant apps - opieinfo and
opiepasswd, which need it to mess with /etc/opiekeys.
2001-07-09 17:37:52 +00:00
Ruslan Ermilov
42dadc4a58 mdoc(7) police: eliminate -ww warnings. 2001-07-09 15:46:02 +00:00
Dima Dorfman
70d51341bf mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Dag-Erling Smørgrav
74bd3d7698 Fix an embarassing if-test-reversal bug that broke scheme guessing. 2001-07-08 15:17:26 +00:00
Ruslan Ermilov
5521ff5a4d mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
Ruslan Ermilov
9597e1c260 mdoc(7) police: -column lists require column width specifiers. 2001-07-06 10:07:43 +00:00
Ruslan Ermilov
ac84cb970a mdoc(7) police: moved -u down, fixed markup, removed hard sentence break. 2001-07-05 13:27:33 +00:00
Ruslan Ermilov
29baea0370 Document -u in the usage().
Make usage fit on a standard 80-column display.
2001-07-05 13:21:20 +00:00
Kris Kennaway
013fab318c Mark a function as __printflike() and fix a non-exploitable format string
warning.

MFC after:	1 week
2001-07-05 10:08:25 +00:00
Kris Kennaway
6209021ebd Mark some functions as __printflike()
MFC after:	1 week
2001-07-05 09:54:59 +00:00
Dima Dorfman
ffb9c240d7 Spelling police: extention -> extension. 2001-07-05 08:51:08 +00:00
Kris Kennaway
69c828c6bc Don't generate syslog() statements which have format string vulnerabilities.
MFC after:	1 week
2001-07-05 08:17:41 +00:00
Ruslan Ermilov
865ec6c8fa mdoc(7) police: sort xrefs. 2001-07-05 06:40:06 +00:00
Ruslan Ermilov
8fa6964a78 mdoc(7) police: fixed formatting. 2001-07-05 06:35:03 +00:00
Ruslan Ermilov
b7cd452d78 mdoc(7) police: fixed formatting bugs in rev. 1.27. 2001-07-05 06:27:52 +00:00
Ruslan Ermilov
756ceae899 mdoc(7) police: add missing .Ar in SYNOPSIS. 2001-07-05 06:20:29 +00:00
Ruslan Ermilov
33f6985557 mdoc(7) police: add missing .Ar in SYNOPSIS. 2001-07-05 06:11:10 +00:00
Dima Dorfman
561aef9a69 Revert previous commit; it broke large file support on platforms that
had it to begin with (e.g., the Alpha).

Submitted by:	bde
2001-07-02 22:51:33 +00:00
Wilko Bulte
cf7ae120d9 s/Netherlands/the Netherlands
ISO3166 is *plain wrong* ...

Requested by: grog
MFC after:	1 week
2001-07-02 18:31:34 +00:00
Dima Dorfman
f6751868e4 Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
where necessary.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-30 05:39:36 +00:00
Dima Dorfman
653636c21d Silence a warning on the Alpha.
Reviewed by:	md5(1)
2001-06-30 05:32:29 +00:00
Dima Dorfman
41faa1a791 Silence a warning on the Alpha. 2001-06-30 05:29:57 +00:00
Dima Dorfman
42a0e93daa Correct a spelling error.
PR:		28527
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2001-06-29 21:09:09 +00:00
David E. O'Brien
613170896d Fix editor'o where I lost the `+'. 2001-06-29 13:54:56 +00:00
Yaroslav Tykhiy
08274979f3 Clarify the feature that -exec parameters won't get
shell-expanded when the specified utility is run.

MFC after:	5 days
2001-06-29 12:59:20 +00:00
Ruslan Ermilov
44cffa7c08 - Added entry for Daniel C. Sobral.
- Fixed entry for Charlie Root.
2001-06-29 09:47:27 +00:00
Ruslan Ermilov
1093cc3199 Make `rttrash' variable (#routes not in table but not freed) visible
through ``netstat -rs''.
2001-06-29 09:08:24 +00:00
Ruslan Ermilov
8f309b9151 Fixed bogon in revision 1.37. Don't bogusly print a radix node's
duped key marker (``=>'') for routes with non-positive rmx_expire
metric, such as ethernet interface routes.

MFC after:	1 week
2001-06-29 08:37:12 +00:00
Wilko Bulte
4408e85a6d s/Netherlands/the Netherlands/g 2001-06-28 22:05:32 +00:00
Guido van Rooij
c3c55b7ae3 Up the average age and hope I can still show my face next saturday. 2001-06-28 21:52:49 +00:00
Hajimu UMEMOTO
785d213d3f - create an entry of IPV6CTL_STATS sysctl.
- fix the problem that netstat doesn't show raw6 and icmp6 pcblist.
- make netstat use sysctl to retreive stats of ipv6 and icmpv6
  instead of kread.

Obtained from:	KAME
MFC after:	1 week
2001-06-28 18:06:15 +00:00
Thomas Gellekum
5a7e416108 Fix another buffer overflow.
PR:		15593
Submitted by:	Przemyslaw Frasunek <venglin@lagoon.FreeBSD.lublin.pl>
2001-06-28 12:02:45 +00:00
Mike Smith
48ce3c0e43 Based on a draft email in David Greenman's files, add the birthdate
of FreeBSD.

Submitted by:	dg
2001-06-28 04:08:25 +00:00
Mike Heffner
dcd24e2778 Add the -E flag to not send messages that have an empty body. This is
useful for piping cron script error output by mail.

PR:		bin/9494
Obtained from:	NetBSD
MFC after:	2 weeks
2001-06-28 02:40:07 +00:00
Dima Dorfman
ffabd15013 Minor grammar cleanup.
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-27 23:08:57 +00:00
Dima Dorfman
40682bea9a Implement recursive IP address searches based on the results of a
query to ARIN.

PR:		28426
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-27 23:06:47 +00:00
Dima Dorfman
1807222dac Correct path to wtmp.
PR:		28433
Submitted by:	Joseph Mallett <jmallett@xMach.org>
2001-06-27 06:00:26 +00:00
Mike Heffner
24b9685ca9 Sync manpage and usage. Also fix bug that would always interpret a -c as a
process clear.

PR:	bin/15456
MFC after:	2 weeks
2001-06-27 02:52:57 +00:00
Dima Dorfman
fd8879d3f5 Staticize, constize, de-registerize; don't shadow global definitions;
set WARNS=2.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-26 22:22:19 +00:00
Jens Schweikhardt
9aa042f66c Increase column widths when using -i (they are now wide enough to
hold a 64bit or 32bit ~0 value, i.e. 20 and 10; this anticipates
soon-to-be machines with Exahertz rtc interrupt frequencies. :-)

PR:		bin/16206
Submitted by:	John Capo <jc@irbs.com>
MFC after:	1 week
2001-06-26 18:49:10 +00:00
Ruslan Ermilov
0c5dac789c Submitted by: hm 2001-06-26 08:00:43 +00:00
Dan Moschuk
7b6a37d826 Share my DOB with the world! 2001-06-26 05:04:03 +00:00
David W. Chapman Jr.
629160a49b Originally stated wrong birthplace, thought it was current location. 2001-06-26 04:11:19 +00:00
Dima Dorfman
1fec918b1f The `file' argument is optional.
Obtained from:	OpenBSD
2001-06-26 02:14:13 +00:00
Mike Smith
dbe8e37bbf Admit the shameful truth; I'm really from the east coast. But I left
shortly after I was born.  Honest!
2001-06-25 21:37:43 +00:00
Dima Dorfman
461ce74ab4 Silence -Wshadow and -Wmissing-prototypes; set WARNS=2.
Submitted by:	 Mike Barcroft <mike@q9media.com>
2001-06-25 21:25:27 +00:00
Ruslan Ermilov
845b45fed4 Submitted by: andreas 2001-06-25 09:11:45 +00:00
Dima Dorfman
7309915e7a Nuke unused variables. 2001-06-24 23:41:57 +00:00
Dima Dorfman
9582ea7e62 Include missing header files which define functions for which gcc has
builtints (e.g., exit, strcmp).
2001-06-24 23:22:14 +00:00
Dima Dorfman
7a19d1bbb9 Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
Dima Dorfman
948a3f54a7 Include missing header files which define functions for which gcc has
builtins (e.g., exit).

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-24 19:41:18 +00:00
Dima Dorfman
471caa34a4 Silence warning and set WARNS=2.
Submitted by:	Mike Barcroft <mike@q9media.com>
Reviewed by:	md5(1)
2001-06-24 18:56:00 +00:00
David Malone
5386636d3e Add prototypes and turn on WARNS=?2. 2001-06-24 12:23:54 +00:00
Dima Dorfman
a910f192bb Remove duplicate words. 2001-06-24 01:34:38 +00:00
Jason Evans
9a952e0dda Add myself. 2001-06-24 00:45:03 +00:00
Jens Schweikhardt
f40be3e157 Reduce field width for some columns so that the default output fits in <= 79
columns. 80 columns + newline is a problem for some terminals including syscons.

Requested by:	bde
MFC after:	1 week
2001-06-23 17:52:10 +00:00
Ruslan Ermilov
8c8e8f8013 Three people known to be born on December 18!
Submitted by:	cwt
2001-06-23 17:34:26 +00:00
Ruslan Ermilov
c73d99b567 Add netstat(1) knob to reset net.inet.{ip|icmp|tcp|udp|igmp}.stats.
For example, ``netstat -s -p ip -z'' will show and reset IP stats.

PR:		bin/17338
2001-06-23 17:17:59 +00:00
Bosko Milekic
f70f5dd367 - Fix space allocation for mbstat structure
- Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) to
  get number of CPUs.
2001-06-23 17:04:17 +00:00
Bosko Milekic
4edec6b79a Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) when
getting number of CPUs.
2001-06-23 17:03:27 +00:00
Maxim Sobolev
ab962c79ec By default link statically (like we did in the port) - it provides 8-10%
faster comperssion, which in the bzip2's case could be a big win.
2001-06-23 12:29:14 +00:00
Ruslan Ermilov
aafccd6d93 Honor -s -s (don't show zero stats) with -r, untangle SYNOPSIS further.
(usage() still is not synchronized with SYNOPSIS, intentionally.)
2001-06-23 09:18:57 +00:00
Ralf S. Engelschall
c39435223d Add myself. 2001-06-23 09:16:29 +00:00
Ruslan Ermilov
7b7a4c0417 Average age is 28 years and 11 months.
Submitted by:	hrs, marko
2001-06-23 08:36:11 +00:00
Brian Feldman
668650045e Make sure the average age keeps on decreasing down that slippery slope. 2001-06-23 07:24:18 +00:00
Andrey A. Chernov
cd01c79119 Make the similar changes as in our keyinfo, i.e. allow user to get his own
sequence and allow root to get everybody's one. Before this change user
can't get his own sequence, root required.
2001-06-23 04:48:59 +00:00
Julian Elischer
2137f0edf5 give up and join the party (along with thomas Moestl (same bday))
but maybe this file shouldn't be so widly distributed :-)
2001-06-23 04:37:31 +00:00
Seigo Tanimura
4841abec28 Now how many files would a new committer have to commit? 2001-06-22 22:53:22 +00:00
Wes Peters
3236ec583b Join in the fun. 2001-06-22 22:47:22 +00:00
David E. O'Brien
b0b7095861 Quiet compiler warnings by making `WARNS 2' clean.
Submitted by:	Mike Barcroft <mike@q9media.com>

Set maintainer to myself.  This needs to stay in sync with what Buntils
does, and it would be best to pass functionality changes thru me to make
sure future plans are taken into account.
2001-06-22 21:43:51 +00:00
Dima Dorfman
982f5d88ff WARNS= -> WARNS?=
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
Mario Sergio Fujikawa Ferreira
c55cc749a5 Average tuning and contribute a Brazilian 2001-06-22 15:00:20 +00:00
Paul Saab
81ca9c7060 Add myself 2001-06-22 14:50:34 +00:00
Thomas Moestl
280e1ddd48 Add myself. 2001-06-22 14:43:53 +00:00
Ruslan Ermilov
4208e80251 More average age tuning.
Submitted by:	andy
2001-06-22 13:14:01 +00:00
Daniel C. Sobral
d3460d6609 Correct small typo on debug message.
PR:		bin/28337
Submitted by:	Koga Youichirou <y-koga@jp.freebsd.org>
MFC after:	1 week
2001-06-22 12:54:55 +00:00
Ruslan Ermilov
31ae0147d1 Fixed average age (28 years and 11 months).
Submitted by:	hosokawa
2001-06-22 10:11:39 +00:00
Gregory Neil Shapiro
5631132741 Add myself. It looks like I am in very good company in November. 2001-06-22 08:11:06 +00:00
Kevin Lo
45850e3066 Add myself 2001-06-22 07:35:56 +00:00
Ruslan Ermilov
a87032d57f - Fixed bogon in rev. 1.14 (dates are separated by a tab).
- Sort people that have the same birthday by a year.
- Added some missing data (R.O.C. for Taiwan, Australia for peter,
  Englang -> United Kingdom).
- Fixed bogon in rev. 1.1 (INITCAP() was not worth doing).
- Regenerate (from the Oracle database).

Average age: 28 years and 10 months.
2001-06-22 06:41:16 +00:00