Lines Matching defs:context
54 "%s: line %u has invalid context %s\n",
58 "%s: has invalid context %s\n", path, *ctx);
126 static int default_canoncon(const char *path, unsigned lineno, char **context)
129 if (security_canonicalize_context_raw(*context, &tmpcon) < 0) {
133 myprintf("%s: line %u has invalid context %s\n", path,
134 lineno, *context);
136 myprintf("%s: invalid context %s\n", path, *context);
139 free(*context);
140 *context = tmpcon;
483 const char *rest_a, *rest_b; /* Rest of the context after the user */
560 /* If there's an error determining the context, or it has none,
561 return to allow default context */