summaryrefslogtreecommitdiff
path: root/usr.bin/fstat/Makefile
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2022-06-19Add basic ZFS support to fstat(1).simonb
XXX: Use a local zfs_znode.h for a znode_t definition because the ZFS kernel code makes it too hard to include headers from userland.
2019-10-13introduce some common variables for use in GCC warning disables:mrg
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
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.
2016-01-23put _KMEMUSER in the Makefilechristos
2011-09-10add libutil.christos
2009-04-14Enable WARNS=4 by default for usr.bin, except for:lukem
awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint
2008-07-22a better attempt on printing dtype_miscchristos
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-02-10PR/32788: KAMADA Ken'ichi: add support for tmpfschristos
2005-07-17WARNS=3, knf, ansi prototypeschristos
2005-01-10Only compile in IPv6 support if ${USE_INET6} != "no"lukem
MKINET6 is for providing IPv6 infrastructure. USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2004-12-12Add ptyfs.christos
2000-01-17IPv6 support.itojun
NetBSD PR: 9199 (with minor changes)
1999-09-12the PMAP_NEW option is gone as the new interface is no longer optional.chs
1999-08-02add support for ntfsjdolecek
1999-03-24completely remove Mach VM support. all that is left is the all themrg
header files as UVM still uses (most of) these.
1999-02-18as suggested by chuck cranor, pull in some openbsd mods:lukem
* display ip address details of tcp/udp connections * display isofs details * use %p instead of %lx in error messages other mods by me: * don't put \n at the end of err()/warn() format * man page cleanups (use .Dq and .Pq as appropriate)
1998-03-04fstat(1) also depends on UVM and PMAP_NEW.mycroft
1997-01-09RCS ID policetls
1994-08-03do not need -I/sysderaadt
1994-06-13Merge local changes.mycroft
1994-05-20Aid cross-compiling, like iostatpk
1994-05-09clean up importcgd
1994-01-28needs -lkvm, not -lutilcgd
1993-07-31Add RCS indentifiers.mycroft
1993-06-17Don't need -I/sys. (Why was it here?)mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd