Changeset 19 for trunk/include/sh_unix.h


Ignore:
Timestamp:
Feb 12, 2006, 10:49:56 PM (19 years ago)
Author:
rainer
Message:

Rewrite of test suite, checksum for growing logs, fix for minor bug with dead client detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_unix.h

    r10 r19  
    7979/* device num   */
    8080#define MODI_RDEV (1 << 11)
     81/* size may grow   */
     82#define MODI_SGROW (1 << 12)
     83/* use prelink     */
     84#define MODI_PREL (1 << 13)
    8185
    8286#define MASK_ALLIGNORE_  0
     
    8690#define MASK_LOGFILES_   (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_INO)
    8791extern  unsigned long mask_LOGFILES;
    88 #define MASK_LOGGROW_    (MASK_LOGFILES_|MODI_SIZ)
     92#define MASK_LOGGROW_    (MASK_LOGFILES_|MODI_SIZ|MODI_SGROW|MODI_CHK)
    8993extern  unsigned long mask_LOGGROW;
    9094#define MASK_READONLY_   (MASK_LOGFILES_|MODI_CHK|MODI_SIZ|MODI_MTM|MODI_CTM)
     
    9599extern  unsigned long mask_USER0;
    96100extern  unsigned long mask_USER1;
    97 /* like READONLY, but without MTM,CTM,SIZ,INO)
    98  */
    99 #define MASK_PRELINK_   (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_CHK)
     101/* like READONLY, but without MTM,CTM,SIZ,INO, abd with PREL)
     102 */
     103#define MASK_PRELINK_   (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_CHK|MODI_PREL)
    100104extern  unsigned long mask_PRELINK;
    101105
     
    134138/* mlock utilities
    135139 */
    136 int sh_unix_mlock(void * addr, size_t len);
     140int sh_unix_mlock(char * file, int line, void * addr, size_t len);
    137141int sh_unix_munlock(void * addr, size_t len);
    138142int sh_unix_count_mlock();
Note: See TracChangeset for help on using the changeset viewer.