Home | History | Annotate | only in /src/usr.bin/showmount
History log of /src/usr.bin/showmount
RevisionDateAuthorComments
 1.9 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

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.
 1.8 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

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."
 1.7 28-May-2007  tls branches: 1.7.76;
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.6 22-Dec-1994  cgd specify man pages the new way.
 1.5 21-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4 19-Mar-1994  cgd get section right; from Luke Mewburn <lm@rmit.edu.au>
 1.3 08-Oct-1993  cgd no more librpc
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Dec-1994  jtc imported from 44lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.76.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.14 09-Jan-2018  wiz Stop using Tn. New sentence, new line.
 1.13 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.12 15-Jan-2004  grant uppercase NFS acronym
 1.11 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.10 08-Dec-2001  wiz Sort sections.
 1.9 22-Mar-1999  garbled 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.
 1.8 06-Feb-1998  perry macroize BSD, NetBSD, FreeBSD and misc cleanup
 1.7 19-Oct-1997  lukem WARNSify, fix .Nm usage
 1.6 16-Jul-1997  mikel xref mount(8) not nonexistent mount(1)
 1.5 31-Aug-1995  jtc Sync with 4.4lite2
 1.4 21-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.3 10-Feb-1994  jtc Fix typos & spelling errors
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 31-Aug-1995  jtc imported from 44lite2
 1.1.1.2 21-Dec-1994  jtc imported from 44lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.25 05-Jun-2025  bad actually get rid of now unnecessary "len" too
 1.24 05-Jun-2025  bad just always print a space after the exported directory

Don't fret over whether it's 34 or 35 characters when an explicit separator
is necessary, just always print one.

Terminates PR bin/59459 with extreme prejudice.
 1.23 09-Jan-2018  christos branches: 1.23.6; 1.23.14; 1.23.16;
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.22 26-Jan-2016  christos PR/50712: David Binderman: Fix memory leaks.
 1.21 18-Oct-2014  snj src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.20 06-Sep-2011  joerg Use static and __dead.
 1.19 30-Aug-2011  plunky Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
 1.18 27-Feb-2011  mbalmer Don't use 'bool' as variable name. No binary changes.
From Henning Petersen, thanks!
 1.17 13-Apr-2009  lukem branches: 1.17.2;
fix -Wcast-qual issue
 1.16 21-Jul-2008  lukem branches: 1.16.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.15 25-Sep-2005  rpaulo branches: 1.15.22;
ANSIfy. de-P(). Syle nits.
 1.14 25-Sep-2005  rpaulo tcp_callrpc(): bring in the FreeBSD version of this call. It uses the
"new" rpc functions and works with IPv6.
 1.13 06-Aug-2004  mycroft Patch from PR 15181 to try using TCP first, fixing problems with long
responses.
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.11 16-Jan-2001  cgd comment or delete text after CPP directives.
 1.10 21-Nov-2000  msaitoh Insert a tab if the length of the directory > 35 bytes to prevent
concatenation.
 1.9 02-Apr-1998  kleink branches: 1.9.10;
No need to include <socketvar.h>.
 1.8 19-Oct-1997  lukem WARNSify, fix .Nm usage
 1.7 01-May-1996  cgd fix usage message, clean up RPC error printing.
 1.6 01-Apr-1996  mark Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
 1.5 31-Aug-1995  jtc Sync with 4.4lite2
 1.4 24-Dec-1994  cgd pull in stdlib.h
 1.3 21-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 31-Aug-1995  jtc imported from 44lite2
 1.1.1.2 21-Dec-1994  jtc imported from 44lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.10.1 30-Mar-2001  he Pull up revision 1.10 (requested by msaitoh):
Insert tab if the length of the directory is more than 35 bytes,
to prevent concatenation.
 1.15.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.17.2.1 05-Mar-2011  bouyer Sync with HEAD
 1.23.16.1 02-Aug-2025  perseant Sync with HEAD
 1.23.14.1 05-Jun-2025  martin Pull up following revision(s) (requested by bad in ticket #1127):

usr.bin/showmount/showmount.c: revision 1.24
usr.bin/showmount/showmount.c: revision 1.25

just always print a space after the exported directory

Don't fret over whether it's 34 or 35 characters when an explicit separator
is necessary, just always print one.

Terminates PR bin/59459 with extreme prejudice.

actually get rid of now unnecessary "len" too
 1.23.6.1 05-Jun-2025  martin Pull up following revision(s) (requested by bad in ticket #1958):

usr.bin/showmount/showmount.c: revision 1.24
usr.bin/showmount/showmount.c: revision 1.25

just always print a space after the exported directory

Don't fret over whether it's 34 or 35 characters when an explicit separator
is necessary, just always print one.

Terminates PR bin/59459 with extreme prejudice.

actually get rid of now unnecessary "len" too

RSS XML Feed