# NB _pam_aconf.h.in changes will remake this too
Make.Rules: configure Make.Rules.in _pam_aconf.h.in
- @echo XXX - not sure how to preserve past configure options..
- @echo XXX - so not attempting to. Feel free to run ./configure
- @echo XXX - by hand, with the options you want.
- ./configure
+ ./config.status --recheck
+ ./config.status
_pam_aconf.h: Make.Rules
#ifdef HAVE_FEATURES_H
# define _SVID_SOURCE
# define _BSD_SOURCE
-# define __USE_BSD
-# define __USE_SVID
-# define __USE_MISC
# define _GNU_SOURCE
# include <features.h>
#endif /* HAVE_FEATURES_H */
/* pam_account.c - PAM Account Management */
-#include <stdio.h>
-
#include "pam_private.h"
+#include <stdio.h>
+
int pam_acct_mgmt(pam_handle_t *pamh, int flags)
{
int retval;
*
*/
+#include "pam_private.h"
+
#include <stdio.h>
#include <stdlib.h>
-#include "pam_private.h"
-
int pam_authenticate(pam_handle_t *pamh, int flags)
{
int retval;
* $Id$
*/
+#include "pam_private.h"
+
#include <stdlib.h>
#include <string.h>
-#include "pam_private.h"
-
static struct pam_data *_pam_locate_data(const pam_handle_t *pamh,
const char *name)
{
* attempt to overcome authentication-time attacks in a simple manner.
*/
+#include "pam_private.h"
#include <unistd.h>
#include <time.h>
-#include "pam_private.h"
/* **********************************************************************
* initialize the time as unset, this is set on the return from the
* $Id$
*/
+#include "pam_private.h"
+
#include <stdlib.h>
#include <stdio.h>
-#include "pam_private.h"
-
/*
* this is the return code we return when a function pointer is NULL
* or, the handler structure indicates a broken module config line
* $Id$
*/
-#include <stdlib.h>
-
#include "pam_private.h"
+#include <stdlib.h>
+
int pam_end(pam_handle_t *pamh, int pam_status)
{
int ret;
* $Id$
*/
+#include "pam_private.h"
+
#include <string.h>
#include <stdlib.h>
+
#ifdef sunos
#define memmove(x,y,z) bcopy(y,x,z)
#endif
-#include "pam_private.h"
-
/* helper functions */
#ifdef DEBUG
*
*/
+#include "pam_private.h"
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
# endif /* PAM_SHL */
#endif /* PAM_DYNAMIC */
-#include "pam_private.h"
-
/* If not required, define as nothing */
#ifndef SHLIB_SYM_PREFIX
# define SHLIB_SYM_PREFIX ""
* $Id$
*/
+#include "pam_private.h"
+
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#include "pam_private.h"
-
#define RESET(X, Y) \
{ \
char *_TMP_ = (X); \
* $Id$
*/
+#include "pam_private.h"
+
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <syslog.h>
#include <ctype.h>
-#include "pam_private.h"
-
/* caseless string comparison: POSIX does not define this.. */
int _pam_strCMP(const char *s, const char *t)
{
* $Id$
*/
-#include <stdio.h>
-#include <stdlib.h>
-
/* #define DEBUG */
#include "pam_private.h"
+#include <stdio.h>
+#include <stdlib.h>
+
int pam_chauthtok(pam_handle_t *pamh, int flags)
{
int retval;
* $Id$
*/
-#include <stdio.h>
-
#include "pam_private.h"
+#include <stdio.h>
+
int pam_open_session(pam_handle_t *pamh, int flags)
{
D(("called"));
*
*/
+#include "pam_private.h"
+
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <syslog.h>
-#include "pam_private.h"
-
int pam_start (
const char *service_name,
const char *user,
* there.
*/
+#include "pammodutil.h"
+
#include <stdlib.h>
#include <unistd.h>
#include <utmp.h>
-#include "pammodutil.h"
-
#define _PAMMODUTIL_GETLOGIN "_pammodutil_getlogin"
const char *_pammodutil_getlogin(pam_handle_t *pamh)