Commit Graph

43 Commits

Author SHA1 Message Date
lukem 9c1945664c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
jnemeth fb9f0ce447 PR/36867 - Zafer Aydogan -- trsp is no longertrpt.8 2007-08-30 18:53:54 +00:00
jmcneill afa3505c29 Make trpt build again, based on recent netstat changes. 2007-07-10 22:23:13 +00:00
tls 4147a3c54a 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.
2007-05-28 12:06:17 +00:00
rpaulo e288e9d823 Show ECN ECE and CWR flags too. 2006-03-31 10:20:21 +00:00
rpaulo 8dd8736f37 trpt(8) no longer needs to be installed setgid kmem. 2005-09-06 03:05:15 +00:00
rpaulo 3bbe36c3d8 Update for the recent changes of trpt(8) and describe the sysctls.
Bump date.
2005-09-06 03:04:49 +00:00
rpaulo 7c18197a2e If reading values from a live system use sysctls net.tcp.inet.(debug|debx)
and kern.hardclock_ticks. Also, remove the set*gid() calls.
2005-09-06 03:04:15 +00:00
lukem 1fab072e48 appease gcc -Wuninitialized 2005-06-02 09:42:57 +00:00
perry d34cc2ba13 de-__P, ANSIfy function declarations, remove obsolete "register" declarations 2005-02-06 05:00:46 +00:00
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
itojun 4a7fa92f21 no need for explicit '?'; openbsd 2003-09-19 08:24:07 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
thorpej 9abf2fa449 Update for callout changes, and show TCP timers in relative, rather
than absolute ticks.
2003-02-04 01:22:08 +00:00
thorpej a2ca4434b0 Test CALLOUT_PENDING, not CALLOUT_ACTIVE. 2003-02-04 00:20:50 +00:00
itojun 7bd25b06e9 die if out-of-range address is specified to -p 2002-11-16 04:20:42 +00:00
soda bcb7e65b95 revision 1.5 missed to add option -N and -M to 3rd argument of getopt(3). 2002-10-12 08:57:16 +00:00
wiz f5e1a54bb6 Sort sections. 2002-02-02 02:03:48 +00:00
wiz a2d753e3ef Whitespace nits. 2002-01-19 11:44:57 +00:00
thorpej dd5462b93f Update for TCP timer changes. 2001-09-11 15:45:01 +00:00
itojun 48375d983c copy necessary variables from sys/netinet/tcp_debug.c.
not sure if it is the right way to deal with this.
2001-07-09 07:54:59 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
itojun 38646d353f IPv6 support. 1999-07-01 19:15:03 +00:00
garbled d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
mrg 80efe80bc9 - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem 8b8cc0b749 minor .Nm cleanup 1997-10-17 13:57:46 +00:00
thorpej a2d326c63c Fix potential bad pointer arithmetic interaction with sort comparison
function.
1997-07-23 16:41:43 +00:00
thorpej b8a640f6ab Fix thinko in previous. 1997-07-23 16:27:50 +00:00
thorpej aba777d837 Garbage-collect some now-incorrect text. 1997-07-23 08:39:33 +00:00
thorpej 1f6eefecf8 - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Remove
all of the old 4.{2,3}BSD VM goop.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings (including a Metric *load of printf formats).
- Build with WARNS.
- Update copyright.
1997-07-23 08:19:59 +00:00
mikel 35c642e5b1 merge lite-2 changes, RCSid police 1997-07-23 06:31:43 +00:00
tls b032699c54 rather amusing typo. Perhaps this was a tunafish? 1997-01-19 10:52:10 +00:00
jtc 0f9ea1b77e Fix dangling 'The'; From Mike Long <mike.long@analog.com> 1996-02-05 06:11:16 +00:00
cgd ca58df5133 be more careful with types. 1994-12-23 16:35:50 +00:00
cgd d065420b32 specify man pages the new way. 1994-12-22 11:43:15 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 3731815919 Add RCS identifiers. 1993-07-30 20:50:20 +00:00
mycroft 77f1922b02 Fix up FILES sections. 1993-06-13 23:06:41 +00:00
mycroft e52e93dd80 Update file names. 1993-06-13 22:36:44 +00:00
cgd cf98284671 added accton, edquota, flcopy, gettable, htable, iostat, quotaon,
repquota, trpt, and trsp, per (currently alpha) patch 125.
1993-04-09 12:15:37 +00:00