Home | History | Annotate | Download | only in pstat
History log of /src/usr.sbin/pstat/Makefile
RevisionDateAuthorComments
 1.17  23-Dec-2016  mrg for 64 bit mips platforms where we built userland largely as n32 by
default, build a handful of tools as n64 so they work properly.

unfortunately, they're also static as dynamic n64 has a problem.

of these tools pstat is probably the lowest hanging fruit to convert
to sysctl. systat would be close were it not for the netstat screen,
which includes netstat itself.

the rest are difficult to perhaps foolish.


the upside is that netstat, pmap and fstat all work properly now.
 1.16  02-Jan-2013  dsl branches: 1.16.12;
pstat is a kmem groveller, set -D_KMEMUSER in CPPFLAGS
 1.15  28-May-2007  tls branches: 1.15.34; 1.15.40;
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.14  05-Dec-2006  christos revert debug flags I accidentally committed before.
 1.13  30-Oct-2006  christos branches: 1.13.2; 1.13.4;
kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.
 1.12  18-Sep-2002  lukem use NETBSDSRCDIR as appropriate
 1.11  12-Sep-1999  chs the PMAP_NEW option is gone as the new interface is no longer optional.
 1.10  18-Feb-1998  perry add -DPMAP_NEW if PMAP_NEW is on in mk.conf
 1.9  09-Feb-1998  mrg add -DUVM to CPPFLAGS if defined(UVM)
 1.8  25-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.7  14-Jul-1997  thorpej branches: 1.7.2;
There hasn't been machine-dependent code in pstat since the introduction
of the kernel tty list; garbage-collect -D${MACHINE}.
 1.6  12-Jun-1997  mrg bring mrg-vm-swap2 onto mainilne.
 1.5  11-Jan-1996  thorpej branches: 1.5.2;
New-style RCS ids.
 1.4  25-Dec-1994  pk Define `MAN'.
 1.3  22-Jun-1994  chopps update for amiga (should also enable hp300 specific stuff for them too).
 1.2  13-May-1994  cgd clean up import. rcsids, notdef a bunch of things that don't yet work, etc.
generates a *lot* of warnings (from vnode.h) at compile time, but these
will go away "soon."
 1.1  13-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  13-May-1994  cgd Pstat, from Lite
 1.5.2.1  01-Jun-1997  mrg use swap(8)'s list_swap().
 1.7.2.1  08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.13.4.1  03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.13.2.1  04-Jun-2007  bouyer Pull up following revision(s) (requested by mlelstv in ticket #695):
usr.sbin/pstat/Makefile: revision 1.14
revert debug flags accidentally committed before.
 1.15.40.1  25-Feb-2013  tls resync with head
 1.15.34.1  23-Jan-2013  yamt sync with head
 1.16.12.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)

RSS XML Feed