ProxyAuth
Linux PAM to authenticate device via Bluetooth device
pam_sec.h
Go to the documentation of this file.
1 
6 #ifndef PAM_SEC_H
7 #define PAM_SEC_H
8 
9 #include <errno.h>
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <string.h>
13 #include <time.h>
14 #include <unistd.h>
15 #include <sys/types.h>
16 #include <sys/stat.h>
17 
26 int check_config(FILE *log_fp, const char * const file, const int is_dir);
27 
36 int is_nlnk(FILE *log_fp, const char * const file, struct stat * const st);
37 
47 int check_perm(FILE *log_fp, const char * const file, const struct stat * const st, const int is_dir);
48 
49 #endif
int is_nlnk(FILE *log_fp, const char *const file, struct stat *const st)
Definition: pam_sec.c:41
int check_perm(FILE *log_fp, const char *const file, const struct stat *const st, const int is_dir)
Definition: pam_sec.c:64
int check_config(FILE *log_fp, const char *const file, const int is_dir)
: Where security checks and security tools are placed
Definition: pam_sec.c:3