Home | History | Annotate | only in /src/lib/libpam/modules/pam_lastlog
History log of /src/lib/libpam/modules/pam_lastlog
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 10-Oct-2019  kre Only exclude gcc-8 warnings if the gcc we're using is gcc>=8
 1.9 09-Oct-2019  christos don't warn for strncpy wtmp fields, they are not NUL terminated.
 1.8 27-Oct-2008  mrg branches: 1.8.60;
use LIBDPLIBS+= not =.
 1.7 27-Oct-2008  mrg don't set LIBDPLIBS in libpam/modules/Makefile - it is not necessary
and it interferes with the compat lib build. don't use LIB_ROOT_DIR.
 1.6 03-Mar-2005  christos - Fix the quiet option; use login_cap to determine if we should print or not.
- Add nested user handling, including a no_nested option to control it.
 1.5 01-Feb-2005  christos Re-write to use both utmp and utmpx properly.
 1.4 29-Dec-2004  lukem Use LIBDPLIBS to provide the list of libraries for the modules to depend
upon, because:
* it's MUCH quicker; no need to calculate the OBJDIRS of every library
we might require in every subdir.
(make obj drops from 21s to 3s on my system.)
* it's more robust when building to a fresh DESTDIR.
 1.3 29-Dec-2004  christos Link with libraries from the source build directory.
 1.2 12-Dec-2004  christos - NetBSD build glue
- Warning fixes
- RCSID's
 1.1 12-Dec-2004  christos branches: 1.1.1;
Initial revision
 1.1.1.1 12-Dec-2004  christos - Import freebsd's version of libpam as of today (20041212).
- Did not import opie, passwdqc, tacplus. We need to decide what to do
with them.
- Imported radius and ssh, although they will not work until we
import libradius and re-structure our tree to install libssh.
 1.8.60.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.7 03-Mar-2005  christos Document the no_nested option.
 1.6 26-Feb-2005  thorpej Merge PAM20050226.
 1.5 26-Feb-2005  thorpej Minor wording consistency nit.
 1.4 02-Feb-2005  wiz Sort SEE ALSO, fix an xref, and s/FreeBSD/.Fx/.
 1.3 01-Feb-2005  christos Re-write to use both utmp and utmpx properly.
 1.2 12-Dec-2004  christos - NetBSD build glue
- Warning fixes
- RCSID's
 1.1 12-Dec-2004  christos branches: 1.1.1;
Initial revision
 1.1.1.2 26-Feb-2005  thorpej Import FreeBSD's PAM modules corresponding to the ones we currently
support as of today (20050226). This brings in some fixes to a few
of the PAM modules.
 1.1.1.1 12-Dec-2004  christos - Import freebsd's version of libpam as of today (20041212).
- Did not import opie, passwdqc, tacplus. We need to decide what to do
with them.
- Imported radius and ssh, although they will not work until we
import libradius and re-structure our tree to install libssh.
 1.15 07-Jan-2014  joerg Annotate logit to provide transitive format string checks.
 1.14 03-Jan-2012  christos branches: 1.14.6;
avoid using %m in format.
 1.13 26-Jan-2009  lukem branches: 1.13.8;
sign-compare fixes
 1.12 03-Nov-2006  christos init the syslog data.
 1.11 03-Nov-2006  christos use the re-entrant syslog functions so that we don't depend on the syslog
settings of the calling program.
 1.10 18-Mar-2006  jnemeth Fix Coverity run 5, issue 2022 -- memory leak.
Approved by christos@.
 1.9 19-Feb-2006  christos PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin
 1.8 19-Apr-2005  christos check for pwd != in getpw*_r functions.
 1.7 31-Mar-2005  thorpej Use getpwnam_r().
 1.6 05-Mar-2005  christos branches: 1.6.2;
PR/29566: Izumi Tsutsui: login(1) shows wrong last-login-from host
Caused by improper initialization of struct lastlogx. Code has been
completely restructured, and we also now use pam_prompt() instead of
printf().
cvs: ----------------------------------------------------------------------
 1.5 03-Mar-2005  christos - Fix the quiet option; use login_cap to determine if we should print or not.
- Add nested user handling, including a no_nested option to control it.
 1.4 04-Feb-2005  he Introduce a few more temporary variables, in order to avoid an ugly
double cast in the pam_get_item() invocations. The double cast
triggered a "discards qualifier" warning/error from gcc 2.95.3, while
trying to fix that by adding "cost" to the "void *" cast produced
a similar warning from gcc 3.3. This now compiles without warning
with both compilers.

Approved by christos
 1.3 01-Feb-2005  christos Re-write to use both utmp and utmpx properly.
 1.2 12-Dec-2004  christos - NetBSD build glue
- Warning fixes
- RCSID's
 1.1 12-Dec-2004  christos branches: 1.1.1;
Initial revision
 1.1.1.1 12-Dec-2004  christos - Import freebsd's version of libpam as of today (20041212).
- Did not import opie, passwdqc, tacplus. We need to decide what to do
with them.
- Imported radius and ssh, although they will not work until we
import libradius and re-structure our tree to install libssh.
 1.6.2.3 05-Jan-2007  tron Apply patch (request by ghen in ticket #1617):
Update OpenPAM to 20050616 ("Figwort") and add the pam_afslog(8)
authentication module.
 1.6.2.2 11-Jul-2005  tron Pull up revision 1.8 (requested by lukem in ticket #539):
check for pwd != in getpw*_r functions.
 1.6.2.1 04-Apr-2005  tron Pull up revision 1.7 (requested by thorpej in ticket #96):
Use getpwnam_r().
 1.13.8.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.8.1 17-Apr-2012  yamt sync with head
 1.14.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed