source: trunk/include/sh_suidchk.h@ 323

Last change on this file since 323 was 149, checked in by katerina, 17 years ago

Make sh_hash.c thread-safe, remove plenty of tiny allocations, improve sh_mem_dump, modify port check to run as thread, and fix unsetting of sh_thread_pause_flag (was too early).

File size: 1.1 KB
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 (struct mod_type * arg);
9int sh_suidchk_timer (time_t tcurrent);
10int sh_suidchk_check (void);
11int sh_suidchk_end (void);
12int sh_suidchk_reconf (void);
13
14int sh_suidchk_set_activate (const char * c);
15int sh_suidchk_set_severity (const char * c);
16int sh_suidchk_set_timer (const char * c);
17int sh_suidchk_set_schedule (const char * c);
18int sh_suidchk_set_exclude (const char * c);
19int sh_suidchk_set_fps (const char * c);
20int sh_suidchk_set_yield (const char * c);
21int sh_suidchk_set_nosuid (const char * c);
22int sh_suidchk_set_quarantine (const char * c);
23int sh_suidchk_set_qmethod (const char * c);
24int sh_suidchk_set_qdelete (const char * c);
25
26
27extern sh_rconf sh_suidchk_table[];
28
29/* Quarantine Methods
30 */
31typedef enum {
32
33 SH_Q_DELETE = 0, /* delete */
34 SH_Q_CHANGEPERM = 1, /* remove suid/sgid permissions */
35 SH_Q_MOVE = 2 /* move */
36 } ShQuarantineMethod;
37
38
39#endif
40
41/* #ifndef SH_SUIDCHK_H */
42#endif
Note: See TracBrowser for help on using the repository browser.