Changeset 68 for trunk/include
- Timestamp:
- Oct 30, 2006, 12:03:44 AM (18 years ago)
- Location:
- trunk/include
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/rijndael-api-fst.h
r1 r68 25 25 #define MODE_CBC 2 /* Are we ciphering in CBC mode? */ 26 26 #define MODE_CFB1 3 /* Are we ciphering in 1-bit CFB mode? */ 27 #ifndef TRUE 27 28 #define TRUE 1 29 #endif 30 #ifndef FALSE 28 31 #define FALSE 0 32 #endif 29 33 #define BITSPERBLOCK 128 /* Default number of bits in a cipher block */ 30 34 -
trunk/include/samhain.h
r40 r68 316 316 } while (0) 317 317 318 #define SH_VALIDATE_GE(a,b) \ 319 do { \ 320 if ((a) < (b)) safe_fatal(#a " < " #b, FIL__, __LINE__);\ 321 } while (0) 322 318 323 #if defined(HAVE_MLOCK) && !defined(HAVE_BROKEN_MLOCK) 319 324 #define MLOCK(a, b) \ -
trunk/include/sh_cat.h
r1 r68 130 130 MSG_UT_ROT, 131 131 132 #endif 133 134 #ifdef SH_USE_PROCESSCHECK 135 MSG_PCK_CHECK, 136 MSG_PCK_OK, 137 MSG_PCK_HIDDEN, 138 MSG_PCK_FAKE, 139 MSG_PCK_MISS, 140 #endif 141 142 #ifdef SH_USE_PORTCHECK 143 MSG_PORT_REPORT, 132 144 #endif 133 145 -
trunk/include/sh_kern.h
r1 r68 12 12 int sh_kern_null (void); 13 13 14 int sh_kern_set_activate (char * c); 15 int sh_kern_set_severity (char * c); 16 int sh_kern_set_timer (char * c); 17 int sh_kern_set_idt (char * c); 18 19 /* FIXME: document these */ 20 int sh_kern_set_sct_addr (char * c); 21 int sh_kern_set_sc_addr (char * c); 22 int sh_kern_set_proc_root (char * c); 23 int sh_kern_set_proc_root_lookup (char * c); 24 int sh_kern_set_proc_root_iops (char * c); 14 int sh_kern_set_activate (const char * c); 15 int sh_kern_set_severity (const char * c); 16 int sh_kern_set_timer (const char * c); 17 int sh_kern_set_idt (const char * c); 18 int sh_kern_set_sct_addr (const char * c); 19 int sh_kern_set_sc_addr (const char * c); 20 int sh_kern_set_proc_root (const char * c); 21 int sh_kern_set_proc_root_lookup (const char * c); 22 int sh_kern_set_proc_root_iops (const char * c); 25 23 26 24 extern sh_rconf sh_kern_table[]; -
trunk/include/sh_modules.h
r1 r68 7 7 { 8 8 char * the_opt; 9 int (*func)(c har * opt);9 int (*func)(const char * opt); 10 10 } sh_rconf; 11 11 -
trunk/include/sh_suidchk.h
r1 r68 12 12 int sh_suidchk_free_schedule (void); 13 13 14 int sh_suidchk_set_activate (c har * c);15 int sh_suidchk_set_severity (c har * c);16 int sh_suidchk_set_timer (c har * c);17 int sh_suidchk_set_schedule (c har * c);18 int sh_suidchk_set_exclude (c har * c);19 int sh_suidchk_set_fps (c har * c);20 int sh_suidchk_set_yield (c har * c);21 int sh_suidchk_set_quarantine (c har * c);22 int sh_suidchk_set_qmethod (c har * c);23 int sh_suidchk_set_qdelete (c har * c);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); 21 int sh_suidchk_set_quarantine (const char * c); 22 int sh_suidchk_set_qmethod (const char * c); 23 int sh_suidchk_set_qdelete (const char * c); 24 24 25 25 -
trunk/include/sh_unix.h
r40 r68 139 139 char link_c_mode[11]; 140 140 int linkisok; 141 char * attr_string; 141 142 } file_type; 143 144 extern int sh_unix_check_selinux; 145 extern int sh_unix_check_acl; 142 146 143 147 /* mlock utilities … … 157 161 */ 158 162 int sh_unix_uselocaltime (const char * c); 163 164 /* whether to perform selinux/acl checks 165 */ 166 #ifdef USE_XATTR 167 int sh_unix_setcheckselinux (const char * c); 168 #endif 169 #ifdef USE_ACL 170 int sh_unix_setcheckacl (const char * c); 171 #endif 159 172 160 173 /* set I/O limit -
trunk/include/sh_userfiles.h
r1 r68 16 16 int sh_userfiles_reconf (void); 17 17 18 int sh_userfiles_set_uid (c har * str);19 int sh_userfiles_add_file(c har *c);20 int sh_userfiles_set_interval(c har *c);21 int sh_userfiles_set_active(c har *c);18 int sh_userfiles_set_uid (const char * str); 19 int sh_userfiles_add_file(const char *c); 20 int sh_userfiles_set_interval(const char *c); 21 int sh_userfiles_set_active(const char *c); 22 22 int sh_userfiles_check_internal(); 23 23 -
trunk/include/sh_utils.h
r34 r68 63 63 char * sh_util_strsep (char **str, const char *delim); 64 64 65 /* compactify verbose acl text 66 */ 67 char * sh_util_acl_compact (char * buf, ssize_t len); 68 65 69 /* set signature type HASH-TIGER/HMAC-TIGER 66 70 */ … … 84 88 */ 85 89 int sh_util_hidesetup(const char * c); 90 91 /* valif utf-8 string 92 */ 93 int sh_util_valid_utf8 (const unsigned char * str); 94 95 /* filenames are utf8 96 */ 97 int sh_util_obscure_utf8 (const char * c); 86 98 87 99 /* exceptions to obscure name check -
trunk/include/sh_utmp.h
r1 r68 12 12 int sh_utmp_null (void); 13 13 14 int sh_utmp_set_login_activate (c har * c);15 int sh_utmp_set_login_solo (c har * c);16 int sh_utmp_set_login_multi (c har * c);17 int sh_utmp_set_logout_good (c har * c);18 int sh_utmp_set_login_timer (c har * c);14 int sh_utmp_set_login_activate (const char * c); 15 int sh_utmp_set_login_solo (const char * c); 16 int sh_utmp_set_login_multi (const char * c); 17 int sh_utmp_set_logout_good (const char * c); 18 int sh_utmp_set_login_timer (const char * c); 19 19 20 20 extern sh_rconf sh_utmp_table[];
Note:
See TracChangeset
for help on using the changeset viewer.