/external/ipsec-tools/src/racoon/ |
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); 359 memcpy(newpp->sctx.ctx_str, pp1->sctx.ctx_str, 1212 if (*pp_peer->sctx.ctx_str) { 1216 memcpy(pp0->sctx.ctx_str, pp_peer->sctx.ctx_str,
|
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);
|
D | security.c | 171 memcpy(iph2->proposal->sctx.ctx_str, spidx.sec_ctx.ctx_str,
|
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, ctx + 1, ctx->sadb_x_ctx_len); [all …]
|
D | policy.h | 48 char ctx_str[MAX_CTXSTR_SIZE]; /* Security Context string */ member
|
D | isakmp_quick.c | 2182 if (spidx.sec_ctx.ctx_str) {
|
D | ipsec_doi.c | 3064 if (*pp->sctx.ctx_str) { 3126 if (*pp->sctx.ctx_str) {
|
/external/selinux/libsepol/cil/src/ |
D | cil_write_ast.c | 497 char *ctx_str = NULL; in cil_write_sidcontext() local 502 ctx_str = strdup(sidcon->context_str); in cil_write_sidcontext() 503 if (ctx_str == NULL) { in cil_write_sidcontext() 509 rc = cil_unfill_context(sidcon->context, &ctx_str); in cil_write_sidcontext() 513 fprintf(cil_out, "(%s %s %s)\n", CIL_KEY_SIDCONTEXT, sid, ctx_str); in cil_write_sidcontext() 516 free(ctx_str); in cil_write_sidcontext() 932 char *ctx_str = NULL; in cil_write_genfscon() local 936 ctx_str = strdup(genfscon->context_str); in cil_write_genfscon() 937 if (ctx_str == NULL) { in cil_write_genfscon() 943 rc = cil_unfill_context(genfscon->context, &ctx_str); in cil_write_genfscon() [all …]
|
/external/selinux/libselinux/src/android/ |
D | android_platform.c | 1032 char *orig_ctx_str = NULL, *ctx_str; in selinux_android_setcontext() local 1039 rc = getcon(&ctx_str); in selinux_android_setcontext() 1043 ctx = context_new(ctx_str); in selinux_android_setcontext() 1044 orig_ctx_str = ctx_str; in selinux_android_setcontext() 1054 ctx_str = context_str(ctx); in selinux_android_setcontext() 1055 if (!ctx_str) in selinux_android_setcontext() 1058 rc = security_check_context(ctx_str); in selinux_android_setcontext() 1062 if (strcmp(ctx_str, orig_ctx_str)) { in selinux_android_setcontext() 1063 rc = selinux_android_setcon(ctx_str); in selinux_android_setcontext()
|
/external/selinux/libsemanage/src/ |
D | genhomedircon.c | 561 const char *ctx_str; in check_line() local 564 ctx_str = extract_context(line); in check_line() 565 if (!ctx_str) in check_line() 569 ctx_str, &ctx_record); in check_line()
|
/external/libnl/lib/xfrm/ |
D | sp.c | 1224 … unsigned int* exttype, unsigned int* alg, unsigned int* doi, unsigned int* ctx_len, char* ctx_str) in xfrmnl_sp_get_sec_ctx() argument 1238 if (ctx_str) in xfrmnl_sp_get_sec_ctx() 1239 memcpy ((void *)ctx_str, (void *)sp->sec_ctx->ctx, sp->sec_ctx->ctx_len); in xfrmnl_sp_get_sec_ctx() 1259 …d)), unsigned int exttype, unsigned int alg, unsigned int doi, unsigned int ctx_len, char* ctx_str) in xfrmnl_sp_set_sec_ctx() argument 1273 memcpy ((void *)sp->sec_ctx->ctx, (void *)ctx_str, ctx_len); in xfrmnl_sp_set_sec_ctx()
|
D | sa.c | 1991 unsigned int* len, unsigned int* sid, char* ctx_str) in xfrmnl_sa_get_sec_ctx() argument 2001 if (ctx_str) in xfrmnl_sa_get_sec_ctx() 2002 memcpy (ctx_str, sa->sec_ctx->ctx, sa->sec_ctx->ctx_len); in xfrmnl_sa_get_sec_ctx() 2024 unsigned int sid, const char* ctx_str) in xfrmnl_sa_set_sec_ctx() argument 2036 memcpy (b->ctx, ctx_str, len); in xfrmnl_sa_set_sec_ctx()
|
/external/libnl/include/linux-private/linux/ |
D | xfrm.h | 36 char ctx_str[0]; member
|
/external/iproute2/include/uapi/linux/ |
D | xfrm.h | 36 char ctx_str[0]; member
|
/external/iproute2/include/linux/ |
D | xfrm.h | 36 char ctx_str[0]; member
|
/external/kernel-headers/original/uapi/linux/ |
D | xfrm.h | 36 char ctx_str[0]; member
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 21056 …<var-decl name="ctx_str" type-id="e84913bd" visibility="default" filepath="include/uapi/linux/xfrm… 55021 …<var-decl name="ctx_str" type-id="e84913bd" visibility="default" filepath="include/uapi/linux/xfrm…
|
D | test-PR27569-v0.abi | 21048 …<var-decl name="ctx_str" type-id="e84913bd" visibility="default" filepath="include/uapi/linux/xfrm… 54992 …<var-decl name="ctx_str" type-id="e84913bd" visibility="default" filepath="include/uapi/linux/xfrm…
|