/external/libsepol/src/ |
context.c | 83 * allocated string of the correct size. Set `*scontext' 93 char *scontext = NULL; local 109 scontext = malloc(scontext_len); 110 if (!scontext) 112 scontext[scontext_len - 1] = '\0'; 117 ptr = scontext; 130 *result = scontext; 136 free(scontext); 149 context_struct_t *scontext = NULL; local 160 scontext = (context_struct_t *) malloc(sizeof(context_struct_t)) [all...] |
mls.h | 45 char **scontext); 50 char **scontext, context_struct_t * context); 59 context_struct_t * scontext,
|
genusers.c | 187 char *scontext, *r, *s; local 210 scontext = malloc(p - q); 211 if (!scontext) { 217 r = scontext; 225 r = scontext; 230 ERR(NULL, "invalid level %s (%s:%u)", scontext, 232 free(scontext); 236 free(scontext); 256 scontext = malloc(p - q); 257 if (!scontext) { [all...] |
services.c | 371 * only. For these rules, scontext is the context before the transition, 380 static int constraint_expr_eval_reason(context_struct_t *scontext, 485 val1 = scontext->user; 491 val1 = scontext->type; 497 val1 = scontext->role; 526 l1 = &(scontext->range.level[0]); 532 l1 = &(scontext->range.level[0]); 538 l1 = &(scontext->range.level[1]); 544 l1 = &(scontext->range.level[1]); 550 l1 = &(scontext->range.level[0]) 992 context_struct_t *scontext = 0, *tcontext = 0; local 1028 context_struct_t *scontext = 0, *tcontext = 0; local 1228 context_struct_t *scontext = 0, *tcontext = 0, newcontext; local [all...] |
mls.c | 164 * the MLS fields of `context' into the string `*scontext'. 165 * Update `*scontext' to point to the end of the MLS fields. 168 const context_struct_t * context, char **scontext) 178 scontextp = *scontext; 250 *scontext = scontextp; 322 * the string `*scontext'. Update `*scontext' to 330 char oldc, char **scontext, context_struct_t * context) 347 scontextp = p = *scontext; 442 *scontext = ++p [all...] |
/external/libsepol/include/sepol/policydb/ |
services.h | 124 * allocated string of the correct size. Set `*scontext' 129 sepol_security_context_t * scontext, /* OUT */ 134 * has the string representation specified by `scontext'. 136 extern int sepol_context_to_sid(const sepol_security_context_t scontext, /* IN */
|
/external/checkpolicy/ |
checkpolicy.c | 125 sepol_security_context_t scontext; local 129 rc = sepol_sid_to_context(sid, &scontext, &scontext_len); 133 printf("sid %d -> scontext %s\n", sid, scontext); 134 free(scontext); 381 sepol_security_context_t scontext; local 733 &scontext, &scontext_len); 736 printf("\nscontext %s\n", scontext); 737 free(scontext); 750 printf("scontext? ") [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.mortbay.jetty.server_6.1.23.v201004211559.jar | |