Commit Graph

35 Commits

Author SHA1 Message Date
joerg
66dd2755f5 Add __printflike attribution to use vprintf and friends with an argument
as format string.
2012-03-15 02:02:20 +00:00
wiz
e6c49c32de More standard Dt/Nm. 2011-10-11 20:39:40 +00:00
christos
08c23328c8 make getcap a link to getent, since many of the databases we use are of the
"cap" format.
2011-10-11 19:25:07 +00:00
christos
5345ba7f3a fix usage formatting. 2011-10-11 19:24:43 +00:00
wiz
2df103a0fe Sort SEE ALSO. New sentence, new line. Whitespace fix. 2010-02-04 09:48:35 +00:00
roy
588d0cb499 getent cannot report on termcap as we now use terminfo. 2010-02-03 18:11:18 +00:00
lukem
c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
lukem
cbe072630f fix sign-compare issue 2009-04-12 10:27:08 +00:00
joerg
ca46068b38 Fix number of columns. 2009-03-15 15:19:57 +00:00
joerg
fc64dfd825 Fix markup 2009-03-11 13:53:09 +00:00
yamt
9ab5d54483 princap -> printcap
(christos said it was just a typo.)

XXX do we want compat for scripts?
2009-02-24 06:10:52 +00:00
tron
684e3b35bd Add support for "netgroup" database. The output format matches what
Linux produces (because Solaris doesn't support this).
2008-05-14 11:44:09 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos
1d50c3e36a add gettytab 2008-02-04 15:30:44 +00:00
christos
a1232e4db1 Add more undocumented capabilities to the *cap printing. 2008-02-02 20:57:20 +00:00
christos
ebcc6ba679 handle cap style databases. 2008-02-01 22:39: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
simonb
b4120542a5 Remove some unnecessary casts. 2006-08-27 06:58:55 +00:00
lukem
e48c097471 getservbyport(3) wants the port in network order.
Noted by Hajimu UMEMOTO <ume@freebsd.org>
via Maxim Konovalov <maxim@macomnet.ru>.
2006-05-04 23:22:21 +00:00
wiz
2ae4fd55cf It is "home_dir:shell", not "home_dir_shell". From YOMURA Masanori in private mail. 2005-09-11 23:16:15 +00:00
ginsbach
2ab55b55e7 Add description of service keys as these maybe in one of several forms. 2005-08-24 14:46:59 +00:00
ginsbach
21b9a99b7c Implement "ethers". 2005-08-24 14:31:02 +00:00
wiz
3822da6877 Bump date for "rpc" support. 2005-01-21 10:32:33 +00:00
ginsbach
6c53b19fbf Implement "rpc" 2005-01-21 02:43:33 +00:00
lukem
e3fa45c35e add some HISTORY about the inspiration for this command 2004-12-03 23:05:32 +00:00
lukem
77966ade4d WARNS=3 2004-11-29 05:02:52 +00:00
lukem
7fde79333c Improve printing of various items to be more human-readable.
Display all the supported databases in the usage.
2004-11-29 05:02:40 +00:00
lukem
6d8ce32cbf Implement "services" 2004-11-29 04:13:15 +00:00
wiz
bd8c343563 No dot at end of SEE ALSO. 2004-11-26 10:15:37 +00:00
lukem
309eefda19 implement "protocols" 2004-11-26 05:07:12 +00:00
lukem
f6f918f7c3 implement "networks" 2004-11-26 04:52:45 +00:00
ginsbach
1468e327a8 Fix what appears to be a typo in the description. 2004-11-24 16:37:44 +00:00
wiz
db85937f2b "..." does not need to be quoted. 2004-11-23 09:06:24 +00:00
lukem
6fc4e8553d getent(1) - get entries from administrative database. 2004-11-23 07:35:06 +00:00