freebsd-skq/lib/libpam/modules
will 7c6cb741cf Make the PAM password strength checking module WARNS=2 safe.
lib/libpam/modules/pam_passwdqc/Makefile:
	Bump WARNS to 2.

contrib/pam_modules/pam_passwdqc/pam_passwdqc.c:
	Bump  _XOPEN_SOURCE and _XOPEN_VERSION from 500 to 600
	so that vsnprint() is declared.

	Use the two new union types (pam_conv_item_t and
	pam_text_item_t) to resolve strict aliasing violations
	caused by casts to comply with the pam_get_item() API taking
	a "const void **" for all item types.  Warnings are
	generated for casts that create "type puns" (pointers of
	conflicting sized types that are set to access the same
	memory location) since these pointers may be used in ways
	that violate C's strict aliasing rules.  Casts to a new
	type must be performed through a union in order to be
	compliant, and access must be performed through only one
	of the union's data types during the lifetime of the union
	instance.  Handle strict-aliasing warnings through pointer
	assignments, which drastically simplifies this change.

	Correct a CLANG "printf-like function with more arguments
	than format" error.

Submitted by:	gibbs
Sponsored by:	Spectra Logic
2013-08-27 15:50:26 +00:00
..
pam_chroot
pam_deny
pam_echo
pam_exec
pam_ftpusers
pam_group
pam_guest
pam_krb5 remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
pam_ksu
pam_lastlog Bump date missed in r202756 2012-09-14 17:50:42 +00:00
pam_login_access
pam_nologin
pam_opie
pam_opieaccess
pam_passwdqc Make the PAM password strength checking module WARNS=2 safe. 2013-08-27 15:50:26 +00:00
pam_permit
pam_radius Remove unnecessary #include. 2012-09-28 12:29:25 +00:00
pam_rhosts
pam_rootok
pam_securetty
pam_self
pam_ssh Passing NULL as a key casues a segfault when loading SSH 1 keys. Use 2012-05-26 17:03:45 +00:00
pam_tacplus
pam_unix Fix declaration vs. definition inconsistency. No functional change. 2013-04-05 23:41:34 +00:00
Makefile
Makefile.inc
modules.inc