Lines Matching refs:oldc
1443 char *scontextp, *p, oldc;
1488 oldc = *p;
1497 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid);
2008 * structure `oldc' from the values specified
2014 static int convert_context(struct context *oldc, struct context *newc, void *p,
2028 if (oldc->str) {
2029 s = kstrdup(oldc->str, gfp_flags);
2039 * IMPORTANT: We need to copy the contents of oldc->str
2043 memcpy(s, oldc->str, oldc->len);
2046 newc->len = oldc->len;
2053 oldc->str, -rc);
2057 oldc->str);
2067 SYM_USERS, oldc->user - 1));
2075 sym_name(args->oldp, SYM_ROLES, oldc->role - 1));
2084 SYM_TYPES, oldc->type - 1));
2091 rc = mls_convert_context(args->oldp, args->newp, oldc, newc);
2120 oldc);
2128 rc = context_struct_to_string(args->oldp, oldc, &s, &len);