Commit Graph

121 Commits

Author SHA1 Message Date
kris
a47418c2c8 * fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
creation.

* Tag the internal err() function with __printflike to allow checking
  for non-constant format string arguments (none exist)

* Use fmtcheck() to sanitize the tar command obtained via -t to make
  sure it doesn't contain extraneous format operators.

Reviewed by:    mikeh
MFC after:      1 week
2001-05-06 03:03:45 +00:00
ru
b15a893144 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
42350947e7 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
mckay
f9fd3e8185 There is an arbitrary file size limit in ctm of 20MB. By my reckoning,
ports/INDEX,v is currently 19.97MB and will blow this limit on the next
update.  Let's try doubling the limit again, to give us time to get
around to removing the limit altogether.
2001-02-19 12:04:46 +00:00
ru
606eb8b7a4 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:44:04 +00:00
ru
522216623a Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
ru
86f1384c5d mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
obrien
46d04a9db4 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
c3189e713e mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
ben
354e118452 remove trailing periods from SEE ALSO. 2000-11-15 17:27:54 +00:00
ru
b42832df66 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
ru
f9c7198049 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
gshapiro
b91094c561 Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
kris
ad1e82fa25 Change use of perror() to warn()
Submitted by:	bde
2000-08-03 23:13:35 +00:00
chuckr
30644d5d83 Doubling the size of MAXSIZE because of large delta indigestion.
Submitted by:	Stefan Esser.
2000-06-21 13:34:16 +00:00
nik
1a60b5b043 Mark "name" as being an argument, so it is formatted correctly.
PR:             docs/16834
Submitted by:   Greg Lewis <glewis@trc.adelaide.edu.au>
2000-03-07 13:32:11 +00:00
chuckr
c3243a2a2c Correcting SECURITY warning.
Submitted by:	Kris Kennaway
Reviewed by:	Warner Losh
2000-01-29 21:44:42 +00:00
kris
4ced458d91 Fix insecure tempfile handling.
Reviewed by:	audit@freebsd.org
2000-01-16 21:11:19 +00:00
phk
9af37b2578 |Since I had suffered from partially applied CTM deltas, some time ago,
|I made ctm ignore deltas for files that match the "after edit" MD5.
|(In one case, I had the compiler fill all temporary space while CTM
|was editing files.)

Submitted by:	se
Reviewed by:	phk
2000-01-15 19:45:18 +00:00
kris
0d1fe1469e Document the (in)security features of CTM, especially ctm_rmail. 2000-01-11 07:46:33 +00:00
kris
5545813344 Close buffer overflows. This is partially based on an old version of
the fix from OpenBSD.

Reviewed by:	markm
2000-01-09 07:10:04 +00:00
markm
4b44775d54 Correct the email address that folk are to bug if they need
help; also point them in the direction of the source, not
PHK (or any other human) if they need to make CTM deltas
of their own.
1999-11-29 17:58:58 +00:00
phantom
5f7f9c4fa2 Remove comments left since mdoc.template time or just useless comments 1999-10-30 15:38:20 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
mpp
0fc7bcdcdf Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
that whatis(1) will produce the expected results.

Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
danny
09c6c69fe7 Use 4 digit year in log file, rather than 2. 1999-01-19 11:52:57 +00:00
nectar
880c1aa513 Paranoia: use mkstemp instead of mktemp.
PR:		bin/3211
Reported by:	Mark Pritchard <mpp@FreeBSD.ORG>
1998-07-27 22:26:25 +00:00
phk
57821e054a Spellint fixes.
PR:		6903 (not the contrib bits).
Reviewed by:	phk
Submitted by:	Josh Gillam <josh@quick.net>
1998-06-10 12:33:41 +00:00
rnordier
c510490b67 Spelling/typo fix: (proccessed). 1998-04-20 20:57:16 +00:00
rnordier
0026daa3ff Spelling/typo fixes: (proccessed, og). 1998-04-20 20:55:43 +00:00
cracauer
066a804b75 (evil) hackers -> crackers 1998-04-08 12:00:48 +00:00
charnier
c94dce23b1 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
wosch
d4d32c9c2f Delete ctm_scan program. There is no manpage for ctm_scan
and nobody use it.

Reviewed by: phk & Richard Wackerbarth
1997-10-12 19:58:53 +00:00
charnier
24b6185548 Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
jmg
d3cdd4aa57 fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4424
1997-08-30 11:05:34 +00:00
imp
15c4d207bc compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
peter
32d6b795de Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
wosch
00e37028d0 Sort cross references. 1997-01-20 00:03:00 +00:00
alex
ee019a53dc Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
jkh
9c0cd3f9df 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
phk
11a6189e5e Be a little less fatalistic in case of problems.
Reviewed by:	phk
Submitted by:	wosch
1996-12-28 13:50:34 +00:00
mckay
c7ae0f858b Correct MLINKS, now that I know how it actually works. 1996-12-17 14:28:09 +00:00
mckay
20f33ca115 Documented ctm_dequeue and the new feature of ctm_smail that goes with it.
Expanded the ctm_rmail example usage section.
1996-12-15 15:10:11 +00:00
mckay
d09481ba90 Simplified. Some fts related bugs removed. Made less verbose. The default
number of mail messages sent per run was lowered from 2 to 1.  Why?  Well,
some numbers just give you the warm fuzzies, like zero and one.  Zero isn't
much use here, so I picked my all time favourite, one.
1996-11-27 13:06:51 +00:00
mckay
e8edbb9c6b Removed unnecessary locking. Simplified. Tidied. 1996-11-27 12:58:44 +00:00
phk
bd2871f3f6 Don't dump core on zero-size files. 1996-11-21 15:17:04 +00:00
phk
a16bcbe1a6 Latest reality. 1996-11-20 08:21:27 +00:00
phk
452808e5be Make the case where there is no changes look less fatal. 1996-11-17 08:11:18 +00:00
phk
136a6776dd Check bogus and ignore against the relative name, not the absolute. 1996-11-16 22:05:46 +00:00
phk
ef4965625d Improve mkctm.c so we can use it, and start using it.
This should help quite a bit on the load.  Notice that
some minor changes in config files will be needed.
Contact me for details.
1996-11-16 19:30:14 +00:00