wiz
3957bea1ef
Fix whitespace nits. Suggested by Bug Hunting.
2012-03-22 07:58:16 +00:00
joerg
4d72fc9046
static + __dead
2011-09-06 18:29:35 +00:00
plunky
87d4f6076b
Apply casts to cases where xdrproc_t is expected but is not
...
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
tls
4147a3c54a
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
...
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
mrg
130d5d4569
call ctime() with an actual time_t *.
2006-05-11 01:25:23 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
wiz
8e96610909
Separate xrefs by a comma.
2001-12-08 19:13:31 +00:00
wiz
ea344ed09a
Add section to xref.
2001-04-04 09:43:52 +00:00
cgd
a8ec668ddf
convert to use getprogname()
2001-02-19 23:03:42 +00:00
cgd
fdfcf1962d
labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l
2001-01-16 02:43:37 +00:00
enami
8ab9946e10
Substitute the cross reference to portmap(8) with rpcbind(8).
2000-07-03 10:06:24 +00:00
fvdl
147850f99c
Adapt to TI-RPC, enable IPv6.
2000-06-03 19:30:03 +00:00
fvdl
02cf1ccebe
Correct last argument to clnt_broadcast.
2000-06-03 14:05:29 +00:00
simonb
d88dfea295
Don't declare 'extern opt*' getopt variables.
2000-04-14 06:11:07 +00:00
garbled
9e44e9b578
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:16:34 +00:00
hubertf
935d606f7d
Get idle time right, per PR 5699 by Urban Boquist <boquist@cs.chalmers.se>
1998-07-03 18:35:35 +00:00
kleink
14c640d35e
Need <time.h> for ctime() prototype. Also, per KNF, don't include both
...
<sys/param.h> and <sys/types.h>; the latter is sufficient.
1998-04-02 10:59:14 +00:00
perry
db49a9331a
change includes to fix compiler warning
1998-02-03 04:08:01 +00:00
lukem
6b42a1d256
don't define WARNS=1 here
1997-10-19 14:27:25 +00:00
lukem
e561335e13
fix up .Nm usage
1997-10-19 14:27:18 +00:00
lukem
fa55e11566
* sanitize long output, fixing buffer overflows whilst doing so
...
* clean up for WARNS?=1
1997-08-24 02:40:40 +00:00
tls
9d225a1783
RCS ID police
1997-01-09 20:18:21 +00:00
jtc
cac62b2d65
Be pedantic, main() returns int in C.
1996-03-21 17:56:15 +00:00
cgd
9e97520947
specify man pages the new way.
1994-12-22 12:30:38 +00:00
jtc
2c7d5d92c9
Fix spelling errors.
1994-01-11 18:22:48 +00:00
jtc
c1e339da11
Must use a struct timeval, not NULL, for the timeout in clnt_call.
1993-12-10 19:33:58 +00:00
deraadt
27e94f1e34
fill hostname:tty field in same way as SunOS
1993-12-03 23:39:15 +00:00
brezak
8af3b17eb0
Use rnusers XDR's in librpcsvc.
1993-11-21 20:18:22 +00:00
mycroft
c018c0e0fe
Oops. Don't want the name spaced out.
1993-11-21 20:02:28 +00:00
mycroft
29ed1ec94a
Make sure we don't run off the end of ut_name when printing the short way.
1993-11-21 19:54:19 +00:00
brezak
a4fc624fbb
Cleanup to use hand-crafted version2 xdr's
1993-11-21 19:01:01 +00:00
deraadt
85889786ad
de-ansify
...
format better, now readable in most cases on 80-char wide screens
and it looks pretty.
1993-11-10 04:19:03 +00:00
jtc
5068ba496f
Add cross references to "SEE ALSO" section.
1993-09-16 01:56:34 +00:00
jtc
29d9ea22b8
Change Sun-OS to SunOS. Every other instance of in manual our manual
...
is typeset that way.
1993-09-16 01:30:19 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
c3e42d1c64
Add RCS indentifiers.
1993-08-01 07:22:47 +00:00
brezak
adbc81e9d6
Line buffer output to work better with more.
1993-06-10 12:28:06 +00:00
brezak
03870a0e58
Add man page.
1993-06-08 19:22:59 +00:00
brezak
0d06258f71
Widen host field and don't truncate host names longer than the field.
...
Display user idle times as days, hours, minutes, seconds.
1993-06-08 14:45:37 +00:00
brezak
db60ef9d46
No need to link with -lrpc
1993-06-04 14:53:53 +00:00
brezak
5f2b367636
Add rup and rusers. Changes to rwall
1993-06-03 19:32:26 +00:00