kleink
41b912792c
postive -> positive
2002-07-03 22:28:28 +00:00
wiz
3560ae7f37
Sort options in getopt string.
2002-07-03 22:19:25 +00:00
hubertf
1b7f271a58
* Add missing 'break'
...
* cosmetic update in getoipt string
Patch supplied by Brian Ginsbach <ginsbach@cray.com> in PR 17473.
2002-07-03 22:12:46 +00:00
wiz
84d465bb02
Improve last.
2002-07-03 22:12:38 +00:00
wiz
53e326dd05
Fix error output for negative argument to '-w'.
...
Also update usage to include -w.
Patches from Brian Ginsbach in bin/17471.
2002-07-03 22:10:28 +00:00
hubertf
e925e82dbe
Document missing -w option.
...
Patch submitted by Brian Ginsbach <ginsbach@cray.com> in PR 17472.
2002-07-03 22:07:33 +00:00
itojun
0b52cc9109
avoid more hardcoded octals. openbsd
2002-06-08 23:43:24 +00:00
itojun
b4daa6bb72
avoid hardcoded octals. openbsd
2002-06-08 23:40:12 +00:00
itojun
5da007343b
avoid hardcoded octals
2002-06-08 23:37:47 +00:00
wiz
01ff6324be
Make ngroups, which is the size of a static array, static too. From
...
Todd Miller in bin/16871.
2002-05-19 17:38:36 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
wiz
b36c0a5406
deamon -> daemon
2002-01-21 14:42:26 +00:00
wiz
5d2bc3031d
empty line -> .Pp; sort sections.
2002-01-19 03:24:14 +00:00
wiz
00dce9aae8
Sort sections, whitespace nit.
2002-01-19 03:23:47 +00:00
wiz
6051a9a396
Sort sections.
2002-01-19 03:23:11 +00:00
wiz
34828cce4a
Convert .Xr to non-existing program to Ic.
2002-01-19 03:22:53 +00:00
wiz
d8081e42ef
Sort SEE ALSO and sections.
2002-01-19 03:22:19 +00:00
wiz
51d0450786
Whitespace and punctuation nits, use standard headers.
2002-01-19 03:21:59 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
christos
e363b58375
Make sure that the we have a valid pathname. [We did the check too late,
...
and we had a buffer overflow]. Bug found by Sebastian Krahmer of SuSE,
fix inspired by patch 008 for OpenBSD-3.0.
2001-12-04 22:52:44 +00:00
wiz
1fd7eeefcd
"than" instead of "then".
2001-11-21 19:14:19 +00:00
enami
6737e7d6b2
Test absense of command differently to avoid null pointer deference
...
when only whitespaces are given.
2001-11-14 03:01:15 +00:00
mjl
c903850da8
Replace 1 and 2 with STDOUT_FILENO and STDERR_FILENO.
...
ANSIfy and constify.
2001-10-09 02:15:37 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
itojun
7cdedd5c84
use strlcpy. from openbsd
2001-08-30 00:53:53 +00:00
itojun
c9e786ce9e
security fix from openbsd:
...
Fix buffer oflow reading from queue file. While we are at it, crank
the size of buffers that can hold filenames to MAXPATHLEN.
2001-08-30 00:51:50 +00:00
mjl
98e1bdc90d
Add -W parameter to lpd to disable check for a reserved port,
...
this is needed to get Win2k print to a NetBSD box. Heavily
inspired by FreeBSD.
2001-08-11 01:04:57 +00:00
mrg
b5ca908e21
extend file size lossage message.
2001-06-25 16:40:50 +00:00
mrg
e1633c19d7
printer of "" becomes the DEFLP (the default printer, "lp")
2001-06-25 15:29:12 +00:00
mrg
a062d79672
use DEFLP instead of "lp".
2001-06-25 11:04:51 +00:00
wiz
6db93e0e58
Replace some .Xr with .Ic (programs non-existing or not in base system).
2001-05-08 17:20:02 +00:00
wiz
8357706e0f
lowercase Lpq in xref, and some whitespace fixes.
2001-04-09 12:50:59 +00:00
wiz
8a9489155e
Fix possible security problem (euid swapout in error handling).
...
Based on a similar patch in OpenBSD, reported there by
j@ida.interface-business.de .
Fix the second occurrance of a similar problem in that file, too, though.
2001-04-05 13:30:02 +00:00
wiz
2ff26b9838
Improve markup, and add sections to xrefs, as well as the obligatory
...
whitespace fixes.
2001-04-05 11:49:14 +00:00
simonb
a378517ea4
80 column police.
2001-03-28 03:17:41 +00:00
cgd
25bdbb661e
convert to use getprogname()
2001-02-19 23:22:40 +00:00
itojun
bcbf09100a
listen to the port number specified on argument, as advertised
...
in document. part of PR 12112 from feico@pasta.cs.uit.no .
2001-02-02 14:20:33 +00:00
lukem
443a19e035
convert to using .WAIT
2001-01-09 03:13:39 +00:00
enami
270db080e9
Use PRINTOBJDIR.
2001-01-07 08:00:54 +00:00
lukem
c2aa46e7c2
use %ll_ instead of the less standard %q_
2001-01-05 03:27:26 +00:00
lukem
279552d3db
fix up various .Nm abuses:
...
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
is
d8302e2d73
More format string cleanups by sommerfeld.
2000-10-11 20:23:46 +00:00
jdolecek
a93350bb37
document output format, so that users would know exact meaning
...
of printed statistics
2000-10-04 11:40:51 +00:00
itojun
78907e0169
don't give result of function directly into syslog, use "%s".
2000-10-03 13:54:31 +00:00
scw
5c0e061414
Free the bind-address list entries, as well as the list itself.
2000-10-03 13:28:27 +00:00
scw
97a603e5b0
Add a "-b" option to specify one or more local addresses to bind
...
to instead of the default INADDR_ANY.
2000-10-03 11:45:30 +00:00
itojun
c8b98b814c
syslog() string format hole.
...
http://www.securityfocus.com/templates/archive.pike?start=2000-09-24&fromthread=0&mid=85023&list=1&end=2000-09-30&threads=0&
2000-09-26 17:44:38 +00:00
sommerfeld
c829aa7773
Fix ingroup() to not check gid against trailing groups not set by
...
getgroups().
Reported to security-officer, but not a security hole, since
"operator" is not gid 0.
2000-08-24 17:40:16 +00:00
itohy
880baa236b
Don't pass null pointer to syslog.
...
lpd[6813]: mail sent to user itohy about job foo.ps on printer lp ((null))
^^^^^^
2000-08-24 02:03:54 +00:00