Brian Somers
0baa3ca450
Fix my previous snprintf() patches (which were largely no-ops).
...
Mostly submitted by: bde
2001-08-23 12:53:15 +00:00
Pete Fritchman
a81c08b054
Add myself.
...
Reviewed by: ade
2001-08-22 23:13:55 +00:00
Mike Barcroft
666fb6724a
Take maintainership of whois(1).
2001-08-21 19:24:50 +00:00
Ruslan Ermilov
65c7e9c195
Update -v documentation to match reality.
...
Spotted by: bde
2001-08-21 15:59:55 +00:00
Brian Somers
08741a6f5c
Revert to version 1.16 which was more correct than either of my attempts.
2001-08-21 12:54:15 +00:00
Brian Somers
ce595235cb
Display a better error message when snprintf() returns < 0
...
Pointed out by: bde
2001-08-21 11:39:45 +00:00
Brian Somers
081f2a7ec6
Handle overflows from snprintf(), not just returns of < 0
...
Pointed out by: bde
2001-08-21 11:39:32 +00:00
Brian Somers
051449d576
Remove unnecessary casts.
...
The original (1.16) code was mostly correct, but this version is
far clearer.
Casts suggested to now be obfuscations by: bde
2001-08-21 11:24:53 +00:00
Brian Somers
cbe1d3b630
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 14:46:40 +00:00
Mark Murray
b174363035
Very minor stylistic nit.
...
Discussed with: ru
2001-08-20 12:46:11 +00:00
Mark Murray
012b940383
Code merge and diff reduction between this and crypto telnet.
...
Also remove useless AUTHENTICATION code. We have never compiled this
here, and it is doubtful that it even works without crypto.
2001-08-20 12:21:31 +00:00
Brian Somers
2aad70eb9e
Don't misuse the return from snprintf.
...
MFC after: 2 weeks
2001-08-20 11:58:05 +00:00
Kris Kennaway
a0b13740e8
Don't overflow a buffer from command line arguments.
...
MFC after: 2 weeks
2001-08-20 09:43:04 +00:00
Kris Kennaway
04228e35d9
Part II of libss retirement: zap mk_cmds too.
...
Pointy hat to: kris
2001-08-20 06:23:35 +00:00
Dag-Erling Smørgrav
eab5a80417
Remove a blank line that snuck in with the previous commit.
...
Set the default timeout to 120 seconds instead of 0 (no timeout).
2001-08-18 10:48:55 +00:00
Peter Wemm
cccce27ae3
Correct path (../crypto, not ../../crypto)
2001-08-18 03:36:26 +00:00
Dag-Erling Smørgrav
db695db7f0
Add some comments.
2001-08-17 22:22:45 +00:00
David E. O'Brien
1687fcd346
Use a build-tool to create the .mgc files.
...
Submitted by: ru (partial)
Obtained from: NetBSD (basic idea)
Reviewed by: bde, ru
2001-08-17 17:21:38 +00:00
Max Khon
9a94731096
add an entry about myself
...
Reviewed by: jdp
2001-08-17 05:59:39 +00:00
Mike Heffner
cbf16fdf21
Print a space between the function name and line number.
...
PR: bin/10980
MFC after: 2 weeks
2001-08-16 16:18:14 +00:00
Mike Heffner
1ac49cd896
Add $FreeBSD$
...
MFC after: 2 weeks
2001-08-16 16:16:07 +00:00
Sheldon Hearn
d1050cb33c
* Update author's e-mail address.
...
* When the author of an utility also wrote its manual page (a rarety, I
know), it is not necessary to say that the utility "and this manual
page" were written by the author.
2001-08-16 08:40:54 +00:00
Sheldon Hearn
b63c01391e
Use the .Cm macro to mark up the modifiers of the -s flag's size argument.
2001-08-16 08:19:09 +00:00
Mike Heffner
327a1d9ddb
Fix usage message, the executable is optional.
...
PR: bin/29735
MFC after: 2 weeks
2001-08-15 21:25:50 +00:00
Ruslan Ermilov
bf1bf89163
Substitute ARGSTR in-place.
...
Forgot trailing newline in usage().
2001-08-15 15:24:08 +00:00
Ruslan Ermilov
d143364652
Fixed the usage() string.
...
This also reverts change in rev. 1.36 to the documented
style of writing usage().
PR: bin/29730
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-15 15:11:52 +00:00
Ruslan Ermilov
ccb8bea4f0
The old fmt(1) always did what the new ``-l 8'' option does.
...
POLA: Changed the default to ``-l 8'' while still providing
a way to disable this feature with ``-l 0''.
PR: bin/29247
Reviewed by: iedowse
2001-08-15 14:53:55 +00:00
Ruslan Ermilov
d628d776c4
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
Kazuo Horikawa
d8ac53f249
Removal of following export controll related sentences:
...
o This option is not available outside of the United States and Canada.
o Because of export controls, TELNET ENCRYPT option is not supported outside
of the United States and Canada.
src/crypto/README revision 1.5 commit log says:
> Crypto sources are no longer export controlled:
> Explain, why crypto sources are still in crypto/.
and actually telnet encryption is used outside of US and Canada now.
Pointed out by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
Reviewed by:no objection on doc
2001-08-15 01:23:30 +00:00
Jens Schweikhardt
fa7a1ab968
Add hint about how we name profiled libraries (append _p at the right place).
...
PR: 8061
Submitted by: Brandon Gillespie <brandon@ice.cold.org>
Reviewed by: joerg, ru
MFC after: 5 weeks
2001-08-14 17:48:29 +00:00
Thomas Gellekum
566f6e4f1e
Fix INT 10:09 (write char) and INT 10:0a (write char and attribute)
...
when cursor is at the lower right corner.
PR: 29574 29601
Submitted by: Nils M Holm <nmh@t3x.org>
2001-08-14 11:57:14 +00:00
Thomas Gellekum
f7448f4297
Move update of BIOS variable at 0x6c (time counter) completely to timer.c.
...
Suggested by: Igor Serikov <bt@turtle.pangeatech.com>
2001-08-14 11:54:37 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Dima Dorfman
dd6ba956da
An empty at.deny doesn't mean everyone can use at.
...
PR: 29549
Submitted by: swear@aa.net
2001-08-14 06:41:20 +00:00
Peter Wemm
9a2e7f1520
Initialize outfile in main()
2001-08-13 21:59:04 +00:00
Peter Wemm
668f24deae
Initialize msg in main()
2001-08-13 21:58:16 +00:00
Peter Wemm
ec26f57025
Initialize fp in main()
2001-08-13 21:57:12 +00:00
Peter Wemm
c7a12b501b
Initialize debugf in main()
2001-08-13 21:56:39 +00:00
Ruslan Ermilov
ed2879a5cf
mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.
2001-08-13 17:07:40 +00:00
Ruslan Ermilov
c5e7e03a14
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Mike Barcroft
ede8b1c50a
Fix some bogus strncpy(3) to strlcpy(3) changes I made in the previous
...
revision. <utmp.h> structures don't leave room for a NUL character.
Also fix "UNKNOWN" which should have just been UNKNOWN.
Pointed out by: bde
2001-08-13 05:56:27 +00:00
Mark Murray
37ee76af52
Remove the WANT_INSECURE_OPIE option - it is now a default. This is not
...
nearly as ominous as it sounds, and it allows OPIE to be used over SSH
and on xterms.
Requested by: ache
Discussed on: -security
2001-08-12 18:47:56 +00:00
Mike Barcroft
9ab4f41231
o Replace occurrences of strncpy(3) with strlcpy(3); most of
...
the uses of it were wrong anyway.
o Always check for NULL returns on strdup(3).
o Fix a possible buffer overflow in strcpy(3).
o Fix a format string vulnerability.
o t->ty_type in stypeof() could be NULL and eventually cause
a segmentation fault in setenv(3), so check for that.
Eyeballed by: kris
Reviewed by: murray
MFC after: 3 days
2001-08-12 17:54:49 +00:00
Kenneth D. Merry
9674f1d43a
Change the compute_stats() call to the new devstat_compute_statistics()
...
interface.
Cast the return of the rest of the printfs in here to void.
Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
2001-08-11 19:41:56 +00:00
Mark Murray
788222e410
Set the RUSER for PAM so that (eg) kerberos can set up tickets properly.
2001-08-11 14:24:13 +00:00
Mark Murray
8cc3b02f98
WARNS=2 type cleanup.
...
WARNS=2 cannot be enable because of an unresolvable conflict in arg 2
of execv(). Document this in the Makefile.
Reviewed by: bde (su.c only)
2001-08-11 14:22:32 +00:00
Kris Kennaway
57c6bd978f
Don't call errx() with a variable format string
...
MFC after: 1 week
2001-08-11 00:49:11 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Ruslan Ermilov
57e4378bf6
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00