opnsense-src/lib/libpam/modules
Will Andrews caf6fbd81a 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 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
pam_deny Use appropriate error codes for each facility instead of just PAM_AUTH_ERR. 2005-06-10 06:16:13 +00:00
pam_echo %U was macroized in mdoc(7), escape. 2010-02-16 12:29:02 +00:00
pam_exec Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
pam_ftpusers Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
pam_group Mention the name of the module in warning messages. 2011-03-12 11:26:37 +00:00
pam_guest Markup nits. 2004-07-05 06:39:03 +00:00
pam_krb5 remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
pam_ksu - Avoid use of deprecated KRB5 functions. 2012-03-22 11:18:14 +00:00
pam_lastlog Bump date missed in r202756 2012-09-14 17:50:42 +00:00
pam_login_access Re-add support for NIS netgroups (heavily modified from patch in PR) 2007-05-25 07:50:18 +00:00
pam_nologin Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
pam_opie Reject user with names that are longer than OPIE is willing to deal with; 2006-09-15 13:42:38 +00:00
pam_opieaccess Correct documentation of ~/.opiealways 2007-10-26 07:50:11 +00:00
pam_passwdqc Make the PAM password strength checking module WARNS=2 safe. 2013-08-27 15:50:26 +00:00
pam_permit style.Makefile(5) police 2003-03-09 20:06:38 +00:00
pam_radius Remove unnecessary #include. 2012-09-28 12:29:25 +00:00
pam_rhosts Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
pam_rootok style.Makefile(5) police 2003-03-09 20:06:38 +00:00
pam_securetty Fix numerous constness and aliasing issues. 2004-02-10 10:13:21 +00:00
pam_self Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
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 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
pam_unix Fix declaration vs. definition inconsistency. No functional change. 2013-04-05 23:41:34 +00:00
Makefile style.Makefile(5) police 2003-03-09 20:06:38 +00:00
Makefile.inc Revert r227841 and part of r227798. We still build libpam in two passes, 2011-11-24 13:18:58 +00:00
modules.inc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00