Searched refs:context_struct_t (Results 1 - 19 of 19) sorted by relevance

/external/libsepol/src/
H A Dmls.h32 const char *str, context_struct_t * mls);
36 const context_struct_t * mls, char **str);
40 const context_struct_t * context);
44 const context_struct_t * context,
50 char **scontext, context_struct_t * context);
53 const context_struct_t * c);
56 policydb_t * newp, context_struct_t * context);
59 context_struct_t * scontext,
60 context_struct_t * tcontext,
62 uint32_t specified, context_struct_t * newcontex
[all...]
H A Dcontext.h13 context_struct_t ** cptr,
18 const context_struct_t * context,
24 context_struct_t ** cptr,
29 const context_struct_t * context);
34 const context_struct_t * context,
H A Dcontext.c15 int policydb_context_isvalid(const policydb_t * p, const context_struct_t * c)
34 int context_is_valid(const policydb_t * p, const context_struct_t * c)
89 const context_struct_t * context,
145 context_struct_t ** cptr,
149 context_struct_t *scontext = NULL;
160 scontext = (context_struct_t *) malloc(sizeof(context_struct_t));
244 const context_struct_t * context,
293 context_struct_t ** cptr,
333 context_struct_t *co
[all...]
H A Dmls.c44 const context_struct_t * mls, char **str)
80 const char *str, context_struct_t * mls)
110 const context_struct_t * context)
168 const context_struct_t * context, char **scontext)
258 int mls_context_isvalid(const policydb_t * p, const context_struct_t * c)
330 char oldc, char **scontext, context_struct_t * context)
453 static inline int mls_copy_context(context_struct_t * dst,
454 context_struct_t * src)
473 static inline int mls_scopy_context(context_struct_t * dst,
474 context_struct_t * sr
[all...]
H A Dsidtab.c43 context_struct_t * context)
118 context_struct_t *sepol_sidtab_search(sidtab_t * s, sepol_security_id_t sid)
147 context_struct_t * context,
170 context_struct_t * context,
207 context_struct_t *
225 context_struct_t * context,
H A Dservices.c125 static int constraint_expr_eval(context_struct_t * scontext,
126 context_struct_t * tcontext,
127 context_struct_t * xcontext,
131 context_struct_t *c;
306 static int context_struct_compute_av(context_struct_t * scontext,
307 context_struct_t * tcontext,
430 context_struct_t *ocontext;
431 context_struct_t *ncontext;
432 context_struct_t *tcontext;
479 context_struct_t *scontex
[all...]
H A Dinterfaces.c18 context_struct_t *tmp_con = NULL;
72 context_struct_t *ifcon = &iface->context[0];
73 context_struct_t *msgcon = &iface->context[1];
H A Dnodes.c20 context_struct_t *tmp_con = NULL;
88 context_struct_t *con = &node->context[0];
H A Dports.c47 context_struct_t *tmp_con = NULL;
108 context_struct_t *con = &port->context[0];
H A Dusers.c45 context_struct_t context;
120 context_struct_t context;
H A Dgenusers.c176 context_struct_t context;
H A Dexpand.c2002 static int context_copy(context_struct_t * dst, context_struct_t * src,
H A Dwrite.c777 static int context_write(struct policydb *p, context_struct_t * c,
H A Dpolicydb.c1777 static int context_read_and_validate(context_struct_t * c,
/external/libsepol/include/sepol/policydb/
H A Dcontext.h35 } context_struct_t; typedef in typeref:struct:context_struct
37 static inline void mls_context_init(context_struct_t * c)
42 static inline int mls_context_cpy(context_struct_t * dst,
43 context_struct_t * src)
52 static inline int mls_context_cmp(context_struct_t * c1, context_struct_t * c2)
59 static inline void mls_context_destroy(context_struct_t * c)
68 static inline void context_init(context_struct_t * c)
73 static inline int context_cpy(context_struct_t * dst, context_struct_t * sr
[all...]
H A Dsidtab.h18 context_struct_t context; /* security context structure */
41 context_struct_t * context);
43 extern context_struct_t *sepol_sidtab_search(sidtab_t * s,
48 context_struct_t * context,
54 context_struct_t *
59 context_struct_t * context, /* IN */
H A Dpolicydb.h321 context_struct_t context[2]; /* security context(s) */
578 const context_struct_t * c);
/external/checkpolicy/
H A Dcheckpolicy.c121 context_struct_t * context
H A Dpolicy_define.c71 static int parse_security_context(context_struct_t *c);
3454 static int parse_security_context(context_struct_t * c)

Completed in 163 milliseconds