Home | History | Annotate | Download | only in rcmd
History log of /src/bin/rcmd/Makefile
RevisionDateAuthorComments
 1.11  28-May-2007  tls branches: 1.11.78;
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.
 1.10  26-Jun-2005  christos sprinkle a little const, and now everything compiles with WARNS=3
 1.9  16-Oct-2004  christos Add WARNS=3
 1.8  16-Oct-2004  dan teach rcmd about getport move in rsh directory
 1.7  05-Sep-2004  manu Kerberos support is broken in rcommands, thus making -K -k and -x options
unavailable. Remove theses options from the man pages (it won't be very
hard to bring them back if we fix kerberos one day)
 1.6  19-Aug-2002  lukem branches: 1.6.2;
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
 1.5  10-Oct-1997  christos CFLAGS->CPPFLAGS
 1.4  20-Jul-1997  christos Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
 1.3  20-Jul-1997  christos Add WARNS=1
 1.2  26-May-1997  mrg merge conflicts.
 1.1  16-Feb-1997  mrg branches: 1.1.1; 1.1.2;
file Makefile was initially added on branch mrg-rcmd.
 1.1.2.1  16-Feb-1997  mrg new rcmd(1) command, mostly cloned from rsh(1). for use with the
new rcmd(3) suite.
 1.1.1.1  26-May-1997  mrg rcmd backend.
 1.6.2.1  12-Nov-2004  he Pull up revision 1.8 (requested by martin to fix ticket #928):
Build with the new factored-out getport file in the rsh directory.
 1.11.78.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.11.78.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed