Home | History | Annotate | Download | only in src

Lines Matching refs:ctx_str

753 	char *ctx_str = NULL;
760 rc = getfilecon(pkgdir, &ctx_str);
764 ctx = context_new(ctx_str);
765 orig_ctx_str = ctx_str;
775 ctx_str = context_str(ctx);
776 if (!ctx_str)
779 rc = security_check_context(ctx_str);
783 if (strcmp(ctx_str, orig_ctx_str)) {
784 rc = setfilecon(pkgdir, ctx_str);
810 char *orig_ctx_str = NULL, *ctx_str;
817 rc = getcon(&ctx_str);
821 ctx = context_new(ctx_str);
822 orig_ctx_str = ctx_str;
832 ctx_str = context_str(ctx);
833 if (!ctx_str)
836 rc = security_check_context(ctx_str);
840 if (strcmp(ctx_str, orig_ctx_str)) {
841 rc = setcon(ctx_str);