003 File Manager
Current Path:
/usr/src/contrib/pam_modules/pam_passwdqc
usr
/
src
/
contrib
/
pam_modules
/
pam_passwdqc
/
📁
..
📄
INTERNALS
(118 B)
📄
LICENSE
(491 B)
📄
Makefile
(928 B)
📄
PLATFORMS
(1.05 KB)
📄
README
(5.76 KB)
📄
pam_macros.h
(629 B)
📄
pam_passwdqc.c
(14.44 KB)
📄
pam_passwdqc.spec
(2 KB)
📄
passwdqc.h
(502 B)
📄
passwdqc_check.c
(8.44 KB)
📄
passwdqc_random.c
(1.73 KB)
📄
wordset_4k.c
(40.25 KB)
Editing: pam_macros.h
/* * These macros are partially based on Linux-PAM's <security/_pam_macros.h>, * which were organized by Cristian Gafton and I believe are in the public * domain. */ #if !defined(_PAM_MACROS_H) && !defined(_pam_overwrite) #define _PAM_MACROS_H #include <string.h> #include <stdlib.h> #define _pam_overwrite(x) \ memset((x), 0, strlen((x))) #define _pam_drop_reply(/* struct pam_response * */ reply, /* int */ replies) \ do { \ int i; \ \ for (i = 0; i < (replies); i++) \ if ((reply)[i].resp) { \ _pam_overwrite((reply)[i].resp); \ free((reply)[i].resp); \ } \ if ((reply)) free((reply)); \ } while (0) #endif
Upload File
Create Folder