Searched refs:ctx_str (Results 1 - 9 of 9) sorted by relevance
/external/libselinux/src/ |
H A D | android.c | 403 char *orig_ctx_str = NULL, *ctx_str; local 412 rc = getfilecon(pkgdir, &ctx_str); 416 ctx = context_new(ctx_str); 417 orig_ctx_str = ctx_str; 427 ctx_str = context_str(ctx); 428 if (!ctx_str) 431 rc = security_check_context(ctx_str); 435 if (strcmp(ctx_str, orig_ctx_str)) { 436 rc = setfilecon(pkgdir, ctx_str); 469 char *orig_ctx_str = NULL, *ctx_str; local [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | proposal.c | 320 if (*pp1->sctx.ctx_str && !(*pp2->sctx.ctx_str)) { 325 if (!(*pp1->sctx.ctx_str) && *pp2->sctx.ctx_str) { 331 if (*pp1->sctx.ctx_str && *pp2->sctx.ctx_str) { 351 memcmp(pp1->sctx.ctx_str, pp2->sctx.ctx_str, 355 pp2->sctx.ctx_str, pp1->sctx.ctx_str); [all...] |
H A D | policy.c | 207 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str)) 283 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str)) 484 spidx->sec_ctx.ctx_strlen, spidx->sec_ctx.ctx_str);
|
H A D | policy.h | 48 char ctx_str[MAX_CTXSTR_SIZE]; /* Security Context string */ member in struct:security_ctx
|
H A D | security.c | 171 memcpy(iph2->proposal->sctx.ctx_str, spidx.sec_ctx.ctx_str,
|
H A D | pfkey.c | 1101 if (*iph2->approval->sctx.ctx_str) { 1105 sa_args.ctxstr = iph2->approval->sctx.ctx_str; 1389 if (*iph2->approval->sctx.ctx_str) { 1393 sa_args.ctxstr = iph2->approval->sctx.ctx_str; 1787 memcpy(spidx.sec_ctx.ctx_str, 2047 if (*spidx->sec_ctx.ctx_str) { 2075 if (*spidx->sec_ctx.ctx_str) { 2086 memcpy(p + 1,spidx->sec_ctx.ctx_str,spidx->sec_ctx.ctx_strlen); 2274 memcpy(spidx.sec_ctx.ctx_str, ctx + 1, ctx->sadb_x_ctx_len); 2396 memcpy(spidx.sec_ctx.ctx_str, ct [all...] |
H A D | isakmp_quick.c | 2183 if (spidx.sec_ctx.ctx_str) {
|
H A D | ipsec_doi.c | 3057 /* ctx_str is defined as char ctx_str[MAX_CTXSTR_SIZ]. 3060 if (*pp->sctx.ctx_str) { 3122 if (*pp->sctx.ctx_str) {
|
/external/iproute2/include/linux/ |
H A D | xfrm.h | 33 char ctx_str[0]; member in struct:xfrm_sec_ctx
|
Completed in 173 milliseconds