Searched refs:ctx_str (Results 1 - 11 of 11) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Dproposal.c320 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 Dpolicy.c207 || !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 Dpolicy.h48 char ctx_str[MAX_CTXSTR_SIZE]; /* Security Context string */ member in struct:security_ctx
H A Dsecurity.c171 memcpy(iph2->proposal->sctx.ctx_str, spidx.sec_ctx.ctx_str,
H A Dpfkey.c1101 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 Disakmp_quick.c2183 if (spidx.sec_ctx.ctx_str) {
H A Dipsec_doi.c3057 /* ctx_str is defined as char ctx_str[MAX_CTXSTR_SIZ].
3060 if (*pp->sctx.ctx_str) {
3122 if (*pp->sctx.ctx_str) {
/external/libselinux/src/
H A Dandroid.c684 char *ctx_str = NULL; local
691 rc = getfilecon(pkgdir, &ctx_str);
695 ctx = context_new(ctx_str);
696 orig_ctx_str = ctx_str;
706 ctx_str = context_str(ctx);
707 if (!ctx_str)
710 rc = security_check_context(ctx_str);
714 if (strcmp(ctx_str, orig_ctx_str)) {
715 rc = setfilecon(pkgdir, ctx_str);
741 char *orig_ctx_str = NULL, *ctx_str; local
[all...]
/external/qemu/distrib/libselinux/src/
H A Dandroid.c677 char *ctx_str = NULL; local
684 rc = getfilecon(pkgdir, &ctx_str);
688 ctx = context_new(ctx_str);
689 orig_ctx_str = ctx_str;
699 ctx_str = context_str(ctx);
700 if (!ctx_str)
703 rc = security_check_context(ctx_str);
707 if (strcmp(ctx_str, orig_ctx_str)) {
708 rc = setfilecon(pkgdir, ctx_str);
734 char *orig_ctx_str = NULL, *ctx_str; local
[all...]
/external/iproute2/include/linux/
H A Dxfrm.h33 char ctx_str[0]; member in struct:xfrm_sec_ctx
/external/kernel-headers/original/uapi/linux/
H A Dxfrm.h33 char ctx_str[0]; member in struct:xfrm_sec_ctx

Completed in 214 milliseconds