Home | History | Annotate | only in /src/usr.bin/rwall
History log of /src/usr.bin/rwall
RevisionDateAuthorComments
 1.12 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.11 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.10 14-Apr-2009  lukem branches: 1.10.46;
Enable WARNS=4 by default for usr.bin, except for:
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
 1.9 28-May-2007  tls branches: 1.9.20;
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 09-Aug-2005  christos - Minor logical restructure. Make sure we can create the client before
even bothering to call makemsg(); (Liam Foy)
- Use MAXPATHLEN consistently (Liam Foy)
- WARNS=3, KNF and misc cleanups
 1.7 09-Jan-1997  tls RCS ID police
 1.6 22-Dec-1994  cgd specify man pages the new way.
 1.5 02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 1.4 08-Jun-1993  brezak Add man page.
 1.3 04-Jun-1993  brezak No need to link with -lrpc
 1.2 03-Jun-1993  brezak Add rup and rusers. Changes to rwall
 1.1 04-Apr-1993  cgd rwall, mostly-original by cgd.
code snarfed from rwalld (from cgd), and wall (from UCB).
 1.9.20.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.10.46.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 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 30-Sep-2002  grant New sentence, new line.
 1.10 08-Dec-2001  wiz Punctuation nit.
 1.9 03-Jul-2000  enami Substitute the cross reference to portmap(8) with rpcbind(8).
 1.8 22-Mar-1999  garbled branches: 1.8.10;
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.7 19-Oct-1997  lukem WARNSify, fix .Nm usage
 1.6 09-Jan-1997  tls RCS ID police
 1.5 11-Jan-1994  jtc Fix spelling errors.
 1.4 16-Sep-1993  jtc Add cross references to "SEE ALSO" section.
 1.3 16-Sep-1993  jtc Change Sun-OS to SunOS. Every other instance of in manual our manual
is typeset that way.
Remove BUG about sorting options not being supported as rwall never had
sorting. Probably caused when manpage for rup or rusers was used as a
template.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 08-Jun-1993  brezak Add man page.
 1.8.10.1 03-Jul-2000  thorpej Pull up rev. 1.9:
Substitute the cross reference to portmap(8) with rpcbind(8).
 1.17 21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.16 09-Aug-2005  christos branches: 1.16.22;
- Minor logical restructure. Make sure we can create the client before
even bothering to call makemsg(); (Liam Foy)
- Use MAXPATHLEN consistently (Liam Foy)
- WARNS=3, KNF and misc cleanups
 1.15 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.14 16-Aug-2001  enami Check return value of mkstemp correctly.
 1.13 02-Oct-2000  taca - Knf auto variables in modified line by me.
- Print "??" as tty name instead of print nothing. Suggested by jhawk.
 1.12 04-Sep-2000  taca - Check return value of ttyname(3) and prevent to pass NULL pointer for
"%s" in printf style format string.
- Use STDERR_FILENO as paramter for ttyname(3).
 1.11 14-Jun-2000  cgd branches: 1.11.2;
fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.10 19-Dec-1998  christos branches: 1.10.8;
small cast.
 1.9 26-Jul-1998  mycroft const poisoning.
 1.8 06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.7 19-Oct-1997  lukem WARNSify, fix .Nm usage
 1.6 09-Jan-1997  tls RCS ID police
 1.5 10-Dec-1993  jtc Must use a struct timeval, not NULL, for the timeout in clnt_call.
Include appropriate header files to bring prototypes into scope.
Enlarge buffer used for tempfile name -- were trying to stuff ~20
chars into a 15 char buffer.
 1.4 01-Aug-1993  mycroft Add RCS identifiers.
 1.3 03-Jun-1993  brezak Add rup and rusers. Changes to rwall
 1.2 26-Apr-1993  mycroft Fix NULL pointer reference.
 1.1 04-Apr-1993  cgd rwall, mostly-original by cgd.
code snarfed from rwalld (from cgd), and wall (from UCB).
 1.10.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.11.2.2 08-Oct-2000  taca Pull up revision 1.12 -> 1.13, approved by jhawk:

> - Knf auto variables in modified line by me.
> - Print "??" as tty name instead of print nothing. Suggested by jhawk.
 1.11.2.1 01-Oct-2000  taca Pullup revision 1.11 -> 1.12, approved by jhawk:

> - Check return value of ttyname(3) and prevent to pass NULL pointer for
> "%s" in printf style format string.
> - Use STDERR_FILENO as paramter for ttyname(3).
 1.16.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed