Changeset 40 for trunk/include


Ignore:
Timestamp:
May 31, 2006, 9:38:30 PM (18 years ago)
Author:
rainer
Message:

Fix for tickets #13, #14, #15, #16, #17

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r34 r40  
    4545/* Sizes for arrays (user, group, timestamp).
    4646 */
     47#define SOCKPASS_MAX 14
    4748#define USER_MAX  20
    4849#define GROUP_MAX 20
    4950#define TIM_MAX   32
     51
    5052
    5153/* The number of bytes in a key, 
     
    262264
    263265typedef struct {
    264   char   sh_sockpass[32];
     266  char   sh_sockpass[2*SOCKPASS_MAX+2];
    265267  char   sigkey_old[KEY_LEN+1];
    266268  char   sigkey_new[KEY_LEN+1];
  • trunk/include/sh_unix.h

    r27 r40  
    4949  SH_FILE_FIFO,
    5050  SH_FILE_SOCKET,
     51  SH_FILE_DOOR,
     52  SH_FILE_PORT,
    5153  SH_FILE_UNKNOWN
    5254} ShFileType;
     
    7779/* hardlinks    */
    7880#define MODI_HLN (1 << 10)
    79 /* device num   */
     81/* device type   */
    8082#define MODI_RDEV (1 << 11)
    8183/* size may grow   */
Note: See TracChangeset for help on using the changeset viewer.