source: branches/samhain-2_2-branch/include/sh_suidchk.h@ 115

Last change on this file since 115 was 1, checked in by katerina, 19 years ago

Initial import

File size: 954 bytes
Line 
1
2#ifndef SH_SUIDCHK_H
3#define SH_SUIDCHK_H
4
5#include "sh_modules.h"
6
7#ifdef SH_USE_SUIDCHK
8int sh_suidchk_init (void);
9int sh_suidchk_timer (time_t tcurrent);
10int sh_suidchk_check (void);
11int sh_suidchk_end (void);
12int sh_suidchk_free_schedule (void);
13
14int sh_suidchk_set_activate (char * c);
15int sh_suidchk_set_severity (char * c);
16int sh_suidchk_set_timer (char * c);
17int sh_suidchk_set_schedule (char * c);
18int sh_suidchk_set_exclude (char * c);
19int sh_suidchk_set_fps (char * c);
20int sh_suidchk_set_yield (char * c);
21int sh_suidchk_set_quarantine (char * c);
22int sh_suidchk_set_qmethod (char * c);
23int sh_suidchk_set_qdelete (char * c);
24
25
26extern sh_rconf sh_suidchk_table[];
27
28/* Quarantine Methods
29 */
30typedef enum {
31
32 SH_Q_DELETE = 0, /* delete */
33 SH_Q_CHANGEPERM = 1, /* remove suid/sgid permissions */
34 SH_Q_MOVE = 2 /* move */
35 } ShQuarantineMethod;
36
37
38#endif
39
40/* #ifndef SH_SUIDCHK_H */
41#endif
Note: See TracBrowser for help on using the repository browser.