summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat/Makefile
AgeCommit message (Collapse)Author
2016-12-23for 64 bit mips platforms where we built userland largely as n32 bymrg
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.
2013-01-02pstat is a kmem groveller, set -D_KMEMUSER in CPPFLAGSdsl
2007-05-28Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on thetls
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.
2006-12-05revert debug flags I accidentally committed before.christos
2006-10-30kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks tochristos
/usr/include from /usr/include/sys. This makes all the one way hash header handling identical.
2002-09-18use NETBSDSRCDIR as appropriatelukem
1999-09-12the PMAP_NEW option is gone as the new interface is no longer optional.chs
1998-02-18add -DPMAP_NEW if PMAP_NEW is on in mk.confperry
1998-02-09add -DUVM to CPPFLAGS if defined(UVM)mrg
1997-10-25use CPPFLAGS instead of CFLAGSlukem
1997-07-14There hasn't been machine-dependent code in pstat since the introductionthorpej
of the kernel tty list; garbage-collect -D${MACHINE}.
1997-06-12bring mrg-vm-swap2 onto mainilne.mrg
1996-01-11New-style RCS ids.thorpej
1994-12-25Define `MAN'.pk
1994-06-22update for amiga (should also enable hp300 specific stuff for them too).chopps
1994-05-13clean up import. rcsids, notdef a bunch of things that don't yet work, etc.cgd
generates a *lot* of warnings (from vnode.h) at compile time, but these will go away "soon."
1994-05-13Pstat, from Litecgd