Home | History | Annotate | only in /src/usr.sbin/map-mbone
History log of /src/usr.sbin/map-mbone
RevisionDateAuthorComments
 1.11 03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.10 06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.9 28-May-2007  tls 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.8 05-Mar-2003  wiz Move back here from gnu/dist/map-mbone now the mrouted license is cleared.
 1.7 01-Oct-2002  itojun move mbone tools out of basesrc, as they use part of mrouted
 1.6 01-Oct-2002  itojun fix .PATH to mrouted
 1.5 25-Oct-1997  lukem branches: 1.5.10; 1.5.12;
use CPPFLAGS instead of CFLAGS
 1.4 08-May-1997  gwr branches: 1.4.2;
Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.3 06-May-1997  gwr Use .PATH.c: ...
 1.2 03-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.4.2.1 08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.5.12.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.5.10.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.6 05-Mar-2003  wiz Add license, from OpenBSD.
 1.5 05-Mar-2003  wiz Move back here from gnu/dist/map-mbone now the mrouted license is cleared.
 1.4 01-Oct-2002  itojun move mbone tools out of basesrc, as they use part of mrouted
 1.3 19-Jan-2002  wiz branches: 1.3.2;
Whitespace nits.
 1.2 03-Oct-1995  thorpej branches: 1.2.16;
New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.2.16.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.3.2.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.28 03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.27 04-Feb-2018  mrg branches: 1.27.4;
fixes for GCC 6.4:

mail's execute() needs a volatile for setjmp().

telnet has a missing {} issue.

isdnd's print_config() has a missing/wrong {} issue, and
its p_q931bc() has inconsistent indentation (but not any
actual problem.)

map-mbone's accept_neighbors2() compares a vs. a instead
of a vs. b.

sysinst's pm_cgd_check() has missing {} issue.

timed's main() has missing {} issue.
 1.26 23-Jan-2018  sevan Missed another main() prototype.
 1.25 15-Dec-2007  perry include sys/cdefs.h so that __attribute__ can be fixed later
 1.24 22-Feb-2007  hubertf branches: 1.24.4;
Pull in ctype.h after it was removed from 'defs.h' in previous commit
to src/usr.sbin/mrouted.
 1.23 09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.22 30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.21 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.20 17-May-2003  itojun fix strncat too. from wiz
 1.19 17-May-2003  itojun strlcpy
 1.18 17-May-2003  itojun strlcat
 1.17 16-May-2003  dsl Make this comple with modified mrouted sources.
 1.16 05-Mar-2003  wiz Move back here from gnu/dist/map-mbone now the mrouted license is cleared.
 1.15 01-Oct-2002  itojun move mbone tools out of basesrc, as they use part of mrouted
 1.14 23-Sep-2002  mycroft null commit
 1.13 23-Sep-2002  itojun poll.h, not sys/poll.h
 1.12 19-Sep-2002  mycroft select() -> poll()
 1.11 09-Aug-2002  itojun die if fd_set overrun. (they're not setuid binary so it is not that critical)
 1.10 14-Jul-2002  wiz Unifdef __STDC__. ANSIfy. Remove __P().
 1.9 02-Jun-2002  itojun missing memset() for sockaddr. from deraadt
 1.8 24-Sep-2001  wiz branches: 1.8.2;
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
 1.7 01-Aug-2001  itojun updated copyright notice from Xerox. via openbsd
 1.6 06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.5 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.4 09-May-1998  kleink branches: 1.4.2; 1.4.10;
Use strerror(3) instead of sys_errlist and sys_nerr.
 1.3 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.2 03-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.4.10.2 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.4.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.4.2.1 19-Oct-2000  he Pull up revision 1.5 (requested by he):
Format string cleanup.
 1.8.2.2 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.8.2.1 04-Jun-2002  lukem Pull up revision 1.9 (requested by itojun in ticket #140):
missing memset() for sockaddr. from deraadt
 1.24.4.1 09-Jan-2008  matt sync with HEAD
 1.27.4.1 10-Jun-2019  christos Sync with HEAD

RSS XML Feed