Home | History | Annotate | Download | only in android

Lines Matching refs:ctx_str

989 	char *ctx_str = NULL;
996 rc = getfilecon(pkgdir, &ctx_str);
1000 ctx = context_new(ctx_str);
1001 orig_ctx_str = ctx_str;
1011 ctx_str = context_str(ctx);
1012 if (!ctx_str)
1015 rc = security_check_context(ctx_str);
1019 if (strcmp(ctx_str, orig_ctx_str)) {
1020 rc = setfilecon(pkgdir, ctx_str);
1059 char *orig_ctx_str = NULL, *ctx_str;
1066 rc = getcon(&ctx_str);
1070 ctx = context_new(ctx_str);
1071 orig_ctx_str = ctx_str;
1081 ctx_str = context_str(ctx);
1082 if (!ctx_str)
1085 rc = security_check_context(ctx_str);
1089 if (strcmp(ctx_str, orig_ctx_str)) {
1090 rc = selinux_android_setcon(ctx_str);