Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/security
File: pam_modules.h
/*
[0] Fix | Delete
* <security/pam_modules.h>
[1] Fix | Delete
*
[2] Fix | Delete
* This header file collects definitions for the PAM API --- that is,
[3] Fix | Delete
* public interface between the PAM library and PAM modules.
[4] Fix | Delete
*
[5] Fix | Delete
* Note, the copyright information is at end of file.
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#ifndef _SECURITY_PAM_MODULES_H
[9] Fix | Delete
#define _SECURITY_PAM_MODULES_H
[10] Fix | Delete
[11] Fix | Delete
#ifdef __cplusplus
[12] Fix | Delete
extern "C" {
[13] Fix | Delete
#endif
[14] Fix | Delete
[15] Fix | Delete
#include <security/_pam_types.h> /* Linux-PAM common defined types */
[16] Fix | Delete
[17] Fix | Delete
/* -------------- The Linux-PAM Module PI ------------- */
[18] Fix | Delete
[19] Fix | Delete
extern int PAM_NONNULL((1,2))
[20] Fix | Delete
pam_set_data(pam_handle_t *pamh, const char *module_data_name, void *data,
[21] Fix | Delete
void (*cleanup)(pam_handle_t *pamh, void *data,
[22] Fix | Delete
int error_status));
[23] Fix | Delete
[24] Fix | Delete
extern int PAM_NONNULL((1,2,3))
[25] Fix | Delete
pam_get_data(const pam_handle_t *pamh, const char *module_data_name,
[26] Fix | Delete
const void **data);
[27] Fix | Delete
[28] Fix | Delete
extern int PAM_NONNULL((1,2))
[29] Fix | Delete
pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt);
[30] Fix | Delete
[31] Fix | Delete
/* Authentication API's */
[32] Fix | Delete
int pam_sm_authenticate(pam_handle_t *pamh, int flags,
[33] Fix | Delete
int argc, const char **argv);
[34] Fix | Delete
int pam_sm_setcred(pam_handle_t *pamh, int flags,
[35] Fix | Delete
int argc, const char **argv);
[36] Fix | Delete
[37] Fix | Delete
/* Account Management API's */
[38] Fix | Delete
int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags,
[39] Fix | Delete
int argc, const char **argv);
[40] Fix | Delete
[41] Fix | Delete
/* Session Management API's */
[42] Fix | Delete
int pam_sm_open_session(pam_handle_t *pamh, int flags,
[43] Fix | Delete
int argc, const char **argv);
[44] Fix | Delete
[45] Fix | Delete
int pam_sm_close_session(pam_handle_t *pamh, int flags,
[46] Fix | Delete
int argc, const char **argv);
[47] Fix | Delete
[48] Fix | Delete
/* Password Management API's */
[49] Fix | Delete
int pam_sm_chauthtok(pam_handle_t *pamh, int flags,
[50] Fix | Delete
int argc, const char **argv);
[51] Fix | Delete
[52] Fix | Delete
/* The following two flags are for use across the Linux-PAM/module
[53] Fix | Delete
* interface only. The Application is not permitted to use these
[54] Fix | Delete
* tokens.
[55] Fix | Delete
*
[56] Fix | Delete
* The password service should only perform preliminary checks. No
[57] Fix | Delete
* passwords should be updated. */
[58] Fix | Delete
#define PAM_PRELIM_CHECK 0x4000
[59] Fix | Delete
[60] Fix | Delete
/* The password service should update passwords Note: PAM_PRELIM_CHECK
[61] Fix | Delete
* and PAM_UPDATE_AUTHTOK cannot both be set simultaneously! */
[62] Fix | Delete
#define PAM_UPDATE_AUTHTOK 0x2000
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
/*
[66] Fix | Delete
* here are some proposed error status definitions for the
[67] Fix | Delete
* 'error_status' argument used by the cleanup function associated
[68] Fix | Delete
* with data items they should be logically OR'd with the error_status
[69] Fix | Delete
* of the latest return from libpam -- new with .52 and positive
[70] Fix | Delete
* impression from Sun although not official as of 1996/9/4 there are
[71] Fix | Delete
* others in _pam_types.h -- they are for common module/app use.
[72] Fix | Delete
*/
[73] Fix | Delete
[74] Fix | Delete
#define PAM_DATA_REPLACE 0x20000000 /* used when replacing a data item */
[75] Fix | Delete
[76] Fix | Delete
/* PAM_EXTERN isn't needed anymore, but don't remove it to not break
[77] Fix | Delete
lot of external code using it. */
[78] Fix | Delete
#define PAM_EXTERN extern
[79] Fix | Delete
[80] Fix | Delete
/* take care of any compatibility issues */
[81] Fix | Delete
#include <security/_pam_compat.h>
[82] Fix | Delete
[83] Fix | Delete
#ifdef __cplusplus
[84] Fix | Delete
}
[85] Fix | Delete
#endif
[86] Fix | Delete
[87] Fix | Delete
/* Copyright (C) Theodore Ts'o, 1996.
[88] Fix | Delete
* Copyright (C) Andrew Morgan, 1996-8.
[89] Fix | Delete
* All rights reserved.
[90] Fix | Delete
*
[91] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[92] Fix | Delete
* modification, are permitted provided that the following conditions
[93] Fix | Delete
* are met:
[94] Fix | Delete
* 1. Redistributions of source code must retain the above copyright
[95] Fix | Delete
* notice, and the entire permission notice in its entirety,
[96] Fix | Delete
* including the disclaimer of warranties.
[97] Fix | Delete
* 2. Redistributions in binary form must reproduce the above copyright
[98] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[99] Fix | Delete
* documentation and/or other materials provided with the distribution.
[100] Fix | Delete
* 3. The name of the author may not be used to endorse or promote
[101] Fix | Delete
* products derived from this software without specific prior
[102] Fix | Delete
* written permission.
[103] Fix | Delete
*
[104] Fix | Delete
* ALTERNATIVELY, this product may be distributed under the terms of
[105] Fix | Delete
* the GNU General Public License, in which case the provisions of the
[106] Fix | Delete
* GNU GPL are required INSTEAD OF the above restrictions. (This
[107] Fix | Delete
* clause is necessary due to a potential bad interaction between the
[108] Fix | Delete
* GNU GPL and the restrictions contained in a BSD-style copyright.)
[109] Fix | Delete
*
[110] Fix | Delete
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
[111] Fix | Delete
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
[112] Fix | Delete
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
[113] Fix | Delete
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
[114] Fix | Delete
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
[115] Fix | Delete
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
[116] Fix | Delete
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[117] Fix | Delete
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
[118] Fix | Delete
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
[119] Fix | Delete
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
[120] Fix | Delete
* OF THE POSSIBILITY OF SUCH DAMAGE. */
[121] Fix | Delete
[122] Fix | Delete
#endif /* _SECURITY_PAM_MODULES_H */
[123] Fix | Delete
[124] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function