~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to security/selinux/ss/policydb.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
 
73
73
struct role_trans {
74
74
        u32 role;               /* current role */
75
 
        u32 type;               /* program executable type */
 
75
        u32 type;               /* program executable type, or new object type */
 
76
        u32 tclass;             /* process class, or new object class */
76
77
        u32 new_role;           /* new role */
77
78
        struct role_trans *next;
78
79
};
79
80
 
80
81
struct filename_trans {
81
 
        struct filename_trans *next;
82
82
        u32 stype;              /* current process */
83
83
        u32 ttype;              /* parent dir context */
84
84
        u16 tclass;             /* class of new object */
85
85
        const char *name;       /* last path component */
 
86
};
 
87
 
 
88
struct filename_trans_datum {
86
89
        u32 otype;              /* expected of new object */
87
90
};
88
91
 
227
230
        struct role_trans *role_tr;
228
231
 
229
232
        /* file transitions with the last path component */
230
 
        struct filename_trans *filename_trans;
 
233
        /* quickly exclude lookups when parent ttype has no rules */
 
234
        struct ebitmap filename_trans_ttypes;
 
235
        /* actual set of filename_trans rules */
 
236
        struct hashtab *filename_trans;
231
237
 
232
238
        /* bools indexed by (value - 1) */
233
239
        struct cond_bool_datum **bool_val_to_struct;