
4.2 Data Structure : Process Label


struct task_struct {
        /*
         * offsets of these are hardcoded elsewhere - touch with care
         */
        volatile long state;    /* -1 unrunnable, 0 runnable, >0 stopped */
        unsigned long flags;    /* per process flags, defined below */
        int sigpending;
....

        /* LIDS refrence box */
        struct lids_sys_acl *lids_sys_acl;
....
