History log of /netbsd-src/lib/librmt/Makefile (Results 1 – 9 of 9)
Revision Date Author Comments
# 4147a3c5 28-May-2007 tls <tls@NetBSD.org>

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

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.

show more ...


# ec5dbc56 19-Aug-2002 lukem <lukem@NetBSD.org>

Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)


# 001067bb 12-Dec-2001 tv <tv@NetBSD.org>

Readability cleanups; MKfoo=no -> NOfoo.


# 6ac8d1ec 03-Jul-2000 matt <matt@NetBSD.org>

More include cleanup. Remvoe (p) from #undef in libipsec.


# dcab0210 13-Feb-1999 lukem <lukem@NetBSD.org>

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.


# 5542a7ca 09-Oct-1997 lukem <lukem@NetBSD.org>

- define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
cleaned up
- rcsid police

lib is now clean (e

- define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.

show more ...


# ae6b9c67 09-Oct-1997 lukem <lukem@NetBSD.org>

WARNSify


# 082a7025 13-Aug-1996 thorpej <thorpej@NetBSD.org>

Add an RCS id.


# 67ead261 09-Aug-1996 jtc <jtc@NetBSD.org>

Remote mag tape library from volume 18 of comp.sources.unix.