
4.1 ACL database 

   
struct secure_ino {
        unsigned long int ino;          /* the inode number */
        kdev_t  dev;                    /* the dev number */
        int     type;                   /* the file type */
        time_t  from_time;
        time_t  to_time;
};

/* save all the system defined acl here */
struct lids_sys_acl { 
        unsigned long int ino;          /* the subject node number */
        unsigned long flags;            /* capability flags */
        struct lids_cap cap[32];        /* inheritable array*/
        int forked;                     /* fork tags */
        int port[LIDS_PORT_ITEM][2];
        struct lids_acl *lids_acl;      /* object acl */
        struct lids_acl *lids_domain;
        kdev_t  dev;                    /* the subject dev number */
};


