Last change
on this file since 127 was 119, checked in by rainer, 17 years ago |
Fix for ticket #75 (option to run suid check on nosuid file systems).
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1] | 1 |
|
---|
| 2 | #ifndef SH_SUIDCHK_H
|
---|
| 3 | #define SH_SUIDCHK_H
|
---|
| 4 |
|
---|
| 5 | #include "sh_modules.h"
|
---|
| 6 |
|
---|
| 7 | #ifdef SH_USE_SUIDCHK
|
---|
| 8 | int sh_suidchk_init (void);
|
---|
| 9 | int sh_suidchk_timer (time_t tcurrent);
|
---|
| 10 | int sh_suidchk_check (void);
|
---|
| 11 | int sh_suidchk_end (void);
|
---|
| 12 | int sh_suidchk_free_schedule (void);
|
---|
| 13 |
|
---|
[68] | 14 | int sh_suidchk_set_activate (const char * c);
|
---|
| 15 | int sh_suidchk_set_severity (const char * c);
|
---|
| 16 | int sh_suidchk_set_timer (const char * c);
|
---|
| 17 | int sh_suidchk_set_schedule (const char * c);
|
---|
| 18 | int sh_suidchk_set_exclude (const char * c);
|
---|
| 19 | int sh_suidchk_set_fps (const char * c);
|
---|
| 20 | int sh_suidchk_set_yield (const char * c);
|
---|
[119] | 21 | int sh_suidchk_set_nosuid (const char * c);
|
---|
[68] | 22 | int sh_suidchk_set_quarantine (const char * c);
|
---|
| 23 | int sh_suidchk_set_qmethod (const char * c);
|
---|
| 24 | int sh_suidchk_set_qdelete (const char * c);
|
---|
[1] | 25 |
|
---|
| 26 |
|
---|
| 27 | extern sh_rconf sh_suidchk_table[];
|
---|
| 28 |
|
---|
| 29 | /* Quarantine Methods
|
---|
| 30 | */
|
---|
| 31 | typedef 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.