version 1.195, 2015/01/14 19:33:41 |
version 1.196, 2015/01/16 06:40:12 |
|
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
*/ |
|
|
|
#include <sys/param.h> /* MIN MAX */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/time.h> |
#include <sys/time.h> |
#include <sys/queue.h> |
#include <sys/queue.h> |
|
|
#include <sys/socket.h> |
#include <sys/socket.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
#include <sys/un.h> |
#include <sys/un.h> |
#include <sys/param.h> |
|
|
|
#ifdef WITH_OPENSSL |
#ifdef WITH_OPENSSL |
#include <openssl/evp.h> |
#include <openssl/evp.h> |
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
|
#include <limits.h> |
#include <time.h> |
#include <time.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
|
|
pid_t cleanup_pid = 0; |
pid_t cleanup_pid = 0; |
|
|
/* pathname and directory for AUTH_SOCKET */ |
/* pathname and directory for AUTH_SOCKET */ |
char socket_name[MAXPATHLEN]; |
char socket_name[PATH_MAX]; |
char socket_dir[MAXPATHLEN]; |
char socket_dir[PATH_MAX]; |
|
|
/* locking */ |
/* locking */ |
int locked = 0; |
int locked = 0; |