Commit Graph

21 Commits

Author SHA1 Message Date
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